:root {
  --ink: #15242d;
  --ink-2: #22343e;
  --enamel: #edf0ee;
  --paper: #f8f9f7;
  --verdigris: #2c7a69;
  --verdigris-deep: #1f5b4e;
  --verdigris-pale: #d5e6e0;
  --copper: #b0643a;
  --copper-light: #d99b72;
  --brass: #dca72a;
  --mist: #c6d0cc;
  --muted: #55656d;

  --font: "Archivo", system-ui, sans-serif;
  --gutter: clamp(20px, 4vw, 40px);
  --pipe-space: 0px;
  --radius-s: 6px;
  --radius-m: 12px;
}

@media (min-width: 1100px) {
  :root { --pipe-space: 96px; }
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--enamel);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, p, ul, dl, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--enamel); padding: 10px 14px; border-radius: var(--radius-s);
}
.skip:focus { top: 12px; }

.wrap {
  max-width: calc(1180px + var(--pipe-space));
  margin: 0 auto;
  padding: 0 var(--gutter) 0 calc(var(--gutter) + var(--pipe-space));
}

/* ---------- Type ---------- */

.hero-title, .h2, .contact-title, .contact-phone, .brand-word {
  font-stretch: 66%;
  font-weight: 800;
  letter-spacing: -0.005em;
}

.h2 {
  font-size: clamp(36px, 5vw, 60px);
  line-height: 0.95;
  max-width: 16ch;
  text-wrap: balance;
}

.section-lede {
  margin-top: 18px;
  max-width: 54ch;
  font-size: 18px;
  color: var(--muted);
}

/* ---------- Nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(237, 240, 238, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(21, 36, 45, 0.08);
}
.nav-inner {
  max-width: calc(1180px + var(--pipe-space));
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex; align-items: center; gap: 32px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; }
.bm-pipe { fill: none; stroke: var(--copper); stroke-width: 5; stroke-linecap: round; }
.bm-nut { fill: var(--ink); }
.brand-word { font-size: 30px; line-height: 1; letter-spacing: 0; }
.nav-links { display: flex; gap: 24px; margin-left: auto; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--ink-2); }
.nav-links a:hover { color: var(--verdigris); }
.nav-call {
  font-weight: 700; font-size: 15px; text-decoration: none;
  padding: 9px 16px; border-radius: 999px;
  background: var(--ink); color: var(--enamel);
}
.nav-call:hover { background: var(--verdigris-deep); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-call { margin-left: auto; }
}

/* ---------- Pipe ---------- */

.main { position: relative; }
.pipe {
  position: absolute; top: 0; left: 0;
  width: 100%;
  pointer-events: none;
  z-index: 1;
  display: none;
  overflow: visible;
}
@media (min-width: 1100px) { .pipe { display: block; } }

.pipe-body { fill: none; stroke: var(--copper); stroke-width: 12; stroke-linecap: round; stroke-linejoin: round; }
.pipe-shine { fill: none; stroke: var(--copper-light); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; transform: translate(-2.5px, 0); opacity: 0.7; }
.pipe-water { fill: none; stroke: #8fd3e8; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.pipe-clamp { fill: var(--ink); }
.pipe-label { font: 600 12px/1 var(--font); fill: var(--muted); }
.pipe-valve { fill: var(--brass); }
.pipe-valve-handle { fill: none; stroke: var(--brass); stroke-width: 6; stroke-linecap: round; }
.pipe-spout { fill: var(--copper); }
.pipe-drop { fill: #8fd3e8; opacity: 0; }
.pipe-drop.is-falling { animation: drop 1.6s ease-in infinite; }
@keyframes drop {
  0% { opacity: 0; transform: translateY(0) scale(0.6); }
  15% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(46px) scale(1); }
}
@media (prefers-reduced-motion: reduce) { .pipe-drop.is-falling { animation: none; opacity: 1; } }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px;
  border-radius: var(--radius-s);
  font: 700 16px/1 var(--font);
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--verdigris); color: #fff; }
.btn-primary:hover { background: var(--verdigris-deep); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--enamel); }
.btn-brass { background: var(--brass); color: var(--ink); }
.btn-brass:hover { background: #ecbc45; }
.btn-ghost-light { border-color: rgba(237, 240, 238, 0.5); color: var(--enamel); background: transparent; }
.btn-ghost-light:hover { border-color: var(--enamel); }

/* ---------- Hero ---------- */

.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 110px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.status {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--mist);
  font-size: 15px; font-weight: 600;
}
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #2bb673; box-shadow: 0 0 0 4px rgba(43, 182, 115, 0.18); }
.status.is-night .status-dot { background: var(--brass); box-shadow: 0 0 0 4px rgba(220, 167, 42, 0.2); }

