/* РемЗона: страница онлайн-записи. Один файл: токены, база, компоненты, страницы. */

/* ---------- 1. Токены ---------- */
:root {
  color-scheme: light dark;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* шкала */
  --fs-11: 11px; --fs-12: 12px; --fs-13: 13px; --fs-15: 15px; --fs-17: 17px;
  --fs-21: 21px; --fs-28: 28px; --fs-40: 40px; --fs-56: 56px;

  /* отступы, шаг 8px (4px для мелочей) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px; --s-6: 24px;
  --s-8: 32px; --s-10: 40px; --s-12: 48px; --s-16: 64px;

  /* цвет: светлая тема */
  --bg: #f5f5f7;
  --surface: #ffffff;
  --fill: #f2f2f4;
  --fill-hover: #e8e8ed;
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --text-3: #737378;
  --sep: rgba(0, 0, 0, .08);
  --sep-strong: rgba(0, 0, 0, .14);
  --nav-bg: rgba(251, 251, 253, .72);

  --accent: #0071e3;
  --accent-hover: #0077ed;
  --accent-press: #006edb;
  --accent-text: #0066cc;
  --accent-soft: rgba(0, 113, 227, .08);
  --accent-ring: rgba(0, 113, 227, .2);
  --on-accent: #ffffff;

  --green: #34c759;
  --green-soft: rgba(52, 199, 89, .14);
  --green-text: #248a3d;
  --orange: #ff9f0a;
  --orange-soft: rgba(255, 159, 10, .16);
  --red: #ff3b30;
  --red-text: #d70015;
  --red-soft: rgba(255, 59, 48, .08);
  --red-ring: rgba(255, 59, 48, .18);

  /* форма */
  --r-card: 18px;
  --r-tile: 12px;
  --r-field: 10px;
  --r-pill: 999px;
  --sh-1: 0 1px 2px rgba(0, 0, 0, .04);
  --sh-2: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px rgba(0, 0, 0, .06);

  /* движение */
  --ease: cubic-bezier(.25, .1, .25, 1);
  --t-fast: 150ms;
  --t: 200ms;

  --container: 1080px;
  --gutter: 24px;
  --nav-h: 52px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --surface: #1c1c1e;
    --fill: #2c2c2e;
    --fill-hover: #3a3a3c;
    --text: #f5f5f7;
    --text-2: #a1a1a6;
    --text-3: #8e8e93;
    --sep: rgba(255, 255, 255, .1);
    --sep-strong: rgba(255, 255, 255, .18);
    --nav-bg: rgba(22, 22, 23, .72);

    --accent: #0a84ff;
    --accent-hover: #409cff;
    --accent-press: #0071e3;
    --accent-text: #4aa3ff;
    --accent-soft: rgba(10, 132, 255, .16);
    --accent-ring: rgba(10, 132, 255, .32);

    --green: #30d158;
    --green-soft: rgba(48, 209, 88, .18);
    --green-text: #30d158;
    --orange: #ff9f0a;
    --red: #ff453a;
    --red-text: #ff6961;
    --red-soft: rgba(255, 69, 58, .14);
    --red-ring: rgba(255, 69, 58, .3);

    --sh-1: none;
    --sh-2: none;
  }
}

