/* detsad.ai-moroz.ru (каркас и система b2b.ai-moroz.ru, блоки детсада в конце файла). Визуальная система лэнда для сотрудников (10.11.2026, Антон): новогодняя ночь, лёд и золото.
   Токены, Montserrat, снег, радиусы и тени оттуда же. Чужого бренда нет: вместо фирменного ярко-синего
   глубокий ночной синий --night-glow, диагональных «призм» как CSS-декора нет (блики есть только в самих картинках).
   Радиусы: кнопки pill, медиа и панели 20px, поля 12px. Тема одна: ночь. */

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  color-scheme: dark;
  --night-950: oklch(0.17 0.07 266);   /* почти чёрная ночь */
  --night-900: oklch(0.21 0.10 266);
  --night-800: oklch(0.27 0.14 266);
  --night-glow: oklch(0.32 0.14 266);  /* глубокий ночной синий для свечений (не фирменный ярко-синий) */
  --ice:       oklch(0.96 0.015 266);  /* основной текст */
  --ice-2:     oklch(0.84 0.045 266);  /* вторичный текст */
  --ice-3:     oklch(0.74 0.055 266);  /* подписи */
  --line:      oklch(0.96 0.015 266 / 0.14);
  --gold-1:    #f8e6ad;
  --gold-2:    #e2b85c;
  --gold-3:    #b9892f;
  --gold:      #ecc978;                /* золото для текста и иконок */
  --on-gold:   #0b1640;
  --danger:    #ff9c8a;
  --ok:        #9fe6c1;

  --r-media: 20px;
  --r-field: 12px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1240px;
  --head-h: 72px;

  --z-canvas: 1;
  --z-content: 2;
  --z-sticky-cta: 20;
  --z-header: 30;

  --panel-bg: linear-gradient(160deg, oklch(0.25 0.12 266 / .92), oklch(0.2 0.09 266 / .96));
  --panel-border: 1px solid oklch(0.96 0.015 266 / .12);
  --panel-shadow: 0 1px 0 oklch(0.96 0.015 266 / .1) inset, 0 40px 80px -40px rgb(0 0 0 / .6);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 8px); }
body {
  margin: 0;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px; line-height: 1.6;
  color: var(--ice); background: var(--night-950);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 4px; }
h1, h2, h3 { margin: 0; font-weight: 600; text-wrap: balance; letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button { font: inherit; color: inherit; }
.ic { width: 1.25em; height: 1.25em; flex: none; }
.gold { color: var(--gold); }
.nowrap { white-space: nowrap; }
/* 11.11 (аудит Пидора): почта и ссылка на розничный сайт не рвутся по дефису «ai-» / «moroz.ru» */
a[href^="mailto:"], a[data-retail] { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
section { position: relative; }
.sec { padding-block: clamp(72px, 9vw, 120px); }
/* 11.11 Нина: на телефоне между блоками было 144px пустоты, стало 96 (по 48 сверху и снизу) */
@media (max-width: 767px) { .sec { padding-block: 48px; } }
.sec-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head h2, .faq-head h2, .memo-head h2, .lead-copy h2 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.1rem); line-height: 1.1; }
.lead { margin-top: 18px; font-size: clamp(1.02rem, 0.96rem + 0.3vw, 1.2rem); color: var(--ice-2); max-width: 56ch; line-height: 1.6; }
.lead a, .faq-ans a, .lead-alt a, .guard a, .hint a, .check a, .form-fail a, .thanks a, .emp-support a { color: var(--gold); font-weight: 600; }

/* ---------- Кнопки ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 30px;
  border: 0; border-radius: 999px; cursor: pointer;
  font-size: 16px; font-weight: 600; letter-spacing: 0.005em; line-height: 1.2; white-space: nowrap; text-align: center;
  color: var(--on-gold); text-decoration: none;
  background: linear-gradient(135deg, var(--gold-1) 0%, var(--gold-2) 48%, #f3d58b 72%, var(--gold-3) 100%);
  box-shadow: 0 1px 0 rgb(255 255 255 / .55) inset, 0 -2px 0 rgb(120 80 10 / .25) inset, 0 14px 40px -12px rgb(226 184 92 / .55);
  transition: transform 160ms var(--ease-out), box-shadow 200ms var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn .ic { width: 18px; height: 18px; }
/* блик по кнопке: обратная связь на наведение */
.btn::after {
  content: ""; position: absolute; inset: -40% auto -40% -60%; width: 46%; z-index: -1;
  background: linear-gradient(100deg, transparent 0%, rgb(255 255 255 / 0) 20%, rgb(255 255 255 / .7) 50%, transparent 80%);
  transform: translateX(0) skewX(-18deg); opacity: 0;
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover { box-shadow: 0 1px 0 rgb(255 255 255 / .6) inset, 0 -2px 0 rgb(120 80 10 / .25) inset, 0 18px 50px -12px rgb(226 184 92 / .75); }
  .btn:hover::after { opacity: 1; transform: translateX(380%) skewX(-18deg); transition: transform 700ms var(--ease-out), opacity 120ms linear; }
}
.btn:active { transform: scale(0.97); }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.btn-lg { min-height: 60px; padding: 0 34px; font-size: 17px; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 14.5px; box-shadow: 0 1px 0 rgb(255 255 255 / .55) inset, 0 8px 24px -10px rgb(226 184 92 / .5); }
.btn-block { width: 100%; }
.btn-ghost {
  color: var(--ice); background: oklch(0.96 0.015 266 / .06); box-shadow: inset 0 0 0 1px oklch(0.96 0.015 266 / .35);
  min-height: 50px; padding: 0 22px; font-weight: 500;
}
.btn-ghost::after { display: none; }
@media (hover: hover) and (pointer: fine) { .btn-ghost:hover { background: oklch(0.96 0.015 266 / .12); box-shadow: inset 0 0 0 1px oklch(0.96 0.015 266 / .6); } }

