/* ═══════════════════════════════════════════════════════════════
   Victoria | Таро — сдержанный премиальный стиль
   Один приглушённый акцент (шампань) только в мелочах, тонкие линии
   вместо заливок, светлая «слоновая кость» на главных кнопках.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg: #070708;
  --surface: #111113;
  --surface-2: #18181B;
  --surface-3: #222225;
  --card: var(--surface);          /* совместимость со старыми страницами */
  --card-2: var(--surface-2);
  --text: #F2F0EB;
  --muted: #8E8C88;
  --faint: #5E5C59;
  --hairline: rgba(255, 255, 255, 0.07);
  --hairline-2: rgba(255, 255, 255, 0.12);

  --gold: #CDB88E;                 /* шампань: только акценты, не заливки */
  --gold-2: #E3D4B2;
  --gold-line: rgba(205, 184, 142, 0.38);
  --gold-soft: rgba(205, 184, 142, 0.08);
  --ivory: #F2EFE8;

  --radius: 20px;
  --gutter: 20px;
  --container: 980px;

  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'Inter', 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);

  color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.5 var(--font);
  letter-spacing: -0.016em;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}

h1, h2, h3, p, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; letter-spacing: inherit; }
:focus-visible { outline: 1.5px solid var(--gold); outline-offset: 3px; border-radius: 10px; }
::selection { background: rgba(205, 184, 142, 0.3); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section-title { font-size: clamp(26px, 4vw, 34px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.15; margin-bottom: 22px; }

/* Мелкая надпись над заголовком — заглавными, с разрядкой */
.sum__cat, .hero__eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold);
}