/* ---------- 2. База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: var(--fs-17);
  line-height: 1.47;
  letter-spacing: -0.022em;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-variant-numeric: tabular-nums;
}
h1, h2, h3, p { margin: 0; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--accent-ring); }

.icon { width: 20px; height: 20px; flex: none; }
.vh {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* скрытый input остаётся внутри своей плитки, иначе он вылезает из прокручиваемых рядов */
.svc, .day, .seg, .chip, .days { position: relative; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.num { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }
h1, h2, .hero__lead, .result__lead, .empty__text { text-wrap: balance; }
p { text-wrap: pretty; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.main { flex: 1; padding-bottom: var(--s-16); }

.skip {
  position: absolute; left: var(--s-4); top: -100px; z-index: 100;
  padding: var(--s-2) var(--s-4); border-radius: var(--r-pill);
  background: var(--surface); box-shadow: var(--sh-2);
}
.skip:focus { top: var(--s-2); }

/* ---------- 3. Навигация ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--sep);
}
.nav__row { height: var(--nav-h); display: flex; align-items: center; gap: var(--s-6); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { text-decoration: none; }
.logo-mark { display: block; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-size: var(--fs-17); font-weight: 600; letter-spacing: -0.02em; }
.brand__sub { font-size: var(--fs-11); color: var(--text-2); letter-spacing: 0; }

.nav__links { display: flex; gap: var(--s-1); margin-left: auto; }
.nav__links a {
  padding: 6px 12px; border-radius: var(--r-pill);
  font-size: var(--fs-13); color: var(--text-2); letter-spacing: -0.01em;
  transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.nav__links a:hover { color: var(--text); text-decoration: none; }
.nav__links a[aria-current="page"] { color: var(--text); background: var(--fill); font-weight: 500; }

.nav__call {
  display: inline-flex; align-items: center; gap: 6px;
  height: 32px; padding: 0 14px 0 12px; border-radius: var(--r-pill);
  font-size: var(--fs-13); font-weight: 500; letter-spacing: -0.01em;
  color: var(--on-accent); background: var(--accent);
  transition: background-color var(--t-fast) var(--ease);
}
.nav__call .icon { width: 16px; height: 16px; }
.nav__call:hover { background: var(--accent-hover); text-decoration: none; }

/* ---------- 4. Hero ---------- */
.hero { padding-top: var(--s-12); padding-bottom: var(--s-8); }
.eyebrow { font-size: var(--fs-15); font-weight: 600; color: var(--accent-text); letter-spacing: -0.01em; margin-bottom: var(--s-2); }
.hero__title {
  font-size: var(--fs-56); line-height: 1.07; font-weight: 600; letter-spacing: -0.03em;
  max-width: 760px;
}
.hero__lead { margin-top: var(--s-4); font-size: var(--fs-21); line-height: 1.38; color: var(--text-2); max-width: 620px; letter-spacing: -0.02em; }

.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--s-6); align-items: end; }
.next {
  display: flex; flex-direction: column; gap: 2px; padding: var(--s-5) var(--s-6);
  color: var(--text);
  transition: box-shadow var(--t) var(--ease);
}
.next:hover { text-decoration: none; box-shadow: var(--sh-2); }
.next__label { display: inline-flex; align-items: center; gap: var(--s-2); font-size: var(--fs-13); color: var(--text-2); letter-spacing: -0.01em; }
.next__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.next__value { margin-top: var(--s-1); font-size: var(--fs-28); line-height: 1.15; font-weight: 600; letter-spacing: -0.025em; }
.next__value::first-letter { text-transform: uppercase; }
.next__note { font-size: var(--fs-13); color: var(--text-2); letter-spacing: -0.01em; }

.facts {
  list-style: none; margin: var(--s-8) 0 0; padding: 0;
  display: grid; grid-template-columns: 1.25fr 1.25fr 1fr;
  background: var(--surface); border-radius: var(--r-card); box-shadow: var(--sh-1);
}
.fact { display: flex; gap: var(--s-3); padding: var(--s-5) var(--s-6); align-items: flex-start; }
.fact + .fact { border-left: 1px solid var(--sep); }
.fact__icon {
  display: grid; place-items: center; flex: none;
  width: 36px; height: 36px; border-radius: 50%;
  color: var(--accent-text); background: var(--accent-soft);
}
.fact__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fact__label { font-size: var(--fs-12); color: var(--text-2); letter-spacing: 0; }
.fact__value { font-size: var(--fs-15); line-height: 1.4; color: var(--text); letter-spacing: -0.01em; }
.fact__line { display: block; white-space: nowrap; }
.fact__value--link { color: var(--text); font-weight: 500; }
.fact__link, .inline-link { display: inline-flex; align-items: center; gap: 2px; font-size: var(--fs-13); margin-top: 2px; }
.fact__link .icon, .inline-link .icon { width: 14px; height: 14px; }

/* ---------- 5. Карточки и шаги ---------- */
.card { background: var(--surface); border-radius: var(--r-card); box-shadow: var(--sh-1); }

