/* ==========================================================================
   FlowSa — site styles
   Brand: Reservoir / Flow / Signal Orange on Mist. Sora + JetBrains Mono.
   Balance per brand guide: ~50 light, 30 Reservoir, 15 Flow, 5 Orange.
   ========================================================================== */

:root {
  --reservoir: #0E2A47;
  --reservoir-2: #17395C;   /* raised surfaces on Reservoir */
  --reservoir-3: #24496F;   /* borders on Reservoir */
  --flow: #3FC8E4;
  --flow-deep: #2BA9C6;     /* second wave / pressed */
  --flow-ink: #137A95;      /* Flow for text on light backgrounds (AA) */
  --orange: #FFA630;
  --orange-hover: #F59418;
  --mist: #F3F7F9;
  --slate: #50657A;
  --line: #DCE5EB;
  --white: #FFFFFF;
  --on-dark: #F3F7F9;
  --on-dark-muted: #A9BBCB;

  --font: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5625rem;
  --step-3: clamp(1.75rem, 1.4rem + 1.4vw, 2.4rem);
  --step-4: clamp(2.2rem, 1.6rem + 2.6vw, 3.4rem);
  --step-5: clamp(2.8rem, 1.8rem + 4.6vw, 5.4rem);

  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--reservoir);
  background: var(--mist);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -0.035em; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; box-shadow: 0 0 0 2px var(--reservoir); border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--orange); color: var(--reservoir); padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }

.mono { font-family: var(--mono); letter-spacing: 0; }
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--slate); max-width: 38em; }
.on-dark .lead, .lead.on-dark { color: var(--on-dark-muted); }

/* Brand tagline label — used once per page, in the hero, as the guide shows */
.kicker {
  font-family: var(--mono);
  font-size: var(--step--1);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1 var(--font); letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: var(--reservoir); }
.btn-primary:hover { background: var(--orange-hover); }
.btn-ghost { border-color: currentColor; color: var(--on-dark); background: transparent; }
.btn-ghost:hover { background: rgba(243, 247, 249, .08); }
.btn-outline { border-color: var(--reservoir); color: var(--reservoir); background: transparent; }
.btn-outline:hover { background: var(--reservoir); color: var(--on-dark); }
.btn-block { width: 100%; }

.text-link { color: var(--flow-ink); font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.on-dark .text-link { color: var(--flow); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--on-dark); }
.logo svg { width: 28px; height: auto; flex: none; }
.logo-word { font-weight: 700; font-size: 1.6rem; letter-spacing: -0.06em; line-height: 1; }
.logo-word span { color: var(--flow); }
.logo .drop-top { fill: currentColor; }
.logo .drop-water { fill: var(--flow); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--reservoir);
  color: var(--on-dark);
  border-bottom: 1px solid rgba(169, 187, 203, .14);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) {
  color: var(--on-dark); text-decoration: none; font-size: .975rem;
  padding: 8px 12px; border-radius: 999px;
  transition: background-color .2s;
}
.nav a:not(.btn):hover { background: rgba(243, 247, 249, .08); }
.nav a[aria-current="page"] { color: var(--flow); }
.nav .btn { min-height: 44px; padding: 0 22px; margin-left: 10px; }
.nav-toggle {
  display: none; background: none; border: 0; color: var(--on-dark);
  width: 44px; height: 44px; border-radius: 12px; cursor: pointer; padding: 10px;
}
.nav-toggle span { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle span + span { margin-top: 6px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--reservoir); padding: 12px var(--gutter) 24px;
    border-bottom: 1px solid var(--reservoir-3);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-open .nav { opacity: 1; transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 12px; font-size: 1.1rem; border-radius: 12px; }
  .nav .btn { margin: 12px 0 0; }
}

/* ---------- Water (the brand's one moving thing) ---------- */
.water { position: absolute; left: 0; right: 0; bottom: 0; pointer-events: none; }
.water svg { position: absolute; left: 0; width: 200%; max-width: none; height: 40px; top: -38px; }
.water .wave-back { fill: var(--flow-deep); animation: drift 14s linear infinite; }
.water .wave-front { fill: var(--flow); animation: drift 9s linear infinite reverse; top: -26px; }
.water-body { position: absolute; inset: 0; background: var(--flow); }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes rise { from { height: 0; } }

