/* ==========================================================================
   Рестоклуб «История» — стили
   Палитра бренда: сосна/ночь + крем + бордо
   ========================================================================== */

:root {
  --brand-blue: #2f4961;   /* фон логотипа */
  --brand-blue-dark: #263d52;
  --navy: #2b4661;
  --navy-dark: #1c3245;
  --navy-deep: #142433;
  --cream: #f4ede1;
  --cream-soft: #fbf7f0;
  --white: #ffffff;
  --accent: #8a2332;
  --accent-dark: #6e1c28;
  --accent-soft: #f7e8ea;
  --text: #23313d;
  --text-muted: #5b6b78;
  --line: rgba(43, 70, 97, .14);
  --line-strong: rgba(43, 70, 97, .28);

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(20, 36, 51, .06);
  --shadow: 0 18px 40px -24px rgba(20, 36, 51, .35);
  --shadow-lg: 0 32px 70px -30px rgba(20, 36, 51, .45);

  --container: 1180px;
  --gutter: clamp(18px, 4vw, 40px);
  --section-y: clamp(56px, 8vw, 112px);
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------------------
   Базовое
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(16px, 1.05vw, 17.5px);
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 0;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--navy-dark);
  letter-spacing: -.01em;
}

h1 { font-size: clamp(30px, 4.4vw, 58px); }
h2 { font-size: clamp(25px, 3vw, 40px); }
h3 { font-size: clamp(19px, 1.5vw, 23px); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

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

.icon { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy-dark); color: #fff; padding: 12px 18px; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 820px; }

.section { padding-block: var(--section-y); }
.section--alt { background: var(--cream-soft); }
.section--contacts { background: var(--navy-dark); color: rgba(255,255,255,.88); }
.section--contacts h2, .section--contacts h3 { color: #fff; }

.section__head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 52px); }
.section__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 14px;
}
.section--contacts .section__eyebrow { color: #e9b8bf; }
.section__title { margin-bottom: .45em; }
.section__title::after {
  content: ""; display: block; width: 64px; height: 3px; margin-top: 18px;
  background: linear-gradient(90deg, var(--accent), rgba(138,35,50,.15)); border-radius: 3px;
}
.section__lead { color: var(--text-muted); font-size: 1.05em; }
.section--contacts .section__lead { color: rgba(255,255,255,.75); }

/* --------------------------------------------------------------------------
   Кнопки
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border: 1px solid transparent; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font: inherit; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease), color .18s var(--ease);
  box-shadow: var(--shadow-sm);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn--accent { --btn-bg: var(--accent); }
.btn--accent:hover { background: var(--accent-dark); }
.btn--outline { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255,255,255,.65); }
.btn--outline:hover { background: rgba(255,255,255,.12); }
.btn--ghost {
  --btn-bg: rgba(255,255,255,.14); --btn-fg: #fff;
  border-color: rgba(255,255,255,.35); backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(255,255,255,.24); }
.btn--onblue { --btn-bg: #fff; --btn-fg: var(--navy-dark); box-shadow: 0 10px 24px -14px rgba(0,0,0,.5); }
.btn--onblue:hover { background: #f2e9da; }
.btn--outline-dark { --btn-bg: transparent; --btn-fg: var(--navy-dark); border-color: var(--line-strong); box-shadow: none; }
.btn--outline-dark:hover { background: rgba(43, 70, 97, .06); }
.btn--sm { padding: 10px 18px; font-size: 13.75px; }
.btn--lg { padding: 16px 30px; font-size: 1.03em; }
.btn--block { width: 100%; }

/* --------------------------------------------------------------------------
   Шапка
   -------------------------------------------------------------------------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: var(--brand-blue);
  border-bottom: 1px solid rgba(255,255,255,.14);
  transition: box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.topbar.is-stuck { box-shadow: 0 14px 34px -24px rgba(10,20,30,.75); background: var(--brand-blue-dark); }
.topbar__inner { display: flex; align-items: center; flex-wrap: nowrap; gap: clamp(10px, 1.4vw, 22px); min-height: 68px; }
.topbar__logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.topbar__logo-img { width: auto; height: 42px; }
.topbar__mark { display: block; width: auto; height: 44px; }
.topbar__wordmark { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; white-space: nowrap; }
.topbar__wordmark em {
  font-style: normal; font-family: var(--sans); font-weight: 700; font-size: 9.5px;
  letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.88);
  transform: translateX(.11em); /* компенсируем разрядку последней буквы */
}
.topbar__wordmark b {
  font-family: var(--serif); font-weight: 700; font-size: 19px; line-height: 1; color: #fff;
}
.topbar__nav { display: flex; flex-wrap: nowrap; gap: clamp(6px, 0.85vw, 15px); margin-inline: auto; }
.topbar__nav a {
  position: relative; text-decoration: none; font-weight: 600; font-size: 13.75px; color: rgba(255,255,255,.9);
  padding: 5px 1px; white-space: nowrap;
}
.topbar__nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: #e7d6b0; transition: right .22s var(--ease);
}
.topbar__nav a:hover::after, .topbar__nav a:focus-visible::after { right: 0; }
.topbar__actions { display: flex; align-items: center; flex-wrap: nowrap; gap: 10px; }
.topbar__phone {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13.75px; line-height: 1.2; text-decoration: none;
  color: #fff; white-space: nowrap; padding: 10px 18px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.1);
  transition: background-color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.topbar__phone .icon { width: 16px; height: 16px; }
.topbar__phone:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.65); transform: translateY(-1px); }