.booking {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: var(--s-6);
  align-items: start;
}
.booking__steps { display: flex; flex-direction: column; gap: var(--s-4); min-width: 0; }
.booking__aside { position: sticky; top: calc(var(--nav-h) + var(--s-6)); }

.step { padding: var(--s-6) var(--s-8) var(--s-8); }
.step__head { display: flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-5); }
.step__num {
  position: relative; display: grid; place-items: center; flex: none;
  width: 28px; height: 28px; border-radius: 50%;
  font-size: var(--fs-13); font-weight: 600; letter-spacing: 0;
  color: var(--text-2); background: var(--fill);
  transition: background-color var(--t) var(--ease), color var(--t) var(--ease);
}
.step__num .icon { position: absolute; width: 16px; height: 16px; stroke-width: 2.2; opacity: 0; transition: opacity var(--t) var(--ease); }
.step.is-done .step__num { color: var(--on-accent); background: var(--green); }
.step.is-done .step__num span { opacity: 0; }
.step.is-done .step__num .icon { opacity: 1; }
.step__title { scroll-margin-top: calc(var(--nav-h) + var(--s-10)); font-size: var(--fs-21); line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; }
.step__hint { margin-left: auto; font-size: var(--fs-13); color: var(--text-2); letter-spacing: -0.01em; }

.subhead { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3); margin: var(--s-6) 0 var(--s-3); }
.subhead__title { font-size: var(--fs-15); font-weight: 600; letter-spacing: -0.01em; }
.subhead__note { font-size: var(--fs-13); color: var(--text-2); letter-spacing: -0.01em; }

