/* SwiftFix Plumbing
   Layout concept: big, flat X-style type on cool paper; a single "pipe" motif (progress, process, dividers)
   carries the brand; orange is reserved for anything that opens the Fix Finder. */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #082A5E;
  --blue: #1A8CEB;
  --blue-ink: #0B6CC2;          /* blue for small text on paper (AA) */
  --blue-soft: #E8F3FD;
  --action: #FF7A1A;
  --action-press: #F06A08;
  --on-action: #082A5E;
  --emergency: #E5322D;
  --emergency-ink: #C41F1A;
  --ink: #0F1B2D;
  --muted: #4A5B73;
  --paper: #F7FAFD;
  --surface: #FFFFFF;
  --line: #D9E3EF;
  --ok: #1E9E6A;
  --ok-ink: #137A50;
  --heading: #082A5E;
  --band: #082A5E;              /* dark sections */
  --band-ink: #FFFFFF;
  --band-muted: #B8CBE4;
  --copper: #C77A45;
  --copper-dark: #A45F30;
  --steel: #7D8EA6;
  --warm: #F6B3A6;
  --shadow: 0 1px 2px rgba(8, 42, 94, .06), 0 12px 32px -8px rgba(8, 42, 94, .18);

  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --r-card: 20px;
  --r-tile: 16px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --maxw: 1200px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --blue-ink: #6CB8F7;
    --blue-soft: #10305E;
    --ink: #EAF2FC;
    --muted: #A9BBD3;
    --paper: #061833;
    --surface: #0C2650;
    --line: #1F4172;
    --heading: #FFFFFF;
    --band: #0C2650;
    --mk-body: #fff; --mk-s: #082A5E;
    --emergency-ink: #FF7B76;
    --ok-ink: #4CD39A;
    --steel: #9FB1C9;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 36px -10px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --blue-ink: #6CB8F7; --blue-soft: #10305E; --ink: #EAF2FC; --muted: #A9BBD3; --paper: #061833;
  --surface: #0C2650; --line: #1F4172; --heading: #FFFFFF; --band: #0C2650; --mk-body: #fff; --mk-s: #082A5E; --emergency-ink: #FF7B76;
  --ok-ink: #4CD39A; --steel: #9FB1C9; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 16px 36px -10px rgba(0,0,0,.6);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 18px; line-height: 1.55; font-weight: 450;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--blue-ink); text-underline-offset: 3px; }
