/* Minh Quân HVAC & Solar Design System */
@layer{:root{--navy-900:#0b1f3a;--navy-700:#13345d;--navy-500:#2a5288;--gold-500:#a57d43;--gold-300:#d2ad6f;--gold-700:#7a5a26;--spark-500:#e8913a;--white:#ffffff;--surface-100:#ffffff;--surface-200:#f4f6f9;--ink:#0b1f3a;--ink-muted:#4a5a70;--ink-accent:#7a5a26;--link:#1f4f8a;--border:#d5dce6;--border-strong:#6b7b92;--primary:#0b1f3a;--on-primary:#ffffff;--accent:#e8913a;--on-accent:#0b1f3a;--focus:#1f4f8a;--success:#1d7a46;--danger:#b42318;--shadow-card:0 1px 2px rgba(11, 31, 58, 0.06), 0 4px 12px rgba(11, 31, 58, 0.08);--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-6:24px;--space-8:32px;--space-12:48px;--space-16:64px;--radius-sm:4px;--radius-md:8px;--radius-lg:16px;--radius-pill:9999px;--font-display:Montserrat, "Be Vietnam Pro", system-ui, sans-serif;--font-sans:"Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;--text-display-xl:800 48px/56px var(--font-display);--text-display-l:800 36px/44px var(--font-display);--text-heading:700 24px/32px var(--font-display);--text-subheading:700 18px/26px var(--font-display);--text-overline:700 12px/16px var(--font-display);--text-body-lg:400 17px/28px var(--font-sans);--text-body:400 15px/24px var(--font-sans);--text-body-strong:600 15px/24px var(--font-sans);--text-caption:500 13px/20px var(--font-sans);}}

/* Main Styles */
body{margin:0}
a{color:#1f4f8a}a:hover{color:#0b1f3a}
a:focus-visible,button:focus-visible{outline:2px solid #1f4f8a;outline-offset:2px}
.mq-dark a:focus-visible,.mq-dark button:focus-visible{outline-color:#e8913a}
section[id]{scroll-margin-top:72px}
.mq-hero{background-color:#0b1f3a;background-image:linear-gradient(90deg,rgba(11,31,58,0.95) 0%,rgba(11,31,58,0.84) 42%,rgba(11,31,58,0.4) 100%),url("../images/hero-bg.jpg");background-size:cover;background-position:center 62%}
.mq-tile:hover{border-color:#d2ad6f}
.mq-menubtn,.mq-callbar,.mq-showsm,.mq-chev{display:none}
.mq-acc-btn{cursor:default}
.mq-rail{scrollbar-width:none}.mq-rail::-webkit-scrollbar{display:none}
.mq-clients{scrollbar-width:none}.mq-clients::-webkit-scrollbar{display:none}
@keyframes mq-up{from{opacity:0;transform:translateY(32px)}to{opacity:1;transform:none}}
@keyframes mq-zoom{from{opacity:0;transform:scale(0.94)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:no-preference){
.mq-load{animation:mq-up 0.8s cubic-bezier(0.2,0.7,0.2,1) both}
.mq-d1{animation-delay:0.05s}.mq-d2{animation-delay:0.15s}.mq-d3{animation-delay:0.25s}.mq-d4{animation-delay:0.35s}.mq-d5{animation-delay:0.45s}.mq-d6{animation-delay:0.6s}
@supports (animation-timeline:view()){
.mq-rv,.mq-stagger>*{animation:mq-up linear both;animation-timeline:view();animation-range:entry 0% entry 55%}
.mq-rv-img{animation:mq-zoom linear both;animation-timeline:view();animation-range:entry 0% cover 35%}
.mq-stagger>:nth-child(2){animation-range:entry 8% entry 63%}
.mq-stagger>:nth-child(3){animation-range:entry 16% entry 71%}
.mq-stagger>:nth-child(4){animation-range:entry 24% entry 79%}
.mq-stagger>:nth-child(n+5){animation-range:entry 32% entry 87%}
}
@media (hover:hover){.mq-lift{transition:translate 0.25s ease,box-shadow 0.25s ease}.mq-lift:hover{translate:0 -4px;box-shadow:0 2px 4px rgba(11,31,58,0.08),0 12px 24px rgba(11,31,58,0.12)}}
}
@media (prefers-reduced-motion:no-preference) and (max-width:767px){
@supports (animation-timeline:view()){
.mq-rail.mq-stagger>*{animation:none}
.mq-rail.mq-stagger{animation:mq-up linear both;animation-timeline:view();animation-range:entry 0% entry 55%}
}
}
@media (max-width:1023px){.mq-hidetab{display:none!important}}
@media (max-width:767px){
.mq-nav,.mq-hidesm{display:none!important}
.mq-menubtn,.mq-callbar{display:flex}
.mq-showsm{display:inline}
.mq-headbar{padding:4px 8px 4px 20px!important}
.mq-logo{width:124px!important}
.mq-hero{background-image:linear-gradient(180deg,rgba(11,31,58,0.6) 0%,rgba(11,31,58,0.8) 38%,rgba(11,31,58,0.96) 70%),url("../images/hero-bg-mobile.jpg");background-position:center 30%}
.mq-herowrap{padding:36px 20px 28px!important;gap:24px!important}
.mq-herotext{gap:18px!important}
.mq-h1{font-size:32px!important;line-height:38px!important}
.mq-lead{font-size:15px!important;line-height:24px!important}
.mq-ctas>a{flex:1 1 100%;justify-content:center}
.mq-rail{flex-wrap:nowrap!important;overflow-x:auto;scroll-snap-type:x mandatory;margin-left:-20px!important;margin-right:-20px!important;padding-left:20px!important;padding-right:20px!important;scroll-padding-left:20px}
.mq-rail>*{flex:0 0 82%!important;scroll-snap-align:start}
.mq-tile{padding:12px!important}
.mq-tile img{width:72px!important;height:72px!important}
.mq-tile-t{font-size:16px!important;line-height:22px!important}
.mq-tile-n{font-size:32px!important;line-height:40px!important}
.mq-sec{padding:56px 20px!important;gap:24px!important}
.mq-h2{font-size:28px!important;line-height:34px!important}
.mq-h3{font-size:20px!important;line-height:28px!important}
.mq-proof{padding:20px!important;gap:16px!important}
.mq-stats{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px!important}
.mq-stat-n{font-size:22px!important;line-height:28px!important}
.mq-stat-c{font-size:13px!important;line-height:18px!important}
.mq-clients{flex-wrap:nowrap!important;overflow-x:auto;white-space:nowrap;margin:0 -20px!important;padding:12px 20px 0!important;gap:20px!important}
.mq-clients-label{display:none}
.mq-acc{gap:0!important;border-top:1px solid #d5dce6}
.mq-acc>article{flex:1 1 100%!important;box-shadow:none!important;border:0!important;border-bottom:1px solid #d5dce6!important;border-radius:0!important;padding:0!important;gap:0!important}
.mq-acc-btn{flex-direction:row!important;align-items:center!important;min-height:56px;cursor:pointer}
.mq-acc-ic{width:36px!important;height:36px!important}
.mq-acc-ic svg{width:20px;height:20px}
.mq-acc-title{flex:1 1 auto;font-size:16px!important;line-height:22px!important}
.mq-chev{display:block;flex:none;transition:transform .15s}
.mq-acc-btn[aria-expanded="true"] .mq-chev{transform:rotate(180deg)}
.mq-acc-panel{display:none;padding:0 0 16px 68px!important;font-size:15px}
.mq-acc-panel.is-open{display:block}
.mq-acc-cta{flex:1 1 100%!important;margin-top:16px;padding:20px!important;gap:8px!important}
.mq-acc-cta-title{font-size:18px!important;line-height:26px!important}
.mq-solimg{height:200px!important}
.mq-sollist{padding:4px 16px!important}
.mq-proj img{height:180px!important}
.mq-gallery{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px!important}
.mq-gallery img{height:120px!important}
.mq-why{gap:0!important;border-top:1px solid #d5dce6}
.mq-why>div{flex:1 1 100%!important;padding:16px 0!important;background:transparent!important;border-radius:0!important;border-bottom:1px solid #d5dce6;flex-direction:row!important;gap:14px!important}
.mq-steps{flex-direction:column!important;gap:0!important}
.mq-steps>li{flex:1 1 auto!important;background:transparent!important;padding:0 0 18px!important;flex-direction:row!important;gap:14px!important;border-radius:0!important}
.mq-step-n{flex:none;width:32px;height:32px;border-radius:16px;background:#d2ad6f;color:#0b1f3a!important;font-size:14px!important;line-height:32px!important;text-align:center}
.mq-step-t{font-size:16px!important;line-height:24px!important}
.mq-contact>div{padding:24px!important}
.mq-phone{font-size:26px!important;line-height:34px!important}
.mq-footwrap{padding:40px 20px 24px!important}
.mq-foot a{padding:12px 0!important}
.mq-copy{padding:16px 20px 24px!important}
}


/* Reset & Base Enhancements */
html {
  scroll-behavior: smooth;
  font-family: 'Be Vietnam Pro', system-ui, -apple-system, sans-serif;
}
body {
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

/* Mobile Drawer */
#mqMobileDrawer {
  transition: max-height 0.3s ease, opacity 0.3s ease;
}
#mqMobileDrawer.is-open {
  display: flex !important;
}

/* Fixed Mobile Call Bar */
@media (max-width: 767px) {
  .mq-callbar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 99 !important;
    box-shadow: 0 -4px 16px rgba(11, 31, 58, 0.15) !important;
  }
  body {
    padding-bottom: 72px; /* Prevent callbar from overlapping footer */
  }
}