/* ---------- Home hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--reservoir); color: var(--on-dark);
  padding: clamp(56px, 9vw, 112px) 0 0;
  --water-h: clamp(88px, 12vw, 150px);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; z-index: 4; }
.hero h1 { font-size: var(--step-5); letter-spacing: -0.055em; line-height: .98; font-weight: 800; }
.hero .lead { margin-top: 24px; max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-spacer { height: calc(var(--water-h) + 52px); }
.hero .water { height: var(--water-h); z-index: 3; animation: rise 2.2s cubic-bezier(.2, .7, .2, 1) both; }

/* "Gauteng water today" panel — floats on the hero water */
.water-panel {
  position: relative; z-index: 4; align-self: end;
  margin-bottom: calc(-1 * clamp(64px, 8vw, 104px));
  background: var(--reservoir-2); border: 1px solid var(--reservoir-3);
  border-radius: var(--radius-l); padding: clamp(22px, 3vw, 32px);
  box-shadow: 0 30px 60px rgba(4, 18, 33, .45);
}
.wp-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; }
.wp-head h2 { font-size: 1.2rem; letter-spacing: -0.02em; }
.wp-date { font-family: var(--mono); font-size: .8rem; color: var(--on-dark-muted); }
.wp-dams { list-style: none; display: grid; gap: 14px; margin: 22px 0 24px; }
.wp-dam { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: baseline; }
.wp-dam .nm { font-size: .95rem; }
.wp-dam .val { font-family: var(--mono); font-weight: 500; color: var(--flow); font-variant-numeric: tabular-nums; }
.wp-dam .delta { font-family: var(--mono); font-size: .75rem; color: var(--on-dark-muted); margin-left: 8px; font-weight: 400; }
.wp-bar { grid-column: 1 / -1; height: 10px; border-radius: 10px; background: var(--reservoir); overflow: hidden; }
.wp-bar span { display: block; height: 100%; width: var(--pct); border-radius: 10px; background: var(--flow); transition: width 1.4s cubic-bezier(.3, .8, .3, 1); }
.js .wp-bar span { width: 0; }
.js .water-panel.filled .wp-bar span { width: var(--pct); }
.wp-dam:nth-child(2) .wp-bar span { transition-delay: .12s; }
.wp-dam:nth-child(3) .wp-bar span { transition-delay: .24s; }
.wp-dam:nth-child(4) .wp-bar span { transition-delay: .36s; }
.wp-leak { border-top: 1px solid var(--reservoir-3); padding-top: 20px; }
.wp-leak-label { font-size: .875rem; color: var(--on-dark-muted); }
.wp-leak-num { font-family: var(--mono); font-size: var(--step-3); font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; margin-top: 6px; font-variant-numeric: tabular-nums; }
.wp-leak-note { font-size: .8rem; color: var(--on-dark-muted); margin-top: 4px; }
.wp-foot { margin-top: 18px; padding: 14px 16px; border-radius: var(--radius-s); background: rgba(63, 200, 228, .1); font-size: .9rem; line-height: 1.5; }
.wp-sources { margin-top: 12px; font-size: .75rem; color: var(--on-dark-muted); }
.wp-sources a { color: var(--on-dark-muted); text-underline-offset: 2px; }
.wp-sources a:hover { color: var(--flow); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background: var(--reservoir); color: var(--on-dark);
  padding: clamp(56px, 8vw, 96px) 0 clamp(96px, 11vw, 132px);
}
.page-hero h1 { font-size: var(--step-4); letter-spacing: -0.05em; max-width: 14em; font-weight: 800; }
.page-hero .lead { margin-top: 20px; }
.page-hero .water { height: 40px; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-white { background: var(--white); }
.section-dark { background: var(--reservoir); color: var(--on-dark); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head h2 { font-size: var(--step-4); }
.section-head p { color: var(--slate); font-size: var(--step-1); line-height: 1.55; max-width: 32em; }
.section-dark .section-head p { color: var(--on-dark-muted); }
.section-head.stack { grid-template-columns: 1fr; max-width: 46em; }
@media (max-width: 760px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- System flow (home) ---------- */
.system { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; }
/* The pipe: an empty dashed line, with water (::after) flowing along it on scroll */
.system::before, .system::after {
  content: ""; position: absolute; left: 6%; right: 6%; top: 27px; height: 4px; border-radius: 4px;
}
.system::before { background: repeating-linear-gradient(90deg, var(--line) 0 14px, transparent 14px 24px); }
.system::after {
  background: repeating-linear-gradient(90deg, var(--flow) 0 14px, var(--flow-deep) 14px 24px);
  background-size: 48px 100%;
  animation: pipe-flow 1.2s linear infinite;
  transform-origin: left center;
  transition: transform 2s cubic-bezier(.5, 0, .3, 1);
}
.js .system::after { transform: scaleX(0); }
.js .system.in-view::after { transform: scaleX(1); }
@keyframes pipe-flow { to { background-position: 48px 0; } }
.system-step .node { transition: border-color .4s, background-color .4s, color .4s; }
.js .system .system-step .node { border-color: var(--line); }
.js .system.in-view .system-step .node { border-color: var(--flow); }
.js .system.in-view .system-step:last-child .node { border-color: var(--reservoir); }
.js .system .system-step:last-child .node { background: var(--white); color: var(--reservoir); }
.js .system.in-view .system-step:last-child .node { background: var(--reservoir); color: var(--flow); }
.system-step:nth-child(2) .node { transition-delay: .55s; }
.system-step:nth-child(3) .node { transition-delay: 1.1s; }
.system-step:nth-child(4) .node { transition-delay: 1.65s; }
.system-step:first-child .node { transition-delay: .05s; }
.system-step { position: relative; padding-right: 28px; }
.system-step .node {
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white); border: 4px solid var(--flow);
  font-family: var(--mono); font-weight: 500; color: var(--reservoir);
  position: relative; z-index: 1; margin-bottom: 24px;
}
.system-step:last-child .node { background: var(--reservoir); color: var(--flow); border-color: var(--reservoir); }
.system-step h3 { font-size: var(--step-1); margin-bottom: 10px; }
.system-step p { color: var(--slate); font-size: 1rem; }
.system-step a { display: inline-block; margin-top: 14px; font-size: .95rem; }
@media (max-width: 860px) {
  .system { grid-template-columns: 1fr; gap: 32px; }
  .system::before, .system::after { left: 27px; right: auto; top: 10px; bottom: 10px; width: 4px; height: auto; }
  .system::before { background: repeating-linear-gradient(180deg, var(--line) 0 14px, transparent 14px 24px); }
  .system::after { background: repeating-linear-gradient(180deg, var(--flow) 0 14px, var(--flow-deep) 14px 24px); background-size: 100% 48px; animation-name: pipe-flow-v; transform-origin: center top; }
  .js .system::after { transform: scaleY(0); }
  .js .system.in-view::after { transform: scaleY(1); }
  .system-step { display: grid; grid-template-columns: 58px 1fr; gap: 0 22px; padding: 0; }
  .system-step .node { grid-row: span 3; margin: 0; }
}

/* ---------- Sizer (the slider) ---------- */
.sizer {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  background: var(--white); border-radius: var(--radius-l);
  border: 1px solid var(--line); overflow: hidden;
}
.sizer-input { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; }
.sizer-input h3 { font-size: var(--step-2); margin-bottom: 8px; }
.sizer-input .hint { color: var(--slate); font-size: 1rem; }
.people-readout { display: flex; align-items: baseline; gap: 14px; margin: 40px 0 8px; }
.people-readout .num { font-family: var(--mono); font-size: clamp(4rem, 3rem + 4vw, 6rem); font-weight: 500; line-height: 1; letter-spacing: -0.04em; }
.people-readout .unit { font-size: var(--step-1); color: var(--slate); }
.people-icons { display: flex; gap: 6px; height: 34px; margin-bottom: 28px; }
.people-icons svg { width: 22px; height: 34px; fill: var(--line); transition: fill .2s; }
.people-icons svg.on { fill: var(--reservoir); }

.range-row { display: flex; align-items: center; gap: 14px; }
.step-btn {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--line); background: var(--white); color: var(--reservoir);
  font: 500 1.4rem/1 var(--mono); cursor: pointer; transition: border-color .2s;
}
.step-btn:hover { border-color: var(--reservoir); }
.range { flex: 1; position: relative; }
.range input {
  -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 0;
  background: transparent; cursor: pointer;
}
.range input::-webkit-slider-runnable-track {
  height: 12px; border-radius: 12px;
  background: linear-gradient(90deg, var(--flow) 0 var(--fill, 0%), var(--mist) var(--fill, 0%) 100%);
  box-shadow: inset 0 0 0 1px var(--line);
}
.range input::-moz-range-track { height: 12px; border-radius: 12px; background: var(--mist); box-shadow: inset 0 0 0 1px var(--line); }
.range input::-moz-range-progress { height: 12px; border-radius: 12px; background: var(--flow); }
.range input::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 34px; height: 34px; margin-top: -11px; border-radius: 50%;
  background: var(--reservoir); border: 5px solid var(--white);
  box-shadow: 0 0 0 2px var(--reservoir), 0 6px 14px rgba(14, 42, 71, .25);
  transition: transform .15s;
}
.range input::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--reservoir); border: 5px solid var(--white);
  box-shadow: 0 0 0 2px var(--reservoir), 0 6px 14px rgba(14, 42, 71, .25);
}
.range input:active::-webkit-slider-thumb { transform: scale(1.12); }
.range input:focus-visible { outline: none; }
.range input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 2px var(--reservoir), 0 0 0 6px var(--orange); }
.range input:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 2px var(--reservoir), 0 0 0 6px var(--orange); }
.range-ticks { display: flex; justify-content: space-between; padding: 0 10px; margin-top: 4px; font-family: var(--mono); font-size: .8rem; color: var(--slate); }