.btn-play {
  display: inline-flex; align-items: center; gap: 14px; min-height: 48px;
  font-size: 16px; font-weight: 600; color: var(--ice); text-decoration: none;
}
.btn-play-dot {
  position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  color: var(--on-gold); background: var(--ice); transition: transform 200ms var(--ease-out); flex: none;
}
.btn-play-dot::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid oklch(0.96 0.015 266 / .4); }
.btn-play-dot .ic { width: 18px; height: 18px; margin-left: 3px; }
.btn-play > span:last-child { text-decoration: underline; text-decoration-color: oklch(0.96 0.015 266 / .4); text-underline-offset: 5px; }
@media (hover: hover) and (pointer: fine) { .btn-play:hover .btn-play-dot { transform: scale(1.06); } }
.btn-play:active .btn-play-dot { transform: scale(0.95); }

/* ---------- Шапка ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  border-bottom: 1px solid transparent;
  transition: background-color 240ms var(--ease-out), border-color 240ms var(--ease-out);
}
.topbar.is-solid {
  background: oklch(0.17 0.07 266 / .86);
  -webkit-backdrop-filter: saturate(1.3) blur(12px); backdrop-filter: saturate(1.3) blur(12px);
  border-bottom-color: var(--line);
}
.topbar--page { position: sticky; top: 0; }
.topbar-in { display: flex; align-items: center; gap: 24px; height: var(--head-h); }
.logo-link { display: inline-flex; align-items: center; min-height: 44px; margin-right: auto; color: #fff; text-decoration: none; }
.logo { display: inline-flex; align-items: center; gap: 14px; white-space: nowrap; }
.logo-name { font-size: clamp(20px, 1.2vw + 12px, 26px); font-weight: 600; letter-spacing: -0.01em; color: #fff; }
.logo-by { padding-left: 14px; border-left: 1px solid oklch(0.96 0.015 266 / .3); font-size: 12.5px; line-height: 1.35; color: var(--ice-3); }
.logo-home { display: inline-flex; align-items: center; min-height: 44px; color: #fff; text-decoration: none; }
.logo-by-link { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.logo-by-link .logo-by { transition: color 150ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .logo-by-link:hover .logo-by { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; } }
.logo-by-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.nav { display: flex; gap: 26px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 500; color: var(--ice-2); text-decoration: none; transition: color 150ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .nav a:hover { color: var(--gold); } }
.back-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; font-weight: 500; color: var(--ice-2); text-decoration: none; }
.back-link .back-ic { transform: scaleX(-1); width: 18px; height: 18px; color: var(--gold); }
@media (max-width: 1020px) { .nav { display: none; } }
@media (max-width: 767px) {
  :root { --head-h: 64px; }
  .logo-by, .logo-by-link { display: none; }
  .topbar .btn-sm { padding: 0 16px; font-size: 14px; }
}

/* ---------- Первый экран ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column;
  background: var(--night-950);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 30%; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, oklch(0.15 0.07 266 / .95) 0%, oklch(0.17 0.08 266 / .82) 32%, oklch(0.2 0.1 266 / .3) 54%, transparent 68%),
    linear-gradient(0deg, oklch(0.15 0.07 266 / .9) 0%, transparent 24%);
}
.snow { position: absolute; inset: 0; z-index: var(--z-canvas); pointer-events: none; width: 100%; height: 100%; }
.hero-inner {
  position: relative; z-index: var(--z-content);
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  padding-top: calc(var(--head-h) + clamp(24px, 5vh, 56px)); padding-bottom: clamp(36px, 6vh, 64px);
}
.hero-copy { max-width: 620px; }
.kicker { font-size: 15px; font-weight: 600; color: var(--gold); margin-bottom: 18px; letter-spacing: 0.005em; }
.hero h1 { font-size: clamp(2.1rem, 1rem + 2.7vw, 3.55rem); line-height: 1.05; letter-spacing: -0.03em; }
.hero-sub { margin-top: clamp(16px, 2.4vh, 24px); max-width: 44ch; font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.18rem); line-height: 1.5; font-weight: 500; color: var(--ice-2); }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(20px, 3vh, 28px); }
.facts li {
  padding: 8px 14px; border-radius: 999px; font-size: 14.5px; line-height: 1.35; color: var(--ice-2);
  background: oklch(0.17 0.08 266 / .55); box-shadow: inset 0 0 0 1px oklch(0.96 0.015 266 / .16);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.facts b { color: var(--gold); font-weight: 600; white-space: nowrap; }
.hero-actions { margin-top: clamp(24px, 4vh, 40px); display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.hero-note { margin-top: 14px; font-size: 14px; color: var(--ice-3); }
.hero-stage { display: none; }
/* 11.11 Нина и Антон: строка цены и короткий подзаголовок есть только на телефоне, на компьютере их нет */
.hero-price { display: none; }
.hero-sub .sub-short { display: none; }

/* Дед Мороз со Снегурочкой шире одного Деда: на десктопе кадр уменьшен к правому нижнему углу, верх и левый край растворяются в ночи */
@media (min-width: 768px) {
  .hero--duo .hero-bg { background: radial-gradient(90% 80% at 75% 35%, var(--night-800) 0%, var(--night-950) 75%); }
  .hero--duo .hero-bg img {
    transform: scale(0.86); transform-origin: 100% 100%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 16%), linear-gradient(180deg, transparent 0%, #000 14%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0%, #000 16%), linear-gradient(180deg, transparent 0%, #000 14%);
    mask-composite: intersect;
  }
}
@media (min-width: 768px) and (max-width: 1100px) {
  .hero-bg::after { background: linear-gradient(90deg, oklch(0.15 0.07 266 / .95) 0%, oklch(0.17 0.08 266 / .86) 45%, oklch(0.2 0.1 266 / .35) 70%, transparent 85%), linear-gradient(0deg, oklch(0.15 0.07 266 / .9) 0%, transparent 24%); }
}

