@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/onest-cyrillic.c3f4223046.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/onest-latin.cc61cbd632.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/onest-latin-ext.f72bdc7559.woff2') format('woff2');
  unicode-range: U+20BD, U+2116;
}

:root {
  color-scheme: light;
  --paper: #fbfaf7;
  --milk: #f4f1ea;
  --sand: #e9e4da;
  --stone: #d9d3c7;
  --line: rgba(31, 34, 38, 0.12);
  --line-strong: rgba(31, 34, 38, 0.22);
  --ink: #1f2226;
  --ink-2: #474b52;
  --muted: #5f636a;
  --blue: #1f5bc7;
  --blue-ink: #17489e;
  --blue-soft: #e8eefa;
  --ok: #1d6b3f;
  --err: #a12a1c;
  --radius: 14px;
  --radius-s: 8px;
  --gutter: 16px;
  --max: 1200px;
  --header-h: 64px;
  --font: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --shadow-card: 0 1px 0 rgba(31, 34, 38, 0.04), 0 24px 48px -28px rgba(31, 34, 38, 0.35);
}
@media (min-width: 760px) {
  :root { --gutter: 32px; --header-h: 72px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--font);
  font-feature-settings: 'tnum' 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
html.has-sticky body { padding-bottom: 84px; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--blue-ink); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.022em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; color: #fff; }
[hidden] { display: none !important; }

/* ---------- кнопки ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg); font: 600 16px/1.1 var(--font); letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer; transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { color: var(--fg); background: #33373d; transform: translateY(-1px); box-shadow: 0 10px 24px -14px rgba(31, 34, 38, 0.6); }
.btn:active { transform: translateY(0); }
.btn--blue { --bg: var(--blue); }
.btn--blue:hover { background: var(--blue-ink); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: rgba(31, 34, 38, 0.05); color: var(--ink); box-shadow: none; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.btn[data-state='busy']::after { content: ''; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- шапка ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(251, 250, 247, 0.0); transition: background-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-scrolled { background: rgba(251, 250, 247, 0.94); box-shadow: 0 1px 0 var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: none; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; letter-spacing: 0.06em; font-size: 17px; white-space: nowrap; }
.brand__mark { width: 40px; height: 28px; flex: none; }
.brand__accent { color: var(--blue); font-weight: 600; }
.nav { display: none; gap: 28px; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--ink); }
.header-cta { min-height: 42px; padding: 0 16px; font-size: 15px; }
@media (min-width: 980px) { .nav { display: flex; } }
@media (max-width: 420px) { .header-cta span { display: none; } .header-cta { padding: 0 12px; } }

/* ---------- сцена ---------- */
.scene { position: relative; background: var(--milk); }
.scene__stage { position: relative; height: 100vh; height: 100lvh; overflow: hidden; }
.scene__poster {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 18% 8%, #fffdf8 0%, rgba(255, 253, 248, 0) 60%),
    linear-gradient(160deg, #f3f0e9 0%, #e9e5dc 100%);
}
.scene canvas, .scene__overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene canvas { opacity: 0; transition: opacity 0.9s ease; }
.scene--ready canvas { opacity: 1; }
.scene__overlay { pointer-events: none; overflow: visible; }
.scene__cards { position: absolute; inset: 0; pointer-events: none; }
.scene__dust-label { display: none; }

.card {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 16px;
  pointer-events: auto;
  background: rgba(251, 250, 247, 0.97);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 22px 20px 22px;
}
.card__kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue-ink); margin-bottom: 12px; }
.card__kicker::before { content: ''; width: 18px; height: 1px; background: currentColor; }
.card h2 { font-size: clamp(26px, 6.6vw, 40px); margin-bottom: 12px; }
.card p { color: var(--ink-2); }
.card p + p { margin-top: 10px; }
.card .btn-row { margin-top: 20px; }

