@charset "UTF-8";
/* ═══════════════════════════════════════════════════════════════════════════
   Банкетный зал «Кондырев», г. Кондрово — стили сайта
   ───────────────────────────────────────────────────────────────────────────
   Подход: mobile-first. Базовые правила описывают мобильный вид,
   @media (min-width: …) расширяют его для планшета и десктопа.

   Содержание:
     1. Токены (цвета, типографика, отступы)
     2. Сброс и базовая типографика
     3. Утилиты: контейнер, секции, ссылки-стрелки, иконки
     4. Кнопки
     5. Шапка, логотип, навигация, бургер
     6. Hero
     7. О зале
     8. Услуги
     9. Что входит
    10. Меню / кухня
    11. Галерея и лайтбокс
    12. Отзывы
    13. Контакты и карта
    14. Форма заявки
    15. Футер, «Наверх», мобильная панель
    16. Анимации появления и доступность
   ═══════════════════════════════════════════════════════════════════════════ */

/* ═══ 1. ТОКЕНЫ ══════════════════════════════════════════════════════════════
   Меняете фирменные цвета — правьте только этот блок, дальше всё подхватится. */
:root {
  /* Палитра: приглушённое золото + тёплый беж + графит, бордовый — акцент */
  --gold:        #C9A227;
  --gold-soft:   #E0C775;
  --gold-deep:   #A5811A;
  --cream:       #F7F1E6;
  --cream-deep:  #EFE4D2;
  --paper:       #FFFDF9;
  --graphite:    #231F20;
  --graphite-70: #4A4344;
  --burgundy:    #6E1B2B;
  --burgundy-dk: #4E101E;

  --text:        #2C2626;
  --text-muted:  #6B6260;
  --text-invert: #F7F1E6;
  --line:        rgba(35, 31, 32, .12);
  --line-light:  rgba(247, 241, 230, .18);

  /* Типографика */
  --font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-text:    "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  /* Плавные размеры: сами подстраиваются под ширину экрана */
  --fs-h1:   clamp(2.25rem, 1.35rem + 4.4vw, 5rem);
  --fs-h2:   clamp(1.75rem, 1.15rem + 2.6vw, 3.25rem);
  --fs-h3:   clamp(1.2rem,  1.05rem + .6vw,  1.6rem);
  --fs-lead: clamp(1rem,    .95rem + .35vw,  1.2rem);
  --fs-body: 1rem;
  --fs-sm:   .875rem;

  /* Ритм и геометрия */
  --container:   1200px;
  --gutter:      clamp(1rem, .55rem + 2.2vw, 2.5rem);
  --section-pad: clamp(3.5rem, 2.2rem + 5.5vw, 7.5rem);
  --radius:      14px;
  --radius-lg:   22px;
  --header-h:    64px;

  --shadow-sm: 0 2px 10px rgba(35, 31, 32, .07);
  --shadow:    0 12px 34px rgba(35, 31, 32, .11);
  --shadow-lg: 0 26px 60px rgba(35, 31, 32, .19);

  --ease: cubic-bezier(.22, .8, .3, 1);
}

/* ═══ 2. СБРОС И БАЗА ══════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Якорь не уезжает под прилипшую шапку */
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-text);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* Место под липкую мобильную панель действий */
  padding-bottom: 64px;
}
body.is-locked { overflow: hidden; } /* при открытом меню/лайтбоксе */

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
  text-wrap: balance;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--burgundy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-deep); }

ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

/* Единая видимая рамка фокуса для клавиатурной навигации */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Ссылка «Перейти к содержимому» — видна только при фокусе */
.skip-link {
  position: fixed;
  top: 8px; left: 8px;
  z-index: 200;
  padding: .6rem 1rem;
  background: var(--burgundy);
  color: var(--text-invert);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform .25s var(--ease);
}
.skip-link:focus { transform: translateY(0); color: var(--text-invert); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ═══ 3. УТИЛИТЫ ═══════════════════════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-pad);
  scroll-margin-top: var(--header-h);
}
.section--cream { background: var(--cream); }
.section--dark {
  background:
    radial-gradient(120% 90% at 15% 0%, rgba(201, 162, 39, .16), transparent 60%),
    linear-gradient(150deg, var(--burgundy-dk), var(--graphite) 70%);
  color: var(--text-invert);
}
.section--dark a { color: var(--gold-soft); }
.section--dark .section__lead { color: rgba(247, 241, 230, .78); }

