/* ==========================================================================
   Старый Ереван — стили
   ========================================================================== */

/* ---------- Шрифты: лежат на нашем сервере (assets/fonts), без запросов к Google ---------- */
/* Файлы разбиты по алфавитам: браузер качает только те, чьи буквы есть на странице (latin-ext — ради знака ₽). */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../assets/fonts/cormorant-garamond-normal-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../assets/fonts/cormorant-garamond-normal-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../assets/fonts/cormorant-garamond-normal-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300 700; font-display: swap; src: url("../assets/fonts/cormorant-garamond-italic-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300 700; font-display: swap; src: url("../assets/fonts/cormorant-garamond-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300 700; font-display: swap; src: url("../assets/fonts/cormorant-garamond-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant SC"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/cormorant-sc-500-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant SC"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/cormorant-sc-500-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant SC"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/cormorant-sc-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant SC"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/cormorant-sc-600-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant SC"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/cormorant-sc-600-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant SC"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/cormorant-sc-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../assets/fonts/manrope-normal-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../assets/fonts/manrope-normal-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../assets/fonts/manrope-normal-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #0d0a09;
  --ink-2: #15100d;
  --ink-3: #1d1612;
  --cream: #f1e8d8;
  --cream-2: #e8dcc6;
  --paper-ink: #2b1d17;
  --paper-muted: #6b5548;
  --gold: #c9a45c;
  --gold-soft: #e2c98f;
  --garnet: #9b1f27;
  --garnet-bright: #c0392b;
  --leaf: #5c6a56;
  --text: #efe6d6;
  --muted: rgba(239, 230, 214, .68);
  --line: rgba(201, 164, 92, .28);

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-caps: "Cormorant SC", "Cormorant Garamond", serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 76px;
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  /* верх и низ тёмных разделов уходят в один цвет (--ink) — между разделами нет видимой ступеньки */
  --edge-fade: linear-gradient(to bottom, var(--ink), rgba(13, 10, 9, 0) clamp(90px, 10vw, 150px),
    rgba(13, 10, 9, 0) calc(100% - clamp(90px, 10vw, 150px)), var(--ink));
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }

/* фон и у html: по нему Safari на iPhone красит полосы под часами и адресной строкой */
html { -webkit-text-size-adjust: 100%; background: var(--ink); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* лёгкое плёночное зерно поверх всего сайта */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; height: auto; }
/* Полоса прокрутки в стиле сайта. Обычная полоса браузера всегда стоит на своей непрозрачной подложке,
   поэтому на компьютере её прячем и рисуем свою — поверх страницы, без фона (js/main.js, .scrollbar).
   Без JS и на телефонах остаётся обычная. */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { border: 3px solid var(--ink); border-radius: 999px; background: var(--gold); }
html.has-scrollbar { scrollbar-width: none; }
html.has-scrollbar::-webkit-scrollbar { display: none; }
.scrollbar {
  position: fixed;
  top: 6px; bottom: 6px; right: 3px;
  z-index: 120;
  width: 10px;
  pointer-events: none;
}
/* еле заметная нить по всей высоте — видно, сколько страницы впереди */
.scrollbar::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; right: 3px;
  width: 1px;
  background: rgba(201, 164, 92, .18);
  transition: opacity .3s var(--ease);
}
.scrollbar__thumb {
  position: absolute;
  top: 0; right: 1px;
  width: 5px;
  min-height: 40px;
  border-radius: 999px;
  background: linear-gradient(to bottom, var(--gold-soft), var(--gold) 55%, #9a7b3f);
  box-shadow: 0 0 10px rgba(201, 164, 92, .35);
  opacity: .75;
  pointer-events: auto;
  cursor: grab;
  transition: width .2s var(--ease), opacity .2s var(--ease);
}
.scrollbar__thumb:hover, .scrollbar.is-dragging .scrollbar__thumb { width: 7px; opacity: 1; }
.scrollbar.is-dragging .scrollbar__thumb { cursor: grabbing; }
.scrollbar.is-hidden { display: none; }

a { color: inherit; text-decoration: none; }
/* номер телефона не разрывается переносом на дефисе («238-80-» / «80») */
a[href^="tel:"] { white-space: nowrap; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
svg { display: block; }
::selection { background: var(--garnet); color: var(--cream); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- Типографика ---------- */
.h2 {
  margin: 0 0 .5em;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.5rem, 5.2vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.h2 em { font-style: italic; font-weight: 400; color: var(--gold-soft); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: .9em;
  margin: 0 0 1.2rem;
  font-family: var(--font-caps);
  font-weight: 600;
  font-size: clamp(.95rem, 1.2vw, 1.1rem);
  letter-spacing: .22em;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 42px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; width: 42px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--garnet { color: var(--garnet); }

p { margin: 0 0 1.1em; }
.lead {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.4;
  font-weight: 500;
}

.ornament { width: 220px; height: 26px; color: var(--gold); margin: 2rem 0 0; }
.ornament--garnet { color: var(--garnet); }

/* разбивка заголовков на слова для анимации */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w__i { display: inline-block; will-change: transform; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 46px;
  padding: .7em 1.4em;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: .02em;
  white-space: nowrap;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-soft); transform: translateY(-1px); }
.btn--ghost { border: 1px solid var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn--lg { min-height: 56px; padding: .9em 1.8em; font-size: 1rem; }

.round-btn {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--gold-soft);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.round-btn svg { width: 22px; height: 22px; }
.round-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.round-btn--flip svg { transform: scaleX(-1); }

/* ---------- Появление первого экрана ---------- */
/* Прелоадера нет: шапка и подпись мягко проявляются сразу при открытии (без задержки — страница
   не кажется пустой). fill-mode: backwards — после анимации никаких остаточных стилей. */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes drop { from { opacity: 0; transform: translateY(-18px); } }

/* ---------- Шапка ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background-color .5s var(--ease), backdrop-filter .5s var(--ease), border-color .5s var(--ease);
  border-bottom: 1px solid transparent;
  animation: drop .9s var(--ease) .1s backwards;
}
.hero__intro > * { animation: rise 1s var(--ease) backwards; }
.hero__intro > :nth-child(2) { animation-delay: .15s; }
.header.is-solid {
  background: rgba(13, 10, 9, .92); /* поплотнее: над светлыми разделами шапка остаётся тёмной, а не серой */
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: rgba(201, 164, 92, .14);
}
/* при открытом меню шапка сплошная — того же цвета, что полоса Safari над ней */
.header.is-menu-open { background: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
.header__inner {
  height: 100%;
  width: min(1560px, 100% - 2 * var(--gutter));
  margin-inline: auto;
  display: flex;
  align-items: center;
  --hgap: clamp(16px, 2.4vw, 40px);
  gap: var(--hgap);
}
/* элементы шапки не сжимаются: если не помещаются, пункты меню уходят за бургер (см. .is-compact) */
.header__logo, .header__cta, .burger { flex: none; }
.header__logo img { height: 44px; width: auto; }
.nav { display: flex; gap: clamp(18px, 2.2vw, 36px); margin-left: auto; }
.nav a {
  position: relative;
  white-space: nowrap;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(239, 230, 214, .82);
  transition: color .3s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--gold-soft); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
/* «Доставка»: ссылка на сайт доставки — такая же «пилюля», как «Позвонить», стоит вплотную к ней */
.header__delivery {
  flex: none;
  display: inline-flex; align-items: center; gap: .5em;
  min-height: 42px; padding: .5em 1.15em .5em 1em;
  margin-right: calc(10px - var(--hgap));
  border: 1px solid var(--line); border-radius: 999px;
  font-size: .88rem; font-weight: 500; letter-spacing: .02em;
  color: var(--cream);
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.header__delivery svg { width: 18px; height: 18px; color: var(--gold-soft); }
.header__delivery:hover { border-color: var(--gold); color: var(--gold-soft); }
/* «Позвонить»: кнопка и окно с телефонами для брони столов по ресторанам */
.header__phones { position: relative; flex: none; }
.header__phone {
  display: inline-flex; align-items: center; gap: .5em;
  min-height: 42px; padding: .5em 1em .5em 1.1em;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: .88rem; font-weight: 500; letter-spacing: .02em;
  color: var(--cream);
  transition: border-color .3s var(--ease), color .3s var(--ease), background-color .3s var(--ease);
}
.header__phone svg { width: 18px; height: 18px; color: var(--gold-soft); }
.header__phone .header__chev { width: 16px; height: 16px; margin-left: -.1em; transition: transform .3s var(--ease); }
.header__phone:hover, .header__phone[aria-expanded="true"] { border-color: var(--gold); color: var(--gold-soft); }
.header__phone[aria-expanded="true"] .header__chev { transform: rotate(180deg); }
.phones-pop {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: 330px;
  padding: 18px 10px 10px;
  border: 1px solid rgba(201, 164, 92, .3);
  border-radius: var(--radius);
  background: rgba(21, 16, 13, .97);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .85);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.phones-pop.is-open { opacity: 1; transform: none; }
.phones-pop[hidden] { display: none; }
.phones-pop__title { margin: 0 12px 8px; font-family: var(--font-caps); font-weight: 600; font-size: 1.05rem; letter-spacing: .16em; color: var(--gold); }
.phones-pop__list { list-style: none; margin: 0; padding: 0; }
.phones-pop__list li + li { border-top: 1px solid rgba(201, 164, 92, .12); }
.phones-pop__list a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; transition: background-color .25s var(--ease); }
.phones-pop__list a:hover, .phones-pop__list a:focus-visible { background: rgba(201, 164, 92, .1); }
.phones-pop__label { font-size: .82rem; color: var(--muted); white-space: normal; }
.phones-pop__num { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; line-height: 1.2; color: var(--cream); }
.phones-pop__num svg { width: 18px; height: 18px; flex: none; color: var(--gold); }
.phones-pop__list a:hover .phones-pop__num { color: var(--gold-soft); }
.header__cta { min-height: 42px; padding: .55em 1.3em; font-size: .88rem; }

.burger { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; }
/* Пункты меню не помещаются в шапку (узкий ноутбук или много пунктов из админки) — прячем их за бургер,
   как на планшете. Класс ставит js/main.js (fitHeader), когда содержимое шапки шире неё. */
.header.is-compact .nav { display: none; }
.header.is-compact .burger { display: block; margin-left: 0; }
.header.is-compact :is(.header__delivery, .header__phones, .header__cta) { margin-left: auto; }
.header.is-compact :is(.header__delivery ~ .header__phones, .header__delivery ~ .header__cta, .header__phones ~ .header__cta) { margin-left: 0; }
.burger span {
  position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--cream);
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: calc(var(--header-h) + 16px) var(--gutter) 32px;
  overflow-y: auto; /* на низких экранах меню прокручивается */
  /* тёплое свечение только в середине: к верхнему и нижнему краю фон ровно цвета сайта —
     Safari на iPhone красит этим цветом полосы под часами и под адресной строкой, стыка не видно */
  background: radial-gradient(ellipse 90% 46% at 50% 46%, #2a1310 0%, rgba(42, 19, 16, 0) 100%) var(--ink);
  opacity: 0;
  transition: opacity .45s var(--ease);
}
.mobile-nav.is-open { opacity: 1; }
.mobile-nav[hidden] { display: none; }
/* по центру, пока помещается; если не помещается — прокрутка с начала */
.mobile-nav > :first-child { margin-top: auto; }
.mobile-nav > :last-child { margin-bottom: auto; }
.mobile-nav nav { display: grid; justify-items: center; gap: 2px; }
.mobile-nav nav a { font-family: var(--font-display); font-size: clamp(2rem, 9vw, 2.8rem); line-height: 1.22; }
.mobile-nav nav a:active { color: var(--gold-soft); }
.mobile-nav .ornament { margin: 16px 0 6px; }
.mobile-nav__note { margin: 8px 0 0; font-family: var(--font-caps); font-weight: 600; font-size: 1rem; letter-spacing: .16em; color: var(--gold); }
.mobile-nav__phones { list-style: none; width: min(100%, 360px); margin: 0; padding: 0; }
.mobile-nav__phones a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 9px 2px;
  border-bottom: 1px solid rgba(201, 164, 92, .16);
  font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; line-height: 1.2; color: var(--gold-soft);
  white-space: nowrap;
}
.mobile-nav__phones span { font-family: var(--font-body); font-weight: 400; font-size: .8rem; color: var(--muted); white-space: normal; }

/* ---------- HERO: видео по скроллу ---------- */
/* высота = длина ролика (460vh) + один экран на «штору» раздела «О нас» */
.hero { position: relative; height: 629vh; background: #000; } /* 629 — после обрезки первой секунды ролика скорость прокрутки кадров прежняя */
.hero__sticky {
  position: sticky;
  top: 0;
  /* именно 100vh (= высота экрана без панелей браузера): при 100svh в момент, когда Safari
     прячет нижнюю панель, снизу вылезала бы чёрная полоса */
  height: 100vh;
  overflow: hidden;
  background: #000 url("../assets/frames/desktop/f_0001.webp?v=6") center / cover no-repeat;
}
/* на вертикальных экранах кадр рисует canvas (вертикальный набор), широкую заставку не грузим */
@media (max-width: 1024px) and (orientation: portrait) {
  .hero__sticky { background-image: none; }
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, .55) 0%, transparent 18%, transparent 62%, rgba(0, 0, 0, .55) 100%),
    radial-gradient(ellipse 120% 90% at 50% 50%, transparent 55%, rgba(0, 0, 0, .45) 100%);
}

.hero__intro {
  position: absolute;
  left: 0; right: 0;
  bottom: clamp(28px, 7vh, 72px);
  /* приподнимаем над панелью браузера, чтобы подпись и «листайте» не прятались за ней */
  bottom: calc(clamp(28px, 7vh, 72px) + (100lvh - 100svh));
  display: grid;
  justify-items: center;
  gap: 22px;
  padding-inline: var(--gutter);
  text-align: center;
}
.hero__intro .eyebrow { margin: 0; color: var(--gold-soft); text-shadow: 0 2px 18px rgba(0, 0, 0, .8); }
.hero__hint {
  display: grid;
  justify-items: center;
  gap: 12px;
  font-size: clamp(.9rem, 1.1vw, 1.05rem);
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-soft); /* золото в тон подписи над ним */
  text-shadow: 0 1px 2px rgba(0, 0, 0, .85), 0 2px 18px rgba(0, 0, 0, .85);
}
.hero__hint i {
  position: relative;
  width: 1px;
  height: 56px;
  background: rgba(226, 201, 143, .3);
  /* огонёк не обрезаем (иначе видны края свечения) — он сам проявляется и гаснет на концах линии */
}
.hero__hint i::after {
  content: "";
  position: absolute; left: -.5px; top: 0; width: 2px; height: 40%;
  border-radius: 2px;
  background: linear-gradient(to bottom, rgba(226, 201, 143, 0), var(--gold-soft) 65%, #fff6dc);
  /* свечение вокруг огонька: несколько теней подряд усиливают друг друга */
  filter:
    drop-shadow(0 0 2px rgba(255, 236, 184, .95))
    drop-shadow(0 0 5px rgba(226, 201, 143, .9))
    drop-shadow(0 0 12px rgba(201, 164, 92, .75));
  animation: hint 2.6s cubic-bezier(.45, 0, .35, 1) infinite;
}
/* огонёк проходит линию, плавно проявляясь и угасая, и делает короткую паузу перед следующим проходом */
@keyframes hint {
  0% { transform: translateY(-70%); opacity: 0; }
  14% { opacity: 1; }
  56% { opacity: 1; }
  75%, 100% { transform: translateY(150%); opacity: 0; } /* 150% — голова огонька ровно на конце линии */
}

/* Позиционируем без transform — transform целиком отдан GSAP-анимации */
.hero__card {
  position: absolute;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(34rem, 100% - 2 * var(--gutter));
  text-shadow: 0 2px 24px rgba(0, 0, 0, .65);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.hero__card::before {
  /* мягкое затемнение под текстом, чтобы он читался на любом кадре */
  content: "";
  position: absolute;
  inset: 22% -30%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(6, 4, 3, .62), transparent);
}
.hero__card--left { left: calc(var(--gutter) + 2vw); }
.hero__card--right { right: calc(var(--gutter) + 2vw); text-align: right; }
.hero__card--right .eyebrow { justify-content: flex-end; }
.hero__card--right .eyebrow::before { order: 2; }
.hero__card--center {
  top: auto;
  bottom: 12vh;
  bottom: calc(12vh + (100lvh - 100svh)); /* над панелью браузера */
  left: 0;
  right: 0;
  display: block;
  width: min(48rem, 100% - 2 * var(--gutter));
  margin-inline: auto;
  text-align: center;
}
.hero__card--center::before { inset: -40% -20%; }
.hero__card .eyebrow { color: var(--gold-soft); }

.hero__title {
  margin: 0 0 .3em;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.8rem, 6.4vw, 6rem);
  line-height: .98;
  letter-spacing: -.015em;
  color: var(--cream);
}
.hero__title em { font-style: italic; font-weight: 400; color: var(--gold-soft); }
.hero__text { margin: 0; font-size: clamp(1rem, 1.3vw, 1.2rem); color: rgba(239, 230, 214, .9); }

/* Последний экран hero — это «выезд» прилипшего кадра. Чтобы он не оставался пустым,
   раздел «О нас» наезжает на него кремовой шторой (при отключённой анимации — отменяем) */
.about { margin-top: -100vh; z-index: 1; }

/* Разделы ниже первого экрана браузер не раскладывает и не рисует, пока до них не дошла прокрутка:
   иначе первая отрисовка ждёт раскладки всей длинной страницы (на телефоне это больше секунды).
   1100px — примерная высота до первого показа, потом браузер помнит настоящую (auto).
   Анимации этих разделов настраиваются по мере прокрутки, а перед переходом по якорю
   на <html> ставится .cv-off — всё раскладывается сразу (js/main.js). */
main > section:not(.hero), .footer { content-visibility: auto; contain-intrinsic-size: auto 1100px; }
.cv-off main > section, .cv-off .footer { content-visibility: visible; }

/* ---------- Светлые «бумажные» секции ---------- */
.section--paper {
  position: relative;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(255, 255, 255, .45), transparent 55%),
    radial-gradient(ellipse at 90% 100%, rgba(155, 31, 39, .06), transparent 50%),
    var(--cream);
  color: var(--paper-ink);
}
.section--paper .h2 em { color: var(--garnet); }
.section--paper p { color: var(--paper-muted); }
.section--paper .lead { color: var(--paper-ink); }

/* Арочная форма — отсылка к армянской архитектуре.
   Верх — ровный полукруг: горизонтальный радиус 50% ширины, вертикальный = (ширина / 2) / высота,
   т.е. зависит от пропорций блока: 3:4 → 37.5%, 4:5 → 40%. */
.arch {
  --arch-v: 37.5%;
  position: relative;
  overflow: hidden;
  border-radius: 50% 50% 14px 14px / var(--arch-v) var(--arch-v) 14px 14px;
}
.arch--framed { overflow: visible; }
.arch--framed img { border-radius: inherit; }
.arch--framed::after {
  content: "";
  position: absolute;
  inset: -14px;
  border: 1px solid var(--line);
  border-radius: inherit;
  pointer-events: none;
}

/* ---------- О нас ---------- */
.about { padding: clamp(96px, 14vw, 180px) 0 clamp(80px, 10vw, 140px); }
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}
.about__text .h2 { max-width: 12ch; }
.about__text p:not(.lead):not(.eyebrow) { max-width: 38em; }
.about__media { position: relative; }
.about__photo { margin: 0; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__photo--main { aspect-ratio: 3 / 4; box-shadow: 0 40px 80px -40px rgba(43, 29, 23, .6); }
.about__photo--main img { height: 116%; }

/* ---------- История: вертикальная хронология с фото-«карточками из альбома» ---------- */
.history { margin-top: clamp(96px, 12vw, 170px); }
.chrono {
  --chrono-gap: clamp(28px, 4vw, 64px);
  position: relative;
  list-style: none;
  margin: clamp(48px, 6vw, 80px) 0 0;
  padding: 0;
}
/* золотая ось: бледная подложка + прорисовка по скроллу (--line-progress задаёт main.js) */
.chrono::before, .chrono::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  translate: -50% 0;
}
.chrono::before { background: rgba(201, 164, 92, .25); }
.chrono::after {
  background: linear-gradient(to bottom, var(--gold), var(--garnet) 50%, var(--gold));
  transform-origin: top;
  transform: scaleY(var(--line-progress, 1));
}
.chrono__item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr);
  column-gap: var(--chrono-gap);
  align-items: center;
  padding-block: clamp(28px, 4vw, 56px);
}
.chrono__item:nth-child(even) .album { order: 3; }
.chrono__item:nth-child(even) .chrono__text { order: 1; text-align: right; }
.chrono__dot {
  order: 2;
  justify-self: center;
  position: relative;
  z-index: 1;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--cream);
  box-shadow: 0 0 0 1px var(--gold), 0 0 0 6px var(--cream);
  transition: background-color .6s var(--ease), box-shadow .6s var(--ease);
}
.chrono__item.is-active .chrono__dot { background: var(--garnet); box-shadow: 0 0 0 1px var(--gold), 0 0 0 6px var(--cream), 0 0 0 7px rgba(201, 164, 92, .5); }

