/* The Standard. A Water Dealer Pro design for Kinetico dealers. MJM Design. */

:root{
  --ink:#0F1C2E;         /* headings */
  --deep:#0A1422;        /* dark sections */
  --blue:#1D4E89;        /* single accent */
  --blue-d:#153A67;
  --blue-l:#EDF3FA;
  --body:#4A5768;
  --muted:#707C8C;
  --stone:#F7F8FA;
  --line:#E4E8EE;
  --bg:#fff;
  --head:'Plus Jakarta Sans',-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  --wrap:1100px;
  --r:12px;
  --shadow:0 20px 46px -34px rgba(15,28,46,.5);
}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--body);font:400 17px/1.7 var(--head);-webkit-font-smoothing:antialiased;overflow-x:hidden}
h1,h2,h3,h4{color:var(--ink);line-height:1.18;margin:0 0 .5em;font-weight:700;letter-spacing:-.02em}
h1{font-size:clamp(2rem,4vw,2.95rem)}
h2{font-size:clamp(1.55rem,2.8vw,2.15rem)}
h3{font-size:1.1rem}
p{margin:0 0 1.1em}
a{color:var(--blue);text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;display:block}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px}
.lead{font-size:1.1rem}
.eyebrow{font:700 .74rem/1 var(--head);letter-spacing:.17em;text-transform:uppercase;color:var(--blue);margin:0 0 .8rem}
.rule{height:1px;background:var(--line);border:0;margin:0}
:focus-visible{outline:3px solid var(--blue);outline-offset:2px}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:50px;padding:0 25px;
  border-radius:6px;background:var(--blue);color:#fff;font:700 .98rem/1 var(--head);border:none;cursor:pointer;transition:background .16s}