.hero-title {
  margin-top: 26px;
  font-size: clamp(50px, 7.6vw, 104px);
  line-height: 0.9;
  max-width: 13ch;
  text-wrap: balance;
}
.hero-lede { margin-top: 26px; font-size: 20px; line-height: 1.5; max-width: 44ch; color: var(--ink-2); }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.proof {
  margin-top: 44px; padding-top: 22px;
  border-top: 1px solid var(--mist);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
  font-size: 14px; line-height: 1.4; color: var(--muted);
}
.proof strong { display: block; font-size: 26px; font-stretch: 70%; font-weight: 800; color: var(--ink); margin-bottom: 4px; }

.hero-figure { position: relative; }
.hero-figure img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius-m);
}
.hero-figure figcaption {
  position: absolute; left: 14px; bottom: 14px; right: 14px;
  width: fit-content;
  padding: 8px 12px; border-radius: var(--radius-s);
  background: rgba(21, 36, 45, 0.82); color: var(--enamel);
  font-size: 13px; line-height: 1.35;
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { order: -1; }
  .hero-figure img { aspect-ratio: 16 / 11; }
  .proof { grid-template-columns: 1fr; gap: 14px; }
  .proof li { display: flex; align-items: baseline; gap: 10px; }
  .proof strong { display: inline; font-size: 22px; margin: 0; }
}

/* ---------- Sections ---------- */

