:root {
  --bg: #0d0b0a; --bg2: #161210; --line: #2c2521; --text: #f6f1ea; --muted: #a0958b;
  --acc: #f66001; --glow: rgba(246, 96, 1, .34);
  --display: "Unbounded", system-ui, sans-serif; --body: "Inter", system-ui, sans-serif; --serif: "PT Serif", Georgia, serif;
  --pad: clamp(16px, 5vw, 88px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-snap-type: y mandatory; }   /* один свайп вниз — сразу к началу меню; внутри меню прокрутка свободная */
#burgers, #menu, #where { scroll-snap-align: start; }
.foot { scroll-snap-align: end; }   /* иначе низ страницы с футером недостижим */
html.is-locked { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--acc); outline-offset: 3px; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--acc); }

/* ---------- кнопки */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--text);
  font: 700 15px/1 var(--body); text-decoration: none; cursor: pointer; transition: border-color .2s, transform .2s; }
.pill:hover { border-color: #5a4c43; transform: translateY(-1px); }
.pill--acc { background: var(--acc); border-color: var(--acc); color: #fff; box-shadow: 0 10px 32px -10px var(--glow); }
.pill--acc:hover { border-color: var(--acc); }

/* ---------- заставка */
.splash { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; overflow: hidden; color: var(--acc);
  background: radial-gradient(55% 45% at 50% 52%, #2b1405 0%, var(--bg) 72%); transition: opacity .7s ease, transform .9s ease; }
.splash.is-out { opacity: 0; transform: scale(1.08); pointer-events: none; }
.splash__truck { position: absolute; width: min(1180px, 150vw); left: 50%; top: 50%; translate: -50% -46%; opacity: .5;
  animation: drive 2.4s cubic-bezier(.2, .8, .2, 1) both; }
.splash__truck .wheel { transform-box: fill-box; transform-origin: center; animation: spin 2.4s cubic-bezier(.2, .8, .2, 1) both; }
.splash__truck .bulbs circle { animation: twinkle 1.1s ease-in-out infinite alternate; }
.splash__truck .bulbs circle:nth-child(2n) { animation-delay: .55s; }
.splash__burger { position: relative; width: min(360px, 62vw, 50svh);
  filter: drop-shadow(0 46px 50px rgba(0, 0, 0, .75)) drop-shadow(0 0 70px var(--glow));
  animation: drop 1.1s .35s cubic-bezier(.2, 1.35, .4, 1) both; }
.splash__brand { position: absolute; bottom: max(7vh, 40px); text-align: center; animation: rise .9s .9s ease both; }
.splash__brand b { display: block; font: 800 clamp(44px, 9vw, 96px)/.9 var(--display); letter-spacing: -.03em; color: var(--text); }
.splash__brand b span { font: 600 .32em/1 var(--body); letter-spacing: .35em; color: var(--acc); margin-left: .5em; vertical-align: middle; }
.splash__brand em { font-size: clamp(18px, 2.4vw, 26px); }
.splash__bar { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--acc); animation: bar 3s linear both; }
@keyframes drive { from { transform: translateX(-38%); } }
@keyframes spin { from { transform: rotate(-600deg); } }
@keyframes twinkle { from { opacity: .25; } to { opacity: 1; } }
@keyframes drop { from { opacity: 0; transform: translateY(-50px) scale(.82) rotate(-10deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes bar { from { width: 0; } to { width: 100%; } }

/* ---------- шапка */
.hdr { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 14px var(--pad);
  background: linear-gradient(var(--bg) 30%, rgba(13, 11, 10, 0)); }
.logo { font: 800 22px/1 var(--display); letter-spacing: -.02em; text-decoration: none; }
.logo small { display: block; font: 600 10px/1.2 var(--body); letter-spacing: .4em; color: var(--acc); }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14px; padding: 12px 0; }
.nav a:hover { color: var(--text); }
.hdr__cta { min-height: 44px; white-space: nowrap; }
.seg.lang { flex: none; flex-wrap: nowrap; padding: 3px; }
.seg.lang button { min-height: 38px; padding: 0 10px; font-size: 13px; }   /* .seg ниже по файлу — нужна большая специфичность */

/* ---------- витрина бургеров: вертикальная прокрутка двигает ленту вправо */
.show { position: relative; }
.stage { position: relative; min-height: 100svh; overflow: hidden;
  background: radial-gradient(42% 46% at 28% 56%, rgba(246, 96, 1, .16), transparent 70%); }
.track { display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 auto; min-height: 100svh; scroll-snap-align: start; scroll-snap-stop: always; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center;
  gap: clamp(16px, 4vw, 64px); padding: 96px var(--pad) 84px; }
.art { position: relative; height: 100%; display: grid; place-items: center end; padding-right: clamp(0px, 4vw, 64px); perspective: 1300px; }
.burger { position: relative; width: min(480px, 36vw, 54svh); opacity: var(--a, 1);
  transform: translateX(calc(var(--o, 0) * var(--W, 0px) * -1)) rotate(calc(var(--o, 0) * 80deg)) scale(var(--s, 1))
    perspective(1300px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .75)); }
/* слои: по умолчанию собраны (--j), на активном слайде цикл «разделиться — повисеть — собраться», бесконечно */
.layer { position: absolute; transform: translateY(var(--j)); }
.layer img { display: block; width: 100%; height: 100%; }
.slide.is-active .layer { animation: sj 8s cubic-bezier(.65, 0, .35, 1) infinite; animation-delay: calc(var(--i) * 50ms); }
.slide.is-active .layer img { animation: float 3.6s ease-in-out infinite; animation-delay: calc(var(--i) * -.32s); }
@keyframes sj { 0%, 12% { transform: translateY(var(--j)); } 42%, 76% { transform: translateY(0); } 100% { transform: translateY(var(--j)); } }
@keyframes float { 0%, 100% { transform: translateY(-4px) rotate(-.6deg); } 50% { transform: translateY(5px) rotate(.6deg); } }
.layer__lbl { position: absolute; right: calc(100% + 30px); top: 50%; translate: 0 -50%; white-space: nowrap; text-align: right;
  font: 600 13px/1.2 var(--body); color: #e9e1d7; opacity: 0; }
.layer__lbl::after { content: ""; position: absolute; left: calc(100% + 8px); top: 50%; width: 22px; height: 1px; background: var(--acc); }
.slide.is-active .layer__lbl { animation: lbl 8s linear infinite; animation-delay: calc(var(--i) * 50ms); }
@keyframes lbl { 0%, 30% { opacity: 0; } 42%, 72% { opacity: 1; } 80%, 100% { opacity: 0; } }

/* 6-я страница: картошка падает на стол */
.scene { position: relative; width: min(560px, 40vw, 70svh); aspect-ratio: 4 / 3; opacity: var(--a, 1);
  transform: translateX(calc(var(--o, 0) * var(--W, 0px) * -1)) scale(var(--s, 1)); }
.desk { position: absolute; left: -12%; right: -12%; bottom: 0; height: 36%; border-top: 1px solid rgba(246, 96, 1, .4);
  border-radius: 50% 50% 0 0 / 18% 18% 0 0; background: radial-gradient(60% 100% at 50% 0%, #3b2617 0%, #1a110c 55%, rgba(13, 11, 10, 0) 100%); }
.scene__price { position: absolute; left: 0; right: 0; bottom: 4%; margin: 0; text-align: center; font: 800 clamp(26px, 3vw, 40px)/1 var(--display); color: var(--text); opacity: 0; z-index: 30; }
.slide.is-active .scene__price { animation: rise .6s 1.9s ease both; opacity: 1; }
.fry { position: absolute; left: var(--x); bottom: calc(22% + var(--b)); width: var(--w); height: auto; z-index: var(--z);
  opacity: 0; filter: drop-shadow(0 10px 10px rgba(0, 0, 0, .6)); }
.slide.is-active .fry { animation: fall 1.15s cubic-bezier(.35, 0, .65, 1) var(--d) both; }
@keyframes fall {
  0% { opacity: 1; transform: translateY(-95svh) rotate(calc(var(--r) - 160deg)); }
  72% { transform: translateY(0) rotate(var(--r)); }
  84% { transform: translateY(-14px) rotate(calc(var(--r) + 7deg)); }
  100% { opacity: 1; transform: translateY(0) rotate(var(--r)); } }
.desc { margin: 14px 0 0; color: #cfc6bc; font-size: 15px; max-width: 46ch; }

.info > * { opacity: 0; transform: translateY(16px); transition: opacity .6s, transform .6s cubic-bezier(.2, .9, .2, 1); }
.slide.is-active .info > * { opacity: 1; transform: none; transition-delay: calc(var(--d, 0) * 55ms + .1s); }
.kicker { margin: 0; font: 600 12px/1 var(--body); letter-spacing: .28em; color: var(--muted); }
.title { margin: 14px 0 6px; font: 800 clamp(30px, 4.4vw, 62px)/.95 var(--display); letter-spacing: -.025em; text-transform: uppercase; }
.sub { margin: 0 0 22px; font-size: clamp(18px, 2vw, 26px); line-height: 1.2; }
.sub span { font-family: var(--body); font-size: .6em; color: var(--muted); margin-left: 6px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; }
.seg button { min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: none; color: var(--muted);
  font-weight: 600; font-size: 14px; cursor: pointer; transition: background .25s, color .25s; }
.seg button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 16px 0 0; color: var(--muted); font-size: 14px; }
.facts b { color: var(--text); font-weight: 600; }
.h3 { margin: 20px 0 8px; font: 600 12px/1 var(--body); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.comp { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.comp li { padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: #ece4da; }
.buy { margin-top: 22px; display: grid; gap: 14px; justify-items: start; }
.price { font: 800 clamp(34px, 4vw, 54px)/1 var(--display); letter-spacing: -.02em; }
.price small { font: 500 13px/1 var(--body); color: var(--muted); margin-left: 10px; letter-spacing: 0; }
.price--na { font-size: clamp(22px, 2.4vw, 30px); }
.cta { display: flex; flex-wrap: wrap; gap: 10px; }

.ctrl { position: absolute; left: var(--pad); bottom: 26px; display: flex; align-items: center; gap: 14px; }
.ctrl__btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: rgba(22, 18, 16, .7);
  color: var(--text); font-size: 18px; cursor: pointer; }
.ctrl__btn:hover { border-color: var(--acc); }
.ctrl__count { font: 600 13px/1 var(--body); letter-spacing: .2em; color: var(--muted); font-variant-numeric: tabular-nums; }
.hint { margin: 0 0 0 10px; font-size: 12px; letter-spacing: .12em; color: #6f655d; }

/* ---------- меню и адреса */
.menu, .where { max-width: 1280px; margin: 0 auto; padding: 84px var(--pad) 40px; }
.h2 { margin: 0 0 10px; font: 800 clamp(34px, 6vw, 72px)/1 var(--display); letter-spacing: -.03em; }
.h2 em { font-size: 1.05em; }
.lead { margin: 0 0 18px; color: var(--muted); max-width: 60ch; }
.menu .tok-menu { --tok-page: var(--bg); --tok-surface: var(--bg2); --tok-text: var(--text); --tok-muted: var(--muted);
  --tok-line: var(--line); --tok-accent: var(--acc); --tok-sticky-top: 72px; --tok-radius: 20px; }
.menu .tok-menu__h { font-family: var(--display); font-weight: 800; letter-spacing: -.02em; }
.menu .tok-modal__close { color: #1c1a18; }
.branches { list-style: none; margin: 18px 0 10px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.branches li { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 20px; background: var(--bg2); }
.branches p { margin: 0; color: var(--muted); font-size: 14px; }
.br__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 10px; margin-bottom: 2px; }
.br__top b { font-size: 17px; }
.br__now { font-size: 12px; font-weight: 600; color: var(--muted); }
.br__now::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #6b6159; vertical-align: 1px; }
.br__now.is-open { color: #7fd28f; }
.br__now.is-open::before { background: #4cc864; box-shadow: 0 0 8px #4cc864; }
.branches .br__tag { align-self: flex-start; padding: 3px 10px; border: 1px solid var(--acc); border-radius: 999px; color: var(--acc); font-size: 12px; font-weight: 600; }
.branches .br__rate { color: var(--text); }
.branches a { margin-top: auto; padding-top: 8px; color: var(--acc); font-size: 14px; font-weight: 600; text-decoration: none; }
.branches a:hover { text-decoration: underline; }
.branches-note { margin: 0 0 26px; color: #7a7068; font-size: 13px; }
.foot { padding: 40px var(--pad) 56px; color: #7a7068; font-size: 13px; border-top: 1px solid var(--line); margin-top: 60px; }
.foot p { margin: 4px 0; }

/* ---------- телефон */
@media (max-width: 820px) {
  .nav { display: none; }
  .hdr { justify-content: space-between; gap: 10px; }
  .lang { margin-left: auto; }
  .art { place-items: center; padding-right: 0; }
  .slide { grid-template-columns: 1fr; grid-template-rows: 33svh auto; align-content: start; gap: 4px; padding: 70px 16px 12px; }
  .kicker { display: none; }
  .scene { width: min(86vw, 40svh); }
  .burger { width: min(64vw, 25svh); transform: translateX(calc(var(--o, 0) * var(--W, 0px) * -1)) rotate(calc(var(--o, 0) * 80deg)) scale(var(--s, 1)); }
  .layer__lbl { display: none; }
  .title { margin-top: 8px; font-size: clamp(26px, 8vw, 36px); }
  .sub { margin-bottom: 12px; }
  .h3 { margin-top: 12px; }
  .comp li { padding: 5px 10px; font-size: 12px; }
  .buy { margin-top: 12px; gap: 10px; }
  .pill { min-height: 44px; padding: 0 16px; font-size: 14px; }
  .hint { display: none; }
  .ctrl { left: auto; right: 12px; top: 72px; bottom: auto; gap: 6px; }
  .ctrl__btn { width: 44px; height: 44px; }
  .ctrl__count { display: none; }
  .title { margin-top: 0; }
  .facts { margin-top: 10px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .burger { transform: none !important; }
}

.splash__burger .burger { width: 100%; }


/* подсказка вместо заказа, пока у сайта нет номера WhatsApp */
.toast { position: fixed; left: 50%; bottom: 28px; translate: -50% 0; z-index: 61; width: max-content; max-width: calc(100vw - 32px);
  padding: 12px 18px; border-radius: 14px; background: var(--acc); color: #fff; font: 700 14px/1.35 var(--body); text-align: center;
  box-shadow: 0 12px 40px -12px rgba(0, 0, 0, .6); opacity: 0; transition: opacity .25s; pointer-events: none; }
.toast.is-on { opacity: 1; }