.burger {
  display: none; position: relative; width: 44px; height: 44px; padding: 0;
  border: 1px solid rgba(255,255,255,.45); border-radius: 12px;
  background: rgba(255,255,255,.1); cursor: pointer;
}
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s var(--ease); }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate;
  display: flex; align-items: center;
  min-height: clamp(560px, 88vh, 860px);
  padding-block: clamp(48px, 8vw, 96px);
  color: #fff; overflow: hidden;
  background: var(--navy-deep);
}
.hero__media { position: absolute; inset: -24px; z-index: -2; transition: transform .35s var(--ease); }

/* --- Официант на переднем плане --- */
.hero__waiter {
  position: absolute; right: 0; bottom: 0; z-index: 2; max-height: 92%; pointer-events: none;
  transform: translate3d(0, 0, 0); will-change: transform;
}
.hero__waiter > *, .hero__waiter picture { display: block; }
.hero__waiter img {
  width: auto; height: auto; max-height: 100%; display: block; transform-origin: 50% 100%;
  filter: drop-shadow(0 34px 50px rgba(4, 9, 15, .55));
}
@media (prefers-reduced-motion: no-preference) {
  .hero__waiter__enter { animation: waiterEnter 1s var(--ease) both; }
  .hero__waiter__depth { animation: waiterDepth 30s ease-in-out infinite alternate; will-change: transform; }
  .hero__waiter img { animation: waiterFloat 7s ease-in-out infinite; }
}
@keyframes waiterEnter { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }
@keyframes waiterDepth { from { transform: scale(1); } to { transform: scale(1.06); } }
@keyframes waiterFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20,36,51,.62) 0%, rgba(20,36,51,.35) 45%, rgba(20,36,51,.78) 100%),
    linear-gradient(90deg, rgba(20,36,51,.72) 0%, rgba(20,36,51,.25) 60%, rgba(20,36,51,.1) 100%);
}
.hero__inner { position: relative; z-index: 3; }
.hero__content { max-width: 540px; }
.hero__eyebrow {
  display: inline-block; margin: 0 0 18px; padding: 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; backdrop-filter: blur(4px);
}
.hero__title { font-family: var(--sans); font-weight: 700; font-size: clamp(26px, 3.2vw, 44px); line-height: 1.16; letter-spacing: -.02em; color: #fff; margin-bottom: clamp(20px, 2.6vw, 36px); text-wrap: balance; }
.hero__lead { font-size: clamp(16px, 1.35vw, 19px); color: rgba(255,255,255,.9); max-width: 62ch; }
.hero__bullets { display: flex; flex-wrap: wrap; gap: 12px 26px; margin: clamp(26px, 3vw, 42px) 0 clamp(30px, 3.4vw, 50px); padding: 0; list-style: none; }
.hero__bullets li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: rgba(255,255,255,.94); }
.hero__bullets .icon { color: #e9b8bf; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__note { display: flex; align-items: center; gap: 8px; margin-top: clamp(26px, 3vw, 44px); font-size: 14px; color: rgba(255,255,255,.72); }

/* --------------------------------------------------------------------------
   Карточки преимуществ
   -------------------------------------------------------------------------- */
.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card {
  padding: clamp(22px, 2.4vw, 30px); background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; margin-bottom: 16px; border-radius: 14px;
  background: var(--accent-soft); color: var(--accent); font-size: 26px;
}
.card__icon .icon { width: 26px; height: 26px; }
.card__title { margin-bottom: .4em; }
.card__text { color: var(--text-muted); margin: 0; }

/* --------------------------------------------------------------------------
   Форматы
   -------------------------------------------------------------------------- */
.formats { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.format {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(22px, 2.4vw, 30px); background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s;
}
.format:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.format__tag {
  position: absolute; top: 18px; right: 18px; padding: 4px 12px; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em;
}
.format__title { margin-bottom: .35em; padding-right: 70px; }
.format__text { color: var(--text-muted); }
.format__price { margin-top: auto; padding-top: 12px; font-weight: 700; color: var(--navy-dark); font-size: 1.05em; }
.format__link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 10px;
  font-weight: 700; color: var(--accent); text-decoration: none;
}
.format__link:hover { gap: 14px; }

/* --------------------------------------------------------------------------
   Зал
   -------------------------------------------------------------------------- */
.hall { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hall__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.specs {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 18px; margin: 26px 0 30px; padding: 0;
}
.specs__item { padding: 16px 18px; background: var(--cream-soft); border-radius: var(--radius-sm); }
.specs__value { font-family: var(--serif); font-size: clamp(28px, 3vw, 38px); font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: 6px; }
.specs__label { margin: 0; font-size: 14px; color: var(--text-muted); line-height: 1.4; }

/* --------------------------------------------------------------------------
   Галерея
   -------------------------------------------------------------------------- */
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.gallery__item {
  padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s;
}
.gallery__item:hover { transform: translateY(-3px) scale(1.005); box-shadow: var(--shadow); }
.gallery__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Лайтбокс */
.lightbox {
  position: fixed; inset: 0; z-index: 60; display: grid; place-items: center;
  grid-template-columns: 64px 1fr 64px; gap: 12px; padding: clamp(12px, 3vw, 40px);
  background: rgba(12, 22, 31, .94);
}
.lightbox[hidden] { display: none; }
.lightbox__picture { display: block; max-height: 90vh; }
.lightbox__picture img { max-height: 90vh; width: auto; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.lightbox__close {
  position: absolute; top: 16px; right: 20px; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.1); color: #fff;
  font-size: 26px; line-height: 1; cursor: pointer;
}
.lightbox__nav {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.1); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; justify-self: center;
}
.lightbox__nav:hover, .lightbox__close:hover { background: rgba(255,255,255,.22); }

/* --------------------------------------------------------------------------
   Отзывы
   -------------------------------------------------------------------------- */
.reviews {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(280px, 32vw, 370px);
  grid-template-rows: auto;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px 2px 14px;
  -webkit-overflow-scrolling: touch;
}
.reviews > * { scroll-snap-align: start; }
.reviews::-webkit-scrollbar { display: none; }

.reviews__top {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
  margin-bottom: clamp(24px, 3vw, 40px);
}
.reviews__top .section__head { margin-bottom: 0; }
.reviews__nav { display: flex; gap: 10px; flex: none; }
.reviews__arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: #fff; color: var(--navy-dark);
  cursor: pointer; transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}
