/* =========================================================
   RESPONSIVE OVERRIDES (load last)
   ========================================================= */
@media (max-width:1399.98px){
  .nav-link-p{padding:0 9px; font-size:14px}
  .nav-link-p::after{left:9px; right:9px}
}
@media (max-width:1199.98px){
  :root{--section-y:90px}
  .primary-nav,.header-actions .btn-quote{display:none!important}
  .nav-toggle{display:inline-flex}
  .mega-inner{grid-template-columns:1fr}
  .about-media .media-frame.small{right:-10px}
}
@media (max-width:991.98px){
  :root{--section-y:76px}
  .hero{height:600px}
  .hero-overlay{background:linear-gradient(90deg, rgba(10,25,43,.92) 0%, rgba(13,32,54,.75) 55%, rgba(16,38,63,.4) 100%), linear-gradient(0deg, rgba(10,25,43,.7) 0%, rgba(10,25,43,0) 40%)}
  .cap-strip .row > div:nth-child(2){border-right:0}
  .cap-strip .row > div:nth-child(-n+2){border-bottom:1px solid var(--steel-100)}
  .about-media{margin-bottom:70px}
  .cta-band{padding:48px 36px}
  .cat-sidebar{position:static; margin-bottom:30px}
  .qm-wrap{grid-template-columns:1fr}
  .qm-side{padding:30px 28px}
  .qm-side .qm-steps{display:none}
  .qm-side h2{font-size:23px; margin-bottom:8px}
  .qm-side p{margin:0}
  .gallery-grid{grid-template-columns:repeat(3,1fr)}
  .subnav{top:76px}
  .contact-form-card{padding:32px}
}
@media (max-width:767.98px){
  :root{--header-h:72px; --section-y:64px}
  body{font-size:16px}
  .site-header.is-scrolled,.site-header.is-solid{--header-h:66px}
  .brand-mark{width:38px; height:38px}
  .brand-text strong{font-size:18px}
  .brand-text small{font-size:8.5px}
  .hero{height:550px}
  .hero-overlay,.s3 .hero-overlay{background:linear-gradient(180deg, rgba(10,25,43,.72) 0%, rgba(10,25,43,.55) 40%, rgba(10,25,43,.93) 100%)}
  .hero-label{font-size:11.5px; letter-spacing:.17em; margin-bottom:16px}
  .hero-label::before{width:24px}
  .hero-title{font-size:clamp(30px,8.4vw,38px); margin-bottom:16px}
  .hero-text{font-size:15.5px; margin-bottom:26px}
  .hero-content{padding-top:calc(var(--header-h) - 20px); padding-bottom:40px}
  .hero-controls{bottom:22px}
  .hero-arrows{display:none}
  .hero-pagination .swiper-pagination-bullet{width:30px}
  .hero-pagination .swiper-pagination-bullet-active{width:52px}
  .btn-p{padding:13px 20px; font-size:15px}
  .cap-strip .row > div{border-right:0!important; border-bottom:1px solid var(--steel-100)}
  .cap-item{padding:20px 6px}
  .section-head{margin-bottom:38px}
  .service-row{grid-template-columns:44px 1fr; gap:14px}
  .service-row .go{display:none}
  .service-row h3{font-size:19px}
  .page-banner{min-height:360px; padding:calc(var(--header-h) + 60px) 0 56px}
  .page-banner .lead-p{font-size:16.5px}
  .about-media .media-frame.small{display:none}
  .about-badge{left:12px; top:auto; bottom:-30px}
  .facility-card{min-height:380px}
  .facility-card .fc-body{padding:26px}
  .gallery-grid{grid-template-columns:repeat(2,1fr)}
  .project-facts{grid-template-columns:1fr}
  .project-facts div{border-right:0!important}
  .qm-main{padding:28px 22px 24px}
  .form-actions{justify-content:stretch}
  .form-actions .btn-p{flex:1}
  .cta-band{padding:40px 26px}
  .cta-band::after{width:100%; height:5px; top:auto}
  .footer-top{padding:60px 0 30px}
  .vm-card{padding:32px 26px}
  .pd-quick{grid-template-columns:1fr}
  .contact-form-card{padding:24px}
  .subnav{top:66px}
}
@media (max-width:420px){
  .hero-actions{flex-direction:column; align-items:flex-start}
}

/* Reduced motion */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important}
  .hero-bg{transform:none!important}
  .anim{opacity:1!important; transform:none!important}
  .hero-pagination .swiper-pagination-bullet-active::after{transform:scaleX(1)}
  [data-aos]{opacity:1!important; transform:none!important}
}
@media (max-width:991.98px){
  .hero-collage{width:60%; right:-6%; opacity:.55}
}
@media (max-width:767.98px){
  .hero-collage{width:100%; right:-30%; top:auto; height:60%; opacity:.28}
  .pc-visual{padding:22px}
  .pc-visual .pc-loc{left:22px; top:18px}
}
@media (max-width:767.98px){
  .brand .brand-logo{height:54px}
  .site-header.is-scrolled .brand .brand-logo{height:48px}
  .site-footer .brand .brand-logo{height:92px}
}
