/* ============================================================
   «ЧЕРНИКА» — кондитерская
   Дизайн-система: голубика · василёк · сливки · мёд
   ============================================================ */

/* Local subsets are preloaded; fallbacks match the brand fonts while they load. */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/manrope-ru-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/manrope-ru-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/manrope-ru-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/manrope-ru-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/unbounded-ru-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/unbounded-ru-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/unbounded-ru-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("fonts/unbounded-ru-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/caveat-ru-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/caveat-ru-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope Fallback";
  font-style: normal;
  font-weight: 400;
  src: local("Arial"), local("Liberation Sans");
  size-adjust: 101.055%;
  ascent-override: 105.487%;
  descent-override: 29.687%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Manrope Fallback";
  font-style: normal;
  font-weight: 500;
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold");
  size-adjust: 98.706%;
  ascent-override: 107.997%;
  descent-override: 30.393%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Manrope Fallback";
  font-style: normal;
  font-weight: 700;
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold");
  size-adjust: 98.706%;
  ascent-override: 107.997%;
  descent-override: 30.393%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Manrope Fallback";
  font-style: normal;
  font-weight: 800;
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold");
  size-adjust: 100.266%;
  ascent-override: 106.317%;
  descent-override: 29.920%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Unbounded Fallback";
  font-style: normal;
  font-weight: 400;
  src: local("Arial"), local("Liberation Sans");
  size-adjust: 128.000%;
  ascent-override: 77.734%;
  descent-override: 19.141%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Unbounded Fallback";
  font-style: normal;
  font-weight: 600;
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold");
  size-adjust: 130.000%;
  ascent-override: 76.538%;
  descent-override: 18.846%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Unbounded Fallback";
  font-style: normal;
  font-weight: 700;
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold");
  size-adjust: 132.058%;
  ascent-override: 75.346%;
  descent-override: 18.552%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Unbounded Fallback";
  font-style: normal;
  font-weight: 900;
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold");
  size-adjust: 132.000%;
  ascent-override: 75.379%;
  descent-override: 18.561%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Caveat Fallback";
  font-style: normal;
  font-weight: 600;
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold");
  size-adjust: 69.000%;
  ascent-override: 139.130%;
  descent-override: 43.478%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Caveat Fallback";
  font-style: normal;
  font-weight: 700;
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold");
  size-adjust: 65.400%;
  ascent-override: 146.789%;
  descent-override: 45.872%;
  line-gap-override: 0%;
}

:root {
  /* Цвета */
  --ink:            #231A3F;  /* черничные чернила */
  --ink-soft:       #554C78;
  --blueberry:      #3A2A66;
  --blueberry-deep: #211544;
  --cornflower:     #7B8CF2;  /* василёк */
  --cornflower-2:   #95A4F7;
  --periwinkle:     #C7CEFB;
  --mist:           #EFF1FE;
  --cream:          #FBF7EC;  /* сливки */
  --paper:          #FFFDF7;
  --white:          #FFFFFF;
  --honey:          #F3B64B;  /* мёд — акцент */
  --honey-soft:     #FFD98A;
  --honey-ink:      #4A3208;
  --berry:          #463A86;
  --mint:           #7FB685;

  /* Радиусы */
  --r-xl: 36px;
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;

  /* Тени */
  --shadow-s: 0 8px 24px -10px rgba(35, 26, 63, .18);
  --shadow-m: 0 18px 44px -18px rgba(35, 26, 63, .28);
  --shadow-l: 0 30px 70px -24px rgba(33, 21, 68, .45);

  /* Шрифты */
  --font-display: "Unbounded", "Unbounded Fallback", system-ui, sans-serif;
  --font-body:    "Manrope", "Manrope Fallback", system-ui, sans-serif;
  --font-hand:    "Caveat", "Caveat Fallback", cursive;

  --header-h: 76px;
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* Зернистая плёнка поверх всего — «дорогая» текстура */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

body.lock { overflow: hidden; }

::selection { background: var(--cornflower); color: #fff; }

:focus-visible { outline: 3px solid rgba(123, 140, 242, .55); outline-offset: 2px; border-radius: 6px; }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.14;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  color: var(--ink);
}

p { margin: 0 0 1em; }
img, svg { vertical-align: middle; }
a { color: var(--cornflower); }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }

/* ---------- Типографика ---------- */
.h-xl { font-size: clamp(2rem, 5vw, 3.7rem); font-weight: 800; }
.h-lg { font-size: clamp(1.6rem, 3.4vw, 2.5rem); font-weight: 700; }
.h-md { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 600; }

