
/* Brand colours, lifted one notch from the logo solids so the homepage
   is less dark, while staying recognisably navy and copper:
   Navy   #1a4a73  (logo #0f314c, brightened)
   Copper #d68a50  (logo #c67b44, brightened; accents/links only)
   Button #a86434  (white text WCAG AA 4.63:1; #d68a50 on white is only 2.76:1)
   Footer #143a5c  (slightly darker than nav, not near-black) */
:root {
  --mx-navy: #1a4a73;
  --mx-copper: #d68a50;
  --mx-copper-btn: #a86434;
  --mx-copper-dark: #955a32;
  --mx-navy-deep: #143a5c;
}

.top-bar {
  background: var(--mx-navy);
  color: #fff;
}
.top-bar a,
.top-bar .info-text,
.top-bar .top-links a {
  color: #fff;
}
.top-bar a:hover,
.top-bar .top-links a:hover {
  color: var(--mx-copper);
}
.top-bar ul.top-info li i {
  color: var(--mx-copper);
}

.header-one .site-navigation,
.site-navigation,
.navbar-fixed {
  background: var(--mx-navy) !important;
}
.site-navigation .navbar-nav > li > a {
  color: #fff;
}
.site-navigation .navbar-nav > li.active > a,
.site-navigation .navbar-nav > li > a:hover,
.site-navigation .navbar-nav > li > a:focus {
  color: var(--mx-copper);
}
.dropdown-menu {
  border-top-color: var(--mx-copper);
}

h1, h2, h3, h4,
.column-title,
.section-title,
.section-sub-title,
.into-title,
.into-sub-title,
.banner-title {
  color: var(--mx-navy);
}
.banner-title,
.slide-title,
.slide-sub-title,
.slider-description,
.slider-description.lead {
  color: #fff;
}

.btn-primary,
.header-get-a-quote .btn-primary,
a.btn-primary,
button.btn-primary {
  background: var(--mx-copper-btn) !important;
  color: #fff !important;
  border-color: var(--mx-copper-btn) !important;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.header-get-a-quote .btn-primary:hover,
a.btn-primary:hover,
button.btn-primary:hover {
  background: var(--mx-navy) !important;
  color: #fff !important;
  border-color: var(--mx-navy) !important;
}
.btn-dark {
  background: var(--mx-navy) !important;
  color: #fff !important;
}
.btn-dark:hover,
.btn-dark:focus,
.btn-dark:active {
  background: var(--mx-copper-btn) !important;
  color: #fff !important;
}
.slider.btn-primary.border {
  background: transparent !important;
  border: 2px solid #fff !important;
  color: #fff !important;
}
.slider.btn-primary.border:hover {
  background: var(--mx-copper-btn) !important;
  border-color: var(--mx-copper-btn) !important;
  color: #fff !important;
}

.call-to-action-box .action-style-box {
  background: var(--mx-navy);
}
.call-to-action-box .action-title {
  color: #fff;
}
.copyright {
  background: var(--mx-navy-deep);
  color: #e8eef3;
}
.copyright a {
  color: var(--mx-copper);
}
.copyright a:hover {
  color: #fff;
}
#footer.footer,
.footer {
  background-color: var(--mx-navy);
}
.footer .widget-title {
  border-left-color: var(--mx-copper);
}

.banner-carousel .banner-carousel-item::before {
  background: linear-gradient(rgba(0,0,0,0.28), rgba(0,0,0,0.38));
}
#banner-area.banner-area {
  /* inner page banners: optional neutral wash is added below if needed */
}

.mx-logo {
  display: inline-block;
  line-height: 0;
}
.mx-logo img {
  height: 54px;
  width: auto;
  max-width: 220px;
  display: block;
}
.footer-logo-link {
  display: inline-block;
  margin-bottom: 18px;
}
.footer-logo-link img,
img.footer-logo-img {
  height: 48px;
  width: auto;
  max-width: 220px;
  display: block;
}

.error-code {
  color: var(--mx-copper);
}

@media (max-width: 991px) {
  .mx-logo img {
    height: 34px;
    max-width: 170px;
    margin: 0;
  }
}


