/* Adelaide Hot Water front page. Hero values match the approved D1-v3 mockup. */
.hero{position:relative;display:flex;min-height:max(816px,calc(56vw/1.35 + 116px));overflow:hidden;background:var(--ink)}
.hero-photo{position:absolute;top:0;left:44%;width:56%;height:max(700px,calc(56vw/1.35));-webkit-mask-image:linear-gradient(180deg,#000 90%,transparent);mask-image:linear-gradient(180deg,#000 90%,transparent)}
.hero-photo img{width:100%;height:100%;object-fit:cover;object-position:17% 50%}
.hero:before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(13,19,36,1) 0%,rgba(13,19,36,1) 44%,rgba(13,19,36,.7) 46.5%,rgba(13,19,36,.25) 50%,rgba(13,19,36,0) 53%)}
.hero:after{content:"";position:absolute;left:0;right:0;bottom:0;height:260px;z-index:1;background:linear-gradient(0deg,rgba(13,19,36,.55),rgba(13,19,36,0))}
.hero>.wrap{position:relative;z-index:2;width:100%;display:flex;flex-direction:column;padding-top:62px}
.txt{max-width:560px;color:#fff;margin-bottom:32px}
.kick{display:block;font-size:15px;line-height:1.04;letter-spacing:.14em;text-transform:uppercase;font-weight:700;color:var(--yellow);margin-bottom:18px}
.hero-line{font-size:55px;line-height:1.04;font-weight:800;letter-spacing:-.025em}
.hero-line .l{display:block}
.hero-line .wa{display:block;font-size:20px;line-height:1.2;font-weight:600;letter-spacing:0;color:#dbe1f0;margin-top:12px}
.sub-line{font-size:19.5px;color:#dbe1f0;margin:22px 0 30px;max-width:25em;text-wrap:balance}
.row{display:flex;align-items:center;gap:24px}
.row small{font-size:15px;color:#c8cfdf;line-height:1.4}
.row small b{color:#fff}
.facts1{display:flex;flex-direction:column;gap:6px;max-width:600px;margin-top:34px;padding-top:20px;border-top:1px solid rgba(255,255,255,.22);font-size:15px;color:#c8cfdf;font-weight:600}
.facts1 b{color:#fff}
.area1{text-wrap:balance}
.qbar{margin-top:auto;margin-bottom:40px;position:relative;background:#fff;border-radius:6px;padding:20px 22px;display:grid;grid-template-columns:200px 1fr 1fr 1fr 1.1fr auto;gap:14px;align-items:end;box-shadow:0 18px 40px rgba(5,12,40,.35);scroll-margin-top:16px}
.qbar .qh b{display:block;font-size:20px;font-weight:800;color:var(--ink);line-height:1.15}
.qbar .qh span{font-size:14px;color:var(--muted);line-height:1.35;display:block;margin-top:4px}
.qbar .btn{min-height:50px;height:50px}
.qbar .form-note{grid-column:1/-1;color:var(--red-d)}
.brandrow{position:relative;z-index:3;background:#fff;border-bottom:1px solid var(--rule)}
.brandrow .wrap{display:flex;align-items:center;gap:44px;min-height:100px;padding-top:14px;padding-bottom:14px}
.brandrow p{flex:0 0 auto;font-size:15px;font-weight:700;color:var(--ink);line-height:1.3}
.logos{display:flex;align-items:center;justify-content:space-between;flex:1;gap:30px;min-width:0}
.logos img{width:auto;mix-blend-mode:multiply;min-width:0}
.l-bosch{height:46px}.l-rheem{height:62px}.l-rinnai{height:40px;mix-blend-mode:normal!important}.l-dux{height:50px}.l-vulcan{height:50px}

/* sections below the approved top: light, high contrast, left-aligned */
.sec{padding:84px 0}
.sec-h{font-size:40px;line-height:1.08;font-weight:800;letter-spacing:-.02em;color:var(--ink)}
.prose p+p{margin-top:16px}
.prose a{color:var(--navy);text-decoration:underline}
.more{margin-top:24px}
/* what we do */
.svc{display:grid;grid-template-columns:7fr 5fr;gap:64px;align-items:start}
.svc .sec-h span{display:block;color:var(--navy);font-size:24px;line-height:1.25;margin-top:12px;letter-spacing:-.01em}
.svc h3{font-size:18px;font-weight:700;color:var(--muted);margin-top:30px}
.jump{display:grid;grid-template-columns:1fr 1fr;column-gap:40px;margin-top:10px}
.jump a{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:15px 0;border-bottom:2px solid var(--rule);font-size:19px;font-weight:800;color:var(--ink);transition:color .18s ease,border-color .18s ease}
.jump a:after{content:"";width:9px;height:9px;flex:0 0 9px;border-right:2.5px solid var(--red);border-top:2.5px solid var(--red);transform:rotate(45deg)}
.jump a:hover{color:var(--navy);border-color:var(--navy)}
.deal{background:var(--yellow);color:var(--ink);border-radius:6px;padding:30px}
.deal h3{margin:0;font-size:15px;letter-spacing:.14em;text-transform:uppercase;color:var(--ink);font-weight:700}
.deal li{font-size:26px;line-height:1.15;font-weight:800;letter-spacing:-.015em;margin-top:14px}
.deal .btn{width:100%;margin-top:26px}
/* trusted */
.trust-s{background:var(--grey)}
.trust{display:grid;grid-template-columns:7fr 5fr;gap:64px;align-items:start;margin-top:36px}
.trow{padding:22px 0;border-top:2px solid var(--rule)}
.trow:last-child{padding-bottom:0}
.trow h2{font-size:21px;line-height:1.2;font-weight:800;color:var(--ink);letter-spacing:-.01em;margin-bottom:6px}
.since{background:var(--navy);color:#e4e8f5;border-radius:6px;padding:34px 30px;position:sticky;top:20px}
.since h2{color:#fff;font-size:30px;line-height:1.1;font-weight:800;letter-spacing:-.02em;margin-bottom:14px}
.since .btn{width:100%;margin-top:22px}
.since a.alt{display:block;text-align:center;margin-top:14px;font-weight:700;color:#fff;text-decoration:underline}
/* repairs */
.rep{display:grid;grid-template-columns:5fr 7fr;gap:64px;align-items:start}
.rep-photos,.ser-photos{display:grid;gap:16px}
.rep-photos img,.ser-photos img{display:block;border-radius:6px;width:100%;height:auto;object-fit:cover}
.rep-photos img{aspect-ratio:4/3}
.ser-photos{grid-template-columns:1fr 1fr;margin-top:24px}
.ser-photos img{aspect-ratio:3/4}
.rep h3{font-size:20px;line-height:1.25;font-weight:700;color:var(--ink);margin:10px 0 16px}
.rep h3.tight{margin-top:24px;margin-bottom:8px}
.ticks li{position:relative;padding:7px 0 7px 26px}
.ticks li:before{content:"";position:absolute;left:3px;top:13px;width:11px;height:6px;border-left:2.5px solid var(--red);border-bottom:2.5px solid var(--red);transform:rotate(-45deg)}
.ser{margin-top:64px;padding-top:44px;border-top:2px solid var(--rule);display:grid;grid-template-columns:5fr 7fr;gap:64px}
.ser h3{font-size:20px;line-height:1.25;font-weight:700;color:var(--ink);margin:10px 0 0}
.ser h3.tight{margin-bottom:8px}
/* systems + products */
.sys-s{background:var(--grey)}
.sys-copy{columns:2;column-gap:48px;margin-top:26px}
.sys-copy p{break-inside:avoid;margin-bottom:16px}
.prods{display:grid;grid-template-columns:repeat(4,1fr);gap:28px;margin-top:52px}
.prod{background:#fff;border-radius:6px;padding:20px 20px 22px;display:flex;flex-direction:column}
.prod .pimg{height:180px;display:flex;align-items:center;justify-content:center;margin-bottom:16px}
.prod .pimg img{max-height:174px;width:auto}
.prod h3{font-size:20px;line-height:1.15;font-weight:800;color:var(--ink);letter-spacing:-.01em}
.prod .fit{color:var(--muted);font-weight:600;font-size:15px;margin-top:4px}
.prod .fl{font-size:15px;margin:14px 0 18px}
.prod .fl b{display:block;margin-bottom:3px;color:var(--ink)}
.prod .fl li{padding:2px 0}
.prod .acts{margin-top:auto;display:grid;gap:10px}
.prod .btn{min-height:46px;font-size:15.5px;padding:0 14px;width:100%}
.prod .det{font-weight:700;color:var(--navy);font-size:15px}
.prod .det:hover{text-decoration:underline}
/* sanden */
.sanden{display:grid;grid-template-columns:8fr 4fr;gap:56px;align-items:center;margin-top:0}
.sanden .sec-h{font-size:32px}
.sanden ul{margin-top:20px}
.sanden li{padding:10px 0;border-top:1px solid var(--rule)}
.sanden li b{color:var(--ink)}
.sanden img{width:100%;height:auto}
/* types */
.types-s{background:var(--grey)}
.types{display:grid;grid-template-columns:repeat(3,1fr);gap:40px}
.type{border-top:4px solid var(--navy);padding-top:22px;display:flex;flex-direction:column}
.type h2{font-size:27px;line-height:1.1;font-weight:800;letter-spacing:-.015em;color:var(--ink);margin-bottom:14px}
.type h3{font-size:18px;line-height:1.25;font-weight:700;color:var(--ink);margin:22px 0 10px}
.type .btn{margin-top:auto;font-size:16px;padding:0 18px;white-space:normal;text-align:center}
.type .prose{margin-bottom:24px}
/* faq */
.faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 48px;margin-top:30px;align-items:start}
.faq-grid details{border-top:2px solid var(--rule)}
.faq-grid summary{list-style:none;cursor:pointer;font-weight:800;font-size:18px;line-height:1.25;color:var(--ink);padding:17px 34px 17px 0;position:relative}
.faq-grid summary::-webkit-details-marker{display:none}
.faq-grid summary:after{content:"";position:absolute;right:6px;top:22px;width:9px;height:9px;border-right:2.5px solid var(--red);border-bottom:2.5px solid var(--red);transform:rotate(45deg)}
.faq-grid details[open] summary:after{transform:rotate(225deg);top:26px}
.faq-a{padding:0 0 20px}
.faq-a h3{font-size:16px;font-weight:700;color:var(--ink);margin-bottom:6px}
.faq-a li{padding:4px 0}
.faq-a a{color:var(--navy);text-decoration:underline}
/* full quote form */
.fq-s{background:var(--grey)}
.fq{display:grid;grid-template-columns:5fr 7fr;gap:64px;align-items:start}
.fq .bigcall{display:inline-flex;margin-top:24px}
.fq form{background:#fff;border-radius:6px;padding:28px;display:grid;grid-template-columns:1fr 1fr;gap:14px;box-shadow:0 10px 26px rgba(5,12,40,.08)}
.fq .full{grid-column:1/-1}
.fq .form-note{grid-column:1/-1;color:var(--red-d)}

/* wide screens: keep the crop that hides the van side */
@media (max-width:1240px){
  .hero-line{font-size:4.3vw}
  .hero-line .wa{font-size:18px}
  .sub-line{font-size:18px}
  .txt{max-width:calc(44vw - 32px)}
  .qbar{grid-template-columns:repeat(4,1fr) auto}
  .qbar .qh{grid-column:1/-1;display:flex;align-items:baseline;gap:12px}
  .qbar .qh span{margin-top:0}
  .brandrow .wrap{gap:28px}
  .logos{gap:18px}
  .l-bosch{height:38px}.l-rheem{height:52px}.l-rinnai{height:33px}.l-dux{height:42px}.l-vulcan{height:42px}
  .svc,.trust,.rep,.ser,.fq{gap:44px}
  .prods{grid-template-columns:repeat(2,1fr)}
  .types{gap:28px}
}
/* stacked hero: photo on top, crop kept to the mockup's phone ratio so the van side stays hidden */
@media (max-width:900px){
  .hero{display:block;min-height:0;overflow:visible}
  .hero:before,.hero:after{display:none}
  .hero-photo{position:relative;top:auto;left:auto;width:100%;height:auto;aspect-ratio:390/262;overflow:hidden;-webkit-mask-image:none;mask-image:none}
  .hero-photo img{object-position:10% 50%}
  .hero-photo:after{content:"";position:absolute;left:0;right:0;bottom:0;height:90px;background:linear-gradient(0deg,rgba(13,19,36,.85),rgba(13,19,36,0))}
  .hero>.wrap{padding-top:22px;padding-bottom:26px}
  .txt{max-width:none;margin-bottom:0}
  .hero-line{font-size:clamp(28px,8.46vw,48px);line-height:1.08;text-wrap:balance}
  .hero-line .l{display:inline}
  .hero-line .wa{font-size:16px;margin-top:8px}
  .sub-line{font-size:16px;margin:12px 0 18px}
  .kick{font-size:12px;line-height:1.08;margin-bottom:10px}
  .row{display:block}
  .row .btn{width:100%;min-height:58px;font-size:18px}
  .row small{display:block;margin-top:12px;font-size:14px}
  .facts1{margin-top:16px;padding-top:14px;font-size:14.5px;max-width:none}
  .qbar{margin:22px 0 0;grid-template-columns:1fr 1fr;padding:18px 16px;gap:10px}
  .qbar .qh,.qbar .btn{grid-column:1/-1}
  .qbar .qh{display:block}
  .qbar .qh span{margin-top:4px}
  .qbar .qh b{font-size:19px}
  .qbar .inp{padding-left:11px;padding-right:11px;font-size:15px}
  .qbar select.inp{padding-right:30px}
  .brandrow .wrap{display:block;padding-top:18px;padding-bottom:22px}
  .brandrow p{font-size:14.5px;margin-bottom:14px}
  .svc,.trust,.rep,.ser,.fq,.sanden{grid-template-columns:1fr}
  .rep-photos{grid-template-columns:1fr 1fr}
  .since{position:static}
  .types{grid-template-columns:1fr}
  .sys-copy{columns:1}
  .faq-grid{grid-template-columns:1fr}
  .faq-col+.faq-col{margin-top:0}
  .sanden img{max-width:320px}
}
@media (max-width:760px){
  .logos{gap:8px}
  .l-bosch{height:27px}.l-rheem{height:40px}.l-rinnai{height:23px}.l-dux{height:29px}.l-vulcan{height:29px}
  .sec{padding:52px 0}
  .sec-h{font-size:29px}
  .svc .sec-h span{font-size:19px}
  .jump{grid-template-columns:1fr}
  .jump a{font-size:18px;padding:14px 0}
  .deal{padding:24px}
  .deal li{font-size:22px}
  .since{padding:26px 22px}
  .since h2{font-size:25px}
  .prods{gap:14px;margin-top:34px}
  .prod{padding:14px 14px 16px}
  .prod .pimg{height:150px}
  .prod .pimg img{max-height:144px}
  .prod h3{font-size:18px}
  .sanden .sec-h{font-size:25px}
  .type h2{font-size:24px}
  .fq form{padding:18px 16px;grid-template-columns:1fr}
  .faq-grid summary{font-size:17px}
}
@media (max-width:560px){
  .rep-photos,.ser-photos{grid-template-columns:1fr}
  .ser-photos img{aspect-ratio:4/3}
  .p-solar{object-position:50% 30%}
  .p-pump{object-position:50% 75%}
}
@media (max-width:430px){
  .l-bosch{height:6.92vw}.l-rheem{height:10.25vw}.l-rinnai{height:5.9vw}.l-dux{height:7.44vw}.l-vulcan{height:7.44vw}
}
/* 5 Nov 2026: upload row in the hero quick-quote bar (compact, full width under the fields) */
.qbar .qb-upl{order:1;grid-column:1/-1;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:4px 14px}
.qbar .qb-upl .flbl{margin:0}
.qbar .qb-upl .upl-drop{padding:8px 12px;gap:10px}
.qbar .qb-upl .upl-ico{flex-basis:30px;width:30px;height:30px}.qbar .qb-upl .upl-ico svg{width:16px;height:16px}
.qbar .qb-upl .upl-t{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 10px}.qbar .qb-upl .upl-t b{font-size:14px}.qbar .qb-upl .upl-t small{margin:0}
.qbar .qb-upl .upl-count,.qbar .qb-upl .upl-list,.qbar .qb-upl .upl-msg{grid-column:1/-1}
.qbar .qb-upl .upl-list{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}
@media (max-width:900px){.qbar .qb-upl{order:0;grid-template-columns:1fr}}
.qbar .form-note{order:2}

.fq-s{position:relative;overflow:hidden;isolation:isolate}
.fq-s>.wrap{position:relative;z-index:1}
.fq-stripes{position:absolute;inset:0;z-index:0;pointer-events:none}
.fq-stripes i{position:absolute;left:-20%;width:140%;height:var(--h);bottom:var(--b);transform:rotate(-14deg);transform-origin:0 100%}
.fq-stripes i:nth-child(1){--h:130px;--b:30px;background:#fff}
.fq-stripes i:nth-child(2){--h:34px;--b:186px;background:var(--yellow);opacity:.85}
.fq-stripes i:nth-child(3){--h:64px;--b:250px;background:#fff;opacity:.9}
@media (max-width:900px){
  .fq-stripes i{transform:rotate(-24deg)}
  .fq-stripes i:nth-child(1){--h:70px;--b:auto;top:var(--t);bottom:auto;transform-origin:0 0;--t:340px}
  .fq-stripes i:nth-child(2){--h:18px;--b:auto;top:var(--t);bottom:auto;transform-origin:0 0;--t:290px}
  .fq-stripes i:nth-child(3){--h:36px;--b:auto;top:var(--t);bottom:auto;transform-origin:0 0;--t:240px}
}
/* 5 Nov 2026: "See all FAQs" under the 6 homepage questions */
.faq-more{margin-top:32px;display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px}
.faq-more span{color:var(--muted);font-size:15px}

.logos a{display:flex;align-items:center;justify-content:center;min-width:0;line-height:0;border-radius:6px;padding:6px 4px;transition:background-color .15s}
.logos a:hover{background:var(--grey)}
.logos a:focus-visible{outline:3px solid var(--navy);outline-offset:2px}
/* Round 2: hero <picture> (pre-cropped phone image) */
.hero-photo picture{display:block;width:100%;height:100%}
@media (max-width:900px){.hero-photo img{object-position:50% 50%}}