/* Телефон: текст на небе, Дед Мороз со Снегурочкой ниже кнопок, плашки поверх низа кадра */
@media (max-width: 767px) {
  .hero-bg { background: radial-gradient(120% 60% at 70% 30%, var(--night-800) 0%, var(--night-950) 70%); }
  .hero-bg img {
    position: absolute; left: 0; bottom: 0; width: 100%; height: auto;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 20%); mask-image: linear-gradient(180deg, transparent 0%, #000 20%);
  }
  .hero-bg::after { background: linear-gradient(0deg, oklch(0.14 0.07 266 / .96) 0%, oklch(0.15 0.07 266 / .7) 14%, transparent 30%); }
  .hero-inner { justify-content: flex-start; padding-top: calc(var(--head-h) + 14px); padding-bottom: 22px; }
  .hero-copy { display: flex; flex-direction: column; }
  .kicker { font-size: 13.5px; line-height: 1.45; margin-bottom: 10px; }
  .hero h1 { font-size: clamp(1.75rem, 8.2vw, 2.2rem); }
  .hero-sub { margin-top: 12px; font-size: 1rem; }
  .hero-actions { order: 3; margin-top: 20px; gap: 12px; flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; min-height: 56px; padding: 0 20px; font-size: 16px; }
  .hero-actions .btn-play { align-self: center; }
  .btn-play > span:last-child {
    padding: 7px 14px; border-radius: 999px; text-decoration: none;
    background: rgb(6 11 38 / .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    box-shadow: 0 0 0 1px oklch(0.96 0.015 266 / .14);
  }
  .hero-note { order: 4; align-self: center; margin-top: 10px; padding: 6px 12px; border-radius: 12px; text-align: center; font-size: 13px; color: var(--ice-2);
    background: rgb(6 11 38 / .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
  .hero-stage { display: block; order: 5; height: clamp(170px, 52vw, 260px); }
  .facts { order: 6; margin-top: 0; gap: 6px; }
  .facts li { font-size: 13.5px; padding: 7px 12px; background: oklch(0.15 0.07 266 / .78); }
}

/* 11.11 Нина и Антон: вариант 3 Багета «Герои первыми», ТОЛЬКО телефон (компьютер и планшет от 768px не меняются).
   Под шапкой кадр с Дедом Морозом и Снегурочкой, ниже подбородка он растворяется в ночи, весь текст под ним.
   Короткий подзаголовок, кикер скрыт, вместо «Ответим…» и четырёх плашек одна строка с ценой.
   Числа: картинка hero-m.webp 900×1385, на всю ширину её высота 153.9vw; верх шапки Деда на 0.473 высоты кадра. */
@media (max-width: 767px) {
  .hero { min-height: 0; }
  .hero-bg { background: radial-gradient(130% 50% at 50% 22%, var(--night-800) 0%, var(--night-950) 72%); }
  .hero-bg img { top: calc(80px - 153.9vw * 0.473); bottom: auto;
    -webkit-mask-image: linear-gradient(180deg, #000 0, #000 73%, transparent 81%); mask-image: linear-gradient(180deg, #000 0, #000 73%, transparent 81%); }
  .hero-bg::after { background: linear-gradient(180deg, oklch(0.15 0.07 266 / .7) 0, transparent 96px); }
  .hero-inner { padding-top: calc(80px + 153.9vw * 0.327); }
  .kicker, .hero-stage, .hero-note, .facts { display: none; }
  .hero h1 { margin-top: 0; }
  .hero-sub .sub-full { display: none; }
  .hero-sub .sub-short { display: inline; }
  .hero-price { display: block; order: 4; align-self: center; margin-top: 12px; max-width: 30ch; position: relative;
    text-align: center; font-size: 14.5px; line-height: 1.45; font-weight: 500; color: var(--ice-2); text-shadow: 0 0 2px oklch(0.15 0.07 266); }
  .hero-price::before { content: ""; position: absolute; inset: -16px -34px; z-index: -1; border-radius: 50%;
    background: radial-gradient(closest-side, oklch(0.15 0.07 266 / .88) 55%, oklch(0.15 0.07 266 / 0) 100%); }
  .hero-price b { color: var(--gold); font-weight: 600; white-space: nowrap; }
}

/* Первичный показ: только opacity/transform, контент виден и без анимации */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise 720ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 80ms + 120ms); }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } }
}

/* ---------- Демо ---------- */
.demo { background: linear-gradient(180deg, var(--night-950) 0%, var(--night-900) 100%); }
.player { position: relative; border-radius: var(--r-media); overflow: hidden; background: #000; aspect-ratio: 16 / 9;
  box-shadow: 0 0 0 1px oklch(0.96 0.015 266 / .1), 0 50px 100px -50px rgb(0 0 0 / .9); }
