/* Визуальная система «Привет от Мороза»: новогодняя ночь, лёд и золото. */

@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; }
.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(44px, 5.2vw, 72px); }   /* 11.11 Нина: между блоками было до 240px пустоты, стало до 144px */
.sec-head { max-width: 760px; margin-bottom: clamp(26px, 3.4vw, 44px); }
.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: .06em; text-transform: uppercase; color: #fff; } /* 15.11.2026 Нина: логотип */
.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, .logo-home: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; }

/* Дед Мороз со Снегурочкой шире одного Деда: на десктопе кадр уменьшен к правому нижнему углу, верх и левый край растворяются в ночи */
@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); }
}

/* Первичный показ: только 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; }
}
/* ---------- Шаги: реальная последовательность, поэтому номера ---------- */
.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%; }
}
.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); }
/* ---------- 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 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); }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--gold); cursor: pointer; }
.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; }
@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 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)); }
}

/* ================= Розница: новые блоки ================= */

/* ---------- Раскадровка ---------- */
.story-grid { margin-top: clamp(36px, 4.4vw, 60px); }
.demo { overflow: hidden; }
.story-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.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: relative; }
.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; }
}

/* ---------- Примеры коротких поздравлений ---------- */
.examples { background: var(--night-900); }
/* 27.11.2026: на главной короткие поздравления стоят выше сказки — переливы фона развёрнуты, чтобы на стыках
   герой → примеры → сказка → цены не было ступеньки (было: сказка 950→900, примеры ровный 900) */
.examples--first { background: linear-gradient(180deg, var(--night-950) 0%, var(--night-900) 100%); }
.examples--first + .demo { background: linear-gradient(180deg, var(--night-900) 0%, var(--night-950) 100%); }
.ex-grid { display: grid; grid-template-columns: repeat(2, 1fr); max-width: 900px; margin: 0 auto; gap: clamp(16px, 2.4vw, 32px); align-items: start; }
.ex-media { position: relative; aspect-ratio: 1; border-radius: var(--r-media); overflow: hidden; background: #000;
  box-shadow: 0 0 0 1px oklch(0.96 0.015 266 / .1), 0 40px 80px -40px rgb(0 0 0 / .8); }
.ex-video { width: 100%; height: 100%; background: #000; }
.ex-cover { position: absolute; inset: 0; padding: 0; border: 0; cursor: pointer; background: none; }
.ex-cover img { width: 100%; height: 100%; object-fit: cover; }
.ex-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, oklch(0.15 0.07 266 / .7) 0%, transparent 45%); }
.ex-dot { position: absolute; left: 16px; bottom: 16px; z-index: 1; display: grid; place-items: center; width: 60px; height: 60px; 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 8px rgb(236 201 120 / .14), 0 16px 40px -10px rgb(0 0 0 / .6); transition: transform 220ms var(--ease-out); }
.ex-dot .ic { width: 38%; height: 38%; margin-left: 6%; }
@media (hover: hover) and (pointer: fine) { .ex-cover:hover .ex-dot { transform: scale(1.06); } }
.ex-cover:active .ex-dot { transform: scale(0.96); }
.ex-media.is-playing .ex-cover { display: none; }
.ex-card figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: 14px; font-size: 15px; color: var(--ice-2); }
.ex-card figcaption b { font-size: 1.05rem; font-weight: 600; color: var(--ice); }
/* Под роликами — одна кнопка к заказу (карточку «снимаем» убрали 13.11.2026) */
.examples .sec-head { margin-inline: auto; text-align: center; }   /* ролики стоят парой по центру — заголовок тоже по центру */
.ex-cta { display: flex; justify-content: center; max-width: 900px; margin: clamp(24px, 3vw, 36px) auto 0; }
@media (max-width: 900px) {
  .ex-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .ex-grid { gap: 12px; }
  .ex-media { border-radius: 16px; }
  .ex-dot { width: 48px; height: 48px; left: 10px; bottom: 10px; box-shadow: 0 0 0 6px rgb(236 201 120 / .14); }
  .ex-card figcaption { font-size: 13.5px; }
  .ex-card figcaption b { font-size: 15px; }
  .ex-cta .btn { width: 100%; padding-inline: 16px; white-space: normal; }
}

