/* ============================================================
   site.css — дизайн-система «Метод Финиш» / Марина Ветрова
   Скелет и визуальный код взяты с действующего metodfinish.ru:
   те же токены, та же типографика, те же компоненты.
   Отличия: лицо — женщина, один сайт на шесть сегментов,
   к лендингам добавлены статьи со сквозной кнопкой записи.
   ============================================================ */

/* ---------- ШРИФТЫ ----------
   Inter — текст, Cormorant Garamond — заголовки. Ровно так же,
   как на действующем сайте. Подключены с Google Fonts; при
   переносе на прод замените на локальные .woff2 (см. README). */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

/* ---------- PREFLIGHT ---------- */
*, ::before, ::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; margin: 0; }
p, figure, blockquote, dl, dd, table { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: inherit; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea {
  font-family: inherit; font-size: 100%; font-weight: inherit;
  line-height: inherit; color: inherit; margin: 0;
}
button { background: transparent; border: 0; cursor: pointer; text-transform: none; }
textarea { resize: vertical; }
::placeholder { opacity: 1; }
table { border-collapse: collapse; width: 100%; }

:root {
  --bg:        #0B0F14;
  --surface:   #11161E;
  --card:      #1A2330;
  --line:      #26303F;
  --ink:       #E8E6E1;
  --mute:      #8A8579;
  --gold:      #D4AF37;
  --gold-dim:  #B8941F;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* Плавная прокрутка — только десктопу. На телефоне от первого экрана
   до формы больше 13 000 px, и клик по кнопке превращается в долгую
   анимированную промотку, которую обрывает любое касание. */
@media (min-width: 768px) { html { scroll-behavior: smooth; } }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--ink);
}

/* Доступность: аудитории 40+ мелкий шрифт читать тяжело */
.text-xs { font-size: 14px; line-height: 1.6; }
.text-sm { font-size: 16px; line-height: 1.6; }
.mute { color: var(--mute); }
.center { text-align: center; }
.wrap    { max-width: 1180px; margin: 0 auto; }
.wrap-md { max-width: 900px;  margin: 0 auto; }
.wrap-sm { max-width: 760px;  margin: 0 auto; }

.pre-title {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}

.h2 { font-size: clamp(30px, 4.2vw, 52px); }
.h3 { font-size: clamp(24px, 3vw, 34px); }

.section-head { max-width: 820px; margin: 0 auto 56px; text-align: center; }
.section-head .h2 { margin-top: 18px; }
.section-head .lead { margin-top: 22px; font-size: 19px; color: rgba(232,230,225,.78); line-height: 1.85; }

section { scroll-margin-top: 80px; }
.section-pad { padding: 96px 24px; }
@media (min-width: 768px) { .section-pad { padding: 128px 24px; } }
.surface { background: var(--surface); }

/* ---------- REVEAL ----------
   Прячем контент только под html.js: при сбое скрипта (блокировщик,
   обрыв, старый браузер) страница обязана остаться читаемой. */
html.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- КНОПКИ ---------- */
.cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 20px 36px; border-radius: 4px;
  background: transparent; color: var(--gold);
  border: 1px solid var(--gold);
  font-family: var(--sans); font-size: 17px; font-weight: 500;
  letter-spacing: 0.04em; text-align: center;
  transition: background .2s ease, color .2s ease, transform .25s ease, box-shadow .25s ease;
}
.cta:hover { background: var(--gold); color: var(--bg); transform: translateY(-2px); box-shadow: 0 14px 36px -10px rgba(212,175,55,.45); }
.cta:active { transform: none; }
.cta-solid { background: var(--gold); color: var(--bg); }
.cta-solid:hover { background: var(--gold-dim); color: var(--bg); }
.cta-sm { padding: 15px 28px; font-size: 16px; }
.cta-ghost { border-color: rgba(212,175,55,.4); color: rgba(232,230,225,.9); }
.cta-ghost:hover { background: rgba(212,175,55,.12); color: var(--ink); border-color: var(--gold); }

.cta:focus-visible, .ctab:focus-visible, .acc-item button:focus-visible,
.lrow-btn:focus-visible, .layer-dot:focus-visible, a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 3px;
}

/* ---------- ШАПКА ----------
   Общая для всех страниц сайта: он один, лендингов шесть. */
.site-head {
  position: sticky; top: 0; z-index: 70;
  background: rgba(11,15,20,.86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212,175,55,.13);
}
.site-head-in {
  max-width: 1180px; margin: 0 auto; padding: 13px 24px;
  display: flex; align-items: center; gap: 20px;
}
.brand { display: flex; align-items: baseline; gap: 10px; flex-shrink: 0; }
.brand-mark { font-family: var(--serif); font-size: 23px; color: var(--gold); line-height: 1; }
.brand-name { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: rgba(232,230,225,.72); }
.head-spacer { flex: 1; }
.head-links { display: flex; align-items: center; gap: 20px; }
.head-link {
  font-size: 15px; color: rgba(232,230,225,.72);
  white-space: nowrap; transition: color .2s ease;
}
.head-link:hover, .head-link[aria-current="page"] { color: var(--gold); }
/* Шесть разделов + кнопка не помещаются в одну строку на ноутбуке.
   Ниже 1180 px оставляем в шапке только бренд, MAX и кнопку записи —
   полный список разделов всегда есть в футере. */