.reviews__arrow .icon { width: 20px; height: 20px; }
.reviews__arrow:hover { background: var(--navy-dark); border-color: var(--navy-dark); color: #fff; transform: translateY(-2px); }
.reviews__arrow:disabled { opacity: .35; cursor: default; transform: none; }
.review {
  display: flex; flex-direction: column; margin: 0; padding: clamp(22px, 2.4vw, 30px);
  background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.review__stars { display: flex; gap: 3px; color: #d8a43a; margin-bottom: 14px; }
.review__stars .icon { width: 18px; height: 18px; }
.review__text { margin: 0 0 18px; font-size: 1.02em; }
.review__author { margin-top: auto; display: flex; flex-direction: column; }
.review__author strong { color: var(--navy-dark); }
.review__author span { font-size: 14px; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; font-weight: 700; color: var(--navy-dark); cursor: pointer; list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "+"; font-family: var(--sans); font-size: 24px; line-height: 1; color: var(--accent); flex: none;
  transition: transform .2s var(--ease);
}
.faq__item[open] .faq__q::after { transform: rotate(45deg); }
.faq__a { padding: 0 22px 20px; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   Заявка
   -------------------------------------------------------------------------- */
.booking { background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%); }
.booking__inner { display: grid; gap: clamp(26px, 4vw, 56px); align-items: start; }
.booking__list { margin: 22px 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.booking__list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.booking__list .icon { color: var(--accent); margin-top: 4px; }
.booking__contacts a { font-weight: 700; color: var(--accent); }

.form {
  display: grid; gap: 16px; padding: clamp(22px, 3vw, 34px);
  background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.form__row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.form__field { display: grid; gap: 8px; }
.form__label { font-size: 14px; font-weight: 700; color: var(--navy-dark); }
.form__input {
  width: 100%; padding: 14px 16px; font: inherit; color: var(--text); background: #fff;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); transition: border-color .16s, box-shadow .16s;
}
.form__input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(138,35,50,.12); }
.form__check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-muted); }
.form__check input { margin-top: 4px; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__trap-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form__trap input { width: 1px; height: 1px; border: 0; padding: 0; }
.form__status { margin: 0; font-weight: 600; min-height: 1.4em; }
.form__status.is-ok { color: #1f7a4d; }
.form__status.is-err { color: var(--accent); }
.form__input.is-invalid { border-color: var(--accent); background: #fff7f8; }

/* --------------------------------------------------------------------------
   Контакты
   -------------------------------------------------------------------------- */
.contacts { display: grid; gap: clamp(24px, 3vw, 48px); align-items: center; }
.contacts__list { margin: 24px 0; padding: 0; display: grid; gap: 14px; }
.contacts__list dt { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.6); }
.contacts__list dd { margin: 4px 0 0; font-weight: 600; }
.contacts__list a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.4); }
.contacts__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contacts__map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); min-height: 320px; }
.contacts__map iframe { display: block; width: 100%; min-height: 320px; border: 0; }