/* ---------- Цены: список коротких слева, две сказки справа ---------- */
.plans { background: radial-gradient(70% 80% at 80% 30%, oklch(0.32 0.14 266 / .55), transparent 70%), var(--night-950); overflow: hidden; }
.plans-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(16px, 2.4vw, 32px); align-items: stretch; }
.plan-list { display: flex; flex-direction: column; padding: clamp(22px, 3vw, 40px); border-radius: var(--r-media); background: var(--panel-bg); border: var(--panel-border); box-shadow: var(--panel-shadow); }
.plan-list-head h3 { font-size: clamp(1.3rem, 1rem + 1vw, 1.75rem); }
.plan-list-head p { margin-top: 10px; font-size: 15.5px; color: var(--ice-2); max-width: 40ch; }
.faces { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 24px 0 8px; }
.faces img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-field); }
.faces-note { font-size: 14px; color: var(--ice-3); }
.plan-rows { margin-top: 44px; padding-top: 22px; }   /* 13.11 вариант Б (Нина): было auto — цены прижимались к низу растянутой карточки, пустота под лицами */
.plan-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.plan-row:last-child { padding-bottom: 0; }
/* Плашка «ХИТ» у популярного формата (V2_PLAN_HIT) */
.hit-badge { display: inline-block; margin-left: 8px; padding: 3px 8px 2px; border-radius: 999px; background: var(--gold); color: #1a1530;
  font-size: 11px; font-weight: 700; line-height: 1.2; letter-spacing: .08em; vertical-align: 3px; white-space: nowrap; }
.plan-row-name .hit-badge { color: #1a1530; font-size: 11px; }   /* иначе перебивает серый `.plan-row-name span` */
.plan-opt-name .hit-badge { margin-left: 6px; font-size: 10px; padding: 2px 7px 1px; vertical-align: 2px; }
.plan-row-name { display: flex; flex-direction: column; }
.plan-row-name b { font-size: 1.15rem; font-weight: 600; }
.plan-row-name span { font-size: 14.5px; color: var(--ice-3); }
.plan-row-price { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); font-weight: 600; letter-spacing: -0.02em; color: var(--gold); white-space: nowrap; font-variant-numeric: tabular-nums; }
.btn-pick { min-height: 46px; padding: 0 20px; font-size: 15px; }
.tale-cards { display: grid; gap: clamp(16px, 2.4vw, 32px); }
.tale-card { display: grid; grid-template-columns: minmax(150px, 48%) 1fr;   /* было 38%: у Деда на картинке сказки резало лицо (Нина 12.11) */ border-radius: var(--r-media); overflow: hidden; background: var(--panel-bg); border: var(--panel-border); box-shadow: var(--panel-shadow); }
.tale-card > img { width: 100%; height: 100%; min-height: 100%; object-fit: cover; object-position: 62% 50%; }   /* сдвиг к Деду: он справа на картинке */
.tale-card-body { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(20px, 2.6vw, 32px); }
.tale-card h3 { font-size: clamp(1.2rem, 1rem + 0.7vw, 1.5rem); line-height: 1.2; }
.tale-card-price { margin-top: 6px; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; color: var(--gold); white-space: nowrap; }
.tale-card .ticks { margin: 14px 0 20px; }
.tale-card .btn { margin-top: auto; }
.tale-card-text { margin-top: 12px; font-size: 15px; line-height: 1.55; color: var(--ice-2); }
.soon { margin-bottom: 10px; padding: 4px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--gold); box-shadow: inset 0 0 0 1px rgb(236 201 120 / .5); }
.tale-card.is-soon > img { opacity: .6; }
.tale-card.is-soon .tale-card-price { color: var(--ice-2); }
@media (max-width: 1023px) { .plans-grid { grid-template-columns: 1fr; } .plan-rows { margin-top: 0; } }   /* в одну колонку карточка не тянется — отступ не нужен, как было до 13.11 */
@media (max-width: 560px) {
  .tale-card { grid-template-columns: 1fr; }
  .tale-card > img { aspect-ratio: 1 / 1; height: auto; min-height: 0; object-position: 50% 50%; }   /* 16:9 резал шапку Деда и кокошник */
  .tale-card .btn { width: 100%; }
  .plan-row { grid-template-columns: 1fr auto; }
  .plan-row .btn-pick { grid-column: 1 / -1; width: 100%; }
}

/* ---------- Шаги: кнопки под лентой нет ---------- */
.how .steps { margin-bottom: 0; }