/* ---------- 6. Выбор услуги ---------- */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); }
.svc {
  position: relative; display: flex; align-items: center; gap: var(--s-3);
  min-height: 64px; padding: var(--s-3) var(--s-4);
  border-radius: var(--r-tile);
  box-shadow: inset 0 0 0 1px var(--sep-strong);
  cursor: pointer;
  transition: box-shadow var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.svc:hover { background: var(--fill); }
.svc__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.svc__title { font-size: var(--fs-15); font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; }
.svc__meta { font-size: var(--fs-13); color: var(--text-2); letter-spacing: -0.01em; }
.svc__radio {
  flex: none; width: 20px; height: 20px; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--sep-strong);
  transition: box-shadow var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.svc:has(input:checked) { box-shadow: inset 0 0 0 2px var(--accent); background: var(--accent-soft); }
.svc input:checked ~ .svc__radio { background: var(--accent); box-shadow: inset 0 0 0 5.5px var(--accent), inset 0 0 0 20px var(--on-accent); }
.svc:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- 7. Дни ---------- */
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--s-2); }
.day { cursor: pointer; }
.day__body {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 76px; border-radius: var(--r-tile);
  background: var(--fill);
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.day:hover .day__body { background: var(--fill-hover); }
.day__wd { font-size: var(--fs-12); color: var(--text-2); letter-spacing: 0; }
.day__num { font-size: var(--fs-21); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; }
.day__mon { font-size: var(--fs-11); color: var(--text-3); letter-spacing: 0; }
.day__dot { position: absolute; top: 8px; right: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.day input:checked + .day__body { background: var(--accent); color: var(--on-accent); }
.day input:checked + .day__body :is(.day__wd, .day__mon) { color: rgba(255, 255, 255, .82); }
.day input:checked + .day__body .day__dot { background: var(--on-accent); }
.day input:focus-visible + .day__body { outline: 2px solid var(--accent); outline-offset: 2px; }
.day--off { cursor: not-allowed; }
.day--off .day__body, .day--off:hover .day__body { background: transparent; box-shadow: inset 0 0 0 1px var(--sep); }
.day--off .day__num { color: var(--text-3); font-weight: 400; }
.day--off :is(.day__wd, .day__mon) { color: var(--text-3); }

.legend { display: flex; gap: var(--s-4); margin-top: var(--s-3); font-size: var(--fs-12); color: var(--text-2); letter-spacing: 0; }
.legend__item { display: inline-flex; align-items: center; gap: 6px; }
.legend__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.legend__off { width: 12px; height: 12px; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--sep-strong); }

/* ---------- 8. Время ---------- */
.slots { min-height: 136px; transition: opacity var(--t) var(--ease); }
.slots.is-loading { opacity: .4; pointer-events: none; }
.times { display: flex; flex-direction: column; gap: var(--s-4); }
.times__label { font-size: var(--fs-12); color: var(--text-2); letter-spacing: 0; margin-bottom: var(--s-2); }
.times__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: var(--s-2); }
.seg { cursor: pointer; }
.seg span {
  display: grid; place-items: center; height: 44px;
  border-radius: var(--r-field);
  background: var(--fill);
  font-size: var(--fs-15); font-weight: 500; letter-spacing: -0.01em;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.seg:hover span { background: var(--fill-hover); }
.seg input:checked + span { background: var(--accent); color: var(--on-accent); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* пустое состояние */
.empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  min-height: 136px; padding: var(--s-6); gap: 2px;
  border-radius: var(--r-tile);
  border: 1px dashed var(--sep-strong);
}
.empty__icon { width: 28px; height: 28px; color: var(--text-3); margin-bottom: var(--s-2); }
.empty__title { font-size: var(--fs-15); font-weight: 500; letter-spacing: -0.01em; }
.empty__text { font-size: var(--fs-13); color: var(--text-2); letter-spacing: -0.01em; }

/* ---------- 9. Чипы ---------- */
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chip { cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; height: 36px; padding: 0 var(--s-4);
  border-radius: var(--r-pill); background: var(--fill);
  font-size: var(--fs-15); letter-spacing: -0.01em;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.chip:hover span { background: var(--fill-hover); }
.chip input:checked + span { background: var(--accent-soft); color: var(--accent-text); box-shadow: inset 0 0 0 1.5px var(--accent); font-weight: 500; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- 10. Поля ---------- */
.field { position: relative; margin-top: var(--s-6); }
.field--narrow { max-width: 360px; }
.step__head + .field { margin-top: 0; }
.label { display: block; margin-bottom: var(--s-2); font-size: var(--fs-15); font-weight: 600; letter-spacing: -0.01em; }
.label__opt { font-weight: 400; color: var(--text-3); margin-left: var(--s-1); }
.input {
  display: block; width: 100%; height: 48px; padding: 0 var(--s-4);
  font: inherit; font-size: var(--fs-17); letter-spacing: -0.02em; color: var(--text);
  background: var(--fill);
  border: 1px solid transparent; border-radius: var(--r-field);
  outline: none; -webkit-appearance: none; appearance: none;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.input::placeholder { color: var(--text-3); }
.input:hover { border-color: var(--sep-strong); }
.input:focus { background: var(--surface); border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-ring); }
.textarea { height: auto; min-height: 104px; padding: var(--s-3) var(--s-4); line-height: 1.47; resize: vertical; }
.input--plate { text-transform: uppercase; letter-spacing: .06em; font-weight: 500; }
.input--plate::placeholder { letter-spacing: .06em; font-weight: 400; }
.counter { display: block; margin-top: 6px; text-align: right; font-size: var(--fs-12); color: var(--text-3); letter-spacing: 0; }
.help { margin-top: var(--s-2); font-size: var(--fs-13); color: var(--text-2); letter-spacing: -0.01em; }

[aria-invalid="true"].input { border-color: var(--red); background: var(--surface); }
[aria-invalid="true"].input:focus { box-shadow: 0 0 0 4px var(--red-ring); }
.slots[aria-invalid="true"] .empty { border-color: var(--red); }

.field-error {
  display: flex; align-items: flex-start; gap: 6px;
  margin-top: var(--s-2); font-size: var(--fs-13); line-height: 1.4; color: var(--red-text); letter-spacing: -0.01em;
}
.field-error .icon { width: 16px; height: 16px; margin-top: 1px; }

/* баннер ошибок */
.banner {
  display: flex; gap: var(--s-3); align-items: flex-start;
  padding: var(--s-4) var(--s-5); border-radius: var(--r-tile);
}
.banner--error { background: var(--red-soft); color: var(--text); }
.banner--error > .icon { color: var(--red-text); margin-top: 1px; }
.banner__title { font-size: var(--fs-15); font-weight: 600; letter-spacing: -0.01em; }
.banner__text { font-size: var(--fs-13); color: var(--text-2); margin-top: 2px; letter-spacing: -0.01em; }

/* чекбокс */
.check { display: flex; gap: var(--s-3); align-items: flex-start; cursor: pointer; }
.check__box {
  flex: none; width: 22px; height: 22px; margin: 1px 0 0;
  border-radius: 6px; background: var(--fill);
  box-shadow: inset 0 0 0 1.5px var(--sep-strong);
  -webkit-appearance: none; appearance: none; cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.check__box:checked {
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 16px no-repeat;
  box-shadow: none;
}
.check__box:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.check__box[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px var(--red); }
.check__text { font-size: var(--fs-13); line-height: 1.45; color: var(--text-2); letter-spacing: -0.01em; }

/* ---------- 11. Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  height: 48px; padding: 0 var(--s-6);
  font: inherit; font-size: var(--fs-17); font-weight: 500; letter-spacing: -0.02em;
  border: 0; border-radius: var(--r-pill); cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn .icon { width: 18px; height: 18px; }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--primary:active { background: var(--accent-press); }
.btn--secondary { background: var(--fill); color: var(--text); }
.btn--secondary:hover { background: var(--fill-hover); }
.btn--block { width: 100%; height: 50px; }

/* ---------- 12. Итог записи ---------- */
.summary { padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-4); }
.summary__title { font-size: var(--fs-21); font-weight: 600; letter-spacing: -0.02em; }
.summary__list { margin: 0; }
.summary__row {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4);
  padding: var(--s-3) 0; border-top: 1px solid var(--sep);
}
.summary__row:last-child { border-bottom: 1px solid var(--sep); }
.summary__row dt { font-size: var(--fs-13); color: var(--text-2); letter-spacing: -0.01em; flex: none; }
.summary__row dd { margin: 0; font-size: var(--fs-15); font-weight: 500; text-align: right; letter-spacing: -0.01em; }
.summary__row dd.is-empty { color: var(--text-3); font-weight: 400; }
.summary__note { font-size: var(--fs-12); color: var(--text-3); letter-spacing: 0; margin-top: calc(var(--s-2) * -1); }
.summary__foot { font-size: var(--fs-12); color: var(--text-3); text-align: center; letter-spacing: 0; margin-top: calc(var(--s-2) * -1); }

/* ---------- 13. Результат (успех, лимит) ---------- */
.narrow { max-width: calc(600px + var(--gutter) * 2); padding-top: var(--s-12); }
.result { padding: var(--s-10) var(--s-10) var(--s-8); text-align: center; }
.result__icon {
  display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  color: var(--on-accent); background: var(--green);
}
.result__icon .icon { width: 32px; height: 32px; stroke-width: 2.2; }
.result__icon--warn { background: var(--orange); }
.result__title { margin-top: var(--s-5); font-size: var(--fs-40); line-height: 1.1; font-weight: 600; letter-spacing: -0.03em; }
.result__lead { margin: var(--s-3) auto 0; max-width: 440px; font-size: var(--fs-17); color: var(--text-2); }
.result__list { margin-top: var(--s-8); text-align: left; }
.result__list .summary__row dd { max-width: 70%; }
.result__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-8); }
.result__hint { margin-top: var(--s-5); text-align: center; font-size: var(--fs-13); color: var(--text-2); letter-spacing: -0.01em; }