.card--hero { bottom: 16px; top: auto; }
.card--hero h1 { font-size: clamp(31px, 8.6vw, 64px); margin-bottom: 14px; }
.card--hero .hero-lead { font-size: clamp(16px, 4.2vw, 20px); color: var(--ink-2); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 16px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.eyebrow { font-size: 14px; color: var(--muted); margin-bottom: 14px; font-weight: 500; }

@media (min-width: 760px) {
  .card { left: var(--gutter); right: auto; bottom: auto; top: 50%; transform: translateY(-50%); width: min(500px, 40vw); padding: 34px 34px 32px; }
  .card--hero { width: min(620px, 52vw); top: calc(50% + var(--header-h) / 2); }
}

/* живой режим: высокая сцена, липкая сцена, карточки сменяют друг друга */
.scene--live { height: 520vh; }
.scene--live .scene__stage { position: sticky; top: 0; }
.scene--live .card { opacity: 0; visibility: hidden; transition: opacity 0.45s ease, visibility 0s linear 0.45s, translate 0.45s ease; translate: 0 18px; }
.scene--live .card.is-active { opacity: 1; visibility: visible; translate: 0 0; transition: opacity 0.5s ease 0.05s, visibility 0s, translate 0.5s ease 0.05s; }
@media (max-width: 759px) {
  .scene--live { height: 440vh; }
  .scene--live .card:not(.card--hero) { padding: 18px 18px; }
  .scene--live .card:not(.card--hero) h2 { font-size: 24px; }
  .scene--live .card:not(.card--hero) p { font-size: 15.5px; }
  .scene--live .card:not(.card--hero) p + p { display: none; }
  .card--hero .btn { font-size: 15px; padding: 0 18px; }
}

/* статичный режим (reduced motion, нет WebGL, слабое устройство): обычный поток */
.scene--static .scene__stage, html:not(.js) .scene__stage { height: auto; overflow: visible; padding: calc(var(--header-h) + 8px) 0 0; }
.scene--static canvas, .scene--static .scene__overlay, .scene--static .progress,
html:not(.js) canvas, html:not(.js) .scene__overlay, html:not(.js) .progress { display: none; }
.scene--static .scene__poster, html:not(.js) .scene__poster { display: none; }
.scene--static .scene__cards, html:not(.js) .scene__cards { position: static; display: grid; gap: 16px; padding: 0 var(--gutter) 56px; max-width: var(--max); margin: 0 auto; }
.scene--static .card, html:not(.js) .card { position: static; transform: none; width: auto; opacity: 1; visibility: visible; translate: none; box-shadow: none; }
.scene--static .scene__still, html:not(.js) .scene__still { display: block; }
.scene__still { display: none; padding: 0 var(--gutter) 16px; max-width: var(--max); margin: 0 auto; }
@media (min-width: 900px) {
  .scene--static .scene__cards, html:not(.js) .scene__cards { grid-template-columns: 1fr 1fr; }
  .scene--static .card--hero, html:not(.js) .card--hero { grid-column: 1 / -1; }
}

/* индикатор глав */
.progress { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); display: none; flex-direction: column; gap: 6px; z-index: 3; }
.progress button {
  display: grid; grid-template-columns: auto 10px; align-items: center; gap: 12px; justify-items: end;
  border: 0; background: none; padding: 6px 0; cursor: pointer; color: var(--muted); font: 500 13px/1 var(--font);
}
.progress button span { opacity: 0; transform: translateX(6px); transition: opacity 0.25s, transform 0.25s; background: rgba(251, 250, 247, 0.95); padding: 5px 8px; border-radius: 6px; }
.progress button::after { content: ''; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--ink-2); background: transparent; transition: background-color 0.25s, transform 0.25s; }
.progress button[aria-current='step']::after { background: var(--ink); transform: scale(1.25); }
.progress button:hover span, .progress button:focus-visible span, .progress button[aria-current='step'] span { opacity: 1; transform: none; }
.progress__bar { position: absolute; right: 3.5px; top: 10px; bottom: 10px; width: 1px; background: var(--line-strong); z-index: -1; }
.progress__bar::after { content: ''; position: absolute; inset: 0 0 auto; height: calc(var(--p, 0) * 100%); background: var(--ink); }
@media (min-width: 1100px) { .scene--live .progress { display: flex; } }