.hand {                     /* рукописный акцент */
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 1.22em;
  line-height: 1;
  color: var(--cornflower);
  white-space: nowrap;
}

.hl {                       /* маркерная подсветка слова */
  background-image: linear-gradient(transparent 60%, rgba(243, 182, 75, .55) 60%, rgba(243, 182, 75, .55) 94%, transparent 94%);
  padding: 0 .08em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  margin-bottom: 18px;
  font-size: .74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .24em;
  color: var(--cornflower);
}
.eyebrow::before {
  content: "";
  width: 34px; height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.lead { font-size: 1.06rem; color: var(--ink-soft); max-width: 52ch; }

/* Призрачное слово на фоне секции */
.ghost {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(4rem, 13vw, 10.5rem);
  line-height: 1;
  white-space: nowrap;
  color: rgba(255, 255, 255, .07);
  -webkit-text-stroke: 1px rgba(255, 255, 255, .22);
  user-select: none;
  pointer-events: none;
}
.ghost--ink { color: rgba(58, 42, 102, .05); -webkit-text-stroke-color: rgba(58, 42, 102, .14); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  padding: 1.05em 2em;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, var(--cornflower), #5E6FD8);
  box-shadow: 0 12px 26px -10px rgba(94, 111, 216, .55);
  cursor: pointer;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1.4), box-shadow .35s;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -12px rgba(94, 111, 216, .7); }
.btn:active { transform: translateY(-1px) scale(.98); }
.btn svg { width: 18px; height: 18px; transition: transform .3s; }
.btn:hover svg { transform: translateX(4px); }

.btn--honey { background: linear-gradient(135deg, var(--honey), #E89B2E); color: var(--honey-ink); box-shadow: 0 12px 26px -10px rgba(232, 155, 46, .55); }
.btn--honey:hover { box-shadow: 0 18px 34px -12px rgba(232, 155, 46, .7); }

.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px rgba(35, 26, 63, .16); }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--cornflower); color: var(--cornflower); }

.btn--white { background: #fff; color: var(--ink); box-shadow: var(--shadow-m); }

.btn--s { padding: .8em 1.5em; font-size: .85rem; }

/* ---------- Шапка ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 14px 0;
}
.header__in {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 12px 10px 22px;
  border-radius: 999px;
  border: 1px solid rgba(123, 140, 242, .22);
  background: rgba(255, 253, 247, .75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -18px rgba(35, 26, 63, .25);
  transition: box-shadow .3s;
}
.header.is-scrolled .header__in { box-shadow: 0 16px 42px -16px rgba(35, 26, 63, .4); }

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__berry { width: 34px; height: 34px; transition: transform .4s cubic-bezier(.2, .7, .2, 1.6); }
.logo:hover .logo__berry { transform: rotate(-14deg) scale(1.1); }
.logo__word { font-family: var(--font-display); font-weight: 800; font-size: 1.22rem; letter-spacing: -.02em; color: var(--ink); }
.logo__word i { font-style: normal; color: var(--cornflower); }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: .65em 1.05em;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  transition: background .25s, color .25s;
}
.nav a:hover { background: var(--mist); color: var(--cornflower); }
.nav a.is-active { background: var(--blueberry); color: #fff; }
.nav .btn { margin-left: 10px; }

.burger {
  display: none;
  position: relative;
  flex: none;
  margin-left: auto;
  width: 46px; height: 46px;
  border: 0; border-radius: 50%;
  background: var(--blueberry);
  cursor: pointer;
}
.burger span {
  position: absolute;
  top: 50%; left: 50%;
  width: 18px; height: 2.5px;
  border-radius: 2px;
  background: #fff;
  transition: transform .35s;
}
.burger span:first-child { transform: translate(-50%, calc(-50% - 4px)); }
.burger span:last-child { transform: translate(-50%, calc(-50% + 4px)); }
.burger.is-open span:first-child { transform: translate(-50%, -50%) rotate(45deg); }
.burger.is-open span:last-child { transform: translate(-50%, -50%) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 30px;
  overflow: hidden;
}
.hero::before {  /* мягкие пятна */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(42% 55% at 88% 12%, rgba(149, 164, 247, .35), transparent 70%),
    radial-gradient(36% 45% at 6% 78%, rgba(199, 206, 251, .4), transparent 70%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 44px;
  align-items: center;
}
.hero__title { margin-bottom: 22px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 0; }

.hero__stats { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 44px; }
.stat b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.55rem; color: var(--blueberry); }
.stat span { font-size: .8rem; color: var(--ink-soft); }