.player-video { width: 100%; height: 100%; background: #000; }
.player-cover { position: absolute; inset: 0; padding: 0; border: 0; cursor: pointer; background: none; }
.player-cover img { width: 100%; height: 100%; object-fit: cover; }
.player-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, oklch(0.15 0.07 266 / .9) 0%, oklch(0.15 0.07 266 / .3) 38%, transparent 62%); }
.player-cta { position: absolute; left: clamp(18px, 3.4vw, 44px); bottom: clamp(18px, 3.4vw, 40px); z-index: 1; display: flex; align-items: center; gap: clamp(14px, 2vw, 24px); text-align: left; }
.player-dot {
  display: grid; place-items: center; flex: none;
  width: clamp(60px, 6.4vw, 92px); height: clamp(60px, 6.4vw, 92px); border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2) 55%, var(--gold-3)); color: var(--on-gold);
  box-shadow: 0 0 0 10px rgb(236 201 120 / .14), 0 20px 50px -10px rgb(0 0 0 / .6);
  transition: transform 220ms var(--ease-out);
}
.player-dot .ic { width: 38%; height: 38%; margin-left: 6%; }
.player-label { display: flex; flex-direction: column; font-size: clamp(1.25rem, 0.9rem + 1.3vw, 2.1rem); font-weight: 600; line-height: 1.15; color: #fff; }
.player-label small { margin-top: 6px; font-size: 15px; font-weight: 500; color: var(--ice-2); }
@media (hover: hover) and (pointer: fine) { .player-cover:hover .player-dot { transform: scale(1.06); } }
.player-cover:active .player-dot { transform: scale(0.96); }
.player.is-playing .player-cover { display: none; }
.player-error { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2; padding: 12px 16px; border-radius: var(--r-field);
  background: var(--night-900); color: var(--ice); font-size: 15px; box-shadow: 0 0 0 1px var(--line); }
.player-error a { color: var(--gold); }
.demo-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px 48px; margin-top: 30px; }
.demo-foot p { max-width: 64ch; font-size: 15px; color: var(--ice-2); }
@media (max-width: 767px) {
  .demo-foot { flex-direction: column; align-items: stretch; }
  .demo-foot .btn { white-space: normal; }
  .demo-foot .btn .ic { display: none; }
  .player { border-radius: 16px; }
  .player-label small { font-size: 13.5px; }
}
/* 11.11 (аудит Пидора): на узких телефонах подпись «4 минуты 18 секунд» была у самого края обложки */
@media (max-width: 374px) { .player-cta { left: 22px; bottom: 26px; } }
/* 11.11: на 320px «Посмотреть пример · 4:18» рвалось на две строки, «4:18» висело одно */
@media (max-width: 359px) {
  .hero-actions .btn-play { gap: 10px; }
  .btn-play > span:last-child { padding: 7px 12px; font-size: 14.5px; }
}

/* ---------- Раскадровка ---------- */
.story { background: var(--night-900); overflow: hidden; }
.story-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.story-item { position: relative; padding: 20px 0 20px 36px; border-top: 1px solid var(--line); color: var(--ice-3); transition: color 200ms var(--ease-out); }
.story-item:last-child { border-bottom: 1px solid var(--line); }
.story-item::before {   /* золотой «камень», как в списке «что скажет Дед Мороз» */
  content: ""; position: absolute; left: 4px; top: 29px; width: 12px; height: 12px; transform: rotate(45deg); border-radius: 2px;
  background: oklch(0.96 0.015 266 / .22); transition: background-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.story-item h3 { font-size: 1.18rem; color: var(--ice-2); transition: color 200ms var(--ease-out); }
.story-item p { margin-top: 6px; font-size: 15.5px; line-height: 1.55; }
.story-item.is-on { color: var(--ice-2); }
.story-item.is-on h3 { color: var(--ice); }
.story-item.is-on::before { background: linear-gradient(135deg, var(--gold-1), var(--gold-3)); box-shadow: 0 0 18px rgb(236 201 120 / .45); }
.story-shot { display: none; margin: 0 0 14px; }
.story-shot img { width: 100%; border-radius: 14px; aspect-ratio: 16 / 9; object-fit: cover; background: var(--night-800); }
.story-view { position: sticky; top: calc(var(--head-h) + 32px); }
.story-view::before { content: ""; position: absolute; inset: -14% -18% -14% 6%; z-index: 0; background: radial-gradient(closest-side, oklch(0.32 0.14 266 / .6), transparent); }
.story-frame { position: relative; z-index: 1; aspect-ratio: 16 / 9; border-radius: var(--r-media); overflow: hidden; background: var(--night-800);
  box-shadow: 0 0 0 1px oklch(0.96 0.015 266 / .1), 0 40px 80px -40px rgb(0 0 0 / .8); }
.story-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 260ms var(--ease-out); }
.story-frame img.is-on { opacity: 1; }
.story-note { margin-top: 40px; max-width: 760px; padding: 18px 22px; border-radius: var(--r-field); font-size: 15px; color: var(--ice-2);
  background: oklch(0.15 0.07 266 / .5); box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 1023px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-view { display: none; }
  .story-shot { display: block; }
  .story-item { padding-left: 0; }
  .story-item::before { display: none; }
  .story-item, .story-item.is-on { color: var(--ice-2); }
  .story-item h3, .story-item.is-on h3 { color: var(--ice); }
  .story-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
  .story-item:last-child { border-bottom: 0; }
}
@media (max-width: 767px) {
  .story-list { grid-template-columns: 1fr; }
  .story-item:first-child { border-top: 0; padding-top: 0; }
}

/* ---------- Боль HR ---------- */
.pain { background: var(--night-950); }
.pain-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.pain-rows { border-top: 1px solid oklch(0.96 0.015 266 / .3); }
.pain-row { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 12px 40px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.pain-row h3 { font-size: clamp(1.15rem, 0.9rem + 0.7vw, 1.5rem); line-height: 1.2; }
.pain-row p { color: var(--ice-2); font-size: 15.5px; }
.pain-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; margin-top: 32px; }
.pain-foot p { font-size: 17px; font-weight: 600; color: var(--gold); max-width: 30ch; }
.pain-media { position: sticky; top: calc(var(--head-h) + 32px); }
.pain-media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-media); box-shadow: 0 40px 80px -40px rgb(0 0 0 / .8); }
@media (max-width: 1023px) {
  .pain-grid { grid-template-columns: 1fr; }
  .pain-media { position: static; order: -1; max-width: 460px; }
}
@media (max-width: 767px) {
  .pain-row { grid-template-columns: 1fr; padding: 22px 0; gap: 8px; }
  .pain-foot .btn { width: 100%; }
}