.album {
  order: 1;
  margin: 0;
  padding: 12px 12px 0;
  background: #fbf6ec;
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(43, 29, 23, .08), 0 30px 60px -28px rgba(43, 29, 23, .55);
  rotate: -1.6deg;
  transition: rotate .8s var(--ease), box-shadow .8s var(--ease);
}
.chrono__item:nth-child(even) .album { rotate: 1.6deg; }
.chrono__item.is-active .album { rotate: 0deg; box-shadow: 0 1px 2px rgba(43, 29, 23, .08), 0 40px 80px -30px rgba(43, 29, 23, .6); }
.album img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 1px;
  /* старое фото: тёплая сепия, «оживает» в цвет, когда карточка в центре экрана */
  filter: sepia(.55) saturate(.75) contrast(1.02) brightness(1.02);
  transition: filter 1.2s var(--ease);
}
.chrono__item.is-active .album img, html:not(.js) .album img { filter: none; }
.album figcaption {
  padding: 12px 4px 14px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  text-align: center;
  color: var(--paper-muted);
}

.chrono__text { order: 3; }
.chrono__year {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3.4rem, 6vw, 5.4rem);
  line-height: .9;
  letter-spacing: -.02em;
  color: var(--garnet);
  font-variant-numeric: lining-nums;
}
.chrono__title {
  margin: .5rem 0 .9rem;
  font-family: var(--font-caps);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: .14em;
  color: var(--paper-ink);
}
.chrono__text p { font-size: .98rem; line-height: 1.7; }
.chrono__text p:last-child { margin-bottom: 0; }