.section { position: relative; padding: clamp(64px, 8vw, 112px) 0; }
.section-tight { padding: clamp(48px, 6vw, 88px) 0; }
.section-ink { background: var(--ink); color: var(--enamel); }
.section-ink .section-lede { color: #a9b8bd; }
.section-tint { background: var(--verdigris-pale); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Services ---------- */

.services { margin-top: 56px; border-top: 2px solid var(--ink); }
.service {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 24px; align-items: center;
  padding: 24px 8px;
  border-bottom: 1px solid var(--mist);
}
.service:hover { background: var(--paper); }
.sym { width: 44px; height: 44px; fill: none; stroke: var(--verdigris); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { font-size: 22px; font-stretch: 80%; font-weight: 700; line-height: 1.2; }
.service p { color: var(--muted); max-width: 60ch; }
.service-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.service .service-meta { color: var(--ink); }
.price { font-size: 22px; font-weight: 800; font-stretch: 72%; white-space: nowrap; }
.dur { font-size: 14px; color: var(--muted); white-space: nowrap; }
@media (max-width: 640px) {
  .service { grid-template-columns: 40px minmax(0, 1fr); gap: 12px 16px; padding: 20px 0; }
  .sym { width: 34px; height: 34px; }
  .service-meta { grid-column: 2; flex-direction: row; align-items: baseline; gap: 12px; }
}

/* ---------- Estimator ---------- */

.estimate-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 960px) { .estimate-grid { grid-template-columns: 1fr; } }
.estimate-intro .h2 { max-width: 11ch; }

.order {
  background: var(--paper); color: var(--ink);
  border-radius: var(--radius-m);
  padding: 0 clamp(20px, 3vw, 36px) clamp(24px, 3vw, 36px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
.order-head {
  display: flex; justify-content: space-between;
  margin: 0 calc(-1 * clamp(20px, 3vw, 36px));
  padding: 14px clamp(20px, 3vw, 36px);
  border-bottom: 2px dashed var(--mist);
  font-size: 14px; font-weight: 600; color: var(--muted);
}
.step { border: 0; margin: 0; padding: 26px 0 0; min-width: 0; }
.step legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 14px; font-weight: 700; font-size: 18px; }
.step legend + * { clear: both; }
.step-no {
  display: inline-grid; place-items: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--ink); color: var(--enamel);
  font-size: 14px; font-weight: 700;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-block; padding: 10px 16px;
  border: 1.5px solid var(--mist); border-radius: 999px;
  font-size: 15px; font-weight: 600;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--enamel); }
.chip input:focus-visible + span { outline: 3px solid var(--brass); outline-offset: 2px; }

.select {
  width: 100%; min-height: 50px; padding: 0 44px 0 16px;
  border: 1.5px solid var(--mist); border-radius: var(--radius-s);
  font: 600 16px var(--font); color: var(--ink);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%2315242d' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 16px center;
  appearance: none;
}

.result {
  margin-top: 28px; padding: 20px 22px;
  border-radius: var(--radius-s);
  background: var(--ink); color: var(--enamel);
}
.result-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.result-row + .result-row { margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(237, 240, 238, 0.14); }
.result-label { font-size: 15px; color: #a9b8bd; }
.result-price { font-size: clamp(30px, 4vw, 40px); font-weight: 800; font-stretch: 68%; line-height: 1.1; }
.result-slot { font-size: 20px; font-weight: 700; }
.result-note { margin-top: 12px; font-size: 14px; color: #a9b8bd; }
.result.is-updated .result-price { animation: tick 0.35s ease-out; }
@keyframes tick { from { color: var(--brass); } to { color: var(--enamel); } }
@media (prefers-reduced-motion: reduce) { .result.is-updated .result-price { animation: none; } }

.book { margin-top: 18px; }
.book .btn, .book-form .btn { width: 100%; }
.book-form { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.book-form .btn, .book-form .field-error { grid-column: 1 / -1; }
@media (max-width: 520px) { .book-form { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.field input {
  min-height: 50px; padding: 0 14px;
  border: 1.5px solid var(--mist); border-radius: var(--radius-s);
  font: 500 16px var(--font); color: var(--ink); background: #fff;
}
.field input:focus { border-color: var(--ink); outline: none; }
.field input[aria-invalid="true"] { border-color: #c2412d; }
.field-error { color: #b03a26; font-size: 14px; font-weight: 600; }
.booked {
  margin-top: 18px; display: flex; gap: 14px; align-items: center;
  padding: 16px 18px; border-radius: var(--radius-s);
  background: var(--verdigris-pale); color: var(--verdigris-deep); font-weight: 600;
}
.booked svg { flex: none; width: 28px; height: 28px; fill: none; stroke: var(--verdigris); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Invoice ---------- */

.price-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
@media (max-width: 960px) { .price-grid { grid-template-columns: 1fr; } }
.rules { margin-top: 30px; display: grid; gap: 14px; }
.rules li { position: relative; padding-left: 30px; max-width: 52ch; }
.rules li::before {
  content: ""; position: absolute; left: 0; top: 0.5em;
  width: 16px; height: 9px;
  border-left: 2.5px solid var(--verdigris); border-bottom: 2.5px solid var(--verdigris);
  transform: rotate(-45deg) translateY(-3px);
}

.invoice {
  background: #fff; border-radius: 4px;
  padding: clamp(22px, 3vw, 36px);
  box-shadow: 0 1px 0 var(--mist), 0 24px 48px -28px rgba(21, 36, 45, 0.45);
  transform: rotate(1.2deg);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 960px) { .invoice { transform: none; } }
.invoice-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 18px; border-bottom: 2px solid var(--ink); }
.invoice-title { font-weight: 800; font-size: 20px; font-stretch: 80%; }
.invoice-sub { font-size: 14px; color: var(--muted); }
.stamp {
  flex: none;
  padding: 6px 12px; border: 2.5px solid var(--verdigris); border-radius: 4px;
  color: var(--verdigris); font-weight: 800; font-size: 16px;
  transform: rotate(-8deg);
}
.invoice-table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 15px; }
.invoice-table th { text-align: left; font-size: 13px; font-weight: 600; color: var(--muted); padding: 10px 0 6px; }
.invoice-table td { padding: 9px 0; border-bottom: 1px dotted var(--mist); vertical-align: top; }
.invoice-table th:last-child, .invoice-table td:last-child { text-align: right; padding-left: 16px; white-space: nowrap; }
.invoice-table tfoot td { border-bottom: 0; padding: 6px 0; color: var(--muted); }
.invoice-table tfoot tr:first-child td { padding-top: 16px; }
.invoice-table .invoice-total td { padding-top: 12px; border-top: 2px solid var(--ink); color: var(--ink); font-weight: 800; font-size: 20px; }

/* ---------- Works ---------- */

.works { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: end; }
.work img { width: 100%; border-radius: var(--radius-m); aspect-ratio: 3 / 2; object-fit: cover; }
.work figcaption { margin-top: 12px; font-size: 15px; color: var(--muted); max-width: 52ch; }
@media (max-width: 760px) { .works { grid-template-columns: 1fr; } }

/* ---------- Team ---------- */

.team { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
@media (max-width: 860px) { .team { grid-template-columns: 1fr; } }
.team-figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-m); }
.team-copy p { margin-top: 18px; max-width: 54ch; font-size: 18px; color: var(--ink-2); }
.team-copy .h2 { margin-bottom: 8px; }
.facts { margin-top: 36px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; border-top: 1px solid var(--mist); padding-top: 22px; }
.facts dt { font-size: 14px; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-size: 34px; font-weight: 800; font-stretch: 68%; line-height: 1; }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }

/* ---------- Reviews ---------- */

.reviews { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }
.review {
  padding: 28px; background: var(--paper); border-radius: var(--radius-m);
  display: flex; flex-direction: column; justify-content: space-between; gap: 22px;
}
.review p { font-size: 19px; line-height: 1.45; }
.review p::before {
  content: "★★★★★"; display: block; margin-bottom: 14px;
  color: var(--brass); letter-spacing: 3px; font-size: 15px;
}
.review footer { font-size: 15px; font-weight: 600; color: var(--verdigris-deep); }

/* ---------- Zone ---------- */

.zone { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 860px) { .zone { grid-template-columns: 1fr; } }
.zone-list { border-top: 2px solid var(--ink); }
.zone-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--mist);
  font-size: 18px;
}
.zone-list li span:last-child { font-weight: 800; font-stretch: 72%; font-size: 22px; white-space: nowrap; color: var(--verdigris-deep); }

/* ---------- FAQ ---------- */

.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }
.faq-list { border-top: 2px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--mist); }
.faq-list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; cursor: pointer; list-style: none;
  font-size: 19px; font-weight: 700;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.2s;
}
.faq-list details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq-list details p { padding: 0 0 22px; max-width: 60ch; color: var(--ink-2); }

