@charset "utf-8";
/* ==========================================================================
   Кузница душ — новая вёрстка
   Графит, янтарь, Unbounded в заголовках, Onest в тексте.
   Волосяные линии вместо карточек, один акцент на экран.
   ========================================================================== */

/* ---------- Шрифты ---------- */
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/unbounded-var-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/unbounded-var-latin.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 600;
  font-display: swap;
  src: url("../fonts/onest-var-cyrillic.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 600;
  font-display: swap;
  src: url("../fonts/onest-var-latin.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;
}

/* ---------- Токены ---------- */
:root {
  --bg: #12100e;
  --surface: #1a1714;
  --surface-2: #221d18;
  --ink: #f2ece2;
  --muted: #a2968a;
  --line: #322b24;
  --accent: #e9a93a;
  --accent-ink: #14100c;
  --accent-soft: #382c14;

  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-lg: 20px;
  --container: 1120px;
  --gutter: clamp(18px, 4vw, 40px);
  --nav-h: 60px;

  color-scheme: dark;
}

/* Светлая тема: тот же характер, инвертированные уровни */
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f4f0e9;
    --surface: #fbf8f3;
    --surface-2: #efe9df;
    --ink: #1c1917;
    --muted: #6e655b;
    --line: #ded6c9;
    --accent: #a2661f;
    --accent-ink: #ffffff;
    --accent-soft: #eddfc9;
    color-scheme: light;
  }
}

/* ---------- База ---------- */
* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--display);
  margin: 0;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

p { margin: 0; }
a { color: var(--accent); }
img { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(56px, 7vw, 96px);
  scroll-margin-top: calc(var(--nav-h) + 12px);
}
.section--seam { border-top: 1px solid var(--line); }

.stack { display: flex; flex-direction: column; gap: 18px; }
.stack-lg { display: flex; flex-direction: column; gap: 32px; }

.prose { max-width: 66ch; }
.prose p + p { margin-top: 14px; }

.eyebrow {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.lead {
  font-size: clamp(17px, 1.9vw, 20px);
  line-height: 1.5;
  color: var(--muted);
  max-width: 46ch;
}
.muted { color: var(--muted); }
.note { font-size: 13px; color: var(--muted); line-height: 1.55; }
.small { font-size: 14px; }

h2 { font-size: clamp(28px, 4vw, 46px); margin-top: 12px; }

/* Калёная линия под заголовком: графит переходит в янтарь */
.rule {
  width: 88px;
  height: 2px;
  margin-top: 20px;
  background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 26%, var(--accent) 100%);
}

/* ---------- Кнопки ---------- */
.btn {
  appearance: none;
  border: 0;
  border-radius: var(--radius);
  font: 600 16px/1 var(--body);
  padding: 18px 26px;
  cursor: pointer;
  background: var(--accent);
  color: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  text-align: center;
  transition: filter 0.15s, border-color 0.15s, background 0.15s, transform 0.08s;
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(1px); }
.btn.ghost, .btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn.ghost:hover, .btn--ghost:hover { border-color: var(--ink); filter: none; }
.btn[disabled] { opacity: 0.5; pointer-events: none; }
.btn-sm { padding: 11px 16px; font-size: 14px; border-radius: 12px; }

.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid #ffffff;
}
.btn--outline:hover { background: rgba(255, 255, 255, 0.09); filter: none; }

.link-quiet {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
}
.link-quiet:hover { color: var(--ink); border-bottom-color: var(--accent); }

.btn:focus-visible, a:focus-visible, label.checkbox:focus-within {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
input:focus, select:focus, textarea:focus { outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--muted); }