.section__head { max-width: 46rem; margin-bottom: clamp(2rem, 1rem + 3vw, 3.5rem); }
.section__eyebrow {
  margin: 0 0 .75rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.section--dark .section__eyebrow { color: var(--gold-soft); }
.section__eyebrow::after {
  content: "";
  display: block;
  width: 46px; height: 2px;
  margin-top: .6rem;
  background: currentColor;
  opacity: .55;
}
.section__title { font-size: var(--fs-h2); }
.section__lead { font-size: var(--fs-lead); color: var(--text-muted); }

/* Ссылка со стрелкой */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: .01em;
  text-decoration: none;
  color: var(--burgundy);
}
.link-arrow::after {
  content: "→";
  transition: transform .25s var(--ease);
}
.link-arrow:hover::after { transform: translateX(5px); }
.link-arrow--muted { color: var(--text-muted); font-weight: 500; }
.link-arrow--light { color: var(--gold-soft); }

.icon {
  width: 22px; height: 22px;
  flex: none;
  /* Символы спрайта нарисованы через currentColor — красим их свойством color */
}
.icon--lg { width: 30px; height: 30px; }

/* ═══ 4. КНОПКИ ════════════════════════════════════════════════════════════ */
.btn {
  --btn-bg: var(--burgundy);
  --btn-fg: var(--text-invert);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: .85em 1.6em;
  min-height: 46px;                 /* комфортная зона нажатия на телефоне */
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: var(--fs-sm);
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }

/* Главный CTA — контрастный золотой на любом фоне */
.btn--primary {
  --btn-bg: var(--gold);
  --btn-fg: var(--graphite);
  box-shadow: 0 6px 20px rgba(201, 162, 39, .32);
}
.btn--primary:hover { --btn-bg: var(--gold-soft); }

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--text-invert);
  border-color: rgba(247, 241, 230, .55);
  backdrop-filter: blur(3px);
}
.btn--outline:hover { --btn-bg: rgba(247, 241, 230, .12); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--burgundy);
  border-color: var(--line);
}
.btn--ghost:hover { --btn-bg: var(--cream); }

.btn--sm  { padding: .65em 1.2em; min-height: 40px; }
.btn--lg  { padding: 1em 2em; min-height: 54px; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }

/* ═══ 5. ШАПКА ═════════════════════════════════════════════════════════════ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
/* Подложка шапки вынесена в псевдоэлемент намеренно.
   backdrop-filter на самом .header сделал бы его контейнером для
   position: fixed, и выезжающее мобильное меню (.nav) прижималось бы
   к полосе шапки вместо всего экрана. */
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 253, 249, .92);
  backdrop-filter: blur(10px);
  transition: opacity .3s var(--ease);
}

/* Пока открыто мобильное меню: подложку и логотип прячем, чтобы слева
   был виден затемнённый сайт, а не светлая полоса шапки.
   Кнопку-бургер поднимаем над панелью — она же работает крестиком. */