/* Mingxu overrides on top of Constra. Keep the industrial template look.
   Do not introduce large serif heroes, pill badges, or yellow TODO boxes. */

.top-bar .top-info li {
  margin-right: 18px;
}
.top-bar a {
  color: inherit;
}
.top-bar a:hover {
  color: var(--mx-copper);
}
.top-links {
  margin: 8px 0 0;
  padding: 0;
}
.top-links a {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.top-links a:hover {
  color: var(--mx-copper);
}

/* wordmark styles replaced by .mx-logo img rules in the brand override */

/* Darken slider photos so white type stays readable, especially on the container shot. */
.banner-carousel .banner-carousel-item {
  position: relative;
}
.banner-carousel .banner-carousel-item::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: linear-gradient(rgba(0,0,0,0.28), rgba(0,0,0,0.38));
  z-index: 1;
}
.banner-carousel .slider-content {
  position: relative;
  z-index: 2;
}
#banner-area.banner-area {
  background-size: cover;
  background-position: center;
}

.photo-note {
  font-size: 12px;
  line-height: 1.45;
  color: #777;
  margin: 6px 0 0;
}
.todo-note {
  display: block;
  font-size: 12px;
  line-height: 1.45;
  color: #888;
  margin: 6px 0 10px;
  font-style: italic;
}

/* Hide the WhatsApp "number to be added" note once a number is configured. */
body.wa-ready .wa-fallback {
  display: none;
}

.disclaimer {
  font-size: 13px;
  color: #ddd;
  margin-top: 10px;
}