/* ---------- Форма заказа ---------- */
.order-sum { margin-top: 28px; padding: 20px 22px; border-radius: var(--r-media); background: oklch(0.15 0.07 266 / .6); box-shadow: inset 0 0 0 1px rgb(236 201 120 / .25); }
.order-sum-label { font-size: 14px; color: var(--ice-3); }
.order-sum-title { margin-top: 4px; font-size: 1.15rem; font-weight: 600; line-height: 1.3; }
.order-sum-price { margin-top: 6px; font-size: clamp(2rem, 1.4rem + 2vw, 2.9rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; }
.lead-alt { margin-top: 20px; }
.fs { border: 0; padding: 0; margin-inline: 0; min-width: 0; }
.fs legend { padding: 0; margin-bottom: 10px; font-size: 14.5px; font-weight: 600; color: var(--ice); }
.field .plan-opt, .field .seg-opt, .field .look { display: block; margin: 0; font-weight: 400; }
.plan-pick { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.plan-opt { position: relative; grid-column: span 2; cursor: pointer; }
.plan-opt--tale { grid-column: span 3; }
.plan-opt input, .seg-opt input, .look input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.plan-opt-box { display: flex; flex-direction: column; justify-content: center; gap: 2px; height: 100%; min-height: 68px; padding: 10px 14px; border-radius: var(--r-field);
  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), background-color 150ms var(--ease-out), box-shadow 150ms var(--ease-out); }
.plan-opt-name { font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--ice); }
.plan-opt-price { font-size: 15px; color: var(--gold); font-variant-numeric: tabular-nums; }
.plan-opt input:checked + .plan-opt-box { border-color: var(--gold); background: rgb(236 201 120 / .1); box-shadow: inset 0 0 0 1px var(--gold); }
.plan-opt input:focus-visible + .plan-opt-box, .seg-opt input:focus-visible + span, .look input:focus-visible + .look-box { outline: 2px solid var(--gold); outline-offset: 3px; }
.plan-opt.is-off { cursor: not-allowed; }
.plan-opt.is-off .plan-opt-box { opacity: .55; border-style: dashed; }
.plan-opt.is-off .plan-opt-price { color: var(--ice-2); }
@media (hover: hover) and (pointer: fine) { .plan-opt:not(.is-off):hover .plan-opt-box, .look:hover .look-box { border-color: oklch(0.96 0.015 266 / .6); } }
@media (max-width: 600px) {
  .plan-pick { grid-template-columns: 1fr; gap: 8px; }
  .plan-opt, .plan-opt--tale { grid-column: auto; }
  .plan-opt-box { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; }
}

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: oklch(0.15 0.07 266 / .75); box-shadow: inset 0 0 0 1px oklch(0.96 0.015 266 / .2); }
.seg-opt { position: relative; cursor: pointer; }
.seg-opt span { display: grid; place-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--ice-2);
  transition: background-color 150ms var(--ease-out), color 150ms var(--ease-out); }
