/* ═══════════════════════════════════════════════
   GAMARJOBA — красный на льняном, editorial-минимализм
   Палитра: кремовый фон (как бумага меню), яркий красный
   акцент, глубокий бордовый текст — контраст в три слоя.
   ═══════════════════════════════════════════════ */

:root {
  --red: #d40e2f;        /* яркий грузинский красный — акценты, заливки */
  --red-deep: #7a0918;   /* бордо — основной текст */
  --red-dark: #520612;   /* самый тёмный красный — крупные заголовки */
  --wine: #23040c;       /* ночь в марани — тёмные секции */
  --blue: #2e4f9e;       /* грузинская керамика — синие детали */
  --green: #3e7a3f;      /* кинза и тархун — зелёные детали */
  --cream: #f7efe3;      /* льняная бумага меню */
  --cream-soft: #fdf9f1; /* светлый слой для чередования секций */
  --white: #ffffff;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* орнамент-вышивка: красно-зелёно-синий крестик, как бордюр в печатном меню */
  --ornament-red: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='36'%3E%3Cpath d='M18 6 L30 18 L18 30 L6 18 Z' fill='none' stroke='%23c8102e' stroke-width='2'/%3E%3Crect x='15' y='15' width='6' height='6' fill='%233e7a3f'/%3E%3Cpath d='M54 6 L66 18 L54 30 L42 18 Z' fill='none' stroke='%232e4f9e' stroke-width='2'/%3E%3Crect x='51' y='15' width='6' height='6' fill='%23c8102e'/%3E%3Crect x='34' y='16' width='4' height='4' fill='%233e7a3f'/%3E%3Crect x='-2' y='16' width='4' height='4' fill='%23c8102e'/%3E%3Crect x='70' y='16' width='4' height='4' fill='%23c8102e'/%3E%3C/svg%3E");
  --ornament-cream: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36'%3E%3Cpath d='M18 6 L30 18 L18 30 L6 18 Z' fill='none' stroke='%23f7efe3' stroke-width='2'/%3E%3Crect x='15' y='15' width='6' height='6' fill='%23f7efe3'/%3E%3Crect x='0' y='16' width='4' height='4' fill='%23f7efe3'/%3E%3Crect x='32' y='16' width='4' height='4' fill='%23f7efe3'/%3E%3C/svg%3E");
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  position: relative;   /* точка отсчёта для декоративного слоя во всю высоту страницы */
  background: var(--cream);
  color: var(--red-deep);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--red); color: var(--cream); }

a { color: inherit; text-decoration: none; }

em { font-family: var(--serif); font-style: italic; }

main, footer, header { position: relative; z-index: 3; }

/* ── Прогресс скролла ── */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60;
}
.progress span {
  display: block; height: 100%; width: 100%;
  background: var(--red);
  transform-origin: left;
  transform: scaleX(0);
}

/* ── Переход между страницами ── */
.page-transition {
  position: fixed; inset: 0; z-index: 100;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: bottom;
  pointer-events: none;
}
.page-transition.is-active {
  transform: scaleY(1);
  transition: transform 0.55s var(--ease);
}
.page-transition--out {
  transform-origin: top;
  transform: scaleY(1);
  animation: pageOut 0.7s var(--ease) 0.05s forwards;
}
@keyframes pageOut { to { transform: scaleY(0); } }

/* ── Навигация ── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem clamp(1.2rem, 4vw, 3rem);
  mix-blend-mode: multiply;
}
.nav__logo {
  display: flex; align-items: center; gap: 0.7rem;
}
/* логотип: прежний шрифт, подпись по центру под названием, флаг справа во всю высоту */
.logo-text { text-align: center; }
.logo-text b {
  display: block;
  font-family: var(--serif);
  font-weight: 900;
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--red);
}
.logo-text i {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: #9a938a; /* серебро, как в фирменном лого */
  margin-top: 0.15rem;
}
.logo-flag {
  height: 2.5rem; width: auto; /* по высоте всего логотипа */
  display: block;
  filter: drop-shadow(0 1px 2px rgba(35, 4, 12, 0.25));
}
.nav__dot { color: var(--red); }
.nav__links {
  display: flex; gap: 2rem;
  font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 400;
}
.nav__links a, .nav__phone, .nav__back {
  position: relative;
}
.nav__links a::after, .nav__back::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav__links a:hover::after, .nav__back:hover::after {
  transform: scaleX(1); transform-origin: left;
}
.nav__phone, .nav__back { font-size: 0.85rem; letter-spacing: 0.06em; font-weight: 400; }
/* на странице меню шапка уезжает со скроллом и прокручивается вбок, если не влезает */
.menu-page .nav {
  position: absolute;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 1rem;
}
.menu-page .nav::-webkit-scrollbar { display: none; }
.menu-page .nav > * { flex: 0 0 auto; }
.nav a { transition: color 0.3s; }

/* кнопка «На главную» / «Назад» — крупнее на десктопе */
@media (min-width: 1024px) {
  .nav__back {
    font-size: 1rem;
    padding: 0.65rem 1.5rem;
    border: 1px solid var(--red);
    border-radius: 999px;
  }
  .nav__back::after { display: none; }
}

/* ── Переключатель языков ── */
.nav__right { display: flex; align-items: center; gap: 1.4rem; }
.lang-switch { display: flex; gap: 0.15rem; }
.lang-switch button {
  font-family: var(--sans);
  font-size: 0.72rem; letter-spacing: 0.08em; font-weight: 500;
  background: none;
  border: none;
  color: var(--red-deep);
  opacity: 0.55;
  padding: 0.3rem 0.4rem;
  cursor: pointer;
  transition: opacity 0.25s, color 0.25s;
}
.lang-switch button:hover { opacity: 1; }
.lang-switch button.is-active {
  opacity: 1;
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.lang-switch--big { gap: 0.6rem; }
.lang-switch--big button { font-size: 1rem; padding: 0.5rem 0.7rem; }

/* ── Бургер и мобильное меню ── */
.nav__burger {
  display: none;
  flex-direction: column; gap: 6px;
  background: none; border: none;
  padding: 0.5rem;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--red);
  transition: transform 0.35s var(--ease);
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  background-color: var(--cream);
  background-image: linear-gradient(180deg, var(--cream) 0%, var(--cream-soft) 100%);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: inset 0 0 0 100vmax var(--cream);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1.6rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 2rem;
  color: var(--red-dark);
}
.mobile-menu__phone {
  margin-top: 1.5rem;
  font-family: var(--sans) !important;
  font-weight: 400 !important;
  font-size: 1rem !important;
  letter-spacing: 0.1em;
  color: var(--red) !important;
  border: 1px solid var(--red);
  border-radius: 999px;
  padding: 0.9rem 1.8rem;
}
@media (max-width: 760px) {
  .nav__burger { display: flex; }
  .nav__phone { display: none; }
  .nav { mix-blend-mode: normal; }
}