/* ---------- История пахлавы ---------- */
.story {
  position: relative;
  padding: clamp(96px, 12vw, 170px) 0;
  background:
    var(--edge-fade),
    radial-gradient(ellipse at 80% 20%, rgba(155, 31, 39, .22), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(92, 106, 86, .18), transparent 50%),
    var(--ink);
  overflow: hidden;
}
.story__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(48px, 8vw, 130px);
  align-items: center;
}
.story__photo { --arch-v: 40%; margin: 0; aspect-ratio: 4 / 5; }
.story__photo img { width: 100%; height: 100%; object-fit: cover; }
.story__note {
  display: inline-block;
  margin-bottom: 2rem;
  padding: .35em 1em;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .8rem;
  letter-spacing: .08em;
  color: var(--gold-soft);
}
.story__lead { font-family: var(--font-display); font-size: clamp(1.4rem, 2.1vw, 1.8rem); line-height: 1.4; color: var(--text); }
.story__layers { list-style: none; margin: 1.5rem 0 2rem; padding: 0; counter-reset: layer; }
.story__layers li {
  position: relative;
  padding: .9rem 0 .9rem 3.2rem;
  border-bottom: 1px solid rgba(201, 164, 92, .16);
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.9vw, 1.65rem);
  font-style: italic;
  color: var(--muted);
}
.story__layers li span { font-style: normal; color: var(--cream); }
.story__layers li::before {
  counter-increment: layer;
  content: counter(layer, upper-roman);
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-caps);
  font-style: normal;
  font-size: 1rem;
  color: var(--gold);
}
.story__final { font-family: var(--font-display); font-size: clamp(1.5rem, 2.3vw, 2rem); color: var(--cream); line-height: 1.35; }
.story__final em { display: block; color: var(--gold-soft); }