/* ─── Кнопки ────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 54px; padding: 0 30px;
  border: 0; border-radius: 999px;
  font-size: 16px; font-weight: 500; letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), opacity 0.2s;
}
.btn:active { transform: scale(0.98); }
.btn[disabled] { opacity: 0.5; cursor: progress; }
.btn--lg { height: 56px; }
.btn--block { width: 100%; }
/* Главная кнопка — «слоновая кость»: без золотых градиентов */
.btn--light, .btn--primary, .btn--gold {
  background: var(--ivory); color: #0B0B0C;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 10px 30px -14px rgba(242, 239, 232, 0.35);
}
@media (hover: hover) { .btn--light:hover, .btn--primary:hover, .btn--gold:hover { background: #FFFFFF; } }

.link { color: var(--gold); font-weight: 400; text-decoration: none; }
.link::after { content: ' ›'; }
@media (hover: hover) { .link:hover { color: var(--gold-2); } }

/* ─── Шапка ─────────────────────────────────────────────────── */

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 7, 8, 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(22px);
  backdrop-filter: saturate(160%) blur(22px);
  border-bottom: 1px solid var(--hairline);
}
.header__row { height: 54px; display: flex; align-items: center; justify-content: space-between; }

.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.logo__icon {
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(150deg, #1C1C1F, #0D0D0F);
  color: var(--gold-2);
  font: 500 16px/1 Georgia, 'Times New Roman', serif;
  box-shadow: inset 0 0 0 0.5px var(--gold-line);
}
.logo__name { display: inline-flex; align-items: center; font-size: 18px; font-weight: 500; letter-spacing: -0.02em; white-space: nowrap; }
.logo__sep { margin: 0 10px; font-weight: 200; color: rgba(255, 255, 255, 0.22); }
.logo__sub { font-weight: 400; color: var(--gold); }

.header__link { font-size: 14px; color: var(--muted); text-decoration: none; transition: color 0.2s; }
@media (hover: hover) { .header__link:hover { color: var(--text); } }

/* ─── Первый экран ──────────────────────────────────────────── */

.hero { position: relative; padding: 64px 0 52px; text-align: center; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ''; position: absolute; left: 50%; top: -180px; z-index: -1;
  width: 720px; height: 520px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(205, 184, 142, 0.09), transparent);
  pointer-events: none;
}
.hero__title { line-height: 1.04; font-weight: 600; letter-spacing: -0.045em; margin-bottom: 20px; }
.hero__title > span:first-child {
  display: block; margin-bottom: 14px;
  font-size: clamp(13px, 3.4vw, 15px); font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
}

/* Меняющаяся строка: все фразы лежат друг на друге, высота = самая длинная, страница не «прыгает» */
.rot {
  display: grid; justify-items: center; align-content: start;
  font-size: clamp(38px, 10.5vw, 80px); min-height: 2.12em;
  color: var(--gold-2);
}
/* Градиент — на каждой фразе отдельно: иначе он рисуется по контурам всех фраз сразу, включая скрытые */
.rot__item {
  grid-area: 1 / 1;
  background: linear-gradient(180deg, #F4ECDB 0%, #CDB88E 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0; transform: translateY(0.35em); filter: blur(8px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), filter 0.8s var(--ease);
  pointer-events: none;
}
.rot__item.is-on { opacity: 1; transform: none; filter: none; }
.rot__item.is-prev { opacity: 0; transform: translateY(-0.35em); filter: blur(8px); }
.hero__lead { font-size: clamp(16px, 2.2vw, 20px); font-weight: 400; color: var(--muted); max-width: 24em; margin: 0 auto 32px; }
.hero__actions { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-bottom: 44px; }
.hero__actions .btn { min-width: 280px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 520px; margin: 0 auto; padding-top: 26px; border-top: 1px solid var(--hairline); }
.stats li { display: grid; gap: 4px; padding: 0 8px; }
.stats li + li { border-left: 1px solid var(--hairline); }
.stats strong { font-size: 20px; font-weight: 500; letter-spacing: -0.03em; color: var(--text); }
.stats span { font-size: 12px; line-height: 1.35; color: var(--muted); }

/* ─── Выбор услуги ──────────────────────────────────────────── */

.choose { padding: 40px 0 64px; }

/* Переключатель разделов */
.seg {
  --n: 4; --i: 0;
  position: relative;
  display: grid; grid-template-columns: repeat(var(--n), 1fr);
  padding: 4px; margin-bottom: 20px;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--hairline);
}
.seg__thumb {
  position: absolute; top: 4px; bottom: 4px; left: 4px;
  width: calc((100% - 8px) / var(--n));
  border-radius: 10px;
  background: var(--surface-3);
  box-shadow: inset 0 0 0 0.5px var(--hairline-2), 0 4px 14px rgba(0, 0, 0, 0.4);
  transform: translateX(calc(var(--i) * 100%));
  transition: transform 0.4s var(--ease);
}
.seg__btn {
  position: relative; z-index: 1;
  padding: 10px 2px;
  border: 0; background: none;
  font-size: clamp(12px, 3.3vw, 14px); font-weight: 500; color: var(--muted);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: color 0.25s;
}
.seg__btn[aria-selected='true'] { color: var(--text); }

/* Список услуг: строки, по нажатию открывается окно услуги */
.opts { display: grid; gap: 10px; }
.opt {
  display: grid; grid-template-columns: minmax(0, 1fr) auto 12px; align-items: center; column-gap: 14px;
  width: 100%; padding: 18px 18px 18px 20px;
  border: 0; border-radius: 18px;
  background: linear-gradient(180deg, #141416, #101012);
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  box-shadow: inset 0 0 0 1px var(--hairline);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.opt:active { transform: scale(0.99); }
@media (hover: hover) { .opt:hover { box-shadow: inset 0 0 0 1px var(--hairline-2); } }
.opt::after {
  content: ''; justify-self: end;
  width: 7px; height: 7px;
  border: solid rgba(255, 255, 255, 0.28); border-width: 1.5px 1.5px 0 0;
  transform: rotate(45deg);
}

.opt__title { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; font-size: 16px; font-weight: 500; line-height: 1.3; letter-spacing: -0.02em; }
/* Бейдж — тонкая рамка вместо золотой заливки */
.opt__badge {
  padding: 3px 8px 2px; border-radius: 6px;
  box-shadow: inset 0 0 0 1px var(--gold-line);
  color: var(--gold); font-size: 9.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  white-space: nowrap;
}
.opt__note { display: block; margin-top: 3px; font-size: 13px; color: var(--muted); }
.opt__price { font-size: 16px; font-weight: 500; letter-spacing: -0.02em; white-space: nowrap; color: var(--text); text-align: right; }

.tip {
  display: flex; gap: 10px; align-items: baseline;
  margin-top: 16px; padding: 2px 4px;
  font-size: 13px; line-height: 1.5; color: var(--muted);
}
.tip::before { content: '✦'; color: var(--gold); font-size: 11px; }

@media (min-width: 820px) { .opts { grid-template-columns: 1fr 1fr; } }

/* ─── Окно услуги: на телефоне на весь экран, сверху «‹ Назад» ── */

body:has(dialog[open]) { overflow: hidden; }

.sheet {
  width: 100%; max-width: 100%; height: 100%; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: none; color: inherit;
  overflow: hidden;
}
.sheet::backdrop { background: rgba(0, 0, 0, 0.66); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sheet[open] { animation: sheet-push 0.38s var(--ease); }
@keyframes sheet-push { from { opacity: 0; transform: translateX(24px); } }

.sum {
  display: flex; flex-direction: column;
  height: 100%;
  overflow-y: auto; overscroll-behavior: contain;
  background: #0C0C0E;
}

.sheet__bar {
  position: sticky; top: 0; z-index: 3;
  padding: calc(6px + env(safe-area-inset-top)) 8px 2px;
  background: linear-gradient(180deg, #0C0C0E 70%, rgba(12, 12, 14, 0));
}
.sheet__back {
  display: inline-flex; align-items: center; gap: 2px;
  height: 44px; padding: 0 14px 0 4px;
  border: 0; background: none;
  color: var(--text); font-size: 16px; font-weight: 400;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  opacity: 0.85;
}
.sheet__back svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
@media (hover: hover) { .sheet__back:hover { opacity: 1; } }

.sheet__body { padding: 14px 24px 28px; }
.sum__cat { margin-bottom: 12px; }
.sum__title { font-size: clamp(30px, 7.5vw, 38px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.08; margin-bottom: 16px; }
.sum__desc { font-size: 16px; line-height: 1.6; color: var(--muted); }

/* Ползунок вопросов: тонкая линия, без плашек */
.qs { margin: 30px 0 0; padding: 22px 0 6px; border-top: 1px solid var(--hairline); }
.qs[hidden] { display: none; }
.qs__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 12px; margin-bottom: 16px; }
.qs__count { font-size: 26px; font-weight: 500; letter-spacing: -0.035em; white-space: nowrap; }
.qs__chip { font-size: 13px; font-weight: 400; color: var(--gold); white-space: nowrap; }
.qs__chip:empty { display: none; }

.qs__range {
  --p: 0%;
  -webkit-appearance: none; appearance: none;
  display: block; width: 100%; height: 36px; margin: 0;
  background: transparent; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.qs__range::-webkit-slider-runnable-track { height: 2px; border-radius: 1px; background: linear-gradient(to right, var(--gold) var(--p), rgba(255, 255, 255, 0.14) var(--p)); }
.qs__range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 26px; height: 26px; margin-top: -12px;
  border-radius: 50%; border: 0; background: var(--ivory);
  box-shadow: 0 0 0 6px rgba(205, 184, 142, 0.12), 0 4px 14px rgba(0, 0, 0, 0.6);
  transition: transform 0.2s var(--ease);
}
.qs__range:active::-webkit-slider-thumb { transform: scale(1.1); }
.qs__range::-moz-range-track { height: 2px; border-radius: 1px; background: rgba(255, 255, 255, 0.14); }
.qs__range::-moz-range-progress { height: 2px; border-radius: 1px; background: var(--gold); }
.qs__range::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 50%; background: var(--ivory); box-shadow: 0 0 0 6px rgba(205, 184, 142, 0.12), 0 4px 14px rgba(0, 0, 0, 0.6); }
.qs__range:focus-visible { outline: none; }
.qs__range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 2px var(--gold), 0 4px 14px rgba(0, 0, 0, 0.6); }

.qs__ticks { display: flex; justify-content: space-between; padding: 0 13px; margin-top: 4px; }
.qs__ticks span { width: 8px; font-size: 11px; font-weight: 400; text-align: center; color: var(--faint); transition: color 0.2s; }
.qs__ticks span.is-on { color: var(--text); font-weight: 500; }

/* Нижняя часть окна всегда видна: цена и кнопка «Купить» */
.sum__buy {
  position: sticky; bottom: 0; margin-top: auto;
  padding: 18px 24px calc(18px + env(safe-area-inset-bottom));
  background: rgba(12, 12, 14, 0.86);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border-top: 1px solid var(--hairline);
}
.sum__buy[hidden] { display: none; }
.sum__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sum__price { display: flex; align-items: baseline; gap: 10px; font-size: 30px; font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.sum__note { font-size: 13px; color: var(--gold); text-align: right; }
.sum__hint { margin-top: 14px; text-align: center; font-size: 12.5px; line-height: 1.45; color: var(--faint); }
.sum__hint a { color: var(--muted); text-decoration: none; }
.sum__error, .toast { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: #2A1416; box-shadow: inset 0 0 0 1px rgba(255, 120, 110, 0.18); color: #F2A49C; font-size: 14px; }

/* Старая цена — мелко и тихо, без «распродажного» крика */
.price-old { margin-right: 6px; font-size: 0.55em; font-weight: 400; letter-spacing: -0.01em; color: var(--faint); text-decoration: line-through; text-decoration-thickness: 1px; }
.opt__price .price-old { font-size: 0.82em; }

/* ─── Скидка из колеса ──────────────────────────────────────── */

.promos { display: grid; gap: 10px; margin: 0 0 20px; }

.couponbar {
  margin: 0 0 16px; padding: 12px 16px;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px var(--gold-line);
  color: var(--muted); font-size: 13.5px; line-height: 1.4;
}
.couponbar[hidden] { display: none; }
.couponbar b { color: var(--gold-2); font-weight: 500; }

/* ─── Карточки «Колесо удачи» и «Тест» ─────────────────────── */

.wheelcta, .quizcta {
  display: flex; align-items: center; gap: 16px;
  width: 100%; margin: 0; padding: 14px 14px 14px 16px;
  border: 0; border-radius: 18px;
  background: linear-gradient(180deg, #141416, #101012);
  box-shadow: inset 0 0 0 1px var(--hairline);
  text-align: left; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.wheelcta[hidden], .quizcta[hidden] { display: none; }
.wheelcta:active, .quizcta:active { transform: scale(0.99); }
@media (hover: hover) { .wheelcta:hover, .quizcta:hover { box-shadow: inset 0 0 0 1px var(--hairline-2); } }
.quizcta { justify-content: space-between; padding-left: 20px; }

.wheelcta__icon {
  position: relative; flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, #2A2724 0 30deg, #17171A 0 60deg);
  box-shadow: inset 0 0 0 1px var(--gold-line), 0 0 0 3px #0C0C0E, 0 0 0 4px rgba(205, 184, 142, 0.18);
}
.wheelcta__icon::after { content: ''; position: absolute; inset: 15px; border-radius: 50%; background: #0C0C0E; box-shadow: inset 0 0 0 1px var(--gold-line); }
.wheelcta__text, .quizcta__text { flex: 1; min-width: 0; }
.wheelcta__text b, .quizcta__text b { display: block; font-size: 15.5px; font-weight: 500; letter-spacing: -0.02em; }
.wheelcta__text span, .quizcta__text span { font-size: 13px; color: var(--muted); }

/* Кнопки внутри карточек — тонкий контур */
.wheelcta__go, .quizcta__go {
  flex: none; padding: 9px 16px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--hairline-2);
  color: var(--text); font-size: 13.5px; font-weight: 500; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.wheelcta--ready .wheelcta__go { background: var(--ivory); color: #0B0B0C; box-shadow: none; }

/* ─── Окно колеса ───────────────────────────────────────────── */

.wheel__body { text-align: center; }
.wheel__body .sum__title { margin-bottom: 0; }
.wheel__stage { position: relative; width: min(84vw, 330px); aspect-ratio: 1; margin: 30px auto 18px; }
.wheel__pointer {
  position: absolute; top: -9px; left: 50%; z-index: 3;
  width: 0; height: 0; margin-left: -9px;
  border-left: 9px solid transparent; border-right: 9px solid transparent; border-top: 20px solid var(--ivory);
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.7));
}
.wheel__disc { display: block; width: 100%; height: 100%; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.7)); transition: transform 5.2s cubic-bezier(0.12, 0.6, 0.1, 1); }
.wheel__hub {
  position: absolute; top: 50%; left: 50%; z-index: 2;
  width: 29%; height: 29%; transform: translate(-50%, -50%);
  border: 0; border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #1E1E21, #0C0C0E);
  color: var(--ivory);
  font-size: 13px; font-weight: 500; line-height: 1.1; letter-spacing: 0.08em; text-transform: uppercase;
  box-shadow: inset 0 0 0 1px var(--gold-line), 0 0 0 6px #0C0C0E, 0 8px 24px rgba(0, 0, 0, 0.7);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.wheel__hub:active { transform: translate(-50%, -50%) scale(0.96); }
.wheel__hub:disabled { color: var(--faint); cursor: default; }
.wheel__timer { margin-top: 10px; font-size: 14px; color: var(--muted); }
.wheel__timer b { color: var(--text); font-weight: 500; font-variant-numeric: tabular-nums; }

.wheel__result {
  margin-top: 22px; padding: 24px 20px 20px;
  border-radius: 20px;
  background: linear-gradient(180deg, #141416, #101012);
  box-shadow: inset 0 0 0 1px var(--hairline);
  animation: fade-up 0.5s var(--ease) both;
}
.wheel__result[hidden] { display: none; }
.wheel__prize { font-size: 28px; font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; }
.wheel__sub { margin-top: 8px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.wheel__code {
  display: inline-block; margin: 16px 0 4px; padding: 10px 18px;
  border-radius: 10px; box-shadow: inset 0 0 0 1px var(--gold-line);
  color: var(--gold-2); font: 500 16px/1 ui-monospace, 'SF Mono', Menlo, Consolas, monospace; letter-spacing: 0.12em;
  user-select: all; -webkit-user-select: all;
}
.wheel__actions { display: grid; gap: 8px; margin-top: 18px; }
.wheel__result--dim { opacity: 0.6; }

/* Огоньки по ободу: спокойно светятся, во время вращения мигают через один */
.wheel__lights circle { fill: #EDE3CC; opacity: 0.35; }
.wheel__stage.is-spinning .wheel__lights circle { animation: wheel-blink 0.4s steps(1) infinite; }
.wheel__stage.is-spinning .wheel__lights circle:nth-child(even) { animation-delay: 0.2s; }
@keyframes wheel-blink { 0% { opacity: 0.95; } 50% { opacity: 0.15; } }

@media (prefers-reduced-motion: reduce) { .wheel__disc { transition: none; } }

/* ─── Тест «Что мне нужно?» ─────────────────────────────────── */

.quiz__bar { display: flex; align-items: center; justify-content: space-between; padding-right: 22px; }
.quiz__step { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.quiz__progress { display: flex; gap: 6px; margin: 8px 0 28px; }
.quiz__progress span { flex: 1; height: 2px; border-radius: 1px; background: rgba(255, 255, 255, 0.1); transition: background-color 0.35s; }
.quiz__progress span.is-on { background: var(--gold); }
.quiz__opts { display: grid; gap: 10px; margin-top: 24px; }
.qopt {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  width: 100%; padding: 18px 20px;
  border: 0; border-radius: 16px;
  background: linear-gradient(180deg, #141416, #101012);
  box-shadow: inset 0 0 0 1px var(--hairline);
  text-align: left; font-size: 16px; font-weight: 500; line-height: 1.3; letter-spacing: -0.02em;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.qopt small { display: block; margin-top: 3px; font-size: 13px; font-weight: 400; letter-spacing: -0.01em; color: var(--muted); }
.qopt::after { content: ''; flex: none; width: 7px; height: 7px; border: solid rgba(255, 255, 255, 0.28); border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); }
.qopt:active { transform: scale(0.99); }
@media (hover: hover) { .qopt:hover { box-shadow: inset 0 0 0 1px var(--hairline-2); } }

.quiz__cat { margin: -6px 0 16px; font-size: 13px; color: var(--muted); }
.quiz__why { margin-top: 18px; padding: 14px 16px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--gold-line); color: var(--muted); font-size: 14px; line-height: 1.55; }
.quiz__links { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 20px; }
.quiz__link { padding: 6px 0; border: 0; background: none; color: var(--gold); font-size: 15px; font-weight: 400; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.quiz__link--muted { color: var(--muted); }

/* Компьютер: окно по центру */
@media (min-width: 820px) {
  .sheet { width: 540px; height: auto; max-height: calc(100dvh - 48px); margin: auto; }
  .sheet[open] { animation-name: sheet-pop; }
  @keyframes sheet-pop { from { opacity: 0; transform: translateY(14px) scale(0.99); } }
  .sum { height: auto; max-height: calc(100dvh - 48px); border-radius: 28px; box-shadow: inset 0 0 0 1px var(--hairline-2), 0 40px 120px rgba(0, 0, 0, 0.8); }
  .sheet__bar { padding-top: 10px; }
  .sheet__body { padding: 10px 32px 32px; }
  .sum__buy { padding: 18px 32px 26px; border-radius: 0 0 28px 28px; }
}

/* ─── Как это работает ──────────────────────────────────────── */

.how { padding: 8px 0 56px; }
.steps { display: grid; gap: 10px; }
.steps li { display: flex; align-items: center; gap: 18px; padding: 18px 20px; border-radius: 18px; background: linear-gradient(180deg, #141416, #101012); box-shadow: inset 0 0 0 1px var(--hairline); }
.steps span {
  flex: none; display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--gold-line); color: var(--gold);
  font-size: 14px; font-weight: 500;
}
.steps b { display: block; font-size: 15.5px; font-weight: 500; letter-spacing: -0.02em; }
.steps p { margin-top: 2px; font-size: 13.5px; color: var(--muted); }
.steps a { color: var(--gold); text-decoration: none; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } .steps li { flex-direction: column; align-items: flex-start; padding: 24px; } }

/* ─── Связь ─────────────────────────────────────────────────── */

.contact { padding: 0 0 64px; }
.contact__card {
  padding: 40px 24px 28px; border-radius: 26px; text-align: center;
  background: radial-gradient(120% 90% at 50% 0%, rgba(205, 184, 142, 0.07), transparent 60%), linear-gradient(180deg, #141416, #0F0F11);
  box-shadow: inset 0 0 0 1px var(--hairline);
}
.contact__title { font-size: 26px; font-weight: 600; letter-spacing: -0.035em; margin-bottom: 10px; }
.contact__text { font-size: 15px; color: var(--muted); max-width: 26em; margin: 0 auto 24px; }
.contact__card .btn { max-width: 360px; }
.contact__link { display: inline-block; margin-top: 18px; font-size: 14px; }

/* ─── Футер ─────────────────────────────────────────────────── */

.footer { padding: 22px 0 calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid var(--hairline); font-size: 12px; color: var(--faint); }
.footer__row { display: flex; justify-content: space-between; gap: 16px; }
.footer__links { display: flex; gap: 20px; }
.footer a { text-decoration: none; color: var(--muted); transition: color 0.2s; }
@media (hover: hover) { .footer a:hover { color: var(--text); } }

.toast {
  position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60;
  max-width: 480px; margin: 0 auto;
  box-shadow: inset 0 0 0 1px rgba(255, 120, 110, 0.18), 0 20px 40px rgba(0, 0, 0, 0.6);
}

/* ─── Мягкое появление ──────────────────────────────────────── */

.fade { animation: fade-up 0.7s var(--ease) both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } }

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