.contacts__list--light dt { color: var(--text-muted); }
.contacts__list--light dd { color: var(--text); }
.contacts__map--inline { margin-top: 28px; }
.contacts__map--inline iframe { min-height: 360px; width: 100%; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }

/* --------------------------------------------------------------------------
   Подвал
   -------------------------------------------------------------------------- */
.footer { background: var(--navy-deep); color: rgba(255,255,255,.72); padding-block: clamp(40px, 5vw, 64px) 24px; }
.footer__inner { display: grid; gap: clamp(24px, 4vw, 48px); }
.footer__logo { width: min(168px, 46vw); height: auto; display: block; }
.footer__tagline { font-family: var(--serif); color: #fff; font-size: 1.15em; margin: 14px 0 8px; }
.footer__about { max-width: 42ch; font-size: 15px; }
.footer__title { font-size: 14px; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.55); margin-bottom: 14px; font-family: var(--sans); font-weight: 700; }
.footer__nav, .footer__contacts { display: flex; flex-direction: column; gap: 8px; }
.footer__nav a { text-decoration: none; }
.footer__nav a:hover, .footer__phone:hover { color: #fff; }
.footer__phone { font-size: 1.22em; font-weight: 700; color: #fff; text-decoration: none; margin-bottom: 6px; }
.footer__socials { display: flex; gap: 10px; margin-top: 12px; }
.footer__socials a {
  display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.25); color: #fff; text-decoration: none;
}
.footer__socials a:hover { background: rgba(255,255,255,.12); }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center;
  margin-top: clamp(28px, 4vw, 44px); padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12);
  font-size: 14px;
}
.footer__bottom a { text-decoration: none; }
.footer__bottom a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   Мобильная панель действий
   -------------------------------------------------------------------------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: none; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96); border-top: 1px solid var(--line); backdrop-filter: blur(10px);
}
.mobile-bar__btn {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 13px 10px; border-radius: 999px; font-weight: 700; font-size: 14px; text-decoration: none;
  background: #eef1f4; color: var(--navy-dark);
}
.mobile-bar__btn--accent { background: var(--accent); color: #fff; }

/* Единый размер кнопок в шапке и в закреплённой панели действий */
.topbar__phone,
.topbar__actions .btn,
.mobile-bar__btn { min-height: 44px; }
.mobile-bar__btn { line-height: 1.2; }

/* --------------------------------------------------------------------------
   Адаптив
   -------------------------------------------------------------------------- */
@media (min-width: 780px) {
  .hall { grid-template-columns: 1fr 1fr; }
  .contacts { grid-template-columns: 1.05fr 1fr; }
  .footer__inner { grid-template-columns: 1.4fr .8fr 1fr; }
}
@media (min-width: 980px) {
  .booking__inner { grid-template-columns: 1fr 1.05fr; }
}

@media (max-width: 1330px) and (min-width: 980px) {
  .topbar__nav a { font-size: 13px; }
  .topbar__wordmark b { font-size: 17px; }
  .topbar__wordmark em { font-size: 9.5px; }
  .topbar__phone, .topbar__actions .btn--sm { padding: 9px 14px; }
}
@media (max-width: 1180px) and (min-width: 980px) {
  .topbar__phone span { display: none; }
  .topbar__nav { gap: 9px; }
}
@media (max-width: 1050px) and (min-width: 980px) {
  .topbar__nav a:nth-child(5), .topbar__nav a:nth-child(6) { display: none; }
}

@media (max-width: 979px) {
  .topbar__nav {
    position: fixed; top: 68px; left: 0; right: 0; z-index: 100;
    display: none; gap: 4px; margin: 0;
    padding: 16px var(--gutter) 24px; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .topbar__nav.is-open { display: grid; }
  .topbar__nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: 17px; color: var(--navy-dark); }
  .topbar__nav a::after { background: var(--accent); }
  .topbar__nav a:last-child { border-bottom: 0; }
  .burger { display: block; }
  .topbar__actions { margin-left: auto; }
  .topbar__phone { padding: 0; width: 44px; height: 44px; justify-content: center; border-radius: 12px; }
  .topbar__phone span { display: none; }
}

@media (max-width: 899px) {
  .hero__waiter { display: none; }
}

@media (max-width: 719px) {
  .mobile-bar { display: flex; }
  body { padding-bottom: 76px; }
  .topbar__actions .btn { display: none; }
  .hero { min-height: 78vh; }
  .hero__actions .btn { width: 100%; }
  .lightbox { grid-template-columns: 1fr; }
  .lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
}

/* --------------------------------------------------------------------------
   Анимация первого экрана (лёгкая, только transform/opacity)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .hero__content > * { animation: heroRise .62s var(--ease) both; }
  .hero__content > *:nth-child(1) { animation-delay: 0s; }
  .hero__content > *:nth-child(2) { animation-delay: .12s; }
  .hero__content > *:nth-child(3) { animation-delay: .24s; }
  .hero__content > *:nth-child(4) { animation-delay: .36s; }
  .hero__content > *:nth-child(5) { animation-delay: .48s; }

  .hero__bullets li { animation: heroFade .5s var(--ease) both; }
  .hero__bullets li:nth-child(1) { animation-delay: .26s; }
  .hero__bullets li:nth-child(2) { animation-delay: .34s; }
  .hero__bullets li:nth-child(3) { animation-delay: .42s; }
  .hero__bullets li:nth-child(4) { animation-delay: .5s; }
  .hero__bullets li .icon { animation: heroPop .5s var(--ease) both; }
  .hero__bullets li:nth-child(2) .icon { animation-delay: .1s; }
  .hero__bullets li:nth-child(3) .icon { animation-delay: .18s; }
  .hero__bullets li:nth-child(4) .icon { animation-delay: .26s; }

  /* «Живое» фото: медленный зум без рывков */
  .hero__media img { animation: heroZoom 26s ease-in-out infinite alternate; will-change: transform; }

  /* Лёгкое «дыхание» затемнения — свет в зале */
  .hero__overlay { animation: heroBreathe 14s ease-in-out infinite alternate; }
}

@keyframes heroRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes heroFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@keyframes heroPop {
  0% { opacity: 0; transform: scale(.6); }
  70% { transform: scale(1.12); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes heroZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.1); }
}
@keyframes heroBreathe {
  from { opacity: .9; }
  to { opacity: 1; }
}

/* Появление секций */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