/* ---------- Меню-книга ---------- */
.menu {
  position: relative;
  padding: clamp(96px, 12vw, 160px) 0 clamp(80px, 10vw, 130px);
  background:
    var(--edge-fade),
    radial-gradient(ellipse at 50% 0%, rgba(201, 164, 92, .12), transparent 55%),
    var(--ink-2);
  overflow: hidden;
}
.section-head { text-align: center; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head .h2 { margin-bottom: .3em; }
.section-head__sub { color: var(--muted); max-width: 36em; margin-inline: auto; }
.section-head--left { text-align: left; }

.chapters {
  position: relative; /* offsetLeft кнопок считается от ленты */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 auto clamp(28px, 3.5vw, 44px);
  max-width: 1140px;
}
.chapters button {
  padding: .5em 1.15em;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .88rem;
  color: rgba(239, 230, 214, .82);
  transition: all .3s var(--ease);
}
.chapters button:hover { border-color: var(--gold); color: var(--gold-soft); }
.chapters button.is-active { background: var(--gold); border-color: var(--gold); color: var(--ink); }

.book-stage { position: relative; max-width: 1240px; margin-inline: auto; }
.book-stage::before {
  /* тёплое свечение под книгой */
  content: "";
  position: absolute;
  inset: 10% 8% -6%;
  background: radial-gradient(ellipse at center, rgba(201, 164, 92, .18), transparent 65%);
  filter: blur(20px);
  pointer-events: none;
}
.book { position: relative; margin-inline: auto; transition: transform .9s var(--ease); }
.book .page { background: #1a1411; overflow: hidden; }
.book .page img { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.book .page::after {
  /* лёгкий корешок */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.book .page.--left::after { background: linear-gradient(to left, rgba(0, 0, 0, .28), transparent 7%); }
.book .page.--right::after { background: linear-gradient(to right, rgba(0, 0, 0, .28), transparent 7%); }
/* Лента страниц вместо книги на сенсорных экранах: листается пальцем, приближается щипком */
.book--strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.book--strip::-webkit-scrollbar { display: none; }
.book--strip .page { flex: 0 0 100%; scroll-snap-align: center; border-radius: 6px; }
.book--strip .page img { height: auto; object-fit: fill; cursor: zoom-in; }
.book--strip .page::after { display: none; }

.book__noscript { text-align: center; }
.book__noscript a { color: var(--gold); text-decoration: underline; }

.book-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: clamp(28px, 4vw, 44px);
}
.book-controls__count {
  min-width: 7ch;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--gold-soft);
  font-variant-numeric: lining-nums tabular-nums;
}
.book-controls__sep { width: 1px; height: 28px; background: var(--line); margin-inline: 6px; }

/* ---------- Вкладки меню и дополнительные меню ---------- */
.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto clamp(28px, 3.5vw, 40px);
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(13, 10, 9, .5);
}
.menu-tabs button {
  padding: .65em 1.35em;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  color: rgba(239, 230, 214, .78);
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.menu-tabs button:hover { color: var(--gold-soft); }
.menu-tabs button[aria-selected="true"] { background: var(--gold); color: var(--ink); }
.menu-panel[hidden] { display: none; }
.menu-panel__hint { margin: -12px 0 18px; text-align: center; font-size: .88rem; color: var(--muted); }

.menu-sheet {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .9);
  cursor: zoom-in;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.menu-sheet img { width: 100%; height: auto; }
.menu-sheet:hover { transform: translateY(-4px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .95), 0 0 0 1px rgba(201, 164, 92, .4); }
.menu-sheet__zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: .45em .9em;
  border-radius: 999px;
  background: rgba(13, 10, 9, .8);
  color: var(--gold-soft);
  font-size: .82rem;
  opacity: .9;
}
.menu-sheet__zoom svg { width: 16px; height: 16px; }

.extra-menu {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  max-width: 1100px;
  margin-inline: auto;
}
.extra-menu__title {
  margin: 0 0 1.4rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15;
  color: var(--cream);
}
.extra-menu__title em { font-style: italic; font-weight: 400; color: var(--gold-soft); }
.extra-menu__note { font-size: .92rem; color: var(--muted); margin-top: 1.4rem; }
.lunch-sets { display: grid; gap: 14px; }
.lunch-set {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(155, 31, 39, .22), rgba(155, 31, 39, .06));
}
.lunch-set__name { font-family: var(--font-caps); font-weight: 600; font-size: 1.2rem; letter-spacing: .12em; color: var(--cream); }
.lunch-set__price { grid-row: span 2; align-self: center; font-family: var(--font-display); font-weight: 600; font-size: clamp(2.2rem, 3.4vw, 2.8rem); line-height: 1; color: var(--gold-soft); }
.lunch-set__combo { font-size: .9rem; line-height: 1.55; color: var(--muted); }
/* Скидка 40% на основное меню днём */
.lunch-deal {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 6px 18px;
  margin-top: 14px;
  padding: 18px 22px;
  border: 1px solid rgba(201, 164, 92, .45);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(201, 164, 92, .16), rgba(201, 164, 92, .04));
}
.lunch-deal__num {
  grid-row: span 2;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(2.6rem, 4vw, 3.2rem); line-height: 1; color: var(--gold-soft);
  transform: translateY(-.1em); /* у Cormorant цифры сидят низко в строке — поднимаем к центру блока */
}
.lunch-deal__text { margin: 0; font-size: 1rem; line-height: 1.45; color: var(--cream); }
.lunch-deal__text em { font-style: normal; font-weight: 600; color: var(--gold-soft); white-space: nowrap; }
.lunch-deal__limit { margin: 0; font-size: .84rem; line-height: 1.45; color: var(--muted); }

.banket-card { max-width: 1140px; margin-inline: auto; }
.banket-card__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; margin-bottom: 28px; }
.banket-card__head .extra-menu__title { margin: 0; }
.banket-card__pages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }

.kids-menu { max-width: 1040px; margin-inline: auto; text-align: center; }
.kids-menu__note { margin: 1.3rem 0 0; font-size: clamp(1.05rem, 1.3vw, 1.2rem); font-weight: 500; color: var(--gold-soft); }

/* ---------- Лайтбокс ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: rgba(8, 6, 5, .94);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.lightbox.is-open { opacity: 1; }
.lightbox[hidden], .lightbox [hidden] { display: none !important; }
.lightbox__scroller {
  height: calc(100vh - 32px);
  height: calc(100svh - 32px);
  overflow: hidden; /* картинка всегда целиком; приближение — масштаб и сдвиг, без прокрутки */
  overscroll-behavior: contain;
  display: grid;
  place-items: center;
  /* жесты (щипок, перетаскивание, колесо) обрабатываем сами — см. initZoom в js/menu-book.js */
  touch-action: none;
  user-select: none;
}
/* любая картинка (страница меню, афиша, фото зала) целиком вписывается в экран и стоит по центру;
   рассмотреть мелкое — клик / колесо мыши, на телефоне щипок или двойной тап */
.lightbox__img {
  width: auto;
  height: auto; /* не растягиваем больше исходного размера */
  max-width: min(100%, 1400px);
  max-height: calc(100vh - 32px);
  max-height: calc(100svh - 32px);
  border-radius: 4px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
  transform-origin: center center;
  cursor: zoom-in;
  -webkit-user-drag: none;
}
.lightbox.is-zoomed .lightbox__img { cursor: grab; border-radius: 0; }
/* своя подсказка над книгой для мыши и для пальцев */
.menu-panel__hint--touch { display: none; }
@media (pointer: coarse), (max-width: 1024px) {
  .menu-panel__hint--mouse { display: none; }
  .menu-panel__hint--touch { display: block; }
}
.lightbox__close { position: fixed; top: 16px; right: 16px; z-index: 2; background: rgba(13, 10, 9, .7); }
.lightbox__nav { background: rgba(13, 10, 9, .7); }
/* колонки заданы явно: когда картинка одна и стрелки скрыты, она всё равно стоит в средней колонке по центру */
.lightbox__nav--prev { grid-area: 1 / 1; }
.lightbox__scroller { grid-area: 1 / 2; }
.lightbox__nav--next { grid-area: 1 / 3; }
.lightbox__count {
  position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); margin: 0;
  padding: .3em 1em; border-radius: 999px; background: rgba(13, 10, 9, .8);
  font-family: var(--font-display); font-size: 1.1rem; color: var(--gold-soft);
}

/* ---------- Новогодние корпоративы (сезонный раздел) ---------- */
.newyear {
  position: relative;
  padding: clamp(96px, 12vw, 170px) 0;
  overflow: hidden;
  background:
    var(--edge-fade),
    radial-gradient(ellipse at 50% 0%, rgba(155, 31, 39, .3), transparent 58%),
    radial-gradient(ellipse at 100% 55%, rgba(92, 106, 86, .2), transparent 48%),
    radial-gradient(ellipse at 0% 90%, rgba(201, 164, 92, .1), transparent 45%),
    var(--ink-2);
}
/* редкие золотые искры — только по краям, за пределами текста (среди текста они выглядели как лишние точки);
   на узких экранах полей нет — искр тоже */
.newyear__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .55;
  background-image:
    radial-gradient(1.6px 1.6px at 2% 12%, var(--gold-soft) 50%, transparent 100%),
    radial-gradient(1.2px 1.2px at 3.2% 38%, var(--gold) 50%, transparent 100%),
    radial-gradient(1.8px 1.8px at 1.6% 63%, var(--gold-soft) 50%, transparent 100%),
    radial-gradient(1.2px 1.2px at 2.8% 88%, var(--gold) 50%, transparent 100%),
    radial-gradient(2px 2px at 98% 7%, var(--gold-soft) 50%, transparent 100%),
    radial-gradient(1.2px 1.2px at 96.8% 30%, var(--gold) 50%, transparent 100%),
    radial-gradient(1.6px 1.6px at 98.4% 55%, var(--gold-soft) 50%, transparent 100%),
    radial-gradient(1.2px 1.2px at 97.2% 80%, var(--gold) 50%, transparent 100%);
  background-size: 100% 900px;
}
@media (max-width: 1100px) { .newyear__glow { display: none; } }
.newyear .container { position: relative; }
.newyear__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  margin-bottom: clamp(72px, 9vw, 120px);
}
.newyear__text .lead { margin-top: 0; color: var(--text); }
.newyear__p { color: var(--muted); max-width: 40em; }
.newyear__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 1.6rem 0 0; padding: 0; }
.newyear__facts li { padding: .45em 1.05em; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; color: var(--cream); }
.newyear__facts em { font-style: normal; font-weight: 600; color: var(--gold-soft); }
.newyear__label { margin: 0 0 .8rem; font-family: var(--font-caps); font-weight: 600; font-size: 1.1rem; letter-spacing: .16em; color: var(--gold); }
.newyear__program { margin-top: 2.2rem; }
.newyear__program ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.newyear__program li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.newyear__program svg { flex: none; width: 13px; height: 13px; margin-top: .35em; color: var(--garnet-bright); }
.newyear__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2.2rem; }
.newyear__poster { margin: 0; justify-self: center; width: min(100%, 440px); }
.newyear__poster .promo-banner { display: block; max-width: none; width: 100%; border-radius: 10px; }
.newyear__poster .menu-sheet__zoom { position: absolute; }

.newyear__title {
  margin: 0 0 clamp(28px, 3.5vw, 44px);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.1;
  text-align: center;
  text-wrap: balance;
  color: var(--cream);
}
.newyear__title em { font-style: italic; font-weight: 400; color: var(--gold-soft); }