/* ---------- Шаги: реальная последовательность, поэтому номера ---------- */
.how { background: linear-gradient(180deg, var(--night-950) 0%, var(--night-900) 100%); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); margin-bottom: 56px; }
.step:nth-child(even) { margin-top: 56px; }
.step-img { position: relative; overflow: hidden; border-radius: var(--r-media); aspect-ratio: 1; background: var(--night-800); }
.step-img img { width: 100%; height: 100%; object-fit: cover; }
.step-num { position: absolute; left: 16px; top: 8px; z-index: 1; font-size: 64px; line-height: 1; font-weight: 400; letter-spacing: -0.04em; color: #fff;
  text-shadow: 0 2px 24px rgb(4 12 50 / .7); }
.step h3 { margin-top: 20px; font-size: 1.2rem; line-height: 1.25; }
.step p { margin-top: 8px; color: var(--ice-2); font-size: 15px; line-height: 1.55; }
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(even) { margin-top: 0; }
}
@media (max-width: 767px) {
  /* шаги: горизонтальная лента со снапом */
  .steps { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 8px;
           margin-inline: calc(var(--gutter) * -1); margin-bottom: 36px; scrollbar-width: none; }
  .steps::-webkit-scrollbar { display: none; }
  .step { flex: 0 0 78%; scroll-snap-align: start; scroll-margin-left: var(--gutter); }
  .step-num { font-size: 52px; }
  .how .btn { width: 100%; }
}

/* ---------- Что видит сотрудник ---------- */
.emp { background: radial-gradient(70% 80% at 25% 55%, oklch(0.32 0.14 266 / .55), transparent 70%), var(--night-950); overflow: hidden; }
.emp-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.emp-visual { position: relative; padding-right: clamp(40px, 7vw, 96px); padding-bottom: clamp(24px, 4vw, 48px); }
.device-desk { border-radius: 14px; overflow: hidden; background: var(--night-800); box-shadow: 0 0 0 1px oklch(0.96 0.015 266 / .16), 0 50px 90px -40px rgb(0 0 0 / .9); }
.device-bar { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; background: oklch(0.24 0.06 266); }
.device-bar i { width: 9px; height: 9px; border-radius: 50%; background: oklch(0.96 0.015 266 / .25); }
.device-bar span { margin-left: 12px; padding: 2px 12px; border-radius: 6px; background: oklch(0.15 0.07 266); font-size: 12px; color: var(--ice-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.device-desk img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.device-phone { position: absolute; right: 0; bottom: 0; width: clamp(130px, 17vw, 218px); padding: 7px; border-radius: 30px;
  background: oklch(0.12 0.03 266); box-shadow: 0 0 0 1px oklch(0.96 0.015 266 / .2), 0 30px 60px -24px rgb(0 0 0 / .9); }
.device-phone img { width: 100%; aspect-ratio: 390 / 844; border-radius: 24px; object-fit: cover; }
.emp-lists { display: grid; gap: 28px; }
.emp-lists h3 { font-size: 1.15rem; margin-bottom: 12px; }
.ticks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 4px 0; font-size: 15.5px; line-height: 1.5; color: var(--ice-2); }
.ticks .ic { width: 22px; height: 22px; margin-top: 1px; color: var(--gold); }
.emp-note { padding-top: 22px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ice-2); }
.emp-support { display: flex; align-items: flex-start; gap: 14px; margin-top: clamp(32px, 4vw, 48px); padding: 18px 22px; border-radius: var(--r-field);
  background: oklch(0.15 0.07 266 / .6); box-shadow: inset 0 0 0 1px rgb(236 201 120 / .25); font-size: 15.5px; color: var(--ice-2); }
.emp-support .ic { width: 24px; height: 24px; color: var(--gold); margin-top: 1px; }
@media (max-width: 1023px) { .emp-grid { grid-template-columns: 1fr; } }
@media (max-width: 767px) {
  .emp-visual { padding-right: 56px; padding-bottom: 28px; }
  .device-phone { width: 34%; padding: 5px; border-radius: 20px; }
  .device-phone img { border-radius: 15px; }
  .device-bar { height: 24px; }
  .device-bar span { font-size: 10px; }
}

/* ---------- Защита и ПДн ---------- */
.guard { background: var(--night-900); }
.guard-grid { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r-media); background: var(--panel-bg); border: var(--panel-border); box-shadow: var(--panel-shadow); }
.guard-col { padding: clamp(24px, 3vw, 40px); }
.guard-col + .guard-col { border-left: 1px solid var(--line); }
.guard-col h3 { font-size: 1.2rem; margin-bottom: 8px; color: var(--gold); }
.guard-col li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; line-height: 1.55; color: var(--ice-2); }
.guard-col li:last-child { border-bottom: 0; padding-bottom: 0; }
.guard-col b { color: var(--ice); font-weight: 600; }
@media (max-width: 860px) {
  .guard-grid { grid-template-columns: 1fr; }
  .guard-col + .guard-col { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Отличия: памятка для руководителя ---------- */
.diff { background: var(--night-950); overflow: hidden; }
.diff-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.diff-media { position: relative; }
.diff-media::before { content: ""; position: absolute; inset: -12% -20% -12% 10%; z-index: 0; background: radial-gradient(closest-side, oklch(0.32 0.14 266 / .6), transparent); }
.diff-media img { position: relative; z-index: 1; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-media); }
.memo { padding: clamp(26px, 4vw, 52px); border-radius: var(--r-media); background: var(--panel-bg); border: var(--panel-border); box-shadow: var(--panel-shadow); }
.memo-head { padding-bottom: 24px; border-bottom: 1px solid oklch(0.96 0.015 266 / .3); }
.memo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; }
.memo-item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.memo-item h3 { font-size: 1.08rem; }
.memo-item p { margin-top: 8px; font-size: 15px; color: var(--ice-2); }
.memo-item--wide { grid-column: 1 / -1; }
.memo-item--wide h3 { font-size: clamp(1.25rem, 1rem + 0.8vw, 1.6rem); color: var(--gold); }
.memo-item--wide p { font-size: 16px; max-width: 60ch; }
.memo-item:nth-last-child(-n+2) { border-bottom: 0; padding-bottom: 0; }
@media (max-width: 1023px) {
  .diff-grid { grid-template-columns: 1fr; }
  .diff-media { max-width: 460px; }
}
@media (max-width: 767px) {
  .memo-grid { grid-template-columns: 1fr; }
  .memo-item:nth-last-child(2) { border-bottom: 1px solid var(--line); padding-bottom: 22px; }
}