.fit-note { margin-top: 28px; font-size: 1rem; color: var(--slate); }
.fit-note strong { color: var(--reservoir); }

.sizer-result { background: var(--reservoir); color: var(--on-dark); padding: clamp(28px, 4vw, 52px); display: grid; grid-template-columns: 132px 1fr; gap: 28px 36px; align-content: start; }
.tank-gauge {
  position: relative; width: 132px; height: 220px; grid-row: span 2;
  border-radius: 22px 22px 18px 18px; background: var(--reservoir-2);
  box-shadow: inset 0 0 0 2px var(--reservoir-3); overflow: hidden;
}
.tank-gauge::before { /* tank ribs */
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: repeating-linear-gradient(180deg, transparent 0 26px, rgba(14, 42, 71, .35) 26px 28px);
}
.tank-fill { position: absolute; left: 0; right: 0; bottom: 0; height: 0; background: var(--flow); transition: height .7s cubic-bezier(.3, .8, .3, 1); }
.tank-fill svg { position: absolute; left: 0; width: 200%; max-width: none; height: 14px; top: -13px; }
.tank-fill .tank-wave { fill: var(--flow); animation: drift 6s linear infinite; }
.tank-label { position: absolute; z-index: 3; left: 0; right: 0; bottom: 12px; text-align: center; font-family: var(--mono); font-size: .85rem; font-weight: 500; color: var(--reservoir); }