/* ---------- 14. Документ (политика) ---------- */
.doc { max-width: calc(760px + var(--gutter) * 2); padding-top: var(--s-8); }
.back { display: inline-flex; align-items: center; gap: 2px; margin-bottom: var(--s-4); margin-left: -4px; font-size: var(--fs-15); }
.back .icon { width: 18px; height: 18px; }
.prose { padding: var(--s-12) var(--s-12) var(--s-10); }
.prose h1 { font-size: var(--fs-40); line-height: 1.1; font-weight: 600; letter-spacing: -0.03em; margin-bottom: var(--s-6); }
.prose h2 { font-size: var(--fs-21); line-height: 1.25; font-weight: 600; letter-spacing: -0.02em; margin: var(--s-10) 0 var(--s-3); }
.prose p, .prose li { font-size: var(--fs-17); line-height: 1.6; color: var(--text); }
.prose :is(p, ul, ol, blockquote) + :is(p, ul, ol) { margin-top: var(--s-3); }
.prose ul, .prose ol { margin: var(--s-3) 0 0; padding-left: 1.25em; }
.prose li + li { margin-top: var(--s-1); }
.prose li::marker { color: var(--text-3); }
.prose blockquote {
  margin: 0 0 var(--s-6); padding: var(--s-4) var(--s-5);
  border-radius: var(--r-tile); background: var(--orange-soft);
}
.prose blockquote p { font-size: var(--fs-15); line-height: 1.5; }
.prose strong { font-weight: 600; }
.prose hr { border: 0; border-top: 1px solid var(--sep); margin: var(--s-8) 0; }