/* ---------- Цена ---------- */
.price { background: radial-gradient(70% 80% at 80% 30%, oklch(0.32 0.14 266 / .55), transparent 70%), var(--night-900); overflow: hidden; }
.price-top { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.price-title { font-size: clamp(3rem, 1.6rem + 5vw, 6rem); letter-spacing: -0.035em; line-height: 1; color: var(--gold); }
.price-title span { display: inline-block; font-size: 0.4em; font-weight: 600; letter-spacing: -0.02em; color: var(--ice); vertical-align: 0.42em; margin-left: 0.12em; }
.price .lead { margin-top: 22px; }
.price-media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-media); box-shadow: 0 40px 80px -40px rgb(0 0 0 / .8); }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px clamp(32px, 5vw, 80px); margin-top: clamp(36px, 5vw, 56px); padding-top: 32px; border-top: 1px solid var(--line); }
.price h3 { font-size: 1.15rem; margin-bottom: 14px; }
.price-factors li { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ice-2); font-size: 15.5px; line-height: 1.55; }
.price-factors li:first-child { padding-top: 4px; }
.price-factors li:last-child { border-bottom: 0; }
.price-factors b { color: var(--ice); }
/* 11.11 Нина, вариант 2 Багета: без плашки. Линия закрывает две колонки, ниже строка условий и кнопка по центру */
.price-foot { display: flex; flex-direction: column; align-items: center; gap: 28px; margin-top: clamp(40px, 5vw, 56px);
  padding-top: clamp(36px, 4vw, 48px); border-top: 1px solid var(--line); text-align: center; }
.price-foot p { font-size: 17px; color: var(--ice); text-wrap: balance; }
@media (max-width: 860px) {
  .price-top { grid-template-columns: 1fr; }
  .price-media { order: -1; max-width: 360px; }
  .price-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .price-foot { gap: 22px; padding-top: 32px; }
  .price-foot p { font-size: 15px; }
  .price-foot p span { display: block; }
  .price-foot .btn { width: 100%; white-space: normal; padding: 12px 20px; font-size: 16px; text-wrap: balance; }
}

.small-order { padding-block: clamp(28px, 4vw, 48px) 0; background: var(--night-950); }
.small-box { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; padding: 24px clamp(20px, 3vw, 32px);
  border-radius: var(--r-media); box-shadow: inset 0 0 0 1px var(--line); background: oklch(0.21 0.1 266 / .5); }
.small-box h3 { font-size: 1.12rem; }
.small-box p { margin-top: 6px; font-size: 15px; color: var(--ice-2); max-width: 70ch; }
.small-box .btn { flex: none; }
@media (max-width: 767px) { .small-box { flex-direction: column; align-items: stretch; } }

/* ---------- Кто делает: знак качества ---------- */
.maker { background: var(--night-950); padding-block: clamp(28px, 4vw, 44px); }
.maker-in { display: flex; align-items: center; gap: 18px clamp(18px, 3vw, 36px); padding-block: 24px; border-block: 1px solid var(--line); }
.maker-medal { position: relative; display: grid; place-items: center; flex: none; width: 92px; height: 92px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, oklch(0.3 0.13 266), var(--night-900) 70%);
  box-shadow: 0 0 0 1px rgb(236 201 120 / .55), 0 0 0 7px rgb(236 201 120 / .08), 0 18px 40px -16px rgb(0 0 0 / .7); }
.maker-medal img { width: 62px; height: auto; }
.maker-in p { font-size: 15px; color: var(--ice-2); max-width: 82ch; }
.maker-in b { color: var(--ice); }
.maker-link { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; flex: none; font-weight: 600; font-size: 15px; color: var(--ice); text-decoration-color: oklch(0.96 0.015 266 / .4); }
.maker-link .ic { width: 18px; height: 18px; color: var(--gold); }
@media (max-width: 767px) {
  /* 11.11 Нина: значок слева, жирная строка справа от него, описание и ссылка ниже на всю ширину.
     p { display: contents } отдаёт b и span.maker-text прямо в сетку .maker-in */
  .maker-in { display: grid; grid-template-columns: 72px 1fr; column-gap: 16px; row-gap: 14px; align-items: center; }
  .maker-medal { width: 72px; height: 72px; }
  .maker-medal img { width: 48px; }
  .maker-in p { display: contents; }
  .maker-in p b { grid-column: 2; font-size: 16px; line-height: 1.35; }
  .maker-in p .maker-text { grid-column: 1 / -1; font-size: 15px; line-height: 1.6; color: var(--ice-2); }
  .maker-link { grid-column: 1 / -1; justify-self: start; margin-left: 0; }
}

/* ---------- FAQ ---------- */
.faq { background: var(--night-950); }
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 32px clamp(32px, 6vw, 96px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--head-h) + 32px); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding: 20px 0;
  cursor: pointer; list-style: none; font-size: clamp(1.02rem, 0.98rem + 0.25vw, 1.18rem); font-weight: 600; line-height: 1.35; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ic { width: 22px; height: 22px; color: var(--gold); transition: transform 220ms var(--ease-out); }
.faq-item[open] .faq-ic { transform: rotate(45deg); }
.faq-ans { padding: 0 48px 24px 0; color: var(--ice-2); font-size: 15.5px; max-width: 64ch; }
@media (hover: hover) and (pointer: fine) { .faq-item summary:hover { color: var(--gold); } }
@media (max-width: 860px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-head { position: static; }
  .faq-ans { padding-right: 0; }
}