/* ---------- Шапка ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 14px;
}
.brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.btn { color: var(--accent-ink); }

/* ---------- Первый экран ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--bg);
  display: flex;
  align-items: flex-end;
  min-height: min(86vh, 800px);
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: brightness(1.2) contrast(1.04) saturate(1.05);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(18, 16, 14, 0.92) 0%, rgba(18, 16, 14, 0.66) 44%, rgba(18, 16, 14, 0.08) 100%),
    linear-gradient(180deg, rgba(18, 16, 14, 0.42) 0%, rgba(18, 16, 14, 0) 30%, rgba(18, 16, 14, 0.72) 100%);
}
.hero__inner { padding-block: clamp(56px, 9vw, 110px) clamp(40px, 5vw, 64px); width: 100%; }
.hero .eyebrow { color: var(--accent); }
.hero h1 {
  margin-top: 16px;
  font-size: clamp(48px, 9.2vw, 116px);
  line-height: 0.94;
  letter-spacing: -0.035em;
  max-width: 12ch;
}
.hero__sub {
  margin-top: 16px;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(17px, 2.2vw, 26px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--muted);
  max-width: 24ch;
}
.hero__offer {
  margin-top: 40px;
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.5;
  max-width: 46ch;
  color: var(--ink);
}
.hero__actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
.hero__note { margin-top: 32px; font-size: 14px; line-height: 1.65; color: var(--muted); max-width: 52ch; }
.hero__legal { margin-top: 12px; font-size: 12px; color: var(--muted); opacity: 0.72; max-width: 56ch; }

/* ---------- Блок с пластиной ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
.split--left { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.split--left .plate { order: -1; }
.split__body { min-width: 0; }

.plate { margin: 0; min-width: 0; }
.plate img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.plate figcaption,
.band figcaption {
  margin-top: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.plate figcaption::before,
.band figcaption::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent);
  flex: 0 0 auto;
}

.note-line {
  margin-top: 26px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 52ch;
}
.note-line b { color: var(--accent); font-weight: 600; }

/* ---------- Полоса ---------- */
.band { margin: 0; }
.band img { width: 100%; height: auto; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band figcaption { max-width: var(--container); margin: 12px auto 0; padding-inline: var(--gutter); }

/* ---------- Списки без карточек ---------- */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 48px;
  margin-top: 8px;
}
.quote-item { padding-block: 22px 26px; border-top: 1px solid var(--line); }
.quote-item__text {
  font-family: var(--display);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.3;
  color: var(--ink);
}
.quote-item p { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--muted); }

.list-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
}
.list-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 32px;
}
.list-item { padding-block: 22px 26px; border-top: 1px solid var(--line); }
.list-item h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.015em; }
.list-item p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--muted); }

.results-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
}
.result-item { padding-block: 22px 26px; border-top: 1px solid var(--line); }
.result-item__num { font-family: var(--display); font-size: 12px; font-weight: 600; color: var(--accent); letter-spacing: 0.06em; }
.result-item h3 { margin-top: 6px; font-size: 20px; font-weight: 500; }
.result-item p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--muted); }