.hero__art { position: relative; display: grid; place-items: center; min-height: 380px; }
.hero__cake { width: min(470px, 92%); height: auto; filter: drop-shadow(0 34px 44px rgba(35, 26, 63, .3)); animation: float 6.5s ease-in-out infinite; }

.hero__badge {               /* вращающийся круговой текст */
  position: absolute;
  top: 2%; left: 4%;
  width: 128px; height: 128px;
}
.hero__badge .badge__ring { width: 100%; height: 100%; animation: spin 18s linear infinite; }
.hero__badge .badge__core {
  position: absolute; inset: 0;
  display: grid; place-items: center;
}
.badge__core svg { width: 42px; height: 42px; }

.sticker {
  position: absolute;
  padding: 12px 18px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-m);
  font-size: .85rem;
  font-weight: 800;
  line-height: 1.35;
}
.sticker small { display: block; font-weight: 700; color: var(--ink-soft); font-size: .72rem; }
.sticker--price { right: 2%; bottom: 14%; transform: rotate(5deg); animation: float 5s ease-in-out infinite reverse; }
.sticker--bento { left: 0; bottom: 34%; transform: rotate(-6deg); animation: float 5.6s ease-in-out .6s infinite; }

.hero__berry { position: absolute; width: 46px; opacity: .9; animation: float 7s ease-in-out infinite; }
.hero__berry--1 { top: 12%; right: 10%; }
.hero__berry--2 { bottom: 6%; left: 16%; width: 34px; animation-delay: 1.2s; }
.hero__spark { position: absolute; width: 26px; color: var(--honey); animation: pulse 3s ease-in-out infinite; }
.hero__spark--1 { top: 6%; right: 34%; }
.hero__spark--2 { bottom: 20%; right: 2%; width: 18px; animation-delay: 1s; }

/* ---------- Разделители: волна и «потёки глазури» ---------- */
.divider { display: block; line-height: 0; pointer-events: none; }
.divider svg { display: block; width: 100%; height: clamp(42px, 7vw, 110px); }
/* Разделитель в начале секции «прилипает» к её верхней границе */
.section > .divider:first-child { margin-top: calc(clamp(64px, 9vw, 110px) * -1); }
.divider + .container { padding-top: clamp(28px, 4vw, 44px); }

/* ---------- Секции ---------- */
.section { position: relative; padding: clamp(64px, 9vw, 110px) 0; }
.section--tight { padding-top: clamp(40px, 6vw, 70px); }
.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  margin-bottom: 46px;
}
.section__head p { max-width: 38ch; margin: 0; color: var(--ink-soft); font-size: .95rem; }