/* ── HERO ── */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 6rem clamp(0.6rem, 1.5vw, 1rem) 4rem;
  position: relative;
  overflow: hidden;
}
/* фоновая графика hero: горы, квеври, солнце — параллакс-слои */
.hero__bg {
  position: absolute; inset: 0;
  pointer-events: none;
  color: var(--red);
}
.hero__bg svg { position: absolute; }
/* акварель из меню: белый лён картинки «растворяется» в фоне через multiply */
.hero__landscape {
  position: absolute;
  left: 50%; bottom: -6%;
  transform: translateX(-50%);
  width: min(1150px, 118%);
  mix-blend-mode: multiply;
  opacity: 0.3;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 40%, #000 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 40%, #000 82%, transparent 100%);
}
.hero__landscape img { width: 100%; height: auto; display: block; }
.hero__eyebrow {
  font-size: 0.78rem; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 400;
  margin-bottom: 2.2rem;
  color: var(--red);
}
.hero__title {
  font-family: var(--serif);
  font-weight: 900;
  font-variation-settings: "opsz" 144;
  font-size: clamp(3.2rem, 13vw, 12rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  display: flex;
  color: var(--red);
  will-change: transform;
}
.hero__title span {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.6em) rotate(4deg);
  animation: letterIn 0.9s var(--ease) forwards;
}
.hero__title span:nth-child(1) { animation-delay: 0.10s; }
.hero__title span:nth-child(2) { animation-delay: 0.16s; }
.hero__title span:nth-child(3) { animation-delay: 0.22s; }
.hero__title span:nth-child(4) { animation-delay: 0.28s; }
.hero__title span:nth-child(5) { animation-delay: 0.34s; }
.hero__title span:nth-child(6) { animation-delay: 0.40s; }
.hero__title span:nth-child(7) { animation-delay: 0.46s; }
.hero__title span:nth-child(8) { animation-delay: 0.52s; }
.hero__title span:nth-child(9) { animation-delay: 0.58s; }
@keyframes letterIn {
  to { opacity: 1; transform: translateY(0) rotate(0); }
}
.hero__sub {
  margin-top: 2.4rem;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  max-width: 34em;
  position: relative;
}
.hero__cta {
  margin-top: 3rem;
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 400;
  color: var(--cream);
  background: var(--red);
  border: 1px solid var(--red);
  border-radius: 999px;
  padding: 1rem 2rem;
  position: relative;
  overflow: hidden;
  transition: color 0.35s var(--ease);
}
.hero__cta::before {
  content: ""; position: absolute; inset: 0;
  background: var(--red-dark);
  transform: translateY(101%);
  transition: transform 0.4s var(--ease);
}
.hero__cta:hover::before { transform: translateY(0); }
.hero__cta span, .hero__cta svg { position: relative; }
.hero__cta svg { transition: transform 0.35s var(--ease); }
.hero__cta:hover svg { transform: translateY(3px); }
.hero__scrollhint {
  position: absolute; bottom: 2rem; left: 50%;
  width: 1px; height: 56px;
  background: var(--red);
  overflow: hidden;
}
.hero__scrollhint::after {
  content: ""; position: absolute; inset: 0;
  background: var(--cream);
  animation: scrollHint 1.8s var(--ease) infinite;
}
@keyframes scrollHint {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

/* ── GEO-REVEAL: раскрытие hero через силуэт Грузии ── */
.gr { position: relative; }
.gr__track { position: relative; }
.gr__stage {
  position: relative;
  height: 100svh;
  overflow: hidden;
  background: var(--cream);
}
.gr__media { position: absolute; inset: 0; }
.gr__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 38%;
  transform: scale(var(--gr-img, 1));
  transform-origin: center;
  will-change: transform;
}
/* полупрозрачное затемнение поверх фото — чтобы читался текст */
.gr__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.46));
}
/* «паспарту» — кремовая заливка с вырезом-Грузией, зумируется по скроллу */
.gr__frame {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  transform: scale(var(--gr-s, 1));
  transform-origin: center;
  opacity: var(--gr-frame-op, 1);
  will-change: transform, opacity;
  pointer-events: none;
  display: none; /* по умолчанию (no-JS / reduced-motion) маски нет — открытый hero */
}
.gr__mat { fill: var(--cream); }
.gr__content {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 6rem clamp(0.6rem, 1.5vw, 1rem) 4rem;
  opacity: var(--gr-content-op, 1);
  transform: translateY(var(--gr-content-y, 0px));
  will-change: opacity, transform;
}
/* текст поверх фото — светлый, с мягкой тенью; размеры под «окно»-Грузию */
.gr__content .hero__eyebrow {
  color: #f4ede1;
  letter-spacing: 0.34em;
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}
/* логотип ресторана поверх фото */
.gr__logo {
  display: flex; flex-direction: column; align-items: center;
  gap: 0.45rem;
}
.gr__logo-flag {
  width: clamp(48px, 6vw, 74px); height: auto;
  filter: drop-shadow(0 3px 14px rgba(0, 0, 0, 0.55));
}
.gr__logo-word {
  font-family: var(--serif);
  font-weight: 900;
  font-variation-settings: "opsz" 144;
  font-size: clamp(2.6rem, 8vw, 6rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fdf8f0;
  text-shadow: 0 3px 28px rgba(0, 0, 0, 0.6);
}
.gr__logo-sub {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(0.85rem, 1.7vw, 1.3rem);
  letter-spacing: 0.34em;
  color: #ece2d2;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}
.gr__subtitle {
  margin-top: 1.2rem;
  max-width: 30ch;
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  font-weight: 300;
  line-height: 1.5;
  color: #f2ece2;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.65);
}
.gr__content .hero__cta {
  margin-top: 2rem;
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.gr__content .hero__scrollhint { background: rgba(247, 239, 227, 0.7); }

/* плавное появление текста при загрузке */
.gr__content .fade-up {
  opacity: 0;
  transform: translateY(22px);
  animation: heroFadeUp 0.9s var(--ease) forwards;
}
.gr__content .fade-up:nth-child(1) { animation-delay: 0.15s; }
.gr__content .fade-up:nth-child(2) { animation-delay: 0.30s; }
.gr__content .fade-up:nth-child(3) { animation-delay: 0.45s; }
.gr__content .fade-up:nth-child(4) { animation-delay: 0.60s; }
@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* включённая scroll-driven анимация */
.gr.is-armed .gr__track { height: 260vh; }
.gr.is-armed .gr__stage { position: sticky; top: 0; }
.gr.is-armed .gr__frame { display: block; }

/* шапка над тёмной фазой раскрытия — светлая */
body.gr-dark .nav { mix-blend-mode: normal; }
body.gr-dark .logo-text b,
body.gr-dark .nav__links a,
body.gr-dark .nav__phone { color: var(--cream); }
body.gr-dark .logo-text i { color: #e8dccb; }
body.gr-dark .nav__burger span { background: var(--cream); }

/* на узких экранах «окно» ниже — прячем eyebrow, чтобы он не падал на кремовый фон */
@media (max-width: 600px) {
  .gr__content .hero__eyebrow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .gr.is-armed .gr__track { height: auto; }
  .gr.is-armed .gr__stage { position: relative; }
  .gr.is-armed .gr__frame { display: none; }
  .gr__content .fade-up { opacity: 1; transform: none; animation: none; }
}

/* ── Бегущая строка ── */
.marquee {
  border-top: 1px solid var(--red);
  border-bottom: 1px solid var(--red);
  color: var(--red);
  overflow: hidden;
  padding: 1.1rem 0;
  white-space: nowrap;
}
.marquee__track {
  display: inline-flex;
  animation: marquee 30s linear infinite;
}
.marquee__track span {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 1.25rem;
  padding-right: 1em;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Интро ── */
.intro {
  padding: clamp(6rem, 14vh, 11rem) clamp(1.5rem, 8vw, 10rem);
  position: relative;
}
.intro__text {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.6rem, 3.4vw, 2.9rem);
  line-height: 1.35;
  max-width: 26em;
  color: var(--wine);
}
.intro__text strong { font-weight: 600; color: var(--red); }

/* ── Общие заголовки секций ── */
.section-label {
  font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 400;
  margin-bottom: 1.4rem;
  color: var(--red);
}
.section-label--light { color: var(--cream); }
.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.6rem, 6.5vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--red-dark);
}
.section-title em { color: var(--red); }

/* ── Блюда: белая полоса — резкий свет после тёмного марани ── */
.dishes {
  padding: clamp(4rem, 8vh, 6rem) clamp(1.2rem, 4vw, 3rem) clamp(5rem, 10vh, 8rem);
  background: var(--white);
  border-top: 1px solid var(--red);
}
.dishes__head { margin-bottom: clamp(3rem, 7vh, 5rem); }
.dishes__hint {
  margin-top: 1.2rem;
  font-size: 0.9rem;
  font-family: var(--serif); font-style: italic;
  color: var(--green);
}
.dishes__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
  border-top: 1px solid var(--red);
  border-left: 1px solid var(--red);
}
.dish-card {
  display: block;
  position: relative;
  border-right: 1px solid var(--red);
  border-bottom: 1px solid var(--red);
  padding: 2.2rem 2rem 2rem;
  cursor: pointer;
  background: var(--white);
  transition: background 0.45s var(--ease), color 0.45s var(--ease);
}
.dish-card:hover { background: var(--red); color: var(--cream); }
.dish-card__num {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 0.95rem;
  display: block; margin-bottom: 1.6rem;
}
.dish-card__art {
  height: 160px;
  margin-bottom: 1.8rem;
  overflow: hidden;
  border: 1px solid rgba(200, 16, 46, 0.3);
}
.dish-card__art img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease), filter 0.7s var(--ease);
}
.dish-card:hover .dish-card__art img { transform: scale(1.07) rotate(-1deg); }
.dish-card__name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.7rem;
  line-height: 1.1;
  color: var(--wine);
}
.dish-card:hover .dish-card__name { color: var(--white); }
.dish-card__tagline { margin-top: 0.5rem; font-size: 0.95rem; }
.dish-card__meta {
  margin-top: 1.4rem;
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 400;
}
.dish-card__go {
  position: absolute; top: 1.8rem; right: 1.8rem;
  font-size: 1.2rem;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.dish-card:hover .dish-card__go { opacity: 1; transform: translateX(0); }
.dishes__more { text-align: center; margin-top: clamp(2.5rem, 6vh, 4rem); }

/* «Прорисовка» line-art при появлении */
.draw {
  stroke-dasharray: var(--len, 600);
  stroke-dashoffset: var(--len, 600);
}
.is-drawn .draw {
  animation: drawLine 1.6s var(--ease) forwards;
}
.is-drawn .draw:nth-child(2) { animation-delay: 0.15s; }
.is-drawn .draw:nth-child(3) { animation-delay: 0.3s; }
.is-drawn .draw:nth-child(4) { animation-delay: 0.45s; }
.is-drawn .draw:nth-child(5) { animation-delay: 0.6s; }
.is-drawn .draw:nth-child(6) { animation-delay: 0.7s; }
.is-drawn .draw:nth-child(7) { animation-delay: 0.8s; }
.is-drawn .draw:nth-child(8) { animation-delay: 0.9s; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }

/* ── Лента-вышивка: фирменный крестик Gamarjoba ── */
.ornament-band {
  height: 44px;
  background-color: var(--cream-soft);
  background-image: url("../assets/ornament.svg");
  background-repeat: repeat-x;
  background-position: 0 center;
  background-size: auto 100%;
  border-top: 1px solid rgba(200, 16, 46, 0.18);
  border-bottom: 1px solid rgba(200, 16, 46, 0.18);
  animation: bandRun 46s linear infinite;
}
@keyframes bandRun { to { background-position: 88px center; } }
.ornament-band--inline {
  width: min(280px, 74vw);
  height: 34px;
  border: none;
  background-color: transparent;
}
.menu-tabs { margin-top: 1.6rem; }

/* ── Story: про Грузию, ресторан и блюда ── */
.story {
  padding: clamp(5rem, 13vh, 9rem) clamp(1.4rem, 6vw, 5rem);
  max-width: 1080px;
  margin: 0 auto;
}
.story__body {
  margin-top: clamp(2.2rem, 6vh, 4rem);
  display: grid;
  gap: 1.6rem;
  max-width: 46rem;
}
.story__lead {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.4rem, 2.7vw, 2.15rem);
  line-height: 1.4;
  color: var(--wine);
}
.story__text {
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.8;
  color: var(--red-deep);
  max-width: 42rem;
}
.story__features {
  margin-top: clamp(2.6rem, 7vh, 4.2rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: clamp(1.8rem, 4vw, 3rem);
}
.story__feature { border-top: 2px solid var(--red); padding-top: 1.4rem; }
.story__feature h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  line-height: 1.15;
  color: var(--red-dark);
  margin-bottom: 0.9rem;
}
.story__feature p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--red-deep);
}
.story__cta { margin-top: clamp(2.6rem, 6vh, 3.6rem); }
.story__book {
  margin-top: 0;
  font-size: 0.86rem;
  padding: 1.15rem 2.4rem;
}