@media (max-width: 1180px) { .head-links { display: none; } }

/* Спрайт с фирменными иконками — только хранилище, ничего не рисует */
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Фирменные логотипы мессенджеров: MAX и Telegram.
   Рамку вокруг них не рисуем — у обоих логотипов своя форма и свой фон,
   и оправа читалась бы как коробка в коробке. */
.brand-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; flex-shrink: 0;
  border-radius: 9px;
  transition: transform .2s ease, filter .2s ease;
}
.brand-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.brand-btn-lg { width: 42px; height: 42px; border-radius: 11px; }
.brand-ico { width: 100%; height: 100%; display: block; }
.head-cta { padding: 11px 20px; font-size: 15px; white-space: nowrap; }
/* Шапка липкая и висит над текстом всю дорогу, поэтому на телефоне
   держим её низкой: каждые лишние 10 px — это строка текста, которую
   человек не видит. */
/* На телефоне в шапке остаются только возврат на главную и канал MAX.
   Кнопка записи оттуда убрана: она занимала половину узкой шапки
   и дублировала ту, что и так приходит снизу.

   Название слева оформлено плашкой с рамкой. Раньше от него оставалась
   одна буква «П», и она читалась как заставка, а не как ссылка:
   человек не понимал, что отсюда можно вернуться на главную. */
@media (max-width: 640px) {
  .site-head-in { gap: 10px; padding: 8px 14px; }
  .brand {
    align-items: center; gap: 8px;
    padding: 7px 14px; border-radius: 999px;
    border: 1px solid var(--line); background: rgba(26,35,48,.55);
    transition: border-color .2s ease, background .2s ease;
  }
  .brand:active { border-color: var(--gold-dim); background: rgba(212,175,55,.09); }
  .brand-mark { font-size: 17px; }
  .brand-name { font-size: 11px; letter-spacing: .1em; color: rgba(232,230,225,.82); }
  .head-cta { display: none; }
  .brand-btn { width: 32px; height: 32px; border-radius: 8px; }
}

/* ---------- ПЕРВЫЙ ЭКРАН ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(212,175,55,.06), transparent 70%),
    linear-gradient(180deg, #050709 0%, #0B0F14 50%, #11161E 100%);
  min-height: calc(100svh - 65px);
}
.hero-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 55%; z-index: 1; }
.hero-photo img, .hero-photo .portrait { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
/* Фото не закрашивается плашкой цвета фона, а растворяется маской.
   Плашка давала видимый шов по левому краю: фон первого экрана —
   вертикальный градиент, и сверху он темнее, чем однотонная плашка.
   С маской подгонять цвета не нужно вообще. */
.hero-photo {
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.08) 14%, rgba(0,0,0,.45) 30%, rgba(0,0,0,.85) 46%, #000 62%);
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.08) 14%, rgba(0,0,0,.45) 30%, rgba(0,0,0,.85) 46%, #000 62%);
}
/* Тёмный низ — для читаемости текста поверх фотографии */
.hero-photo::after {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.45) 100%);
}
/* Браузеры без масок: возвращаем плашку — шов там лучше, чем фото,
   врезающееся в текст. */