.btn:hover{background:var(--blue-d);text-decoration:none;color:#fff}
.btn.line{background:transparent;color:var(--ink);border:1.5px solid var(--line)}
.btn.line:hover{background:var(--stone);color:var(--ink)}
.btn.ghost{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.45)}
.btn.ghost:hover{background:rgba(255,255,255,.12);border-color:#fff}
.btn.lg{min-height:56px;padding:0 30px;font-size:1.03rem}

/* header */
#hdr{position:sticky;top:0;z-index:100;background:#fff;border-bottom:1px solid var(--line)}
.hdr-in{display:flex;align-items:center;gap:20px;min-height:78px}
.brand{display:flex;align-items:center;gap:12px;flex:none}
.brand .mark{width:36px;height:36px;border-radius:4px;background:var(--blue);
  display:grid;place-items:center;color:#fff;font:800 .9rem/1 var(--head);flex:none}
.brand b{font:800 1.1rem/1.1 var(--head);color:var(--ink);letter-spacing:-.02em;display:block}
.brand .sub{font:600 .68rem/1 var(--head);letter-spacing:.13em;text-transform:uppercase;color:var(--muted);display:block;margin-top:4px}
#nav{margin-left:auto;display:flex;align-items:center}
#nav ul{list-style:none;padding:0;margin:0;display:flex;gap:26px;align-items:center}
#nav a.nl{font:600 .93rem/1 var(--head);color:var(--body)}
#nav a.nl:hover,#nav a.nl.on{color:var(--ink);text-decoration:none}
.hdr-cta{flex:none;margin-left:26px}
#burger{display:none;margin-left:auto;width:44px;height:44px;border:1.5px solid var(--line);border-radius:6px;background:#fff;cursor:pointer;padding:0}
#burger span{display:block;width:19px;height:2px;background:var(--ink);margin:4px auto;border-radius:2px}

/* hero, typographic and calm, no photo behind the words */
/* Photographic hero. The image sits behind a dark scrim so the centred copy
   keeps well clear of AA contrast over any part of the photo. */
.hero{position:relative;background:var(--deep);border-bottom:1px solid var(--line);overflow:hidden}
.hero-bg{position:absolute;inset:0;background-size:cover;background-position:center 32%}
.hero::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,20,34,.86) 0%,rgba(10,20,34,.78) 55%,rgba(10,20,34,.9) 100%)}
.hero .wrap{position:relative;z-index:2;padding-top:clamp(84px,9vw,132px);padding-bottom:clamp(76px,8vw,116px);max-width:820px;text-align:center}
.hero h1,.hero .eyebrow{color:#fff}
.hero .eyebrow{color:#9FC6F0}
.hero p.sub{color:#D6DEE8}
.hero-note{color:#9BA9BA}
.hero .btn.line{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.55)}
.hero .btn.line:hover{background:rgba(255,255,255,.12);border-color:#fff}
.hero h1{max-width:18ch;margin-left:auto;margin-right:auto}
.hero p.sub{font-size:1.15rem;max-width:56ch;margin-left:auto;margin-right:auto;color:var(--body)}
.hero-cta{display:flex;flex-wrap:wrap;gap:13px;margin-top:30px;justify-content:center}
.hero-note{margin:24px 0 0;font-size:.9rem;color:var(--muted)}

/* facts bar */
.facts{background:#fff;border-bottom:1px solid var(--line)}
.facts .wrap{display:grid;grid-template-columns:repeat(3,1fr);gap:0}
.fact{padding:30px 26px;text-align:center;border-left:1px solid var(--line)}
.fact:first-child{border-left:0}
.fact b{display:block;font:800 1.65rem/1.1 var(--head);color:var(--ink);letter-spacing:-.02em;margin-bottom:6px}
.fact span{font-size:.92rem;color:var(--muted)}

/* sections */
.sec{padding:clamp(54px,6.5vw,86px) 0}
.sec.alt{background:var(--stone)}
.sec-head{max-width:60ch;margin-bottom:40px}
.sec-head.mid{margin-left:auto;margin-right:auto;text-align:center}
.sec-head.mid .lead{margin-left:auto;margin-right:auto;max-width:54ch}

/* two column feature list */
.feat{display:grid;grid-template-columns:1fr 1fr;gap:0 48px;border-top:1px solid var(--line)}
.fi{padding:26px 0;border-bottom:1px solid var(--line)}
.fi h3{margin-bottom:.3em;display:flex;align-items:center;gap:10px}
.fi h3 svg{width:19px;height:19px;color:var(--blue);flex:none}
.fi p{margin:0;font-size:.97rem}

/* split */
.split{display:grid;grid-template-columns:1fr 1fr;gap:52px;align-items:center}
.ph img{border-radius:var(--r);box-shadow:var(--shadow);width:100%;height:auto}
/* Never crop a product render. */
.prod .ph{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:24px}
.prod .ph img{box-shadow:none;width:100%;height:auto;max-height:380px;margin:0 auto;object-fit:contain;border-radius:0}
.ph img{box-shadow:none}
.checks{list-style:none;padding:0;margin:20px 0 0;display:grid;gap:10px}
.checks li{display:flex;gap:11px;font-size:.99rem;line-height:1.55}
.checks li::before{content:'';flex:none;width:20px;height:20px;margin-top:3px;border-radius:50%;
  background:var(--blue-l) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D4E89' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L19 7'/%3E%3C/svg%3E") center/12px no-repeat}

/* steps as a numbered table */
.stept{max-width:800px;margin:0 auto;border-top:1px solid var(--line)}
.sr{display:grid;grid-template-columns:76px 1fr;gap:24px;padding:26px 0;border-bottom:1px solid var(--line);align-items:start}
.sr .n{font:800 .74rem/1 var(--head);letter-spacing:.15em;text-transform:uppercase;color:var(--blue);padding-top:5px}
.sr h3{margin-bottom:.3em}
.sr p{margin:0;font-size:.97rem}

/* band */
.band{position:relative;background:var(--deep);background-size:cover;background-position:center;color:#fff;
  padding:clamp(58px,7vw,96px) 0;text-align:center}
.band::after{content:'';position:absolute;inset:0;background:rgba(10,20,34,.8)}
/* The source is a square photo in a short wide band. Centring it crops the
   faces out, so bias the framing upward. */
.band{background-size:cover;background-position:center 22%}
.band .wrap{position:relative;z-index:2}
.band h2{color:#fff;max-width:22ch;margin-left:auto;margin-right:auto}
.band p{color:#C2CCD9;max-width:54ch;margin:0 auto;font-size:1.04rem}

/* product */
.prod{display:grid;grid-template-columns:1fr .9fr;gap:52px;align-items:center}
.prod img{max-height:360px;margin:0 auto;object-fit:contain}

/* cta */
.cta{background:var(--deep);color:#C2CCD9;text-align:center;padding:clamp(56px,7vw,90px) 0}
.cta h2{color:#fff;max-width:22ch;margin-left:auto;margin-right:auto}
.cta .lead{color:#C2CCD9;max-width:50ch;margin-left:auto;margin-right:auto}

/* footer */
footer{background:#fff;color:var(--body);padding:56px 0 0;font-size:.93rem;border-top:1px solid var(--line)}
footer a{color:var(--body)}
footer a:hover{color:var(--ink)}
.foot-in{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px;padding-bottom:40px}
.foot-brand p{margin:18px 0 0;max-width:38ch;font-size:.91rem;color:var(--muted)}
footer h4{color:var(--ink);font-size:.76rem;letter-spacing:.13em;text-transform:uppercase;margin:0 0 15px}
footer ul{list-style:none;padding:0;margin:0;display:grid;gap:10px}
.foot-base{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;
  border-top:1px solid var(--line);padding-top:20px;padding-bottom:26px;font-size:.84rem;color:var(--muted)}

@media(max-width:920px){
  .facts .wrap{grid-template-columns:1fr}
  .fact{border-left:0;border-top:1px solid var(--line)}
  .fact:first-child{border-top:0}
  .feat{grid-template-columns:1fr;gap:0}
  .split,.prod{grid-template-columns:1fr;gap:32px}
  .foot-in{grid-template-columns:1fr 1fr}
  #nav{position:fixed;inset:78px 0 auto;background:#fff;border-bottom:1px solid var(--line);
    flex-direction:column;align-items:stretch;padding:8px 24px 18px;display:none}
  #nav.open{display:flex}
  #nav ul{flex-direction:column;align-items:stretch;gap:0}
  #nav a.nl{display:block;padding:14px 0;border-bottom:1px solid var(--line)}
  #burger{display:block}
  .hdr-cta{display:none}
}
@media(max-width:560px){
  .foot-in{grid-template-columns:1fr}
  .sr{grid-template-columns:1fr;gap:6px}
}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}

/* Approved Kinetico mark in the footer, per brand guidance. The logo keeps
   its own clear space and is never recoloured or stretched. */
.foot-auth{display:flex;align-items:center;gap:14px;margin-top:26px;padding-top:22px;border-top:1px solid var(--line)}
.foot-auth img{height:26px;width:auto;display:block;flex:none}
.foot-auth span{font-size:.76rem;letter-spacing:.09em;text-transform:uppercase;color:var(--muted)}

/* Service icons sit in a bordered chip so they read as deliberate marks
   rather than loose glyphs beside the headings. */
.svc h3 svg,.svc-item h3 svg,.grid2 h3 svg{flex:none}
.ico-chip{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border:1px solid var(--line);border-radius:10px;background:var(--mist,#F7F8FA);flex:none}
.ico-chip svg{width:18px;height:18px;display:block}

/* Keep the lifestyle photo in proportion with the copy beside it. */
.split .ph img{max-height:430px;width:100%;object-fit:cover;object-position:center 28%;border-radius:var(--r)}

/* Free water test form. Demo behaviour: validates, honours the honeypot and a
   2 second fill floor, then confirms on screen without sending. The submission
   is recorded through the site beacon because a dealer filling this in is a
   strong buying signal. Styled for the dark CTA band. */
.wtest{display:grid;grid-template-columns:1fr 1fr;gap:14px;max-width:34rem;margin:26px auto 0;text-align:left}
.wt-row{display:flex;flex-direction:column;gap:6px}
.wt-wide{grid-column:1 / -1}
.wtest label{font-size:.82rem;font-weight:600;color:rgba(255,255,255,.86)}
.wt-opt{font-weight:400;color:rgba(255,255,255,.6)}
.wtest input,.wtest textarea{font:inherit;font-size:.98rem;color:#fff;background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.34);border-radius:10px;padding:.75rem .9rem;width:100%}
.wtest input:focus,.wtest textarea:focus{outline:2px solid rgba(255,255,255,.8);outline-offset:1px;background:rgba(255,255,255,.16)}
.wtest textarea{resize:vertical}
.wtest button{grid-column:1 / -1;justify-self:center;margin-top:4px}
.wt-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.wt-err{grid-column:1 / -1;margin:0;font-size:.9rem;color:#FFC9C9;min-height:1.2em}
.wt-alt{margin:18px 0 0;font-size:.92rem;color:rgba(255,255,255,.66)}
.wt-alt a{color:#fff;font-weight:600}
.wt-done{max-width:34rem;margin:26px auto 0;padding:1.2rem 1.4rem;border:1px solid rgba(255,255,255,.3);
  border-radius:12px;background:rgba(255,255,255,.10);text-align:left}
.wt-done-h{margin:0 0 .4rem;font-weight:700;color:#fff}
.wt-done p{margin:0;color:rgba(255,255,255,.82);font-size:.95rem}
@media(max-width:620px){.wtest{grid-template-columns:1fr}}