.header.is-nav-open { box-shadow: none; border-bottom-color: transparent; }
.header.is-nav-open::before { opacity: 0; }
.header.is-nav-open .logo,
.header.is-nav-open .header__phone { opacity: 0; pointer-events: none; }
.logo, .header__phone { transition: opacity .25s var(--ease); }
.header.is-stuck {                    /* класс добавляется скриптом при скролле */
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

/* Логотип */
.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: inherit; }
.logo__mark {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  flex: none;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--burgundy), var(--burgundy-dk));
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: inset 0 0 0 1.5px rgba(201, 162, 39, .55);
}
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: .01em;
}
.logo__sub {
  font-size: .62rem;
  white-space: nowrap;              /* подпись под названием — всегда в одну строку */
  /* На экранах уже 360 px строка не помещается рядом с телефоном и бургером */
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* z-index держит бургер поверх выехавшей панели меню (.nav, z-index 110) */
@media (max-width: 359.98px) { .logo__sub { display: none; } }

.header__actions { display: flex; align-items: center; gap: .5rem; position: relative; z-index: 120; }

/* Телефон в шапке: на узких экранах прячем цифры, оставляем иконку-кнопку */
.header__phone {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem;
  border-radius: 999px;
  color: var(--burgundy);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.header__phone-num { display: none; }
.header__cta { display: none; white-space: nowrap; }

/* Бургер */
.burger {
  display: grid;
  place-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
}
.burger__line {
  width: 20px; height: 2px;
  background: var(--graphite);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s linear;
}
.burger[aria-expanded="true"] .burger__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__line:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Мобильное меню — выезжающая панель справа */
.nav {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 110;
  width: min(340px, 86vw);
  padding: calc(var(--header-h) + 1.5rem) 1.5rem 2rem;
  background: var(--paper);
  box-shadow: var(--shadow-lg);
  transform: translateX(102%);
  visibility: hidden;
  transition: transform .35s var(--ease), visibility .35s;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.nav.is-open { transform: translateX(0); visibility: visible; }

.nav__list { display: flex; flex-direction: column; gap: .25rem; margin-bottom: 1.5rem; }
.nav__link {
  display: block;
  padding: .8rem .25rem;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s var(--ease), padding-left .2s var(--ease);
}
.nav__link:hover { color: var(--burgundy); padding-left: .6rem; }
.nav__link.is-active { color: var(--burgundy); }

.nav__mobile-actions { display: grid; gap: .6rem; }

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;                       /* ниже шапки (100): бургер остаётся доступен */
  background: rgba(35, 31, 32, .5);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.nav-overlay.is-visible { opacity: 1; }

/* — Планшет и шире: меню в строку, панель больше не нужна — */
@media (min-width: 900px) {
  :root { --header-h: 78px; }

  .burger { display: none; }
  .header__phone-num { display: inline; }
  .header__actions { gap: .9rem; }

  .nav {
    position: static;
    width: auto;
    padding: 0;
    background: none;
    box-shadow: none;
    transform: none;
    visibility: visible;
    overflow: visible;
  }
  .nav__list { flex-direction: row; gap: .35rem; margin: 0; }
  .nav__link {
    position: relative;
    padding: .5rem .55rem;
    border: 0;
    font-family: var(--font-text);
    font-size: .875rem;
    font-weight: 500;
  }
  .nav__link:hover { padding-left: .55rem; }
  /* Подчёркивание активного пункта — подсветка ведётся скриптом (scroll-spy) */
  .nav__link::after {
    content: "";
    position: absolute;
    left: .55rem; right: .55rem; bottom: .25rem;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
  }
  .nav__link:hover::after,
  .nav__link.is-active::after { transform: scaleX(1); }
  .nav__mobile-actions { display: none; }
  .nav-overlay { display: none; }
  body { padding-bottom: 0; }         /* мобильная панель скрыта на десктопе */
}

/* Промежуточные экраны (ноутбуки, планшет горизонтально): семь пунктов меню,
   телефон и кнопка заявки в одну строку не помещаются. Телефон — главное,
   поэтому убираем подпись под логотипом и кнопку: она продублирована
   в первом экране и в каждой секции. */
@media (min-width: 900px) and (max-width: 1199.98px) {
  .logo__sub { display: none; }
  .nav__link { padding: .5rem .45rem; }
  .nav__link::after { left: .45rem; right: .45rem; }
}
@media (min-width: 1200px) {
  .header__cta { display: inline-flex; }
}

/* ═══ 6. HERO ══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(560px, 88svh, 940px);
  padding-block: clamp(4rem, 8vh, 7rem);
  overflow: hidden;
  color: var(--text-invert);
  isolation: isolate;
}

/* Фон-фото. Замена: assets/hero/hall-sunset.jpg (реком. 1920×1280, до 400 КБ) */
.hero__bg {
  position: absolute;
  inset: -8% 0 -8% 0;               /* запас по высоте под параллакс */
  z-index: -2;
  background: var(--burgundy-dk) url("../assets/hero/hall-sunset.jpg") center / cover no-repeat;
  will-change: transform;
}
/* Затемнение, чтобы текст читался поверх любой фотографии */
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(35, 31, 32, .72) 0%, rgba(35, 31, 32, .38) 45%, rgba(35, 31, 32, .82) 100%),
    linear-gradient(90deg, rgba(78, 16, 30, .55), transparent 65%);
}

.hero__inner { max-width: 56rem; }
.hero__eyebrow {
  margin: 0 0 1rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.hero__title {
  margin-bottom: .45em;
  font-size: var(--fs-h1);
  font-weight: 600;
  letter-spacing: -.015em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}
.hero__title em {
  display: inline-block;
  font-style: italic;
  color: var(--gold-soft);
}
.hero__lead {
  max-width: 38rem;
  margin-bottom: 2rem;
  font-size: var(--fs-lead);
  color: rgba(247, 241, 230, .9);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.5rem; }

.hero__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: .75rem;
  max-width: 42rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-light);
}
.hero__fact {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: .15rem .6rem;
}
.hero__fact .icon { grid-row: span 2; color: var(--gold-soft); }
.hero__fact b {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.1;
  color: #fff;
}
.hero__fact span { font-size: .8rem; color: rgba(247, 241, 230, .72); }