.bg-paper { background: var(--paper); }
.bg-mist  { background: linear-gradient(180deg, var(--mist), #E8EBFD); }

/* Секция «по случаю» — васильковый градиент */
.section--corn {
  background: linear-gradient(160deg, #8B9BF3 0%, #5E6FD8 55%, #4A3B85 115%);
  color: #fff;
  overflow: hidden;
}
.section--corn h2 { color: #fff; }
.section--corn .hand { color: var(--honey-soft); }
.section--corn .eyebrow { color: var(--periwinkle); }
.section--corn .section__head p { color: rgba(255, 255, 255, .75); }

/* ---------- Карточка товара ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.card {
  position: relative;
  padding: 16px;
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-s);
  transition: transform .45s cubic-bezier(.2, .7, .2, 1.2), box-shadow .45s;
}
.card:hover { transform: translateY(-8px) rotate(-.7deg); box-shadow: var(--shadow-m); }

.card__visual {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / .92;
  border-radius: var(--r-md);
  background:
    radial-gradient(90% 70% at 50% 20%, #F4F6FF 0%, transparent 70%),
    linear-gradient(180deg, #ECEFFC, #DFE4FB);
  overflow: hidden;
}
.card__visual::after { /* блик */
  content: "";
  position: absolute;
  top: -40%; left: -60%;
  width: 55%; height: 180%;
  transform: rotate(20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
  transition: left .7s ease;
}
.card:hover .card__visual::after { left: 110%; }
.card__visual .cake { width: 74%; height: auto; filter: drop-shadow(0 14px 14px rgba(35, 26, 63, .18)); transition: transform .5s cubic-bezier(.2, .7, .2, 1.3); }
.card:hover .card__visual .cake { transform: scale(1.07) rotate(2deg); }

.card__tag {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  padding: .45em .95em;
  border-radius: 999px;
  background: var(--honey);
  color: var(--honey-ink);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.card__tag--new { background: var(--cornflower); color: #fff; }

.card__fav {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 2;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: var(--periwinkle);
  cursor: pointer;
  transition: .3s;
}
.card__fav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.card__fav:hover { transform: scale(1.12); color: var(--cornflower); }
.card__fav.is-active { background: var(--cornflower); color: #fff; }
.card__fav.is-active svg { fill: currentColor; }

.card__body { padding: 16px 6px 4px; }
.card__name { margin: 0 0 4px; font-family: var(--font-display); font-size: 1.02rem; font-weight: 700; }
.card__desc { margin: 0 0 14px; font-size: .82rem; color: var(--ink-soft); }
.card__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card__price { font-weight: 800; font-size: 1.05rem; white-space: nowrap; }
.card__price small { display: block; font-size: .66rem; font-weight: 700; color: var(--ink-soft); }

/* Палитры тортов (красим symbol через CSS-переменные) */
.pal-blue   { --coat:#8B9BF3; --coat-top:#ACB8F8; --drip:#FBF4E4; --cream:#E7EBFD; --berry:#463A86; }
.pal-corn   { --coat:#5E6FD8; --coat-top:#7E8CE8; --drip:#FFFFFF; --cream:#C7CEFB; --berry:#332A66; }
.pal-honey  { --coat:#F2C66D; --coat-top:#F7D88F; --drip:#FFF6E3; --cream:#FFE9BC; --berry:#463A86; }
.pal-choco  { --coat:#6B4632; --coat-top:#7E5741; --drip:#FBF0DC; --cream:#D9BFA8; --berry:#B63B52; }
.pal-pista  { --coat:#A9C29A; --coat-top:#C3D6B5; --drip:#F5B7C9; --cream:#EAF1E3; --berry:#C14E6E; }
.pal-lemon  { --coat:#F5DF8C; --coat-top:#F8E9AC; --drip:#8B9BF3; --cream:#FBF3D0; --berry:#463A86; }
.pal-velvet { --coat:#A63D4E; --coat-top:#BC5565; --drip:#FBF4E4; --cream:#EFC7CD; --berry:#463A86; }
.pal-white  { --coat:#F1EDF9; --coat-top:#FFFFFF; --drip:#C7CEFB; --cream:#DDE2FC; --berry:#5E6FD8; }
.pal-bento  { --coat:#C7CEFB; --coat-top:#DDE2FC; --drip:#8B9BF3; --cream:#FFFFFF; --berry:#463A86; }

/* ---------- «Выберите торт по случаю» ---------- */
.oc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; z-index: 1; }
.oc {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 26px 24px 22px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .97);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 22px 44px -20px rgba(33, 21, 68, .45);
  transform: rotate(var(--tilt, 0deg));
  transition: transform .45s cubic-bezier(.2, .7, .2, 1.3);
}
.oc:nth-child(3n+1) { --tilt: -1.6deg; }
.oc:nth-child(3n+2) { --tilt:  1.3deg; }
.oc:nth-child(3n)   { --tilt: -1deg;  }
.oc:hover { transform: rotate(0) translateY(-10px) scale(1.02); z-index: 2; }
.oc__icon {
  width: 62px; height: 62px;
  display: grid; place-items: center;
  margin-bottom: 12px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--mist), #DEE3FD);
  color: var(--cornflower);
}
.oc__icon svg { width: 30px; height: 30px; }
.oc__name { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; }
.oc__text { margin: 0; font-size: .84rem; color: var(--ink-soft); }
.oc__price { margin-top: 12px; display: inline-flex; align-items: center; gap: .5em; font-weight: 800; font-size: .9rem; color: var(--cornflower); }
.oc__price svg { width: 16px; height: 16px; transition: transform .3s; }
.oc:hover .oc__price svg { transform: translateX(5px); }

/* ---------- Бегущая строка ---------- */
.marquee {
  transform: rotate(-1.4deg) scale(1.03);
  background: var(--honey);
  color: var(--honey-ink);
  box-shadow: var(--shadow-s);
  overflow: hidden;
  padding: 15px 0;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(.85rem, 1.8vw, 1.1rem);
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee__track span { display: inline-flex; align-items: center; gap: 1em; padding-right: 1em; }
.marquee__track i { font-style: normal; font-size: .8em; opacity: .7; }

/* ---------- Вкусы / начинки ---------- */
.fl {
  position: relative;
  padding: 18px 18px 20px;
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-s);
  text-align: center;
  transition: transform .45s cubic-bezier(.2, .7, .2, 1.2), box-shadow .45s;
}
.fl:hover { transform: translateY(-7px) rotate(.6deg); box-shadow: var(--shadow-m); }
.fl__svg { width: 100%; height: auto; }
.fl__name { margin: 12px 0 3px; font-weight: 800; font-size: .95rem; }
.fl__note { margin: 0; font-size: .76rem; color: var(--ink-soft); }
.fl__tag {
  position: absolute; top: 12px; right: 12px;
  padding: .4em .85em;
  border-radius: 999px;
  background: var(--blueberry);
  color: #fff;
  font-size: .62rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
}
.fl__tag--new { background: var(--honey); color: var(--honey-ink); }

/* Палитры срезов */
.sl-blueberry { --sp:#F3E5C8; --fl:#7B8CF2; --glaze:#5E6FD8; --berry:#463A86; }
.sl-prague    { --sp:#5A3B2C; --fl:#B63B52; --glaze:#4A2E22; --berry:#B63B52; }
.sl-honey     { --sp:#F0C872; --fl:#FBF3DC; --glaze:#E3AC4C; --berry:#463A86; }
.sl-pista     { --sp:#CBDDBE; --fl:#C14E6E; --glaze:#A9C29A; --berry:#C14E6E; }
.sl-snickers  { --sp:#6B4632; --fl:#E8C07A; --glaze:#55382A; --berry:#E8C07A; }
.sl-berry     { --sp:#F6E7C8; --fl:#F2A0B5; --glaze:#F6D9A0; --berry:#F2A0B5; }
.sl-lemon     { --sp:#F5E9B8; --fl:#7B8CF2; --glaze:#EAD77E; --berry:#463A86; }
.sl-carrot    { --sp:#D98B4A; --fl:#FBF3DC; --glaze:#C47636; --berry:#7FB685; }

/* ---------- Почему мы ---------- */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; }
.why__art { position: relative; }
.why__berry { width: min(300px, 70%); opacity: .9; }
.why__note {
  position: absolute;
  right: 0; bottom: 8%;
  max-width: 220px;
  font-family: var(--font-hand);
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--cornflower);
  transform: rotate(-4deg);
}
.ft-list { display: grid; gap: 16px; }
.ft {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 24px;
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-s);
  transition: transform .4s, box-shadow .4s;
}
.ft:hover { transform: translateX(8px); box-shadow: var(--shadow-m); }
.ft__icon {
  flex: none;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--cornflower), #5E6FD8);
  color: #fff;
}
.ft__icon svg { width: 26px; height: 26px; }
.ft h3 { margin: 0 0 4px; font-family: var(--font-body); font-size: 1.02rem; font-weight: 800; }
.ft p { margin: 0; font-size: .85rem; color: var(--ink-soft); }

/* ---------- Шаги ---------- */
.step {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-s);
  overflow: hidden;
  transition: transform .4s;
}
.step:hover { transform: translateY(-6px); }
.step__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--cornflower);
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.5px var(--cornflower);
}
.step h3 { margin: 14px 0 6px; font-family: var(--font-body); font-size: 1.05rem; font-weight: 800; }
.step p { margin: 0; font-size: .85rem; color: var(--ink-soft); }

/* ---------- Отзывы ---------- */
.rv { padding: 28px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-s); display: flex; flex-direction: column; gap: 14px; transition: transform .4s; }
.rv:hover { transform: translateY(-6px) rotate(-.4deg); }
.rv__stars { display: flex; gap: 3px; color: var(--honey); }
.rv__stars svg { width: 17px; height: 17px; fill: currentColor; }
.rv__text { margin: 0; font-size: .92rem; }
.rv__who { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.rv__ava {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cornflower), var(--blueberry));
  color: #fff; font-weight: 800;
}
.rv__who b { display: block; font-size: .9rem; }
.rv__who span { font-size: .76rem; color: var(--ink-soft); }

/* ---------- CTA-баннер ---------- */
.cta {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 30px;
  align-items: center;
  padding: clamp(36px, 6vw, 64px);
  border-radius: var(--r-xl);
  background: linear-gradient(120deg, var(--blueberry) 0%, #4A3B85 55%, var(--cornflower) 130%);
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-l);
}
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, .8); max-width: 44ch; }
.cta .hand { color: var(--honey-soft); }
.cta__art { display: grid; place-items: center; }
.cta__art svg { width: min(240px, 80%); filter: drop-shadow(0 20px 24px rgba(0, 0, 0, .25)); animation: float 6s ease-in-out infinite; }

/* ---------- Футер ---------- */
.footer {
  position: relative;
  margin-top: clamp(64px, 9vw, 110px);
  padding: 74px 0 0;
  background: var(--blueberry-deep);
  color: #C9C2E8;
  overflow: hidden;
}
.footer a { color: #C9C2E8; text-decoration: none; transition: color .25s; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 46px; }
.footer h4 { margin: 0 0 18px; font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #fff; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .92rem; }
.footer__brand p { font-size: .88rem; max-width: 30ch; }
.footer .logo__word { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(199, 206, 251, .12);
  transition: .3s;
}
.socials a:hover { background: var(--cornflower); transform: translateY(-3px); }
.socials svg { width: 19px; height: 19px; }
.footer__word {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.6rem, 12.5vw, 10rem);
  line-height: .95;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(199, 206, 251, .2);
  user-select: none;
}
.footer__bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 22px 0;
  border-top: 1px solid rgba(199, 206, 251, .14);
  font-size: .78rem;
}

/* ---------- Внутренние страницы ---------- */
.page-head { padding: calc(var(--header-h) + 60px) 0 clamp(30px, 5vw, 50px); text-align: center; position: relative; overflow: hidden; }
.page-head .lead { margin-inline: auto; }
.page-head .eyebrow::after { content: ""; width: 34px; height: 2px; border-radius: 2px; background: currentColor; }

/* Фильтры каталога */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.chip {
  padding: .72em 1.35em;
  border: 0; border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(35, 26, 63, .12);
  font-family: var(--font-body);
  font-size: .86rem; font-weight: 800;
  color: var(--ink);
  cursor: pointer;
  transition: .25s;
}
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--cornflower); color: var(--cornflower); }
.chip.is-active { background: var(--blueberry); color: #fff; box-shadow: none; }
.cat-count { text-align: center; font-size: .82rem; color: var(--ink-soft); margin: -26px 0 34px; }

.catalog-grid .card.is-hidden { display: none; }

/* ---------- Конструктор ---------- */
.cs { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 44px; align-items: start; }
.cs__preview {
  position: sticky;
  top: 110px;
  padding: 30px;
  border-radius: var(--r-xl);
  background: linear-gradient(170deg, #fff, #EFF2FE);
  box-shadow: var(--shadow-m);
  text-align: center;
}
.cs__cake { width: min(280px, 84%); height: auto; }
.cs__price { margin: 10px 0 2px; font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--blueberry); }
.cs__meta { font-size: .82rem; color: var(--ink-soft); }

.cs__sum { margin: 22px 0; padding: 0; list-style: none; text-align: left; display: grid; gap: 9px; }
.cs__sum li { display: flex; justify-content: space-between; gap: 14px; font-size: .85rem; border-bottom: 1px dashed rgba(35, 26, 63, .12); padding-bottom: 9px; }
.cs__sum li span { color: var(--ink-soft); }
.cs__sum li b { text-align: right; }

.cs__step { margin-bottom: 44px; }
.cs__step-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; }
.cs__step-num { font-family: var(--font-display); font-weight: 900; font-size: 1.3rem; color: var(--cornflower); }
.cs__step h2 { margin: 0; font-family: var(--font-body); font-size: 1.15rem; font-weight: 800; }

.opt { display: flex; flex-wrap: wrap; gap: 12px; }
.opt__btn {
  padding: .95em 1.5em;
  border: 0; border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 2px rgba(35, 26, 63, .1);
  font-family: var(--font-body);
  font-size: .9rem; font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: .3s;
}
.opt__btn small { display: block; font-size: .72rem; font-weight: 600; color: var(--ink-soft); }
.opt__btn:hover { box-shadow: inset 0 0 0 2px var(--cornflower); }
.opt__btn.is-active { background: var(--blueberry); color: #fff; box-shadow: none; }
.opt__btn.is-active small { color: var(--periwinkle); }

.stepper { display: inline-flex; align-items: center; gap: 18px; padding: 10px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 2px rgba(35, 26, 63, .1); }
.stepper button {
  width: 46px; height: 46px;
  border: 0; border-radius: 50%;
  background: var(--mist);
  color: var(--blueberry);
  font-size: 1.3rem; font-weight: 800;
  cursor: pointer;
  transition: .25s;
}
.stepper button:hover { background: var(--cornflower); color: #fff; }
.stepper b { min-width: 88px; text-align: center; font-size: 1.05rem; }

/* Превью конструктора: декор скрыт по умолчанию */
#pv [data-decor] { display: none; }
#pv [data-decor].on { display: block; }
#pv [data-cover] { display: none; }
#pv.cover [data-cover] { display: block; }

/* ---------- Формы ---------- */
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field > span { font-size: .78rem; font-weight: 800; letter-spacing: .05em; color: var(--ink-soft); }
.input {
  width: 100%;
  padding: 1em 1.2em;
  border: 2px solid rgba(35, 26, 63, .1);
  border-radius: var(--r-sm);
  background: #fff;
  font: inherit;
  color: var(--ink);
  transition: border-color .3s, box-shadow .3s;
}
.input:focus { outline: 0; border-color: var(--cornflower); box-shadow: 0 0 0 4px rgba(123, 140, 242, .18); }
textarea.input { resize: vertical; min-height: 96px; }

.form__done { display: none; place-items: center; gap: 10px; text-align: center; padding: 34px 0; }
.form__done svg { width: 58px; height: 58px; color: var(--mint); }
.form__done b { font-family: var(--font-display); font-size: 1.1rem; }
form.is-sent .form__fields { display: none; }
form.is-sent .form__done { display: grid; }

/* ---------- Модалка ---------- */
.modal {
  position: fixed; inset: 0;
  z-index: 3000;
  display: grid; place-items: center;
  padding: 20px;
  background: rgba(33, 21, 68, .5);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s;
}
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal__box {
  position: relative;
  width: min(480px, 100%);
  max-height: 90vh;
  overflow: auto;
  padding: 34px;
  border-radius: var(--r-lg);
  background: var(--paper);
  transform: translateY(26px) scale(.97);
  transition: transform .4s cubic-bezier(.2, .7, .2, 1.2);
}
.modal.is-open .modal__box { transform: none; }
.modal__close {
  position: absolute; top: 14px; right: 14px;
  width: 38px; height: 38px;
  border: 0; border-radius: 50%;
  background: var(--mist);
  color: var(--ink);
  font-size: 1.1rem;
  cursor: pointer;
  transition: .25s;
}
.modal__close:hover { background: var(--cornflower); color: #fff; transform: rotate(90deg); }

/* ---------- Тост ---------- */
.toast {
  position: fixed;
  left: 50%; bottom: 26px;
  z-index: 4000;
  transform: translate(-50%, 90px);
  padding: 1em 1.7em;
  border-radius: 999px;
  background: var(--blueberry);
  color: #fff;
  font-size: .9rem; font-weight: 700;
  box-shadow: var(--shadow-l);
  transition: transform .5s cubic-bezier(.2, .7, .2, 1.3);
  pointer-events: none;
  max-width: min(92vw, 480px);
  text-align: center;
}
.toast.is-show { transform: translate(-50%, 0); }

/* ---------- Карта (стилизованная) ---------- */
.map {
  position: relative;
  height: 380px;
  border-radius: var(--r-xl);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(123, 140, 242, .13) 1px, transparent 1px) 0 0 / 54px 54px,
    linear-gradient(rgba(123, 140, 242, .13) 1px, transparent 1px) 0 0 / 54px 54px,
    #E9ECFE;
  box-shadow: var(--shadow-s);
}
.map::before, .map::after { /* «дороги» */
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .35);
}
.map::before { width: 130%; height: 34px; top: 46%; left: -15%; transform: rotate(-8deg); }
.map::after { width: 34px; height: 130%; top: -15%; left: 58%; transform: rotate(10deg); }
.map__pin { position: absolute; top: 42%; left: 55%; transform: translate(-50%, -100%); color: var(--blueberry); animation: pin 2s ease-in-out infinite; z-index: 2; }
.map__pin svg { width: 52px; height: 52px; fill: var(--cornflower); }
.map__card {
  position: absolute;
  left: 22px; bottom: 22px;
  z-index: 2;
  padding: 16px 22px;
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--shadow-m);
  font-size: .88rem;
}
.map__card b { display: block; }

/* ---------- FAQ ---------- */
.acc { background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-s); overflow: hidden; }
.acc + .acc { margin-top: 12px; }
.acc__btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border: 0; background: none;
  font-family: var(--font-body);
  font-size: 1rem; font-weight: 800;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.acc__icon { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--mist); color: var(--cornflower); transition: transform .4s; }
.acc__icon svg { width: 14px; height: 14px; }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.2, .7, .2, 1); }
.acc__panel > div { overflow: hidden; }
.acc__panel p { margin: 0; padding: 0 24px 22px; font-size: .9rem; color: var(--ink-soft); }
.acc.is-open .acc__panel { grid-template-rows: 1fr; }
.acc.is-open .acc__icon { transform: rotate(45deg); background: var(--cornflower); color: #fff; }

/* ---------- О кондитере ---------- */
.about-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.about-hero__art { position: relative; display: grid; place-items: center; }
.about-hero__art .cake { width: min(400px, 90%); filter: drop-shadow(0 28px 34px rgba(35, 26, 63, .25)); }
.about-hero .sticker--name { left: 6%; top: 12%; transform: rotate(-7deg); }

.nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.num { padding: 26px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-s); text-align: center; }
.num b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--cornflower); }
.num span { font-size: .8rem; color: var(--ink-soft); }

.tl { position: relative; display: grid; gap: 36px; margin-left: 12px; padding-left: 36px; border-left: 2px dashed var(--periwinkle); }
.tl__item { position: relative; }
.tl__item::before {
  content: "";
  position: absolute;
  left: -45px; top: 5px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--cornflower);
  box-shadow: 0 0 0 6px var(--mist);
}
.tl__year { font-family: var(--font-display); font-weight: 800; color: var(--cornflower); }
.tl__item h3 { margin: 4px 0; font-family: var(--font-body); font-size: 1.02rem; font-weight: 800; }
.tl__item p { margin: 0; font-size: .88rem; color: var(--ink-soft); }

.quote {
  padding: clamp(36px, 6vw, 60px);
  border-radius: var(--r-xl);
  background: linear-gradient(120deg, var(--mist), #E3E8FD);
  text-align: center;
}
.quote p { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.1rem, 2.4vw, 1.6rem); line-height: 1.5; max-width: 34ch; margin: 0 auto 16px; }
.quote .hand { font-size: 1.6rem; }

/* Контакты */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.contact-card { padding: clamp(26px, 4vw, 40px); border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-m); }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.info-list a, .info-list li { display: flex; gap: 14px; align-items: center; padding: 12px 8px; border-radius: var(--r-sm); color: var(--ink); font-weight: 700; text-decoration: none; transition: background .25s; }
.info-list a:hover { background: var(--mist); }
.info-list svg { flex: none; width: 22px; height: 22px; color: var(--cornflower); }
.info-list small { display: block; font-weight: 600; color: var(--ink-soft); font-size: .76rem; }