.result-head .best { font-size: .95rem; color: var(--on-dark-muted); margin-bottom: 6px; }
.result-head h3 { font-size: var(--step-3); }
.result-price { margin-top: 18px; }
.result-price .amount { font-size: var(--step-4); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.result-price .terms { color: var(--on-dark-muted); font-size: .95rem; margin-top: 6px; }

.result-stats { grid-column: 2; display: grid; grid-template-columns: repeat(3, auto); gap: 18px 28px; justify-content: start; padding: 20px 0; border-top: 1px solid var(--reservoir-3); border-bottom: 1px solid var(--reservoir-3); }
.stat dt { font-size: .8rem; color: var(--on-dark-muted); margin-bottom: 4px; }
.stat dd { margin: 0; font-family: var(--mono); font-size: 1.15rem; font-weight: 500; color: var(--flow); }
.result-includes { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; list-style: none; }
.result-includes li { position: relative; padding-left: 26px; font-size: .975rem; color: var(--on-dark); }
.result-includes li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 12px;
  border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--flow);
}
.result-cta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.result-cta small { color: var(--on-dark-muted); font-size: .875rem; }

.pkg-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.pkg-tab {
  text-align: left; cursor: pointer; font: inherit; color: var(--reservoir);
  background: var(--white); border: 2px solid var(--line); border-radius: var(--radius-m);
  padding: 16px 18px; transition: border-color .2s, background-color .2s;
}
.pkg-tab:hover { border-color: var(--slate); }
.pkg-tab[aria-pressed="true"] { border-color: var(--reservoir); background: var(--reservoir); color: var(--on-dark); }
.pkg-tab .name { font-weight: 700; display: block; }
.pkg-tab .meta { font-family: var(--mono); font-size: .8rem; color: var(--slate); display: block; margin-top: 4px; }
.pkg-tab[aria-pressed="true"] .meta { color: var(--flow); }
.pkg-tab .price { display: block; margin-top: 10px; font-weight: 600; }