/* ── Visit ── */
.visit { padding: clamp(6rem, 14vh, 10rem) clamp(0.8rem, 2vw, 1.5rem); position: relative; }
.visit__link { border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.visit__link:hover { border-color: var(--red); }
.visit__grid {
  margin-top: clamp(3rem, 7vh, 5rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 2.5rem 2rem;
}
.visit__item {
  background: var(--white);
  border: 1.5px solid var(--red);
  padding: 1.6rem 1.5rem 1.8rem;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.visit__item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px -18px rgba(141, 14, 34, 0.35);
}
.visit__item h3 {
  font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 500;
  margin-bottom: 0.9rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--red);
  color: var(--red);
}
.visit__item p { font-size: 1.05rem; }
.visit__item a { border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.visit__item a:hover { border-color: var(--red); }

/* ── Footer: красная инверсия для финального контраста ── */
.footer {
  background: var(--red);
  color: var(--cream);
  padding: 0 clamp(1.2rem, 4vw, 3rem) 1.6rem;
  overflow: hidden;
}
.footer .ornament-band { margin: 0 calc(-1 * clamp(1.2rem, 4vw, 3rem)) 2rem; }
.footer__big {
  white-space: nowrap;
  font-family: var(--serif);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(3rem, 14.5vw, 15rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 1.6rem;
  user-select: none;
  color: var(--white);
}
.footer__big span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.8s var(--ease);
}
.footer__big.is-visible span { transform: translateY(0); }
.footer__row {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem;
  font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 400;
}
.footer--compact { margin-top: 4rem; padding-top: 1.6rem; }

/* ── Страница блюда ── */
.dish-page { background: var(--cream); }
.dish-hero {
  min-height: 88svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: 8rem clamp(1.5rem, 5vw, 5rem) 3rem;
}
.dish-hero__art {
  position: relative;
  animation: floatArt 6s ease-in-out infinite;
}
@keyframes floatArt {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(-1.2deg); }
}
.dish-hero__art { max-width: 460px; margin: 0 auto; }
.dish-hero__art img {
  width: 100%; max-height: 340px;
  object-fit: cover;          /* кроп по центру — фото не растягивается */
  object-position: center;
  display: block;
  border: 1px solid rgba(200, 16, 46, 0.35);
  box-shadow: 14px 14px 0 rgba(200, 16, 46, 0.14);
}
.dish-hero__cat {
  font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 400;
  margin-bottom: 1.2rem;
  color: var(--red);
}
.dish-hero__name {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(2.8rem, 7vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.015em;
  margin-bottom: 0.6rem;
  color: var(--red);
}
.dish-hero__ru {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  margin-bottom: 1.6rem;
}
.dish-hero__tagline { font-size: 1.1rem; max-width: 30em; }

/* полное описание из печатного меню: RO / RU / EN подряд */
.dish-full {
  margin-top: 1.4rem;
  display: grid;
  gap: 0.75rem;
  max-width: 34em;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(200, 16, 46, 0.22);
}
.dish-full__row {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 0.7rem;
  align-items: start;
}
.dish-full__lang {
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500;
  color: var(--red);
  padding-top: 0.28rem;
}
.dish-full__text {
  font-size: 0.99rem;
  line-height: 1.6;
  color: var(--red-deep);
}
@media (max-width: 520px) {
  .dish-full__row { grid-template-columns: 2.2rem 1fr; gap: 0.55rem; }
  .dish-full__text { font-size: 0.95rem; }
}
.dish-hero__meta {
  margin-top: 2.2rem;
  display: flex; gap: 2.5rem; flex-wrap: wrap;
}
.dish-hero__meta div span {
  display: block;
  font-size: 0.7rem; letter-spacing: 0.26em; text-transform: uppercase; font-weight: 500;
  margin-bottom: 0.3rem;
  color: var(--red);
}
.dish-hero__meta div strong {
  font-family: var(--serif); font-weight: 600; font-size: 1.5rem;
  color: var(--red-dark);
}

.dish-body {
  padding: clamp(3rem, 8vh, 6rem) clamp(1.5rem, 5vw, 5rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  border-top: 1px solid var(--red);
  background: var(--cream-soft);
}
.dish-body h2 {
  font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 500;
  margin-bottom: 1.2rem;
  color: var(--red);
}
.dish-body__desc p {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  line-height: 1.5;
  color: var(--red-dark);
}
.dish-body__ritual p { font-size: 1.02rem; max-width: 30em; }
.dish-allergens {
  margin-top: 2rem;
  display: flex; gap: 0.6rem; flex-wrap: wrap;
}
.dish-allergens span {
  font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 400;
  border: 1px solid var(--red);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  color: var(--red);
  background: var(--white);
}

.dish-body--single { grid-template-columns: 1fr; }
.dish-body--single .menu-item__variants { max-width: 34rem; }

.dish-next {
  display: block;
  background: var(--red);
  color: var(--cream);
  padding: clamp(3rem, 8vh, 5rem) clamp(1.5rem, 5vw, 5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: background 0.45s var(--ease);
}
.dish-next:hover { background: var(--red-dark); }
.dish-next span {
  display: block;
  font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 400;
  margin-bottom: 0.8rem;
}
.dish-next strong {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  line-height: 1;
  display: inline-block;
  transition: transform 0.5s var(--ease);
}
.dish-next:hover strong { transform: translateX(14px); }

/* ── Страница полного меню ── */
.menu-hero {
  min-height: 62svh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 8rem 1.5rem 3rem;
}
.menu-hero__title {
  font-family: var(--serif);
  font-weight: 900;
  font-variation-settings: "opsz" 144;
  font-size: clamp(4rem, 16vw, 13rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--red);
  display: flex;
  will-change: transform;
}
.menu-hero__title span {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.6em) rotate(4deg);
  animation: letterIn 0.9s var(--ease) forwards;
}
.menu-hero__title span:nth-child(1) { animation-delay: 0.1s; }
.menu-hero__title span:nth-child(2) { animation-delay: 0.18s; }
.menu-hero__title span:nth-child(3) { animation-delay: 0.26s; }
.menu-hero__title span:nth-child(4) { animation-delay: 0.34s; }
.menu-hero__title span:nth-child(5) { animation-delay: 0.42s; }
.menu-hero__sub { margin-top: 1.8rem; max-width: 36em; }

/* липкая навигация по разделам */
.menu-nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; gap: 0.5rem;
  overflow-x: auto;
  padding: 0.9rem clamp(1.2rem, 4vw, 3rem);
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(200, 16, 46, 0.25);
  border-bottom: 1px solid rgba(200, 16, 46, 0.25);
  scrollbar-width: none;
}
.menu-nav::-webkit-scrollbar { display: none; }
.menu-nav__chip {
  flex: 0 0 auto;
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 400;
  border: 1px solid rgba(200, 16, 46, 0.45);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s;
}
.menu-nav__chip:hover { border-color: var(--red); }
.menu-nav__chip.is-active {
  background: var(--red);
  color: var(--cream);
  border-color: var(--red);
}

.menu-sections { padding: 1rem clamp(1.2rem, 5vw, 5rem) 3rem; max-width: 1060px; margin: 0 auto; }
.menu-section { padding: clamp(3rem, 7vh, 5rem) 0 1rem; scroll-margin-top: 5.5rem; }
.menu-section__head {
  display: flex; align-items: baseline; gap: 1.4rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--red);
  padding-bottom: 1rem;
}
.menu-section__num {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 1.4rem;
  color: var(--red);
}
.menu-section__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.9rem, 4.4vw, 3.2rem);
  line-height: 1.05;
  color: var(--red-dark);
}
.menu-section__ro {
  margin-top: 0.3rem;
  font-size: 0.78rem; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 400;
  color: var(--red);
}
.menu-section__note {
  margin: -0.6rem 0 1.6rem;
  font-family: var(--serif); font-style: italic;
  font-size: 1.02rem;
  opacity: 0.85;
}
.menu-section__items { display: flex; flex-direction: column; }