.seg-opt input:checked + span { background: var(--gold); color: var(--on-gold); }
.looks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.looks[hidden] { display: none; }
.look { position: relative; cursor: pointer; }
.look-box { position: relative; display: block; border-radius: var(--r-field); overflow: hidden; 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); }
.look-box img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.look-chosen { margin-top: 12px; font-size: 15px; color: var(--ice-2); min-height: 1.5em; }
.look-check { position: absolute; top: 8px; right: 8px; display: none; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--on-gold); box-shadow: 0 4px 12px rgb(0 0 0 / .4); }
.look-check .ic { width: 15px; height: 15px; }
.look input:checked + .look-box { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.look input:checked + .look-box .look-check { display: grid; }

.count-row { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; margin-top: 8px; font-size: 14px; color: var(--ice-3); }
.count { margin-left: auto; white-space: nowrap; color: var(--ice-2); font-variant-numeric: tabular-nums; }
.count b { font-weight: 600; color: var(--ice); }
.count.is-over, .count.is-over b { color: var(--danger); }
.tale-note { display: grid; grid-template-columns: 24px 1fr; gap: 12px; margin-bottom: 18px; padding: 14px 16px; border-radius: var(--r-field);
  background: rgb(236 201 120 / .08); box-shadow: inset 0 0 0 1px rgb(236 201 120 / .3); font-size: 14.5px; line-height: 1.5; color: var(--ice); }
.tale-note[hidden] { display: none; }
.tale-note .ic { width: 22px; height: 22px; margin-top: 1px; color: var(--gold); }
.form-fail a { color: var(--gold); font-weight: 600; }
.footer-links span { padding-block: 10px; }
.footer-links a, .footer-req a { padding-block: 11px; }
@media (max-width: 600px) { .looks { gap: 8px; } }
.footer-brand a { color: var(--ice-2); }

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

/* Планшет: кнопка под плеером не сжимается, сетка образов в ценах не раздувается */
.demo-foot .btn { flex: none; }
@media (max-width: 1023px) { .faces { max-width: 440px; } }

/* 15.11.2026: две подписи подряд в подвале («Для компаний», «Для детских садов») — без двойного отступа между ними */
.footer-links span + span { padding-top: 0; margin-top: -10px; }

/* ---------- 26.11.2026 (Нина, вариант Барыги): вкладки версий сказки над плеером + «Момент с подарком» под ним (27.11 Нина: крупнее — 17,5px, кружок 32px) ---------- */
.tale-tabs { display: flex; gap: 6px; margin-bottom: 14px; border-bottom: 1px solid oklch(0.96 0.015 266 / .2); }
.tale-tab { margin-bottom: -1px; padding: 12px 18px; border: 0; border-bottom: 3px solid transparent; background: none; cursor: pointer;
  font: inherit; font-size: 16px; font-weight: 600; color: var(--ice-3); transition: color 150ms var(--ease-out), border-color 150ms var(--ease-out); }
.tale-tab.is-on { color: var(--ice); border-bottom-color: var(--gold); }
.tale-tab:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
@media (hover: hover) and (pointer: fine) { .tale-tab:not(.is-on):hover { color: var(--ice-2); } }
.tale-tab-short { display: none; }
.tale-moment { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 14px; padding: 4px 2px; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 17.5px; font-weight: 600; color: var(--gold);
  text-decoration: underline; text-decoration-color: rgb(236 201 120 / .45); text-underline-offset: 4px; }
.tale-moment-dot { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: var(--on-gold); flex: none; }
.tale-moment-dot .ic { width: 14px; height: 14px; margin-left: 2px; }
.tale-moment:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
@media (hover: hover) and (pointer: fine) { .tale-moment:hover { text-decoration-color: currentColor; } }
.tale-moment + .demo-foot { margin-top: 18px; }
@media (max-width: 600px) {
  .tale-tab { flex: 1; padding: 12px 6px; font-size: 15px; }
  .tale-tab-long, .tale-order-long { display: none; }
  .tale-tab-short { display: inline; }
}

/* ---------- 27.11.2026 (Нина, предложение Барыги): подарок в блоке цен и «Заказать так же» под примером с подарком ---------- */
.plan-gift { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; margin-top: 14px; padding: 12px 14px;
  border-radius: var(--r-field); border: 1px dashed rgb(236 201 120 / .55); background: rgb(236 201 120 / .06); }
.plan-gift img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.plan-gift-text b { display: block; font-size: 16px; font-weight: 600; color: var(--ice); }
.plan-gift-text span { display: block; margin-top: 2px; font-size: 14px; color: var(--ice-2); }
.plan-gift-price { font-size: 18px; font-weight: 600; color: var(--gold); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ex-order { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 14.5px; font-weight: 600; color: var(--gold);
  text-decoration: underline; text-decoration-color: rgb(236 201 120 / .45); text-underline-offset: 4px; }
.ex-order .ic { width: 14px; height: 14px; flex: none; }
.ex-order:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
@media (hover: hover) and (pointer: fine) { .ex-order:hover { text-decoration-color: currentColor; } }

/* 02.12.2026 Нина, вариант 2: скидка на сказку до 20.12 — лента, зачёркнутая цена, таймер плитками */
.tale-promo { margin-top: 8px; padding: 4px 10px; border-radius: 8px; background: linear-gradient(135deg, #e2574c, #b8322b); color: #fff; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.tale-card-old { margin-right: 8px; font-size: 0.5em; font-weight: 600; color: var(--ice-2); text-decoration-color: #e86a6a; vertical-align: 0.35em; }
.tale-timer { display: flex; gap: 6px; width: 100%; max-width: 300px; margin-top: 10px; }
.tale-timer[hidden] { display: none; }
.tale-timer > div { flex: 1; padding: 6px 2px; border-radius: 10px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(236, 201, 120, 0.3); text-align: center; }
.tale-timer b { display: block; font-size: 1.1rem; font-weight: 700; color: var(--gold); font-variant-numeric: tabular-nums; line-height: 1.2; }
.tale-timer span { font-size: 0.66rem; color: var(--ice-2); }