/* ---------- Форма заявки ---------- */
.lead-sec { background: radial-gradient(120% 90% at 50% 120%, var(--night-glow) 0%, var(--night-900) 45%, var(--night-950) 80%); }
.lead-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px clamp(32px, 6vw, 96px); align-items: start; }
.lead-copy { position: sticky; top: calc(var(--head-h) + 32px); }
.lead-hours { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ice-2); }
.lead-alt { margin-top: 8px; font-size: 15px; color: var(--ice-2); }
.lead-card { padding: clamp(22px, 3.5vw, 40px); border-radius: var(--r-media); background: var(--panel-bg); border: var(--panel-border); box-shadow: var(--panel-shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 8px; font-size: 14.5px; font-weight: 600; color: var(--ice); }
.field .opt { font-weight: 400; color: var(--ice-3); margin-left: 6px; }
.field input[type=text], .field input[type=email], .field input[type=number], .field textarea, .field select {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--r-field);
  font: inherit; font-size: 16px; line-height: 1.4; color: var(--ice);
  background: oklch(0.15 0.07 266 / .75); border: 1px solid oklch(0.96 0.015 266 / .28);
  transition: border-color 150ms var(--ease-out), box-shadow 150ms var(--ease-out);
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: oklch(0.72 0.05 266); opacity: 1; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgb(236 201 120 / .22); }
.field.has-err input, .field.has-err select, .field.has-err textarea { border-color: var(--danger); }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select select option { background: #0b1a5a; color: #fff; }
.select-ic { position: absolute; right: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); pointer-events: none; color: var(--ice-2); }
.hint { margin-top: 8px; font-size: 14px; color: var(--ice-2); }
.hint-small { margin-top: 10px; padding: 12px 14px; border-radius: var(--r-field); background: rgb(236 201 120 / .08); box-shadow: inset 0 0 0 1px rgb(236 201 120 / .3); color: var(--ice); font-size: 14.5px; line-height: 1.5; }
.err { display: none; margin-top: 7px; font-size: 14px; font-weight: 500; color: var(--danger); }
.field.has-err .err { display: block; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; cursor: pointer; padding: 4px 0; font-size: 14.5px; line-height: 1.5; color: var(--ice-2); }
.field label.check { display: grid; margin: 0; font-weight: 400; color: var(--ice-2); }
/* 11.11: своя галочка вместо серого системного квадрата; при ошибке рамка красная, как у полей */
.check input {
  appearance: none; -webkit-appearance: none; display: grid; place-content: center; flex: none;
  width: 22px; height: 22px; margin: 1px 0 0; border-radius: 6px; cursor: pointer;
  background: oklch(0.15 0.07 266 / .75); border: 1.5px solid oklch(0.96 0.015 266 / .45);
  transition: background-color 150ms var(--ease-out), border-color 150ms var(--ease-out);
}
.check input::before {
  content: ""; width: 12px; height: 12px; background: var(--on-gold); transform: scale(0); transition: transform 120ms var(--ease-out);
  clip-path: polygon(14% 52%, 0 66%, 38% 100%, 100% 22%, 86% 8%, 38% 72%);
}
.check input:checked { background: linear-gradient(135deg, var(--gold-1), var(--gold-2) 55%, var(--gold-3)); border-color: var(--gold); }
.check input:checked::before { transform: scale(1); }
.check input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.field.has-err .check input { border-color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin-top: 12px; font-size: 14px; color: var(--ice-3); text-align: center; }
.form-fail { margin-top: 14px; padding: 12px 16px; border-radius: var(--r-field); background: rgb(255 156 138 / .1); box-shadow: inset 0 0 0 1px rgb(255 156 138 / .4); color: var(--ice); font-size: 15px; }
.lead-form { position: relative; }

.thanks:focus { outline: none; }
.thanks-title { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); line-height: 1.15; }
.thanks-sub { margin-top: 24px; font-size: 15px; font-weight: 600; color: var(--gold); }
.thanks-steps { counter-reset: t; margin-top: 10px; }
.thanks-steps li { counter-increment: t; display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 8px 0; color: var(--ice-2); font-size: 15.5px; }
.thanks-steps li::before { content: counter(t); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: var(--on-gold); font-weight: 700; font-size: 14px; }
.thanks-steps b { color: var(--ice); overflow-wrap: anywhere; }
.thanks-wait { margin-top: 8px; }
.thanks-wait li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--ice-2); font-size: 15px; }
@media (prefers-reduced-motion: no-preference) {
  .thanks:not([hidden]) { animation: thanks-in 240ms var(--ease-out) both; }
  @keyframes thanks-in { from { opacity: 0; transform: translateY(6px); } }
}
@media (max-width: 1023px) {
  .lead-grid { grid-template-columns: 1fr; }
  .lead-copy { position: static; }
}
@media (max-width: 600px) {
  /* узкая панель: плейсхолдеры («Название компании или агентства») должны влезать целиком */
  .lead-card { padding: 20px 10px; border-radius: 16px; }
  .field input[type=text], .field input[type=email], .field input[type=number], .field textarea, .field select { padding-inline: 11px; }
  .field label, .field .check { padding-inline: 2px; }
}

/* ---------- Подвал ---------- */
.footer { background: var(--night-950); border-top: 1px solid var(--line); padding-block: 40px calc(44px + env(safe-area-inset-bottom)); font-size: 14px; color: var(--ice-3); }
.footer-in { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 24px 40px; }
.footer .logo-name { font-size: 20px; }
.footer .logo-by { color: var(--ice-3); }
.footer-brand p { margin-top: 10px; max-width: 34ch; color: var(--ice-3); }
.footer-req p + p { margin-top: 4px; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; }
.footer a { color: var(--ice-2); }
.footer-links a, .footer-req a { display: inline-block; padding-block: 10px; }
.footer-copy { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13.5px; }
@media (max-width: 860px) { .footer-in { grid-template-columns: 1fr; } }

