/* Version 7 interaction and accessibility refinements */
.nav-links{gap:clamp(14px,1.7vw,24px)}
.nav-links a{font-size:clamp(.86rem,1vw,.98rem)}
.widget-quote{border:0;cursor:pointer}
.dim-line::after{display:none}
.service-gallery img,.gate-grid .g-item img{cursor:zoom-in}

.quick-quote-modal,.lightbox{
  position:fixed;
  inset:0;
  z-index:1400;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:16px;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .25s ease,visibility .25s ease;
}
.quick-quote-modal.open,.quick-quote-modal[aria-hidden="false"],
.lightbox.open,.lightbox[aria-hidden="false"]{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}
.quick-quote-backdrop,.lightbox-backdrop{
  position:absolute;
  inset:0;
  background:rgba(5,15,32,.78);
  -webkit-backdrop-filter:blur(5px);
  backdrop-filter:blur(5px);
}
.quick-quote-dialog{
  position:relative;
  z-index:1;
  width:min(720px,100%);
  max-height:calc(100vh - 32px);
  overflow:auto;
  padding:42px;
  background:#fff;
  border:1px solid rgba(255,255,255,.5);
  border-radius:var(--radius);
  box-shadow:0 28px 90px rgba(0,0,0,.35);
  transform:translateY(18px);
  transition:transform .3s ease;
}
.quick-quote-modal.open .quick-quote-dialog,.quick-quote-modal[aria-hidden="false"] .quick-quote-dialog{transform:none}
.quick-quote-close,.lightbox-close,.lightbox-control{
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(10,23,48,.14);
  border-radius:var(--radius);
  background:#fff;
  color:var(--brand-dark);
  transition:background var(--tr-fast),color var(--tr-fast),border-color var(--tr-fast),transform var(--tr-fast);
}
.quick-quote-close{
  position:absolute;
  top:18px;
  right:18px;
  width:44px;
  height:44px;
  font-size:1.5rem;
}
.quick-quote-close:hover,.lightbox-close:hover,.lightbox-control:hover{background:var(--brand);border-color:var(--brand);color:#fff}
.quick-quote-header{padding-right:48px;margin-bottom:24px}
.quick-quote-kicker{display:block;margin-bottom:8px;color:var(--brand);font-family:"Montserrat","Montserrat Fallback",sans-serif;font-size:.82rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase}
.quick-quote-header h2{font-size:clamp(1.7rem,3vw,2.4rem);margin-bottom:10px}
.quick-quote-header p{margin-bottom:0}
.quick-quote-dialog .field-full{grid-column:1/-1}
.quick-quote-dialog .form-grid{margin-top:18px}
.quick-quote-dialog .form-note{max-width:none;margin-top:18px}
.quick-quote-dialog .btn{width:100%;min-height:54px}

.lightbox-dialog{
  position:relative;
  z-index:1;
  width:min(1160px,100%);
  height:min(88vh,840px);
  display:flex;
  align-items:center;
  justify-content:center;
}
.lightbox-figure{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  width:min(100%,1020px);
  height:100%;
  margin:0;
}
.lightbox-image{
  width:auto;
  max-width:calc(100% - 112px);
  max-height:calc(100% - 76px);
  object-fit:contain;
  background:#fff;
  box-shadow:0 24px 70px rgba(0,0,0,.42);
  border-radius:var(--radius);
}
.lightbox-caption{
  max-width:min(90%,760px);
  margin-top:14px;
  color:#fff;
  font-size:.95rem;
  text-align:center;
}
.lightbox-counter{
  position:absolute;
  bottom:14px;
  left:50%;
  transform:translateX(-50%);
  color:rgba(255,255,255,.75);
  font-family:"Montserrat","Montserrat Fallback",sans-serif;
  font-size:.82rem;
  font-weight:700;
  letter-spacing:.08em;
}
.lightbox-close,.lightbox-control{
  position:absolute;
  z-index:2;
  width:48px;
  height:48px;
  font-size:1.45rem;
}
.lightbox-close{top:0;right:0}
.lightbox-control{top:50%;transform:translateY(-50%)}
.lightbox-control:hover{transform:translateY(-50%) scale(1.04)}
.lightbox-prev{left:0}
.lightbox-next{right:0}

@media (max-width:992px){
}
@media (max-width:768px){
  .quick-quote-dialog{padding:32px 22px 26px;max-height:calc(100vh - 16px)}
  .quick-quote-close{top:12px;right:12px}
  .quick-quote-header{padding-right:42px}
  .lightbox-dialog{height:100%}
  .lightbox-image{max-width:calc(100% - 20px);max-height:calc(100% - 112px)}
  .lightbox-close{top:4px;right:4px}
  .lightbox-prev{left:4px}
  .lightbox-next{right:4px}
}

/* Shared v7 staging integration: navigation, consent and motion. */
.nav-services{position:relative}
.nav-services-toggle{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:0;
  border:0;
  background:none;
  color:var(--gray-300);
  font-family:"Montserrat","Montserrat Fallback",sans-serif;
  font-size:clamp(.86rem,1vw,.98rem);
  font-weight:600;
  cursor:pointer;
  transition:color var(--tr-fast);
}
.nav-services-toggle:hover,.nav-services:focus-within .nav-services-toggle,.nav-services-toggle.active{color:#fff}
.nav-services-toggle i{font-size:.8rem;transition:transform var(--tr-fast)}
.nav-services:hover .nav-services-toggle i,.nav-services:focus-within .nav-services-toggle i,.nav-services.open .nav-services-toggle i{transform:rotate(180deg)}
.nav-services-menu{
  position:absolute;
  top:calc(100% + 18px);
  left:50%;
  width:min(330px,90vw);
  padding:10px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:12px;
  background:rgba(6,18,40,.98);
  box-shadow:0 24px 60px rgba(0,0,0,.42);
  opacity:0;
  visibility:hidden;
  transform:translate(-50%,-8px);
  transition:opacity var(--tr-fast),visibility var(--tr-fast),transform var(--tr-fast);
}
.nav-services:hover .nav-services-menu,.nav-services:focus-within .nav-services-menu,.nav-services.open .nav-services-menu{opacity:1;visibility:visible;transform:translate(-50%,0)}
.nav-services-menu::before{content:"";position:absolute;left:0;right:0;bottom:100%;height:20px}
.nav-services-menu li{display:block}
.nav-services-menu a{display:block;padding:11px 12px;border-radius:8px;line-height:1.35}
.nav-services-menu a::after{display:none}
.nav-services-menu a:hover,.nav-services-menu a.active{background:rgba(51,198,244,.12);color:#fff}

.drawer-services{border-bottom:1px solid rgba(255,255,255,.09)}
.drawer-services-toggle{
  width:100%;
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border:0;
  background:none;
  color:#fff;
  font:700 1rem/1.3 "Montserrat","Montserrat Fallback",sans-serif;
  text-align:left;
  cursor:pointer;
}
.drawer-services-toggle i{color:var(--brand-hover);transition:transform var(--tr-fast)}
.drawer-services.open .drawer-services-toggle i{transform:rotate(180deg)}
.drawer-services-menu{display:grid;grid-template-rows:0fr;transition:grid-template-rows .28s ease}
.drawer-services.open .drawer-services-menu{grid-template-rows:1fr}
.drawer-services-menu-inner{min-height:0;overflow:hidden}
.drawer .drawer-services-menu a.drawer-link{padding-left:18px;font-size:.91rem;border-bottom:0}

.privacy-consent{grid-column:1/-1;margin-top:4px}
.privacy-consent-label{display:flex;align-items:flex-start;gap:11px;color:inherit;font-size:.91rem;line-height:1.45;cursor:pointer}
.privacy-consent input{width:19px;height:19px;flex:0 0 auto;margin:1px 0 0;accent-color:var(--brand);cursor:pointer}
.privacy-consent a{color:var(--brand);font-weight:700;text-decoration:underline;text-underline-offset:2px}
.privacy-consent.invalid .privacy-consent-label{color:#b42318}
.privacy-consent-error{display:block;min-height:1.3em;margin-top:6px;color:#b42318;font-size:.82rem;font-weight:700}
.quick-quote-dialog .privacy-consent{color:var(--gray-700)}
.lead-form-status{grid-column:1/-1;min-height:1.4em;margin:10px 0 2px;color:var(--gray-600);font-size:.84rem;font-weight:700;line-height:1.4}
.lead-form-status:not(:empty){padding:9px 11px;border-radius:8px;background:var(--brand-light);color:var(--brand-dark)}
.cf-turnstile{grid-column:1/-1;margin:12px 0 4px;min-height:65px}

.testimonials-sec{cursor:default}
@keyframes scrollVerticalUp{from{transform:translateY(0)}to{transform:translateY(calc(-50% - 13px))}}
@keyframes scrollVerticalDown{from{transform:translateY(calc(-50% - 13px))}to{transform:translateY(0)}}

/* Homepage cinematic video hero; copy and layout intentionally stay unchanged. */
html body.homepage-video .hero-bg video{width:100%;height:100%;object-fit:cover;transform:scale(1.03);will-change:transform}
html body.homepage-video .hero-bg::after{background:linear-gradient(105deg,rgba(2,8,18,.76) 0%,rgba(3,16,34,.62) 52%,rgba(4,21,43,.38) 100%)}
html body.homepage-video .hero-text .section-subtitle{color:#7dddff}
html body.homepage-video .hero-text h1{color:#fff}
html body.homepage-video .hero-text h1 .hl{color:#71d8ff}
html body.homepage-video .hero-text h1 .hl::after{background:rgba(51,198,244,.2)}
html body.homepage-video .hero-subtitle{color:#e7f5ff}
html body.homepage-video .hero-text h1,html body.homepage-video .hero-text .section-subtitle,html body.homepage-video .hero-subtitle{text-shadow:0 3px 2px #000,0 9px 24px rgba(0,0,0,.98)}
html body.homepage-video .hero-feature-item{color:var(--brand-dark);background:rgba(255,255,255,.97);border-color:rgba(255,255,255,.94);box-shadow:0 10px 30px rgba(0,0,0,.38);text-shadow:none}
html body.homepage-video .hero-feature-item i{color:var(--brand)}
html body.homepage-video .hero-select-card{color:var(--text-dark);background:#fff;border-color:rgba(255,255,255,.85);box-shadow:0 28px 70px rgba(0,0,0,.42)}
html body.homepage-video .hero-select-card h2{color:var(--brand-dark)}
html body.homepage-video .hero-select-card .sub{color:var(--gray-500)}
html body.homepage-video .service-select-card{background:#fff;border-color:var(--gray-200)}
html body.homepage-video .service-select-card i{color:var(--brand-dark)}
html body.homepage-video .service-select-card span{color:var(--brand-dark)}
html body.homepage-video .service-select-card:hover,html body.homepage-video .service-select-card.selected{background:var(--brand-light);border-color:var(--brand)}
html body.homepage-video .hero-actions .btn-outline[href^="tel:"]{background:#fff;border-color:#fff;color:var(--brand-darkest);box-shadow:0 10px 24px rgba(0,0,0,.2)}
html body.homepage-video .hero-actions .btn-outline[href^="tel:"]:hover,html body.homepage-video .hero-actions .btn-outline[href^="tel:"]:focus-visible{background:var(--brand-darkest);border-color:var(--brand-darkest);color:#fff}

@media (max-width:880px){
  .nav-services{display:none}
}
@media (max-width:480px){
}

/* Hero refinements: transparent standard overlay, brighter selector card, white phone action. */
html body:not(.homepage-video) .hero:not(.hero-dark) .hero-bg::after{background:linear-gradient(135deg,rgba(255,255,255,.78) 0%,rgba(233,244,252,.62) 55%,rgba(214,236,250,.42) 100%)}
html body .hero-select-card{background:#fff}
html body .hero-actions .btn-outline[href^="tel:"]{background:#fff;color:var(--brand-dark);border-color:var(--brand-dark);box-shadow:0 8px 18px rgba(13,43,92,.12)}
html body .hero-actions .btn-outline[href^="tel:"]:hover{background:var(--brand-dark);border-color:var(--brand-dark);color:#fff}

/* Shared responsive containment and mobile controls. */
html{max-width:100%;overflow-x:clip}
html body{max-width:100%;overflow-x:clip}
html body .container > *,html body .hero-grid > *,html body .contact-split > *,html body .cta-inner > *,html body .footer-grid > *,html body .sidenav-layout > *{min-width:0;max-width:100%}
html body .drawer:not(.open){visibility:hidden;pointer-events:none}
html body .drawer.open{visibility:visible;pointer-events:auto}
html body .drawer-overlay:not(.show){pointer-events:none}
html body .drawer-overlay.show{visibility:visible;pointer-events:auto}

/* Keep the desktop contact actions available; mobile keeps the compact header/CTA flow. */

@media (max-width:992px){
  html body .mobile-menu-btn#navToggle{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0}
  html body .drawer-close#drawerClose{display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:0}
  html body .accordion-panel.active{height:340px;flex:none}
  html body .accordion-panel:hover:not(.active){height:140px;flex:none}
  html body .accordion-panel:hover:not(.active) .accordion-content{opacity:0}
  html body .accordion-panel:hover:not(.active) .vertical-title{opacity:1;transform:translate(-50%,-50%) rotate(0deg)}
  html body .accordion-panel:hover:not(.active) img{transform:none}
}
@media (max-width:768px){
  html body .to-top{display:none!important}
  html body .footer{padding-bottom:calc(30px + env(safe-area-inset-bottom))}
}
@media (max-width:640px){
  html body.homepage-video .hero-bg::after{background:linear-gradient(180deg,rgba(2,8,18,.48) 0%,rgba(3,16,34,.66) 58%,rgba(4,21,43,.78) 100%)}
}

/* Semantic heading aliases: preserve the existing component typography after h-level fixes. */
html body .hero-select-card h2{font-size:1.55rem;margin-bottom:4px}
html body .feature-card h3{font-size:1.3rem;margin-bottom:8px;color:var(--brand-dark)}
html body .media-card-body h3{font-size:1.25rem}
html body .process-step h3{color:#fff;font-size:1.2rem;margin-bottom:10px}
html body .step h3{font-size:1.2rem;color:var(--brand-dark)}
html body .coverage-item h3{font-size:1.2rem;margin-bottom:4px}
html body .accordion-content h3{font-size:1.7rem;margin-bottom:8px;color:#fff}
html body .tl-item h3{font-size:1.3rem;margin-bottom:6px}
html body .team-card h3{font-size:1.2rem;margin-bottom:4px}

/* Client review round: shared marketing polish and global feedback. */
html body.homepage-video .hero-text h1,
html body.homepage-video .hero-text .section-subtitle,
html body.homepage-video .hero-subtitle{text-shadow:0 3px 3px #000,0 10px 30px rgba(0,0,0,.98)}
html body .stat-item h3 .suffix{font-size:.56em}
.service-ctas{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:4px}
.service-ctas .btn{align-self:flex-start}
.contact-details-grid .field-name{grid-column:1/-1}
.contact-details-grid .field[style*="justify-content"]{grid-column:1/-1}
.optional{font-size:.78em;font-weight:600;color:var(--gray-500)}

html body .footer-bottom{justify-content:flex-start;text-align:left;gap:8px 12px;padding-right:180px}
html body .footer-bottom>span{display:inline-flex;align-items:center;flex-wrap:wrap;gap:0 8px}

html body .media-card:has(.card-link){cursor:pointer}
html body .media-card.card-clickable:focus-visible{outline:3px solid var(--cyan);outline-offset:4px}
.hero-two-step{margin:0}
.hero-form-step[hidden],.hero-form-success[hidden]{display:none!important}
.hero-step-error{min-height:1.35em;margin:-8px 0 10px;color:#b42318;font-size:.82rem;font-weight:700}
.hero-step-heading{display:flex;align-items:flex-start;gap:12px;margin-bottom:18px}
.hero-step-heading h2{margin:0 0 3px}
.hero-step-heading .sub{margin:0}
.hero-step-back{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;border:1px solid var(--gray-200);border-radius:50%;background:#fff;color:var(--brand-dark);font-size:1.1rem;cursor:pointer;transition:background var(--tr-fast),border-color var(--tr-fast),color var(--tr-fast)}
.hero-step-back:hover,.hero-step-back:focus-visible{border-color:var(--brand);background:var(--brand-light);color:var(--brand)}
.hero-contact-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:4px}
.hero-contact-fields .field{display:grid;gap:6px;margin:0;color:var(--brand-dark);font-size:.82rem;font-weight:700}
.hero-contact-fields .field:first-child,.hero-contact-fields .hero-message{grid-column:1/-1}
.hero-contact-fields input,.hero-contact-fields textarea{width:100%;padding:11px 12px;border:1px solid var(--gray-200);border-radius:8px;background:#fff;color:var(--text-dark);font:inherit;font-weight:500;resize:vertical}
.hero-contact-fields input:focus,.hero-contact-fields textarea:focus{border-color:var(--brand);outline:3px solid rgba(0,116,188,.12)}
.hero-contact-fields small{font-weight:500;color:var(--gray-500)}
.hero-two-step .privacy-consent{margin:10px 0 2px;color:var(--gray-700)}
.hero-form-success{padding:28px 8px 14px;text-align:center}
.hero-form-success h2{margin:12px 0 8px;color:var(--brand-dark)}
.hero-form-success p{margin:0 auto;color:var(--gray-600);font-size:.94rem;line-height:1.55}
.hero-success-icon{display:inline-flex;align-items:center;justify-content:center;width:58px;height:58px;border-radius:50%;background:#e9f8f0;color:#08783f;font-size:1.7rem}
.hero-form-again{margin-top:18px;border:0;background:none;color:var(--brand);font:800 .86rem/1.3 "Montserrat","Montserrat Fallback",sans-serif;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.np-card-grid.np-linked-card-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.np-linked-card{display:flex;flex-direction:column;color:inherit;transition:transform var(--tr),box-shadow var(--tr),border-color var(--tr)}
.np-linked-card p{flex:1}
.np-linked-card:hover,.np-linked-card:focus-visible{transform:translateY(-6px);border-color:rgba(0,116,188,.32);box-shadow:0 24px 54px rgba(8,34,60,.16);outline:0}
.np-card-link{display:inline-flex;align-items:center;gap:8px;margin-top:20px;color:var(--brand);font:800 .88rem/1.2 "Montserrat","Montserrat Fallback",sans-serif}

.contact-page .sidenav-layout>aside{align-self:stretch}
.map-embed{display:block;overflow:hidden;background:var(--gray-100)}
.map-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0;filter:saturate(.82) contrast(1.02)}
.map-embed .map-card{position:absolute;left:50%;bottom:24px;transform:translateX(-50%);width:min(360px,calc(100% - 32px));z-index:1}

/* The homepage is the visual source of truth for every marketing hero. */
html body.marketing-hero-dark .hero-bg::after{background:linear-gradient(105deg,rgba(2,8,18,.82) 0%,rgba(3,16,34,.69) 52%,rgba(4,21,43,.48) 100%)}
html body.marketing-hero-dark .hero-text .section-subtitle{color:#7dddff}
html body.marketing-hero-dark .hero-text h1{color:#fff}
html body.marketing-hero-dark .hero-text h1 .hl{color:#71d8ff}
html body.marketing-hero-dark .hero-text h1 .hl::after{background:rgba(51,198,244,.2)}
html body.marketing-hero-dark .hero-subtitle{color:#e7f5ff}
html body.marketing-hero-dark .hero-text h1,
html body.marketing-hero-dark .hero-text .section-subtitle,
html body.marketing-hero-dark .hero-subtitle{text-shadow:0 3px 3px #000,0 10px 30px rgba(0,0,0,.96)}
html body.marketing-hero-dark .hero-feature-item{color:var(--brand-dark);background:rgba(255,255,255,.97);border-color:rgba(255,255,255,.94);box-shadow:0 10px 30px rgba(0,0,0,.38);text-shadow:none}
html body.marketing-hero-dark .hero-select-card{background:#fff;border-color:rgba(255,255,255,.9);box-shadow:0 30px 76px rgba(0,0,0,.5)}
html body.marketing-hero-dark .hero-select-card h2,
html body.marketing-hero-dark .hero-select-card h3{color:var(--brand-dark)}
html body.marketing-page .np-eyebrow{display:block;margin-bottom:12px;color:var(--brand);font:800 1.05rem/1.4 "Montserrat","Montserrat Fallback",sans-serif;letter-spacing:.15em;text-transform:uppercase}
html body.marketing-page .np-hero::after{background:linear-gradient(105deg,rgba(2,8,18,.84) 0%,rgba(3,16,34,.7) 55%,rgba(4,21,43,.42) 100%)}
html body.marketing-page .np-hero-inner{margin-left:max(0px,calc((100% - var(--container))/2));margin-right:auto}
html body.marketing-page .np-hero .np-eyebrow{color:#7dddff;text-shadow:0 3px 16px rgba(0,0,0,.9)}
html body.marketing-page .np-hero h1{font-size:clamp(3rem,6.3vw,5.6rem);text-shadow:0 4px 4px #000,0 12px 34px rgba(0,0,0,.95)}
html body.marketing-page .np-hero p{text-shadow:0 3px 20px rgba(0,0,0,.95)}
html body.gallery-page .np-hero-inner{width:min(900px,100%)}
html body.service-hero-dark .hero:not(.hero-dark) .hero-bg::after{background:linear-gradient(105deg,rgba(2,8,18,.86) 0%,rgba(3,16,34,.74) 52%,rgba(4,21,43,.58) 100%)}

@media(max-width:1100px){
  .np-card-grid.np-linked-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
  html body .top-bar{display:none!important}
  html body .footer-bottom{padding-right:0}
}
@media(max-width:640px){
  html body.marketing-hero-dark .hero-bg::after,
  html body.marketing-page .np-hero::after{background:linear-gradient(180deg,rgba(2,8,18,.6) 0%,rgba(3,16,34,.76) 58%,rgba(4,21,43,.88) 100%)}
  .service-ctas{display:grid}
  .service-ctas .btn{width:100%}
  .np-card-grid.np-linked-card-grid{grid-template-columns:1fr}
  .contact-details-grid .field-name,.contact-details-grid .field[style*="justify-content"]{grid-column:auto}
  .hero-contact-fields{grid-template-columns:1fr}
  .hero-contact-fields .field:first-child,.hero-contact-fields .hero-message{grid-column:auto}
  html body .footer-links a,html body .contact-info-block a{display:flex;align-items:center;min-height:44px;padding-block:8px}
}

@media(min-width:641px) and (max-width:992px){
  html body .about-process .process-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

html body .footer-col h2,html body .footer-col h3{font-size:1.25rem;margin-bottom:24px;color:#fff;position:relative;padding-bottom:14px}
html body .footer-col h2::after,html body .footer-col h3::after{content:"";position:absolute;left:0;bottom:0;width:40px;height:3px;background:var(--brand-hover);border-radius:var(--radius)}

/* Avoid the observed fixed-button overlap with desktop FAQ controls. */
@media (min-width:1100px){.widget-quote.faq-in-view{visibility:hidden;pointer-events:none}}

/* Round 2 (2026-10-22), Matt's review comments. */
/* Light (white-ish) hero overlays get dark text; dark heroes keep the homepage look. */
html body:not(.homepage-video):not(.service-hero-dark) .hero:not(.hero-dark) .hero-bg::after{background:linear-gradient(100deg,rgba(255,255,255,.92) 0%,rgba(242,248,253,.84) 48%,rgba(226,239,250,.55) 100%)}
html body:not(.homepage-video):not(.service-hero-dark) .hero:not(.hero-dark) .hero-text h1{color:var(--brand-darkest);text-shadow:none}
html body:not(.homepage-video):not(.service-hero-dark) .hero:not(.hero-dark) .hero-text h1 .hl{color:var(--brand-dark)}
html body:not(.homepage-video):not(.service-hero-dark) .hero:not(.hero-dark) .hero-text h1 .hl::after{background:rgba(0,116,188,.14)}
html body:not(.homepage-video):not(.service-hero-dark) .hero:not(.hero-dark) .hero-text .section-subtitle{color:var(--brand);text-shadow:none}
html body:not(.homepage-video):not(.service-hero-dark) .hero:not(.hero-dark) .hero-subtitle{color:#1f2a3d;text-shadow:none}
html body:not(.homepage-video):not(.service-hero-dark) .hero:not(.hero-dark) .hero-feature-item{border-color:var(--gray-200);box-shadow:0 6px 18px rgba(13,43,92,.10)}
/* Gallery and About heroes: align copy with the logo/container edge (the --container token is undefined). */
html body.marketing-page .np-hero-inner{margin-left:max(0px,calc((100% - 1320px)/2))}
/* Process timeline: centred column under the centred section header. */
html body .container > .timeline{max-width:780px;margin-inline:auto}
/* Gate gallery: no tile captions. */
.gate-grid .g-item > span{display:none}
/* Quick quote: three-step form. */
.qq-progress{display:flex;gap:8px;margin:0 0 22px;padding:0;list-style:none;counter-reset:none}
.qq-progress li{flex:1;display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:10px;background:var(--gray-50,#f6f8fb);color:var(--gray-500);font:700 .86rem/1.2 "Montserrat","Montserrat Fallback",sans-serif;border:1px solid var(--gray-200)}
.qq-progress .qq-num{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:#fff;border:1px solid var(--gray-200);font-size:.82rem;flex:none}
.qq-progress li.is-active{background:var(--brand-light);border-color:rgba(0,116,188,.35);color:var(--brand-dark)}
.qq-progress li.is-active .qq-num{background:var(--brand);border-color:var(--brand);color:#fff}
.qq-progress li.is-done{color:var(--brand-dark)}
.qq-progress li.is-done .qq-num{background:#e9f8f0;border-color:#9fd8b8;color:#08783f}
.qq-step{border:0;margin:0;padding:0;min-width:0;display:grid;gap:18px}
.qq-step[hidden]{display:none}
.qq-legend{padding:0;margin-bottom:2px;color:var(--brand-dark);font:800 1.1rem/1.3 "Montserrat","Montserrat Fallback",sans-serif}
.quick-quote-dialog .qq-step .form-grid{margin-top:0}
.quick-quote-dialog .qq-step textarea{min-height:120px}
.qq-nav{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-start;justify-content:flex-end;margin-top:4px}
.quick-quote-dialog .qq-nav .btn{width:auto;min-width:160px;min-height:52px}
.qq-nav .qq-back{margin-right:auto}
.qq-nav .privacy-consent{order:-1;flex-basis:100%}
.qq-nav > .field{flex:0 1 auto}
.qq-nav > .field .btn{width:100%}
.qq-nav .lead-form-status:empty{display:none}
.qq-summary{display:grid;grid-template-columns:150px 1fr;gap:0;margin:0;border:1px solid var(--gray-200);border-radius:12px;overflow:hidden}
.qq-summary dt,.qq-summary dd{margin:0;padding:12px 16px;border-bottom:1px solid var(--gray-200)}
.qq-summary dt{background:var(--gray-50,#f6f8fb);color:var(--gray-600);font:700 .84rem/1.4 "Montserrat","Montserrat Fallback",sans-serif}
.qq-summary dd{color:var(--brand-darkest);font-weight:600;white-space:pre-line;overflow-wrap:anywhere}
.qq-summary dt:nth-last-of-type(1),.qq-summary dd:last-child{border-bottom:0}
/* Custom dropdown (the real <select> stays in the form, visually hidden, and is kept in sync). */
.cselect{position:relative}
.cselect-native{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;border:0!important;opacity:0}
.cselect-btn{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;min-height:54px;padding:14px 18px 14px 18px;border:1px solid var(--gray-200);border-radius:var(--radius-sm,10px);background:#fff;color:var(--brand-darkest);font:600 1rem/1.3 inherit;font-family:inherit;text-align:left;cursor:pointer;transition:border-color .2s,box-shadow .2s}
.cselect-btn:hover{border-color:var(--gray-300)}
.cselect-btn:focus-visible,.cselect.open .cselect-btn{outline:0;border-color:var(--brand);box-shadow:0 0 0 4px rgba(0,116,188,.14)}
.cselect-btn i{flex:none;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;margin-right:-4px;border-radius:8px;background:var(--brand-light);color:var(--brand);font-size:1rem;transition:transform .2s}
.cselect.open .cselect-btn i{transform:rotate(180deg)}
.field.invalid .cselect-btn{border-color:#c0392b}
.cselect-list{position:absolute;z-index:20;left:0;right:0;top:calc(100% + 6px);margin:0;padding:6px;list-style:none;background:#fff;border:1px solid var(--gray-200);border-radius:12px;box-shadow:0 22px 50px rgba(13,43,92,.18);max-height:300px;overflow:auto}
.cselect-list[hidden]{display:none}
.cselect-list li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 14px;border-radius:8px;color:var(--brand-darkest);font-weight:600;cursor:pointer}
.cselect-list li.is-active{background:var(--brand-light)}
.cselect-list li[aria-selected="true"]{color:var(--brand)}
.cselect-list li[aria-selected="true"]::after{content:"";width:8px;height:14px;border:solid var(--brand);border-width:0 2.5px 2.5px 0;transform:rotate(45deg) translate(-2px,-2px)}
.cselect-list{max-height:272px}
.cselect-list:focus{outline:0}
.cselect-list li{padding:9px 14px;font-size:.96rem}
.qq-legend:focus{outline:0}

/* Phone floating buttons, same logic as Tetőpajzs: round 52px icon buttons in one row, bottom right, above the safe area. */
@media (max-width:767px){
  html body .widget-phone,html body .widget-quote{display:flex!important;position:fixed!important;align-items:center;justify-content:center;width:52px!important;height:52px!important;padding:0!important;border-radius:50%!important;bottom:calc(16px + env(safe-area-inset-bottom))!important;top:auto!important;left:auto!important;z-index:1050;overflow:hidden;transform:none!important;box-shadow:0 10px 15px -3px rgba(8,35,56,.3),0 4px 6px -4px rgba(8,35,56,.25)}
  html body .widget-quote{right:16px!important}
  html body .widget-phone{right:80px!important}
  html body .widget-phone .text-wrapper,html body .widget-quote span{display:none!important}
  html body .widget-phone .icon-wrapper{position:absolute;inset:0;min-width:0;width:auto;height:auto;font-size:1.5rem}
  html body .widget-phone:hover{width:52px!important}
  body:has(.quick-quote-modal[aria-hidden="false"]) :is(.widget-phone,.widget-quote){opacity:0;visibility:hidden}
  /* Step aside while hero badges, the hero service picker or a page form sit in the bottom strip (site-v7.js sets the class). */
  html body .widget-phone,html body .widget-quote{transition:opacity .2s ease,visibility .2s ease}
  body.hero-badges-low :is(.widget-phone,.widget-quote){opacity:0;visibility:hidden;pointer-events:none}
}

/* Phone lead modal (QA 2026-11-18.7): progress labels fit, Vissza and Küldés share one row, summary stacks label over value. */
@media (max-width:560px){
  .quick-quote-modal{padding:8px}
  .quick-quote-dialog{padding:26px 18px 20px;max-height:calc(100dvh - 16px)}
  .quick-quote-header{margin-bottom:18px}
  .qq-progress{gap:6px;margin-bottom:18px}
  .qq-progress li{flex-direction:column;justify-content:center;gap:4px;min-width:0;padding:8px 4px;text-align:center;font-size:.76rem}
  .qq-progress .qq-num{width:24px;height:24px;font-size:.76rem}
  .quick-quote-dialog .qq-nav .btn{min-width:0;padding-inline:14px}
  .qq-nav .qq-back,.qq-nav .qq-next,.qq-nav > .field{flex:1 1 0;margin-right:0}
  .qq-summary{grid-template-columns:1fr}
  .qq-summary dt{padding:10px 14px 0;background:none;border-bottom:0;font-size:.76rem}
  .qq-summary dd{padding:2px 14px 10px}
}

/* Phone layout fixes from the 2026-11-19 live layout test (360-430 px). */
@media (max-width:767px){
  /* Consent tables: the legal article sets overflow-wrap:anywhere, which split cell words letter by letter. The table scrolls inside its own box instead. */
  html body .consent-table th,html body .consent-table td{overflow-wrap:normal}
  /* Header tagline at least 12px; tighter tracking keeps the old line width, so the header does not wrap more. */
  html body .nav-logo-text small{font-size:.75rem;line-height:1.45;letter-spacing:.16em}
  /* Keep the last footer line above the 52px round buttons (16px from the bottom). */
  html body .footer{padding-bottom:calc(88px + env(safe-area-inset-bottom))}
  /* Let the punctuation after a highlighted headline word stay on the same line. */
  html body .hero-text h1 .hl{display:inline}
  /* Hero form "(opcionális)" hint at least 12px; the label line height stays, so the row does not grow. */
  html body .hero-contact-fields small{font-size:.75rem}
}
@media (max-width:480px){
  /* Gallery and About hero: the longest word ("kézzelfogható") fits the 360 px content width. */
  html body.marketing-page .np-hero h1{font-size:min(3rem,11.4vw)}
}

/* Layout fixes from the 2026-11-20 full live review. */
/* Cookie table: keep the cookie name ("cf-consent") on one line; the browser broke it after the hyphen. Only the 4-column cookie table, the processor table keeps wrapping. */
html body .consent-table td:first-child:nth-last-child(4){white-space:nowrap}
/* Cookie table box: the table's own 12px/24px margin left an empty strip inside the bordered box. */
html body .table-wrap .consent-table{margin:0}
/* Thank-you and 404 card: centre the 780px card in the container (it sat at the left edge on wide screens). On phones the card is full width, so nothing moves. */
html body .np-thanks-card{margin-inline:auto}
@media (min-width:768px){
  /* Service page trust band (6 items): even rows of 3 instead of 5 + 1. */
  html body .trust-badges .trust-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:980px){
  /* Workflow steps on the home page: the scroll highlight runs only above 980px (home-final.js), so a revealed step shows at full opacity here, not dimmed to .34. */
  html.v2-ready body .p2 .process-step.reveal.in{opacity:1}
}
@media (max-width:480px){
  /* Thank-you and 404 card: 24px side padding, so "ajánlatkérést!" fits at 360px and the card keeps equal 24px margins. */
  html body .np-thanks-card{padding-inline:24px}
}

/* Live Google reviews (reviews-live.js, src/reviews.js). The stage has a fixed height, so the swap from the fallback card
   to the cards does not shift the layout. The notice and the arrows keep their space and show only after a load. */
.testimonials-sec .gr-summary{display:flex;flex-direction:column;align-items:center;gap:4px;margin:20px 0 0}
.gr-score{min-height:36px;display:flex;align-items:center;justify-content:center}
.gr-score a{display:inline-flex;align-items:center;gap:10px;color:inherit;text-decoration:none;border-radius:6px}
.gr-score a:focus-visible{outline:3px solid var(--cyan);outline-offset:4px}
.gr-score strong{font-family:"Montserrat","Montserrat Fallback",sans-serif;font-weight:800;font-size:1.5rem;line-height:1;color:var(--brand-dark)}
.gr-score .gr-stars{margin:0;font-size:1.1rem}
.gr-count{font-size:.92rem;color:var(--gray-600);text-decoration:underline;text-underline-offset:3px}
.gr-src{font-size:.88rem;color:var(--gray-500)}
.gr-gm{font-family:Roboto,Arial,sans-serif;font-weight:400;font-size:13px;line-height:1.4;color:#5E5E5E;white-space:nowrap;letter-spacing:normal}
.gr-stage{--gr-h:340px;height:var(--gr-h);position:relative}
.gr-track{display:flex;gap:20px;height:100%;box-sizing:border-box;padding:4px 4px 14px;margin-inline:-4px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding-inline:4px;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:var(--gray-300) transparent}
.gr-track[hidden],.gr-fallback[hidden]{display:none}
.gr-card{flex:0 0 calc((100% - 40px) / 3);height:100%;min-width:0;box-sizing:border-box;display:flex;flex-direction:column;background:#fff;border:1px solid var(--gray-200);border-radius:var(--radius);box-shadow:0 6px 16px rgba(13,43,92,.07);padding:22px 24px;scroll-snap-align:start}
.gr-author{display:flex;align-items:center;gap:12px;min-width:0}
.gr-photo{width:44px;height:44px;border-radius:50%;flex-shrink:0;object-fit:cover;background:var(--brand-light)}
.gr-initial{display:flex;align-items:center;justify-content:center;color:var(--brand-dark);font:700 1.05rem "Montserrat","Montserrat Fallback",sans-serif}
.gr-who{display:flex;flex-direction:column;min-width:0}
.gr-name{font:700 .98rem/1.25 "Montserrat","Montserrat Fallback",sans-serif;color:var(--brand-dark);text-decoration:none;overflow-wrap:anywhere}
a.gr-name:hover{text-decoration:underline}
.gr-time{font-size:.82rem;color:var(--gray-500)}
.gr-stars{color:#FBBC04;letter-spacing:2px;line-height:1;margin:14px 0 10px}
.gr-text{flex:1 1 auto;min-height:0;overflow:hidden;margin:0;font-size:.95rem;line-height:1.6;color:var(--gray-700);overflow-wrap:break-word}
.gr-foot{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 12px;margin-top:12px;font-size:.86rem}
.gr-more{color:var(--brand);font-weight:600;text-underline-offset:3px}
.gr-tr{white-space:nowrap}
.gr-fallback{height:100%;max-width:560px;margin:0 auto;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;background:#fff;border:1px solid var(--gray-200);border-radius:var(--radius);box-shadow:0 6px 16px rgba(13,43,92,.07);padding:30px 26px 34px}
.gr-fallback-icon{font-size:2.2rem;color:var(--brand)}
.gr-fallback-title{margin:0;font:700 1.15rem/1.3 "Montserrat","Montserrat Fallback",sans-serif;color:var(--brand-dark)}
.gr-fallback-text{margin:0 0 8px;color:var(--gray-600);font-size:.95rem}
.gr-fallback .btn{width:auto;max-width:100%;white-space:nowrap;padding-inline:24px}
.gr-notice{max-width:none;margin:12px auto 0;text-align:center;font-size:.82rem;line-height:1.5;color:var(--gray-500);visibility:hidden}
.gr-actions{position:relative;display:flex;flex-direction:column;align-items:center;gap:14px;margin-top:16px}
.gr-nav{display:flex;gap:10px;visibility:hidden}
.gr-on .gr-notice,.gr-on .gr-nav.gr-show{visibility:visible}
.gr-arrow{width:42px;height:42px;border-radius:50%;border:1px solid var(--gray-300);background:#fff;color:var(--brand-dark);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;font-size:1.05rem;transition:border-color var(--tr-fast),color var(--tr-fast)}
.gr-arrow:hover:not(:disabled){border-color:var(--brand);color:var(--brand)}
.gr-arrow:disabled{opacity:.4;cursor:default}
.gr-arrow:focus-visible,.gr-write:focus-visible,.gr-more:focus-visible,a.gr-name:focus-visible{outline:3px solid var(--cyan);outline-offset:3px}
.gr-write{display:inline-flex;align-items:center;gap:8px;font-weight:700;color:var(--brand);text-decoration:underline;text-underline-offset:4px}
.gr-write i{color:#FBBC04;font-size:1.1rem}
@media (min-width:640px){.gr-actions{min-height:42px;justify-content:center}.gr-nav{position:absolute;right:0;top:0}}
@media (max-width:1023px){.gr-card{flex-basis:calc((100% - 20px) / 2)}}
@media (max-width:639px){.gr-card{flex-basis:86%;padding:20px}.gr-stage{--gr-h:360px}}