@media (max-width: 980px) {
  .sizer { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .sizer-result { grid-template-columns: 76px 1fr; gap: 24px 22px; }
  .tank-gauge { grid-row: auto; width: 76px; height: 168px; border-radius: 16px 16px 12px 12px; }
  .tank-label { font-size: .7rem; }
  .result-stats { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .result-includes { grid-template-columns: 1fr; }
  .pkg-tabs { grid-template-columns: 1fr 1fr; }
}

/* ---------- Media rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split + .split { margin-top: clamp(64px, 9vw, 112px); }
.split.flip > :first-child { order: 2; }
.split-media { border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 3 / 2; background: var(--line); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-copy h2, .split-copy h3 { font-size: var(--step-3); margin-bottom: 18px; }
.split-copy p { color: var(--slate); }
.split-copy p + p { margin-top: 14px; }
.section-dark .split-copy p { color: var(--on-dark-muted); }
.split-copy .btn, .split-copy .text-link { margin-top: 26px; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
}

.checklist { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: .5em; width: 13px; height: 13px;
  border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--flow);
}

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(120px, 15vw, 200px); gap: 12px; }
.gallery figure { margin: 0; border-radius: var(--radius-m); overflow: hidden; position: relative; background: var(--line); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption {
  position: absolute; left: 12px; bottom: 12px; right: 12px;
  font-size: .85rem; color: var(--white);
  text-shadow: 0 1px 8px rgba(14, 42, 71, .8);
}
.gallery .g1 { grid-column: span 3; grid-row: span 2; }
.gallery .g2 { grid-column: span 3; }
.gallery .g3 { grid-column: span 2; grid-row: span 2; }
.gallery .g4 { grid-column: span 1; }
.gallery .g5 { grid-column: span 2; }
.gallery .g6 { grid-column: span 2; }
@media (max-width: 720px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .gallery .g1, .gallery .g2, .gallery .g3, .gallery .g4, .gallery .g5, .gallery .g6 { grid-column: span 1; grid-row: span 1; }
  .gallery .g1, .gallery .g6 { grid-column: span 2; grid-row: span 2; }
  .gallery .g6 { grid-row: span 1; }
}

/* ---------- Process ---------- */
.process { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--reservoir); }
.process li { counter-increment: step; padding: 24px 24px 0 0; }
.process li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--mono); color: var(--flow-ink); font-weight: 500; margin-bottom: 18px; }
.process h3 { font-size: var(--step-1); margin-bottom: 8px; }
.process p { color: var(--slate); font-size: 1rem; }
.section-dark .process { border-color: var(--flow); }
.section-dark .process li::before { color: var(--flow); }
.section-dark .process p { color: var(--on-dark-muted); }
@media (max-width: 860px) { .process { grid-template-columns: 1fr 1fr; gap: 12px 0; } }
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 48px 24px 0; position: relative;
  font-weight: 600; font-size: var(--step-1); letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -10px;
  border-right: 2.5px solid var(--reservoir); border-bottom: 2.5px solid var(--reservoir);
  transform: rotate(45deg); transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 48px 26px 0; color: var(--slate); max-width: 44em; }

/* ---------- Spec table / comparison ---------- */
.table-scroll { overflow-x: auto; border-radius: var(--radius-m); border: 1px solid var(--line); background: var(--white); }
.compare { width: 100%; border-collapse: collapse; min-width: 720px; font-size: .975rem; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: var(--step-1); letter-spacing: -0.02em; background: var(--mist); }
.compare thead th small { display: block; font: 500 .8rem var(--mono); color: var(--slate); margin-top: 4px; letter-spacing: 0; }
.compare tbody th { font-weight: 500; color: var(--slate); width: 22%; }
.compare td.num { font-family: var(--mono); }
.compare tr:last-child > * { border-bottom: 0; }
.compare .price-row td { font-weight: 700; font-size: var(--step-1); }