.menu-item {
  display: block;
  padding: 1.05rem 0.6rem;
  border-bottom: 1px solid rgba(200, 16, 46, 0.18);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease),
              opacity 0.9s var(--ease);
}
.menu-item:last-child { border-bottom: none; }
.menu-item--link:hover {
  background: var(--white);
  transform: translateX(8px);
}
.menu-item__row {
  display: flex; align-items: center; gap: 0.8rem;
}
.menu-item__name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: var(--red-dark);
  white-space: nowrap;
}
.menu-item__star {
  color: var(--red);
  font-size: 0.7em;
  vertical-align: super;
  margin-left: 0.3em;
}
.menu-item__dots {
  flex: 1;
  border-bottom: 1.5px dotted rgba(200, 16, 46, 0.45);
  transform: translateY(-0.28em);
  min-width: 1.5rem;
}
.menu-item__meta {
  font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
  white-space: nowrap;
  opacity: 0.75;
}
.menu-item__price {
  font-family: var(--serif); font-weight: 600;
  font-size: 1.35rem;
  color: var(--red);
  white-space: nowrap;
  min-width: 4.2rem;
  text-align: right;
}
.menu-item__price small {
  font-family: var(--sans); font-weight: 400;
  font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.menu-item__ru {
  margin-top: 0.25rem;
  font-size: 0.98rem;
  max-width: 40em;
}
.menu-item__alt { white-space: nowrap; }
.menu-item__variants {
  list-style: none;
  margin: 0.7rem 0 0.3rem;
  max-width: 30rem;
}
.menu-item__variants li {
  display: flex; align-items: baseline; gap: 0.8rem;
  padding: 0.28rem 0;
  font-size: 0.98rem;
}
.menu-item__variants b {
  font-family: var(--serif); font-weight: 600;
  font-size: 1.1rem;
  color: var(--red);
}

.menu-outro {
  text-align: center;
  padding: clamp(4rem, 10vh, 7rem) 1.5rem;
  border-top: 1px solid rgba(200, 16, 46, 0.25);
}
.menu-outro__text {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  max-width: 22em;
  margin: 0 auto 2.2rem;
  color: var(--red-dark);
}

@media (max-width: 640px) {
  .menu-item__meta { display: none; }
  .menu-item__name { white-space: normal; }
}

/* ── Мини-фото в строке меню ── */
.menu-item__thumb {
  flex: 0 0 auto;
  width: 96px; height: 96px;
  object-fit: cover;          /* аккуратный кроп по центру, без искажения пропорций */
  object-position: center;
  border: 1px solid rgba(200, 16, 46, 0.3);
  border-radius: 8px;
  display: block;
  background: var(--cream-soft);
}
@media (max-width: 640px) {
  .menu-item__thumb { width: 76px; height: 76px; }
}
.menu-item--photo { cursor: pointer; }
.menu-item--photo:hover, .menu-item--link:hover {
  background: var(--white);
  transform: translateX(8px);
}
.menu-item--photo:hover .menu-item__thumb,
.menu-item--link:hover .menu-item__thumb { border-color: var(--red); }

/* ── Модальная карточка блюда ── */
.dish-modal {
  position: fixed; inset: 0; z-index: 96;
  display: flex; align-items: center; justify-content: center;
  padding: 1.2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.dish-modal.is-open { opacity: 1; pointer-events: auto; }
.dish-modal__back {
  position: absolute; inset: 0;
  background: rgba(35, 4, 12, 0.6);
  backdrop-filter: blur(4px);
}
.dish-modal__card {
  position: relative;
  width: min(560px, 100%);
  max-height: 92svh;
  overflow-y: auto;
  background: var(--cream);
  border-top: 4px solid var(--red);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s var(--ease);
  box-shadow: 0 30px 80px -20px rgba(35, 4, 12, 0.5);
}
.dish-modal.is-open .dish-modal__card { transform: translateY(0) scale(1); }
.dish-modal__close {
  position: absolute; top: 0.8rem; right: 0.8rem; z-index: 2;
  width: 38px; height: 38px;
  border: none; border-radius: 50%;
  background: var(--cream);
  color: var(--red-dark);
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s;
}
.dish-modal__close:hover { transform: rotate(90deg); background: var(--white); }
.dish-modal__img {
  height: min(46vh, 340px);
  overflow: hidden;
}
.dish-modal__img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.dish-modal__body { padding: 1.5rem 1.6rem 1.8rem; }
.dish-modal__body h3 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  line-height: 1;
  color: var(--red);
  margin-bottom: 0.6rem;
}
.dish-modal__desc {
  font-size: 1.02rem;
  color: var(--red-deep);
  max-width: 34em;
}
.dish-modal__meta {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 1.1rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(200, 16, 46, 0.25);
  font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.dish-modal__meta b {
  font-family: var(--serif); font-weight: 900;
  font-size: 1.6rem;
  color: var(--red);
  letter-spacing: 0;
}
.dish-modal .dish-hero__add { margin-top: 1.2rem; width: 100%; }
.dish-modal .dish-hero__add[hidden] { display: none; }

/* ── Вкладки Кухня / Бар ── */
.menu-tabs {
  display: flex; justify-content: center; gap: 0.7rem;
  padding: 0 1.5rem 1.6rem;
}
.menu-tabs button {
  font-family: var(--sans);
  font-size: 0.95rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500;
  padding: 0.85rem 2.4rem;
  border: 1.5px solid var(--red);
  border-radius: 999px;
  background: transparent;
  color: var(--red-deep);
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s;
}
.menu-tabs button.is-active { background: var(--red); border-color: var(--red); color: var(--white); }
.menu-tabs button[data-group="bar"] { border-color: var(--blue); color: var(--blue); }
.menu-tabs button[data-group="bar"].is-active { background: var(--blue); color: var(--white); }

/* барные разделы — синяя линия, зелёный номер (цвета керамики и зелени) */
.menu-section--bar .menu-section__head { border-bottom-color: var(--blue); }
.menu-section--bar .menu-section__num { color: var(--green); }
.menu-section--bar .menu-section__ro { color: var(--blue); }
.menu-nav__chip--bar { border-color: rgba(46, 79, 158, 0.5); }
.menu-nav__chip--bar:hover { border-color: var(--blue); }
.menu-nav__chip--bar.is-active { background: var(--blue); border-color: var(--blue); color: var(--white); }

/* ── Кнопка «добавить в корзину» ── */
.add-btn {
  flex: 0 0 auto;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--green);
  background: transparent;
  color: var(--green);
  font-size: 1.15rem; line-height: 1;
  font-family: var(--sans);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.add-btn:hover { background: var(--green); color: var(--white); transform: scale(1.1); }
.add-btn.is-added { animation: addedPop 0.45s var(--ease); background: var(--green); color: var(--white); }
@keyframes addedPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.35) rotate(90deg); }
  100% { transform: scale(1); }
}
.menu-item__variants .add-btn { width: 26px; height: 26px; font-size: 1rem; }
.menu-item__variants li { gap: 0.6rem; align-items: center; }