/* Индикатор прокрутки */
.hero__scroll {
  position: absolute;
  left: 50%; bottom: 1.5rem;
  translate: -50% 0;
  width: 26px; height: 42px;
  border: 1.5px solid rgba(247, 241, 230, .5);
  border-radius: 999px;
}
.hero__scroll span {
  position: absolute;
  left: 50%; top: 8px;
  width: 3px; height: 7px;
  translate: -50% 0;
  border-radius: 2px;
  background: var(--gold-soft);
  animation: scroll-hint 1.9s var(--ease) infinite;
}
@keyframes scroll-hint {
  0%, 100% { opacity: 0; transform: translateY(0); }
  35%      { opacity: 1; }
  75%      { opacity: 0; transform: translateY(14px); }
}
@media (max-width: 599px) { .hero__scroll { display: none; } }

/* ═══ 7. О ЗАЛЕ ════════════════════════════════════════════════════════════ */
.about__grid { display: grid; gap: clamp(2rem, 1rem + 4vw, 4rem); }
/* По умолчанию элемент грида не сжимается уже своего содержимого.
   min-width: 0 снимает это ограничение и защищает от переполнения строкой. */
.about__grid > *, .cards > *, .included > *, .form__row > *, .contacts__grid > * { min-width: 0; }
.about__text p { color: var(--text-muted); }
.about__text .link-arrow { margin-top: .5rem; }

.about__facts {
  display: grid;
  /* На самых узких экранах — в одну колонку: длинные значения вроде
     «Панорамные» иначе распирают сетку и появляется горизонтальный скролл */
  grid-template-columns: 1fr;
  gap: clamp(.6rem, .3rem + 1.2vw, 1.1rem);
}
@media (min-width: 400px) { .about__facts { grid-template-columns: repeat(2, 1fr); } }
.fact-card {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: clamp(1rem, .7rem + 1.2vw, 1.6rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.fact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.fact-card .icon { color: var(--gold-deep); margin-bottom: .3rem; }
.fact-card__value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  font-weight: 700;
  line-height: 1;
  color: var(--burgundy);
}
.fact-card__label { font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.45; }

@media (min-width: 900px) {
  .about__grid { grid-template-columns: 1.05fr .95fr; align-items: center; }
}

/* ═══ 8. УСЛУГИ ════════════════════════════════════════════════════════════ */
.cards {
  display: grid;
  gap: clamp(1rem, .6rem + 1.6vw, 1.75rem);
}
.cards--services { grid-template-columns: 1fr; }

.service-card {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  padding: clamp(1.4rem, 1rem + 1.6vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 162, 39, .5);
  box-shadow: var(--shadow);
}
.service-card__icon {
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  margin-bottom: .4rem;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--cream), var(--cream-deep));
  color: var(--burgundy);
}
.service-card__title { margin: 0; font-size: var(--fs-h3); }
.service-card__text { color: var(--text-muted); font-size: .95rem; flex-grow: 1; }
.service-card__price {
  margin: 0;
  padding-top: .75rem;
  border-top: 1px dashed var(--line);
  font-weight: 700;
  color: var(--gold-deep);
}
.service-card .link-arrow { margin-top: .25rem; }