h1, h2, h3, h4 { color: var(--heading); margin: 0; line-height: 1.05; text-wrap: balance; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 9vw, 5.5rem); font-weight: 860; letter-spacing: -0.035em; line-height: .98; }
h2 { font-size: clamp(1.9rem, 5vw, 3.2rem); font-weight: 820; }
h3 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); font-weight: 780; line-height: 1.15; }
p { margin: 0; max-width: 62ch; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.num { font-variant-numeric: tabular-nums; }
.eyebrow { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; font-weight: 750; color: var(--blue-ink); }
.lede { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: var(--muted); }
.muted { color: var(--muted); }
.ph { outline: 1.5px dashed currentColor; outline-offset: 2px; border-radius: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--surface); color: var(--heading); padding: 12px 16px; border-radius: 12px; font-weight: 700; }
.skip:focus { top: 12px; }
.i { width: 24px; height: 24px; flex: none; }
[hidden] { display: none !important; }
.quiz-col { min-width: 0; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.section { padding-block: clamp(56px, 9vw, 112px); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 760px; }
.stack { display: grid; gap: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-size: 18px; font-weight: 760; letter-spacing: -0.005em; text-decoration: none;
  cursor: pointer; transition: transform .15s var(--ease), background-color .15s, border-color .15s, color .15s;
  -webkit-tap-highlight-color: transparent; text-align: center; line-height: 1.15;
}
.btn:active { transform: scale(.97); }
.btn-go { background: var(--action); color: var(--on-action); }
.btn-go:hover { background: var(--action-press); }
.btn-go .i { transition: transform .2s var(--ease); }
.btn-go:hover .i { transform: translateX(3px); }
.btn-line { border-color: var(--line); color: var(--heading); background: transparent; }
.btn-line:hover { border-color: var(--heading); }
.btn-band { border-color: rgba(255,255,255,.35); color: #fff; background: transparent; }
.btn-band:hover { border-color: #fff; }
.btn-sos { background: var(--emergency); color: #fff; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 16px; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 720; color: var(--blue-ink); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 50; background: var(--paper); }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-in { display: flex; align-items: center; gap: 12px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; margin-right: auto; }
.brand .mark { width: 30px; height: 38px; }
.mk-body { fill: var(--mk-body, #082A5E); } .mk-s { stroke: var(--mk-s, #fff); }
.site-footer, .band { --mk-body: #fff; --mk-s: #082A5E; }
.brand-word { display: grid; line-height: .9; }
.brand-word b { font-size: 23px; font-weight: 900; letter-spacing: -0.03em; color: var(--heading); }
.brand-word b span { color: var(--blue); }
.brand-word small { font-size: 9.5px; font-weight: 800; letter-spacing: .34em; color: var(--heading); margin-top: 3px; }
.nav { display: none; gap: 4px; }
.nav a { padding: 10px 14px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 650; font-size: 16px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--blue-soft); color: var(--heading); }
.icon-btn { width: 48px; height: 48px; display: inline-grid; place-items: center; border-radius: 999px; border: 2px solid var(--line); color: var(--heading); background: transparent; cursor: pointer; text-decoration: none; }
.icon-btn:hover { border-color: var(--heading); }
.header-cta { display: none; }
.menu-btn { display: inline-grid; }
@media (min-width: 560px) { .header-cta { display: inline-flex; } }
@media (min-width: 1000px) { .nav { display: flex; } .menu-btn { display: none; } }

.menu { position: fixed; inset: 0; z-index: 60; background: var(--paper); padding: calc(env(safe-area-inset-top, 0px) + 12px) var(--gutter-r) calc(env(safe-area-inset-bottom, 0px) + 24px) var(--gutter-l); display: flex; flex-direction: column; gap: 8px; overflow-y: auto; }
.menu[hidden] { display: none !important; }
.menu-top { display: flex; justify-content: space-between; align-items: center; min-height: 56px; margin-bottom: 8px; }
.menu nav { display: grid; }
.menu nav a { font-size: clamp(1.8rem, 8vw, 2.4rem); font-weight: 820; color: var(--heading); text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line); letter-spacing: -0.02em; }
.menu .menu-actions { display: grid; gap: 12px; margin-top: auto; padding-top: 24px; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(14px, 4vw, 64px) clamp(40px, 6vw, 88px); }
.hero-grid { display: grid; gap: 22px; align-items: start; }
.hero-copy { display: grid; gap: 14px; min-width: 0; }
.hero-copy h1 em { font-style: normal; color: var(--blue); }
.hero-sub { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--muted); max-width: 44ch; }
.trust-row { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14.5px; font-weight: 650; color: var(--heading); }
.trust-row li { list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.trust-row .i { width: 18px; height: 18px; color: var(--blue); }
.trust-row .star { color: #F5B301; fill: currentColor; }
.sos-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; color: var(--emergency-ink); text-decoration: none; }
.sos-link .i { width: 18px; height: 18px; }
.sos-link:hover { text-decoration: underline; }
.hero-desk-only { display: none; }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
  .hero-desk-only { display: flex; }
  .hero h1 { font-size: clamp(3rem, 5.6vw, 5rem); }
  .hero-copy { gap: 22px; }
}
@media (max-width: 959px) { .hero h1 { font-size: clamp(2.5rem, 11.5vw, 4.4rem); } }

/* ---------- Fix Finder (quiz) ---------- */
.ff { position: relative; background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; scroll-margin-top: 84px; }
.ff-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px 0; }
.ff-back { width: 40px; height: 40px; border-radius: 999px; border: 0; background: var(--blue-soft); color: var(--heading); display: inline-grid; place-items: center; cursor: pointer; flex: none; }
.ff-back[disabled] { visibility: hidden; }
.pipe { position: relative; flex: 1; height: 12px; border-radius: 999px; background: var(--blue-soft); box-shadow: inset 0 0 0 2px var(--line); }
.pipe::before, .pipe::after { content: ""; position: absolute; top: -3px; width: 8px; height: 18px; border-radius: 3px; background: var(--heading); }
.pipe::before { left: -2px; } .pipe::after { right: -2px; }
.pipe-fill { position: absolute; inset: 2px auto 2px 2px; width: calc((100% - 4px) * var(--p, 0)); min-width: 8px; border-radius: 999px; background: var(--blue); transition: width .5s var(--ease); }
.pipe-drop { position: absolute; top: -13px; left: calc((100% - 4px) * var(--p, 0) - 6px); width: 14px; height: 18px; transition: left .5s var(--ease); color: var(--blue); animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-3px); } }
.ff-step { font-size: 13px; font-weight: 720; color: var(--muted); white-space: nowrap; }
.ff-chip { display: none; margin: 12px 18px 0; align-items: center; gap: 8px; width: fit-content; max-width: calc(100% - 36px); padding: 6px 6px 6px 12px; border-radius: 999px; background: var(--blue-soft); color: var(--heading); font-size: 14.5px; font-weight: 700; }
.ff-chip.on { display: inline-flex; }
.ff-chip button { width: 28px; height: 28px; border: 0; border-radius: 999px; background: var(--surface); color: var(--heading); display: inline-grid; place-items: center; cursor: pointer; }
.ff-chip button .i { width: 16px; height: 16px; }

.ff-cards { position: relative; }
.ff-card { border: 0; margin: 0; padding: 16px 18px 18px; min-width: 0; }
.ff-card legend, .ff-card .ff-q { display: block; padding: 0; font-size: clamp(1.45rem, 4.6vw, 1.85rem); font-weight: 820; color: var(--heading); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 4px; text-wrap: balance; }
.ff-card legend:focus, .ff-card .ff-q:focus { outline: none; }
.ff-help { font-size: 15.5px; color: var(--muted); margin-bottom: 14px; }
.ff-opts { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.ff-opts.one { grid-template-columns: 1fr; }
.ff-opt { position: relative; }
.ff-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ff-opt label {
  display: flex; align-items: center; gap: 10px; min-height: 64px; height: 100%; padding: 10px 12px;
  border-radius: var(--r-tile); border: 2px solid var(--line); background: var(--surface);
  font-weight: 720; font-size: 16.5px; line-height: 1.2; color: var(--heading); cursor: pointer;
  transition: border-color .15s, background-color .15s, transform .15s var(--ease);
}
.ff-opts.one .ff-opt label { font-size: 18px; }
.ff-opt .ic { width: 38px; height: 38px; border-radius: 12px; background: var(--blue-soft); color: var(--blue-ink); display: grid; place-items: center; flex: none; }
.ff-opt .ic .i { width: 22px; height: 22px; }
.ff-opt.sos .ic { background: color-mix(in srgb, var(--emergency) 14%, transparent); color: var(--emergency-ink); }
.ff-opt label:hover { border-color: var(--blue); }
.ff-opt input:focus-visible + label { outline: 3px solid var(--blue); outline-offset: 2px; }
.ff-opt input:checked + label { border-color: var(--blue); background: var(--blue-soft); }
.ff-opt input:checked + label .ic { background: var(--blue); color: #fff; }
.ff-opt label.pressed { transform: scale(.96); }
.ff-opt .hint { display: block; font-size: 13.5px; font-weight: 550; color: var(--muted); margin-top: 2px; }
.ff-foot { min-height: 46px; padding: 0 18px 14px; display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 650; color: var(--ok-ink); }
.ff-react { display: inline-flex; align-items: center; gap: 8px; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s var(--ease); }
.ff-react.is-on { opacity: 1; transform: none; }
.ff-react .i { width: 18px; height: 18px; }
.ff-note { font-size: 14px; color: var(--muted); font-weight: 500; }

/* card transitions (JS mode only) */
.js .ff-card { display: none; }
.js .ff-card.cur { display: block; }
.js .ff-card.in-r { animation: inR .28s var(--ease) both; }
.js .ff-card.in-l { animation: inL .28s var(--ease) both; }
@keyframes inR { from { opacity: 0; transform: translateX(36px); } }
@keyframes inL { from { opacity: 0; transform: translateX(-36px); } }
.nojs-only { display: block; }
.js .nojs-only { display: none !important; }
html:not(.js) .js-only { display: none !important; }
.nojs-branch { font-size: 15px; font-weight: 750; color: var(--muted); margin: 14px 0 8px; }

/* Text inputs */
.field { display: grid; gap: 6px; }
.field label, .field .lbl { font-weight: 720; font-size: 16px; color: var(--heading); }
.field .opt { font-weight: 500; color: var(--muted); }
.input, .textarea {
  width: 100%; min-height: 56px; padding: 12px 16px; border-radius: 14px; border: 2px solid var(--line);
  background: var(--surface); color: var(--ink); font: inherit; font-size: 18px;
}
.textarea { min-height: 96px; resize: vertical; }
.input:focus, .textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 22%, transparent); }
.input[aria-invalid="true"] { border-color: var(--emergency); }
.input::placeholder { text-transform: none; letter-spacing: normal; font-weight: 500; color: var(--muted); opacity: .8; }
.input-big { font-size: 26px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; text-align: center; min-height: 68px; }
.err { color: var(--emergency-ink); font-size: 15px; font-weight: 650; }
.err:empty { display: none; }
.pc-result { display: flex; gap: 8px; align-items: flex-start; font-weight: 700; font-size: 16px; min-height: 24px; }
.pc-result.ok { color: var(--ok-ink); }
.pc-result.out { color: var(--muted); font-weight: 600; }
.pc-result .i { width: 20px; height: 20px; margin-top: 1px; }
.ff-form-grid { display: grid; gap: 14px; }
.ff-continue { margin-top: 16px; }
.file-in { font-size: 15px; color: var(--muted); }
.file-in input { font: inherit; font-size: 15px; max-width: 100%; }
.reassure { display: grid; gap: 6px; margin-top: 12px; font-size: 14.5px; color: var(--muted); }
.reassure span { display: flex; gap: 8px; align-items: flex-start; }
.reassure .i { width: 18px; height: 18px; color: var(--ok-ink); margin-top: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Day chips */
.days { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 8px; margin: 0 -2px 10px; scrollbar-width: none; }
.days::-webkit-scrollbar { display: none; }
.day { position: relative; flex: none; scroll-snap-align: start; }
.day input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.day label { display: grid; place-items: center; min-width: 76px; min-height: 64px; padding: 8px 12px; border-radius: 16px; border: 2px solid var(--line); cursor: pointer; line-height: 1.1; color: var(--heading); background: var(--surface); }
.day label b { font-size: 16px; font-weight: 800; }
.day label small { font-size: 13px; color: var(--muted); font-weight: 600; }
.day input:checked + label { border-color: var(--blue); background: var(--blue); color: #fff; }
.day input:checked + label small { color: #fff; }
.day input:focus-visible + label { outline: 3px solid var(--blue); outline-offset: 2px; }
.sub-lbl { font-weight: 760; font-size: 15px; color: var(--heading); margin: 6px 0 8px; }

/* Emergency interrupt */
.ff-sos { padding: 18px; display: grid; gap: 12px; background: var(--emergency); color: #fff; border-radius: 0; }
.ff-sos .ff-q { color: #fff; font-size: clamp(1.5rem, 5vw, 1.9rem); font-weight: 850; line-height: 1.08; }
.ff-sos .big-phone { font-size: clamp(1.8rem, 7vw, 2.4rem); font-weight: 900; letter-spacing: -0.01em; user-select: all; -webkit-user-select: all; }
.ff-sos .tip { display: flex; gap: 10px; align-items: flex-start; background: rgba(255,255,255,.14); padding: 12px 14px; border-radius: 14px; font-size: 15.5px; font-weight: 600; }
.ff-sos .btn-call { background: #fff; color: var(--emergency-ink); }
.ff-sos .btn-call { color: #B11A15; }
.ff-sos .cont { background: none; border: 0; color: #fff; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; padding: 8px 0; justify-self: start; min-height: 44px; }

/* Success */
.ff-done { padding: 22px 18px 20px; display: grid; gap: 14px; text-align: left; }
.done-mark { width: 64px; height: 64px; }
.done-mark .d1 { fill: var(--blue); transform-origin: 32px 32px; animation: dropShrink .5s .1s var(--ease) both; }
.done-mark .d2 { fill: var(--ok); transform-origin: 32px 32px; animation: popIn .4s .45s var(--ease) both; }
.done-mark .d3 { stroke: #fff; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .4s .75s ease-out forwards; }
@keyframes dropShrink { to { transform: scale(0); opacity: 0; } }
@keyframes popIn { from { transform: scale(0); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.summary { display: flex; flex-wrap: wrap; gap: 6px; }
.summary span { background: var(--blue-soft); color: var(--heading); font-weight: 700; font-size: 14.5px; padding: 6px 12px; border-radius: 999px; }
.next-steps { display: grid; gap: 8px; counter-reset: s; padding: 0; margin: 0; }
.next-steps li { list-style: none; display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.next-steps li::before { counter-increment: s; content: counter(s); flex: none; width: 26px; height: 26px; border-radius: 999px; background: var(--heading); color: var(--paper); display: grid; place-items: center; font-size: 14px; font-weight: 800; }
.ff-fail { background: color-mix(in srgb, var(--emergency) 10%, transparent); color: var(--ink); border-radius: 14px; padding: 12px 14px; font-size: 15.5px; margin-top: 12px; }
.ff-fail[hidden] { display: none; }

/* ---------- Area strip ---------- */
.area { background: var(--blue-soft); }
.area-in { display: grid; gap: 22px; padding-block: 36px; }
.area h2 { font-size: clamp(1.6rem, 4.2vw, 2.4rem); }
.towns { display: flex; flex-wrap: wrap; gap: 8px; }
.towns li { list-style: none; padding: 8px 14px; border-radius: 999px; background: var(--surface); font-weight: 700; font-size: 15px; color: var(--heading); }
.pc-check { display: flex; gap: 10px; flex-wrap: wrap; }
.pc-check .input { flex: 1 1 180px; text-transform: uppercase; font-weight: 750; letter-spacing: .04em; }
.pc-check .btn { flex: 0 0 auto; }
@media (min-width: 900px) { .area-in { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 48px; } }

/* ---------- Service showcases ---------- */
.shows { display: grid; gap: clamp(20px, 3vw, 28px); }
.show { display: grid; gap: 22px; background: var(--surface); border-radius: var(--r-card); padding: clamp(16px, 3vw, 28px); border: 1px solid var(--line); }
.show-art { border-radius: 16px; overflow: hidden; cursor: pointer; position: relative; }
.show-art .replay { position: absolute; right: 10px; bottom: 10px; font-size: 12px; font-weight: 750; padding: 6px 10px; border-radius: 999px; background: var(--surface); color: var(--heading); border: 1px solid var(--line); opacity: .9; }
.show-body { display: grid; gap: 14px; align-content: start; min-width: 0; }
.show-body h3 { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 830; letter-spacing: -0.025em; }
.ticks { display: grid; gap: 8px; }
.ticks li { list-style: none; display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.ticks .i { width: 20px; height: 20px; color: var(--blue); margin-top: 3px; }
@media (min-width: 640px) { .ticks.two { grid-template-columns: 1fr 1fr; column-gap: 20px; } }
.typical { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15.5px; color: var(--heading); background: var(--blue-soft); border-radius: 999px; padding: 8px 14px; width: fit-content; max-width: 100%; }
.typical .i { width: 18px; height: 18px; color: var(--blue-ink); }
.mini-faq { border-top: 1px solid var(--line); padding-top: 14px; }
.mini-faq b { display: block; color: var(--heading); font-size: 16.5px; margin-bottom: 4px; }
.mini-faq p { font-size: 16px; color: var(--muted); }
.show-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 4px; }
@media (min-width: 900px) {
  .show { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 44px; padding: 28px; }
  .show:nth-child(even) .show-art { order: 2; }
}

/* Extras */
.extras-head { margin: clamp(40px, 6vw, 64px) 0 18px; display: grid; gap: 8px; }
.extras { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.extra { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: var(--r-tile); border: 2px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s var(--ease); min-height: 56px; }
.extra:hover { border-color: var(--blue); }
.extra:active { transform: scale(.98); }
.extra .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue-ink); flex: none; }
.extra b { display: block; color: var(--heading); font-size: 16.5px; line-height: 1.2; }
.extra span { display: block; font-size: 14.5px; color: var(--muted); margin-top: 3px; line-height: 1.35; }

/* ---------- Pricing ---------- */
.price > * { min-width: 0; }
.price { display: grid; gap: 24px; background: var(--surface); border-radius: var(--r-card); padding: clamp(22px, 4vw, 44px); border: 1px solid var(--line); }
.price-big { font-size: clamp(3rem, 10vw, 5.5rem); font-weight: 880; color: var(--heading); letter-spacing: -0.04em; line-height: .9; }
.price-big small { display: block; font-size: 15px; font-weight: 700; letter-spacing: 0; color: var(--muted); margin-top: 10px; }
@media (min-width: 900px) { .price { grid-template-columns: 1fr 1.2fr; align-items: center; gap: 56px; } }

/* ---------- Trust ---------- */
.badges { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); margin-bottom: 28px; }
.badge { display: flex; gap: 12px; align-items: center; padding: 16px; border-radius: var(--r-tile); background: var(--surface); border: 1px solid var(--line); }
.badge .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--heading); color: var(--paper); flex: none; }
.badge b { display: block; color: var(--heading); font-size: 16.5px; line-height: 1.2; }
.badge span { font-size: 14.5px; color: var(--muted); }
.reviews { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.review { margin: 0; display: grid; gap: 12px; align-content: start; padding: 20px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); position: relative; }
.review .stars { display: flex; gap: 2px; color: #F5B301; }
.review .stars .i { width: 18px; height: 18px; fill: currentColor; }
.review p { font-size: 16.5px; }
.review footer { font-size: 14.5px; color: var(--muted); font-weight: 600; }
.review footer b { color: var(--heading); }
.sample-tag { position: absolute; top: 16px; right: 16px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; border: 1.5px dashed var(--muted); color: var(--muted); }
.rating-big { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.rating-big b { font-size: clamp(2.6rem, 8vw, 4rem); font-weight: 880; color: var(--heading); letter-spacing: -0.03em; line-height: 1; }

/* ---------- Process (pipe) ---------- */
.process { position: relative; display: grid; gap: 18px; counter-reset: p; }
.process::before { content: ""; position: absolute; left: 25px; top: 28px; bottom: 28px; width: 10px; border-radius: 999px; background: var(--blue-soft); box-shadow: inset 0 0 0 2px var(--line); }
.process::after { content: ""; position: absolute; left: 27px; top: 30px; width: 6px; border-radius: 999px; background: var(--blue); height: calc((100% - 60px) * var(--fill, 1)); transition: height .2s linear; }
.step { position: relative; z-index: 1; display: grid; grid-template-columns: 60px 1fr; gap: 16px; align-items: start; }
.step-n { width: 60px; height: 60px; border-radius: 18px; background: var(--heading); color: var(--paper); display: grid; place-items: center; font-weight: 900; font-size: 24px; }
.step.lit .step-n { background: var(--blue); color: #fff; }
.step h3 { margin: 6px 0 6px; }
.step p { color: var(--muted); }
.band .process::before { background: rgba(255,255,255,.1); box-shadow: none; }
.band .step-n { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.2); }
.band .step.lit .step-n { background: var(--blue); box-shadow: none; }
@media (min-width: 960px) {
  .process { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .process::before { left: 30px; right: 30px; top: 25px; bottom: auto; width: auto; height: 10px; }
  .process::after { left: 32px; top: 27px; height: 6px; width: calc((100% - 64px) * var(--fill, 1)); }
  .step { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-tile); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 20px; min-height: 64px; font-weight: 760; font-size: 18px; color: var(--heading); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { transition: transform .2s var(--ease); color: var(--blue-ink); }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq details p { padding: 0 20px 20px; color: var(--muted); }

/* ---------- Bands ---------- */
.band { background: var(--band); color: var(--band-ink); }
.band h2, .band h3 { color: #fff; }
.band .muted, .band p { color: var(--band-muted); }
.cta-band { text-align: left; padding-block: clamp(64px, 10vw, 128px); }
.cta-band h2 { font-size: clamp(2.8rem, 10vw, 6rem); font-weight: 880; letter-spacing: -0.04em; line-height: .95; }
.cta-band .row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 28px; }
.phone-sel { user-select: all; -webkit-user-select: all; font-weight: 820; font-size: clamp(1.3rem, 3.6vw, 1.8rem); color: #fff; }
.copy-btn { font: inherit; font-size: 14px; font-weight: 700; color: inherit; background: transparent; border: 1.5px solid currentColor; border-radius: 999px; padding: 6px 12px; cursor: pointer; opacity: .85; min-height: 36px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(28px, 6vw, 80px) clamp(24px, 4vw, 48px); }
.page-hero .wrap { display: grid; gap: 16px; }
.page-hero h1 { font-size: clamp(2.4rem, 8vw, 4.8rem); }
.crumbs { font-size: 14px; color: var(--muted); font-weight: 600; }
.crumbs a { color: var(--muted); }

.svc-hero { display: grid; gap: 24px; align-items: center; }
@media (min-width: 960px) { .svc-hero { grid-template-columns: 1fr 1fr; gap: 56px; } }
.split { display: grid; gap: 28px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 48px; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(20px, 3vw, 32px); display: grid; gap: 14px; align-content: start; }
.quiz-wrap { max-width: 640px; }
.book-page { padding-block: clamp(16px, 4vw, 56px) clamp(48px, 8vw, 96px); }
.book-page .ff { max-width: 620px; margin-inline: auto; }
.book-head { text-align: center; max-width: 620px; margin: 0 auto 20px; display: grid; gap: 10px; justify-items: center; }
.book-head h1 { font-size: clamp(2.2rem, 8vw, 3.6rem); }
.contact-list { display: grid; gap: 12px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--blue-soft); color: var(--blue-ink); display: grid; place-items: center; flex: none; }
.contact-item b { display: block; color: var(--heading); font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.contact-item .val { font-size: 20px; font-weight: 760; color: var(--heading); word-break: break-word; }
.prose { display: grid; gap: 16px; max-width: 70ch; }
.prose h2 { font-size: clamp(1.5rem, 3.6vw, 2rem); margin-top: 16px; }
.prose ul { padding-left: 1.2em; display: grid; gap: 6px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--band); color: var(--band-muted); padding-block: 56px calc(40px + env(safe-area-inset-bottom, 0px)); font-size: 16px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer a.btn-go { color: var(--on-action); text-decoration: none; }
.site-footer { border-top: 1px solid rgba(255,255,255,.12); }
.foot-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.foot-grid h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.foot-grid ul { display: grid; gap: 8px; }
.foot-grid li { list-style: none; }
.foot-brand .brand-word b, .foot-brand .brand-word small { color: #fff; }
.foot-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; }

/* ---------- Sticky bottom bar ---------- */
.bbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; gap: 10px; padding: 10px var(--gutter-r) calc(10px + env(safe-area-inset-bottom, 0px)) var(--gutter-l); background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); transition: transform .3s var(--ease); }
.bbar .btn { padding: 0 16px; }
.bbar .btn-go { flex: 1; }
.bbar .btn-line { flex: 0 0 auto; }
.bbar.away { transform: translateY(110%); }
@media (min-width: 960px) { .bbar { display: none; } }
@media (max-width: 959px) { .has-bbar .site-footer { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); } }

/* ---------- Cookie banner ---------- */
.cookie { position: fixed; z-index: 70; left: var(--gutter-l); right: var(--gutter-r); bottom: calc(86px + env(safe-area-inset-bottom, 0px)); max-width: 520px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 14px 16px; display: grid; gap: 10px; font-size: 14.5px; }
.cookie p { max-width: none; }
.cookie .row { display: flex; gap: 8px; }
.cookie .btn { flex: 1; min-height: 44px; font-size: 15px; padding: 0 14px; }
.cookie .btn-ok { background: var(--heading); color: var(--paper); }
@media (min-width: 960px) { .cookie { bottom: 20px; left: auto; } }

/* ---------- SVG showcase artwork ---------- */
.sv { display: block; width: 100%; height: auto; }
.sv .bg { fill: var(--blue-soft); }
.sv .paper { fill: var(--surface); stroke: var(--heading); }
.sv .wall { fill: var(--surface); }
.sv .line { stroke: var(--line); fill: none; }
.sv .navy { fill: var(--heading); }
.sv .water { fill: var(--blue); }
.sv .steel { fill: var(--steel); }
.sv .porc { fill: var(--surface); stroke: var(--heading); }
.sv .chrome { stroke: var(--steel); }
.sv .chrome-fill { fill: var(--steel); }
.sv .pipe-cold { stroke: var(--blue); }
.sv .pipe-hot { stroke: var(--emergency); }
.sv .cold-dot { fill: var(--blue); } .sv .hot-dot { fill: var(--emergency); }
.sv .sv-label { font: 800 12px/1 var(--font); letter-spacing: .12em; fill: var(--heading); }
.sv .tile { fill: var(--surface); stroke: var(--line); stroke-width: 1; }
.sv .tile-alt { fill: var(--blue-soft); }
.sv .tray { fill: var(--heading); }
.sv .glass { fill: var(--blue); opacity: .28; }
.sv .stream { stroke: var(--blue); opacity: 0; }
.sv .valve-txt { font: 850 20px/1 var(--font); fill: var(--heading); font-variant-numeric: tabular-nums; }
.sv .cistern-water { fill: var(--blue); opacity: .55; transform-box: fill-box; transform-origin: 50% 100%; }
.sv .seat { stroke: var(--heading); }
.sv .bowl { fill: var(--blue); opacity: .35; }
.sv .swirl { stroke: var(--blue); opacity: 0; transform-box: fill-box; transform-origin: center; }
.sv .ok-check { stroke: var(--ok); }
.sv .drip { opacity: 0; }
.sv .house { fill: var(--surface); stroke: var(--heading); }
.sv .rad-body { fill: var(--surface); stroke: var(--heading); }
.sv .rad-heat { fill: var(--warm); opacity: .8; }
.sv .heat { stroke: var(--emergency); opacity: .6; }
.sv .fall-drop { opacity: 0; }

/* --- Play sequences: start states + keyframes apply only while .play is set --- */
@keyframes fadeIn { from { opacity: 0; } }
@keyframes draw { from { stroke-dashoffset: 1; } }
.play .pipe-cold[pathLength], .play .pipe-hot[pathLength] { stroke-dasharray: 1; animation: draw 1.4s var(--ease) both; }
.play .pipe-hot[pathLength] { animation-delay: .25s; }
.sv .fx { transform-box: fill-box; transform-origin: 50% 100%; }
.play .fx { animation: fxIn .5s var(--ease) both; }
.play .fx-toilet { animation-delay: 1.4s; } .play .fx-basin { animation-delay: 1.7s; } .play .fx-bath { animation-delay: 2s; }
@keyframes fxIn { from { opacity: 0; transform: translateY(-24px) scale(.92); } }
.play .legend { animation: fadeIn .4s both; }
.play .fall-drop { animation: fall 1s 2.7s ease-in both; }
@keyframes fall { 0% { opacity: 0; transform: none; } 4% { opacity: 1; } 90% { opacity: 1; transform: translateY(28px); } 100% { opacity: 0; transform: translateY(30px); } }

/* Showers */
.sv .riser { transform-box: fill-box; transform-origin: 100% 100%; }
.play .riser { animation: fxIn .6s .2s var(--ease) both; }
.play .valve-g { animation: fadeIn .4s .8s both; }
.play .stream { animation: stream .5s linear calc(1.4s + var(--i) * .06s) 5 both; }
@keyframes stream { 0% { opacity: .9; stroke-dashoffset: 0; } 100% { opacity: .9; stroke-dashoffset: -24; } }

/* Toilets */
.play .cistern-water { animation: fill 1.6s .2s var(--ease) both; }
@keyframes fill { from { transform: scaleY(0); } }
.play .flush { animation: press .5s 1.9s both; }
@keyframes press { 50% { transform: translateY(4px); } }
.play .swirl { animation: swirl 1.2s 2.2s linear both; }
@keyframes swirl { 0% { opacity: 0; stroke-dashoffset: 0; } 5% { opacity: .9; } 85% { opacity: .9; } 100% { opacity: 0; stroke-dashoffset: -120; } }
.play .ok-check { stroke-dasharray: 70; animation: tick .4s 3.2s ease-out both; }
@keyframes tick { from { stroke-dashoffset: 70; } to { stroke-dashoffset: 0; } }

/* Basins */
.play .drip { animation: drip .8s ease-in calc(var(--i) * .8s) 1 both; }
@keyframes drip { 0% { opacity: 1; transform: none; } 85% { opacity: 1; transform: translateY(24px); } 100% { opacity: 0; transform: translateY(26px); } }
.sv .spanner { transform-box: fill-box; transform-origin: 0% 100%; }
.play .spanner { animation: spanner 1.6s 1.6s var(--ease) both; }
@keyframes spanner { 0% { opacity: 0; transform: translate(40px, -30px); } 30% { opacity: 1; transform: none; } 45% { transform: rotate(-14deg); } 60% { transform: none; } 75% { transform: rotate(-14deg); } 100% { transform: none; } }
.play .basin-ok { animation-delay: 3.2s; }

/* Radiators */
.play .pipe-hot[pathLength] { animation-duration: 1.6s; }
.play .rad-room .rad-heat { animation: heatUp .8s calc(1.4s + var(--i) * .45s) both; }
.play .rad-room .heat { animation: heatUp .8s calc(1.7s + var(--i) * .45s) both; }
@keyframes heatUp { from { opacity: 0; } }

/* ---------- Reveal ---------- */
.rv { transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .rv.pre { opacity: 0; transform: translateY(18px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .pipe-drop { animation: none; }
  .js .ff-card.in-r, .js .ff-card.in-l { animation: fadeIn .2s both !important; animation-duration: .2s !important; }
  .js .rv.pre { opacity: 1; transform: none; }
  .sv .flow { animation: none; }
}
@media (max-width: 599px) { .svc-sub { display: none; } }

/* ---------- Quote breakdown ---------- */
.split-card { display: grid; gap: 8px; background: var(--blue-soft); border-radius: 16px; padding: clamp(16px, 3vw, 24px); }
.sc-row { display: grid; gap: 2px; background: var(--surface); border-radius: 12px; padding: 12px 16px; }
.sc-k { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; color: var(--blue-ink); }
.sc-v { font-size: 18px; font-weight: 760; color: var(--heading); line-height: 1.25; }
.sc-plus { text-align: center; font-weight: 900; font-size: 20px; color: var(--blue-ink); line-height: 1; }
.sc-eq { display: grid; gap: 10px; margin-top: 6px; padding: 14px 16px; border-radius: 12px; background: var(--heading); color: var(--paper); }
.sc-eq > span:first-child { font-weight: 850; font-size: 20px; }
.sc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sc-chips i { font-style: normal; font-size: 14px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: color-mix(in srgb, var(--paper) 16%, transparent); }

/* ---------- Meet Patrick ---------- */
.meet { display: grid; gap: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(20px, 3vw, 36px); }
.meet > * { min-width: 0; }
.meet-card { display: flex; gap: 16px; align-items: center; }
.mono { width: 88px; height: 88px; flex: none; border-radius: 24px; background: var(--heading); color: var(--paper); display: grid; place-items: center; font-size: 34px; font-weight: 900; letter-spacing: -0.02em; }
.meet-card b { display: block; font-size: clamp(1.5rem, 3.4vw, 2rem); font-weight: 850; color: var(--heading); line-height: 1.1; letter-spacing: -0.02em; }
.meet-card div span { color: var(--muted); font-weight: 600; }
@media (min-width: 900px) { .meet { grid-template-columns: .8fr 1.2fr; align-items: center; gap: 48px; } }
.ff-opts .ff-opt:last-child:nth-child(odd) { grid-column: 1 / -1; }
.ff-opts.one .ff-opt:last-child:nth-child(odd) { grid-column: auto; }