/* ---------- сравнение до/после ---------- */
.compare { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 16 / 10; background: var(--sand); --pos: 50%; user-select: none; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__after { clip-path: inset(0 0 0 var(--pos)); }
.compare__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(31, 34, 38, 0.15); pointer-events: none; }
.compare__line::after {
  content: '‹ ›'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center;
  font: 600 16px/1 var(--font); box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.45); letter-spacing: 2px;
}
.compare input[type='range'] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare input[type='range']:focus-visible + .compare__line::after { outline: 3px solid var(--blue); outline-offset: 2px; }
.compare__tag { position: absolute; top: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(251, 250, 247, 0.95); font-size: 13px; font-weight: 600; pointer-events: none; }
.compare__tag--before { left: 12px; }
.compare__tag--after { right: 12px; }
.figure-note { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* ---------- секции ---------- */
.section { padding: 72px 0; }
.section--milk { background: var(--milk); }
.section--line { border-top: 1px solid var(--line); }
@media (min-width: 760px) { .section { padding: 112px 0; } }
.section__head { display: grid; gap: 14px; margin-bottom: 36px; max-width: 760px; }
.section__kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-ink); }
.section__head h2 { font-size: clamp(30px, 5.4vw, 52px); }
.section__head p { font-size: clamp(17px, 2vw, 19px); color: var(--ink-2); }

