:root {
  --paper: #FBF7F0;
  --paper-2: #F3ECDF;
  --ink: #14213D;
  --ink-soft: #4A5268;
  --line: #E2D8C6;
  --accent: #F2A900;
  --accent-2: #FCEBC2;
  --accent-ink: #7A5200;
  --font-heading: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  --font-body: "Public Sans", system-ui, sans-serif;
  --radius: 14px;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-heading); line-height: 1.08; margin: 0 0 16px; letter-spacing: -0.01em; font-weight: 750; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.3rem; line-height: 1.2; }
p { margin: 0 0 16px; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 68ch; }
.lead { font-size: 1.1875rem; color: var(--ink-soft); max-width: 58ch; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 16px; }
.kicker::before { content: ""; width: 28px; height: 4px; border-radius: 2px; background: var(--accent); }
.section { padding: 104px 0; }
.section--tint { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink h2, .section--ink h3, .section--ink a { color: var(--paper); }
.section--ink .lead, .section--ink p { color: #D7DBE6; }
.section--ink .kicker { color: var(--accent); }
.sec-head { max-width: 720px; margin-bottom: 48px; }
@media (max-width: 767px) { .section { padding: 64px 0; } .sec-head { margin-bottom: 32px; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 24px; border-radius: 999px; font: 700 1rem/1.2 var(--font-body); text-decoration: none; border: 2px solid var(--ink); background: var(--ink); color: var(--paper); transition: transform .18s ease, background-color .18s ease, color .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--gold { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn--gold:hover { background: #FFBC1F; }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.section--ink .btn--line { color: var(--paper); border-color: var(--paper); }
.section--ink .btn--line:hover { background: var(--paper); color: var(--ink); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }

/* Header */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(251, 247, 240, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-head .kit-nav { width: min(100% - 32px, var(--wrap)); margin-inline: auto; min-height: 76px; padding: 0; background: transparent; border: 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font: 800 1.25rem/1 var(--font-heading); letter-spacing: -0.01em; }
.brand img { width: 40px; height: 40px; }
.site-head .kit-nav__menu a { font-weight: 600; font-size: 0.975rem; text-decoration: none; color: var(--ink); }
.site-head .kit-nav__menu a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.site-head .kit-nav__menu a.nav-call { background: var(--accent); color: var(--ink); border-radius: 999px; padding: 10px 18px; white-space: nowrap; }
.site-head .kit-nav__toggle { min-height: 44px; min-width: 44px; font-weight: 700; }

/* Hero */
.lh-hero { padding: 72px 0 96px; position: relative; overflow: hidden; }
.lh-hero__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .lh-hero__grid { grid-template-columns: 1.1fr .9fr; gap: 64px; } }
.lh-hero h1 { max-width: 13ch; }
.lh-hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--accent) 62%, var(--accent) 92%, transparent 92%); }
.lh-hero .lead { margin-bottom: 32px; }
.lh-hero__facts { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 32px 0 0; padding: 0; list-style: none; font-weight: 600; font-size: 0.975rem; }
.lh-hero__facts li { display: flex; align-items: center; gap: 8px; }
.lh-hero__facts li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--ink); background: var(--accent); }
.lh-hero__media { position: relative; }
.lh-hero__media img { border-radius: 28px 28px 28px 120px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.lh-hero__pipe { position: absolute; left: -36px; top: 40px; width: 120px; height: auto; }
.stamp { position: absolute; right: -12px; bottom: -28px; width: 150px; height: 150px; }
@media (max-width: 899px) { .lh-hero { padding: 40px 0 72px; } .lh-hero__media { max-width: 520px; } .lh-hero__media img { aspect-ratio: 5 / 4; } .lh-hero__pipe { display: none; } .stamp { width: 116px; height: 116px; right: 8px; bottom: -36px; } }

/* Route line: services as stations */
.route { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.route li { position: relative; padding: 0 0 40px 64px; }
.route li::before { content: ""; position: absolute; left: 17px; top: 8px; bottom: -8px; width: 8px; background: var(--accent); border-radius: 4px; }
.route li:last-child::before { display: none; }
.route__stop { position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--paper); border: 6px solid var(--ink); display: grid; place-items: center; font: 800 0.95rem/1 var(--font-heading); }
.section--tint .route__stop { background: var(--paper-2); }
.route h3 { margin-bottom: 8px; padding-top: 6px; }
.route p { color: var(--ink-soft); margin-bottom: 8px; }
.route a.more { font-weight: 700; }
@media (min-width: 960px) {
  .route--across { grid-template-columns: repeat(5, 1fr); gap: 24px; }
  .route--across li { padding: 72px 0 0; }
  .route--across li::before { left: 0; right: -24px; top: 17px; bottom: auto; width: auto; height: 8px; }
  .route--across li:first-child::before { left: 20px; }
  .route--across li:last-child::before { display: block; right: auto; width: 21px; }
  .route--across .route__stop { left: 0; top: 0; }
}

/* Cards & panels */
.grid { display: grid; gap: 24px; }
@media (min-width: 720px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 720px) and (max-width: 959px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.panel h3 { margin-bottom: 12px; }
.panel p:last-child, .panel ul:last-child { margin-bottom: 0; }
.ticks { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.45em; width: 14px; height: 8px; border-left: 3px solid var(--accent-ink); border-bottom: 3px solid var(--accent-ink); transform: rotate(-45deg); }
.section--ink .ticks li::before { border-color: var(--accent); }

.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } .split--rev > :first-child { order: 2; } }
.photo { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.photo--tall { aspect-ratio: 4 / 5; }

/* Service blocks (services page) */
.svc { padding: 72px 0; border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.svc:first-of-type { border-top: 0; }
.svc__num { font: 800 1rem/1 var(--font-heading); color: var(--accent-ink); display: block; margin-bottom: 12px; }
.svc__cols { display: grid; gap: 32px; }
@media (min-width: 900px) { .svc__cols { grid-template-columns: 1fr 1fr; gap: 64px; } .svc__cols > :first-child { position: sticky; top: 112px; align-self: start; } }
.note { font-size: 0.9375rem; color: var(--ink-soft); }

/* Page header */
.page-head { padding: 72px 0 56px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-head h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); max-width: 18ch; }
.page-head .pipe-deco { position: absolute; right: -10px; top: 24px; width: 260px; height: auto; opacity: 1; }
@media (max-width: 899px) { .page-head { padding: 48px 0 40px; } .page-head .pipe-deco { display: none; } }

/* Emergency */
.alert { background: var(--ink); color: var(--paper); border-radius: 20px; padding: 32px; display: grid; gap: 16px; }
.alert h2, .alert h3 { color: var(--paper); }
.alert p { color: #D7DBE6; }
.lh-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 16px; }
.lh-steps > li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 28px 28px 92px; position: relative; }
.lh-steps > li::before { content: counter(s); position: absolute; left: 24px; top: 24px; width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: var(--ink); font: 800 1.35rem/48px var(--font-heading); text-align: center; }
.lh-steps h3 { margin-bottom: 8px; }
.lh-steps p:last-child { margin-bottom: 0; }
@media (max-width: 600px) { .lh-steps > li { padding: 84px 20px 24px; } .lh-steps > li::before { left: 20px; top: 20px; } }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 1rem; }
th, td { text-align: left; vertical-align: top; padding: 16px 20px; border-bottom: 1px solid var(--line); }
thead th { background: var(--ink); color: var(--paper); font-family: var(--font-heading); font-weight: 700; font-size: 1.0625rem; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody th { font-weight: 700; }
.ph { display: inline-block; background: var(--accent-2); color: var(--accent-ink); border: 1.5px dashed var(--accent-ink); border-radius: 8px; padding: 2px 10px; font-weight: 700; font-size: 0.9375rem; white-space: nowrap; }
@media (max-width: 700px) {
  .price-table thead { display: none; }
  .price-table, .price-table tbody, .price-table tr, .price-table th, .price-table td { display: block; }
  .price-table tr { padding: 16px 20px; border-bottom: 1px solid var(--line); }
  .price-table th, .price-table td { padding: 4px 0; border: 0; }
  .price-table td[data-l]::before { content: attr(data-l); display: block; font-size: 0.875rem; font-weight: 700; color: var(--ink-soft); }
}

/* Area map */
.area-map { width: 100%; height: auto; max-width: 460px; margin-inline: auto; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font: 700 1.125rem/1.35 var(--font-heading); position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--accent-2); text-align: center; font: 700 1.25rem/28px var(--font-body); color: var(--ink); }
.faq details[open] summary::after { content: "\2212"; background: var(--accent); }
.faq details > div { padding: 0 24px 20px; color: var(--ink-soft); }
.faq details > div p:last-child { margin: 0; }