/* пять причин: три сверху, две снизу */
.reasons { list-style: none; margin: 0; padding: 0; counter-reset: reason; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.reason {
  grid-column: span 2;
  counter-increment: reason;
  padding: 26px 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(241, 232, 216, .07), rgba(241, 232, 216, .015));
}
.reason:nth-child(n + 4) { grid-column: span 3; }
.reason::before { content: counter(reason, decimal-leading-zero); display: block; margin-bottom: 12px; font-family: var(--font-display); font-weight: 500; font-size: 2.6rem; line-height: 1; color: rgba(201, 164, 92, .45); }
.reason__title { margin: 0 0 .35em; font-family: var(--font-display); font-weight: 600; font-size: 1.55rem; line-height: 1.15; color: var(--cream); }
.reason__text { margin: 0; font-size: .96rem; line-height: 1.6; color: var(--muted); }

.newyear__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); margin-top: clamp(16px, 2vw, 24px); }
.newyear__card { padding: 22px 24px; border-left: 2px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; background: rgba(241, 232, 216, .04); }
.newyear__card p { margin: 0; font-size: .95rem; line-height: 1.6; color: var(--muted); }
.newyear__card .newyear__card-title { margin-bottom: .4em; font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; line-height: 1.2; color: var(--cream); }

.newyear__cta {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  margin-top: clamp(64px, 8vw, 110px);
  padding: clamp(28px, 4vw, 56px);
  border: 1px solid rgba(201, 164, 92, .25);
  border-radius: 24px;
  background: linear-gradient(150deg, rgba(155, 31, 39, .38), rgba(155, 31, 39, .1));
}
.newyear__cta-title { margin: 0 0 .4em; font-family: var(--font-display); font-weight: 500; font-size: clamp(2.3rem, 4.2vw, 3.4rem); line-height: 1.05; color: var(--cream); }
.newyear__cta-title em { font-style: italic; font-weight: 400; color: var(--gold-soft); }
.newyear__cta-text > p:not(.newyear__label) { color: rgba(239, 230, 214, .82); }
.newyear__cta-text .newyear__label { margin-top: 1.6rem; }
.newyear__now { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.newyear__now li { padding: .35em 1em; border-radius: 1.1em; /* в одну строку — «пилюля», в две — мягкий прямоугольник */ background: rgba(201, 164, 92, .12); font-size: .88rem; color: var(--gold-soft); }
.newyear__cta-side .banquet-phones { margin-top: 0; }
.newyear__cta-btn { width: 100%; margin-top: 1.4rem; }
.newyear__payment { margin: 1rem 0 0; font-size: .85rem; line-height: 1.5; color: var(--muted); }

/* ---------- Банкеты ---------- */
.banquets {
  position: relative;
  padding: clamp(96px, 12vw, 170px) 0;
  background:
    var(--edge-fade),
    radial-gradient(ellipse at 0% 40%, rgba(155, 31, 39, .2), transparent 50%),
    radial-gradient(ellipse at 100% 100%, rgba(201, 164, 92, .08), transparent 45%),
    var(--ink);
}
.banquets__grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: start;
}
.banquets__media { position: sticky; top: calc(var(--header-h) + 32px); }
.banquets__photo { margin: 0; aspect-ratio: 3 / 4; }
.banquets__photo img { width: 100%; height: 116%; object-fit: cover; }

.banquets__content .lead { color: var(--text); }
.stats { display: flex; gap: clamp(28px, 5vw, 64px); margin: 2.2rem 0; padding: 1.6rem 0; border-block: 1px solid var(--line); }
.stats__item { display: flex; align-items: center; gap: 14px; }
.stats__num { font-family: var(--font-display); font-size: clamp(2.6rem, 4.4vw, 3.8rem); line-height: 1; color: var(--gold-soft); font-variant-numeric: lining-nums; }
.stats__label { font-size: .88rem; line-height: 1.35; color: var(--muted); }

.features { list-style: none; margin: 0 0 2.4rem; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
.features li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.45; }
.features svg { flex: none; width: 14px; height: 14px; margin-top: .3em; color: var(--garnet-bright); }

.banquets__offers-title { font-family: var(--font-caps); font-size: 1.2rem; letter-spacing: .18em; color: var(--gold); margin-bottom: 1rem; }
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 2rem; }
.offer {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 22px 24px 24px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(241, 232, 216, .08), rgba(241, 232, 216, .02));
  border: 1px solid var(--line);
  overflow: hidden;
}
.offer::after {
  content: "";
  position: absolute;
  right: -30px; top: -30px;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(155, 31, 39, .5), transparent 70%);
}
.offer__days { font-family: var(--font-caps); font-size: .95rem; letter-spacing: .14em; color: var(--muted); }
.offer__num { font-family: var(--font-display); font-weight: 600; font-size: clamp(3.4rem, 5vw, 4.4rem); line-height: 1; color: var(--cream); }
.offer__or { font-size: .88rem; color: var(--gold-soft); }

.occasions { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.8rem; padding: 0; }
.occasions li { padding: .35em 1em; border-radius: 999px; background: rgba(201, 164, 92, .1); color: var(--gold-soft); font-size: .88rem; }
.banquets__text { color: var(--muted); max-width: 40em; }
.banquets__subtitle {
  margin: 2.4rem 0 1.1rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  line-height: 1.2;
  color: var(--cream);
}
.banquets__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.btn--hotline small { margin-left: .35em; font-size: .72rem; font-weight: 400; letter-spacing: .04em; opacity: .7; }

/* Фото залов (добавляются в админке) */
.halls { margin-top: clamp(64px, 8vw, 110px); }
.halls .banquets__subtitle { margin-top: 0; }
.halls__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(20px, 2.6vw, 36px); }
/* карточка ресторана: большое фото сверху, маленькие — по два в ряд под ним */
.hall { margin: 0; display: grid; gap: 14px; align-content: start; }
.hall__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hall__photo {
  display: block;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 6px;
  box-shadow: 0 0 0 1px rgba(201, 164, 92, .28), 0 30px 60px -30px rgba(0, 0, 0, .9);
  cursor: zoom-in;
}
.hall__photo--main { grid-column: 1 / -1; aspect-ratio: 2 / 1; border-radius: 10px; }
.hall__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.hall__photo:hover img { transform: scale(1.05); }
.hall figcaption { font-family: var(--font-caps); font-size: 1.1rem; letter-spacing: .14em; color: var(--gold-soft); text-align: center; }

/* Заявка на банкет */
.banquet-request {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  margin-top: clamp(80px, 10vw, 140px);
  padding-top: clamp(64px, 8vw, 110px);
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.banquet-request__intro .lead { color: var(--text); }
.banquet-request__call { margin-top: 2rem; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.banquet-request__call p { margin: 0 0 .2em; font-family: var(--font-caps); font-size: 1.05rem; letter-spacing: .16em; color: var(--gold); }
.banquet-request__call a { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(2.4rem, 4vw, 3.2rem); line-height: 1.1; color: var(--cream); }
.banquet-request__call a:hover { color: var(--gold-soft); }
.banquet-request__call span { font-size: .88rem; color: var(--muted); }

.notice {
  margin: 1.8rem 0;
  padding: 18px 22px;
  border-left: 2px solid var(--garnet-bright);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(155, 31, 39, .12);
}
.notice p { margin: 0; font-size: .95rem; color: var(--muted); }
.notice .notice__title { margin-bottom: .3em; font-weight: 600; color: var(--cream); }

.banquet-phones { margin-top: 1.4rem; }
.banquet-phones__title { font-family: var(--font-caps); font-size: 1.05rem; letter-spacing: .16em; color: var(--gold); margin-bottom: .6rem; }
.banquet-phones ul { list-style: none; margin: 0; padding: 0; }
.banquet-phones li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  padding: .7rem 0;
  border-bottom: 1px solid rgba(201, 164, 92, .14);
}
.banquet-phones li span { color: var(--muted); }
.banquet-phones a { font-family: var(--font-display); font-size: 1.3rem; color: var(--cream); white-space: nowrap; }
.banquet-phones a:hover { color: var(--gold-soft); }
.banquet-phones small { font-family: var(--font-body); font-size: .8rem; color: var(--gold); margin-left: .3em; }

.banquets__docs { display: grid; gap: 8px; margin-top: 2rem; font-size: .9rem; }
.banquets__docs a { color: var(--gold-soft); text-decoration: underline; text-decoration-color: rgba(226, 201, 143, .35); text-underline-offset: 4px; }
.banquets__docs a:hover { text-decoration-color: currentColor; }

.btn--garnet { background: var(--garnet); color: var(--cream); }
.btn--garnet:hover { background: var(--garnet-bright); transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }

/* ---------- Вакансии ---------- */
.vacancies {
  position: relative;
  padding: clamp(96px, 12vw, 160px) 0;
  background:
    var(--edge-fade),
    radial-gradient(ellipse at 100% 0%, rgba(92, 106, 86, .22), transparent 50%),
    radial-gradient(ellipse at 0% 100%, rgba(155, 31, 39, .16), transparent 50%),
    var(--ink-2);
}
.vacancies__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.vacancies__info .lead { color: var(--text); }
.positions { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 2rem; padding: 0; }
.positions li { padding: .45em 1.05em; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; color: var(--cream); }
.vacancies__subtitle { margin: 0 0 1rem; font-family: var(--font-caps); font-weight: 600; font-size: 1.15rem; letter-spacing: .16em; color: var(--gold); }
.guarantees { list-style: none; margin: 0 0 2rem; padding: 0; counter-reset: g; }
.guarantees li {
  position: relative;
  padding: .75rem 0 .75rem 3rem;
  border-bottom: 1px solid rgba(201, 164, 92, .14);
  line-height: 1.5;
}
.guarantees li::before {
  counter-increment: g;
  content: counter(g);
  position: absolute;
  left: 0;
  top: .45rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1;
  color: var(--gold-soft);
}
.vacancies__contact { color: var(--muted); }
.vacancies__contact a { color: var(--cream); white-space: nowrap; }
.vacancies__contact a:hover { color: var(--gold-soft); }
.vacancies__contact em { font-style: normal; color: var(--gold-soft); font-weight: 500; }

.paper-form-wrap {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 12px;
  border-radius: 8px;
  background: #efe3c4;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8);
}
.paper-form, .paper-form__done {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(155, 31, 39, .45);
  border-radius: 4px;
  color: var(--paper-ink);
}
.paper-form__title { margin: 0 0 .3em; font-family: var(--font-caps); font-weight: 600; font-size: clamp(1.7rem, 2.4vw, 2.1rem); letter-spacing: .03em; }
.paper-form__sub { margin-bottom: 1.4rem; font-size: .92rem; color: var(--paper-muted); }
.paper-form__done { text-align: center; padding-block: clamp(48px, 6vw, 80px); }
.paper-form__done .ornament { margin: 0 auto 1rem; }
.paper-form__done p { color: var(--paper-muted); margin: 0; }

.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.field__label { font-size: .82rem; font-weight: 500; letter-spacing: .02em; color: var(--paper-ink); }
.field__label i { font-style: normal; color: var(--garnet); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 46px;
  padding: .65em .9em;
  border: 1px solid rgba(43, 29, 23, .22);
  border-radius: 8px;
  background: rgba(255, 255, 255, .55);
  color: var(--paper-ink);
  font: inherit;
  font-size: 1rem; /* 16px — чтобы iPhone не увеличивал страницу при фокусе */
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232b1d17' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.field textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--garnet);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(155, 31, 39, .15);
}
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--garnet-bright); background-color: rgba(192, 57, 43, .06); }