@supports not ((-webkit-mask-image: linear-gradient(#000, #000)) or (mask-image: linear-gradient(#000, #000))) {
  .hero-photo::before {
    content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background: linear-gradient(90deg, #0B0F14 0%, rgba(11,15,20,.92) 14%, rgba(11,15,20,.55) 28%, rgba(11,15,20,.15) 42%, transparent 58%);
  }
}
.stars { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.stars span { position: absolute; width: 1.5px; height: 1.5px; background: var(--gold); border-radius: 50%; opacity: .5; animation: twinkle 4s ease-in-out infinite; }
@keyframes twinkle { 0%,100% { opacity:.2; } 50% { opacity:.85; } }

.hero-inner {
  position: relative; z-index: 3;
  max-width: 1280px; margin: 0 auto; padding: 80px 24px;
  min-height: calc(100svh - 65px); display: flex; align-items: center;
}
/* 620 px, а не 560: заголовки сегментов длиннее, чем «Покажу, что
   мешает жить», и в узкой колонке они разваливаются на лишние строки,
   уводя кнопку за сгиб. Кегли ниже подобраны так, чтобы весь блок
   вместе с кнопкой помещался в 900 px по высоте. */
.hero-text { max-width: 620px; }
/* Первый экран не ждёт скрипта: анимируется только сдвиг, прозрачность
   в анимации не участвует — не существует состояния, в котором
   заголовок или кнопка невидимы. */
.hero-text > * { animation: heroIn .5s cubic-bezier(.16,1,.3,1) both; }
.hero-text > *:nth-child(2) { animation-delay: .05s; }
.hero-text > *:nth-child(3) { animation-delay: .10s; }
.hero-text > *:nth-child(4) { animation-delay: .15s; }
.hero-text > *:nth-child(n+5) { animation-delay: .20s; }
@keyframes heroIn { from { transform: translateY(14px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero-text > * { animation: none; } }

/* 52 px, а не больше: при 58 первая строка самого длинного из шести
   заголовков не влезает в колонку и ломается там, где в тексте уже
   стоит <br/>. */
.h1-hero { font-size: clamp(36px, 3.8vw, 52px); line-height: 1.08; color: #F7F4ED; margin-top: 24px; }
.h1-sub { font-style: italic; font-weight: 300; color: rgba(247,244,237,.9); font-size: clamp(24px, 2.5vw, 34px); line-height: 1.2; margin-top: 14px; }
.hero-lead { color: rgba(232,230,225,.85); font-size: 18px; line-height: 1.7; max-width: 540px; margin-top: 24px; }
.hero-sign { margin-top: 12px; font-size: 16px; color: var(--mute); }
.hero-btns { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 18px; font-size: 15px; color: var(--mute); line-height: 1.6; max-width: 480px; }

.scroll-ind {
  position: absolute; right: 26px; bottom: 30px; z-index: 10;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(212,175,55,.7); animation: scrollPulse 2s ease-in-out infinite;
}
.scroll-ind span { font-size: 12px; letter-spacing: .32em; font-weight: 500; }
@keyframes scrollPulse { 0%,100% { transform: translateY(0); opacity:.6; } 50% { transform: translateY(6px); opacity:1; } }
@media (prefers-reduced-motion: reduce) { .scroll-ind, .stars span { animation: none; } }

/* Портрет-заглушка на время до съёмки: спокойный градиент и подпись,
   без имитации силуэта — фальшивая «фигура» выглядит хуже, чем честно
   пустое место. Настоящее фото кладём в assets/ и меняем на <img>. */
.portrait {
  position: relative;
  background:
    radial-gradient(ellipse 65% 55% at 62% 38%, rgba(212,175,55,.10), transparent 70%),
    linear-gradient(150deg, #10161F 0%, #1A2330 55%, #0D1319 100%);
}
.portrait::before {
  content: ''; position: absolute; inset: 14px;
  border: 1px solid rgba(212,175,55,.13); border-radius: 8px;
}
.portrait::after {
  content: attr(data-label);
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  text-align: center; font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase; color: rgba(212,175,55,.32);
}

/* ---------- ЦИФРЫ ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { text-align: center; padding: 0 24px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-num { font-family: var(--serif); color: var(--gold); font-weight: 300; font-size: clamp(56px, 7vw, 104px); line-height: 1; }
.stat-num .unit { font-size: .42em; color: var(--ink); opacity: .7; }
.stat-cap { margin-top: 10px; color: var(--mute); font-size: 16px; line-height: 1.5; }
.stats-note { margin: 52px auto 0; max-width: 720px; text-align: center; font-size: 16px; color: #9A9484; line-height: 1.7; }
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: 1fr; gap: 44px; }
  .stat + .stat { border-left: 0; }
}

/* ---------- КАРТОЧКИ ---------- */
.card {
  background: var(--card);
  border: 1px solid rgba(212,175,55,.10);
  border-radius: 16px;
  box-shadow: 0 1px 0 rgba(212,175,55,.05), 0 20px 40px rgba(0,0,0,.35);
  transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s ease, border-color .4s ease;
}
.card:hover { transform: translateY(-6px); border-color: rgba(212,175,55,.25); box-shadow: 0 1px 0 rgba(212,175,55,.18), 0 30px 60px rgba(0,0,0,.5); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
@media (max-width: 1080px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px)  { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 620px)  { .grid-4 { grid-template-columns: 1fr; } }

.benefit { padding: 34px 32px; }
.benefit h3 { font-size: 22px; margin-top: 22px; }
.benefit p { margin-top: 14px; color: var(--mute); font-size: 17px; line-height: 1.7; }

/* ---------- КОНТЕКСТ («узнаёте себя?») ---------- */
.story-flow { max-width: 780px; margin: 0 auto; }
.story-flow p { font-size: 19px; line-height: 1.85; color: rgba(232,230,225,.85); }
.story-flow p + p { margin-top: 26px; }
.pull {
  margin-top: 44px; padding: 28px 32px;
  border-left: 2px solid var(--gold);
  background: linear-gradient(90deg, rgba(212,175,55,.07), transparent);
  font-family: var(--serif); font-size: clamp(22px, 2.6vw, 29px);
  line-height: 1.35; color: #F7F4ED;
}

/* ---------- ИСТОРИИ ---------- */
.case { overflow: hidden; display: flex; flex-direction: column; }
.case-top { aspect-ratio: 4/3; position: relative;
  background:
    radial-gradient(circle at 50% 35%, rgba(212,175,55,.20) 0 22%, transparent 23%),
    radial-gradient(ellipse 60% 40% at 50% 78%, rgba(212,175,55,.20) 0 50%, transparent 51%),
    linear-gradient(135deg, #0E141C 0%, #161E2A 100%);
}
.case-avatar {
  position: absolute; bottom: -28px; left: 28px;
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 26px; color: var(--bg);
  background: var(--gold); border: 3px solid var(--bg);
}
.case-body { padding: 48px 30px 32px; }
.case-tag { font-size: 14px; color: var(--mute); letter-spacing: .08em; text-transform: uppercase; line-height: 1.5; }
.case-was { margin-top: 16px; font-style: italic; color: rgba(232,230,225,.92); line-height: 1.65; font-size: 17px; }
.case-div { margin: 24px 0; display: flex; align-items: center; gap: 16px; color: var(--gold); }
.case-div i { flex: 1; height: 1px; background: rgba(212,175,55,.4); }
.case-now { color: rgba(232,230,225,.85); line-height: 1.65; font-size: 17px; }
.cases-note { margin-top: 40px; text-align: center; font-size: 15px; color: #9A9484; }

/* ---------- О ПРАКТИКЕ ---------- */
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 36px; } .about-photo { max-width: 340px; margin: 0 auto; order: -1; } }
.about-photo { border-radius: 16px; overflow: hidden; aspect-ratio: 4/4.5; }
.about-text p { margin-top: 22px; font-size: 19px; color: rgba(232,230,225,.85); line-height: 1.85; }
.about-quote { margin-top: 30px; font-family: var(--serif); font-size: 21px; font-style: italic; color: var(--gold); line-height: 1.5; }
.about-mini { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 460px; }
.about-mini .n { font-family: var(--serif); font-size: 34px; color: var(--gold); line-height: 1; }
.about-mini .c { font-size: 14px; color: var(--mute); margin-top: 8px; line-height: 1.4; }

/* ---------- 7 СЛОЁВ ---------- */
.layer-rail { position: relative; max-width: 900px; margin: 0 auto; padding: 48px 16px; }
.layer-line { position: absolute; left: 16px; right: 16px; top: 50%; height: 1px; transform: translateY(-50%);
  background: linear-gradient(90deg, transparent, var(--gold) 15%, var(--gold) 85%, transparent); }
.layer-dots { position: relative; display: flex; justify-content: space-between; align-items: center; }
.layer-dot {
  position: relative; width: 20px; height: 20px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--gold);
  transition: transform .3s ease, background .3s ease, box-shadow .3s ease;
}
.layer-dot span { position: absolute; top: -28px; left: 50%; transform: translateX(-50%); font-size: 13px; color: var(--mute); font-weight: 500; }
.layer-dot.active { transform: scale(1.35); background: var(--gold); box-shadow: 0 0 0 6px rgba(212,175,55,.18); }
.layer-panel { max-width: 780px; margin: 34px auto 0; min-height: 210px; text-align: center; transition: opacity .3s ease, transform .3s ease; }
.layer-panel h3 { font-size: clamp(26px, 3vw, 34px); margin-top: 12px; }
.layer-panel .desc { margin-top: 20px; font-size: 19px; color: rgba(232,230,225,.82); line-height: 1.85; }
.layer-panel .why { margin-top: 16px; font-size: 17px; color: var(--mute); line-height: 1.7; }
/* Мобильный список: название слоя видно сразу, описание по тапу.
   Безымянные кружки 1–7 с телефона нечитаемы. */
.layer-list { display: none; max-width: 640px; margin: 0 auto; }
.lrow { border-top: 1px solid rgba(212,175,55,.15); }
.lrow:last-child { border-bottom: 1px solid rgba(212,175,55,.15); }
.lrow-btn { width: 100%; display: flex; gap: 14px; align-items: baseline; padding: 16px 2px; text-align: left; }
.lrow-n { font-family: var(--serif); font-size: 21px; color: var(--gold); min-width: 24px; flex-shrink: 0; }
.lrow-t { font-family: var(--serif); font-size: 21px; line-height: 1.25; color: rgba(232,230,225,.95); flex: 1; }
.lrow-plus { flex-shrink: 0; color: var(--gold); font-size: 20px; line-height: 1; transition: transform .3s ease; }
.lrow.open .lrow-plus { transform: rotate(45deg); }
.lrow-body { max-height: 0; overflow: hidden; transition: max-height .45s cubic-bezier(.16,1,.3,1); }
.lrow-body div { padding: 0 2px 18px 38px; font-size: 16px; line-height: 1.75; color: rgba(232,230,225,.8); }
.lrow-body em { display: block; margin-top: 10px; color: var(--mute); font-style: normal; }
.layers-note { max-width: 780px; margin: 52px auto 0; text-align: center; font-size: 19px; font-style: italic; color: rgba(232,230,225,.82); line-height: 1.85; }
.legal-line {
  max-width: 780px; margin: 26px auto 0; text-align: center;
  font-size: 16px; color: var(--mute); line-height: 1.7;
  padding-top: 22px; border-top: 1px solid rgba(212,175,55,.14);
}

/* ---------- ТАБЛИЦЫ (оффер, цены, границы) ---------- */
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl { min-width: 520px; font-size: 17px; }
/* На телефоне таблица разворачивается в список: цену нельзя прятать
   за горизонтальную прокрутку — половина людей её просто не найдёт,
   а именно непрозрачность цены и есть главное возражение сегмента. */
@media (max-width: 680px) {
  .tbl-wrap { overflow-x: visible; }
  .tbl { min-width: 0; display: block; }
  .tbl thead { display: none; }
  .tbl tbody, .tbl tr, .tbl th, .tbl td { display: block; width: auto; }
  .tbl tbody tr { padding: 20px 20px 18px; border-bottom: 1px solid rgba(212,175,55,.13); }
  .tbl tbody tr:last-child { border-bottom: 0; }
  .tbl tbody th { padding: 0; font-size: 18px; width: auto; border-bottom: 0; }
  .tbl tbody td { padding: 10px 0 0; border: 0; }
  .tbl tbody td::before {
    content: attr(data-label) ' — '; color: var(--gold);
    font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  }
  /* У колонки без заголовка (например «Цена») подпись не нужна */
  .tbl tbody td[data-label='']::before { content: ''; }
  .tbl .price { font-size: 20px; }
  .tbl .price::before { display: block; margin-bottom: 2px; }
}
.tbl th, .tbl td { text-align: left; padding: 18px 22px; border-bottom: 1px solid rgba(212,175,55,.13); vertical-align: top; line-height: 1.6; }
.tbl thead th { font-family: var(--sans); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 500; padding-bottom: 14px; }
.tbl tbody th { font-weight: 500; color: var(--ink); width: 32%; }
.tbl td { color: rgba(232,230,225,.8); }
.tbl tbody tr:last-child th, .tbl tbody tr:last-child td { border-bottom: 0; }
.tbl .price { color: var(--gold); font-family: var(--serif); font-size: 22px; white-space: nowrap; }
.tbl-card { background: var(--card); border: 1px solid rgba(212,175,55,.14); border-radius: 16px; overflow: hidden; }
.tbl-note { margin-top: 26px; font-size: 17px; color: rgba(232,230,225,.8); line-height: 1.75; }
.tbl-note strong { color: var(--ink); font-weight: 500; }

/* ---------- ШАГИ ---------- */
.steps { display: grid; gap: 22px; max-width: 860px; margin: 0 auto; }
.step { display: flex; gap: 24px; padding: 28px 30px; background: var(--card); border: 1px solid rgba(212,175,55,.12); border-radius: 14px; }
.step-n { flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); font-family: var(--serif); font-size: 20px; display: flex; align-items: center; justify-content: center; }
.step h3 { font-size: 23px; }
.step p { margin-top: 12px; color: rgba(232,230,225,.8); font-size: 17px; line-height: 1.75; }
.step p + p { margin-top: 12px; }
@media (max-width: 560px) { .step { flex-direction: column; gap: 16px; padding: 24px 22px; } }

/* ---------- КОМУ ПОДХОДИТ ---------- */
.fit-col { padding-left: 26px; border-left: 2px solid var(--gold); }
.fit-col.no { border-left-color: var(--line); }
.fit-col.no .pre-title { color: var(--mute); }
.fit-col h3 { font-size: 26px; margin-top: 12px; }
.fit-list { margin-top: 28px; display: grid; gap: 20px; }
.fit-list li { display: flex; gap: 16px; line-height: 1.7; color: rgba(232,230,225,.85); font-size: 17px; }
.fit-col.no .fit-list li { color: var(--mute); }
.fit-list svg { flex-shrink: 0; margin-top: 4px; }

/* ---------- CTA-ПОЛОСА ---------- */
.cta-band {
  border-top: 1px solid rgba(212,175,55,.14);
  border-bottom: 1px solid rgba(212,175,55,.14);
  background: linear-gradient(180deg, rgba(212,175,55,.045), transparent);
  padding: 46px 24px;
}
.cta-band-in { max-width: 940px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band-text { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.3; color: rgba(247,244,237,.95); flex: 1 1 320px; }
.cta-band-note { display: block; font-family: var(--sans); font-size: 15px; color: #9A9484; margin-top: 10px; line-height: 1.6; }
@media (max-width: 768px) {
  .cta-band { padding: 36px 20px; }
  .cta-band-in { flex-direction: column; align-items: stretch; text-align: center; gap: 20px; }
  .cta-band .cta { width: 100%; }
}

/* ---------- ВАЖНЫЙ БЛОК (когда не ко мне) ----------
   Спокойное оформление: без красных плашек и восклицательных знаков.
   Сворачивать в аккордеон нельзя. */
.notice { max-width: 860px; margin: 0 auto; background: var(--surface); border: 1px solid rgba(212,175,55,.16); border-radius: 16px; padding: 42px 44px; }
.notice h2 { font-size: clamp(26px, 3vw, 36px); margin-top: 14px; }
.notice p { margin-top: 20px; font-size: 18px; line-height: 1.8; color: rgba(232,230,225,.85); }
.notice ul { margin-top: 20px; display: grid; gap: 12px; }
.notice ul li { position: relative; padding-left: 26px; font-size: 18px; line-height: 1.75; color: rgba(232,230,225,.85); }
.notice ul li::before { content: '—'; position: absolute; left: 0; color: var(--gold); }
@media (max-width: 560px) { .notice { padding: 30px 24px; } }

/* ---------- БОНУСЫ ---------- */
.bonus { display: flex; gap: 20px; padding: 28px 30px; }
.bonus svg { flex-shrink: 0; color: var(--gold); }
.bonus h3 { font-size: 21px; }
.bonus p { margin-top: 10px; color: var(--mute); font-size: 16px; line-height: 1.7; }

/* ---------- FAQ ---------- */
.acc-item { border-top: 1px solid rgba(212,175,55,.15); }
.acc-item:last-child { border-bottom: 1px solid rgba(212,175,55,.15); }
.acc-btn { width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 24px 0; text-align: left; }
.acc-q { font-family: var(--serif); font-size: clamp(19px, 2.2vw, 22px); color: rgba(232,230,225,.95); line-height: 1.35; }
.acc-plus { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); display: flex; align-items: center; justify-content: center; transition: transform .35s ease; }
.acc-item.open .acc-plus { transform: rotate(45deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .45s cubic-bezier(.16,1,.3,1); }
.acc-body p { padding: 0 48px 26px 0; line-height: 1.8; color: rgba(232,230,225,.78); font-size: 17px; }
@media (max-width: 560px) { .acc-body p { padding-right: 0; } }

/* ---------- ФОРМА ---------- */
.form-sec {
  position: relative; padding: 96px 24px;
  background: linear-gradient(180deg, #0B0F14 0%, #050709 100%);
  display: flex; align-items: center;
}
.form-glow {
  position: absolute; inset: 0; opacity: .3; pointer-events: none;
  background: radial-gradient(ellipse 60% 40% at 20% 80%, rgba(212,175,55,.10), transparent 60%),
              radial-gradient(ellipse 40% 30% at 85% 20%, rgba(212,175,55,.08), transparent 60%);
}
.form-card {
  position: relative; max-width: 680px; margin: 0 auto; width: 100%;
  background: var(--card); border: 1px solid rgba(212,175,55,.25);
  border-radius: 16px; padding: 46px 48px;
  box-shadow: 0 30px 60px -10px rgba(0,0,0,.5);
}
@media (max-width: 620px) { .form-card { padding: 28px 22px; } .form-sec { padding: 56px 16px; } }
.form-card h2 { font-size: clamp(26px, 3.4vw, 38px); margin-top: 16px; }
.form-card .sub { margin-top: 16px; color: var(--mute); font-size: 17px; line-height: 1.75; }
form { margin-top: 36px; display: grid; gap: 26px; }

.field { position: relative; }
/* Поля обязаны выглядеть как поля: на тёмном фоне прозрачный фон
   с одной волосяной линией читается как декоративный разделитель,
   и обязательные поля весят визуально меньше необязательных. */
.field input, .field textarea, .field select {
  width: 100%; outline: none;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(212,175,55,.42);
  border-radius: 10px;
  padding: 22px 14px 10px;
  font-size: 18px; color: var(--ink);
  font-family: var(--sans); font-weight: 400;
  transition: border-color .25s ease, background-color .25s ease, box-shadow .25s ease;
}
.field textarea { padding-top: 24px; }
.field input::placeholder, .field textarea::placeholder { color: transparent; }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--gold); background: rgba(255,255,255,.09);
  box-shadow: 0 0 0 3px rgba(212,175,55,.18);
}
.field label.flt {
  position: absolute; left: 15px; top: 17px;
  color: #A39D8E; pointer-events: none; font-size: 17px;
  transition: transform .2s ease, color .2s ease, font-size .2s ease;
}
.field input:focus + label.flt,
.field input:not(:placeholder-shown) + label.flt,
.field textarea:focus + label.flt,
.field textarea:not(:placeholder-shown) + label.flt {
  transform: translateY(-12px); font-size: 13px; color: var(--gold); letter-spacing: .05em;
}
.field.shake { animation: shake .35s linear; }
@keyframes shake { 10%,90%{transform:translateX(-1px)} 20%,80%{transform:translateX(2px)} 30%,50%,70%{transform:translateX(-4px)} 40%,60%{transform:translateX(4px)} }
.field-hint { margin-top: 8px; font-size: 15px; color: #9A9484; line-height: 1.5; }
.field-err { margin-top: 8px; font-size: 14px; color: #E07A5F; line-height: 1.5; display: none; font-weight: 500; }
.field.has-error .field-err { display: block; }
.field.has-error input, .field.has-error textarea { border-color: #E07A5F; }
.field-legend { font-size: 17px; color: #A39D8E; margin-bottom: 12px; }
/* Автозаполнение Chrome заливало поля белым поверх тёмной темы */
.field input:-webkit-autofill, .field input:-webkit-autofill:hover, .field input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ink); caret-color: var(--ink);
  transition: background-color 100000s ease-in-out 0s;
}

/* Мессенджер: кнопки ничего не прячут и ничего не требуют —
   Telegram выбран заранее, поле телефона остаётся на виду.
   Прятать поля переключателем нельзя: это обнуляет заявки. */
.ctab-wrap { display: flex; gap: 10px; }
.ctab {
  flex: 1; padding: 11px 12px; border: 1px solid rgba(212,175,55,.28);
  border-radius: 8px; color: #A39D8E; font-family: var(--sans); font-size: 16px;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.ctab:hover { border-color: rgba(212,175,55,.5); color: var(--ink); }
.ctab.active { border-color: var(--gold); color: var(--gold); background: rgba(212,175,55,.08); }
.msg-block .field { margin-top: 12px; }
@media (max-width: 400px) { .ctab { font-size: 15px; padding: 11px 6px; } }

.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; width: 0; height: 0; }
.radio-pill span {
  display: block; padding: 10px 18px; border-radius: 999px;
  border: 1px solid rgba(212,175,55,.28); color: rgba(232,230,225,.82);
  font-size: 15px; cursor: pointer; transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.radio-pill input:checked + span { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.radio-pill input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }

.submit-hint { text-align: center; color: var(--gold); font-size: 16px; font-weight: 500; margin-bottom: 14px; }
.cta-hero {
  width: 100%; padding: 22px 28px; font-size: 19px; font-weight: 600;
  box-shadow: 0 0 0 0 rgba(212,175,55,.55), 0 18px 36px -10px rgba(212,175,55,.55);
  animation: ctaglow 2.4s ease-in-out infinite;
}
.cta-hero:hover { animation: none; transform: translateY(-3px); box-shadow: 0 0 0 6px rgba(212,175,55,.18), 0 24px 48px -12px rgba(212,175,55,.75); }
@keyframes ctaglow {
  0%,100% { box-shadow: 0 0 0 0 rgba(212,175,55,.55), 0 18px 36px -10px rgba(212,175,55,.55); }
  50%     { box-shadow: 0 0 0 10px rgba(212,175,55,0), 0 22px 44px -10px rgba(212,175,55,.80); }
}
@media (prefers-reduced-motion: reduce) { .cta-hero { animation: none; } }
.consent { margin: 14px 0 0; font-size: 14px; color: #9A9484; line-height: 1.55; text-align: center; }
.consent a { color: var(--gold); text-decoration: underline; }
.form-foot { font-size: 15px; color: var(--mute); text-align: center; line-height: 1.6; }

.form-success { text-align: center; padding: 16px 0; }
.form-success .tick { margin: 0 auto; width: 64px; height: 64px; border-radius: 50%; background: rgba(212,175,55,.15); display: flex; align-items: center; justify-content: center; }
.form-success h3 { font-size: 28px; margin-top: 24px; }
.form-success .lead { margin-top: 16px; font-size: 17px; color: rgba(232,230,225,.85); line-height: 1.75; }
.success-steps { margin: 28px auto 0; max-width: 430px; display: grid; gap: 14px; text-align: left; }
.sstep { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; line-height: 1.6; color: rgba(232,230,225,.8); }
.sstep i { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); font-size: 14px; font-style: normal; display: flex; align-items: center; justify-content: center; }
.form-error { margin-top: 16px; text-align: center; font-size: 15px; color: #E8927C; }

/* ---------- ФИНАЛ ---------- */
.finale { position: relative; padding: 120px 24px; overflow: hidden; }
.finale::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .4;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(212,175,55,.10), transparent 70%);
}
.finale-in { position: relative; max-width: 820px; margin: 0 auto; text-align: center; }
.finale h2 { font-size: clamp(28px, 4vw, 46px); line-height: 1.2; margin-top: 22px; }
.finale h2 .dim { color: var(--mute); font-style: italic; }
.finale p { margin-top: 26px; font-size: 19px; color: rgba(232,230,225,.82); line-height: 1.85; }
.finale .gold-line { margin-top: 28px; font-family: var(--serif); font-size: clamp(21px, 2.6vw, 26px); color: var(--gold); }
.finale .btns { margin-top: 38px; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
@media (max-width: 560px) { .finale { padding: 76px 20px; } }

/* ---------- ФУТЕР ---------- */
.site-foot { padding: 56px 24px 44px; background: var(--bg); border-top: 1px solid rgba(212,175,55,.1); }
.foot-in { max-width: 1080px; margin: 0 auto; }
.foot-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-bottom: 30px; }
.foot-nav a { font-size: 15px; color: rgba(232,230,225,.7); transition: color .2s ease; }
.foot-nav a:hover { color: var(--gold); }
.foot-social { display: flex; justify-content: center; gap: 12px; margin-bottom: 28px; }
.foot-legal { text-align: center; font-size: 14px; color: #9A9484; line-height: 1.7; display: grid; gap: 8px; }
.foot-legal a { text-decoration: underline; }
.foot-legal a:hover { color: var(--gold); }
.foot-disclaimer { max-width: 780px; margin: 18px auto 0; font-size: 13px; line-height: 1.65; color: #7E786B; text-align: center; }

/* ---------- ПЛАВАЮЩАЯ КНОПКА ---------- */
#stickyCta {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  opacity: 0; pointer-events: none; visibility: hidden; transform: translateY(12px);
  transition: opacity .4s ease, transform .4s ease, visibility .4s;
  border-radius: 999px; padding: 16px 30px; font-size: 16px;
}
#stickyCta.show { opacity: 1; pointer-events: auto; visibility: visible; transform: none; }
@media (max-width: 640px) {
  #stickyCta { right: 14px; left: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); width: auto; }
}

/* ---------- ХАБ (главная) ---------- */
.route-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1000px) { .route-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px)  { .route-grid { grid-template-columns: 1fr; } }
.route { display: flex; flex-direction: column; padding: 34px 32px; }
.route-n { font-family: var(--serif); font-size: 15px; letter-spacing: .2em; color: rgba(212,175,55,.65); }
.route h3 { font-size: 25px; margin-top: 16px; line-height: 1.25; }
.route p { margin-top: 14px; color: var(--mute); font-size: 17px; line-height: 1.7; flex: 1; }
.route-links { margin-top: 26px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.route-links a { font-size: 16px; color: var(--gold); display: inline-flex; align-items: center; gap: 8px; }
.route-links a:hover { text-decoration: underline; }
.route-links .sec { color: rgba(232,230,225,.7); }
.route-links .sec:hover { color: var(--gold); }

/* ---------- УТИЛИТЫ ---------- */
.mt-s { margin-top: 14px; }
.mt-m { margin-top: 28px; }
.mt-l { margin-top: 48px; }
.center-btn { display: flex; justify-content: center; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.lead-line { max-width: 780px; margin: 0 auto; text-align: center; font-size: 19px; color: rgba(232,230,225,.85); line-height: 1.8; }

/* ---------- МОБИЛЬНОЕ ---------- */
@media (max-width: 768px) {
  /* Фото сверху, текст под ним. Фото ужато до трети экрана, иначе
     кнопка уезжает за сгиб на реальных рекламных ширинах 360–440 px. */
  .hero { min-height: auto; }
  /* На телефоне фото сверху, поэтому маска разворачивается вертикально */
  .hero-photo {
    position: relative; width: 100%; height: 26vh; min-height: 150px; max-height: 240px;
    -webkit-mask-image: linear-gradient(180deg, #000 30%, rgba(0,0,0,.55) 72%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 30%, rgba(0,0,0,.55) 72%, transparent 100%);
  }
  .hero-photo::before { background: linear-gradient(180deg, transparent 30%, rgba(11,15,20,.75) 75%, #0B0F14 100%); }
  .hero-inner { flex-direction: column; min-height: auto; padding: 0 20px 48px; }
  /* Кнопка поднимается сразу под подзаголовок: на реальных рекламных
     ширинах 360–440 px при полном порядке блоков её верх уезжает
     за сгиб, и на первом экране не остаётся ничего кликабельного.
     Подробности читают уже те, кому интересно, — им кнопка нужна
     не раньше, а позже. */
  .hero-text {
    max-width: 100%; text-align: center; margin: -20px auto 0;
    position: relative; z-index: 4;
    display: flex; flex-direction: column;
  }
  .hero-text .pre-title { order: 1; }
  .hero-text .h1-hero   { order: 2; }
  .hero-text .h1-sub    { order: 3; }
  .hero-text .hero-btns { order: 4; margin-top: 24px; }
  .hero-text .hero-note { order: 5; }
  .hero-text .hero-lead { order: 6; margin-top: 24px; }
  .hero-text .hero-sign { order: 7; margin-top: 10px; }
  .hero-btns { justify-content: center; }
  .hero-btns .cta { width: 100%; padding: 17px 24px; font-size: 16px; }
  .hero-note, .hero-lead { margin-left: auto; margin-right: auto; }
  .h1-hero { font-size: 34px; margin-top: 18px; }
  .h1-sub { font-size: 22px; margin-top: 12px; }
  .hero-lead { font-size: 17px; }
  .scroll-ind { display: none; }

  .section-pad { padding: 64px 20px; }
  .section-head { margin-bottom: 40px; }
  .finale { padding: 80px 20px; }

  .layer-rail, .layer-panel { display: none; }
  .layer-list { display: block; }
  .layers-note { margin-top: 34px; font-size: 17px; }

  .case-avatar { width: 56px; height: 56px; font-size: 22px; }
  .about-mini { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}
@media (max-width: 400px) {
  .hero-inner { padding: 0 16px 44px; }
  .h1-hero { font-size: 29px; }
  .h1-sub { font-size: 19px; }
  .section-pad { padding: 56px 16px; }
}
/* Низкие экраны: бюджетные Android и ландшафт. Правило «на первом
   экране есть что нажать» не должно иметь исключений. */
@media (max-width: 768px) and (max-height: 620px) {
  .hero-photo { height: 22vh; min-height: 120px; }
  .h1-hero { font-size: 27px; margin-top: 12px; }
  .h1-sub { font-size: 18px; margin-top: 8px; }
  .hero-lead { font-size: 15px; }
  .hero-text .hero-btns { margin-top: 16px; }
  .hero-btns .cta { padding: 14px 20px; }
}