/* ---------- Саботаж ---------- */
.sabotage {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line));
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: 0 40px 90px -80px color-mix(in srgb, var(--accent) 80%, transparent);
}
.sabotage .eyebrow { color: var(--accent); }
.sabotage h2 { font-size: clamp(26px, 3.6vw, 40px); }
.sabotage p { color: var(--muted); font-size: clamp(16px, 1.8vw, 18px); line-height: 1.6; max-width: 62ch; }
.sabotage .sabotage-out {
  color: var(--ink);
  font-weight: 500;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

/* ---------- Маршруты ---------- */
.routes {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.route {
  padding: 26px 28px 34px 0;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.route + .route { padding-left: 28px; }
.route:last-child { border-right: 0; padding-right: 0; }
.route__name {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.route h3 { margin-top: 8px; font-size: 22px; font-weight: 500; line-height: 1.2; }
.route p { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.route--open .route__name { color: var(--accent); }
.route--open h3 { color: var(--accent); }
.price {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--accent);
}

/* ---------- Проводник ---------- */
.guide {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.guide-side {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.guide-side h3 {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.guide-side p { font-size: 16px; line-height: 1.5; }
.guide-side--mine {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  background: var(--accent-soft);
}
.guide-side--mine h3 { color: var(--accent); }
.guide-side--mine p { color: var(--ink); }

.quote {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 32px;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.4;
  color: var(--ink);
  max-width: 62ch;
}

/* ---------- Факты ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0 40px;
  margin-top: 40px;
}
.fact { padding-block: 20px 24px; border-top: 1px solid var(--line); }
.fact b { display: block; font-size: 15px; font-weight: 600; }
.fact span { display: block; margin-top: 6px; color: var(--muted); font-size: 15px; line-height: 1.55; }

/* ---------- Форма ---------- */
.form-wrap {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 64px);
  margin-top: 40px;
  align-items: start;
}

.steps { list-style: none; margin: 0; padding: 0; }
.steps .step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding-block: 18px;
  border-top: 1px solid var(--line);
}
.steps .step:last-child { border-bottom: 1px solid var(--line); }
.steps .step-num { font-family: var(--display); font-size: 12px; font-weight: 600; color: var(--accent); padding-top: 3px; }
.steps h3 { font-family: var(--display); font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.steps p { margin-top: 6px; font-size: 14px; line-height: 1.55; color: var(--muted); }

.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 30px);
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13px; font-weight: 500; color: var(--muted); }
.field .hint { font-size: 12px; color: var(--muted); }
.label-like { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 500; color: var(--muted); }

input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%;
  font: 500 15px/1.45 var(--body);
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 15px;
  transition: border-color 0.15s;
}
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 0.7; }
input:hover, select:hover, textarea:hover { border-color: var(--muted); }
textarea { resize: vertical; min-height: 104px; }
select { appearance: none; cursor: pointer; }

/* Поле в фокусе: только подсветка края, без жёлтой обводки */
input[type="text"]:focus, input[type="tel"]:focus, input[type="email"]:focus,
select:focus, textarea:focus { outline: none; border-color: var(--muted); }

.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.radios { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }

label.radio {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
label.radio:hover { border-color: var(--muted); }
label.radio:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
label.radio input {
  appearance: none;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 1px solid var(--line);
  margin: 0;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: var(--surface);
}
label.radio input:checked { border-color: var(--accent); background: var(--accent); }
label.radio input:checked::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-ink);
}

label.checkbox {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  cursor: pointer;
  border-radius: 10px;
}
label.checkbox input {
  appearance: none;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin: 1px 0 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg);
  display: grid;
  place-items: center;
  cursor: pointer;
}
label.checkbox input:checked { background: var(--accent); border-color: var(--accent); }
label.checkbox input:checked::after {
  content: "✓";
  color: var(--accent-ink);
  font-size: 12px;
  line-height: 1;
}
label.checkbox a { color: var(--accent); text-underline-offset: 2px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.error-box {
  border: 1px solid color-mix(in srgb, var(--accent) 60%, var(--line));
  background: var(--accent-soft);
  color: var(--ink);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
}

.form-ok {
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.form-ok h3 { font-size: 22px; font-weight: 500; }
.form-ok p { color: var(--muted); }

/* ---------- Карточка теста ---------- */
.cta-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: clamp(24px, 3.5vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cta-card h2 { font-size: clamp(24px, 3.2vw, 34px); margin-top: 0; }
.cta-card .prose { max-width: 62ch; color: var(--muted); }
.cta-card .row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 4px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 40px; }
.cta-row .note { max-width: 46ch; }
.cta-question {
  flex: 1 1 100%;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(19px, 2.4vw, 26px);
  line-height: 1.25;
  max-width: 42ch;
  margin-bottom: 4px;
}

/* ---------- Подвал ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(32px, 4vw, 48px);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}
.footer h3 {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 10px;
}
.footer p, .footer a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  line-height: 1.6;
}
.footer a:hover { color: var(--ink); }
.footer-links { display: flex; flex-direction: column; gap: 6px; }
.footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}

/* ---------- Липкая кнопка на телефоне ---------- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 46;
  display: flex;
  gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  transform: translateY(120%);
  transition: transform 0.24s ease;
}
.sticky-cta[hidden] { display: none; }
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .btn { padding: 15px 18px; font-size: 15px; }
.sticky-cta .btn:first-child { flex: 1 1 auto; }
.sticky-cta .btn.ghost { flex: 0 0 auto; }
@media (min-width: 861px) { .sticky-cta { display: none; } }

/* ---------- Страница благодарности ---------- */
.thanks {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: clamp(48px, 8vw, 96px);
}
.thanks-inner { display: flex; flex-direction: column; gap: 18px; max-width: 640px; }
.thanks h1 { font-size: clamp(30px, 5.2vw, 48px); line-height: 1.08; }
.thanks .row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.thanks .btn { flex: 1 1 220px; }

/* ---------- Юридические страницы ---------- */
.legal {
  max-width: 76ch;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-block: clamp(48px, 7vw, 96px);
}
.legal-top { margin-bottom: 10px; }
.legal h1 { font-size: clamp(26px, 4vw, 40px); line-height: 1.12; }
.legal h2 {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 500;
  margin-top: 26px;
  color: var(--ink);
}
.legal p, .legal li { color: var(--muted); font-size: 16px; line-height: 1.64; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal code { font-size: 14px; background: var(--surface-2); padding: 1px 5px; border-radius: 5px; }
.legal ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.legal a { color: var(--accent); }
.legal-sep { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }
.legal-actions { margin: 8px 0 0; }
.legal-actions .btn { display: inline-flex; width: auto; padding: 14px 24px; }

/* ---------- Спойлер в мобильной версии ---------- */
.spoiler__btn {
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
  padding: 8px 14px;
  font: 500 11px/1 var(--body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.spoiler__btn:hover { color: var(--ink); border-color: var(--muted); }
.spoiler__body { display: none; }
.quote-item.is-open .spoiler__body,
.list-item.is-open .spoiler__body,
.result-item.is-open .spoiler__body { display: block; }

@media (min-width: 901px) {
  .spoiler__btn { display: none; }
  .spoiler__body { display: block; }
}

/* ---------- Блок на фоне фотографии ---------- */
.stage { position: relative; isolation: isolate; overflow: hidden; }
.stage__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: blur(14px) brightness(1.02) saturate(1.05);
  transform: scale(1.08);
}
.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(18, 16, 14, 0.6);
}
.stage__content { max-width: 46rem; margin-inline: auto; text-align: center; }
.stage__content h2 { font-size: clamp(26px, 3.4vw, 42px); }
.stage__content p {
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.62;
}
.stage__content p.stage__out {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
}

/* Развилка: фото без размытия, поверх тёмная завеса */
.stage--road .stage__bg {
  filter: brightness(1.35) contrast(1.05) saturate(1.08);
  transform: none;
}
.stage--road::after {
  background: linear-gradient(180deg,
    rgba(18, 16, 14, 0.5) 0%,
    rgba(18, 16, 14, 0.62) 28%,
    rgba(18, 16, 14, 0.9) 52%,
    rgba(18, 16, 14, 0.94) 100%);
}
.routes--stage { border-top-color: color-mix(in srgb, var(--ink) 22%, transparent); }
.routes--stage .route { border-right-color: color-mix(in srgb, var(--ink) 22%, transparent); }

/* ---------- Блок с фото от края экрана ---------- */
.section.edge { position: relative; overflow: hidden; padding-block: 0; }
.edge__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 46%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.edge__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
.edge__body { padding-block: clamp(56px, 7vw, 96px); min-width: 0; }

/* ---------- Страница клуба ---------- */
.num-hero {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(64px, 13vw, 148px);
  line-height: 0.86;
  letter-spacing: -0.04em;
  color: var(--accent);
}

.schedule {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.schedule__item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.schedule__time {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--accent);
}
.schedule__item h3 { font-size: 17px; font-weight: 500; }
.schedule__item p { font-size: 15px; line-height: 1.55; color: var(--muted); }

.rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 40px; }
.rule-item { padding-block: 18px 22px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 32px 1fr; gap: 12px; }
.rule-item .n { font-family: var(--display); font-size: 12px; font-weight: 600; color: var(--accent); padding-top: 4px; }
.rule-item p { font-size: 15px; line-height: 1.55; color: var(--muted); }
.rule-item b { color: var(--ink); font-weight: 600; }

.price-entry {
  border: 1px solid color-mix(in srgb, var(--accent) 60%, var(--line));
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: clamp(24px, 3vw, 32px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 20px 40px;
  align-items: center;
  margin-top: 36px;
}
.price-entry__left { display: flex; flex-direction: column; gap: 10px; }
.price-entry .price-card__amount { font-size: clamp(32px, 4vw, 44px); }
.price-entry ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.price-entry li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.price-entry li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 1px; background: var(--accent); }
.price-entry .btn { margin-top: 18px; width: 100%; justify-content: center; }

.price-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--surface);
}
.price-card--main { border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); }
.price-card__label { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.price-card--main .price-card__label { color: var(--accent); }
.price-card__amount { font-family: var(--display); font-size: clamp(26px, 3vw, 34px); font-weight: 500; letter-spacing: -0.02em; }
.price-card__note { font-size: 14px; line-height: 1.55; color: var(--muted); }
.price-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.price-card li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.price-card li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 1px; background: var(--accent); }
.price-card .btn { margin-top: auto; }