.consent { display: flex; gap: 12px; align-items: flex-start; margin: 6px 0 20px; font-size: .85rem; line-height: 1.45; color: var(--paper-muted); cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--garnet); }
.consent.is-invalid { color: var(--garnet-bright); }

/* капча в форме заявки */
.captcha__row { display: flex; align-items: center; gap: 10px; }
.captcha__img { flex: none; width: 180px; height: 60px; border: 1px solid rgba(43, 29, 23, .22); border-radius: 8px; background: #f6efe2; }
.captcha__refresh {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(43, 29, 23, .22);
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  color: var(--garnet);
  cursor: pointer;
  transition: transform .4s var(--ease), border-color .25s var(--ease);
}
.captcha__refresh svg { width: 20px; height: 20px; }
.captcha__refresh:hover { border-color: var(--garnet); transform: rotate(90deg); }
.field .captcha__row input { flex: 1 1 auto; min-width: 0; letter-spacing: .25em; font-size: 1.15rem; text-align: center; }
.captcha.is-invalid .captcha__img { border-color: var(--garnet-bright); }

.paper-form__trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.paper-form__submit { width: 100%; }
.paper-form__status { min-height: 1.4em; margin: 12px 0 0; font-size: .9rem; text-align: center; color: var(--paper-muted); }
.paper-form__status.is-error { color: var(--garnet-bright); }

/* ---------- Restoplace ---------- */
/* Виджет подключён и открывает окно бронирования по кнопкам сайта («Забронировать» в шапке и др.).
   Его собственную плавающую кнопку внизу экрана скрываем — бронирование одной кнопкой в шапке. */
html body #restoplace-wrapper-btn { display: none !important; }

.mobile-nav__book { margin: 4px 0 10px; }
.mobile-nav__delivery { margin: 0 0 10px; }
.mobile-nav__book, .mobile-nav__delivery { width: min(100%, 300px); }
.hotline__book { margin: 4px 0 6px; }

/* ---------- Уведомление о cookies ---------- */
.cookie {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 520px;
  padding: 16px 18px;
  border: 1px solid rgba(201, 164, 92, .3);
  border-radius: var(--radius);
  background: rgba(21, 16, 13, .94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.cookie.is-visible { opacity: 1; transform: none; }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; font-size: .84rem; line-height: 1.5; color: var(--muted); }
.cookie .btn { flex: none; min-height: 40px; padding: .5em 1.3em; font-size: .88rem; }

/* ---------- Акции ---------- */
.promo { position: relative; padding: clamp(96px, 12vw, 160px) 0; overflow: hidden; background: var(--ink); }
.promo__bg { position: absolute; inset: 0; }
.promo__bg img { width: 100%; height: 120%; object-fit: cover; opacity: .55; }
.promo__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, var(--ink) 0%, rgba(13, 10, 9, .55) 22%, rgba(13, 10, 9, .55) 78%, var(--ink) 100%);
}
.promo .container { position: relative; }
/* Афиши акций — оригинальные картинки со старого сайта */
.promo-banners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(16px, 2.4vw, 32px);
}
.promo-banner {
  position: relative;
  flex: 0 1 calc((100% - 2 * clamp(16px, 2.4vw, 32px)) / 3);
  max-width: 400px;
  padding: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(201, 164, 92, .35), 0 40px 70px -30px rgba(0, 0, 0, .9);
  cursor: zoom-in;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.promo-banner img { width: 100%; height: auto; }
.promo-banner:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--gold), 0 50px 80px -30px rgba(0, 0, 0, .95); }
.promo-banners__hint { margin: 28px 0 0; text-align: center; font-size: .88rem; color: var(--muted); }

/* ---------- Афиша ---------- */
.afisha {
  position: relative;
  padding: clamp(96px, 12vw, 160px) 0;
  background:
    var(--edge-fade),
    radial-gradient(ellipse at 50% 0%, rgba(155, 31, 39, .24), transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(201, 164, 92, .08), transparent 45%),
    var(--ink-2);
}
.afisha__posters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); max-width: 1180px; margin-inline: auto; }
.afisha__poster { margin: 0; display: grid; gap: 14px; justify-items: center; }
.afisha__poster .promo-banner { max-width: none; width: 100%; }
.afisha__poster figcaption { font-family: var(--font-caps); font-size: 1.05rem; letter-spacing: .14em; color: var(--gold-soft); }
.afisha__info {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  max-width: 1180px;
  margin: clamp(56px, 7vw, 90px) auto 0;
}
.afisha__text .lead { margin-top: 0; color: var(--text); }
.afisha__welcome { margin: 0; font-family: var(--font-display); font-style: italic; font-size: clamp(1.5rem, 2.2vw, 1.9rem); color: var(--gold-soft); }
.afisha__book { margin-top: 0; }
.afisha__cta { width: 100%; margin-top: 1.4rem; }

/* ---------- Контакты ---------- */
.contacts { padding: clamp(96px, 12vw, 160px) 0 clamp(80px, 10vw, 140px); }
.contacts__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 90px); align-items: start; }
.contacts__list { display: grid; gap: 0; }
.place {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(43, 29, 23, .14);
}
.place:first-child { border-top: 1px solid rgba(43, 29, 23, .14); }
.place > * { grid-column: 1; }
.place__brand { margin: 0; font-family: var(--font-caps); font-size: .95rem; letter-spacing: .16em; color: var(--garnet) !important; }
.place__address { margin: .15em 0 .4em; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.1; color: var(--paper-ink); }
.place__row { display: flex; align-items: center; gap: 10px; margin: 0 0 .25em; font-size: .98rem; }
.place__row svg { width: 18px; height: 18px; color: var(--garnet); flex: none; }
.place__row a:hover { color: var(--garnet); }
.place__route {
  grid-column: 2;
  grid-row: 1 / span 4;
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: .55em 1.1em;
  border: 1px solid rgba(43, 29, 23, .25);
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--paper-ink);
  transition: all .3s var(--ease);
}
.place__route svg { width: 16px; height: 16px; }
.place__route:hover { background: var(--paper-ink); border-color: var(--paper-ink); color: var(--cream); }

.family { margin-top: 34px; display: grid; gap: 12px; }
.family__title { font-family: var(--font-display); font-style: italic; font-size: 1.4rem; color: var(--paper-ink) !important; margin: 0; }
/* карточка заведения: вся нажимается и ведёт на его сайт, телефон — отдельно */
.family__item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 20px;
  padding: 22px 26px;
  border: 1px solid rgba(43, 29, 23, .1);
  border-radius: var(--radius);
  background: rgba(43, 29, 23, .05);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.family__item > * { grid-column: 1; }