/* ---------- 15. Подвал ---------- */
.foot { border-top: 1px solid var(--sep); }
.foot__row {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); flex-wrap: wrap;
  padding-top: var(--s-5); padding-bottom: var(--s-5);
  font-size: var(--fs-12); color: var(--text-2); letter-spacing: 0;
}
.foot a { color: var(--text-2); }
.foot a:hover { color: var(--text); }

/* ---------- 16. Адаптив ---------- */
@media (max-width: 960px) {
  .booking { grid-template-columns: minmax(0, 1fr); }
  .booking__aside { position: static; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .next { max-width: 420px; }
  .facts { grid-template-columns: 1fr; }
  .fact + .fact { border-left: 0; border-top: 1px solid var(--sep); }
  .hero__title { font-size: var(--fs-40); }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .nav__links { display: none; }
  .nav__row { justify-content: space-between; }
  .nav__call { width: 44px; height: 44px; padding: 0; justify-content: center; margin-right: -6px; background: transparent; color: var(--accent-text); }
  .nav__call:hover { background: var(--fill); }
  .nav__call .icon { width: 22px; height: 22px; }
  .nav__call-text { display: none; }

  .hero { padding-top: var(--s-8); padding-bottom: var(--s-6); }
  .hero__title { font-size: var(--fs-28); line-height: 1.14; letter-spacing: -0.025em; }
  .hero__lead { font-size: var(--fs-17); margin-top: var(--s-3); }
  .facts { margin-top: var(--s-6); }
  .fact { padding: var(--s-4); }

  .step { padding: var(--s-5) var(--s-4) var(--s-6); }
  .step__head { flex-wrap: wrap; row-gap: 2px; margin-bottom: var(--s-4); }
  .step__hint { margin-left: 40px; width: 100%; }
  .services { grid-template-columns: 1fr; }
  .svc { min-height: 60px; }

  .days {
    display: flex; overflow-x: auto; gap: var(--s-2);
    margin: 0 calc(var(--s-4) * -1); padding: 0 var(--s-4) var(--s-1);
    scroll-snap-type: x mandatory; scroll-padding: 0 var(--s-4);
    scrollbar-width: none;
  }
  .days::-webkit-scrollbar { display: none; }
  .day { flex: 0 0 56px; scroll-snap-align: start; }
  .day__body { height: 72px; }
  .times__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .field--narrow { max-width: none; }
  .summary { padding: var(--s-5) var(--s-4); }

  .narrow { padding-top: var(--s-6); }
  .result { padding: var(--s-8) var(--s-5) var(--s-6); }
  .result__title { font-size: var(--fs-28); }
  .result__actions { flex-direction: column; }
  .result__actions .btn { width: 100%; }

  .doc { padding-top: var(--s-4); }
  .prose { padding: var(--s-6) var(--s-5) var(--s-8); }
  .prose h1 { font-size: var(--fs-28); }
  .prose p, .prose li { font-size: var(--fs-15); }

  .foot__row { flex-direction: column; align-items: flex-start; gap: var(--s-2); }
}

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