/* полоса фактов */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts li { list-style: none; padding: 22px 20px 22px 0; display: grid; gap: 4px; }
.facts li + li { border-top: 1px solid var(--line); }
.facts b { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.facts span { color: var(--muted); font-size: 15px; }
@media (min-width: 760px) {
  .facts li + li { border-top: 0; border-left: 1px solid var(--line); padding-left: 24px; }
}
.facts { margin: 0; padding: 0; }

/* прайс */
.prices { display: grid; gap: 28px; }
@media (min-width: 980px) { .prices { grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: start; } }
.price-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.price-list li { display: flex; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.price-list .t { flex: 1; font-size: 18px; }
.price-list .t small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.price-list .v { font-weight: 600; font-size: 20px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-sub { margin-top: 28px; }
.price-sub h3 { font-size: 20px; margin-bottom: 4px; }
.notes { margin: 28px 0 0; padding: 22px 22px 22px 22px; list-style: none; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 12px; }
.notes li { position: relative; padding-left: 22px; color: var(--ink-2); font-size: 15.5px; }
.notes li::before { content: ''; position: absolute; left: 2px; top: 0.62em; width: 8px; height: 8px; border-radius: 2px; background: var(--blue); }
.notes li strong { color: var(--ink); font-weight: 600; }

/* калькулятор */
.calc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; box-shadow: var(--shadow-card); }
@media (min-width: 980px) { .calc { position: sticky; top: calc(var(--header-h) + 20px); padding: 28px; } }
.calc h3 { font-size: 22px; margin-bottom: 6px; }
.calc > p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.calc fieldset { border: 0; margin: 0; padding: 0; }
.calc legend { padding: 0; font-weight: 600; margin-bottom: 8px; font-size: 15px; }
.qty { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.qty label { font-size: 15.5px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; }
.stepper button { width: 40px; height: 40px; border: 0; background: none; font: 500 20px/1 var(--font); color: var(--ink); cursor: pointer; border-radius: 999px; }
.stepper button:hover { background: rgba(31, 34, 38, 0.06); }
.stepper input { width: 36px; text-align: center; border: 0; background: transparent; font: 600 16px var(--font); color: var(--ink); -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.area { width: 96px; min-height: 40px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 999px; font: 500 16px var(--font); text-align: right; background: #fff; }
.checks { display: grid; gap: 8px; margin-top: 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); flex: none; }
.calc__result { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--ink); }
.calc__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.calc__total span { color: var(--muted); font-size: 15px; }
.calc__total output { font-size: 30px; font-weight: 650; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.calc__lines { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 4px; font-size: 14px; color: var(--muted); }
.calc__lines li { display: flex; justify-content: space-between; gap: 12px; }
.calc__note { margin-top: 12px; font-size: 14.5px; color: var(--ink-2); }
.calc__error { color: var(--err); font-size: 14px; margin-top: 8px; }

/* шаги */
.steps { counter-reset: step; display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 56px 1fr; gap: 4px 16px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); grid-row: span 2; font-size: 15px; font-weight: 600; color: var(--blue-ink); padding-top: 4px; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 21px; }
.steps p { color: var(--ink-2); }
@media (min-width: 980px) {
  .steps { grid-template-columns: repeat(5, 1fr); border-top: 0; gap: 0; }
  .steps li { grid-template-columns: 1fr; border-bottom: 0; border-top: 1px solid var(--ink); padding: 22px 22px 0 0; }
  .steps li::before { grid-row: auto; margin-bottom: 18px; }
}

/* оборудование и подход */
.grid-2 { display: grid; gap: 16px; }
.grid-3 { display: grid; gap: 16px; }
@media (min-width: 760px) { .grid-2 { grid-template-columns: 1fr 1fr; gap: 24px; } .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.tile { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; display: grid; gap: 10px; align-content: start; }
.section--milk .tile { background: var(--paper); }
.tile h3 { font-size: 21px; }
.tile p { color: var(--ink-2); font-size: 16px; }
.tile__label { font-size: 13px; color: var(--muted); font-weight: 500; }
.tile img { border-radius: var(--radius-s); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.disclaimer { margin-top: 20px; font-size: 14px; color: var(--muted); max-width: 760px; }

/* загрязнения */
.stains { display: grid; gap: 0; border-top: 1px solid var(--line); }
.stain { display: grid; gap: 6px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.stain h3 { font-size: 20px; }
.stain p { color: var(--ink-2); }
@media (min-width: 760px) { .stains { grid-template-columns: 1fr 1fr; column-gap: 48px; } }

/* сушка */
.care { display: grid; gap: 24px; }
@media (min-width: 900px) { .care { grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; } }
.care__big { font-size: clamp(56px, 10vw, 104px); font-weight: 600; letter-spacing: -0.04em; line-height: 0.95; }
.care__big small { display: block; font-size: 18px; letter-spacing: 0; font-weight: 500; color: var(--muted); margin-top: 10px; }
.dos { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.dos li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; }
.dos li::before { content: '—'; color: var(--blue); font-weight: 600; }

/* FAQ */
.faq { border-top: 1px solid var(--ink); max-width: 880px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .a { padding: 0 0 22px; color: var(--ink-2); max-width: 720px; display: grid; gap: 10px; }

/* финальный блок */
.final { background: var(--ink); color: #f4f2ee; }
.final .section__kicker { color: #9fbcf3; }
.final .section__head p { color: #c9cbcf; }
.final a:not(.btn) { color: #cfdcf7; }
.contact-grid { display: grid; gap: 24px; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; } }
.messengers { display: grid; gap: 16px; align-content: start; }
.messengers .btn { width: 100%; }
.btn--light { --bg: #fff; --fg: var(--ink); }
.btn--light:hover { background: #ecebe7; color: var(--ink); }
.btn--outline-light { --bg: transparent; --fg: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.template { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius); padding: 16px; display: grid; gap: 10px; }
.template label { font-size: 14px; color: #c9cbcf; }
.template textarea { width: 100%; resize: none; border: 0; background: transparent; color: #fff; font: 400 16px/1.5 var(--font); padding: 0; }
.template .btn { min-height: 42px; justify-self: start; font-size: 14px; }
.final .muted { color: #b4b7bc; font-size: 14.5px; }
.no-contacts { padding: 20px; border: 1px dashed rgba(255, 255, 255, 0.3); border-radius: var(--radius); color: #d7d8db; }

/* форма */
.lead-box { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: 24px 20px; }
@media (min-width: 760px) { .lead-box { padding: 32px; } }
.lead-box h3 { font-size: 24px; margin-bottom: 6px; }
.lead-box > p { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label, .field legend { font-size: 14.5px; font-weight: 600; padding: 0; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input[type='text'], .field input[type='tel'], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 10px;
  background: #fff; color: var(--ink); font: 400 16px/1.4 var(--font);
}
.field textarea { min-height: 96px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field [aria-invalid='true'] { border-color: var(--err); box-shadow: 0 0 0 3px rgba(161, 42, 28, 0.12); }
.field__error { color: var(--err); font-size: 14px; min-height: 0; }
.field__error:empty { display: none; }
.segmented { border: 0; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; }
.segmented .opts { display: flex; flex-wrap: wrap; gap: 8px; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segmented span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 15px; font-weight: 500; }
.segmented input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.segmented input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.row-2 { display: grid; gap: 0 14px; }
@media (min-width: 560px) { .row-2 { grid-template-columns: 1fr 1fr; } }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); margin: 6px 0 4px; }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--blue); flex: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.lead-box .btn { width: 100%; margin-top: 12px; }
.status { margin-top: 14px; font-size: 15px; padding: 0; border-radius: 10px; }
.status:empty { display: none; }
.status[data-kind='ok'] { color: var(--ok); background: #e7f3ec; padding: 14px 16px; }
.status[data-kind='error'] { color: var(--err); background: #fbeceb; padding: 14px 16px; }
.status[data-kind='info'] { color: var(--muted); }
.lead-box__note { font-size: 14px; color: var(--muted); margin-top: 12px; }

/* отзывы и кейсы */
.reviews { display: grid; gap: 16px; }
@media (min-width: 760px) { .reviews { grid-template-columns: repeat(2, 1fr); } }
.review { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; }
.review footer { color: var(--muted); font-size: 14px; }

/* подвал */
.site-footer { background: #17191c; color: #c4c6ca; padding: 48px 0 40px; font-size: 14.5px; }
.site-footer a { color: #e3e5e8; }
.footer-grid { display: grid; gap: 24px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-footer h2 { font-size: 15px; color: #fff; letter-spacing: 0; margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer .small { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); color: #9a9da3; font-size: 13px; display: grid; gap: 6px; }

/* мобильная кнопка */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(251, 250, 247, 0.97); box-shadow: 0 -1px 0 var(--line);
  transform: translateY(110%); transition: transform 0.3s ease;
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta .btn { width: 100%; }
@media (min-width: 760px) { .sticky-cta { display: none; } html.has-sticky body { padding-bottom: 0; } }

/* cookie */
.cookie {
  position: fixed; left: var(--gutter); right: var(--gutter); bottom: 16px; z-index: 60; max-width: 560px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card);
  padding: 18px; display: grid; gap: 12px; font-size: 14.5px;
}
.cookie .btn { min-height: 42px; font-size: 14.5px; }

/* баннер тестовой версии */
.staging-banner { position: fixed; left: 8px; bottom: 8px; z-index: 70; background: #f5d76e; color: #2b2300; font: 600 11px/1 var(--font); padding: 5px 8px; border-radius: 6px; pointer-events: none; }

/* юридические страницы */
.doc { padding: calc(var(--header-h) + 40px) 0 80px; }
.doc .wrap { max-width: 820px; }
.doc h1 { font-size: clamp(30px, 5vw, 44px); margin-bottom: 12px; }
.doc h2 { font-size: 22px; margin: 36px 0 10px; }
.doc p, .doc li { color: var(--ink-2); }
.doc p + p { margin-top: 10px; }
.doc ul, .doc ol { padding-left: 22px; display: grid; gap: 6px; }
.doc .meta { color: var(--muted); font-size: 15px; }
.doc .todo { background: #fff6d6; border: 1px solid #ecd27a; padding: 2px 6px; border-radius: 4px; color: #4a3b00; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

.equipment { margin-top: 24px; }