/* Form */
.req-grid { display: grid; gap: 48px; }
@media (min-width: 960px) { .req-grid { grid-template-columns: 1.4fr .8fr; align-items: start; } .req-grid aside { position: sticky; top: 100px; } }
.form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: grid; gap: 20px; }
.form .row { display: grid; gap: 20px; }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 0.975rem; }
.field .hint { font-size: 0.875rem; color: var(--ink-soft); margin: 0; }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid #CFC4AF; border-radius: 10px; padding: 12px 14px; min-height: 48px; width: 100%; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--ink); }
.req { color: var(--accent-ink); }
[data-sd-status]:empty { display: none; }
[data-sd-status] { font-weight: 700; margin: 0; }

/* CTA band */
.section--ink:has(.cta) { background: var(--accent); color: var(--ink); }
.section--ink:has(.cta) h2, .section--ink:has(.cta) p { color: var(--ink); }
.section--ink:has(.cta) .btn--gold { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.section--ink:has(.cta) .btn--line { color: var(--ink); border-color: var(--ink); }
.section--ink:has(.cta) .btn--line:hover { background: var(--ink); color: var(--paper); }
.site-foot .brand img { box-shadow: 0 0 0 2px rgba(251, 247, 240, .3); border-radius: 10px; }
.cta { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .cta { grid-template-columns: 1fr auto; } }
.cta h2 { margin-bottom: 8px; }
.cta p { margin: 0; }

/* Footer */
.site-foot { background: var(--ink); color: #D7DBE6; padding: 72px 0 32px; }
.site-foot a { color: var(--paper); }
.foot-grid { display: grid; gap: 40px; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-foot .brand { color: var(--paper); margin-bottom: 16px; }
.site-foot h2 { font-size: 1rem; color: var(--paper); margin-bottom: 12px; font-family: var(--font-body); font-weight: 700; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-phone { font: 800 1.6rem/1.2 var(--font-heading); text-decoration: none; }
.foot-base { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 0.875rem; }

/* Phone call bar */
.callbar { display: none; }
@media (max-width: 767px) {
  body { padding-bottom: 76px; }
  .callbar { display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--ink); }
  .callbar .btn { min-height: 52px; padding: 10px 12px; font-size: 0.975rem; }
  .callbar .btn--line { color: var(--paper); border-color: rgba(255,255,255,.5); }
}