/* Карточка-призыв в конце сетки — выделена цветом */
.service-card--cta {
  justify-content: center;
  gap: .9rem;
  border: 0;
  background: linear-gradient(150deg, var(--burgundy), var(--burgundy-dk));
  color: var(--text-invert);
}
.service-card--cta .service-card__text { color: rgba(247, 241, 230, .82); flex-grow: 0; }
.service-card--cta .link-arrow { color: var(--gold-soft); }
.service-card--cta .btn { align-self: flex-start; }

@media (min-width: 640px) { .cards--services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards--services { grid-template-columns: repeat(3, 1fr); } }

/* ═══ 9. ЧТО ВХОДИТ ════════════════════════════════════════════════════════ */
.included {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;                          /* сетка с тонкими разделителями */
  background: var(--line-light);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.included__item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: .1rem 1rem;
  padding: clamp(1.1rem, .9rem + .8vw, 1.6rem);
  background: rgba(35, 31, 32, .28);
  transition: background-color .3s var(--ease);
}
.included__item:hover { background: rgba(201, 162, 39, .14); }
.included__item .icon { grid-row: span 2; color: var(--gold-soft); }
.included__item b { font-size: 1.02rem; font-weight: 600; }
.included__item span { font-size: var(--fs-sm); color: rgba(247, 241, 230, .68); }

.included__note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem 1rem;
  margin-top: 1.75rem;
  color: rgba(247, 241, 230, .78);
  font-size: var(--fs-sm);
}

@media (min-width: 620px) { .included { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .included { grid-template-columns: repeat(3, 1fr); } }

/* ═══ 10. МЕНЮ / КУХНЯ ═════════════════════════════════════════════════════ */
.cards--menu { grid-template-columns: repeat(2, 1fr); }

.dish {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.dish:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.dish__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.dish:hover .dish__img { transform: scale(1.05); }
.dish__body {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  padding: clamp(.85rem, .6rem + .8vw, 1.35rem);
  flex-grow: 1;
}
.dish__title { margin: 0; font-size: 1.1rem; }
.dish__text { font-size: var(--fs-sm); color: var(--text-muted); flex-grow: 1; }
.dish__price {
  margin: 0;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.menu__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  padding: clamp(1.25rem, 1rem + 1.4vw, 2rem);
  border: 1px dashed rgba(201, 162, 39, .55);
  border-radius: var(--radius-lg);
  background: var(--paper);
}
.menu__cta p { margin: 0; color: var(--text-muted); }

@media (min-width: 900px) { .cards--menu { grid-template-columns: repeat(4, 1fr); } }

/* ═══ 11. ГАЛЕРЕЯ ══════════════════════════════════════════════════════════ */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(.5rem, .3rem + .9vw, 1rem);
}
.gallery__item { border-radius: var(--radius); overflow: hidden; }
.gallery__link {
  display: block;
  position: relative;
  line-height: 0;
  background: var(--cream-deep);
}
.gallery__link img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform .6s var(--ease), filter .4s var(--ease);
}
.gallery__link:hover img { transform: scale(1.06); filter: brightness(.85); }
/* Значок «увеличить» при наведении */
.gallery__link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: no-repeat center / 34px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F7F1E6' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M11 8.4v5.2M8.4 11h5.2M16.2 16.2 21 21'/%3E%3C/svg%3E");
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.gallery__link:hover::after, .gallery__link:focus-visible::after { opacity: 1; }

.gallery__note { margin-top: 1.5rem; color: var(--text-muted); font-size: var(--fs-sm); }