.mx-product-card {
  background: #fff;
  border: 1px solid #e6e6e6;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.mx-product-card .thumb {
  display: block;
  height: 220px;
  overflow: hidden;
  background: #eee;
}
.mx-product-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mx-product-card .body {
  padding: 18px 18px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.mx-product-card h3 {
  font-size: 18px;
  margin: 0 0 8px;
}
.mx-product-card h3 a:hover {
  color: var(--mx-copper);
}
.mx-product-card p {
  color: #555;
  font-size: 15px;
  flex: 1;
}
.mx-product-card .btn {
  align-self: flex-start;
  margin-top: 8px;
}

.mx-why .ts-service-box {
  margin-bottom: 18px;
}
.mx-why .ts-service-box-content p {
  margin: 6px 0 0;
  color: #555;
  font-size: 14px;
}

.mx-process-teaser,
.mx-bottom-cta {
  padding: 60px 0;
}
.mx-step {
  background: #fff;
  border-top: 3px solid var(--mx-copper);
  padding: 20px 18px 16px;
  height: 100%;
  border: 1px solid #e6e6e6;
  border-top: 3px solid var(--mx-copper);
}
.mx-step span {
  display: inline-block;
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 700;
  color: var(--mx-copper);
  font-size: 22px;
  margin-bottom: 6px;
}
.mx-step h3 {
  font-size: 16px;
  margin: 0 0 8px;
}
.mx-step p {
  margin: 0;
  color: #555;
  font-size: 14px;
}

.mx-cta-row {
  background: #252525;
  color: #fff;
  padding: 28px 30px;
}
.mx-cta-row h2 {
  color: #fff;
  margin: 0 0 8px;
  font-size: 26px;
}
.mx-cta-row p {
  margin: 0;
  color: #ddd;
}
.mx-cta-row a:not(.btn) {
  color: var(--mx-copper);
}

.mx-enquiry {
  background: #f7f7f7;
  border: 1px solid #e5e5e5;
  padding: 22px 20px;
}
.mx-enquiry h3 {
  font-size: 18px;
  margin: 0 0 12px;
}
.mx-enquiry .btn {
  margin-top: 8px;
}
.mx-sidebar {
  position: sticky;
  top: 90px;
}
.mx-figure {
  margin: 0 0 16px;
}
.mx-figure img {
  width: 100%;
  height: auto;
  display: block;
}
.mx-product-block {
  margin-bottom: 48px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
}
.mx-product-block:last-of-type {
  border-bottom: 0;
}

.mx-process-list {
  margin: 24px 0 8px;
}
.mx-process-item {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
}
.mx-process-item > span {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  background: var(--mx-copper);
  color: #111;
  font-weight: 700;
  font-family: Montserrat, Arial, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mx-process-item h3 {
  margin: 4px 0 6px;
  font-size: 18px;
}
.mx-process-item p {
  margin: 0;
}

/* RFQ form */
.mx-rfq label {
  font-weight: 600;
  font-size: 14px;
}
.mx-rfq .hp {
  position: absolute;
  left: -9999px;
  height: 0;
  width: 0;
  opacity: 0;
}
.form-status {
  display: none;
  margin-top: 12px;
  font-size: 14px;
}
.form-status.show {
  display: block;
}
.form-status.show.ok {
  color: #1b6b2a;
}
.form-status.show.err {
  color: #a32020;
}

.wa-float {
  position: fixed;
  right: 20px;
  bottom: 86px;
  z-index: 1040;
  background: #25d366;
  color: #fff;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  text-decoration: none;
}
.wa-float i {
  font-size: 22px;
}
.wa-float:hover,
.wa-float:focus {
  color: #fff;
  background: #1ebe5d;
  text-decoration: none;
}
.wa-float.is-unset {
  background: #3a3a3a;
}
.wa-float.is-unset:hover {
  background: #222;
}

.error-code {
  font-size: 72px;
  color: var(--mx-copper);
  margin: 20px 0 10px;
}

/* Keep footer contact links readable on the dark footer. */
.footer .mx-contact-block a,
.footer .disclaimer {
  color: #ddd;
}
.footer .mx-contact-block a:hover {
  color: var(--mx-copper);
}

@media (max-width: 767px) {
  .mx-text strong {
    font-size: 18px;
  }
  .wa-float-label {
    display: none;
  }
  .wa-float {
    padding: 12px 14px;
    border-radius: 50%;
    right: 16px;
  }
  .mx-product-card .thumb {
    height: 200px;
  }
}

.wa-fallback.todo-note {
  display: inline;
  margin-left: 6px;
}
body.wa-ready .wa-fallback {
  display: none !important;
}

/* Mobile header: one white row (logo left + hamburger right).
   No separate blue bar for the hamburger. Menu drops down over the page. */
@media (max-width: 991px) {
  #header.header-one {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background: #fff !important;
  }
  .header-one > .bg-white {
    flex: 1 1 auto;
    min-width: 0;
    background: #fff !important;
  }
  .header-one .logo-area {
    padding: 6px 8px 6px 0 !important;
  }
  .header-one .header-right,
  .header-one ul.top-info-box {
    display: none !important;
  }
  .header-one .logo {
    margin-bottom: 0 !important;
    text-align: left !important;
    float: none;
    width: auto;
    max-width: calc(100% - 8px);
  }
  .header-one .logo.col-lg-4 {
    flex: 0 0 auto;
  }
  .header-one .site-navigation {
    flex: 0 0 auto;
    width: auto;
    margin-left: auto;
    background: transparent !important;
    position: static !important;
  }
  .header-one .site-navigation.navbar-fixed {
    position: static !important;
    width: auto;
  }
  .header-one .site-navigation .container,
  .header-one .site-navigation .row,
  .header-one .site-navigation .col-lg-12,
  .header-one .site-navigation .navbar {
    width: auto;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    margin: 0;
    position: static !important;
    background: transparent !important;
  }
  .header-one .navbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }
  .navbar-toggler {
    float: none !important;
    position: relative;
    margin: 0 15px 0 8px !important;
    z-index: 2;
  }
  .header-one .navbar-collapse,
  .header-one .navbar-collapse.collapsing,
  .header-one .navbar-collapse.show {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    width: 100%;
    z-index: 40;
    background: var(--mx-navy);
    padding: 8px 15px 16px;
    margin: 0;
  }
  .call-to-action-box {
    margin-top: 0;
  }

  /* Top bar: one compact line — email + language. Quote CTA lives in the hero. */
  .top-bar {
    padding: 6px 0;
  }
  .top-bar .row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
  }
  .top-bar .col-lg-8,
  .top-bar .col-md-8,
  .top-bar .col-lg-4,
  .top-bar .col-md-4,
  .top-bar .top-social {
    width: auto;
    max-width: none;
    flex: 0 1 auto;
    padding-top: 0;
    padding-bottom: 0;
    float: none;
  }
  .top-bar .col-lg-8,
  .top-bar .col-md-8 {
    flex: 1 1 auto;
    min-width: 0;
  }
  .top-bar .top-info {
    margin: 0 !important;
    text-align: left !important;
  }
  .top-bar .top-links {
    justify-content: flex-end;
    margin: 0 !important;
  }
  .top-bar .top-links li:not(.mx-lang-wrap) {
    display: none;
  }
  .top-bar .top-social ul li a,
  .top-bar .top-links a {
    padding: 0;
  }
  .top-bar ul.top-info li {
    padding-right: 0;
  }
  .top-bar ul.top-info li p.info-text {
    font-size: 13px;
  }
}
.call-to-action-box .photo-note {
  padding-top: 8px;
}

