/* HG PureWater V17.2 home styles: Home Hero, Hot Push, Scenario, home banners, reviews/installations and carousels. */
.hero{min-height:650px;display:flex;align-items:center;position:relative;overflow:hidden;isolation:isolate;background:#fff}
.hero-home .hero-inner{min-height:650px;display:flex;align-items:var(--hgpw-desktop-hero-content-align,center)}
.hero-home .hero-copy{width:min(100%,var(--hgpw-desktop-hero-content-width,650px));max-width:none;transform:translateY(var(--hgpw-desktop-hero-offset,0px))}
.hero-home .hero-copy h1,.hero-home .hero-copy h2{font-size:clamp(34px,5vw,var(--hgpw-desktop-hero-title-size,var(--hgpw-hero-title-size,52px)))}
.hero-home .hero-copy>p:not(.eyebrow){font-size:var(--hgpw-desktop-hero-subtitle-size,calc(var(--hgpw-body-size,15.5px) + 2.5px))}
.hero-home .hero-actions a{font-size:var(--hgpw-desktop-hero-button-size,var(--hgpw-button-size,14px))}
.desktop-hero-align-left .hero-copy{text-align:left;margin-left:0;margin-right:auto}
.desktop-hero-align-left .hero-actions{justify-content:flex-start}
.desktop-hero-align-center .hero-copy{text-align:center;margin-inline:auto}
.desktop-hero-align-center .hero-actions{justify-content:center}
.desktop-hero-align-right .hero-copy{text-align:right;margin-left:auto;margin-right:0}
.desktop-hero-align-right .hero-actions{justify-content:flex-end}
.desktop-hero-buttons-side-by-side .hero-actions{flex-wrap:nowrap}
.desktop-hero-buttons-side-by-side .hero-actions>a{flex:1;min-width:0}
.desktop-hero-buttons-stacked .hero-actions{flex-direction:column;align-items:stretch}
.desktop-hero-buttons-stacked .hero-actions>a{width:100%}
@media (min-width:721px){.desktop-hero-colour-override .hero-copy h1,.desktop-hero-colour-override .hero-copy h2,.desktop-hero-colour-override .hero-copy p,.desktop-hero-colour-override .hero-copy .eyebrow{color:var(--hgpw-desktop-hero-text-color)!important}.desktop-hero-shadow .hero-copy h1,.desktop-hero-shadow .hero-copy h2,.desktop-hero-shadow .hero-copy p,.desktop-hero-shadow .hero-copy .eyebrow{text-shadow:0 2px 14px rgba(0,0,0,.24)}}
.two-col,.trust-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}
.trust-media{aspect-ratio:16/9;min-width:0;overflow:hidden;background:var(--soft);border-radius:var(--hgpw-image-radius,6px)}
.trust-media img,.trust-media .placeholder-media{width:100%;height:100%;min-height:0;object-position:center}
.trust-media img{object-fit:contain}
.trust-media-cover img{object-fit:cover}
.trust-media-contain img{object-fit:contain}
.trust-media .placeholder-media{object-fit:cover}
.compact-pfas{background:transparent;border:0;border-radius:0;padding:0;box-shadow:none}
.pfas-media{min-height:260px;border-radius:0;overflow:hidden;background:#fff;box-shadow:none}
.pfas-media img{width:100%;height:100%;object-fit:cover}
.pfas-media .placeholder-media{min-height:250px}
.feature-row{display:grid;grid-template-columns:1.08fr .92fr;gap:40px;align-items:center;margin-bottom:52px;border:0;border-radius:0;padding:0;background:transparent;box-shadow:none}
.feature-row:last-child{margin-bottom:0}
.feature-row.reverse{grid-template-columns:.92fr 1.08fr}
.feature-row.reverse .feature-media{order:2}
.feature-media{height:360px;border-radius:0;overflow:hidden;background:var(--soft);box-shadow:none}
.feature-media img,.feature-media .placeholder-media{width:100%;height:100%;object-fit:cover}
.feature-copy{padding:10px 0}
.feature-copy h2{font-size:clamp(26px,3vw,var(--hgpw-section-title-size,34px))}
.hot-push-feature .feature-row.is-card-linked{position:relative;cursor:pointer}
.hot-push-feature .hot-push-card-link{position:absolute;inset:0;z-index:1;border-radius:var(--hgpw-card-radius,8px)}
.hot-push-feature .feature-row.is-card-linked>.feature-media,.hot-push-feature .feature-row.is-card-linked>.feature-copy{position:relative;z-index:2;pointer-events:none}
.hot-push-feature .feature-row.is-card-linked .button-row,.hot-push-feature .feature-row.is-card-linked .button-row a{pointer-events:auto}
.hot-push-feature .hot-push-card-link:focus-visible{outline:3px solid rgba(42,113,143,.34);outline-offset:6px}
.hot-push-feature .feature-row.is-card-linked .feature-media img{transition:transform .22s ease}
@media(hover:hover){.hot-push-feature .feature-row.is-card-linked:hover .feature-media img{transform:scale(1.012)}}
.scenario-tabs{display:inline-flex;gap:8px;background:#eef5f9;border:1px solid var(--line);border-radius:999px;padding:6px;margin:0 auto 20px;position:relative;left:50%;transform:translateX(-50%)}
.scenario-tab{border:0;background:transparent;border-radius:999px;padding:11px 24px;font-weight:640;color:var(--muted);cursor:pointer}
.scenario-tab.is-active{background:#fff;color:var(--brand);box-shadow:0 6px 18px rgba(23,38,53,.08)}
.scenario-panel{display:none}
.scenario-panel.is-active{display:block}
.scenario-panel[hidden]{display:none!important}
.scenario-wide-banner{display:block;position:relative;border-radius:6px;overflow:hidden;background:var(--soft);border:1px solid var(--line);margin-bottom:22px;box-shadow:none}
.scenario-wide-banner .scenario-banner-image{display:block;width:100%;max-width:none}
.scenario-fit-original{height:auto;min-height:0;max-height:none}
.scenario-fit-original .scenario-banner-image{height:auto;object-fit:contain}
.scenario-fit-original .placeholder-media{width:100%;height:auto;min-height:140px;aspect-ratio:32/5}
.scenario-fit-cover{height:var(--scenario-desktop,200px);min-height:var(--scenario-desktop,200px);max-height:var(--scenario-desktop,200px)}
.scenario-fit-cover .hgpw-responsive-picture{display:block;width:100%;height:100%}.scenario-fit-cover .scenario-banner-image,.scenario-fit-cover .placeholder-media{width:100%;height:100%;min-height:0;object-fit:cover}
.scenario-banner-copy{position:absolute;left:22px;bottom:18px;max-width:480px;background:rgba(255,255,255,.92);border:1px solid rgba(255,255,255,.75);border-radius:6px;padding:14px 18px;box-shadow:0 6px 18px rgba(23,38,53,.05)}
.scenario-banner-copy strong{display:block;font-size:calc(var(--hgpw-card-title-size,18px) + 8px);line-height:1.05}
.scenario-banner-copy em{display:block;margin-top:5px;font-style:normal;color:var(--muted)}
.scenario-card-compact .product-card-copy h3{min-height:42px}
.scenario-card-compact .product-card-copy p{display:none}
.wide-banner{min-height:430px;border-radius:0;background:linear-gradient(90deg,rgba(0,0,0,.52),rgba(0,0,0,.12));background-size:cover;background-position:center;display:flex;align-items:center;color:#fff}
.wide-banner h2,.wide-banner p{color:#fff}
.find-system{padding-bottom:90px}
@media (max-width:1180px){.scenario-fit-cover{height:var(--scenario-tablet,170px);min-height:var(--scenario-tablet,170px);max-height:var(--scenario-tablet,170px)}.two-col,.trust-grid{grid-template-columns:1fr}.feature-row.reverse .feature-media{order:0}.feature-row,.feature-row.reverse{grid-template-columns:1fr}
}
@media (max-width:720px){.hero{min-height:var(--hgpw-mobile-hero-height,560px);padding:0}.hero-home .hero-inner{min-height:var(--hgpw-mobile-hero-height,560px);display:flex;align-items:var(--hgpw-mobile-hero-content-align,center);padding:72px 0 52px}.hero-home .hero-copy{width:min(100%,var(--hgpw-mobile-hero-content-width,90%));max-width:none;transform:translateY(var(--hgpw-mobile-hero-offset,0px))}.hero-home .hero-copy h1,.hero-home .hero-copy h2{font-size:var(--hgpw-mobile-hero-title-size,38px)}.hero-home .hero-copy>p:not(.eyebrow){font-size:var(--hgpw-mobile-hero-subtitle-size,16px)}.hero-home .hero-actions a{font-size:var(--hgpw-mobile-hero-button-size,14px)}.mobile-hero-align-left .hero-copy{text-align:left;margin-left:0;margin-right:auto}.mobile-hero-align-left .hero-actions{justify-content:flex-start}.mobile-hero-align-center .hero-copy{text-align:center;margin-inline:auto}.mobile-hero-align-center .hero-actions{justify-content:center}.mobile-hero-align-right .hero-copy{text-align:right;margin-left:auto;margin-right:0}.mobile-hero-align-right .hero-actions{justify-content:flex-end}.mobile-hero-buttons-wrap .hero-actions{flex-direction:row;align-items:center;flex-wrap:wrap}.mobile-hero-buttons-wrap .hero-actions>a{flex:0 0 auto;width:auto}.mobile-hero-buttons-side-by-side .hero-actions{flex-direction:row;align-items:stretch;flex-wrap:nowrap}.mobile-hero-buttons-side-by-side .hero-actions>a{flex:1;min-width:0;width:auto}.mobile-hero-buttons-stacked .hero-actions{flex-direction:column;align-items:stretch;flex-wrap:nowrap}.mobile-hero-buttons-stacked .hero-actions>a{flex:0 0 auto;width:100%}.hero-home .hero-copy,.hero-home .hero-copy h1,.hero-home .hero-copy h2,.hero-home .hero-copy p,.hero-home .hero-copy .eyebrow{color:var(--hgpw-mobile-hero-text-color,var(--ink))!important}.mobile-hero-shadow .hero-copy h1,.mobile-hero-shadow .hero-copy h2,.mobile-hero-shadow .hero-copy p,.mobile-hero-shadow .hero-copy .eyebrow{text-shadow:0 2px 14px rgba(0,0,0,.24)}.mobile-hero-hide-eyebrow .hero-copy>.eyebrow{display:none!important}.mobile-hero-hide-title .hero-copy>h1,.mobile-hero-hide-title .hero-copy>h2{display:none!important}.mobile-hero-hide-subtitle .hero-copy>p:not(.eyebrow){display:none!important}.mobile-hero-hide-primary .hero-actions>.btn-primary{display:none!important}.mobile-hero-hide-secondary .hero-actions>.btn-secondary{display:none!important}.mobile-hero-hide-primary.mobile-hero-hide-secondary .hero-actions{display:none!important}.feature-media{height:250px}.compact-pfas{padding:0}.feature-row{gap:24px;margin-bottom:38px}.scenario-tabs{gap:6px;padding:5px}.scenario-tab{padding:10px 12px}.scenario-wide-banner{height:auto;min-height:0;max-height:none;border-radius:6px}.scenario-fit-original .scenario-banner-image{height:auto;min-height:0;max-height:none}.scenario-fit-original .placeholder-media{height:auto;min-height:110px;max-height:none}.scenario-fit-cover .scenario-banner-image,.scenario-fit-cover .placeholder-media{height:var(--scenario-mobile,140px);min-height:var(--scenario-mobile,140px);max-height:var(--scenario-mobile,140px)}.scenario-banner-copy{display:block;position:static;border-radius:0;box-shadow:none;border-top:1px solid var(--line);max-width:none}.scenario-banner-copy strong{font-size:calc(var(--hgpw-card-title-size,18px) + 4px)}
}
.scenario-tab{font-size:var(--hgpw-button-size)}
.feature-media,.pfas-media,.scenario-wide-banner{border-radius:var(--hgpw-image-radius,6px)}
.wide-banner{min-height:var(--banner-height-web,430px);background-color:#eef6fb;background-image:linear-gradient(90deg,rgba(0,0,0,var(--banner-overlay,.48)),rgba(0,0,0,.12)),var(--banner-image,linear-gradient(90deg,#e9f4fa,#f7fbfd));background-position:var(--banner-position,center center);background-size:cover;color:var(--banner-text-colour,#fff)}
.wide-banner h2,.wide-banner p{color:var(--banner-text-colour,#fff)}.banner-split-title .banner-title-line{display:block}.banner-split-title .banner-title-line+.banner-title-line{margin-top:.08em}
@media (max-width:720px){.wide-banner{min-height:var(--banner-height-mobile,320px);background-image:linear-gradient(90deg,rgba(0,0,0,var(--banner-overlay,.42)),rgba(0,0,0,.12)),var(--banner-mobile-image,var(--banner-image,linear-gradient(90deg,#e9f4fa,#f7fbfd)));background-position:var(--banner-mobile-position,var(--banner-position,center center))}}
.hero-slider-wrap{position:relative;overflow:hidden;background:#fff}
.hero-slider-track{position:relative;min-height:650px}
.hero-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .45s ease;z-index:1}
.hero-slide.is-active{opacity:1;visibility:visible;z-index:2}
.hero-slider-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:5;width:44px;height:44px;border-radius:999px;border:1px solid rgba(23,38,53,.16);background:rgba(255,255,255,.86);color:var(--ink);font-size:28px;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 12px 28px rgba(23,38,53,.12)}
.hero-slider-prev{left:24px}
.hero-slider-next{right:24px}
.hero-slider-dots{position:absolute;left:50%;bottom:22px;transform:translateX(-50%);display:flex;gap:8px;z-index:6}
.hero-slider-dots button{width:9px;height:9px;border-radius:999px;border:0;background:rgba(23,38,53,.28);padding:0;cursor:pointer}
.hero-slider-dots button.is-active{width:26px;background:var(--brand)}
.review-card-row.is-carousel{display:flex;grid-template-columns:none;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;padding-bottom:10px}
.review-card-row.is-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.review-card-row.is-carousel .review-card{flex:0 0 min(360px,82vw);scroll-snap-align:start}
.reviews-heading{align-items:flex-end}
.hgpw-card-carousel-wrap{position:relative}
.hgpw-card-carousel-controls{display:flex;gap:8px;justify-content:flex-end;margin-top:12px}
.hgpw-card-carousel-controls button{width:38px;height:38px;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--ink);font-weight:700;cursor:pointer}
.hgpw-card-carousel-controls button:hover{border-color:var(--brand);color:var(--brand)}
@media (max-width:720px){.hero-slider-track{min-height:var(--hgpw-mobile-hero-height,560px)}.hero-slider-arrow{display:none}.hero-slider-dots{bottom:14px}.review-card-row.is-grid{grid-template-columns:1fr}.reviews-heading{display:block}.review-card-row.is-carousel .review-card{flex-basis:86vw}}
@media (prefers-reduced-motion:reduce){.hero-slide{transition:none}}
.hero-slider-wrap{background:var(--hgpw-hero-slider-bg,#fff)}
body.home.hgpw-home-hide-borders .hgpw-card,body.home.hgpw-home-hide-borders .product-hover-card,body.home.hgpw-home-hide-borders .blog-card,body.home.hgpw-home-hide-borders .review-card,body.home.hgpw-home-hide-borders .scenario-banner-copy,body.home.hgpw-home-hide-borders .trust-panel,body.home.hgpw-home-hide-borders .home-info-card,body.home.hgpw-home-hide-borders .feature-panel,body.home.hgpw-home-hide-borders .wide-banner{
  border-color:transparent!important;
}
body.home.hgpw-home-hide-borders .header-search,body.home.hgpw-home-hide-borders .header-search:hover,body.home.hgpw-home-hide-borders .header-search:focus-within{
  border-color:var(--hgpw-search-border)!important;
}
.current-review-card.is-text-only{display:flex;min-height:260px}
.current-review-card.is-text-only .review-card-copy{display:flex;flex-direction:column;justify-content:center;width:100%;padding:26px}
.google-review-card{display:flex;flex-direction:column;min-height:300px}
.review-card-row.is-carousel .google-review-card{height:530px;min-height:0}
.review-card-row.is-grid .google-review-card{height:auto}
.google-review-card .review-card-copy{display:flex;flex:1 1 auto;flex-direction:column;width:100%;min-height:0;overflow:hidden;padding:24px}
.google-review-media{display:none;overflow:hidden;background:var(--soft,#f4f7f8);border-radius:inherit;border-bottom-left-radius:0;border-bottom-right-radius:0}
.google-review-media.is-loaded{display:block;animation:hgpw-review-media-in 180ms ease-out}
.google-review-media img{display:block;width:100%;height:220px;object-fit:cover;object-position:center}
.google-review-text{display:-webkit-box;min-height:0;overflow:hidden;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:5;line-clamp:5}
.google-review-card .review-card-footer{flex:0 0 auto;margin-top:auto}
.review-card-row.is-carousel{scroll-behavior:smooth}
.hgpw-card-carousel-controls[hidden]{display:none!important}
@keyframes hgpw-review-media-in{from{opacity:0}to{opacity:1}}
@media (max-width:720px){.google-review-card{min-height:280px}.review-card-row.is-carousel .google-review-card{height:530px;min-height:0}.google-review-card .review-card-copy{padding:21px}.google-review-media img{height:200px}}
@media (prefers-reduced-motion:reduce){.google-review-media.is-loaded{animation:none}}
@media (max-width:1080px){
  .scenario-banner-copy{position:static;max-width:none;border-radius:0;border:0;border-top:1px solid var(--line);box-shadow:none}
}
@media (max-width:720px){
  .hero-slider-dots button{position:relative;width:40px;height:40px;background:transparent}
  .hero-slider-dots button::before{content:"";position:absolute;left:50%;top:50%;width:9px;height:9px;border-radius:999px;background:rgba(23,38,53,.28);transform:translate(-50%,-50%)}
  .hero-slider-dots button.is-active{width:40px;background:transparent}
  .hero-slider-dots button.is-active::before{width:26px;background:var(--brand)}
}
@media (max-width:480px){
  .mobile-hero-buttons-side-by-side .hero-actions{flex-direction:column;align-items:stretch}
  .mobile-hero-buttons-side-by-side .hero-actions>a{width:100%;flex:0 0 auto}
  .scenario-tabs{display:flex;width:100%;overflow-x:auto;left:0;transform:none;justify-content:flex-start;scrollbar-width:none}
  .scenario-tabs::-webkit-scrollbar{display:none}
  .scenario-tab{flex:1 0 auto;min-width:max-content}
}

/* V17.2 Home Hero and card refinement. Image inheritance and slider logic are unchanged. */
.hero-home .hero-copy{max-width:min(100%,var(--hgpw-desktop-hero-content-width,650px))}
.hero-home .hero-copy h1,.hero-home .hero-copy h2{max-width:16ch}
.hero-home .hero-copy>p:not(.eyebrow){max-width:62ch;line-height:1.65}
.hero-actions>a{min-height:48px}
.scenario-banner-copy{padding:20px}
.review-card,.home-info-card,.trust-panel,.feature-panel{border-radius:var(--hgpw-radius-card)}
@media(max-width:720px){
  .hero-home .hero-inner{padding-top:58px;padding-bottom:46px}
  .hero-home .hero-copy h1,.hero-home .hero-copy h2{max-width:19ch}
  .hero-home .hero-actions{gap:10px}
  .hero-home .hero-actions>a{min-height:48px}
  .feature-row{margin-bottom:32px}
  .scenario-banner-copy{padding:17px}
}