/* Первое фото — широкий баннер на всю строку на широких экранах.
   Раньше плитка была квадратной и спанилась на 2 строки (grid-row: span 2) —
   это растягивало высоту всей строки под неё, а соседние плитки со своей
   пропорцией 3:2 оставались ниже этой высоты: снизу них появлялась пустая
   полоса цвета фона с ровным прямым краем. Баннер на всю ширину строки
   не делит строку ни с кем, поэтому высота строки всегда равна высоте
   самой плитки и гэп невозможен в принципе — а не просто визуально скрыт. */
@media (min-width: 700px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery__item:nth-child(1) { grid-column: 1 / -1; }
  .gallery__item:nth-child(1) img { aspect-ratio: 12 / 5; }
}
@media (min-width: 1000px) {
  .gallery { grid-template-columns: repeat(4, 1fr); }
}

/* Лайтбокс */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 3rem);
  background: rgba(20, 17, 18, .94);
  backdrop-filter: blur(6px);
  animation: lb-in .25s var(--ease);
}
.lightbox[hidden] { display: none; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }

.lightbox__figure { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.lightbox__img {
  max-width: 100%;
  max-height: 76svh;
  margin-inline: auto;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  object-fit: contain;
}
.lightbox__caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .5rem .9rem;
  margin-top: 1rem;
  color: var(--cream);
  font-size: var(--fs-sm);
}
.lightbox__counter { color: var(--gold-soft); font-variant-numeric: tabular-nums; }

.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border: 1px solid rgba(247, 241, 230, .28);
  border-radius: 999px;
  background: rgba(35, 31, 32, .55);
  color: var(--cream);
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.lightbox__btn:hover { background: var(--burgundy); transform: scale(1.06); }
.lightbox__close { top: clamp(.75rem, 2vw, 1.5rem); right: clamp(.75rem, 2vw, 1.5rem); }
.lightbox__prev  { left: clamp(.5rem, 2vw, 1.75rem); top: 50%; translate: 0 -50%; }
.lightbox__next  { right: clamp(.5rem, 2vw, 1.75rem); top: 50%; translate: 0 -50%; }
.lightbox__next .icon { transform: rotate(180deg); }

/* ═══ 12. ОТЗЫВЫ ═══════════════════════════════════════════════════════════ */
.rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-bottom: clamp(1.75rem, 1rem + 2.5vw, 3rem);
  padding: clamp(1.1rem, .8rem + 1.4vw, 1.75rem) clamp(1.25rem, 1rem + 1.6vw, 2.25rem);
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.rating__score { display: flex; align-items: center; gap: 1rem; }
.rating__value {
  font-family: var(--font-display);
  font-size: clamp(3rem, 2rem + 4vw, 4.75rem);
  font-weight: 700;
  line-height: .9;
  color: var(--burgundy);
}
.rating__stars { display: flex; gap: .2rem; color: var(--gold); }
.rating__stars .icon { width: 24px; height: 24px; }
.rating__meta { margin: 0; font-size: var(--fs-sm); font-weight: 600; color: var(--text); }
.rating__meta span { font-weight: 400; color: var(--text-muted); }

.cards--reviews { grid-template-columns: 1fr; }
.review {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  padding: clamp(1.4rem, 1rem + 1.6vw, 2rem);
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.review__quote { width: 34px; height: 34px; color: var(--gold-soft); }
.review__text { margin: 0; color: var(--text-muted); flex-grow: 1; }
.review__author { margin: 0; font-weight: 700; }
.review__author span {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--gold-deep);
}
.reviews__note { margin-top: 1.5rem; }