.family__item p { margin: 0; }
.family__addr { margin: .15em 0 .35em !important; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.45rem, 2.2vw, 1.8rem); line-height: 1.1; color: var(--paper-ink) !important; }
.family__phone { position: relative; z-index: 1; font-weight: 500; }
.family__phone:hover { color: var(--garnet); }
.family__site {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: .55em 1.1em;
  border: 1px solid rgba(43, 29, 23, .25);
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--paper-ink);
  transition: all .3s var(--ease);
}
.family__site svg { width: 16px; height: 16px; }
.family__site::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.family__item--link { cursor: pointer; }
.family__item--link:hover { background: rgba(43, 29, 23, .09); border-color: rgba(155, 31, 39, .35); box-shadow: 0 20px 40px -28px rgba(43, 29, 23, .6); }
.family__item--link:hover .family__site { background: var(--paper-ink); border-color: var(--paper-ink); color: var(--cream); }

.contacts__side { position: sticky; top: calc(var(--header-h) + 32px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.map {
  position: relative;
  aspect-ratio: 4 / 3.4;
  /* скругление, а не арка: арка срезала кнопки и подписи виджета карты в верхних углах */
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-2);
  box-shadow: 0 30px 60px -30px rgba(43, 29, 23, .5);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: sepia(.25) saturate(.9); }
.map__fallback {
  /* видно, пока виджет карты не загрузился (или если он недоступен) */
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--paper-ink);
  background:
    repeating-linear-gradient(45deg, rgba(43, 29, 23, .035) 0 2px, transparent 2px 14px),
    var(--cream-2);
}
.map__fallback svg { width: 40px; height: 40px; color: var(--garnet); }
.map__fallback span { border-bottom: 1px solid currentColor; }
.hotline { padding: 28px; border-radius: var(--radius); background: var(--paper-ink); color: var(--cream); }
.hotline__label { margin: 0 0 .2em; font-family: var(--font-caps); letter-spacing: .16em; color: var(--gold) !important; }
.hotline__num { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(2.6rem, 4.6vw, 3.6rem); line-height: 1.1; color: var(--cream); }
.hotline__num:hover { color: var(--gold-soft); }
.hotline__links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 16px 0; }
.hotline__links a { display: inline-flex; align-items: center; gap: 8px; font-size: .95rem; color: var(--cream); }
.hotline__links a:hover { color: var(--gold-soft); }
.hotline__links svg { width: 20px; height: 20px; color: var(--gold); }
.hotline__small { margin: 0; font-size: .82rem; color: rgba(241, 232, 216, .6) !important; }
.hotline__small a { color: rgba(241, 232, 216, .85); }

/* ---------- Подвал ---------- */
.footer { padding: 80px 0 40px; background: var(--ink); border-top: 1px solid rgba(201, 164, 92, .12); }
.footer__inner { display: grid; justify-items: center; gap: 22px; text-align: center; }
.footer__logo { width: 190px; }
.footer .ornament { margin: 0; }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; }
.footer__nav a { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.footer__nav a:hover { color: var(--gold-soft); }
.footer__social { display: flex; gap: 12px; }
.footer__social a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); color: var(--gold-soft); transition: all .3s var(--ease); }
.footer__social a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.footer__social svg { width: 20px; height: 20px; }
.footer__copy { margin: 18px 0 0; font-size: .82rem; color: rgba(239, 230, 214, .45); }
/* Форма «Обратная связь» в подвале — тёмная, в тон подвалу */
.feedback {
  width: 100%;
  max-width: 680px;
  margin: 10px 0 4px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(201, 164, 92, .22);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(241, 232, 216, .05), rgba(241, 232, 216, .015));
  text-align: left;
}
.feedback .footer__label { text-align: center; font-size: clamp(1.9rem, 3.6vw, 2.6rem); line-height: 1.15; letter-spacing: .08em; color: var(--gold-soft); }
.feedback__sub { margin: 6px 0 22px; text-align: center; font-size: .95rem; color: var(--muted); }
.feedback .field__label { color: rgba(239, 230, 214, .75); }
.feedback .field__label i { color: var(--gold); }
.feedback .field input, .feedback .field textarea {
  border-color: rgba(201, 164, 92, .28);
  background: rgba(241, 232, 216, .05);
  color: var(--cream);
}
.feedback .field input:focus, .feedback .field textarea:focus {
  border-color: var(--gold);
  background: rgba(241, 232, 216, .08);
  box-shadow: 0 0 0 3px rgba(201, 164, 92, .18);
}
.feedback .field.is-invalid input, .feedback .field.is-invalid textarea { border-color: var(--garnet-bright); background: rgba(192, 57, 43, .12); }
.feedback__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 4px; }
.feedback .consent { margin: 0; flex: 1 1 260px; color: rgba(239, 230, 214, .6); }
.feedback .consent input {
  -webkit-appearance: none;
  appearance: none;
  display: grid;
  place-content: center;
  border: 1px solid rgba(201, 164, 92, .55);
  border-radius: 5px;
  background: rgba(241, 232, 216, .05);
  cursor: pointer;
}
.feedback .consent input::before {
  content: "";
  width: 10px;
  height: 6px;
  margin-top: -2px;
  border-left: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(-45deg) scale(0);
  transition: transform .15s var(--ease);
}
.feedback .consent input:checked { background: var(--gold); border-color: var(--gold); }
.feedback .consent input:checked::before { transform: rotate(-45deg) scale(1); }
.feedback .consent input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.feedback .consent.is-invalid input { border-color: #e06a5e; }
.feedback .consent.is-invalid { color: #e06a5e; }
.feedback__submit { flex: none; min-width: 190px; }
.feedback .paper-form__status { color: var(--muted); }
.feedback .paper-form__status.is-error { color: #e06a5e; }
.feedback__done { display: grid; justify-items: center; gap: 8px; padding: clamp(24px, 4vw, 40px); text-align: center; color: var(--muted); }
.feedback__done p { margin: 0; }
.feedback__done[hidden], .feedback__form[hidden] { display: none; }

/* Обратная связь: подпись + почта капсулой рядом с кружками соцсетей */
.footer__contact { display: grid; justify-items: center; gap: 14px; margin-top: 6px; }
.footer__label { margin: 0; font-family: var(--font-caps); font-size: 1.05rem; letter-spacing: .2em; color: var(--gold); }
.footer__contact-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; }
.footer__mail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--cream);
  font-size: 1rem;
  letter-spacing: .02em;
  transition: all .3s var(--ease);
}
.footer__mail svg { width: 20px; height: 20px; color: var(--gold-soft); transition: color .3s var(--ease); }
.footer__mail:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.footer__mail:hover svg { color: var(--ink); }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; font-size: .82rem; }
.footer__legal a { color: rgba(239, 230, 214, .55); text-decoration: underline; text-decoration-color: rgba(239, 230, 214, .2); text-underline-offset: 4px; }
.footer__legal a:hover { color: var(--gold-soft); }