details.faq { border-top: 1px solid var(--line); padding-block: 18px; }
details.faq summary {
  cursor: pointer;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--accent); font-size: 20px; line-height: 1; }
details.faq[open] summary::after { content: "–"; }
details.faq p { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 62ch; }

/* ---------- Адаптив ---------- */
@media (max-width: 900px) {
  .split, .split--left, .form-wrap { grid-template-columns: 1fr; gap: 28px; }
  .edge { padding-top: 300px; }
  .edge__img { width: 100%; height: 300px; }
  .edge__grid { grid-template-columns: 1fr; }
  .edge__grid > div[aria-hidden] { display: none; }
  .edge__body { padding-block: 0 clamp(40px, 6vw, 64px); }
  .split--left .plate { order: 0; }
  .routes { grid-template-columns: 1fr; }
  .route { border-right: 0; border-bottom: 1px solid var(--line); padding: 20px 0 24px; }
  .route + .route { padding-left: 0; }
  .route:last-child { border-bottom: 0; }
  .row-2 { grid-template-columns: 1fr; }
  body { font-size: 16px; }
  .hero { min-height: min(84vh, 720px); }
  .quote-grid, .list-2, .list-3, .results-list, .rules { grid-template-columns: 1fr; gap: 0; }
  .price-entry { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .top { padding-block: 12px; }
  .nav-links { gap: 16px; }
  .nav-links a:not(.btn) { display: none; }
  .brand { font-size: 14px; }
  .hero__offer { margin-top: 28px; }
  .hero__actions { margin-top: 26px; }
}

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

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