@media (min-width: 700px)  { .cards--reviews { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cards--reviews { grid-template-columns: repeat(4, 1fr); } }

/* ═══ 13. КОНТАКТЫ И КАРТА ═════════════════════════════════════════════════ */
.contacts__grid { display: grid; gap: clamp(1.5rem, 1rem + 3vw, 3rem); }

.contacts__list { display: grid; gap: 1.25rem; }
.contact {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.contact:last-child { border-bottom: 0; padding-bottom: 0; }
.contact .icon { color: var(--gold-deep); margin-top: .2rem; }
.contact b {
  display: block;
  margin-bottom: .2rem;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.contact__value { display: block; font-weight: 600; }
.contact__phone {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--burgundy);
  text-decoration: none;
}
.contact__phone:hover { color: var(--gold-deep); }
.contact__hint { display: block; margin-top: .15rem; font-size: var(--fs-sm); color: var(--text-muted); }
.contact address { line-height: 1.5; }
.contact .link-arrow { margin-top: .4rem; }

.map {
  position: relative;
  min-height: 340px;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: var(--cream-deep);
}
.map__frame { width: 100%; height: 100%; min-height: 340px; border: 0; }

@media (min-width: 900px) {
  .contacts__grid { grid-template-columns: 1fr 1.1fr; align-items: start; }
  .map { min-height: 100%; }
  .map__frame { min-height: 520px; }
}

/* ═══ 14. ФОРМА ЗАЯВКИ ═════════════════════════════════════════════════════ */
.booking__grid { display: grid; gap: clamp(2rem, 1.2rem + 3.5vw, 4rem); }

.booking__benefits { display: grid; gap: .6rem; margin: 1.5rem 0; }
.booking__benefits li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .7rem;
  align-items: start;
  font-size: .95rem;
  color: rgba(247, 241, 230, .88);
}
.booking__benefits .icon { width: 20px; height: 20px; color: var(--gold-soft); margin-top: .2rem; }
.booking__phone-alt { font-size: var(--fs-sm); color: rgba(247, 241, 230, .7); }
.booking__phone-alt a { font-weight: 700; white-space: nowrap; }

.form {
  display: grid;
  gap: 1.1rem;
  padding: clamp(1.35rem, 1rem + 2vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: var(--paper);
  color: var(--text);
  box-shadow: var(--shadow-lg);
}
.form__row { display: grid; gap: 1.1rem; }
@media (min-width: 560px) { .form__row { grid-template-columns: repeat(2, 1fr); } }

.field { display: grid; gap: .35rem; }
.field__label { font-size: var(--fs-sm); font-weight: 600; }
.field__label i { color: var(--burgundy); font-style: normal; }

.field__input {
  width: 100%;
  padding: .8rem 1rem;
  min-height: 48px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  font-size: 1rem;                   /* 16px — iOS не зумит поле при фокусе */
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field__input::placeholder { color: #A9A19E; }
.field__input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, .18);
}
.field__input--area { resize: vertical; min-height: 110px; line-height: 1.55; }
.field__input--select {
  appearance: none;
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B6260' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 18px;
}

/* Поле с ошибкой — класс ставит скрипт при валидации */
.field__input.is-invalid { border-color: #C0392B; background: #FDF5F4; }
/* Место под сообщение об ошибке резервируем всегда, даже когда его нет.
   Иначе появившаяся ошибка сдвигает вниз всё, что под ней, и клик
   пользователя промахивается мимо чекбокса или кнопки отправки. */
.field__error {
  min-height: 1.05em;
  font-size: .8rem;
  color: #C0392B;
  line-height: 1.4;
}

.checkbox {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .65rem;
  align-items: start;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  cursor: pointer;
}
.checkbox input {
  width: 20px; height: 20px;
  margin: .15rem 0 0;
  accent-color: var(--burgundy);
  flex: none;
}
.checkbox i { color: var(--burgundy); font-style: normal; }

.form__status {
  margin: 0;
  padding: .85rem 1rem;
  border-radius: 10px;
  font-size: var(--fs-sm);
  background: #EDF7EE;
  color: #226B2E;
  border: 1px solid #BFE0C4;
}
.form__status:empty { display: none; }
.form__status--error { background: #FDF0EE; color: #A5301F; border-color: #F0C9C2; }

@media (min-width: 940px) {
  .booking__grid { grid-template-columns: .85fr 1.15fr; align-items: center; }
}

/* ═══ 15. ФУТЕР, «НАВЕРХ», МОБИЛЬНАЯ ПАНЕЛЬ ════════════════════════════════ */
.footer {
  padding-top: clamp(2.5rem, 1.5rem + 3.5vw, 4.5rem);
  background: var(--graphite);
  color: rgba(247, 241, 230, .78);
  font-size: var(--fs-sm);
}
.footer a { color: rgba(247, 241, 230, .78); text-decoration: none; }
.footer a:hover { color: var(--gold-soft); }

.footer__grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 2.25rem;
}
.footer__brand .logo { margin-bottom: 1rem; }
.logo--footer .logo__name { color: var(--cream); }
.logo--footer .logo__sub  { color: rgba(247, 241, 230, .55); }
.footer__tagline { margin: 0; line-height: 1.6; }

.footer__nav b, .footer__contacts b {
  display: block;
  margin-bottom: .9rem;
  color: var(--cream);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.footer__nav ul { display: grid; gap: .45rem; }

.footer__contacts { display: grid; gap: .55rem; justify-items: start; }
.footer__contacts address { line-height: 1.55; }
.footer__phone {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--cream) !important;
}
.footer__phone:hover { color: var(--gold-soft) !important; }
.footer__vk { display: inline-flex; align-items: center; gap: .45rem; }
.footer__hours { color: rgba(247, 241, 230, .55); }

.footer__bottom {
  display: grid;
  gap: .35rem;
  padding-block: 1.25rem;
  border-top: 1px solid var(--line-light);
  font-size: .8rem;
  color: rgba(247, 241, 230, .55);
}
.footer__bottom p { margin: 0; }
.footer__legal { font-size: .75rem; }

@media (min-width: 700px) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr; gap: 2.5rem; }
  .footer__bottom { grid-template-columns: 1fr auto; align-items: center; }
  .footer__legal { text-align: right; }
}

/* Кнопка «Наверх» */
.to-top {
  position: fixed;
  right: clamp(.75rem, 2vw, 1.75rem);
  bottom: calc(64px + .75rem);       /* над мобильной панелью */
  z-index: 90;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border: 0;
  border-radius: 999px;
  background: var(--burgundy);
  color: var(--cream);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), background-color .25s var(--ease);
}
.to-top[hidden] { display: none; }
.to-top.is-visible { opacity: 1; transform: translateY(0); }
.to-top:hover { background: var(--gold); color: var(--graphite); }

