
/* Only necessary functional/accessibility adjustments; approved layout remains locked. */
[hidden]{display:none!important}
.brandmark img{object-fit:contain}
.google-pill{justify-content:flex-start}
.review-pill-star{font-size:28px;line-height:1;color:#eead19}
.review-pill-text{display:flex;flex-direction:column;line-height:1.15}
.review-pill-text strong{color:#133764;font-size:14px}
.review-pill-text small{color:#71849f;font-size:11px;margin-top:4px}
.google-pill .chev{margin-left:auto}
.play-button{cursor:pointer}
.main-header .desktop-nav .nav-dropdown a:hover,.desktop-nav a:hover{color:#147bef}
.mobile-nav a:hover,.mobile-nav a:focus-visible{color:#116dd4}
.approved-homepage .reveal{opacity:1;transform:none} /* content visible when JS disabled */
.approved-homepage.motion-ready .reveal:not(.in-view){opacity:1;transform:none}
@media(max-width:980px){.site-footer{padding-bottom:30px}}
.desktop-nav .aflow-custom-menu{list-style:none;display:flex;gap:28px;align-items:center;padding:0;margin:0}
.desktop-nav .aflow-custom-menu li{display:inline}
.mobile-nav .aflow-custom-menu{list-style:none;margin:0;padding:0}
.approved-homepage .site-shell{overflow:clip}
@media(max-width:1280px){.desktop-nav .aflow-custom-menu{gap:20px}}
/* Faithful compact AA Plumbing lock-up, avoiding stretching the square emblem. */
.brandmark img{width:195px;height:auto;max-height:86px}
.footer-logo{width:165px;height:auto}
@media(max-width:1280px){.brandmark img{width:165px}}
@media(max-width:980px){.brandmark img{width:155px}}
@media(max-width:420px){.brandmark img{width:148px}}
/* Blue crescent divider as approved; no opaque oval covering the photograph. */
.hero-image-panel::before{
  left:-118px;top:-10%;bottom:-10%;width:168px;
  background:transparent;border-left:22px solid #0d66ca;
  border-radius:50%;box-shadow:none;pointer-events:none;z-index:1;
}
.hero-image-panel img{object-position:67% center}
@media(max-width:980px){
 .topbar{display:none}
 .hero-image-panel::before{display:none}
 .hero-image-panel img{object-position:60% center}
}
@media(max-width:640px){
 .hero-copy-panel{padding-top:20px;padding-bottom:16px}
 .hero-image-panel{min-height:178px;height:178px}
 .hero-buttons{gap:8px;margin-bottom:14px}
 .hero-highlights{gap:8px}
}
/* Slim blue flowing crescent from the approved hero, without covering content. */
@media(min-width:981px){
 .hero-image-panel::before{
  content:"";position:absolute;z-index:2;left:-1px;top:0;bottom:0;
  width:126px;border:0;border-radius:0;box-shadow:none;
  background:linear-gradient(180deg,#0b5bb5,#1187ed);
  clip-path:polygon(100% 0%,81% 10%,55% 24%,25% 40%,15% 50%,25% 62%,55% 78%,81% 90%,100% 100%,82% 100%,63% 90%,34% 78%,3% 62%,0% 50%,3% 40%,34% 24%,63% 10%,82% 0%);
 }
 .about-feature .van-panel{border-radius:0;box-shadow:none;overflow:hidden}
 .about-feature .van-panel img{-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 25%);mask-image:linear-gradient(90deg,transparent 0%,#000 25%)}
}
@media(max-width:980px){
 .about-feature .about-layout{display:flex;flex-direction:column;gap:15px}
 .about-feature .about-layout>div{grid-area:auto}
 .about-feature .about-copy{display:block}
 .about-feature .van-panel{display:none}
}
@media(max-width:640px){
 .about-feature .about-copy h2{font-size:24px}
 .about-feature .about-copy p{font-size:13px;line-height:1.45}
}
@media(min-width:981px){
 .hero-image-panel::before{
  left:0;top:0;bottom:0;width:130px;
  background:url('../images/hero-divider.svg') center / 100% 100% no-repeat;
  border:0;border-radius:0;clip-path:none;box-shadow:none;
 }
}

/* Fifteen Fold footer, deliberately subordinate to approved page layout */
.aflow-footer-credit{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:18px;padding-bottom:20px;margin-top:20px;border-top:1px solid #e2eaf4;color:#69809c;font-size:12px;line-height:1.5}
.aflow-footer-credit a{color:#0a56b8;font-weight:700;text-decoration:none}
.aflow-footer-credit a:hover,.aflow-footer-credit a:focus-visible{text-decoration:underline}
@media(max-width:640px){.aflow-footer-credit{flex-direction:column;align-items:flex-start;gap:5px;padding-left:16px;padding-right:16px}}

/* v2.3: authoritative responsive geometry, fixes the actual live failure.
   Earlier v2.2 grid sizing rules overrode the mobile breakpoint. */
html,body{max-width:100%;overflow-x:clip}
.site-shell{width:100%;max-width:1600px;margin:0 auto;overflow:visible}
.header-inner,.hero-split,.hero-copy-panel,.hero-image-panel,.about-layout,.about-copy{min-width:0}
@media(min-width:981px){
 .header-inner{grid-template-columns:minmax(170px,200px) minmax(0,1fr) max-content;gap:clamp(12px,1.4vw,22px)}
 .desktop-nav{gap:clamp(11px,1.25vw,23px);font-size:clamp(13px,1.05vw,16px);white-space:nowrap}
 .header-call{gap:10px}
 .header-call .call-copy strong{font-size:clamp(15px,1.35vw,20px)}
 .hero-split{display:grid;grid-template-columns:minmax(0,48%) minmax(0,52%);align-items:stretch;min-height:525px}
 .hero-copy-panel{padding:clamp(38px,3.4vw,55px) clamp(20px,2.5vw,38px) 32px clamp(28px,3.1vw,46px)}
 .hero-copy-panel h1{font-size:clamp(36px,3.35vw,57px);line-height:1.08;letter-spacing:-.04em;max-width:100%}
 .hero-copy-panel p{font-size:clamp(14px,1.08vw,17px);line-height:1.52}
 .hero-buttons{gap:10px;margin-bottom:26px}
 .hero-buttons .btn{font-size:clamp(12px,1.05vw,15px);padding-inline:clamp(10px,1.3vw,20px);min-height:52px}
 .hero-highlights{gap:8px}
 .hero-highlights strong{font-size:clamp(11px,1vw,15px)}
 .hero-highlights small{font-size:clamp(10px,.85vw,13px)}
 .hero-image-panel{min-height:525px}
}
/* Badge is a centred flex stack, not grid lines that can grow beyond the circle. */
.hero-image-panel .emergency-badge{position:absolute;z-index:5;right:clamp(22px,2.6vw,38px);top:clamp(20px,3vw,48px);width:128px;height:128px;min-width:0;min-height:0;max-width:none;max-height:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:10px 7px;border:4px solid #fff;border-radius:50%;box-sizing:border-box;overflow:hidden;text-align:center;white-space:nowrap}
.hero-image-panel .emergency-badge span{display:block;flex:none;font-size:40px;line-height:1;font-weight:900;letter-spacing:-.055em}
.hero-image-panel .emergency-badge small{display:block;flex:none;font-size:11px;line-height:1.2;font-weight:800;margin:0}
@media (min-width:981px) and (max-width:1210px){
 .brandmark img{width:154px}
 .header-inner{grid-template-columns:154px minmax(0,1fr) max-content;gap:10px}
 .desktop-nav{font-size:12px;gap:10px}
 .header-call .call-icon{width:43px;height:43px}
 .header-call .call-copy small{font-size:10px}
 .hero-copy-panel h1{font-size:clamp(35px,3.35vw,42px)}
 .hero-buttons .btn{font-size:12px}
}
/* The approved mobile layout always stacks copy ABOVE the hero photo. */
@media(max-width:980px){
 .site-shell{width:100%;max-width:none;margin:0;padding:0 0 88px;overflow-x:clip}
 .topbar{display:none}
 .header-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;min-height:72px}
 .main-header .desktop-nav,.main-header .header-call{display:none!important}
 .main-header .menu-toggle{display:grid;grid-column:2;align-self:center}
 .hero-wrap{width:100%}
 .hero-split{display:flex!important;flex-direction:column!important;grid-template-columns:none!important;min-height:0!important;width:100%;overflow:hidden}
 .hero-copy-panel{order:0!important;width:100%!important;min-width:0!important;max-width:none!important;padding:24px 20px 20px!important}
 .hero-copy-panel h1{font-size:clamp(29px,5.4vw,43px);line-height:1.10;letter-spacing:-.035em;margin-bottom:14px}
 .hero-copy-panel p{font-size:14px;line-height:1.52;max-width:550px;margin-bottom:18px}
 .hero-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:20px}
 .hero-buttons .btn{min-height:49px;padding:8px 10px;font-size:13px}
 .hero-highlights{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 .hero-highlights>div{min-width:0;gap:7px}
 .hero-highlights strong{font-size:12px}
 .hero-highlights small{font-size:10px}
 .hero-image-panel{order:1!important;width:100%!important;min-width:0!important;max-width:none!important;height:260px!important;min-height:260px!important;overflow:hidden}
 .hero-image-panel>img{display:block;width:100%;height:100%;object-fit:cover;object-position:61% 48%}
 .hero-image-panel::before{display:none!important}
 .hero-image-panel .emergency-badge{right:16px;top:16px;width:92px;height:92px;border-width:3px;padding:7px 3px;gap:3px}
 .hero-image-panel .emergency-badge span{font-size:29px}
 .hero-image-panel .emergency-badge small{font-size:8.5px}
 .google-pill{position:absolute;left:16px;right:16px;bottom:14px;transform:none;min-width:0;max-width:400px}
 .service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
 .brandmark img{width:150px;height:auto}
 .hero-copy-panel{padding:21px 17px 18px!important}
 .hero-copy-panel h1{font-size:clamp(31px,8.15vw,36px)}
 .eyebrow-pill{font-size:9px;min-height:30px;margin-bottom:12px;padding:0 12px}
 .hero-copy-panel p{font-size:13px;line-height:1.5;margin-bottom:15px}
 .hero-buttons{grid-template-columns:1fr;gap:8px;margin-bottom:15px}
 .hero-buttons .btn{font-size:13px;min-height:46px}
 .hero-highlights{gap:5px}
 .hero-highlights>div{gap:5px}
 .hero-highlights .icon{width:17px;height:17px}
 .hero-highlights strong{font-size:10px;line-height:1.15}
 .hero-highlights small{font-size:9px;line-height:1.2}
 .hero-image-panel{height:210px!important;min-height:210px!important}
 .hero-image-panel>img{object-position:60% center}
 .hero-image-panel .emergency-badge{width:84px;height:84px;right:12px;top:12px}
 .hero-image-panel .emergency-badge span{font-size:26px}
 .hero-image-panel .emergency-badge small{font-size:8px}
 .google-pill{font-size:11px;max-width:290px;left:12px;right:12px;padding:9px 12px}
 .section-card{padding:20px 14px 24px}
 .service-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .service-box{min-height:103px}
 .service-icon{width:36px;height:36px}
 .service-box strong{font-size:12px}
}
@media(max-width:360px){
 .hero-copy-panel h1{font-size:29px}
 .hero-highlights .icon{width:15px;height:15px}
 .hero-highlights strong{font-size:9px}
 .hero-highlights small{font-size:8px}
 .google-pill{max-width:265px}
}

/* Content must never disappear while waiting for scroll intersection. */
.approved-homepage .reveal,.approved-homepage.motion-ready .reveal:not(.in-view){opacity:1!important;transform:none!important}
@media(prefers-reduced-motion:no-preference){
 .approved-homepage.motion-ready .reveal.in-view{animation:aflow-soft-enter .45s ease-out both}
 @keyframes aflow-soft-enter{from{opacity:.7;transform:translateY(10px)}to{opacity:1;transform:none}}
}