/* ---------- Add-ons ---------- */
.addons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.addon { display: grid; grid-template-columns: minmax(140px, 42%) 1fr; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }
.addon-media { position: relative; background: var(--line); min-height: 170px; }
.addon-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.addon-body { padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.addon h3 { font-size: var(--step-1); }
.addon p { color: var(--slate); font-size: .975rem; }
.addon .from { font-family: var(--mono); font-weight: 500; color: var(--flow-ink); margin-top: auto; padding-top: 8px; }
@media (max-width: 860px) { .addons { grid-template-columns: 1fr; } }
@media (max-width: 460px) {
  .addon { grid-template-columns: 112px 1fr; }
  .addon-media { min-height: 150px; }
  .addon-body { padding: 14px 16px; }
  .addon h3 { font-size: 1.05rem; }
  .addon p { font-size: .9rem; }
}

/* ---------- Spec list (product pages) ---------- */
.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--reservoir-3); border-radius: var(--radius-m); overflow: hidden; }
.spec { background: var(--reservoir-2); padding: 26px; }
.spec .val { font-family: var(--mono); font-size: var(--step-2); color: var(--flow); font-weight: 500; }
.spec .lbl { color: var(--on-dark); font-weight: 600; margin-top: 6px; }
.spec p { color: var(--on-dark-muted); font-size: .95rem; margin-top: 6px; }

/* Filtration stages */
.stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stage { border-radius: var(--radius-m); padding: 28px; background: var(--white); border: 1px solid var(--line); position: relative; overflow: hidden; }
.stage .micron { font-family: var(--mono); font-size: var(--step-3); font-weight: 500; letter-spacing: -0.03em; }
.stage h3 { font-size: var(--step-1); margin: 14px 0 8px; }
.stage p { color: var(--slate); font-size: .975rem; }
.stage .bar { position: absolute; left: 0; top: 0; height: 6px; background: var(--flow); }
@media (max-width: 820px) { .stages { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--flow); color: var(--reservoir); padding: clamp(56px, 8vw, 96px) 0; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band h2 { font-size: var(--step-4); max-width: 13em; font-weight: 800; letter-spacing: -0.05em; }
.cta-band p { margin-top: 12px; font-size: var(--step-1); }
.cta-band .btn-primary { background: var(--reservoir); color: var(--on-dark); }
.cta-band .btn-primary:hover { background: var(--reservoir-2); }

/* ---------- About ---------- */
.areas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; list-style: none; }
.areas li { border: 1px solid var(--reservoir-3); border-radius: 999px; padding: 8px 16px; font-size: .95rem; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.values h3 { font-size: var(--step-2); margin-bottom: 10px; }
.values p { color: var(--slate); }
@media (max-width: 820px) { .values { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(24px, 4vw, 48px); }
.form h2 { font-size: var(--step-3); margin-bottom: 8px; }
.form > p { color: var(--slate); margin-bottom: 28px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field-row .field { justify-content: flex-end; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: .95rem; }
.field label .opt { font-weight: 400; color: var(--slate); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--reservoir);
  background: var(--mist); border: 2px solid var(--line); border-radius: var(--radius-s);
  padding: 13px 14px; min-height: 52px; width: 100%;
  transition: border-color .2s, background-color .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--reservoir); background: var(--white); }
.field input:user-invalid { border-color: #C4472B; }
.form .btn { margin-top: 8px; }
.form-note { font-size: .875rem; color: var(--slate); margin-top: 14px; }
.form-success { display: none; padding: 20px; border-radius: var(--radius-m); background: var(--mist); border-left: 4px solid var(--flow); margin-top: 20px; }
.form-success.show { display: block; }
.selected-pkg { display: none; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius-m); background: var(--reservoir); color: var(--on-dark); margin-bottom: 24px; }
.selected-pkg.show { display: flex; }
.selected-pkg .mono { color: var(--flow); font-size: .9rem; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

/* Contact tabs: book a call / send details */
.tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 6px; background: var(--white); border: 1px solid var(--line); border-radius: calc(var(--radius-m) + 6px); margin-bottom: 20px; }
.tab {
  font: inherit; color: var(--reservoir); text-align: left; cursor: pointer;
  background: transparent; border: 0; border-radius: var(--radius-m);
  padding: 14px 18px; transition: background-color .2s, color .2s;
}
.tab:hover { background: var(--mist); }
.tab[aria-selected="true"] { background: var(--reservoir); color: var(--on-dark); }
.tab-title { display: block; font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em; }
.tab-sub { display: block; font-size: .875rem; color: var(--slate); margin-top: 2px; }
.tab[aria-selected="true"] .tab-sub { color: var(--flow); }
.panel:focus-visible { outline-offset: 6px; border-radius: var(--radius-l); }

.booking { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(24px, 4vw, 48px); }
.booking h2 { font-size: var(--step-3); margin-bottom: 8px; }
.booking-intro { color: var(--slate); max-width: 36em; }
.call-options { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0 10px; }
.call-options li { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--radius-m); background: var(--mist); }
.call-options svg { flex: none; width: 26px; height: 26px; fill: var(--flow); stroke: none; margin-top: 2px; }
.call-options strong { display: block; }
.call-options span { display: block; font-size: .9rem; color: var(--slate); }
.booking-how { font-size: .9rem; color: var(--slate); margin-bottom: 20px; }
.booking-frame iframe { display: block; width: 100%; height: 720px; border: 0; border-radius: var(--radius-m); background: var(--mist); }
.booking-frame .open-link { display: inline-block; margin-top: 14px; font-size: .95rem; }
.booking-soon { border: 2px dashed var(--line); border-radius: var(--radius-m); padding: clamp(24px, 4vw, 40px); text-align: center; }
.booking-soon h3 { font-size: var(--step-1); margin-bottom: 8px; }
.booking-soon p { color: var(--slate); max-width: 30em; margin: 0 auto 22px; }
.booking-soon .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
@media (max-width: 560px) {
  .call-options { grid-template-columns: 1fr; }
  .tab { padding: 12px 14px; }
  .booking-frame iframe { height: 860px; }
}