/* ---------- Липкая кнопка на телефоне ---------- */
.sticky-cta { display: none; }
@media (max-width: 767px) {
  .sticky-cta {
    display: flex; position: fixed; z-index: var(--z-sticky-cta); left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    min-height: 54px; font-size: 16px; box-shadow: 0 1px 0 rgb(255 255 255 / .55) inset, 0 16px 40px -10px rgb(0 0 0 / .8);
    transform: translateY(calc(100% + 24px)); opacity: 0; pointer-events: none;
    transition: transform 240ms var(--ease-out), opacity 200ms var(--ease-out);
  }
  .sticky-cta.is-on { transform: none; opacity: 1; pointer-events: auto; }
  .sticky-cta.is-on:active { transform: scale(0.97); }
  body.landing .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* ---------- Юридические страницы ---------- */
.legal { max-width: 860px; padding-block: clamp(32px, 5vw, 64px) clamp(72px, 9vw, 120px); }
.legal h1 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); line-height: 1.1; }
.legal-date { margin-top: 12px; color: var(--ice-3); font-size: 15px; }
.legal h2 { margin: 36px 0 12px; font-size: 1.25rem; }
.legal p, .legal li { color: var(--ice-2); font-size: 15.5px; line-height: 1.65; }
.legal p + p { margin-top: 10px; }
.legal ul { margin: 10px 0; display: grid; gap: 6px; }
.legal ul li { position: relative; padding-left: 22px; }
.legal ul li::before { content: ""; position: absolute; left: 4px; top: 0.62em; width: 8px; height: 8px; transform: rotate(45deg); border-radius: 1px; background: var(--gold-3); }
.legal a { color: var(--gold); }
.legal b { color: var(--ice); }
.legal-table { display: grid; gap: 1px; margin: 14px 0; border-radius: var(--r-field); overflow: hidden; background: var(--line); }
.legal-table > div { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 14px 18px; background: var(--night-900); font-size: 15px; color: var(--ice-2); }
.legal-table b { color: var(--ice); }
.legal-op { margin-top: 40px; padding: 22px 24px; border-radius: var(--r-media); background: var(--panel-bg); border: var(--panel-border); font-size: 15px; line-height: 1.7; color: var(--ice-2); }
.legal-op b { display: block; color: var(--gold); margin-bottom: 4px; }
@media (max-width: 600px) { .legal-table > div { grid-template-columns: 1fr; gap: 4px; } }

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

/* ======================= detsad.ai-moroz.ru (15.11.2026) ======================= */

/* Цена: заголовок короче b2b-шного «От 500 ₽», без картинки справа */
.price-top { grid-template-columns: 1fr; }
.price-title { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.8rem); color: var(--ice); line-height: 1.1; }
.price-title span { display: inline; font-size: 1em; vertical-align: baseline; margin: 0; color: var(--gold); letter-spacing: -0.035em; }

/* Три тарифа по числу детей */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(28px, 4vw, 44px); }
.tier { background: var(--panel-bg); border: var(--panel-border); box-shadow: var(--panel-shadow); border-radius: var(--r-media);
        padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 6px; }
.tier--mid { border-color: color-mix(in oklch, var(--gold) 45%, transparent); }
.tier-kids { font-size: 15px; font-weight: 600; color: var(--ice-2); letter-spacing: .01em; }
.tier-price { font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem); font-weight: 700; color: var(--gold); letter-spacing: -0.035em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.tier-len { font-size: 14px; color: var(--ice-3); }
@media (max-width: 767px) {
  .tiers { grid-template-columns: 1fr; gap: 10px; }
  .tier { flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: space-between; padding: 18px 20px; gap: 2px 12px; }
  .tier-price { font-size: 2rem; order: 2; }
  .tier-kids { font-size: 16px; color: var(--ice); }
  .tier-len { flex-basis: 100%; order: 3; }
}

/* «Что нужно от группы»: полароиды детей + списки */
.need-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.need-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 20px); padding: 8px; }
.polaroid { margin: 0; background: #fbf6ea; padding: 8px 8px 0; border-radius: 4px; transform: rotate(var(--r, 0deg));
            box-shadow: 0 24px 40px -20px rgb(0 0 0 / .75), 0 2px 6px rgb(0 0 0 / .3); }
.polaroid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.polaroid figcaption { font-family: Georgia, "PT Serif", "Times New Roman", serif; font-style: italic; color: #5a3d1c; text-align: center;
                       font-size: clamp(13px, 1.2vw, 17px); padding: 6px 0 8px; line-height: 1.2; }
.need-copy h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); margin-bottom: 26px; }
.need-lists { display: grid; gap: 26px; }
.need h3 { font-size: 1.15rem; margin-bottom: 12px; color: var(--gold); }
.need-note { margin-top: 24px; font-size: 14px; color: var(--ice-3); }
@media (max-width: 1023px) { .need-grid { grid-template-columns: 1fr; } .need-photos { max-width: 560px; } }
@media (max-width: 767px) { .need-photos { gap: 10px; padding: 4px; } .polaroid { padding: 5px 5px 0; } }

/* Подсказка под числом детей: после ввода показывает цену тарифа */
.tier-hint { margin-top: -6px; margin-bottom: 14px; }
.tier-hint.is-price { color: var(--gold); font-weight: 600; }
.pain-media img { aspect-ratio: 4 / 3; }
.field input[type=number] { -moz-appearance: textfield; appearance: textfield; }
.field input[type=number]::-webkit-inner-spin-button, .field input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.lead-form .field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 480px) { .lead-form .field-pair { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .price .h-spacer { display: none; } .price-grid { gap: 0; } }
