/* ЖЖЁМ — сайт. Направление «Вертел»: полосы красного, белого и чёрного, один крутящийся вертел на главной. */

/* ---------- Шрифты ---------- */
@font-face { font-family: 'Unbounded'; font-weight: 900; font-display: swap; src: url(fonts/unbounded-cyrillic-900-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; font-weight: 900; font-display: swap; src: url(fonts/unbounded-latin-900-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: 'Unbounded'; font-weight: 900; font-display: swap; src: url(fonts/unbounded-latin-ext-900-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+20A0-20AB, U+20AD-20C0; }
@font-face { font-family: 'Unbounded'; font-weight: 700; font-display: swap; src: url(fonts/unbounded-cyrillic-700-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; font-weight: 700; font-display: swap; src: url(fonts/unbounded-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: 'Unbounded'; font-weight: 700; font-display: swap; src: url(fonts/unbounded-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+20A0-20AB, U+20AD-20C0; }
@font-face { font-family: 'Golos Text'; font-weight: 400; font-display: swap; src: url(fonts/golos-text-cyrillic-400-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Golos Text'; font-weight: 400; font-display: swap; src: url(fonts/golos-text-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: 'Golos Text'; font-weight: 400; font-display: swap; src: url(fonts/golos-text-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+20A0-20AB, U+20AD-20C0; }
@font-face { font-family: 'Golos Text'; font-weight: 600; font-display: swap; src: url(fonts/golos-text-cyrillic-600-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Golos Text'; font-weight: 600; font-display: swap; src: url(fonts/golos-text-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: 'Golos Text'; font-weight: 600; font-display: swap; src: url(fonts/golos-text-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+20A0-20AB, U+20AD-20C0; }
@font-face { font-family: 'Montserrat'; font-weight: 900; font-style: italic; font-display: swap; src: url(fonts/montserrat-cyrillic-900-italic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Montserrat'; font-weight: 900; font-style: italic; font-display: swap; src: url(fonts/montserrat-latin-900-italic.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F; }

/* ---------- Токены ---------- */
:root {
  --fire: #E52421;      /* фирменный красный */
  --ember: #A3140E;     /* тёмный красный: слои вертела, нажатие */
  --coal: #000;         /* чистый чёрный, как контур огонька */
  --lavash: #fff;
  --smoke: #5c5c5c;     /* второстепенный текст на белом */
  --ash: #bdbdbd;       /* второстепенный текст на чёрном */
  --mustard: #FFC21A;   /* только «Новинка» */
  --herb: #2BB673;      /* только «Без мяса» */
  --steel: linear-gradient(90deg, #44494f 0%, #f2f3f4 42%, #a1a7ad 68%, #3a3e43 100%);

  --font-display: 'Unbounded', 'Golos Text', system-ui, sans-serif;
  --font-text: 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-logo: 'Montserrat', 'Unbounded', sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --band-y: clamp(64px, 8vw, 120px);
  --top-h: 84px;
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--lavash); color: var(--coal); font: 400 18px/1.55 var(--font-text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.nowrap { white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -120px; z-index: 100; padding: 12px 18px; background: var(--coal); color: var(--lavash); font-weight: 600; text-decoration: none; }
.skip:focus { top: 16px; }

/* ---------- Полосы ---------- */
.band { padding-block: var(--band-y); }
.band--fire { background: var(--fire); color: var(--lavash); }
.band--coal { background: var(--coal); color: var(--lavash); }
.band--lavash { background: var(--lavash); color: var(--coal); }

/* ---------- Типографика ---------- */
.logo { display: inline-block; font-family: var(--font-logo); font-style: italic; font-weight: 900; letter-spacing: -0.02em; line-height: 1; transform: skewX(-4deg); }
.h2 { font: 900 clamp(32px, 4vw, 52px)/1.04 var(--font-display); letter-spacing: -0.025em; }
.h3 { font: 700 21px/1.25 var(--font-display); letter-spacing: -0.01em; }
.price { font-family: var(--font-display); font-weight: 900; letter-spacing: -0.02em; white-space: nowrap; }
.link-strong { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.link-strong:hover { color: var(--fire); }

/* ---------- Кнопки ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border: 2px solid transparent; border-radius: 999px; font: 600 17px/1.1 var(--font-text); text-align: center; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn--white { background: var(--lavash); color: var(--coal); }
.btn--white:hover { background: var(--coal); color: var(--lavash); }
.btn--line { border-color: var(--lavash); color: var(--lavash); background: transparent; }
.btn--line:hover { background: var(--lavash); color: var(--fire); }
.btn--black { background: var(--coal); color: var(--lavash); }
.btn--black:hover { background: var(--fire); }
.btn--outline { border-color: var(--coal); color: var(--coal); background: transparent; }
.btn--outline:hover { background: var(--coal); color: var(--lavash); }
.btn--small { min-height: 44px; padding: 0 20px; font-size: 15px; }

/* ---------- Шапка ---------- */
.top { position: relative; z-index: 1; background: var(--fire); color: var(--lavash); box-shadow: 0 1px 0 var(--fire); }
.top__row { display: flex; align-items: center; gap: clamp(18px, 3vw, 44px); min-height: var(--top-h); }
.top__logo { font-size: 34px; text-decoration: none; }
.top__nav { display: flex; gap: clamp(14px, 2.4vw, 32px); }
.top__nav a, .top__phone { font-weight: 600; font-size: 17px; line-height: 1; text-decoration: none; white-space: nowrap; }
.top__nav a { padding-block: 10px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 3px no-repeat; transition: background-size .2s; }
.top__nav a:hover, .top__nav a[aria-current="page"] { background-size: 100% 3px; }
.top__phone { margin-left: auto; }

/* ---------- Главный экран ---------- */
.hero-band { padding-block: 0; overflow: hidden; }
/* Главный экран занимает ровно одно окно: шапка + этот блок = 100svh */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: clamp(16px, 3vw, 56px); align-items: center; height: calc(100svh - var(--top-h)); min-height: 500px; max-height: 980px; padding-block: clamp(4px, 1.5vh, 20px) clamp(16px, 3.5vh, 44px); }
.spit-3d .hero { align-items: stretch; padding-bottom: 0; }
.spit-3d .hero__text { align-self: center; padding-bottom: clamp(24px, 5vh, 64px); }
.hero__title { font: 900 clamp(40px, min(6.6vw, 12vh), 116px)/0.9 var(--font-display); letter-spacing: -0.035em; margin-bottom: clamp(14px, 3.4vh, 32px); }
.hero__lead { font-size: clamp(17px, 2.5vh, 21px); line-height: 1.45; max-width: 36ch; margin-bottom: clamp(10px, 2.2vh, 24px); }
.hero__facts { display: flex; flex-wrap: wrap; gap: 4px 28px; font-weight: 600; margin-bottom: clamp(16px, 3.6vh, 36px); }
.hero__stage { position: relative; align-self: stretch; display: flex; align-items: center; justify-content: flex-start; min-height: 0; padding-left: 2%; }
.spit-wrap { position: relative; padding-bottom: 44px; }

/* Вертел из слов */
.spit { --lh: clamp(24px, min(4.6vw, 6.2vh), 72px); position: relative; isolation: isolate; width: calc(var(--lh) * 6.4); display: flex; flex-direction: column; align-items: center; padding-top: calc(var(--lh) * .9); }
/* тень на столе, спица, крышка-диск и поддон: всё видно чуть сверху, как и слои */
.spit::after { content: ''; position: absolute; z-index: 0; left: -3%; right: -3%; bottom: calc(var(--lh) * -.24); height: calc(var(--lh) * .7); background: radial-gradient(closest-side, rgba(0, 0, 0, .34), rgba(0, 0, 0, 0)); }
.spit__rod { position: absolute; z-index: 2; top: 0; bottom: calc(var(--lh) * .26); left: 50%; width: calc(var(--lh) * .2); transform: translateX(-50%); background: var(--steel); clip-path: polygon(50% 0, 100% calc(var(--lh) * .3), 100% 100%, 0 100%, 0 calc(var(--lh) * .3)); }
/* верх конуса — тёмный срез, на нём прижимной диск, из диска выходит спица */
.spit__cap { position: relative; z-index: 30; width: 100%; height: calc(var(--lh) * var(--d) * 2); margin-bottom: calc(var(--lh) * var(--d) * -1); border-radius: 50%; background: linear-gradient(90deg, #050505 0%, #2c2c2c 38%, #1c1c1c 62%, #030303 100%); }
.spit__cap::before { content: ''; position: absolute; inset: 17% 22% 23%; border-radius: 50%; background: var(--steel); box-shadow: 0 calc(var(--lh) * .05) 0 #121416; }
.spit__cap::after { content: ''; position: absolute; left: 50%; bottom: 52%; width: calc(var(--lh) * .2); height: 70%; transform: translateX(-50%); background: var(--steel); }
.spit__layer { position: relative; width: var(--w); height: calc(var(--lh) * (1 + var(--d))); margin-top: calc(var(--lh) * var(--mt) * -1); overflow: hidden; }
/* верхний слой отбрасывает на нижний тень-полумесяц */
.spit__layer::before { content: ''; position: absolute; inset: 0 0 auto; height: calc(var(--lh) * (var(--dp) + .14)); border-radius: 0 0 50% 50% / 0 0 100% 100%; background: rgba(0, 0, 0, .34); }
.spit__layer::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(0, 0, 0, .74) 0%, rgba(0, 0, 0, .36) 9%, rgba(0, 0, 0, .06) 24%, rgba(255, 255, 255, .12) 36%, rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, .14) 74%, rgba(0, 0, 0, .48) 91%, rgba(0, 0, 0, .78) 100%); }
/* белый слой темнеет к краям тёплым, как поджаренный лаваш, а не серым, как металл */
.spit__layer--lavash::before { background: rgba(104, 30, 8, .3); }
.spit__layer--lavash::after { background: linear-gradient(90deg, rgba(104, 30, 8, .78) 0%, rgba(104, 30, 8, .34) 9%, rgba(104, 30, 8, .06) 24%, rgba(104, 30, 8, 0) 42%, rgba(104, 30, 8, .1) 74%, rgba(104, 30, 8, .44) 91%, rgba(104, 30, 8, .8) 100%); }
.spit__layer--coal { background: var(--coal); color: var(--lavash); }
.spit__layer--ember { background: var(--ember); color: var(--lavash); }
.spit__layer--lavash { background: var(--lavash); color: var(--fire); }
.spit__track { position: relative; display: flex; width: max-content; height: var(--lh); margin-top: calc(var(--lh) * (var(--dp) + var(--d)) / 2); animation: spit-turn var(--dur, 22s) linear 1s infinite; }
.spit__half { display: flex; align-items: center; }
.spit__word { padding-inline: .55em; font: 700 calc(var(--lh) * .4)/1 var(--font-display); letter-spacing: -0.01em; white-space: nowrap; }
.spit__layer--logo .spit__word { font-family: var(--font-logo); font-style: italic; font-weight: 900; font-size: calc(var(--lh) * .56); letter-spacing: -0.02em; }
.flame { flex: none; width: calc(var(--lh) * .34); height: calc(var(--lh) * .34); fill: currentColor; }
.spit__tray { position: relative; z-index: 1; width: 88%; height: calc(var(--lh) * .5); margin-top: calc(var(--lh) * .44); border-radius: 50%; background: var(--steel); box-shadow: 0 calc(var(--lh) * .1) 0 #1f2226; }
.spit__tray::before { content: ''; position: absolute; inset: 14% 5% 20%; border-radius: 50%; background: linear-gradient(90deg, #17191b, #565b61 44%, #202326); }
.hero__mascot { position: absolute; z-index: 3; left: 74%; bottom: 30px; width: 58%; height: auto; pointer-events: none; }
.spit-toggle { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); padding: 8px 10px; border: 0; background: none; color: var(--lavash); font-size: 15px; font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; cursor: pointer; white-space: nowrap; }

/* Объёмный вертел (canvas). Класс spit-3d ставит ранний скрипт в <head>; без него остаётся плоский. */
.hero__mascot--3d, .spit-toggle--3d { display: none; }
.spit-3d .spit-wrap { display: none; }
.spit-3d .hero__stage { padding-left: 0; }
/* Огонёк стоит на нижней границе первого экрана; JS ставит его рядом с вертелом */
.spit-3d .hero__mascot--3d { display: block; position: absolute; z-index: 2; left: 60%; bottom: 0; width: auto; height: 58%; pointer-events: none; }
.spit-3d .spit-toggle--3d { display: block; z-index: 3; top: 6px; right: 0; bottom: auto; left: auto; transform: none; padding-right: 0; }
.spit3d { position: absolute; inset: 0; display: block; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
.spit3d.is-dragging { cursor: grabbing; }

/* Волны жара и реплика огонька — только у мультяшного вертела. Размеры и место ставит JS. */
.steam, .bubble { display: none; }
.spit-3d .steam { display: block; position: absolute; z-index: 1; pointer-events: none; }
.heat__line { position: absolute; bottom: 0; transform-origin: 50% 100%; width: 13%; height: 100%; overflow: visible; opacity: 0; animation: heat-rise 2.6s ease-in-out infinite; }
.heat__line:nth-child(1) { left: 10%; }
.heat__line:nth-child(2) { left: 30%; height: 82%; animation-delay: .85s; }
.heat__line:nth-child(3) { left: 76%; height: 92%; animation-delay: 1.7s; }
.heat__line path { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.heat__ink { stroke: var(--coal); stroke-width: calc(var(--ow, 5px) * 1.6); }
.heat__glow { stroke: var(--lavash); stroke-width: calc(var(--ow, 5px) * 0.62); }
@keyframes heat-rise { 0% { transform: translateY(6%) scaleY(.75); opacity: 0; transform-origin: 50% 100%; } 22%, 68% { opacity: 1; } 100% { transform: translateY(-30%) scaleY(1); opacity: 0; transform-origin: 50% 100%; } }
.is-heat-paused .heat__line { animation-play-state: paused; }

.spit-3d .bubble { display: block; position: absolute; z-index: 3; margin: 0; padding: .5em .75em .58em; border: calc(var(--ow, 5px) * .85) solid var(--coal); border-radius: 1.05em; background: var(--lavash); color: var(--coal); font: 900 22px/1.04 var(--font-display); letter-spacing: -0.025em; white-space: nowrap; transform: rotate(-5deg); transform-origin: 18% 100%; animation: bubble-pop .5s cubic-bezier(.3, 1.6, .5, 1) 1.05s both; }
.bubble::before, .bubble::after { content: ''; position: absolute; left: 16%; border-style: solid; border-color: transparent; }
.bubble::before { bottom: -1.02em; border-width: 1.02em .62em 0 0; border-top-color: var(--coal); }
.bubble::after { bottom: -.58em; left: calc(16% + var(--ow, 5px) * .85); border-width: .62em .36em 0 0; border-top-color: var(--lavash); }
@keyframes bubble-pop { from { transform: rotate(-5deg) scale(.35); opacity: 0; } }

/* Мультфильм 1930-х: плёночное зерно и мерцание на первом экране, виньетка снизу и по бокам */
.spit-vintage .top, .spit-vintage .hero-band { position: relative; isolation: isolate; }
.spit-vintage .top { overflow: hidden; }
.spit-vintage .hero-band::before { content: ''; position: absolute; inset: 0; z-index: 5; pointer-events: none; background: radial-gradient(ellipse 100% 125% at 50% 0%, rgba(60, 8, 0, 0) 74%, rgba(60, 8, 0, .34) 100%); animation: film-flicker .55s steps(1) infinite; }
.spit-vintage .hero-band::after, .spit-vintage .top::after { content: ''; position: absolute; inset: -60%; z-index: 5; pointer-events: none; background-image: var(--grain); opacity: .42; mix-blend-mode: soft-light; animation: film-grain .5s steps(1) infinite; }
.spit-vintage .hero__mascot--3d { transform-origin: 50% 100%; }
.spit-vintage .heat__ink { stroke: #140b07; }
.spit-vintage .heat__glow { stroke: #FFF2D6; }
.spit-vintage .bubble { background: #FFF6E4; border-color: #140b07; color: #140b07; }
.spit-vintage .bubble::before { border-top-color: #140b07; }
.spit-vintage .bubble::after { border-top-color: #FFF6E4; }
.film-paused .hero-band::before, .film-paused .hero-band::after, .film-paused .top::after { animation-play-state: paused; }
@keyframes film-grain { 0% { transform: translate(0, 0); } 17% { transform: translate(-7%, 4%); } 33% { transform: translate(5%, -6%); } 50% { transform: translate(-3%, 8%); } 67% { transform: translate(8%, 2%); } 83% { transform: translate(-5%, -4%); } }
@keyframes film-flicker { 0% { opacity: 1; } 20% { opacity: .86; } 40% { opacity: 1; } 60% { opacity: .92; } 80% { opacity: .97; } }

/* «Срежь сам»: огромный вертел уходит за верх экрана, нож, стружки и лаваш */
.slice-done { display: none; }
.spit-slice .spit3d { z-index: 0; cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M3 3 L26 18 L20 24 Z' fill='%23F4EFE4' stroke='%23140b07' stroke-width='2.2' stroke-linejoin='round'/%3E%3Cpath d='M23 21 L36 34' stroke='%23140b07' stroke-width='6.5' stroke-linecap='round'/%3E%3C/svg%3E") 3 3, crosshair; }
.spit-slice .spit3d.is-dragging { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M3 3 L26 18 L20 24 Z' fill='%23F4EFE4' stroke='%23140b07' stroke-width='2.2' stroke-linejoin='round'/%3E%3Cpath d='M23 21 L36 34' stroke='%23140b07' stroke-width='6.5' stroke-linecap='round'/%3E%3C/svg%3E") 3 3, crosshair; }
.spit-fx { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.spit-slice .steam { opacity: 0; transition: opacity .5s; }
.spit-slice .has-meat .steam { opacity: 1; }
.spit-slice .slice-done:not([hidden]) { display: flex; position: absolute; z-index: 4; flex-direction: column; align-items: center; gap: 6px; transform: translateX(-50%); animation: bubble-pop .45s cubic-bezier(.3, 1.6, .5, 1) both; }
.slice-again { padding: 6px 10px; border: 0; background: none; color: var(--lavash); font-size: 15px; font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; cursor: pointer; }
.spit-slice .spit3d:focus-visible { outline: 3px solid var(--lavash); outline-offset: -6px; }
@media (min-width: 641px) {
  /* Шапка ложится поверх вертела, а вертел уходит под самый верх окна */
  .spit-slice .page-home .top { position: absolute; top: 0; left: 0; right: 0; z-index: 8; background: transparent; box-shadow: none; }
  .spit-slice .page-home .top::after { display: none; }
  .spit-slice .page-home .hero-band { padding-top: var(--top-h); }
  .spit-slice .page-home .hero { padding-top: 0; }
  .spit-slice .page-home .hero__stage { margin-top: calc(-1 * var(--top-h)); }
  .spit-slice .page-home .spit-toggle--3d { top: calc(var(--top-h) + 4px); }
}
@media (max-width: 640px) {
  /* На телефоне верх вертела растворяется в фоне */
  .spit-slice .spit3d { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 64px); mask-image: linear-gradient(to bottom, transparent 0, #000 64px); }
}

@keyframes spit-turn { to { transform: translateX(-50%); } }
@keyframes spit-stack { from { transform: translateY(-70px); opacity: 0; } 60% { opacity: 1; } }
.spit__layer { animation: spit-stack .45s cubic-bezier(.25, 1.35, .5, 1) both; animation-delay: calc(var(--i) * 65ms + 120ms); }
.spit__cap { animation: spit-stack .45s cubic-bezier(.25, 1.35, .5, 1) both; animation-delay: 760ms; }
.is-paused .spit__track { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .spit__layer, .spit__cap, .spit__track { animation: none; }
  .spit-toggle { display: none; }
  .heat__line { animation: none; opacity: 1; }
  .spit-vintage .hero-band::before, .spit-vintage .hero-band::after, .spit-vintage .top::after { animation: none; }
  .spit-3d .bubble { animation: none; }
}

/* ---------- Огонёк-компаньон ---------- */
.ogonek-layer { position: fixed; inset: 0; z-index: 30; overflow: hidden; pointer-events: none; }
.ogonek { position: absolute; left: 0; top: 0; display: block; pointer-events: none; will-change: transform; }
.ogonek-layer[hidden] { display: none; }
.ogonek-on .hero__mascot, .ogonek-on .page-head__mascot { visibility: hidden; }
.ogonek-on .bubble { display: none !important; }
.ogonek-say { position: absolute; left: 0; top: 0; z-index: 2; margin: 0; max-width: 240px; padding: .5em .8em .58em; border: 3px solid var(--coal); border-radius: 1em; background: var(--lavash); color: var(--coal); font: 900 15px/1.12 var(--font-display); letter-spacing: -0.02em; pointer-events: none; opacity: 0; visibility: hidden; transform-origin: 20% 100%; transition: opacity .18s, visibility .18s; }
.ogonek-say.is-left { transform-origin: 80% 100%; }
.ogonek-say.is-on { opacity: 1; visibility: visible; animation: say-pop .34s cubic-bezier(.3, 1.6, .5, 1); }
.ogonek-say::before, .ogonek-say::after { content: ''; position: absolute; left: 16px; border-style: solid; border-color: transparent; }
.ogonek-say::before { bottom: -15px; border-width: 15px 11px 0 0; border-top-color: var(--coal); }
.ogonek-say::after { bottom: -9px; left: 19px; border-width: 9px 6px 0 0; border-top-color: var(--lavash); }
.ogonek-say.is-left::before { left: auto; right: 16px; border-width: 15px 0 0 11px; border-color: var(--coal) transparent transparent transparent; }
.ogonek-say.is-left::after { left: auto; right: 19px; border-width: 9px 0 0 6px; border-color: var(--lavash) transparent transparent transparent; }
.ogonek-mark { position: absolute; left: 0; top: 0; z-index: 2; width: 28px; height: 28px; pointer-events: none; opacity: 0; }
.ogonek-mark.is-on { opacity: 1; animation: mark-pop 1.5s ease-out both; }
@keyframes say-pop { from { scale: .5; opacity: 0; } }
@keyframes mark-pop { 0% { scale: .3; opacity: 0; } 18% { scale: 1.15; opacity: 1; } 30% { scale: 1; } 80% { opacity: 1; } 100% { scale: 1; opacity: 0; } }
.foot__ogonek { margin-top: 10px; }
.foot__toggle { padding: 0; border: 0; background: none; color: #8f8f8f; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.foot__toggle:hover { color: var(--lavash); }
@media (prefers-reduced-motion: reduce) {
  .ogonek-say.is-on, .ogonek-mark.is-on { animation: none; }
}
@media (max-width: 640px) {
  .ogonek-say { max-width: 180px; font-size: 13px; }
  /* Шкала огоньков на главной не должна вылезать за экран телефона */
  .heats-box .heats { gap: 4cqi; }
  .heats-box .heat { min-width: 0; }
  .heats-box .heat--blaze { flex: none; }
  .heats-box .heat__name { font-size: 15px; }
  .heats-box .heat__from { font-size: 13px; }
  .heats-box .heat--spark { --k: 8.5; }
  .heats-box .heat--flame { --k: 11.5; }
  .heats-box .heat--blaze { --k: 15; }
}

/* ---------- Заголовок внутренних страниц ---------- */
.page-head { position: relative; padding-block: clamp(16px, 3vw, 40px) clamp(48px, 7vw, 96px); }
.page-head__inner { position: relative; }
.page-title { font: 900 clamp(60px, 12vw, 184px)/0.86 var(--font-display); letter-spacing: -0.045em; margin-bottom: 28px; margin-left: -0.04em; }
.page-head__lead { font-size: 21px; line-height: 1.45; max-width: 44ch; }
.page-404 .page-title { font-size: clamp(40px, 8.4vw, 132px); line-height: .92; max-width: 11ch; }
.page-head .actions { margin-top: 32px; }
.page-head__mascot { position: absolute; right: 0; bottom: calc(-1 * clamp(48px, 7vw, 96px)); width: clamp(130px, 19vw, 280px); height: auto; }

/* ---------- Что взять в первый раз ---------- */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 24px; margin-bottom: clamp(28px, 4vw, 52px); }
.picks { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 44px clamp(24px, 3vw, 48px); align-items: start; }
.pick--big { grid-row: span 2; }
.pick__photo { position: relative; overflow: hidden; background: var(--fire); }
.pick__photo img, .dish__photo img, .build__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.pick__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 18px; }
.pick__name { font: 700 22px/1.15 var(--font-display); letter-spacing: -0.015em; }
.pick--big .pick__name { font-size: clamp(26px, 2.6vw, 38px); font-weight: 900; }
.pick__price { font-size: 26px; color: var(--fire); }
.pick--big .pick__price { font-size: clamp(32px, 3vw, 44px); }
.pick__why { margin-top: 8px; color: var(--smoke); max-width: 46ch; }

/* Метки на фото */
.tags { position: absolute; top: 14px; left: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 7px 12px 8px; border-radius: 999px; background: var(--lavash); color: var(--coal); font: 600 13px/1 var(--font-text); }
.tag--new { background: var(--mustard); }
.tag--veg { background: var(--herb); }
.tag--spicy { background: var(--coal); color: var(--lavash); }

/* ---------- Как мы жжём ---------- */
.process { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 104px); align-items: center; }
.process__photo img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.steps { list-style: none; padding: 0; margin-top: 44px; display: grid; gap: 34px; }
.steps li { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 18px; }
.steps__n { font: 900 58px/0.86 var(--font-display); color: var(--fire); letter-spacing: -0.04em; }
.steps .h3 { margin-bottom: 8px; }
.steps p { color: var(--ash); max-width: 48ch; }

/* ---------- Сборка шаурмы ---------- */
.build { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.build__photo { position: sticky; top: 24px; background: var(--fire); }
.build__photo img { transition: opacity .2s; }
.build__photo img.is-loading { opacity: .35; }
.build__lead { margin: 14px 0 36px; color: var(--smoke); max-width: 46ch; }
.q { border: 0; padding: 0; margin: 0 0 30px; min-width: 0; }
.q__title { padding: 0; margin-bottom: 14px; font: 700 21px/1.2 var(--font-display); letter-spacing: -0.01em; }
.q__hint { margin: -4px 0 14px; font-size: 15px; color: var(--smoke); max-width: 52ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 2px solid var(--coal); border-radius: 999px; background: var(--lavash); font-size: 16px; font-weight: 600; transition: background-color .15s, color .15s, border-color .15s; }
.chip small { font-size: 14px; font-weight: 400; }
.chip input:checked + span { background: var(--coal); color: var(--lavash); }
.chip input:hover + span { border-color: var(--fire); }
.chip input:focus-visible + span { outline: 3px solid var(--fire); outline-offset: 3px; }
.chip--remove input:not(:checked) + span { border-color: #c4c4c4; color: var(--smoke); text-decoration: line-through; }
.build__total { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: 6px; padding-top: 20px; border-top: 3px solid var(--coal); }
.build__summary { font-weight: 600; max-width: 40ch; }
.build__summary span { display: block; font-weight: 400; color: var(--smoke); }
.build__price { font-size: clamp(36px, 4vw, 56px); line-height: 1; color: var(--fire); }
.build__note { margin-top: 16px; font-size: 15px; color: var(--smoke); }

/* ---------- Огоньки на главной ---------- */
.ogonki-teaser { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(32px, 5vw, 88px); align-items: start; }
.ogonki-teaser__text p { margin-bottom: 28px; font-size: 19px; max-width: 46ch; }
.ogonki-teaser .heats-box { grid-column: 1 / -1; margin-top: clamp(32px, 5vw, 72px); }
.heats-box { container-type: inline-size; }
.heats { list-style: none; padding: 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 3cqi; }
.heat { display: flex; flex-direction: column; gap: 8px; }
.heat__pct { font: 900 calc(var(--k) * 1cqi)/0.84 var(--font-display); letter-spacing: -0.05em; white-space: nowrap; }
.heat--spark { --k: 9.5; }
.heat--flame { --k: 13; }
.heat--blaze { --k: 17; }
.heat__name { margin-top: 8px; font: 700 18px/1.2 var(--font-display); }
.heat__from { font-size: 15px; }

/* ---------- Где мы на главной ---------- */
.where .h2 { font-size: clamp(34px, 6vw, 92px); line-height: .95; letter-spacing: -0.04em; max-width: 14ch; }
.where__how { margin: 24px 0 18px; font-size: 21px; max-width: 46ch; }
.where__facts { display: flex; flex-wrap: wrap; gap: 6px 32px; margin-bottom: 36px; font-weight: 600; }

/* ---------- Подвал ---------- */
.foot { padding-block: clamp(56px, 7vw, 96px) 32px; background: var(--coal); color: var(--lavash); overflow: hidden; }
.foot__mark { display: block; width: max-content; margin: 0 0 48px -0.03em; font-size: clamp(88px, 21vw, 320px); line-height: .8; color: var(--fire); }
.foot__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot__cols p, .foot__links { font-size: 16px; color: var(--ash); }
.foot__cols p + p { margin-top: 10px; }
.foot__cols a { color: var(--lavash); }
.foot .foot__strong { margin-bottom: 10px; color: var(--lavash); font-weight: 600; }
.foot__links { list-style: none; padding: 0; display: grid; gap: 8px; }
.foot__legal { margin-top: 56px; font-size: 14px; color: #8f8f8f; }

/* ---------- Меню ---------- */
.menu-bar { position: sticky; top: 0; z-index: 20; background: var(--lavash); border-bottom: 2px solid var(--coal); }
.menu-bar__row { display: flex; align-items: center; gap: 24px; min-height: 66px; }
.menu-bar__cats { display: flex; flex: 1; gap: 24px; overflow-x: auto; scrollbar-width: none; }
.menu-bar__cats::-webkit-scrollbar { display: none; }
.menu-bar__cats a { padding: 21px 0 18px; border-bottom: 3px solid transparent; font-size: 16px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.menu-bar__cats a:hover { color: var(--fire); }
.menu-bar__cats a.is-current { border-color: var(--fire); color: var(--fire); }
.menu-bar__cats a[hidden] { display: none; }
.menu-bar__filters { display: flex; flex: none; gap: 8px; }
.filter { min-height: 40px; padding: 0 16px; border: 2px solid var(--coal); border-radius: 999px; background: var(--lavash); color: var(--coal); font-size: 15px; font-weight: 600; cursor: pointer; }
.filter:hover { border-color: var(--fire); }
.filter[aria-pressed="true"] { background: var(--coal); color: var(--lavash); border-color: var(--coal); }
.menu { padding-block: 24px clamp(64px, 8vw, 120px); }
.menu-empty { padding: 48px 0; font-size: 21px; }
.menu-cat { padding-top: clamp(40px, 5vw, 64px); scroll-margin-top: 66px; }
.menu-cat[hidden], .dish[hidden] { display: none; }
.menu-cat__title { margin-bottom: 32px; }
.dishes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px clamp(20px, 2.4vw, 36px); }
.dish__photo { position: relative; overflow: hidden; background: var(--fire); }
.dish__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 16px; }
.dish__name { font: 700 19px/1.22 var(--font-display); letter-spacing: -0.015em; }
.dish__price { font-size: 21px; }
.dish__old { margin-right: 8px; font: 400 15px/1 var(--font-text); color: var(--smoke); }
.dish__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; font-size: 14px; color: var(--smoke); }
.dish__desc { margin-top: 8px; font-size: 16px; line-height: 1.5; max-width: 46ch; }
.menu-note { margin-top: 40px; font-size: 16px; max-width: 72ch; }
.menu-note a { font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------- Огоньки ---------- */
.how { list-style: none; padding: 0; margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.how .steps__n { display: block; margin-bottom: 18px; }
.how .h3 { margin-bottom: 10px; }
.how p { color: var(--smoke); max-width: 36ch; }
.aside-note { margin-top: 48px; padding-top: 20px; border-top: 3px solid var(--coal); max-width: 64ch; }
.levels-lead { margin-top: 14px; color: var(--ash); }
.levels { list-style: none; padding: 0; margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; align-items: end; }
.level { container-type: inline-size; }
.level__pct { margin-bottom: 22px; font: 900 calc(var(--k) * 1cqi)/0.82 var(--font-display); letter-spacing: -0.05em; color: var(--fire); white-space: nowrap; }
.level--spark { --k: 24; }
.level--flame { --k: 30; }
.level--blaze { --k: 36; }
.level__name { margin-bottom: 8px; font: 700 24px/1.2 var(--font-display); }
.level__from { color: var(--ash); max-width: 28ch; }
.promos-lead { margin-top: 14px; color: var(--smoke); max-width: 52ch; }
.app-actions { margin-top: 32px; }
.promos { list-style: none; padding: 0; margin: 36px 0 44px; border-bottom: 3px solid var(--coal); }
.promo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) auto; align-items: center; gap: 16px 32px; padding-block: 26px; border-top: 3px solid var(--coal); }
.promo__code { font: 900 clamp(32px, 4vw, 54px)/1 var(--font-display); letter-spacing: -0.03em; color: var(--fire); }
.promo__what { font-size: 19px; }

/* ---------- Где мы ---------- */
.find { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); }
.find__how { margin: 18px 0 32px; font-size: 20px; max-width: 42ch; }
.facts { margin-bottom: 36px; border-bottom: 2px solid var(--coal); }
.facts div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding-block: 14px; border-top: 2px solid var(--coal); }
.facts dt { color: var(--smoke); }
.facts dd { font-weight: 600; }
.find__map { position: relative; min-height: 520px; background: #ececec; }
.find__map iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }
.delivery { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.delivery__lead { margin: 18px 0 32px; font-size: 19px; max-width: 42ch; }
.tiers { list-style: none; padding: 0; border-bottom: 2px solid var(--lavash); }
.tiers li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-block: 18px; border-top: 2px solid var(--lavash); font-size: 19px; }
.tiers .price { font-size: 24px; }
.tiers__free .price { color: var(--coal); }
.tiers__note { margin-top: 14px; font-size: 15px; }

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
  .dishes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --top-h: 68px; }
  .picks { grid-template-columns: 1fr; }
  .pick--big { grid-row: auto; }
  .process, .build, .ogonki-teaser, .find, .delivery { grid-template-columns: 1fr; }
  .process__photo img { aspect-ratio: 4 / 3; }
  .build__photo { position: static; }
  .heats { justify-content: flex-start; gap: 32px; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .how { grid-template-columns: 1fr; gap: 32px; }
  .find__map { min-height: 380px; }
}

@media (max-width: 640px) {
  body { font-size: 17px; }
  .top__logo { font-size: 28px; }
  .top__phone { display: none; }
  .top__nav { margin-left: auto; gap: 16px; }
  .top__nav a { font-size: 16px; }
  .page-head__lead, .where__how, .find__how { font-size: 19px; }
  .btn { min-height: 52px; padding: 0 22px; }
  .actions .btn { flex: 1 1 auto; }
  /* Телефон: заголовок сверху, текст и вертел рядом, кнопки внизу — всё в одном окне */
  .hero { grid-template-columns: minmax(0, 1fr) 46%; grid-template-areas: "title title" "body stage" "actions actions"; align-content: space-evenly; height: auto; min-height: calc(100svh - var(--top-h)); max-height: 900px; gap: 12px 8px; padding-block: 0 16px; }
  .spit-3d .hero { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 0 var(--gutter); max-height: none; }
  .spit-3d .hero__text { display: block; padding: 4px 0 0; }
  .spit-3d .hero__title { margin-bottom: 14px; }
  .spit-3d .hero__lead { margin-bottom: 10px; }
  .spit-3d .hero__facts { flex-direction: row; flex-wrap: wrap; gap: 2px 16px; margin-bottom: 16px; }
  .spit-3d .hero__stage { flex: 1 1 auto; height: auto; min-height: 230px; }
  .hero__text { display: contents; }
  .hero__title { grid-area: title; font-size: clamp(38px, 12.6vw, 60px); margin: 0; }
  .hero__body { grid-area: body; align-self: center; }
  .hero__lead { font-size: 16px; line-height: 1.4; margin-bottom: 12px; }
  .hero__facts { flex-direction: column; margin: 0; font-size: 15px; }
  .hero__actions { grid-area: actions; flex-wrap: nowrap; }
  .hero__actions .btn { flex: 1 1 0; min-width: 0; padding: 0 12px; }
  .hero__stage { grid-area: stage; height: clamp(280px, 52svh, 460px); padding: 0; justify-content: center; }
  .spit { --lh: calc(46vw / 6.7); padding-top: 34px; }
  .hero__mascot { left: 50%; width: 54%; }
  .spit-3d .hero__mascot--3d { height: 30%; }
  .menu-bar__row { flex-wrap: wrap; gap: 0 16px; padding-bottom: 10px; }
  .menu-bar__cats { flex-basis: 100%; }
  .menu-bar__cats a { padding: 16px 0 12px; }
  .dishes { grid-template-columns: 1fr; gap: 28px; }
  .dish { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: start; }
  .dish__photo img { aspect-ratio: 1; }
  .dish__photo .tags { top: 6px; left: 6px; }
  .dish__photo .tag { padding: 5px 8px 6px; font-size: 11px; }
  .dish__photo .tag:nth-child(n + 2) { display: none; }
  .dish__head { flex-direction: column; gap: 4px; margin-top: 0; }
  .dish__name { font-size: 17px; }
  .dish__price { font-size: 19px; }
  .dish__desc { font-size: 15px; }
  .levels { grid-template-columns: 1fr; gap: 40px; }
  .promo { grid-template-columns: 1fr; gap: 10px; }
  .promo .btn { justify-self: start; }
  .foot__cols { grid-template-columns: 1fr; }
  .build__total { flex-direction: column; align-items: flex-start; }
  .facts div { grid-template-columns: 88px minmax(0, 1fr); }
  .steps li { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; }
  .steps__n { font-size: 44px; }
  .page-head__mascot { position: static; display: block; width: 40vw; margin: 20px 0 calc(-1 * clamp(48px, 7vw, 96px)) auto; }
}