.contact-card { background: var(--reservoir); color: var(--on-dark); border-radius: var(--radius-l); padding: clamp(24px, 4vw, 40px); }
.contact-card h2 { font-size: var(--step-2); margin-bottom: 20px; }
.contact-list { list-style: none; display: grid; gap: 18px; }
.contact-list dt, .contact-list .k { font-size: .85rem; color: var(--on-dark-muted); }
.contact-list a { color: var(--on-dark); text-decoration: none; font-family: var(--mono); font-size: 1.05rem; }
.contact-list a:hover { color: var(--flow); }
.contact-card .btn { margin-top: 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--reservoir); color: var(--on-dark-muted); padding: 72px 0 32px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h2 { font-size: 1rem; color: var(--on-dark); letter-spacing: -0.01em; margin-bottom: 14px; }
.footer-grid ul { list-style: none; display: grid; gap: 10px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--flow); }
.footer-tag { margin-top: 18px; max-width: 22em; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--reservoir-3); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; }
.brand-bar { display: flex; height: 6px; border-radius: 6px; overflow: hidden; margin-top: 28px; max-width: 220px; }
.brand-bar span:nth-child(1) { flex: 6; background: var(--on-dark); }
.brand-bar span:nth-child(2) { flex: 3; background: var(--flow); }
.brand-bar span:nth-child(3) { flex: 1; background: var(--orange); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(14, 42, 71, .3);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* CTA band: site visit + video call */
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

@keyframes pipe-flow-v { to { background-position: 0 48px; } }

/* ---------- Team at work (home) ---------- */
.team { background: var(--mist); }
.team-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.team-photos { position: relative; }
.team-photos figure { margin: 0; border-radius: var(--radius-l); overflow: hidden; background: var(--line); }
.team-photos img { width: 100%; height: 100%; object-fit: cover; }
.tp-main { aspect-ratio: 4 / 3; }
.tp-inset {
  position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1;
  border: 6px solid var(--mist); border-radius: var(--radius-l);
  transition: transform 1s cubic-bezier(.2, .8, .2, 1), opacity 1s;
}
.js .team-photos .tp-inset { transform: translateY(40px); opacity: 0; }
.js .team-photos.in-view .tp-inset { transform: none; opacity: 1; }
.team .split-copy h2 { font-size: var(--step-3); margin-bottom: 18px; }
.team .split-copy .text-link { display: inline-block; margin-top: 26px; }
@media (max-width: 860px) { .team-grid { grid-template-columns: 1fr; } }

/* ---------- Installations dropdown (header) ---------- */
.header-inner { position: relative; }
.nav-drop-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font: inherit; font-size: .975rem; color: var(--on-dark); background: none; border: 0; cursor: pointer;
  padding: 8px 12px; border-radius: 999px; transition: background-color .2s;
}
.nav-drop-btn:hover, .nav-drop-btn[aria-expanded="true"] { background: rgba(243, 247, 249, .08); }
.nav-drop-btn.is-current { color: var(--flow); }
.nav-drop-btn svg { width: 11px; height: 8px; transition: transform .25s; }
.nav-drop-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.drop-panel {
  position: absolute; top: calc(100% - 6px); right: var(--gutter);
  width: min(640px, calc(100% - 2 * var(--gutter)));
  background: var(--reservoir-2); border: 1px solid var(--reservoir-3); border-radius: var(--radius-m);
  padding: 16px; box-shadow: 0 24px 50px rgba(4, 18, 33, .45);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.nav-drop.open .drop-panel { opacity: 1; visibility: visible; transform: none; }
.drop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.nav .drop-grid a { display: block; text-decoration: none; color: var(--on-dark); border-radius: var(--radius-s); padding: 0; }
.drop-grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-s); transition: transform .3s, filter .3s; }
.nav .drop-grid a:hover img { filter: brightness(1.08); }
.drop-grid span { display: block; font-size: .8rem; line-height: 1.35; margin-top: 6px; color: var(--on-dark-muted); }
.nav .drop-grid a:hover span { color: var(--on-dark); }
.nav a.drop-all { display: inline-block; margin-top: 14px; color: var(--flow); font-weight: 600; font-size: .925rem; text-underline-offset: 4px; padding: 4px 2px; }