.dish-hero__add {
  margin-top: 2rem;
  font-family: var(--sans);
  font-size: 0.85rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500;
  background: var(--green);
  color: var(--white);
  border: none; border-radius: 999px;
  padding: 1.05rem 2.2rem;
  cursor: pointer;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.dish-hero__add:hover { background: #2f5e30; transform: translateY(-3px); }

/* ── Корзина: плавающая кнопка ── */
.cart-fab {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 85;
  width: 58px; height: 58px;
  border-radius: 50%;
  border: none;
  background: var(--blue);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 26px -8px rgba(46, 79, 158, 0.6);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.cart-fab:hover { transform: translateY(-4px); background: #24407f; }
.cart-fab.is-pop { animation: fabPop 0.5s var(--ease); }
@keyframes fabPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.18) rotate(-6deg); }
  100% { transform: scale(1); }
}
.cart-fab__count[hidden] { display: none; }
.cart-fab__count {
  position: absolute; top: -4px; right: -4px;
  min-width: 22px; height: 22px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-size: 0.72rem; font-weight: 500;
  display: flex; align-items: center; justify-content: center;
  padding: 0 5px;
  border: 2px solid var(--cream);
}

/* ── Корзина: шторка ── */
.cart-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(35, 4, 12, 0.55);
  backdrop-filter: blur(3px);
}
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 95;
  width: min(430px, 94vw);
  background: var(--cream);
  display: flex; flex-direction: column;
  transform: translateX(102%);
  transition: transform 0.5s var(--ease);
  box-shadow: -18px 0 50px rgba(35, 4, 12, 0.35);
}
.cart-drawer.is-open { transform: translateX(0); }
.cart-drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--blue);
  color: var(--white);
  padding: 1.2rem 1.4rem;
}
.cart-drawer__head h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
}
.cart-drawer__close {
  background: none; border: none;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.3rem 0.5rem;
  transition: transform 0.3s var(--ease);
}
.cart-drawer__close:hover { transform: rotate(90deg); }
.cart-drawer__band { height: 30px; flex: 0 0 auto; }
.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 1.2rem 1.4rem;
}
.cart-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--red-deep);
}
.cart-item {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(200, 16, 46, 0.2);
}
.cart-item__info b {
  display: block;
  font-family: var(--serif); font-weight: 600;
  font-size: 1.05rem;
  color: var(--wine);
}
.cart-item__info small {
  display: block;
  font-size: 0.82rem;
  color: var(--red-deep);
  opacity: 0.8;
}
.cart-item__info span {
  font-size: 0.85rem;
  color: var(--red);
  font-weight: 500;
}
.cart-item__qty {
  display: flex; align-items: center; gap: 0.6rem;
}
.cart-item__qty button {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--blue);
  background: transparent;
  color: var(--blue);
  font-size: 1rem; line-height: 1;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}
