/* =========================================================
   SHYRSHA STORE — стили
   Основа — новогодний красный, белый (снег, снеговик) и зелёный (ёлка), золото только в звёздах и огнях.
   ========================================================= */

/* Шрифты лежат в самом сайте (assets/fonts): латиница + кириллица с казахскими буквами + ₸.
   Geologica — заголовки и цены, Onest — текст. */
@font-face {
  font-family: "Shyrsha Display";
  src: url("../fonts/geologica.woff2") format("woff2");
  font-weight: 500 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Shyrsha Sans";
  src: url("../fonts/onest.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}

:root {
  --red-950: #4a060c;
  --red-900: #6d0a13;
  --red-800: #8f0d18;
  --red-700: #ad111c;
  --red-600: #c8161f;
  --red-500: #e1242d;
  --red-400: #f2545a;
  --red-100: #ffe1df;
  --red-50: #fff2f1;

  --green-900: #073a20;
  --green-800: #0a4e2b;
  --green-700: #0e6a39;
  --green-600: #128746;
  --green-500: #18a456;
  --green-50: #eaf7ef;

  --gold-500: #ffc531;
  --gold-600: #f2a900;
  --gold-100: #fff4d6;

  --snow: #ffffff;
  --frost: #f4f6f9;
  --frost-2: #e9eef4;
  --ink: #1f1416;
  --ink-2: #4d3d40;
  --ink-3: #7c6b6e;
  --line: #efe3e1;

  --display: "Shyrsha Display", "Geologica", "Segoe UI", system-ui, sans-serif;
  --sans: "Shyrsha Sans", "Onest", "Segoe UI", system-ui, -apple-system, sans-serif;

  --red-bg:
    radial-gradient(1100px 620px at 72% -8%, rgba(255, 92, 92, .38), transparent 62%),
    radial-gradient(900px 600px at -10% 110%, rgba(90, 0, 10, .35), transparent 60%),
    linear-gradient(180deg, #cc1821 0%, #b5131c 100%);

  --r-xl: 30px;
  --r-lg: 22px;
  --r: 18px;
  --r-sm: 12px;
  --sh-1: 0 1px 2px rgba(74, 6, 12, .06), 0 10px 30px rgba(74, 6, 12, .09);
  --sh-2: 0 2px 6px rgba(74, 6, 12, .10), 0 28px 60px rgba(74, 6, 12, .22);
  --sh-red: 0 26px 60px rgba(60, 4, 10, .38);
  --header-h: 76px;
  --gutter: clamp(16px, 4vw, 32px);
}

/* ---------- база ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--snow);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.container { position: relative; width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 10px; }
main section[id] { scroll-margin-top: calc(var(--header-h) - 4px); }
.center { text-align: center; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: #fff; color: var(--red-700); padding: 10px 16px; border-radius: 10px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* ---------- типографика ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  font: 700 .74rem/1.2 var(--sans); letter-spacing: .07em; text-transform: uppercase;
  background: var(--red-50); color: var(--red-600);
}
.tag .ic { width: 1.25em; height: 1.25em; }
.on-red .tag { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24); }
.tag-gold, .on-red .tag-gold { background: var(--gold-500); color: var(--red-900); box-shadow: none; }
.h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.2rem, 4.3vw, 3.65rem); line-height: 1.05; letter-spacing: -.028em;
  text-wrap: balance;
}
.h2 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.85rem, 3.3vw, 2.9rem); line-height: 1.08; letter-spacing: -.024em;
  color: var(--ink); text-wrap: balance;
}
.h1 em, .h2 em { font-style: normal; color: var(--red-600); }
.h1 em { white-space: nowrap; }
.on-red .h1, .on-red .h2 { color: #fff; }
.on-red .h1 em, .on-red .h2 em { color: var(--gold-500); }
.lead { font-size: 1.06rem; color: var(--ink-2); max-width: 640px; }
.on-red .lead { color: rgba(255, 255, 255, .86); }

/* ---------- кнопки ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 26px; border-radius: 999px;
  font: 700 .98rem/1.15 var(--sans); letter-spacing: .005em; text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { --h: 58px; padding: 0 30px; font-size: 1.02rem; }
.btn-sm { --h: 44px; padding: 0 18px; font-size: .9rem; }
.btn-white { background: #fff; color: var(--red-600); box-shadow: 0 12px 26px rgba(60, 4, 10, .26); }
.btn-white:hover { box-shadow: 0 18px 34px rgba(60, 4, 10, .34); }
.btn-green { background: var(--green-600); color: #fff; box-shadow: 0 12px 26px rgba(7, 58, 32, .32); }
.btn-green:hover { background: var(--green-700); }
.btn-red { background: var(--red-600); color: #fff; box-shadow: 0 12px 26px rgba(200, 22, 31, .3); }
.btn-red:hover { background: var(--red-700); }
.btn-ghost { color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-outline { color: var(--red-600); box-shadow: inset 0 0 0 2px var(--red-600); }
.btn-outline:hover { background: var(--red-600); color: #fff; }

/* ---------- красные секции: снег, узор, сугробы ---------- */
.on-red { position: relative; color: #fff; background: var(--red-bg); }
.flakes {
  position: absolute; inset: 0; pointer-events: none; opacity: .11;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cg fill='none' stroke='%23fff' stroke-linecap='round' stroke-width='1.8'%3E%3Cpath d='M44 32v32M30.1 40l27.8 16M30.1 56l27.8-16M39 35l5 5 5-5M39 61l5-5 5 5'/%3E%3Cpath d='M176 120v22M166.5 125.5l19 11M166.5 136.5l19-11'/%3E%3Cpath d='M84 180v16M77 184l14 8M77 192l14-8'/%3E%3C/g%3E%3Cg fill='%23fff'%3E%3Ccircle cx='132' cy='36' r='2.2'/%3E%3Ccircle cx='214' cy='206' r='1.8'/%3E%3Ccircle cx='16' cy='142' r='1.6'/%3E%3Ccircle cx='200' cy='60' r='1.4'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 240px 240px;
}
.drift { position: absolute; left: 0; width: 100%; height: clamp(34px, 5vw, 72px); pointer-events: none; z-index: 1; }
.drift path { fill: #fff; }
.drift-b { bottom: -1px; }
.drift-t { top: -1px; }
.snow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }

/* ---------- верхняя полоса ---------- */
.topbar { position: relative; z-index: 60; background: var(--red-900); color: rgba(255, 255, 255, .9); font: 600 .8rem/1.3 var(--sans); }
.topbar-in { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 38px; padding-top: 6px; padding-bottom: 6px; text-align: center; }
.tb-item { display: inline-flex; align-items: center; gap: 8px; }
.tb-item .ic { color: var(--gold-500); }
.tb-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold-500); }

/* ---------- шапка ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); color: #fff; transition: background-color .3s ease, box-shadow .3s ease; }
.site-header.is-solid, .is-menu-open .site-header {
  background: rgba(176, 17, 27, .94);
  -webkit-backdrop-filter: saturate(1.2) blur(14px); backdrop-filter: saturate(1.2) blur(14px);
  box-shadow: 0 10px 30px rgba(60, 4, 10, .28);
}
.header-in { height: 100%; display: flex; align-items: center; gap: 26px; }
.brand { flex: none; display: block; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; gap: 24px; margin-left: auto; font: 600 .92rem/1 var(--sans); }
.nav a { position: relative; padding: 10px 0; color: rgba(255, 255, 255, .9); transition: color .2s; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--gold-500); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav a:hover { color: #fff; }
.nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.lang button {
  font: 700 .72rem/1 var(--sans); letter-spacing: .05em; color: rgba(255, 255, 255, .86);
  padding: 9px 10px; border-radius: 999px; transition: background-color .2s, color .2s;
}
.lang button:hover { color: #fff; }
.lang button[aria-pressed="true"] { background: #fff; color: var(--red-600); }
.burger { display: none; position: relative; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s ease, top .3s ease; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.is-menu-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.is-menu-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

/* мобильное меню. Прокрутку блокируем на body, а не на html: иначе body становится
   отдельной прокручиваемой областью и закреплённая шапка уезжает вверх */
.is-menu-open body { overflow: hidden; }
.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  padding: calc(var(--header-h) + 40px) var(--gutter) 32px;
  background: var(--red-bg); color: #fff;
  display: flex; flex-direction: column; gap: 22px; overflow-y: auto;
}
.mm-nav { display: flex; flex-direction: column; }
.mm-link { font: 800 1.7rem/1.2 var(--display); letter-spacing: -.02em; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.lang-mm { align-self: flex-start; }
.mm-cta { align-self: stretch; }
.mm-phone { text-align: center; font-weight: 700; letter-spacing: .02em; }

/* ---------- первый экран ---------- */
.hero { overflow: hidden; margin-top: calc(-1 * var(--header-h)); padding-top: var(--header-h); }
.hero-in {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr); align-items: end; gap: clamp(12px, 3vw, 40px);
}
.hero-copy {
  align-self: center; display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
  padding: clamp(20px, 3vw, 40px) 0 clamp(84px, 8vw, 110px);
}
/* на ноутбуке первый экран занимает окно целиком: Санта и снеговик видны сразу */
@media (min-width: 961px) {
  .hero-in { min-height: calc(100vh - 38px - var(--header-h)); min-height: min(calc(100svh - 38px - var(--header-h)), 860px); }
}
.hero-lead { font-size: clamp(1rem, 1.3vw, 1.14rem); color: rgba(255, 255, 255, .88); max-width: 540px; }
.hero-offer { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.hero-price { font: 600 1.05rem/1.25 var(--sans); }
.hero-price strong { font: 800 1.75rem/1 var(--display); letter-spacing: -.02em; color: var(--gold-500); white-space: nowrap; }
.hero-kaspi {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 999px;
  background: rgba(255, 255, 255, .14); font: 600 .82rem/1.2 var(--sans);
}
.hero-kaspi .ic { color: var(--gold-500); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { position: relative; z-index: 2; align-self: end; margin: 0 calc(-1 * var(--gutter)) -1px 0; }
.hero-art::before {
  content: ""; position: absolute; left: 22%; right: 18%; top: 4%; bottom: 22%; z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 214, 120, .42), rgba(255, 214, 120, .1) 60%, transparent);
  animation: glow 6s ease-in-out infinite alternate;
}
.hero-art svg { width: 100%; height: auto; }
@keyframes glow { from { opacity: .7; transform: scale(.96); } to { opacity: 1; transform: scale(1.04); } }

/* обратный отсчёт */
.countdown {
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 9px;
  padding: 13px 14px 14px; border-radius: 20px;
  background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
}
.cd-title { font: 700 .7rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .88); }
.cd-grid { display: flex; gap: 8px; }
.cd-box {
  min-width: 64px; padding: 9px 6px 8px; border-radius: 13px; background: #fff; color: var(--red-700);
  display: flex; flex-direction: column; align-items: center; gap: 5px;
}
.cd-num { font: 800 1.6rem/1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.cd-lbl { font: 600 .6rem/1 var(--sans); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.cd-done { display: none; font: 800 1.4rem/1.2 var(--display); color: var(--gold-500); }
.countdown.is-done .cd-grid, .countdown.is-done .cd-title { display: none; }
.countdown.is-done .cd-done { display: block; }

/* ---------- преимущества ---------- */
.perks-sec { position: relative; z-index: 3; padding: 26px 0 12px; }
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.perk { display: flex; align-items: flex-start; gap: 14px; padding: 18px 18px 20px; border-radius: var(--r-lg); background: var(--frost); }
.perk-ic { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; font-size: 1.35rem; color: #fff; background: var(--red-600); box-shadow: 0 10px 20px rgba(200, 22, 31, .24); }
.perk h3 { font: 700 1.02rem/1.25 var(--display); letter-spacing: -.01em; margin: 2px 0 4px; }
.perk p { font-size: .88rem; line-height: 1.5; color: var(--ink-2); }

/* ---------- секции ---------- */
.section { position: relative; padding: clamp(72px, 9vw, 120px) 0; }
.on-red.section { padding: clamp(104px, 11vw, 150px) 0; }
.sec-head {
  position: relative; z-index: 2;
  max-width: 780px; margin: 0 auto clamp(34px, 5vw, 54px);
  display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
}

/* ---------- каталог ---------- */
.catalog > .container { position: relative; z-index: 2; }
.garland { position: absolute; left: 0; right: 0; top: clamp(20px, 3vw, 44px); height: 80px; overflow: hidden; pointer-events: none; z-index: 1; }
.garland svg { width: 100%; height: 100%; }
.gl-b { animation: twinkle 2.6s ease-in-out infinite; }

.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 28px); }
.product {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; color: var(--ink); border-radius: var(--r-xl);
  box-shadow: var(--sh-red); transition: transform .3s ease, box-shadow .3s ease;
}
.product:hover { transform: translateY(-6px); box-shadow: 0 36px 70px rgba(60, 4, 10, .45); }
.product-art {
  position: relative; overflow: hidden; margin: 10px 10px 0; aspect-ratio: 1 / .98;
  border-radius: calc(var(--r-xl) - 8px) calc(var(--r-xl) - 8px) 16px 16px;
  background: radial-gradient(ellipse 85% 75% at 50% 28%, #ffffff 0%, #f3f6f9 58%, #e3eaf1 100%);
  display: flex; align-items: flex-end; justify-content: center;
}
.product-art::after {
  content: ""; position: absolute; left: -12%; right: -12%; bottom: -46px; height: 92px; border-radius: 50%;
  background: #fff; box-shadow: 0 -3px 0 rgba(200, 214, 228, .7); pointer-events: none;
}
.product-art.has-photo { aspect-ratio: 4 / 5; background: var(--frost-2); }
.product-art.has-photo::after { display: none; }

/* карусель фото как в Instagram: свайп, стрелки, точки */
.gal { position: absolute; inset: 0; }
.gal-track {
  display: flex; height: 100%; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none;
}
.gal-track::-webkit-scrollbar { display: none; }
.gal-track img {
  flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover;
  scroll-snap-align: center; scroll-snap-stop: always; user-select: none;
}
.gal-nav {
  position: absolute; top: 50%; z-index: 2; width: 38px; height: 38px; margin-top: -19px; border-radius: 50%;
  background: rgba(255, 255, 255, .88); box-shadow: 0 6px 16px rgba(40, 3, 8, .22);
  opacity: 0; transition: opacity .25s ease, background-color .2s ease, transform .2s ease;
}
.gal-nav::before {
  content: ""; position: absolute; left: 14px; top: 13px; width: 11px; height: 11px;
  border: 2px solid var(--ink); border-width: 2px 2px 0 0; transform: rotate(45deg);
}
.gal-prev { left: 10px; }
.gal-prev::before { left: 16px; transform: rotate(-135deg); }
.gal-next { right: 10px; }
.gal-nav:hover { background: #fff; transform: scale(1.06); }
.gal-nav:disabled { opacity: 0 !important; pointer-events: none; }
.product:hover .gal-nav, .gal-nav:focus-visible { opacity: 1; }
.gal-dots { position: absolute; left: 0; right: 0; bottom: 12px; z-index: 2; display: flex; justify-content: center; gap: 7px; }
.gal-dot {
  width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .55);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .35); transition: background-color .2s ease, transform .2s ease;
}
.gal-dot[aria-current="true"] { background: #fff; transform: scale(1.25); }
.product-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gal img { position: static; }
.product-tree { position: relative; z-index: 1; width: 84%; height: 94%; transition: transform .5s ease; }
.product-tree svg { width: 100%; height: 100%; }
.product:hover .product-tree { transform: scale(1.03); }
.badge {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  font: 700 .7rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase;
  color: #fff; background: var(--red-600); padding: 8px 12px; border-radius: 999px;
}
.badge.is-gold { background: var(--gold-500); color: var(--red-900); }
.badge.is-green { background: var(--green-600); }
.product-body { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 20px 22px 22px; }
.product-name { font: 800 1.65rem/1.08 var(--display); letter-spacing: -.025em; }
.product-spec { display: flex; align-items: center; gap: 7px; margin-top: -6px; font: 700 .8rem/1.2 var(--sans); color: var(--green-700); }
.product-spec .ic { width: 1em; height: 1em; color: var(--green-600); }
.product-desc { font-size: .92rem; line-height: 1.55; color: var(--ink-2); }
.gift-note {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  padding: 8px 13px; border-radius: 999px; background: var(--green-50); color: var(--green-700);
  font: 700 .8rem/1.2 var(--sans);
}
.gift-note .ic { width: 1.15em; height: 1.15em; }
.hero-gift .ic { color: var(--gold-500); }
.sizes-label { display: block; margin-bottom: 8px; font: 700 .7rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.size-list { display: flex; gap: 8px; }
.size {
  flex: 1 1 0; min-width: 0; height: 44px; padding: 0 8px; border-radius: 13px;
  font: 700 .92rem/1 var(--sans); color: var(--ink); background: var(--frost);
  box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .2s, background-color .2s, color .2s;
}
.size:hover { box-shadow: inset 0 0 0 1.5px var(--red-400); }
.size[aria-pressed="true"] { background: var(--red-600); color: #fff; box-shadow: 0 8px 18px rgba(200, 22, 31, .3); }
.product-foot { margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line); display: flex; flex-direction: column; gap: 14px; }
.price { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.price-val { font: 800 1.9rem/1 var(--display); letter-spacing: -.025em; color: var(--red-600); white-space: nowrap; }
.price-note { font: 700 .72rem/1 var(--sans); white-space: nowrap; padding: 7px 10px; border-radius: 999px; background: var(--gold-100); color: #8a5a00; }
.product .btn { width: 100%; }
.product.is-flash { animation: flash 1.6s ease; }
@keyframes flash { 0%, 100% { box-shadow: var(--sh-red); } 25% { box-shadow: 0 0 0 4px var(--gold-500), var(--sh-red); } }
.cat-note { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 30px; font-size: .92rem; color: rgba(255, 255, 255, .88); text-align: center; }
.cat-note .ic { color: var(--gold-500); }

/* Kaspi — зелёная карточка внутри каталога */
.promo {
  position: relative; overflow: hidden; isolation: isolate; margin-top: clamp(40px, 6vw, 70px);
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 26px;
  padding: clamp(28px, 4.5vw, 56px); padding-right: clamp(28px, 18vw, 270px);
  border-radius: var(--r-xl); color: #fff;
  background:
    radial-gradient(600px 300px at 92% 0%, rgba(60, 194, 116, .35), transparent 62%),
    linear-gradient(135deg, #0f6e3b 0%, #0a4e2b 100%);
  box-shadow: 0 30px 60px rgba(7, 58, 32, .4);
}
.promo-orn { position: absolute; right: clamp(14px, 4vw, 56px); top: 0; width: clamp(140px, 15vw, 210px); z-index: -1; }
.promo .h2 { color: #fff; margin-top: 12px; }
.promo .h2 em { color: var(--gold-500); }
.promo-text { margin-top: 12px; max-width: 560px; color: rgba(255, 255, 255, .88); }

/* ---------- подбор высоты ---------- */
.height-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.height-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.hg-control { width: 100%; margin-top: 8px; padding: 20px 22px 16px; border-radius: var(--r-lg); background: var(--frost); }
.hg-label { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; font-weight: 700; font-size: .92rem; color: var(--ink-2); }
.hg-label output { font: 800 1.8rem/1 var(--display); letter-spacing: -.02em; color: var(--red-600); }
.hg-scale { display: flex; justify-content: space-between; margin-top: 6px; font-size: .76rem; color: var(--ink-3); }
input[type="range"] { --p: 50%; -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--red-600) var(--p), #e3d8d7 var(--p)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: #e3d8d7; }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--red-600); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%;
  background: #fff; border: 7px solid var(--red-600); box-shadow: 0 6px 14px rgba(200, 22, 31, .35);
}
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 7px solid var(--red-600); box-shadow: 0 6px 14px rgba(200, 22, 31, .35); }
.hg-result { width: 100%; }
.hg-rec { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; font-weight: 700; color: var(--ink-2); }
.hg-rec strong { font: 800 1.7rem/1 var(--display); letter-spacing: -.02em; color: var(--green-600); }
.hg-max { margin-top: 6px; font-size: .88rem; color: var(--ink-3); }
.hg-models-t { margin-top: 14px; font: 700 .7rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.hg-models { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.hg-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px;
  background: var(--frost); font-size: .88rem; font-weight: 700; color: var(--ink);
  transition: background-color .2s, color .2s, transform .2s;
}
.hg-chip small { font-size: .8rem; font-weight: 600; color: var(--red-600); }
.hg-chip .ic { color: var(--red-600); }
.hg-chip:hover { background: var(--red-50); transform: translateY(-1px); }
.hg-tip { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; color: var(--ink-2); }
.hg-tip .ic { color: var(--gold-600); margin-top: 3px; }
.height-vis { position: relative; overflow: hidden; width: 100%; aspect-ratio: 360 / 420; border-radius: var(--r-xl); box-shadow: var(--sh-2); }
.height-vis svg { width: 100%; height: 100%; }

/* ---------- как заказать ---------- */
.steps > .container { position: relative; z-index: 2; }
.step-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { position: relative; padding: 24px 22px 26px; border-radius: var(--r-lg); background: #fff; color: var(--ink); box-shadow: var(--sh-red); }
.step-num {
  display: inline-grid; place-items: center; width: 54px; height: 54px; margin-bottom: 16px; border-radius: 16px;
  font: 800 1.3rem/1 var(--display); color: var(--red-600); background: var(--red-50);
}
.step:nth-child(2) .step-num { color: var(--green-600); background: var(--green-50); }
.step:nth-child(3) .step-num { color: #9a6a00; background: var(--gold-100); }
.step:nth-child(4) .step-num { color: #fff; background: var(--red-600); }
.step h3 { font: 700 1.14rem/1.25 var(--display); letter-spacing: -.01em; margin-bottom: 6px; }
.step p { font-size: .92rem; color: var(--ink-2); }

/* ---------- доставка ---------- */
.dl-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.dl-art { position: relative; display: flex; justify-content: center; padding-top: 70px; }
.dl-art::before {
  content: ""; position: absolute; left: 6%; right: 6%; top: 18%; bottom: 0; border-radius: 50% 50% 28px 28px;
  background: radial-gradient(ellipse at 50% 40%, var(--red-50), #fff 72%);
}
.dl-santa { position: relative; width: min(100%, 400px); }
.dl-santa svg { width: 100%; height: auto; }
.dl-grid { display: grid; gap: 14px; }
.dl-card {
  display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; align-items: start;
  padding: 20px 22px; border-radius: var(--r-lg); background: var(--frost);
}
.dl-ic { grid-row: span 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; font-size: 1.35rem; color: #fff; background: var(--green-600); }
.dl-card:nth-child(2) .dl-ic { background: var(--red-600); }
.dl-card:nth-child(3) .dl-ic { background: var(--gold-500); color: var(--red-900); }
.dl-card h3 { font: 700 1.18rem/1.2 var(--display); letter-spacing: -.01em; margin: 4px 0 8px; }
.ticks { display: grid; gap: 6px; }
.ticks li { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; color: var(--ink-2); }
.ticks li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%;
  background: var(--green-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* облачка-реплики персонажей */
.bubble {
  position: absolute; z-index: 3; max-width: 230px;
  padding: 12px 16px; border-radius: 18px;
  font: 800 1rem/1.2 var(--display); letter-spacing: -.01em;
  color: #fff; background: var(--red-600); box-shadow: 0 14px 30px rgba(60, 4, 10, .22);
  animation: bubble 4.5s ease-in-out infinite;
}
.bubble::after {
  content: ""; position: absolute; bottom: -8px; left: 34px; width: 18px; height: 18px;
  background: inherit; border-radius: 0 0 5px 0; transform: rotate(45deg);
}
.bubble-dl { top: 10px; right: 6%; }
.bubble-dl::after { left: 26px; }
.bubble-faq { top: 0; left: 150px; background: var(--green-600); }
.bubble-faq::after { left: 22px; }
@keyframes bubble { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ---------- заявка и формы ---------- */
.lead-sec { background: linear-gradient(180deg, #fff 0%, var(--frost) 100%); }
.lead-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.lead-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.lead-ticks { gap: 10px; }
.lead-ticks li { font-size: .96rem; }
.lead-card {
  position: relative; padding: clamp(22px, 3vw, 34px); border-radius: var(--r-xl);
  background: #fff; box-shadow: var(--sh-2);
}
.lead-card::before {
  content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 5px; border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, var(--red-600), var(--gold-500), var(--green-600));
}
.lf { display: flex; flex-direction: column; gap: 14px; }
.lf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lf-f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.lf-l { font: 700 .72rem/1.2 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); }
.lf-l small { font-weight: 600; letter-spacing: .02em; text-transform: none; opacity: .75; }
.lf-i {
  width: 100%; height: 50px; padding: 0 16px; border: 0; border-radius: 14px;
  background: var(--frost); color: var(--ink); font: 600 .98rem/1 var(--sans);
  box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .2s ease, background-color .2s ease;
}
.lf-i::placeholder { color: #a99a9c; font-weight: 500; }
.lf-i:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 2px var(--red-600); }
.lf-i.is-bad { background: var(--red-50); box-shadow: inset 0 0 0 2px var(--red-500); }
.lf-lang { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 8px 10px 16px; border-radius: 14px; background: var(--frost); }
.lang-msg { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.lang-msg button { padding: 9px 15px; color: var(--ink-2); }
.lang-msg button:hover { color: var(--red-600); }
.lang-msg button[aria-pressed="true"] { background: var(--red-600); color: #fff; }
.lf-err { font-size: .88rem; font-weight: 600; color: var(--red-600); }
.lf-send { width: 100%; }
.lf-plain { align-self: center; font: 600 .88rem/1 var(--sans); color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; }
.lf-plain:hover { color: var(--red-600); }
.lf-note { font-size: .78rem; line-height: 1.4; color: var(--ink-3); text-align: center; }
.lf-ok { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 8px 0 4px; text-align: center; }
.lf-ok-ic { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; font-size: 1.7rem; color: #fff; background: var(--green-600); }
.lf-ok-t { font: 800 1.3rem/1.2 var(--display); letter-spacing: -.02em; }
.lf-ok-p { font-size: .94rem; color: var(--ink-2); }
.lf-ok .btn { margin-top: 6px; }

/* окно заказа */
.is-modal-open body { overflow: hidden; }
.modal { position: fixed; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center; padding: var(--gutter); }
.modal-bg { position: absolute; inset: 0; background: rgba(40, 3, 8, .62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: fade .25s ease; }
.modal-card {
  position: relative; width: 100%; max-width: 520px; max-height: calc(100vh - 2 * var(--gutter)); overflow-y: auto;
  padding: clamp(22px, 3vw, 32px); border-radius: var(--r-xl); background: #fff; color: var(--ink);
  box-shadow: 0 40px 90px rgba(40, 3, 8, .5); animation: pop .3s cubic-bezier(.2, .8, .2, 1);
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
.modal-x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; background: var(--frost); transition: background-color .2s; }
.modal-x span { position: absolute; left: 12px; right: 12px; top: 19px; height: 2px; border-radius: 2px; background: var(--ink-2); }
.modal-x span:first-child { transform: rotate(45deg); }
.modal-x span:last-child { transform: rotate(-45deg); }
.modal-x:hover { background: var(--red-50); }
.modal-t { font: 800 1.55rem/1.15 var(--display); letter-spacing: -.025em; padding-right: 48px; }
.modal-sub { margin: 8px 0 16px; font-size: .94rem; color: var(--ink-2); }
.om-pick { display: flex; align-items: stretch; gap: 14px; margin-bottom: 16px; padding: 14px 16px; border-radius: var(--r); background: var(--frost); }
.om-thumb { flex: none; width: 76px; height: 95px; object-fit: cover; border-radius: 12px; }
.om-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 9px; }
.om-info .gift-note { padding: 6px 11px; font-size: .74rem; }
.om-l { font: 700 .7rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.om-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.om-name { font: 800 1.25rem/1.1 var(--display); letter-spacing: -.02em; }
.om-price { font: 800 1.25rem/1 var(--display); letter-spacing: -.02em; color: var(--red-600); white-space: nowrap; }
.om-pick .size:not([aria-pressed="true"]) { background: #fff; }

/* ---------- Instagram ---------- */
.insta > .container { position: relative; z-index: 2; }
.highlights { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(18px, 4vw, 48px); margin-bottom: 40px; }
.hl { display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: .92rem; font-weight: 700; color: #fff; }
.hl-ring {
  width: 104px; height: 104px; padding: 3px; border-radius: 50%;
  background: conic-gradient(from 200deg, #ffc531, #fff3c4, #18a456, #ffc531, #fff, #ffc531);
  transition: transform .3s ease;
}
.hl-in { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; border: 4px solid #be141d; font-size: 2rem; color: var(--red-600); background: #fff; }
.hl:hover .hl-ring { transform: scale(1.06) rotate(5deg); }
.ig-handle { margin-top: 12px; font-size: .9rem; color: rgba(255, 255, 255, .8); letter-spacing: .03em; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.review { padding: 24px; border-radius: var(--r-lg); background: #fff; color: var(--ink); }
.review-stars { color: var(--gold-600); letter-spacing: .2em; font-size: .9rem; }
.review blockquote { margin: 10px 0 14px; font-size: 1rem; line-height: 1.55; }
.review figcaption { font-size: .85rem; color: var(--ink-3); }

/* ---------- вопросы ---------- */
.faq-in { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 30px); display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.faq-art { position: relative; width: 100%; margin-top: 8px; padding-top: 30px; }
.faq-snowman { width: 190px; }
.faq-snowman svg { width: 100%; height: auto; }
.qa { margin-bottom: 10px; border-radius: var(--r); background: var(--frost); transition: background-color .25s, box-shadow .25s; }
.qa[open] { background: #fff; box-shadow: var(--sh-1), inset 0 0 0 1.5px var(--line); }
.qa summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; font: 700 1.08rem/1.3 var(--display); letter-spacing: -.01em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa-ic { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: #fff; transition: background-color .25s; }
.qa-ic::before, .qa-ic::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px;
  background: var(--red-600); transform: translate(-50%, -50%);
}
.qa-ic::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .25s ease; }
.qa[open] .qa-ic { background: var(--red-600); }
.qa[open] .qa-ic::before, .qa[open] .qa-ic::after { background: #fff; }
.qa[open] .qa-ic::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa p { padding: 0 20px 20px; font-size: .96rem; color: var(--ink-2); }

/* ---------- финал ---------- */
.final { overflow: hidden; text-align: center; padding: clamp(104px, 11vw, 150px) 0 0; }
.final-in { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 18px; padding-bottom: 8px; }
.final .h2 { max-width: 860px; }
.final-text { max-width: 560px; color: rgba(255, 255, 255, .88); }
.countdown-inline { align-items: center; margin-top: 4px; }
.final-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; width: 100%; max-width: 820px; margin-top: 26px; }
.contact-cards li {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px 16px;
  border-radius: var(--r-lg); background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
}
.cc-ic { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 6px; border-radius: 50%; font-size: 1.2rem; color: var(--red-600); background: #fff; }
.cc-l { font: 700 .7rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
.cc-v { font: 700 1.15rem/1.3 var(--display); color: #fff; }
a.cc-v:hover { color: var(--gold-500); }
/* Санта и снеговик внизу: на узких экранах стоят рядом под контактами, на широких — по бокам от них */
.final-scene {
  position: relative; z-index: 1; margin-top: 18px;
  display: flex; justify-content: center; align-items: flex-end; gap: clamp(8px, 4vw, 40px);
  padding: 0 var(--gutter) 22px;
}
.fs-ground { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(46px, 6vw, 80px); }
.fs-santa, .fs-snowman { position: relative; height: auto; }
.fs-santa { width: min(52%, 290px); }
.fs-snowman { width: min(46%, 262px); margin-bottom: 4px; }
@media (min-width: 1300px) {
  .final { padding-bottom: 96px; }
  .final-in { padding-bottom: 0; }
  .final-scene { position: absolute; left: 0; right: 0; bottom: 0; height: 340px; margin: 0; padding: 0; display: block; pointer-events: none; }
  .fs-santa { position: absolute; bottom: 28px; left: max(10px, calc(50% - 700px)); width: 264px; }
  .fs-snowman { position: absolute; bottom: 30px; right: max(84px, calc(50% - 700px)); width: 250px; margin: 0; }
}

/* ---------- подвал ---------- */
.footer { padding: 52px 0 28px; font-size: .92rem; color: rgba(255, 255, 255, .78); background: linear-gradient(180deg, var(--red-900), var(--red-950)); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; max-width: 360px; }
.footer .brand img { height: 52px; }
.footer h4 { margin-bottom: 14px; font: 700 .72rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-500); }
.footer-links { display: grid; gap: 9px; justify-items: start; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14);
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .82rem;
}

/* ---------- WhatsApp и панель заказа ---------- */
.wa-float {
  position: fixed; z-index: 40;
  right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom));
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  color: #fff; background: var(--green-600);
  box-shadow: 0 0 0 4px #fff, 0 14px 30px rgba(7, 58, 32, .4);
  transition: transform .25s ease;
}
.wa-float .ic { width: 28px; height: 28px; }
.wa-float::before { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid rgba(24, 164, 86, .55); animation: pulse 2.4s ease-out infinite; }
.wa-float:hover { transform: scale(1.06); }
.is-menu-open .wa-float { display: none; }
@keyframes pulse { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.order-bar { display: none; }

/* ---------- персонажи: мягкий снежный контур под рисунком ----------
   Белая копия фигур с тонкой обводкой: отделяет персонажа от красного фона,
   но не превращает его в «наклейку». Дешевле SVG-фильтра — он пересчитывался бы каждый кадр. */
.stk-o { opacity: .5; }
.stk-o * { fill: #fff !important; stroke: #fff !important; stroke-width: 3.6px !important; stroke-linejoin: round !important; opacity: 1 !important; }
.stk-o stop { stop-color: #fff !important; }

/* ---------- анимации ёлок и персонажей ---------- */
.st-tw { animation: twinkle 2.6s ease-in-out infinite; }
.st-rays { animation: spin 26s linear infinite; }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes spin { to { transform: rotate(360deg); } }
.sa-wave { transform-box: fill-box; transform-origin: 6% 82%; animation: wave 4.2s ease-in-out infinite; }
.sm-wave { transform-box: fill-box; transform-origin: 6% 94%; animation: wave 4.8s ease-in-out .7s infinite; }
@keyframes wave {
  0%, 46%, 100% { transform: rotate(0); }
  8% { transform: rotate(-12deg); }
  17% { transform: rotate(6deg); }
  26% { transform: rotate(-10deg); }
  35% { transform: rotate(4deg); }
}
.blink { transform-box: fill-box; transform-origin: center; animation: blink 5s infinite; }
.snowman .blink { animation-delay: 1.8s; }
.santa-wink .blink { animation-delay: 2.4s; }
@keyframes blink { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
/* Санта на первом экране подмигивает раз в несколько секунд */
.sa-wink-open { animation: winkOpen 6s ease-in-out 1.5s infinite; }
.sa-wink-shut { animation: winkShut 6s ease-in-out 1.5s infinite; }
@keyframes winkOpen { 0%, 60%, 71%, 100% { opacity: 1; } 63%, 68% { opacity: 0; } }
@keyframes winkShut { 0%, 60%, 71%, 100% { opacity: 0; } 63%, 68% { opacity: 1; } }
.sa-pom { transform-box: fill-box; transform-origin: 70% 10%; animation: bob 3.2s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(10deg); } }

/* ---------- появление при прокрутке ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .step-list .step:nth-child(2), .js .dl-grid .dl-card:nth-child(2), .js .products .product:nth-child(2) { transition-delay: .08s; }
.js .step-list .step:nth-child(3), .js .dl-grid .dl-card:nth-child(3), .js .products .product:nth-child(3) { transition-delay: .16s; }
.js .step-list .step:nth-child(4) { transition-delay: .24s; }

/* ---------- адаптив ---------- */
@media (max-width: 1180px) {
  .nav { gap: 16px; font-size: .88rem; }
  .header-in { gap: 18px; }
}
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: inline-block; }
  .header-actions { margin-left: auto; }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .step-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .brand img { height: 40px; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-copy { align-items: center; text-align: center; padding-bottom: 8px; }
  .hero-lead { margin: 0 auto; }
  .hero-offer, .hero-ctas { justify-content: center; }
  .countdown { align-items: center; }
  .hero .countdown { display: none; }          /* отсчёт есть в последнем блоке; на телефоне сразу видны Санта и снеговик */
  .hero-art { width: 100%; max-width: 640px; justify-self: center; margin: 0 auto -1px; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .products > .product:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - 12px); justify-self: center; }
  .height-in { grid-template-columns: 1fr; }
  .height-vis { max-width: 480px; justify-self: center; }
  .dl-wrap { grid-template-columns: 1fr; }
  .dl-santa { width: min(100%, 340px); }
  .lead-in { grid-template-columns: 1fr; }
  .lead-copy { align-items: center; text-align: center; }
  .lead-ticks { text-align: left; }
  .lead-card { max-width: 560px; width: 100%; justify-self: center; }
  .faq-in { grid-template-columns: 1fr; }
  .faq-head { position: static; align-items: center; text-align: center; }
  .faq-art { display: flex; justify-content: center; }
  .faq-snowman { width: 160px; }
  .bubble-faq { left: calc(50% + 40px); }
  .promo { grid-template-columns: 1fr; padding-right: clamp(28px, 4.5vw, 56px); padding-top: clamp(118px, 22vw, 160px); }
  .promo-orn { left: 50%; right: auto; transform: translateX(-50%); width: 160px; }
  .reviews { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .tb-wide { display: none !important; }
  .header-cta { display: none; }
  .products { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .products > .product:last-child:nth-child(odd) { width: auto; }
  .contact-cards { grid-template-columns: 1fr; gap: 10px; }
  .contact-cards li { display: grid; grid-template-columns: 44px 1fr; align-items: center; column-gap: 14px; padding: 14px 16px; text-align: left; }
  .contact-cards .cc-ic { grid-row: span 2; width: 44px; height: 44px; margin: 0; }
  .cc-v { font-size: 1.05rem; }
  .wa-float { display: none; }
  .order-bar {
    position: fixed; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); z-index: 40;
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 8px 8px 8px 16px; border-radius: 20px; background: #fff; color: var(--ink);
    box-shadow: 0 16px 40px rgba(60, 4, 10, .35), 0 0 0 1px rgba(60, 4, 10, .06);
    transform: translateY(150%); transition: transform .35s ease;
  }
  .order-bar.is-on { transform: none; }
  .is-menu-open .order-bar { transform: translateY(150%); }
  .ob-price { font: 600 .82rem/1.25 var(--sans); color: var(--ink-2); }
  .ob-price strong { font: 800 1.08rem/1 var(--display); color: var(--red-600); white-space: nowrap; }
  .order-bar .btn { --h: 46px; padding: 0 18px; font-size: .92rem; flex: none; }
  .footer { padding-bottom: 104px; }
}
@media (max-width: 560px) {
  .brand img { height: 36px; }
  .tag { font-size: .66rem; letter-spacing: .03em; padding: 7px 12px; }
  .perks { grid-template-columns: 1fr; gap: 10px; }
  .perk { padding: 14px 16px; gap: 12px; }
  .perk-ic { width: 42px; height: 42px; border-radius: 13px; font-size: 1.15rem; }
  .step-list { grid-template-columns: 1fr; }
  .btn-lg { --h: 54px; padding: 0 22px; }
  .hero-ctas { width: 100%; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .cd-box { min-width: 0; flex: 1; }
  .countdown { width: 100%; max-width: 360px; }
  .cd-grid { width: 100%; }
  .cd-num { font-size: 1.45rem; }
  .qa summary { font-size: 1rem; padding: 16px; }
  .qa p { padding: 0 16px 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .bubble { font-size: .9rem; padding: 10px 13px; }
  .lf-row { grid-template-columns: 1fr; }
  /* окно заказа на телефоне — как шторка снизу */
  .modal { align-items: flex-end; padding: 0; }
  .modal-card { max-width: none; max-height: 92vh; border-radius: 26px 26px 0 0; padding: 22px 18px calc(22px + env(safe-area-inset-bottom)); }
  @keyframes pop { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 400px) {
  .header-actions .lang { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