/* ---------- Анимации появления ---------- */
.reveal { opacity: 0; translate: 0 12px; transition: opacity .28s ease, translate .28s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; translate: 0 0; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.6); opacity: .5; } }
@keyframes pin { 0%, 100% { transform: translate(-50%, -100%); } 50% { transform: translate(-50%, calc(-100% - 10px)); } }

/* ---------- Адаптив ---------- */
@media (max-width: 1020px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .oc-grid { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: 1fr; }
  .why__art { order: -1; text-align: center; }
  .cs { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .cs__preview { display: contents; }
  .cs__visual {
    order: -1;
    position: sticky;
    top: 100px;
    z-index: 20;
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    align-items: center;
    column-gap: 12px;
    padding: 12px 16px;
    border-radius: var(--r-md);
    background: linear-gradient(170deg, #fff, #EFF2FE);
    box-shadow: var(--shadow-m);
    text-align: left;
  }
  .cs__cake { grid-row: 1 / 3; width: 104px; }
  .cs__price { align-self: end; margin: 0; font-size: clamp(1.2rem, 4vw, 1.7rem); }
  .cs__meta { align-self: start; font-size: .75rem; }
  .cs__details {
    order: 1;
    padding: 24px;
    border-radius: var(--r-lg);
    background: linear-gradient(170deg, #fff, #EFF2FE);
    box-shadow: var(--shadow-s);
  }
  .cs__sum { margin-top: 0; }
  .cs__step { scroll-margin-top: 240px; }
  .cs { scroll-margin-top: 100px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .nums { grid-template-columns: repeat(2, 1fr); }
  .about-hero { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .burger { display: grid; }
  .nav {
    position: fixed;
    top: 84px; left: 16px; right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 20px;
    border-radius: var(--r-lg);
    background: var(--paper);
    box-shadow: var(--shadow-l);
    opacity: 0;
    transform: translateY(-14px);
    pointer-events: none;
    transition: .35s;
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 13px 18px; font-size: 1rem; }
  .nav .btn { margin: 10px 0 0; }
}

@media (max-width: 780px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__art { min-height: 320px; order: -1; }
  .hero__cake { width: min(340px, 86%); }
  .hero__badge { width: 96px; height: 96px; }
  .cta { grid-template-columns: 1fr; text-align: center; }
  .cta p { margin-inline: auto; }
  .cta .btn { margin-inline: auto; }
}

@media (max-width: 620px) {
  .grid-4, .grid-3, .grid-2, .oc-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .nums { grid-template-columns: repeat(2, 1fr); }
  .section__head { flex-direction: column; align-items: flex-start; }
  .hero__stats { gap: 24px; }
  .sticker--bento { display: none; }
  .hand { white-space: normal; }
  .sticker--price { right: 0; padding: 10px 12px; font-size: .78rem; }
}

/* ---------- Уважение к reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; translate: none; }
}