.cart-item__qty button:hover { background: var(--blue); color: var(--white); }
.cart-item__qty b { min-width: 1.2em; text-align: center; }
.cart-drawer__foot {
  border-top: 2px solid var(--blue);
  padding: 1.2rem 1.4rem 1.4rem;
  background: var(--cream-soft);
}
.cart-drawer__total {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 0.9rem; letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.cart-drawer__total b {
  font-family: var(--serif); font-weight: 900;
  font-size: 1.7rem;
  color: var(--red);
  letter-spacing: 0;
}
.cart-drawer__note { font-size: 0.85rem; margin-bottom: 1rem; }
.cart-drawer__cta {
  display: block;
  text-align: center;
  background: var(--green);
  color: var(--white);
  font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
  border-radius: 999px;
  padding: 1rem 1.2rem;
  transition: background 0.3s var(--ease);
}
.cart-drawer__cta:hover { background: #2f5e30; }

/* ── Оформление заказа: поля и кнопка WhatsApp ── */
.cart-form {
  display: grid;
  grid-template-columns: 1fr 1fr;   /* имя и телефон — в одну строку */
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}
.cart-form__field--note { grid-column: 1 / -1; }
.cart-form__field {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--wine);
  background: var(--white);
  border: 1px solid rgba(200, 16, 46, 0.35);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  width: 100%;
  transition: border-color 0.25s var(--ease);
}
.cart-form__field::placeholder { color: rgba(122, 9, 24, 0.5); }
.cart-form__field:focus {
  outline: none;
  border-color: var(--red);
}
.cart-form__field--note { resize: vertical; min-height: 2.6rem; line-height: 1.4; }
/* на невысоких экранах подвал не должен съедать список позиций */
@media (max-height: 780px) {
  .cart-form__field { padding: 0.55rem 0.75rem; font-size: 0.9rem; }
  .cart-drawer__note { font-size: 0.78rem; margin-bottom: 0.7rem; }
  .cart-drawer__cta { padding: 0.85rem 1.2rem; }
}

.cart-drawer__cta--wa {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
}
.cart-drawer__cta--wa svg { flex: 0 0 auto; }
.cart-drawer__cta--wa.is-disabled {
  background: rgba(62, 122, 63, 0.35);
  cursor: not-allowed;
}
.cart-drawer__call {
  display: block;
  text-align: center;
  margin-top: 0.7rem;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--red-deep);
  border-bottom: 1px solid transparent;
}
.cart-drawer__call:hover { border-color: var(--red); }
.cart-drawer__clear {
  display: block;
  margin: 0.8rem auto 0;
  background: none; border: none;
  color: var(--red-deep);
  font-size: 0.8rem;
  text-decoration: underline;
  cursor: pointer;
}