@media (max-width: 1100px) {
  .nav-drop-btn { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 1.1rem; border-radius: 12px; }
  .drop-panel {
    position: static; width: auto; box-shadow: none; transform: none; border: 0; background: transparent; padding: 0 12px;
    display: none;
  }
  .nav-drop.open .drop-panel { display: block; padding-bottom: 8px; }
  .drop-grid { grid-template-columns: repeat(2, 1fr); }
  .nav { max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
}

/* ---------- Installations gallery page ---------- */
.installs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; grid-auto-flow: dense; }
.install { margin: 0; }
.install.wide { grid-column: span 2; }
.install.tall { grid-row: span 2; }
.install-open { display: block; width: 100%; padding: 0; border: 0; background: var(--line); border-radius: var(--radius-m); overflow: hidden; cursor: zoom-in; aspect-ratio: 3 / 2; }
.install.wide .install-open { aspect-ratio: auto; height: calc(100% - 34px); min-height: 240px; }
.install.tall .install-open { aspect-ratio: auto; height: calc(100% - 34px); }
.install-open img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.install-open:hover img { transform: scale(1.03); }
.install figcaption { font-size: .9rem; color: var(--slate); margin-top: 10px; }
@media (max-width: 860px) { .installs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) {
  .installs { grid-template-columns: 1fr; }
  .install.wide, .install.tall { grid-column: auto; grid-row: auto; }
  .install.wide .install-open, .install.tall .install-open { aspect-ratio: 3 / 2; height: auto; min-height: 0; }
}

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(6, 22, 39, .92); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; max-width: min(1200px, 92vw); }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: var(--radius-m); }
.lightbox figcaption { color: var(--on-dark); text-align: center; margin-top: 14px; font-size: .95rem; }
.lb-btn {
  position: fixed; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(243, 247, 249, .12); color: var(--on-dark); display: grid; place-items: center;
}
.lb-btn:hover { background: rgba(243, 247, 249, .22); }
.lb-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lb-prev { left: 16px; top: 50%; margin-top: -24px; }
.lb-next { right: 16px; top: 50%; margin-top: -24px; }
.lb-close { right: 16px; top: 16px; }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: 20px; margin: 0; } }
.nav .drop-grid a:hover, .nav a.drop-all:hover { background: none; }
.form-error { display: none; padding: 20px; border-radius: var(--radius-m); background: #FDF0EC; border-left: 4px solid #C4472B; margin-top: 20px; }
.form-error.show { display: block; }
.form .btn:disabled { opacity: .7; cursor: default; }
@media (max-width: 520px) {
  .tab { padding: 10px 10px; }
  .tab-title { font-size: .95rem; }
  .tab-sub { font-size: .78rem; }
}