/* ---------- Contact ---------- */

.section-end { padding-bottom: clamp(80px, 10vw, 140px); }
.contact { display: grid; justify-items: start; gap: 18px; }
.contact-title { font-size: clamp(32px, 4vw, 48px); line-height: 1; color: #a9b8bd; }
.contact-phone {
  font-size: clamp(64px, 12vw, 168px); line-height: 0.85;
  text-decoration: none; color: var(--enamel);
  font-stretch: 62%; font-weight: 900;
  font-variant-numeric: tabular-nums;
}
.contact-phone:hover { color: var(--brass); }
.contact-hours { font-size: 18px; color: #a9b8bd; max-width: 46ch; margin-bottom: 10px; }

/* ---------- Footer ---------- */

.footer { background: #0f1b22; color: #a9b8bd; padding: 32px 0 calc(32px + env(safe-area-inset-bottom)); font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer strong { color: var(--enamel); }
.demo-note a { color: var(--enamel); }

/* ---------- Mobile bar ---------- */

.mobile-bar { display: none; }
@media (max-width: 700px) {
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(237, 240, 238, 0.94);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(21, 36, 45, 0.1);
  }
  .mobile-bar .btn { min-height: 48px; }
  .footer { padding-bottom: 100px; }
}

/* ---------- Toast ---------- */

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 80;
  transform: translateX(-50%);
  max-width: min(92vw, 460px);
  padding: 14px 18px; border-radius: var(--radius-s);
  background: var(--ink); color: var(--enamel);
  font-size: 15px; line-height: 1.4;
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.5);
}
@media (max-width: 700px) { .toast { bottom: 88px; } }