/* ── Reveal-анимации при скролле ── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* после появления строка меню должна реагировать мгновенно, а не 0.9s */
.menu-item.reveal.is-visible {
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

/* после появления карточка должна наклоняться мгновенно, а не 0.9s */
.dish-card.reveal.is-visible {
  transition: background 0.45s var(--ease), color 0.45s var(--ease),
              transform 0.18s ease-out;
}

.reveal-lines {
  opacity: 0;
  transform: translateY(30px) skewY(1.5deg);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.reveal-lines.is-visible { opacity: 1; transform: translateY(0) skewY(0); }

/* заголовки: выезд из «маски» */
.mask-reveal {
  clip-path: inset(0 0 100% 0);
  transform: translateY(20px);
  transition: clip-path 1s var(--ease), transform 1s var(--ease);
}
.mask-reveal.is-visible {
  clip-path: inset(0 0 -8% 0);
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════
   ПЕЧАТНОЕ МЕНЮ — вёрстка под полиграфический макет:
   бордовая плашка-заголовок, вышивка крестиком,
   засечки в названиях, крупные фото рядом с текстом.
   ═══════════════════════════════════════════════ */

:root {
  /* вышивка крестиком — как бордюры в печатном меню */
  --stitch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='18'%3E%3Cg stroke-width='2' fill='none'%3E%3Cpath d='M4 9 L10 3 L16 9 L10 15 Z' stroke='%23a3152b'/%3E%3Cpath d='M28 9 L34 3 L40 9 L34 15 Z' stroke='%233e7a3f'/%3E%3C/g%3E%3Crect x='8' y='7' width='4' height='4' fill='%23c9a227'/%3E%3Crect x='32' y='7' width='4' height='4' fill='%23a3152b'/%3E%3Crect x='20' y='7' width='4' height='4' fill='%23a3152b'/%3E%3Crect x='44' y='7' width='4' height='4' fill='%233e7a3f'/%3E%3Crect x='-2' y='7' width='4' height='4' fill='%233e7a3f'/%3E%3C/svg%3E");
}

/* ── Задний план как в печатном меню ──
   Льняное полотно снято со стр. 21 макета: альфа-текстура поверх
   кремового, поэтому палитра сайта не смещается. По краям —
   вертикальная вышивка с полей печатных страниц (период 405px @300dpi). */
body.menu-page,
body.dish-page {
  background-color: var(--cream);
  background-image: url("../assets/linen.png");
  background-repeat: repeat;
  background-size: 256px 256px;
}

.menu-page::before, .menu-page::after,
.dish-page::before, .dish-page::after {
  content: "";
  position: fixed;
  top: 0; bottom: 0;
  width: 42px;
  z-index: 1;
  pointer-events: none;
  background-image: url("../assets/ornament-vert.png");
  background-repeat: repeat-y;
  background-size: 42px 100px;
  opacity: 0.88;
}
.menu-page::before, .dish-page::before { left: 0; }
.menu-page::after,  .dish-page::after  { right: 0; transform: scaleX(-1); }

/* полосы показываем, только когда рядом с контентом есть свободные поля */
@media (max-width: 1179px) {
  .menu-page::before, .menu-page::after,
  .dish-page::before, .dish-page::after { display: none; }
}

/* ── Декоративный слой: грузинские продукты ──
   Отдельный слой под контентом. Гранат, перец, зелень, орехи,
   чеснок, виноград, черри — вырезаны заливкой от краёв кадра.
   Позиции в % высоты страницы и vw, привязаны к полям: центральная
   колонка с текстом остаётся чистой, поэтому контраст не страдает. */
.decor {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}
.decor__item {
  position: absolute;
  top: var(--t);
  width: var(--w);
  height: auto;
  opacity: var(--o);
  pointer-events: none;
  user-select: none;
  will-change: transform;
}
.decor__item--l { left: var(--x); }
.decor__item--r { right: var(--x); }

/* Планшет: меньше элементов и мельче.
   Диапазон закрыт снизу — иначе на мобильном сработали бы оба правила
   и элемент с одним is-mobile спрятался бы планшетным :not(.is-tablet). */
@media (min-width: 768px) and (max-width: 1179px) {
  .decor__item { width: calc(var(--w) * 0.72); opacity: calc(var(--o) * 0.85); }
  .decor__item:not(.is-tablet) { display: none; }
}
/* Мобильный: 3 мелких элемента по краям. Полей здесь нет, элементы
   неизбежно попадают под колонку текста — поэтому уводим их в
   «фоновую» прозрачность 0.12–0.25, где контраст текста не страдает. */
@media (max-width: 767px) {
  .decor__item { width: calc(var(--w) * 0.55); opacity: 0.16; }
  .decor__item:not(.is-mobile) { display: none; }
}
/* Параллакс отключаем, если система просит меньше движения */
@media (prefers-reduced-motion: reduce) {
  .decor__item { transform: none !important; transition: none !important; }
}

/* ── Разделитель между разделами: вышивка, как в печати ── */
.menu-page .menu-section + .menu-section::before {
  content: "";
  display: block;
  height: 18px;
  margin: 0 auto clamp(1.8rem, 4vw, 3rem);
  max-width: 420px;
  background-image: var(--stitch);
  background-repeat: repeat-x;
  background-position: center;
  opacity: 0.7;
}

/* ── Заголовок раздела: бордовая плашка ── */
.menu-page .menu-section__head {
  display: block;
  border-bottom: none;
  padding: 0;
  margin-bottom: 2.2rem;
}
.menu-page .menu-section__band {
  position: relative;
  background: linear-gradient(95deg, #7d0f1c 0%, #8e1220 62%, rgba(142, 18, 32, 0.82) 100%);
  padding: 0.9rem clamp(1.1rem, 3vw, 2.2rem) 1rem;
  box-shadow: 0 2px 14px rgba(90, 8, 20, 0.16);
}
.menu-page .menu-section__band .menu-section__num {
  position: absolute;
  top: 0.55rem; right: clamp(1rem, 3vw, 2rem);
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.5);
}
.menu-page .menu-section__title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(1.5rem, 4vw, 2.65rem);
  line-height: 1.02;
  letter-spacing: 0.012em;
  text-transform: uppercase;
  color: var(--white);
}
.menu-page .menu-section__ro {
  margin-top: 0.3rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(0.68rem, 1.5vw, 0.9rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}
.menu-section--bar .menu-section__band {
  background: linear-gradient(95deg, #22386f 0%, #2e4f9e 62%, rgba(46, 79, 158, 0.82) 100%);
}

/* ── Позиция меню: фото + текстовый блок ── */
.menu-page .menu-section__items {
  display: flex; flex-direction: column;
  gap: clamp(1.6rem, 3vw, 2.6rem);
}
.menu-page .menu-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1rem, 2.4vw, 2rem);
  align-items: center;
  padding: 0;
  border-bottom: 1px solid rgba(200, 16, 46, 0.16);
  padding-bottom: clamp(1.4rem, 2.6vw, 2.2rem);
}
.menu-page .menu-item--has-img {
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
}
/* чётные — фото справа, как в печатном коллаже.
   Меняем сами колонки, а не порядок: иначе фото уедет в широкую колонку. */
.menu-page .menu-item--has-img:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
}
.menu-page .menu-item--has-img:nth-child(even) .menu-item__media {
  grid-column: 2; grid-row: 1;
}
.menu-page .menu-item--has-img:nth-child(even) .menu-item__body {
  grid-column: 1; grid-row: 1;
}

.menu-page .menu-item__media { margin: 0; }
.menu-page .menu-item__thumb {
  width: 100%; height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: none; border-radius: 3px;
  box-shadow: 0 8px 26px rgba(90, 8, 20, 0.14);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.menu-page .menu-item--photo:hover .menu-item__thumb,
.menu-page .menu-item--link:hover .menu-item__thumb {
  transform: scale(1.02);
  box-shadow: 0 14px 34px rgba(90, 8, 20, 0.22);
}
.menu-page .menu-item--photo:hover,
.menu-page .menu-item--link:hover { background: none; transform: none; }

/* название + тянущийся орнамент-вышивка */
.menu-item__head { display: flex; align-items: center; gap: 0.7rem; }
.menu-page .menu-item__name {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(1.1rem, 2.1vw, 1.5rem);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #8b1019;
  white-space: normal;
}
.menu-item__orn {
  flex: 1; min-width: 2rem; height: 18px;
  background-image: var(--stitch);
  background-repeat: repeat-x;
  background-position: left center;
  opacity: 0.85;
}
.menu-item__badge {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.66rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: #8b1019;
}
.menu-page .menu-item__ru {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #33272a;
  max-width: 44em;
}
/* нижняя строка: вес · цена · «в корзину» */
.menu-item__foot {
  display: flex; align-items: baseline; gap: 0.75rem;
  margin-top: 0.85rem;
}
.menu-page .menu-item__foot .menu-item__meta {
  font-family: var(--serif); font-weight: 600;
  font-size: 0.92rem; letter-spacing: 0;
  text-transform: none;
  color: #8b1019;
  opacity: 1;
}
.menu-page .menu-item__foot .menu-item__price {
  font-family: var(--serif); font-weight: 900;
  font-size: 1.5rem;
  color: #8b1019;
  min-width: 0;
}
.menu-page .menu-item__foot .menu-item__price small {
  font-family: var(--serif); font-weight: 600;
  font-size: 0.62em; letter-spacing: 0; text-transform: lowercase;
  margin-left: 0.15em;
}
.menu-item__foot .add-btn { margin-left: auto; }

@media (max-width: 700px) {
  .menu-page .menu-item--has-img,
  .menu-page .menu-item--has-img:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
  .menu-page .menu-item--has-img:nth-child(even) .menu-item__media,
  .menu-page .menu-item--has-img:nth-child(even) .menu-item__body {
    grid-column: 1; grid-row: auto;
  }
  .menu-page .menu-item__thumb { aspect-ratio: 4 / 3; }
  .menu-page .menu-item__foot .menu-item__meta { font-size: 0.85rem; }
}

/* ── Мобильная адаптация ── */
@media (max-width: 760px) {
  .nav__links { display: none; }
  .dish-hero { grid-template-columns: 1fr; min-height: auto; padding-top: 7rem; }
  .dish-body { grid-template-columns: 1fr; }
  .hero__bg .bg-kvevri, .hero__bg .bg-grapes { display: none; }
}

/* ── Уважение к prefers-reduced-motion ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-lines { opacity: 1; transform: none; }
  .mask-reveal { clip-path: none; transform: none; }
  .draw { stroke-dashoffset: 0; }
  .supra__manifest span { opacity: 1; transform: none; }
  .footer__big span { transform: none; }
}