@media (max-width: 767px) {
  .banner-carousel .slider-content,
  .banner-carousel .slider-content.text-left,
  .banner-carousel .slider-content.text-right {
    text-align: center !important;
  }
  .banner-carousel .slider-content .col-md-12 {
    padding-left: 18px;
    padding-right: 18px;
  }
  .slide-sub-title {
    font-size: 26px !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
  }
  .slide-title {
    font-size: 16px !important;
  }
  .slider-description.lead {
    font-size: 15px;
    padding: 0 8px;
  }
  .banner-carousel .slider.btn {
    margin: 4px 3px;
  }
}

.call-to-action-box .btn-dark,
.call-to-action-box .btn {
  background: var(--mx-copper-btn) !important;
  color: #fff !important;
  border-color: var(--mx-copper-btn) !important;
}
.call-to-action-box .btn-dark:hover,
.call-to-action-box .btn:hover {
  background: #fff !important;
  color: var(--mx-navy) !important;
  border-color: #fff !important;
}

/* Copyright links already light; keep disclaimer readable on navy footer */
.footer .disclaimer {
  color: #d5dee6;
}
.footer .mx-contact-block a {
  color: #e8eef3;
}
.footer .mx-contact-block a:hover {
  color: var(--mx-copper);
}

.info-box-title {
  color: #6b7c8a;
}
.info-box-subtitle,
.info-box-subtitle a {
  color: var(--mx-navy);
}
.navbar-toggler {
  background: var(--mx-copper-btn) !important;
}


/* Language switcher */
.mx-lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.mx-lang a {
  color: #fff;
  text-decoration: none;
}
.top-bar .mx-lang a:hover,
.top-bar .mx-lang a.is-active {
  color: var(--mx-copper);
}
.mx-lang a.is-active {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.top-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.top-links li {
  list-style: none;
}
.mx-lang-nav {
  padding: 10px 0 16px;
}
.mx-lang-nav .mx-lang a {
  color: #fff;
}
.mx-lang-nav .mx-lang a.is-active,
.mx-lang-nav .mx-lang a:hover {
  color: var(--mx-copper);
}


/* CJK system fonts — no webfont download */
html[lang="zh"],
html[lang="zh-Hans"],
html[lang="zh"] body,
html[lang="zh-Hans"] body {
  font-family: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", "WenQuanYi Micro Hei", sans-serif;
}
html[lang^="zh"] h1,
html[lang^="zh"] h2,
html[lang^="zh"] h3,
html[lang^="zh"] h4,
html[lang^="zh"] .navbar-nav,
html[lang^="zh"] .btn,
html[lang^="zh"] .info-box-title,
html[lang^="zh"] .info-box-subtitle,
html[lang^="zh"] .slide-title,
html[lang^="zh"] .slide-sub-title,
html[lang^="zh"] .section-title,
html[lang^="zh"] .section-sub-title,
html[lang^="zh"] .column-title,
html[lang^="zh"] .banner-title,
html[lang^="zh"] .widget-title {
  font-family: inherit;
  letter-spacing: 0;
}

.header-one,
.header-one .site-navigation {
  background: var(--mx-navy);
}