/* ---------- Страницы документов (оферта, условия отмены) ---------- */
.doc-header { position: sticky; top: 0; z-index: 50; background: rgba(13, 10, 9, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(201, 164, 92, .14); }
.doc-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; width: min(1100px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.doc-header img { height: 40px; width: auto; }
.doc-header__back { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--gold-soft); }
.doc-header__back svg { width: 18px; height: 18px; transform: scaleX(-1); }
.doc { padding: clamp(56px, 8vw, 110px) 0 clamp(72px, 9vw, 130px); }
.doc__inner { width: min(820px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.doc h1 {
  margin: 0 0 1.2em;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  line-height: 1.08;
  color: var(--paper-ink);
  text-wrap: balance;
}
.doc h2 { margin: 2.2em 0 .7em; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 2.4vw, 1.8rem); color: var(--garnet); }
.doc p { margin: 0 0 1em; font-size: 1rem; line-height: 1.75; color: #4d3a31; }
.doc ol { margin: 0; padding-left: 1.4em; }
.doc ol li { margin-bottom: 1em; padding-left: .3em; line-height: 1.75; color: #4d3a31; }
.doc ol li::marker { font-family: var(--font-display); font-weight: 600; color: var(--garnet); }
.doc dt { margin-top: 1em; font-weight: 600; color: var(--paper-ink); }
.doc dd { margin: .2em 0 0; line-height: 1.7; color: #4d3a31; }
.doc a { color: var(--garnet); text-decoration: underline; text-underline-offset: 3px; }
.doc__meta { margin-top: 3em; padding-top: 1.5em; border-top: 1px solid rgba(43, 29, 23, .15); font-size: .9rem; }
.doc .ornament { margin: 0 0 2rem; }

/* ==========================================================================
   Адаптив
   ========================================================================== */
@media (max-width: 1320px) {
  /* «Позвонить» сжимается до круглой кнопки с трубкой */
  .header__phone { width: 42px; padding: 0; justify-content: center; }
  .header__phone span, .header__phone .header__chev { display: none; }
}
@media (max-width: 1440px) {
  /* рядом с «Доставкой» места меньше — трубка круглой становится раньше */
  .header__inner:has(.header__delivery) .header__phone { width: 42px; padding: 0; justify-content: center; }
  .header__inner:has(.header__delivery) :is(.header__phone span, .header__phone .header__chev) { display: none; }
  .header__inner:has(.header__delivery) .nav { gap: clamp(16px, 1.7vw, 36px); }
}

@media (max-width: 980px) {
  :root { --header-h: 64px; }
  .nav { display: none; }
  .burger { display: block; margin-left: 0; }
  /* «Забронировать» остаётся в шапке и на телефоне — рядом с кнопкой меню */
  .header__cta { margin-left: auto; min-height: 38px; padding: .45em 1.05em; font-size: .82rem; }
  .header__logo img { height: 36px; }
  .header__phones { margin-left: auto; }
  .header__phones + .header__cta { margin-left: 0; }
  .header__phone { width: 38px; min-height: 38px; }
  /* «Доставка» на планшете и телефоне — круглая кнопка с пакетом рядом с трубкой (и крупная кнопка в меню) */
  .header__delivery { margin-left: auto; width: 38px; min-height: 38px; padding: 0; justify-content: center; }
  .header__delivery span { display: none; }
  .header__delivery + .header__phones, .header__delivery + .header__cta { margin-left: 0; }
  /* окно с телефонами — во всю ширину под шапкой */
  .phones-pop { position: fixed; top: calc(var(--header-h) + 8px); left: var(--gutter); right: var(--gutter); width: auto; max-width: 420px; margin-left: auto; }

  .newyear__intro, .newyear__cta, .newyear__cards { grid-template-columns: minmax(0, 1fr); }
  .newyear__poster { width: min(100%, 420px); }
  .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reason, .reason:nth-child(n + 4) { grid-column: auto; }
  .reason:last-child:nth-child(odd) { grid-column: 1 / -1; }

  .about__grid, .story__grid, .banquets__grid, .contacts__grid, .vacancies__grid,
  .banquet-request, .afisha__info { grid-template-columns: minmax(0, 1fr); }
  .afisha__posters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .afisha__poster:last-child { grid-column: 1 / -1; width: calc(50% - clamp(16px, 2.4vw, 32px) / 2); justify-self: center; }
  .paper-form-wrap { position: static; max-width: 620px; }
  .extra-menu { grid-template-columns: minmax(0, 1fr); }
  .extra-menu .menu-sheet { max-width: 480px; margin-inline: auto; }
  .banket-card__pages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about__media { max-width: 560px; }
  /* хронология в одну колонку: ось слева, фото над текстом */
  .chrono::before, .chrono::after { left: 9px; translate: none; }
  .chrono__item {
    grid-template-columns: 18px minmax(0, 1fr);
    column-gap: 22px;
    row-gap: 20px;
    align-items: start;
    padding-block: 28px;
  }
  .chrono__dot { order: 0; grid-row: 1 / span 2; margin-top: 8px; }
  .chrono__item .album, .chrono__item:nth-child(even) .album { order: 1; grid-column: 2; max-width: 520px; }
  .chrono__item .chrono__text, .chrono__item:nth-child(even) .chrono__text { order: 2; grid-column: 2; text-align: left; }

  .story__photo { max-width: 460px; width: 100%; margin-inline: auto; }
  .banquets__media { position: relative; top: 0; max-width: 560px; }
  .promo-banner { flex-basis: calc((100% - clamp(16px, 2.4vw, 32px)) / 2); }
  .contacts__side { position: static; }
}

@media (max-width: 767.98px) and (orientation: portrait) {
  /* тот же масштаб, что рисует canvas в фазе логотипа (см. logoZoom в sequence.js) */
  .hero__sticky { background-image: url("../assets/frames/mobile/f_0001.webp?v=6"); background-size: 166vw auto; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hero { height: 555vh; }
  .hero__card, .hero__card--right, .hero__card--center {
    left: var(--gutter);
    right: var(--gutter);
    top: auto;
    bottom: 12vh;
    display: block;
    width: auto;
    margin: 0;
    text-align: left;
  }
  .hero__card--right .eyebrow { justify-content: flex-start; }
  .hero__card--right .eyebrow::before { order: 0; }
  .hero__card--center .eyebrow { justify-content: flex-start; }
  .hero__card--center .eyebrow::after { display: none; }
  .hero__card::before { inset: -35% -20%; }
  .hero__intro .eyebrow { font-size: .9rem; letter-spacing: .12em; }
  .hero__intro .eyebrow::before, .hero__intro .eyebrow::after { display: none; }

  /* разделы меню — горизонтальная лента от края до края */
  .chapters {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    margin-inline: calc(-1 * var(--gutter));
    padding: 2px var(--gutter);
    scroll-padding-inline: var(--gutter);
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent);
  }
  .chapters::-webkit-scrollbar { display: none; }
  .chapters button { flex: none; scroll-snap-align: start; }

  .features, .offers { grid-template-columns: minmax(0, 1fr); }
  .feedback__submit { width: 100%; }
  .captcha__row { flex-wrap: wrap; }
  .field .captcha__row input { flex-basis: 100%; }
  .afisha__posters { grid-template-columns: minmax(0, 1fr); max-width: 440px; }
  /* justify-self: stretch — иначе (центрирование с планшета) третья афиша до загрузки картинки сжималась в полоску */
  .afisha__poster:last-child { grid-column: auto; width: auto; justify-self: stretch; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .menu-tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; border-radius: 18px; }
  .menu-tabs button { padding: .6em .5em; font-size: 1.02rem; border-radius: 14px; }
  .banket-card__head .btn { width: 100%; }
  .paper-form-wrap { padding: 8px; margin-inline: -4px; }
  .cookie { left: 10px; right: 10px; bottom: 10px; max-width: none; flex-direction: column; align-items: stretch; gap: 12px; }
  .doc-header__back span { display: none; }
  .stats { gap: 24px; }
  .banquets__cta .btn { width: 100%; }
  .place { grid-template-columns: minmax(0, 1fr); }
  .place__route { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 12px; }
  .family__item { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .family__site { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 12px; }
  .header__cta { padding-inline: .9em; }
  .newyear__program ul, .reasons { grid-template-columns: minmax(0, 1fr); }
  .reason:last-child:nth-child(odd) { grid-column: auto; }
  .newyear__actions .btn { width: 100%; }
  .newyear__actions [data-zoom-open] { display: none; } /* афиша и так стоит сразу под кнопками */
  .reason { padding: 20px 20px 22px; }
  .reason::before { font-size: 2rem; margin-bottom: 6px; }
  .newyear__card { padding: 18px 20px; }
  .newyear__cta { padding: 24px 20px; margin-inline: -4px; }
  .book-controls__sep { display: none; }
  .book-controls .btn { flex: 1 1 40%; }
  .lightbox { grid-template-columns: minmax(0, 1fr); padding: 0; }
  .lightbox__scroller { grid-area: 1 / 1; }
  .lightbox__scroller { height: 100svh; padding: 68px 8px; }
  .lightbox__img { max-height: calc(100svh - 136px); }
  .lightbox__nav { position: fixed; bottom: 10px; z-index: 2; width: 46px; height: 46px; }
  .lightbox__nav--prev { left: 12px; }
  .lightbox__nav--next { right: 12px; }
  .lightbox__count { bottom: 20px; }
}

/* Телефоны: с «Доставкой» в шапке пять элементов — делаем их чуть компактнее, чтобы бургер остался на месте */
@media (max-width: 480px) {
  .header__inner:has(.header__delivery) { --hgap: 8px; }
  .header__inner:has(.header__delivery) .header__logo img { height: 32px; }
  .header__inner:has(.header__delivery) :is(.header__delivery, .header__phone) { width: 36px; min-height: 36px; }
  .header__inner:has(.header__delivery) .header__cta { min-height: 36px; padding-inline: .8em; font-size: .78rem; }
  .header__inner:has(.header__delivery) .burger { width: 40px; }
  .header__inner:has(.header__delivery) .burger span { left: 8px; right: 8px; }
}
/* Узкие телефоны (360 px и меньше): шапка компактнее и без «Доставки» */
@media (max-width: 374px) {
  .header__inner { --hgap: 10px; }
  .header__logo img { height: 30px; }
  .header__cta { min-height: 36px; padding-inline: .7em; font-size: .76rem; }
  .burger { width: 40px; }
  .burger span { left: 8px; right: 8px; }
  .header__inner:has(.header__delivery) { --hgap: 8px; }
  .header__inner:has(.header__delivery) .header__logo img { height: 29px; }
  .header__inner:has(.header__delivery) .header__cta { padding-inline: .7em; font-size: .74rem; }
}
@media (max-width: 374px) {
  /* кнопка «Забронировать стол онлайн» помещается в карточку единого номера */
  .hotline { padding: 22px 20px; }
  .hotline__book { padding-inline: 1.1em; font-size: .9rem; }
}
/* совсем узкий экран: «Доставка» остаётся только в меню */
@media (max-width: 340px) {
  .header__delivery { display: none; }
  .header__delivery + :is(.header__phones, .header__cta) { margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .hero { height: 100vh; height: 100svh; }
  .about { margin-top: 0; }
  .hero__hint i::after, .header, .hero__intro > * { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