/* Липкая панель действий — только на мобильных */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  box-shadow: 0 -6px 22px rgba(35, 31, 32, .16);
  padding-bottom: env(safe-area-inset-bottom); /* вырез/жест-бар на iPhone */
}
.mobile-bar__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 56px;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
}
.mobile-bar__btn--call { background: var(--paper); color: var(--burgundy); }
.mobile-bar__btn--book { background: var(--gold); color: var(--graphite); }

@media (min-width: 900px) {
  .mobile-bar { display: none; }
  .to-top { bottom: clamp(.75rem, 2vw, 1.75rem); }
}

/* ═══ 16. АНИМАЦИИ ПОЯВЛЕНИЯ И ДОСТУПНОСТЬ ═════════════════════════════════
   Элементы с классом .reveal проявляются при попадании в зону видимости.
   Класс .is-visible ставит IntersectionObserver в js/script.js.
   ВАЖНО: если JS отключён, скрипт не отработает — поэтому прячем элементы
   только когда на <html> есть класс .js (его ставит сам скрипт). */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Лёгкая лесенка: соседние карточки появляются с небольшим сдвигом */
.js .cards > .reveal:nth-child(2),
.js .included > .reveal:nth-child(2) { transition-delay: .06s; }
.js .cards > .reveal:nth-child(3),
.js .included > .reveal:nth-child(3) { transition-delay: .12s; }
.js .cards > .reveal:nth-child(4),
.js .included > .reveal:nth-child(4) { transition-delay: .18s; }
.js .cards > .reveal:nth-child(n+5),
.js .included > .reveal:nth-child(n+5) { transition-delay: .24s; }

/* Уважаем системную настройку «уменьшить движение» */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .hero__bg { transform: none !important; }
}

/* Печать: убираем интерактив, оставляем контакты */
@media print {
  .header, .nav, .mobile-bar, .to-top, .lightbox, .hero__scroll, .map, .form { display: none !important; }
  body { padding-bottom: 0; color: #000; background: #fff; }
  .section--dark, .section--cream { background: #fff !important; color: #000 !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}
