/* ============================================================
   Ресторан «Паруса» — лендинг
   Свёрстано по макету Figma «Парус Лендинг», фрейм «Главная страница» (48:2)
   Базовая ширина макета: 1440px, контентный контейнер: 1345px
   ============================================================ */

/* ---------- Токены ---------- */
:root {
  /* палитра */
  --c-ink:          #272727;
  --c-ink-2:        #16242f;
  --c-ink-3:        #1a1a1a;
  --c-ink-4:        #121212;
  --c-dark:         #0b1f2e;
  --c-muted:        #5f6e78;
  --c-muted-2:      #626262;
  --c-accent:       #568295;  /* основной синий */
  --c-sand:         #a59a89;  /* бежевый акцент */
  --c-gold:         #c29a5c;  /* золотая обводка */
  --c-cream:        #fffefb;
  --c-bg-sand:      #f6f3f0;
  --c-bg-form:      #ebe6df;
  --c-circle:       #f5f3f0;
  --c-teal:         #3e687a;  /* фон FAQ */
  --c-navy:         #3e586d;  /* фон футера */
  --c-on-navy:      #b9c4cc;
  --c-on-navy-2:    #8fa0aa;
  --c-on-navy-3:    #6e7e88;
  --c-line:         #c6c6c6;
  --c-divider:      #92b0be;

  /* типографика */
  --f-head:  'Tenor Sans', 'Times New Roman', serif;
  --f-body:  'Lato', Arial, sans-serif;
  --f-ui:    'Montserrat', Arial, sans-serif;

  /* сетка */
  --container: 1345px;
  --gutter: 48px;
  --radius-lg: 40px;
  --radius-sm: 5px;
  --section-gap: 120px;
}

/* ---------- Сброс ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--c-cream);
  color: var(--c-ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
/* телефон не должен разрываться между «8» и остальными цифрами */
a[href^="tel:"] { white-space: nowrap; }
/* Сброс кнопок. Гасит reset.css темы, который красит все <button> в розовый
   (#c36): рамка, свой размер шрифта и отступы, заливка при наведении.
   Всё перечисленное обязано быть здесь — иначе оформление темы вылезает
   на вкладках, аккордеоне, бургере, стрелках слайдера и кнопках форм.
   Правила ниже по файлу — на классах, поэтому они этот сброс перекрывают. */
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  white-space: normal;
  cursor: pointer;
}
button:hover,
button:focus {
  background: none;
  color: inherit;
  text-decoration: none;
}
/* То же самое, но по атрибуту type. Тема целится селекторами [type="button"]
   и [type="submit"], а они специфичнее простого button — без этого блока
   розовая заливка при наведении остаётся у пункта «Рестораны» в шапке,
   вкладок правил, закрытия модалок и стрелок просмотрщика фото. */
[type="button"],
[type="submit"],
[type="reset"] {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  white-space: normal;
}
[type="button"]:hover, [type="button"]:focus,
[type="submit"]:hover, [type="submit"]:focus,
[type="reset"]:hover,  [type="reset"]:focus {
  background: none;
  color: inherit;
  text-decoration: none;
}
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }

.container {
  width: min(100% - var(--gutter) * 2, var(--container));
  margin-inline: auto;
}

/* ---------- Типовые элементы ---------- */
.eyebrow {
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: 12px;
  line-height: 15px;
  letter-spacing: 3.6px;
  text-transform: uppercase;
  color: var(--c-sand);
}
.eyebrow--center { text-align: center; }
.eyebrow--light  { color: #fff; }

.h2 {
  font-family: var(--f-head);
  font-size: 45px;
  line-height: 60px;
  text-transform: uppercase;
  color: var(--c-ink);
}
.h2--center { text-align: center; }
.accent { color: var(--c-accent); }

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 55px;
  padding: 18px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--f-head);
  font-size: 16px;
  line-height: 19px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  transition: opacity .2s ease, background-color .2s ease, color .2s ease;
}
.btn:hover { opacity: .87; }
.btn--accent { background: var(--c-accent); }
.btn--sand   { background: var(--c-sand); }
.btn--white  { background: #fff; color: var(--c-ink-2); }
.btn--light  { background: var(--c-cream); color: var(--c-dark); }
/* Кнопки-плашки с type="submit" попадают под сброс [type="submit"]:hover
   выше — он специфичнее одиночного класса и снимал бы заливку при наведении.
   Повторяем цвета с :hover/:focus, чтобы плашка оставалась плашкой.
   Порядок важен: сначала общий .btn, потом варианты. */
.btn:hover, .btn:focus { color: #fff; }
.btn--accent:hover, .btn--accent:focus { background: var(--c-accent); }
.btn--sand:hover,   .btn--sand:focus   { background: var(--c-sand); }
.btn--white:hover,  .btn--white:focus  { background: #fff; color: var(--c-ink-2); }
.btn--light:hover,  .btn--light:focus  { background: var(--c-cream); color: var(--c-dark); }
.btn--header {
  min-height: 50px;
  padding: 0 24px;
  font-size: 11.5px;
  line-height: 13px;
  letter-spacing: 1.5px;
}

/* Кружок со стрелкой */
.arrow-circle {
  display: grid;
  place-items: center;
  width: 67px;
  height: 67px;
  border: 1px solid rgba(255, 255, 255, .44);
  border-radius: 50%;
  color: rgba(255, 255, 255, .78);
  transition: background-color .25s ease, color .25s ease;
}
.arrow-circle svg { width: 20px; height: 12px; }
a:hover > .arrow-circle,
.service__card:hover .arrow-circle { background: rgba(255, 255, 255, .16); color: #fff; }

/* Стрелки слайдера */
.slider-nav { display: flex; gap: 18px; }
.slider-nav--center { justify-content: center; }
.slider-nav__btn { color: #b9b9b9; transition: color .2s ease; }
.slider-nav__btn.is-active,
.slider-nav__btn:hover { color: var(--c-dark); }
.slider-nav__btn:disabled { opacity: .3; cursor: default; }
.slider-nav__btn:disabled:hover { color: #b9b9b9; }
.slider-nav__btn svg { width: 19px; height: 10px; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 50;
  height: 89px;
  display: flex;
  align-items: center;
}
.header__inner {
  width: min(100% - var(--gutter) * 2, 1352px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.header__nav { display: flex; align-items: center; gap: 30px; }
.header__nav a,
.header__drop-btn {
  font-family: var(--f-head);
  font-size: 12.5px;
  line-height: 15px;
  letter-spacing: 1.63px;
  text-transform: uppercase;
  color: #fff;
  transition: color .2s ease;
}
.header__nav a:hover,
.header__drop-btn:hover { color: var(--c-gold); }

/* ---------- «Рестораны» с выпадающим списком ---------- */
.header__drop { position: relative; }
.header__drop-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.header__drop-caret {
  width: 10px;
  height: 6px;
  flex: none;
  transition: transform .25s ease;
}
.header__drop.is-open .header__drop-caret { transform: rotate(180deg); }

.header__drop-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 5;
  min-width: 264px;
  margin-top: 22px;
  padding: 10px 0;
  border-radius: var(--radius-sm);
  background: rgba(11, 31, 46, .96);
  box-shadow: 0 18px 40px rgba(11, 31, 46, .28);
  opacity: 0;
  visibility: hidden;
  /* страховка: браузер вообще не отрисовывает содержимое закрытой панели,
     поэтому она не может мелькнуть, пока стили ещё применяются */
  content-visibility: hidden;
  transform: translate(-50%, -8px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
/* язычок, чтобы курсор не терял меню на отступе */
.header__drop-menu::before {
  content: '';
  position: absolute;
  inset: -22px 0 100%;
}
.header__drop:hover .header__drop-menu,
.header__drop:focus-within .header__drop-menu,
.header__drop.is-open .header__drop-menu {
  opacity: 1;
  visibility: visible;
  content-visibility: visible;
  transform: translate(-50%, 0);
}
.header__drop-menu a {
  display: block;
  padding: 11px 24px;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, .82);
}
.header__drop-menu a:hover { color: var(--c-gold); }
/* «Все рестораны и залы» — пункт другого порядка, отделяем линией */
.header__drop-menu a.header__drop-all {
  margin-top: 10px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .58);
}
.header__drop-menu a.header__drop-all:hover { color: var(--c-gold); }

.header__logo { justify-self: center; }
.header__logo img { width: 171px; height: auto; }

.header__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
}
.header__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}
.header__phone {
  font-family: var(--f-head);
  font-size: 18px;
  line-height: 21px;
  letter-spacing: .36px;
  color: #fff;
  white-space: nowrap;
}
.header__addr {
  font-family: var(--f-ui);
  font-size: 11.5px;
  line-height: 14px;
  letter-spacing: .8px;
  color: rgba(255, 255, 255, .72);
  white-space: nowrap;
  transition: color .2s ease;
}
.header__addr:hover { color: #fff; }

/* Бургер (мобильные) */
.burger { display: none; width: 30px; height: 20px; position: relative; }
.burger span {
  position: absolute; left: 0; width: 100%; height: 2px;
  background: #fff; transition: transform .3s ease, opacity .2s ease;
}
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 9px; }
.burger span:nth-child(3) { top: 18px; }
.burger.is-open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 763px;
  display: flex;
  align-items: center;
  padding: 120px 0 110px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  border-bottom: 1px solid var(--c-gold);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .48) 0%, rgba(0, 0, 0, 0) 100%),
    linear-gradient(180deg, rgba(194, 154, 92, .07) 0%, rgba(194, 154, 92, 0) 100%),
    url('../img/hero-bg.webp') center / cover no-repeat #000;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .34);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  width: min(100% - var(--gutter) * 2, 645px);
  margin-inline: auto;
  text-align: center;
  color: #fff;
}
.hero__title {
  font-family: var(--f-head);
  font-size: 60px;
  line-height: 65px;
  letter-spacing: 4.68px;
  text-transform: uppercase;
}
.hero__lead {
  margin-top: 40px;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 20px;
  line-height: 29px;
}
.hero__btn { margin-top: 42px; min-height: 66px; padding: 0 25px; }

/* ============================================================
   О НАС
   ============================================================ */
.about {
  position: relative;
  padding-top: 120px;
  padding-bottom: 0;
}
.about__ornament {
  position: absolute;
  top: 82px;
  left: 50%;
  transform: translateX(calc(-50% + 393px));
  width: 299px;
  opacity: .9;
  pointer-events: none;
}
.about__grid {
  position: relative;
  display: grid;
  grid-template-columns: 252px 469px 462px;
  column-gap: 81px;
  row-gap: 170px;
  align-items: end;
}
.about__head { grid-column: 1 / 3; grid-row: 1; }
.about__title { max-width: 655px; margin-top: 20px; }
.about__photo-sm { grid-column: 1; grid-row: 2; }
.about__photo-sm img { width: 252px; height: 262px; object-fit: cover; border-radius: 6px; }
.about__text { grid-column: 2; grid-row: 2; }
.about__text p {
  font-weight: 500;
  font-size: 20px;
  line-height: 29px;
}
.about__text p + p { margin-top: 29px; }
.about__text .btn { margin-top: 49px; width: 314px; }
.about__photo-lg { grid-column: 3; grid-row: 1 / 3; align-self: stretch; }
.about__photo-lg img {
  width: 100%;
  height: 654px;
  object-fit: cover;
  border-radius: 6px;
}

/* ============================================================
   БАННЕР «АВТОРСКАЯ КУХНЯ»
   ============================================================ */
.banner {
  margin-top: 120px;
  padding: 87px 0 136px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--c-teal);
  position: relative;
  overflow: hidden;
}
.banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/banner-kitchen.webp') center / cover no-repeat;
  opacity: .2;
}
.banner__inner {
  position: relative;
  z-index: 1;
  width: min(100% - var(--gutter) * 2, 781px);
  margin-inline: auto;
  text-align: center;
  color: #fff;
}
.banner__title { color: #fff; }
.banner__lead {
  max-width: 669px;
  margin: 50px auto 0;
  font-weight: 500;
  font-size: 20px;
  line-height: 29px;
}
.banner__inner .btn { margin-top: 50px; width: 314px; }

/* ============================================================
   УСЛУГИ
   ============================================================ */
.services {
  position: relative;
  margin-top: -32px;
  padding: 109px 0 110px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--c-bg-sand);
  overflow: hidden;
}
.services__ornament {
  position: absolute;
  top: 29px;
  left: 50%;
  transform: translateX(-50%);
  width: 831px;
  opacity: .55;
  pointer-events: none;
}
.services .container { position: relative; z-index: 1; }
.services__title { margin-top: 29px; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
  margin-top: 50px;
  align-items: start;
}
.service__card {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 43px;
  height: 417px;
  padding: 20px;
  border-radius: 6px;
  overflow: hidden;
  text-align: center;
}
.service__card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.service__card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .53);
}
.service__card:hover img { transform: scale(1.05); }
.service__name,
.service__card .arrow-circle { position: relative; z-index: 1; }
.service__name {
  font-family: var(--f-head);
  font-size: 25.6px;
  line-height: 35px;
  text-transform: uppercase;
  color: #fff;
}
.service__desc {
  margin-top: 21px;
  font-weight: 500;
  font-size: 16px;
  line-height: 30px;
}

/* ============================================================
   ГАЛЕРЕЯ
   ============================================================ */
.gallery { padding: 120px 0 0; }
.gallery__head { display: flex; flex-direction: column; align-items: center; }
.gallery__head .h2 { margin-top: 20px; }
/* на узком экране три вкладки в строку не помещаются и уезжали за край —
   разрешаем перенос, на широком это ничего не меняет */
.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 35px;
}
.tab {
  padding: 10px 16px;
  border: 1px solid var(--c-line);
  border-radius: 2px;
  font-family: var(--f-head);
  font-size: 16px;
  line-height: 19px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--c-line);
  transition: color .2s ease, border-color .2s ease;
}
.tab.is-active, .tab:hover { color: var(--c-accent); border-color: var(--c-accent); }
.gallery .slider-nav { margin-top: 35px; }

.gallery__viewport { margin-top: 45px; overflow: hidden; display: flex; justify-content: center; }
.gallery__track {
  display: flex;
  flex: 0 0 auto;
  gap: 19px;
  transition: transform .45s ease;
}
/* Карточка тянется вместе с экраном (в макете 408px при ширине 1440),
   чтобы лента всегда уходила за края вьюпорта, а не висела с полями */
.gallery__item {
  position: relative;
  flex: 0 0 clamp(408px, 28.33vw, 620px);
  aspect-ratio: 408 / 455;
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #d9d9d9;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.gallery__footer { display: flex; justify-content: center; margin-top: 50px; }
.gallery__footer .btn { width: 314px; }

/* ============================================================
   ПРЕИМУЩЕСТВА
   ============================================================ */
.advantages { padding: 120px 0 0; }
.advantages .h2 { margin-top: 20px; }
.advantages__stage {
  position: relative;
  height: 595px;
  margin-top: 50px;
}
.advantages__ornament {
  position: absolute;
  top: 52px;
  left: 581px;
  width: 183px;
  pointer-events: none;
}
.adv {
  position: absolute;
  width: 345px;
  height: 345px;
  border-radius: 50%;
  background: var(--c-circle);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 52px;
  text-align: center;
}
.adv--1 { left: 0;      top: 0; }
.adv--2 { left: 294px;  top: 250px; }
.adv--3 { left: 705px;  top: 250px; }
.adv--4 { left: 1000px; top: 0; }
.adv__num {
  font-family: var(--f-head);
  font-size: 45px;
  line-height: 48px;
  color: var(--c-ink);
}
.adv__title {
  margin-top: 62px;
  font-family: var(--f-head);
  font-size: 20px;
  line-height: 23px;
  color: var(--c-ink-2);
}
.adv__text {
  margin-top: 16px;
  font-weight: 500;
  font-size: 14px;
  line-height: 22px;
  color: var(--c-muted);
}

/* ============================================================
   ФОРМА БРОНИРОВАНИЯ
   ============================================================ */
.booking {
  margin-top: 120px;
  padding: 59px 0 64px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--c-bg-form);
}
.booking__lead {
  max-width: 844px;
  margin: 20px auto 0;
  font-weight: 500;
  font-size: 20px;
  line-height: 29px;
  text-align: center;
}
.form { margin-top: 50px; }
.form__row { display: grid; gap: 32px; }
.form__row--2 { grid-template-columns: 1fr 1fr; gap: 25px; }
.form__row--3 { grid-template-columns: repeat(3, 1fr); }
.form__row + .form__row { margin-top: 47px; }

.field { position: relative; display: block; }
.field input {
  width: 100%;
  padding: 0 0 17px;
  border: 0;
  border-bottom: 1px solid #000;
  background: transparent;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 19px;
  color: #000;
  outline: none;
  transition: border-color .2s ease;
}
.field input::placeholder { color: rgba(0, 0, 0, .4); }
.field input:focus { border-color: var(--c-accent); }
.field--icon .field__icon {
  position: absolute;
  right: 0;
  top: 0;
  width: 22px;
  height: 22px;
  opacity: .4;
  pointer-events: none;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 34px;
  cursor: pointer;
}
.checkbox input { position: absolute; opacity: 0; width: 0; height: 0; }
.checkbox__box {
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  border: 1px solid var(--c-accent);
  position: relative;
}
.checkbox input:checked + .checkbox__box::after {
  content: '';
  position: absolute;
  inset: 4px;
  background: var(--c-accent);
}
.checkbox__text { font-size: 16px; line-height: 19px; color: #000; }
.form__submit { display: flex; width: 314px; margin: 48px auto 0; }

/* ============================================================
   РАЗДЕЛЫ
   ============================================================ */
.sections {
  position: relative;
  padding: 68px 0 110px;
  background: #914949;
  overflow: hidden;
  color: #fff;
}
.sections::before {
  content: '';
  position: absolute;
  inset: -60px 0;
  background: url('../img/sections-bg.webp') center / cover no-repeat;
}
.sections::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .4);
}
.sections .container { position: relative; z-index: 1; }
.sections__title { color: #fff; margin-top: 20px; }
.sections__lead {
  max-width: 504px;
  margin: 20px auto 0;
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: 17px;
  line-height: 27px;
  text-align: center;
}
.sections__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 58px;
}
.glass-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 38px;
  height: 451px;
  padding: 30px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(13.5px);
  backdrop-filter: blur(13.5px);
  text-align: center;
  transition: background-color .25s ease;
}
/* подсветка при наведении только у карточек-ссылок: на «Услугах под ключ»
   это просто информация, и реакция на курсор там вводила бы в заблуждение */
a.glass-card:hover { background: rgba(255, 255, 255, .3); }
.glass-card__title {
  font-family: var(--f-head);
  font-size: 25.6px;
  line-height: 35px;
  text-transform: uppercase;
  color: #fff;
}

/* ============================================================
   БАНКЕТЫ
   ============================================================ */
.banquet { padding: 120px 0 0; }
.banquet .h2 { margin-top: 20px; }
.banquet__lead {
  margin-top: 20px;
  font-weight: 500;
  font-size: 20px;
  line-height: 29px;
  text-align: center;
}
.banquet__photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 50px;
}
.banquet__photos img {
  width: 100%;
  height: 239px;
  object-fit: cover;
}
.banquet__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 29px;
  margin-top: 32px;
  padding: 35px 0;
}
.banquet__cols p {
  position: relative;
  padding: 0 20px;
  font-weight: 500;
  font-size: 16px;
  line-height: 23px;
  text-align: center;
}
.banquet__cols p + p::before {
  content: '';
  position: absolute;
  left: calc(-29px / 2 - 1px);
  top: -35px;
  bottom: -35px;
  border-left: 1px solid var(--c-divider);
}
.banquet__actions {
  display: flex;
  justify-content: center;
  gap: 13px;
  margin-top: 50px;
}
.banquet__actions .btn { width: 314px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  margin-top: 120px;
  padding: 70px 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--c-teal);
  color: #fff;
}
.faq__grid {
  display: grid;
  grid-template-columns: 689px 666px;
  gap: 10px;
  align-items: start;
}
.faq__title { color: #fff; margin-top: 20px; }

.accordion__item { border-bottom: 1px solid var(--c-sand); }
.accordion__item:first-child { border-bottom-color: var(--c-gold); }
.accordion__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 24px 0 24px;
  text-align: left;
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  color: #f6f1e8;
}
.accordion__btn i {
  position: relative;
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  color: var(--c-sand);
}
.accordion__btn i::before,
.accordion__btn i::after {
  content: '';
  position: absolute;
  background: currentColor;
  transition: transform .25s ease, opacity .25s ease;
}
.accordion__btn i::before { left: 0; top: 6px; width: 14px; height: 2px; }
.accordion__btn i::after  { left: 6px; top: 0; width: 2px; height: 14px; }
.accordion__item.is-open .accordion__btn i::after { transform: scaleY(0); opacity: 0; }

.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}
.accordion__item.is-open .accordion__panel { grid-template-rows: 1fr; }
.accordion__panel > p {
  overflow: hidden;
  font-size: 16px;
  line-height: 26px;
  color: var(--c-on-navy);
}
.accordion__item.is-open .accordion__panel > p { padding-bottom: 28px; }
/* Панель схлопывается одной строкой сетки, поэтому у неё должен быть ровно
   один ребёнок. Если абзацев несколько, второй попадает в неявную строку и
   остаётся видимым в закрытом состоянии — заворачиваем их в общий контейнер. */
.accordion__panel > .accordion__text { overflow: hidden; }
.accordion__text p { font-size: 16px; line-height: 26px; color: var(--c-on-navy); }
.accordion__text p + p { margin-top: 14px; }
.accordion__item.is-open .accordion__panel > .accordion__text { padding-bottom: 28px; }
/* блок на тёмном фоне — без подчёркивания ссылки не читаются как ссылки */
.accordion__panel a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.accordion__panel a:hover { color: var(--c-gold); }

/* ============================================================
   ОТЗЫВЫ
   ============================================================ */
.reviews { padding: 120px 0 0; }
.reviews .h2 { margin-top: 20px; }
.reviews__lead {
  margin-top: 20px;
  font-weight: 500;
  font-size: 20px;
  line-height: 29px;
  text-align: center;
}
.reviews .slider-nav { margin-top: 30px; }
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 60px;
  max-width: 1227px;
  margin-inline: auto;
}
.reviews .slider-nav__btn:disabled { opacity: .3; cursor: default; }
.review {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 27px 45px 45px;
  border-radius: var(--radius-sm);
  background: var(--c-bg-sand);
}
.review[hidden] { display: none; }
.review__quote {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 60px;
  line-height: 36px;
  color: var(--c-sand);
}
.review blockquote {
  margin: 30px 0 0;
  max-width: 504px;
  font-weight: 500;
  font-size: 20px;
  line-height: 33px;
  color: var(--c-ink-4);
}
/* длинные отзывы разбиты на абзацы — гасим браузерные отступы у <p> */
.review blockquote p { margin: 0; }
.review blockquote p + p { margin-top: 16px; }
/* margin-top: auto прижимает подпись к низу — карточки в паре выравниваются
   по нижнему краю независимо от длины отзыва */
.review figcaption { display: flex; flex-direction: column; gap: 5px; margin-top: auto; padding-top: 40px; }
.review__name { font-weight: 600; font-size: 15px; line-height: 18px; color: var(--c-sand); }
.review__role {
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--c-on-navy-2);
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
  position: relative;
  margin-top: 120px;
  padding: 92px 0 47px;
  min-height: 692px;
  display: flex;
  align-items: flex-start;
  background: url('../img/gallery-2.webp') center / cover no-repeat #000;
  color: #fff;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
}
.cta .container { position: relative; z-index: 1; }
.cta__title { color: #fff; max-width: 900px; margin-inline: auto; }
.cta__lead {
  max-width: 504px;
  margin: 40px auto 0;
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: 17px;
  line-height: 27px;
  text-align: center;
}
.cta__btn {
  display: flex;
  width: 279px;
  min-height: 59px;
  margin: 30px auto 0;
  padding: 20px 23px;
  white-space: nowrap;
}

/* ============================================================
   КОНТАКТЫ
   ============================================================ */
.contacts { padding: 70px 0; background: var(--c-cream); }
.contacts .container { width: min(100% - 196px, 1244px); }
.contacts__title { color: #292929; line-height: 45px; }
.contacts__phone {
  display: block;
  margin-top: 32px;
  font-family: var(--f-head);
  font-size: 59.7px;
  line-height: 74px;
  letter-spacing: 5.37px;
  text-transform: uppercase;
  text-align: center;
  color: var(--c-sand);
}
.contacts__link {
  display: block;
  width: fit-content;
  margin: 10px auto 0;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--c-accent);
  font-family: var(--f-head);
  font-size: 14px;
  line-height: 16px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--c-accent);
}
.contacts__grid {
  display: grid;
  grid-template-columns: 464px 754px;
  gap: 22px;
  align-items: center;
  margin-top: 56px;
}
.contacts__note {
  font-family: 'Raleway', Arial, sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 17px;
  letter-spacing: 1.96px;
  text-transform: uppercase;
  color: var(--c-muted-2);
}
.contacts__address {
  margin-top: 25px;
  font-family: var(--f-head);
  font-size: 32px;
  line-height: 40px;
  letter-spacing: 2.88px;
  text-transform: uppercase;
  color: var(--c-ink-3);
}
.contacts__hours { display: flex; flex-direction: column; gap: 6px; margin-top: 85px; }
.contacts__hours span {
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 1.44px;
  text-transform: uppercase;
  color: var(--c-ink-3);
}
.contacts__hours-label { color: var(--c-accent) !important; }
.contacts__mail {
  display: inline-block;
  margin-top: 85px;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 1.44px;
  text-transform: uppercase;
  color: var(--c-ink-3);
}
.contacts__map { border-radius: 6px; overflow: hidden; }
.contacts__map img { width: 100%; height: 415px; object-fit: cover; }
.contacts__map iframe { display: block; width: 100%; height: 415px; border: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 65px 0 40px;
  background: var(--c-navy);
  color: #fff;
}
.footer .container { width: min(100% - var(--gutter) * 2, 1352px); }
.footer__top {
  display: grid;
  grid-template-columns: 419px 93px 1fr;
  gap: 0;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--c-gold);
}
.footer__logo { width: 171px; margin-bottom: 27px; }
.footer__about {
  max-width: 364px;
  font-family: var(--f-ui);
  font-weight: 500;
  font-size: 14px;
  line-height: 24px;
  color: var(--c-on-navy-2);
}
.footer__col { display: flex; flex-direction: column; }
.footer__col--contacts { justify-self: end; width: 305px; }
.footer__col-title {
  margin-bottom: 18px;
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: 11.5px;
  line-height: 14px;
  letter-spacing: 1.61px;
  text-transform: uppercase;
  color: #fff;
}
.footer__col a {
  font-family: var(--f-ui);
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  color: var(--c-on-navy);
  transition: color .2s ease;
}
/* только для ссылок, лежащих в колонке напрямую (навигация);
   иконки соцсетей вложены в .socials и выстраиваются своим flex-ом */
.footer__col > a + a { margin-top: 12px; }
.footer__col a:hover { color: #fff; }
.footer__addr, .footer__phone, .footer__mail {
  font-family: var(--f-ui);
  font-weight: 500;
  font-size: 14px;
  line-height: 17px;
  color: #fff !important;
}
.footer__phone { margin-top: 22px; }

.socials { display: flex; gap: 8px; margin-top: 22px; }
.social {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border: 1px solid #fff;
  border-radius: 50%;
  transition: background-color .2s ease;
}
.social img { width: 19px; height: 19px; }
.social:hover { background: rgba(255, 255, 255, .14); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 26px;
  font-family: var(--f-ui);
  font-size: 12.5px;
  line-height: 15px;
  color: var(--c-on-navy-3);
}
.footer__bottom a:hover { color: #fff; }

/* ============================================================
   ВНУТРЕННИЕ СТРАНИЦЫ: ОБЩИЙ HERO
   ============================================================ */
.header__nav a.is-current,
.header__drop-btn.is-current { color: var(--c-gold); }

/* Первый экран у всех страниц одинаковый — как на главной: высота 763px,
   текст по центру. Раньше у каждой страницы была своя высота (от 380 до 729),
   и переходы между разделами выглядели рвано. Модификаторы теперь задают
   только картинку и степень затемнения. */
.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 763px;
  padding: 120px 0 110px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background-position: center;
  background-size: cover;
  background-color: #000;
  color: #fff;
  overflow: hidden;
}
.page-hero::before { content: ''; position: absolute; inset: 0; }
.page-hero--menu { background-image: url('../img/gallery-2.webp'); }
.page-hero--menu::before { background: rgba(0, 0, 0, .55); }
.page-hero--banquet { background-image: url('../img/banquet-hero.webp'); }
.page-hero--banquet::before { background: rgba(0, 0, 0, .46); }
.page-hero--venues { background-image: url('../img/gallery-interior-02.webp'); }
.page-hero--venues::before { background: rgba(0, 0, 0, .5); }
.page-hero--hall { background-image: url('../img/sv-hero.webp'); }
.page-hero--hall::before { background: rgba(0, 0, 0, .5); }
.page-hero--wip { background-image: url('../img/sections-bg.webp'); }
.page-hero--lobby { background-image: url('../img/lobby-hero.webp'); }
.page-hero--lobby::before { background: rgba(0, 0, 0, .5); }
.page-hero--dvorik { background-image: url('../img/dvorik-hero.webp'); }
/* кадр светлый и зелёный — затемняем сильнее, иначе заголовок теряется */
.page-hero--dvorik::before { background: rgba(0, 0, 0, .52); }
/* Кегль заголовка общий, как на остальных страницах. Название длинное,
   поэтому здесь шире сам контейнер — иначе «Французский дворик»
   не помещается в строку и разрывается. */
.page-hero--dvorik .page-hero__inner { width: min(100% - var(--gutter) * 2, 1120px); }

/* Ниже 1200px общий кегль падает до 44px и название снова перестаёт
   помещаться — дальше ведём свою шкалу. У правила два класса,
   поэтому общие размеры .page-hero__title его не перебьют. */
@media (max-width: 768px) {
  .page-hero--dvorik .page-hero__title { font-size: 30px; line-height: 38px; letter-spacing: 2px; }
  /* на телефоне первый экран ниже — как на главной */
  .page-hero { min-height: 620px; padding: 140px 0 80px; }
}
@media (max-width: 560px) {
  .page-hero--dvorik .page-hero__title { font-size: 24px; line-height: 32px; letter-spacing: 1.4px; }
}
@media (max-width: 400px) {
  .page-hero--dvorik .page-hero__title { font-size: 19px; line-height: 27px; letter-spacing: .8px; }
}

/* ============================================================
   ЛОББИ-БАР
   ============================================================ */
.lobby-intro { padding: 110px 0; }
.lobby-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.lobby-intro__media {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.lobby-intro__media img { width: 100%; height: 100%; object-fit: cover; }
.lobby-intro__body .h2 { margin-top: 18px; }
.lobby-intro__text {
  margin-top: 28px;
  font-weight: 500;
  font-size: 16px;
  line-height: 29px;
  color: var(--c-muted);
}
.lobby-intro__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 44px;
  padding-top: 34px;
  border-top: 1px solid var(--c-divider);
}
.lobby-fact__num {
  font-family: var(--f-head);
  font-size: 21px;
  line-height: 26px;
  letter-spacing: 1.2px;
  color: var(--c-accent);
}
.lobby-fact__text {
  margin-top: 9px;
  font-weight: 500;
  font-size: 14px;
  line-height: 22px;
  color: var(--c-muted);
}

/* «Это идеальное место, чтобы» — знак в кольце и строка текста */
.moments { padding: 0 0 110px; }
.moments__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 52px;
}
.moment {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 40px 26px 42px;
  border-radius: var(--radius-sm);
  background: var(--c-bg-sand);
  text-align: center;
}
.moment__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 67px;
  height: 67px;
  border: 1px solid var(--c-accent);
  border-radius: 50%;
  color: var(--c-accent);
}
.moment__icon svg { width: 29px; height: 29px; }
.moment__text {
  font-weight: 500;
  font-size: 15px;
  line-height: 25px;
  color: var(--c-ink-2);
}

/* ---------- Галерея залов на странице «Рестораны и залы» ---------- */
.halls-gallery { padding: 0 0 110px; }
.halls-gallery .tabs { margin-top: 40px; }
.halls-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 46px;
}
.halls-gallery__grid[hidden] { display: none; }
.halls-gallery__grid figure {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--c-bg-sand);
}
.halls-gallery__grid img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.halls-gallery__grid figure:hover img { transform: scale(1.04); }
.tab__count {
  margin-left: 8px;
  font-size: 12px;
  opacity: .7;
}

/* ---------- «Другие залы»: завершающая полоса ----------
   Отдельный компонент, а не .venue: там крупные карточки для архива,
   здесь нужна сдержанная подложка, которая закрывает страницу. */
.halls {
  margin-top: 40px;
  padding: 84px 0 92px;
  background: var(--c-navy);
}
.halls__eyebrow { color: var(--c-sand); }
.halls__title { color: #fff; }
.halls__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 52px;
}
.hall-tile {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: rgba(255, 255, 255, .06);
  transition: background-color .25s ease;
}
.hall-tile:hover { background: rgba(255, 255, 255, .11); }
.hall-tile__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.hall-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.hall-tile:hover .hall-tile__media img { transform: scale(1.05); }
.hall-tile__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  padding: 24px 24px 26px;
}
.hall-tile__name {
  font-family: var(--f-head);
  font-size: 20px;
  line-height: 26px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #fff;
}
.hall-tile__text {
  font-weight: 500;
  font-size: 14px;
  line-height: 22px;
  color: var(--c-on-navy-2);
}
.hall-tile__go {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  font-family: var(--f-head);
  font-size: 12.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--c-sand);
  transition: color .2s ease, gap .2s ease;
}
.hall-tile__go svg { width: 19px; height: 10px; }
.hall-tile:hover .hall-tile__go { color: var(--c-gold); gap: 14px; }

/* зал без своей страницы: приглушаем и подставляем знак вместо фото */
.hall-tile--soon .hall-tile__media {
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .04);
}
.hall-tile--soon .hall-tile__media img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  opacity: .3;
}
.hall-tile--soon .hall-tile__name { color: var(--c-on-navy-2); }
.hall-tile--soon:hover .hall-tile__media img { transform: none; }

/* Прайс лобби-бара: те же группы, что в общем меню, но разделов меньше —
   держим список поуже, иначе цена улетает далеко от названия */
.lobby-menu { padding: 0 0 110px; }
.lobby-menu__lead {
  max-width: 720px;
  margin: 22px auto 0;
  font-weight: 500;
  font-size: 16px;
  line-height: 27px;
  text-align: center;
  color: var(--c-muted);
}
.lobby-menu__lead a {
  color: var(--c-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.lobby-menu .menu-group { width: min(100%, 1000px); margin-inline: auto; }
.lobby-menu .menu-group:first-of-type { margin-top: 56px; }
.lobby-menu .menu-group__title { font-size: 26px; line-height: 32px; letter-spacing: 2.2px; }
.lobby-menu__note {
  width: min(100%, 1000px);
  margin: 44px auto 0;
  padding: 16px 22px;
  border-left: 2px solid var(--c-sand);
  background: rgba(46, 43, 40, .035);
  font-size: 13px;
  line-height: 20px;
  color: #6f6a64;
}

.hall-photos__note {
  max-width: 860px;
  margin: 46px auto 0;
  font-weight: 500;
  font-size: 16px;
  line-height: 29px;
  text-align: center;
  color: var(--c-muted);
}
.page-hero--wip::before { background: rgba(0, 0, 0, .55); }

.page-hero__inner {
  position: relative;
  z-index: 1;
  width: min(100% - var(--gutter) * 2, 939px);
  margin-inline: auto;
  text-align: center;
}
.page-hero__title {
  font-family: var(--f-head);
  font-size: 60px;
  line-height: 65px;
  letter-spacing: 4.68px;
  text-transform: uppercase;
}
.page-hero__lead {
  max-width: 685px;
  margin: 40px auto 0;
  font-weight: 500;
  font-size: 20px;
  line-height: 29px;
}
.page-hero__btn { margin-top: 42px; min-height: 66px; padding: 0 25px; }
.page-hero__btn--wide { padding: 0 26px; }

/* ============================================================
   СТРАНИЦА «МЕНЮ»
   ============================================================ */
.menu-tabs-wrap { padding-top: 56px; }
.menu-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}
.menu-tab {
  padding: 13px 13px;
  min-width: 156px;
  border: 1.3px solid var(--c-line);
  font-family: var(--f-head);
  font-size: 20.5px;
  line-height: 24px;
  letter-spacing: 1.92px;
  text-transform: uppercase;
  color: var(--c-line);
  transition: color .2s ease, border-color .2s ease;
}
.menu-tab.is-active, .menu-tab:hover { color: var(--c-accent); border-color: var(--c-accent); }

.menu {
  width: min(100% - var(--gutter) * 2, 1100px);
  margin-inline: auto;
  padding-top: 60px;
}
.menu[hidden] { display: none; }
.menu__note {
  margin-bottom: 44px;
  padding: 18px 22px;
  border-left: 2px solid var(--c-sand);
  background: rgba(46, 43, 40, .035);
  font-size: 13px;
  line-height: 20px;
  color: #6f6a64;
}
.menu__note a { color: var(--c-sand); }
.menu__note-list { margin: 12px 0 0; padding-left: 18px; }
.menu__note-list li { margin-top: 4px; }

/* ---------- Сеты завтраков ---------- */
.breakfasts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
  margin-top: 28px;
}
.breakfast {
  display: flex;
  flex-direction: column;
  padding: 30px 32px 34px;
  border-radius: var(--radius-sm);
  background: var(--c-bg-sand);
}
.breakfast__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.breakfast__name {
  margin: 0;
  font-family: var(--f-head);
  font-size: 24px;
  line-height: 30px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--c-ink);
}
.breakfast__price {
  margin: 0;
  flex: 0 0 auto;
  font-family: var(--f-head);
  font-size: 21px;
  line-height: 25px;
  color: var(--c-sand);
  white-space: nowrap;
}
.breakfast__effect {
  margin: 10px 0 0;
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--c-accent);
}
.breakfast__meta { margin: 8px 0 0; font-size: 11.5px; letter-spacing: .6px; color: #b0aaa2; }
.breakfast__list {
  margin: 20px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(46, 43, 40, .12);
  list-style: none;
}
.breakfast__list li {
  position: relative;
  padding-left: 16px;
  font-weight: 600;
  font-size: 14.5px;
  line-height: 22px;
  color: #2e2b28;
}
.breakfast__list li + li { margin-top: 8px; }
.breakfast__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c-sand);
}
.breakfast__text { margin: 18px 0 0; font-size: 13px; line-height: 21px; color: var(--c-muted); }

@media (max-width: 700px) {
  .breakfast { padding: 24px 22px 26px; }
  .breakfast__name { font-size: 20px; line-height: 26px; }
}
.menu-group + .menu-group { margin-top: 56px; }
.menu-group__title {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: var(--f-head);
  font-size: 32px;
  line-height: 37px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #2e2b28;
}
.menu-group__title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(46, 43, 40, .15);
}
.menu-group__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 64px;
  margin-top: 28px;
}
.dish {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 17px 0 16px;
  border-bottom: 1px solid rgba(46, 43, 40, .09);
}
.dish__name {
  font-weight: 600;
  font-size: 15px;
  line-height: 18px;
  color: #2e2b28;
}
/* ---------- Фото блюда при наведении ----------
   Отмечаем позиции, у которых фото есть: иначе непонятно, где наводить. */
.dish[data-photo] .dish__name {
  cursor: help;
  text-decoration: underline;
  text-decoration-color: rgba(46, 43, 40, .22);
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  transition: text-decoration-color .2s ease, color .2s ease;
}
.dish[data-photo]:hover .dish__name {
  color: var(--c-accent);
  text-decoration-color: var(--c-accent);
}

.dish-peek {
  position: fixed;
  z-index: 90;
  width: 232px;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: var(--c-cream);
  box-shadow: 0 18px 44px rgba(11, 31, 46, .26);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px) scale(.98);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  pointer-events: none;
}
.dish-peek.is-visible { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
/* Фото не кадрируем: снимки вертикальные, и любая фиксированная пропорция
   срезала само блюдо. Карточка подстраивается под фото. */
.dish-peek img {
  width: 100%;
  height: auto;
  border-radius: 2px;
  background: var(--c-bg-sand);
}
.dish-peek__cap {
  margin-top: 7px;
  padding: 0 2px 2px;
  font-size: 11px;
  line-height: 15px;
  letter-spacing: .2px;
  color: var(--c-muted);
}
/* на тач-экранах наведения нет — подсказку не показываем */
@media (hover: none) {
  .dish-peek { display: none; }
  .dish[data-photo] .dish__name { text-decoration: none; cursor: auto; }
}
.dish__meta {
  margin-top: 5px;
  font-size: 11px;
  line-height: 14px;
  letter-spacing: .6px;
  color: #b0aaa2;
}
.dish__desc {
  margin-top: 6px;
  font-size: 12px;
  line-height: 17px;
  color: #8a857e;
}
.dish__price {
  flex: 0 0 auto;
  margin-top: -3px;
  font-family: var(--f-head);
  font-size: 21px;
  line-height: 25px;
  color: var(--c-sand);
  white-space: nowrap;
}
.tag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 2px;
  background: rgba(75, 117, 133, .12);
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 9px;
  line-height: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #4b7585;
  vertical-align: 2px;
}

/* Блок «Меню с КБЖУ и доставкой» */
.promo {
  position: relative;
  padding: 95px 0 60px;
  background: var(--c-bg-sand);
  overflow: hidden;
  text-align: center;
}
.promo__ornament {
  position: absolute;
  top: 29px;
  left: 50%;
  transform: translateX(-50%);
  width: 831px;
  opacity: .55;
  pointer-events: none;
}
.promo .container { position: relative; z-index: 1; }
.promo__lead {
  max-width: 750px;
  margin: 20px auto 0;
  font-weight: 500;
  font-size: 20px;
  line-height: 29px;
}
.promo__btn { margin-top: 121px; width: 260px; padding: 20px 23px; }

/* ============================================================
   СТРАНИЦА «БАНКЕТЫ»
   ============================================================ */
.formats { padding-top: 104px; }
.formats .advantages__stage { margin-top: 24px; }
.formats .h2 { max-width: 728px; margin-inline: auto; }
.formats .adv { padding: 0 30px; }
.adv__title--lg { font-size: 25px; line-height: 29px; }

/* Условия и подарки */
.terms { padding-top: 120px; }
.terms .h2 { max-width: 728px; margin: 20px auto 0; }
.terms__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 50px;
}
.terms__card {
  min-height: 413px;
  padding: 36px 39px 30px;
  border-radius: var(--radius-sm);
  background: var(--c-circle);
}
.terms__card-title {
  font-family: var(--f-head);
  font-size: 32px;
  line-height: 37px;
  text-transform: uppercase;
  color: #2e2b28;
}
.terms__list { margin-top: 24px; }
.terms__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 25px;
  border-bottom: 1px solid rgba(46, 43, 40, .09);
}
.terms__row:last-child { border-bottom: 0; }
.terms__label {
  font-weight: 600;
  font-size: 15px;
  line-height: 18px;
  color: #2e2b28;
}
.terms__value {
  font-family: var(--f-head);
  font-size: 21px;
  line-height: 25px;
  color: var(--c-sand);
  white-space: nowrap;
}

.gifts { margin: 32px 0 0; padding: 0; list-style: none; }
.gift { display: flex; align-items: center; gap: 21px; }
.gift + .gift { margin-top: 32px; }
.gift__icon { flex: 0 0 42px; width: 42px; height: 42px; }
.gift__text {
  font-weight: 600;
  font-size: 15px;
  line-height: 18px;
  color: #2e2b28;
}
.gift__text span { display: block; color: var(--c-sand); }

.terms__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 50px;
}
.terms__btn { width: 326px; }

/* Почему «Паруса» */
.why {
  position: relative;
  margin-top: 120px;
  padding: 68px 0;
  background: #4b7585;
  overflow: hidden;
}
.why::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/banner-kitchen.webp') center / cover no-repeat;
  opacity: .2;
}
.why .container { position: relative; z-index: 1; }
.why__title { color: #fff; margin-top: 20px; }
.why__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 60px;
}
.why__card {
  min-height: 276px;
  padding: 42px 46px 37px;
  background: #fff;
}
.why__num {
  display: block;
  font-family: var(--f-head);
  font-size: 34px;
  line-height: 40px;
  color: var(--c-sand);
}
.why__name {
  margin-top: 69px;
  font-family: var(--f-head);
  font-size: 26px;
  line-height: 30px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--c-sand);
}
.why__text {
  margin-top: 14px;
  font-size: 14px;
  line-height: 23px;
  color: var(--c-ink-2);
}

/* Услуги под ключ */
.turnkey { padding: 68px 0 179px; }
.turnkey .sections__grid { margin-top: 56px; }
.glass-card--rich {
  justify-content: flex-start;
  gap: 15px;
  padding: 105px 28px 43px;
}
.glass-card--rich .glass-card__text {
  font-weight: 500;
  font-size: 16px;
  line-height: 29px;
  color: #fff;
}
/* Кружок как у дизайнера, но со знаком услуги вместо стрелки:
   композиция сохраняется, а ложного обещания перехода больше нет. */
.icon-circle {
  display: grid;
  place-items: center;
  width: 67px;
  height: 67px;
  margin-top: auto;
  border: 1px solid rgba(255, 255, 255, .44);
  border-radius: 50%;
  color: rgba(255, 255, 255, .82);
}
.icon-circle svg { width: 27px; height: 27px; }

/* Форма на странице «Банкеты» */
.booking--banquet {
  position: relative;
  margin-top: 0;
  padding: 59px 0;
  border-radius: 0;
  background: rgba(235, 230, 223, .48);
  overflow: hidden;
}
.booking__ornament {
  position: absolute;
  top: 66px;
  left: 50%;
  transform: translateX(calc(-50% + 437px));
  width: 183px;
  pointer-events: none;
}
.booking--banquet .container { position: relative; z-index: 1; }

/* ============================================================
   ШИРОКОФОРМАТНЫЕ ЭКРАНЫ (от 1600px)

   Макет свёрстан под ширину 1440px в фиксированных пикселях.
   Чтобы на больших мониторах сохранялись пропорции макета
   (а не росли только поля по бокам), вся страница масштабируется
   ступенями: коэффициент = ширина экрана / 1440.
   Полноэкранные фоны при этом остаются во всю ширину.
   ============================================================ */
@media (min-width: 1600px) {
  body { zoom: 1.11; }
  /* внутри zoom пиксели уже масштабируются — vw-формула здесь лишняя */
  .gallery__item { flex: 0 0 408px; }
}
@media (min-width: 1700px) { body { zoom: 1.18; } }
@media (min-width: 1800px) { body { zoom: 1.25; } }
@media (min-width: 1900px) { body { zoom: 1.32; } }
@media (min-width: 2000px) { body { zoom: 1.39; } }
@media (min-width: 2100px) { body { zoom: 1.46; } }
@media (min-width: 2200px) { body { zoom: 1.53; } }
@media (min-width: 2300px) { body { zoom: 1.60; } }
@media (min-width: 2400px) { body { zoom: 1.67; } }
@media (min-width: 2560px) { body { zoom: 1.78; } }
@media (min-width: 2800px) { body { zoom: 1.94; } }
@media (min-width: 3000px) { body { zoom: 2.08; } }
@media (min-width: 3200px) { body { zoom: 2.22; } }
@media (min-width: 3440px) { body { zoom: 2.39; } }
@media (min-width: 3800px) { body { zoom: 2.64; } }

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 1439px) {
  .advantages__stage {
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 345px));
    justify-content: center;
    gap: 24px;
  }
  .adv { position: static; width: 100%; max-width: 345px; aspect-ratio: 1; height: auto; }
  .adv--2, .adv--4 { justify-self: end; }
  .advantages__ornament { display: none; }
  .about__grid { grid-template-columns: 252px minmax(0, 1fr) 400px; column-gap: 48px; row-gap: 100px; }
  .about__ornament { display: none; }
  .faq__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; }
  .contacts__grid { grid-template-columns: minmax(0, 400px) minmax(0, 1fr); }
  .footer__top { grid-template-columns: minmax(0, 1fr) 93px 305px; gap: 40px; }
  .booking__ornament { display: none; }
}

@media (max-width: 1200px) {
  :root { --gutter: 32px; --section-gap: 90px; }
  .h2 { font-size: 38px; line-height: 48px; }
  .hero__title { font-size: 48px; line-height: 56px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .sections__grid { grid-template-columns: repeat(2, 1fr); }
  .services__ornament { width: 600px; }
  .contacts .container { width: min(100% - 64px, 1244px); }
  .contacts__phone { font-size: 44px; line-height: 56px; letter-spacing: 3px; }

  .page-hero__title { font-size: 44px; line-height: 52px; letter-spacing: 3px; }
  .menu-group__list { column-gap: 40px; }
  .promo__btn { margin-top: 60px; }
  .terms__btn { width: auto; min-width: 280px; }
  .turnkey { padding-bottom: 110px; }
}

@media (max-width: 992px) {
  .header__nav {
    position: fixed;
    inset: 0 0 auto;
    flex-direction: column;
    gap: 18px;
    padding: 100px 32px 40px;
    background: var(--c-navy);
    transform: translateY(-100%);
    transition: transform .35s ease;
  }
  .header__nav.is-open { transform: translateY(0); }
  .header__nav { align-items: stretch; }
  .header__nav a,
  .header__drop-btn { font-size: 16px; }

  /* в бургере список раскрывается на месте, а не всплывает */
  .header__drop-btn { justify-content: space-between; width: 100%; }
  .header__drop-caret { width: 12px; height: 8px; }
  .header__drop-menu,
  .header__drop:hover .header__drop-menu,
  .header__drop:focus-within .header__drop-menu {
    content-visibility: visible;
    position: static;
    min-width: 0;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .3s ease;
  }
  .header__drop.is-open .header__drop-menu { grid-template-rows: 1fr; }
  .header__drop-menu::before { display: none; }
  /* обёртка — единственная строка грида, её и схлопываем.
     visibility убирает свёрнутые ссылки из обхода табом */
  .header__drop-list {
    overflow: hidden;
    visibility: hidden;
    transition: visibility .3s;
  }
  .header__drop.is-open .header__drop-list { visibility: visible; }
  .header__drop-menu a {
    padding: 0 0 0 18px;
    font-size: 14px;
    line-height: 34px;
  }
  .header__drop-menu a:first-child { margin-top: 14px; }
  .burger { display: block; z-index: 60; }
  .header__inner { grid-template-columns: auto 1fr auto; }
  .header__logo { justify-self: start; }
  /* телефон и адрес прячем вместе — они есть в секции «Контакты» */
  .header__actions .header__contacts { display: none; }

  .about__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    row-gap: 48px;
  }
  .about__head { grid-column: 1 / -1; }
  .about__photo-sm { grid-column: 1; grid-row: 3; }
  .about__text { grid-column: 2; grid-row: 3; }
  .about__photo-lg { grid-column: 1 / -1; grid-row: 2; }
  .about__photo-lg img { height: 420px; }

  .banquet__cols { grid-template-columns: 1fr; gap: 24px; padding: 0; }
  .banquet__cols p + p::before { display: none; }
  .banquet__photos { grid-template-columns: 1fr; }
  .banquet__photos img { height: 260px; }

  .faq__grid { grid-template-columns: 1fr; gap: 32px; }
  .reviews__grid { grid-template-columns: 1fr; }
  .contacts__grid { grid-template-columns: 1fr; gap: 40px; }
  .contacts__map img, .contacts__map iframe { height: 320px; }

  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer__col--contacts { justify-self: start; }
  .footer__brand { grid-column: 1 / -1; }

  .form__row--2, .form__row--3 { grid-template-columns: 1fr; gap: 28px; }
  .form__row + .form__row { margin-top: 28px; }

  .menu-group__list { grid-template-columns: 1fr; }
  .terms__grid, .why__grid { grid-template-columns: 1fr; }
  .terms__actions { flex-direction: column; align-items: center; }
  .terms__card { min-height: 0; }
  .why__card { min-height: 0; }
  .why__name { margin-top: 40px; }
  .glass-card--rich { padding: 48px 24px 32px; }
}

@media (max-width: 768px) {
  :root { --gutter: 20px; }
  .h2 { font-size: 30px; line-height: 40px; }
  .hero { min-height: 620px; padding: 140px 0 80px; }
  .hero__title { font-size: 36px; line-height: 44px; letter-spacing: 3px; }
  .hero__lead { font-size: 17px; line-height: 26px; }
  .hero__lead br, .banquet__lead br, .reviews__lead br, .sections__lead br { display: none; }

  .about { padding-top: 80px; }
  .about__grid { grid-template-columns: 1fr; }
  .about__photo-sm, .about__text { grid-column: 1; }
  .about__photo-sm { grid-row: 3; }
  .about__text { grid-row: 4; }
  .about__photo-sm img { width: 100%; height: 240px; }
  .about__text .btn, .banner__inner .btn, .gallery__footer .btn,
  .banquet__actions .btn, .form__submit { width: 100%; max-width: 340px; }

  .banner, .booking, .faq { margin-top: 80px; }
  .services { padding: 80px 0; }
  .services__grid { grid-template-columns: 1fr; }
  .sections__grid { grid-template-columns: 1fr; }
  .glass-card { height: 320px; }
  .gallery, .advantages, .banquet, .reviews { padding-top: 80px; }
  .cta { margin-top: 80px; padding: 70px 0 60px; min-height: 520px; }
  .cta__title { font-size: 30px; line-height: 40px; }

  .gallery__track { width: auto; flex: 0 0 auto; }
  .gallery__item { flex: 0 0 280px; height: 340px; aspect-ratio: auto; }
  .gallery__viewport {
    justify-content: flex-start;
    overflow-x: auto;
    padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .gallery__viewport::-webkit-scrollbar { display: none; }

  .advantages__stage { grid-template-columns: minmax(0, 300px); }
  .adv--2, .adv--4 { justify-self: center; }
  /* круг здесь меньше, а заголовок переносится на три строки —
     держим текст ближе к цифре, иначе он проваливается вниз */
  .adv { padding: 0 40px; }
  .adv__title { margin-top: 22px; }

  .banquet__actions { flex-direction: column; align-items: center; }
  .contacts__phone { font-size: 32px; line-height: 42px; letter-spacing: 2px; }
  .contacts__address { font-size: 24px; line-height: 32px; }
  .contacts__hours, .contacts__mail { margin-top: 32px; }
  .review { padding: 24px 24px 32px; }
  .review blockquote { font-size: 17px; line-height: 28px; }

  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 10px; }
  .social { width: 56px; height: 56px; }

  .page-hero__title { font-size: 32px; line-height: 40px; letter-spacing: 2px; }
  .page-hero__lead { font-size: 17px; line-height: 26px; }
  .page-hero__lead br { display: none; }
  .page-hero__btn { width: 100%; max-width: 340px; }
  .menu-tab { min-width: 0; font-size: 15px; letter-spacing: 1.2px; }
  .menu-group__title { font-size: 24px; line-height: 30px; letter-spacing: 2px; gap: 16px; }
  .terms__card { padding: 28px 20px; }
  .terms__card-title, .promo .h2, .why .h2 { font-size: 24px; line-height: 32px; }
  .why__card { padding: 28px 24px; }
  /* Подпись и сумма стояли в одну строку, а сумма не переносилась
     («при бронировании»). Ниже 380px это распирало страницу вширь —
     на узком экране ставим их друг под другом. */
  .terms__row { flex-direction: column; align-items: flex-start; gap: 4px; padding: 18px 0 19px; }
  .terms__value { white-space: normal; }
  .terms__btn, .promo__btn { width: 100%; max-width: 340px; }
  .formats { padding-top: 80px; }
  .terms { padding-top: 80px; }
  .why { margin-top: 80px; padding: 50px 0; }
  .turnkey { padding: 50px 0 70px; }
}

/* ============================================================
   АРХИВ ЗАЛОВ (страница «Рестораны»)
   ============================================================ */
.venues { padding: 60px 0 120px; }
.venues__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 56px;
}
.venue {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--c-bg-sand);
}
.venue__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--c-circle);
}
.venue__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.venue:hover .venue__media img { transform: scale(1.04); }
.venue__body { display: flex; flex-direction: column; flex: 1; padding: 30px 36px 36px; }
.venue__name {
  margin: 0;
  font-family: var(--f-head);
  font-size: 26px;
  line-height: 32px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--c-ink);
}
.venue__text {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 24px;
  color: var(--c-muted);
}
.venue__foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 26px;
  font-family: var(--f-head);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--c-accent);
}
.venue__foot svg { width: 19px; height: 10px; }
.venue__link { position: absolute; inset: 0; z-index: 2; }
.venue:hover .venue__name { color: var(--c-accent); }

/* Зал без контента — «скоро». Заглушка ниже фотокарточек,
   но обе такие карточки в одном ряду, поэтому сетка не разъезжается. */
.venue--soon .venue__media {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 7;
  background: linear-gradient(135deg, #ecebe7, #f6f3f0);
}
.venue--soon .venue__media img { width: 150px; height: auto; opacity: .5; transform: none; }
.venue--soon:hover .venue__media img { transform: none; }
.venue__badge {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 3;
  padding: 7px 14px;
  border-radius: 2px;
  background: rgba(11, 31, 46, .72);
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #fff;
}
.venue--soon .venue__foot { color: var(--c-muted-2); }

/* ============================================================
   ЗАЛ ШВЕДСКОЙ ЛИНИИ — три линии раздачи
   ============================================================ */
.lines { padding: 0 0 110px; }
.lines__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-top: 52px;
}
.line-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--c-bg-sand);
}
.line-card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.line-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.line-card:hover .line-card__media img { transform: scale(1.04); }
.line-card__body { flex: 1; padding: 28px 30px 32px; }
.line-card__name {
  margin: 0;
  font-family: var(--f-head);
  font-size: 23px;
  line-height: 29px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--c-ink);
}
.line-card__text { margin: 14px 0 0; font-size: 15px; line-height: 25px; color: var(--c-muted); }

/* ---------- Галерея зала ---------- */
.hall-photos { padding: 0 0 110px; }
.hall-photos__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 50px;
}
/* пропорции задаём ячейке, а не картинке: тогда широкие кадры не задают
   ряду свою высоту, а тянутся до высоты обычных — пустот под ними нет */
.hall-photos__grid figure {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
/* картинку выводим из потока: иначе широкая ячейка берёт высоту от неё
   и задирает весь ряд, оставляя пустоту под обычными плитками */
.hall-photos__grid img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.hall-photos__grid figure:hover img { transform: scale(1.05); }
/* два кадра пошире — сетка перестаёт быть монотонной.
   aspect-ratio: auto, чтобы высоту им задал ряд, а не собственные пропорции */
.hall-photos__grid figure:nth-child(1),
.hall-photos__grid figure:nth-child(8) { grid-column: span 2; aspect-ratio: auto; }

/* Ровная сетка без широких плиток — когда кадров кратно трём */
.hall-photos__grid--even { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hall-photos__grid--even figure:nth-child(1),
.hall-photos__grid--even figure:nth-child(8) { grid-column: span 1; aspect-ratio: 3 / 2; }

/* ---------- Правила у шведского стола ---------- */
.rules { padding: 0 0 110px; }

.rules-intro { max-width: 860px; margin: 30px auto 0; }
.rules-intro p { margin: 0; font-size: 17px; line-height: 30px; text-align: center; color: var(--c-muted); }
.rules-intro p + p { margin-top: 16px; }

.rules-why {
  max-width: 900px;
  margin: 46px auto 0;
  padding: 32px 38px;
  border-radius: var(--radius-sm);
  background: var(--c-bg-sand);
}
.rules-why__title {
  margin: 0 0 14px;
  font-family: var(--f-head);
  font-size: 20px;
  line-height: 27px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--c-ink);
}
.rules-why p { margin: 0; font-size: 15.5px; line-height: 27px; color: var(--c-muted); }

/* Правила: слева список, справа выбранное правило с фото.
   В отличие от аккордеона видно и весь перечень, и раскрытый текст. */
.rule-tabs {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 44px;
  margin-top: 54px;
  padding: 44px;
  border: 1px solid rgba(194, 154, 92, .34);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #fffefb, var(--c-bg-sand));
}
.rule-tabs__nav { display: flex; flex-direction: column; }
.rule-tabs__tab {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 15px 16px;
  border-left: 2px solid rgba(46, 43, 40, .12);
  text-align: left;
  transition: border-color .2s ease, background .2s ease;
}
.rule-tabs__tab:hover { background: rgba(255, 255, 255, .45); }
.rule-tabs__tab.is-active { border-left-color: var(--c-sand); background: rgba(255, 255, 255, .72); }
.rule-tabs__num {
  flex: 0 0 auto;
  font-family: var(--f-head);
  font-size: 12px;
  letter-spacing: 1.4px;
  color: var(--c-sand);
}
.rule-tabs__name { font-weight: 600; font-size: 15px; line-height: 22px; color: var(--c-muted); }
.rule-tabs__tab.is-active .rule-tabs__name { color: var(--c-ink); }

.rule-tabs__panels { position: relative; height: 100%; }
.rule-panel { display: none; }
/* stretch + height 100% — чтобы фото тянулось на всю высоту списка правил */
.rule-panel.is-active {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 36px;
  align-items: stretch;
  height: 100%;
}
/* Фото уходит в фон: приглушаем и слегка размываем, сверху — знак правила.
   scale(1.08) прячет светлую кайму, которую даёт blur по краям кадра. */
.rule-panel__media {
  position: relative;
  min-height: 380px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--c-dark);
}
.rule-panel__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px) brightness(.88) saturate(.92);
  transform: scale(1.08);
}
/* Кадр держим светлым, а мягкое затемнение собираем к центру — только там,
   где лежит кольцо. Так знак читается на любом фото, а панель не выглядит глухой. */
.rule-panel__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(11, 31, 46, .46) 0, rgba(11, 31, 46, .18) 28%, rgba(11, 31, 46, 0) 58%),
    linear-gradient(165deg, rgba(11, 31, 46, .08), rgba(11, 31, 46, .24));
}
.rule-panel__icon {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
}
/* кольцо со знаком — как у услуг на странице банкетов:
   тонкая окружность и небольшой знак внутри, пропорция та же */
.rule-panel__ring {
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 50%;
  color: #fff;
  /* тень по контуру: знак читается и на светлых кадрах, при этом
     затемнять всю панель не приходится */
  filter: drop-shadow(0 1px 6px rgba(11, 31, 46, .55));
}
.rule-panel__icon svg { width: 54px; height: 54px; }
.rule-panel__num { font-family: var(--f-head); font-size: 13px; letter-spacing: 2px; color: var(--c-sand); }
.rule-panel__name {
  margin: 12px 0 16px;
  font-family: var(--f-head);
  font-size: 26px;
  line-height: 33px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--c-ink);
}
.rule-panel__body p { margin: 0; font-size: 15.5px; line-height: 28px; color: var(--c-muted); }
.rule-panel__body p + p { margin-top: 14px; }

.rules-dont {
  max-width: 900px;
  margin: 54px auto 0;
  padding: 32px 38px;
  border-left: 2px solid var(--c-sand);
  background: rgba(46, 43, 40, .04);
}
.rules-dont__title {
  margin: 0 0 12px;
  font-family: var(--f-head);
  font-size: 19px;
  line-height: 25px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--c-ink);
}
.rules-dont p { margin: 0; font-size: 15.5px; line-height: 27px; color: var(--c-muted); }

.rules-outro { max-width: 860px; margin: 54px auto 0; text-align: center; }
.rules-outro__title {
  margin: 0 0 16px;
  font-family: var(--f-head);
  font-size: 24px;
  line-height: 32px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--c-ink);
}
.rules-outro p { margin: 0; font-size: 16px; line-height: 29px; color: var(--c-muted); }
.rules-outro p + p { margin-top: 14px; }

@media (max-width: 1024px) {
  .rule-tabs { grid-template-columns: 1fr; gap: 26px; padding: 26px 22px; border-radius: var(--radius-sm); }
  /* на узком экране список правил превращается в горизонтальную ленту */
  .rule-tabs__nav { flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 6px; scrollbar-width: none; }
  .rule-tabs__nav::-webkit-scrollbar { display: none; }
  .rule-tabs__tab {
    flex: 0 0 auto;
    flex-direction: column;
    gap: 4px;
    min-width: 150px;
    border-left: 0;
    border-bottom: 2px solid rgba(46, 43, 40, .12);
  }
  .rule-tabs__tab.is-active { border-bottom-color: var(--c-sand); }
  .rule-panel.is-active { grid-template-columns: 1fr; gap: 22px; height: auto; }
  .rule-panel__media { min-height: 0; }
  .rule-panel__media img { aspect-ratio: 4 / 3; height: auto; }
  .rule-panel__ring { width: 108px; height: 108px; }
  .rule-panel__icon svg { width: 44px; height: 44px; }
}

@media (max-width: 1024px) {
  .lines__grid { grid-template-columns: 1fr; gap: 22px; }
  .hall-photos__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  /* в две колонки широкая плитка занимает ряд одна, соседей нет —
     поэтому высоту ей нужно задать явно, панорамой */
  .hall-photos__grid figure:nth-child(1),
  .hall-photos__grid figure:nth-child(8) { grid-column: span 2; aspect-ratio: 3 / 1.25; }
  .hall-photos__grid--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hall-photos__grid--even figure:nth-child(1) { grid-column: span 1; aspect-ratio: 3 / 2; }

  .lobby-intro { padding: 70px 0; }
  .lobby-intro__grid { grid-template-columns: 1fr; gap: 36px; }
  .lobby-intro__media { aspect-ratio: 4 / 3; }
  .moments__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .halls__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .halls-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}

@media (max-width: 700px) {
  .lines, .hall-photos, .rules, .moments, .lobby-menu { padding-bottom: 70px; }
  .halls__grid { grid-template-columns: 1fr; gap: 16px; }
  .halls { padding: 60px 0 66px; }
  .halls-gallery { padding-bottom: 70px; }
  .halls-gallery__grid { grid-template-columns: 1fr; }
  .lobby-menu .menu-group__title { font-size: 22px; line-height: 28px; letter-spacing: 1.6px; }
  .hall-photos__grid { grid-template-columns: 1fr; }
  .hall-photos__grid figure:nth-child(1),
  .hall-photos__grid figure:nth-child(8) { grid-column: span 1; aspect-ratio: 3 / 2; }
  .hall-photos__grid--even { grid-template-columns: 1fr; }
  .line-card__body { padding: 22px 22px 26px; }
  .lobby-intro__facts { grid-template-columns: 1fr; gap: 18px; margin-top: 32px; padding-top: 26px; }
  .moments__grid { grid-template-columns: 1fr; }
  .moment { flex-direction: row; align-items: center; gap: 18px; padding: 22px 24px; text-align: left; }
  .moment__icon { width: 56px; height: 56px; }
  .moment__icon svg { width: 25px; height: 25px; }
  .hall-photos__note { margin-top: 34px; font-size: 15px; line-height: 26px; }
  .rules-why, .rules-dont { padding: 24px 22px; }
  .rule-panel__name { font-size: 21px; line-height: 28px; }
  .rules-outro__title { font-size: 20px; line-height: 27px; }
}

/* ============================================================
   ДОСТАВКА — раздел до запуска сервиса
   ============================================================ */
.delivery { padding: 120px 0; }
.delivery__box {
  position: relative;
  max-width: 980px;
  margin-inline: auto;
  padding: 66px 60px 70px;
  border-radius: var(--radius-lg);
  background: var(--c-bg-sand);
  text-align: center;
  overflow: hidden;
}
.delivery__ornament {
  position: absolute;
  right: -60px;
  bottom: -70px;
  width: 320px;
  opacity: .3;
  pointer-events: none;
}
.delivery__inner { position: relative; z-index: 1; }
.delivery__badge {
  display: inline-block;
  margin-bottom: 20px;
  padding: 8px 16px;
  border-radius: 2px;
  background: var(--c-sand);
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #fff;
}
.delivery__lead {
  max-width: 620px;
  margin: 22px auto 0;
  font-size: 18px;
  line-height: 30px;
  color: var(--c-muted);
}
.delivery__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; margin-top: 40px; }

/* Плашка «скоро» на карточке направления */
.service__card { position: relative; }
.service__soon {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  padding: 7px 13px;
  border-radius: 2px;
  background: rgba(11, 31, 46, .74);
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #fff;
}

/* ============================================================
   АФИША МЕРОПРИЯТИЙ (в поп-апе)
   ============================================================ */
/* Стрелки листания — общий .slider-nav, стоят в шапке рядом с крестиком */
.modal__actions { flex: none; display: flex; align-items: center; gap: 32px; }
.events-nav[hidden] { display: none; }
#eventsModal .modal__body { padding-top: 36px; }

/* Карточка: фото слева, текст справа. Высота карточки = высота фото (3:4),
   песочный фон на всю эту высоту. Длинный текст обрезается по высоте фото,
   под ним «Показать больше» — карточка вытягивается вниз.
   align-items: start — раскрытая карточка не растягивает соседнюю в ряду. */
.events {
  --event-photo: 240px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(520px, 1fr));
  align-items: start;
  gap: 24px;
}
.event {
  display: grid;
  grid-template-columns: var(--event-photo) minmax(0, 1fr);
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--c-bg-sand);
}
/* display: grid перебивает атрибут hidden — без этого слайдер не прячет карточки */
.event[hidden] { display: none; }
.event--no-photo { grid-template-columns: minmax(0, 1fr); }
.event__poster { align-self: start; aspect-ratio: 3 / 4; overflow: hidden; background: var(--c-circle); }
.event__poster img { display: block; width: 100%; height: 100%; object-fit: cover; }
.event__body {
  display: flex;
  flex-direction: column;
  max-height: calc(var(--event-photo) * 4 / 3);
  padding: 26px 28px 24px;
}
.event.is-open .event__body { max-height: none; }
.event__date {
  margin: 0;
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--c-accent);
}
.event__name {
  margin: 12px 0 0;
  font-family: var(--f-head);
  font-size: 22px;
  line-height: 28px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--c-ink);
}
.event__text { margin: 12px 0 0; font-size: 14px; line-height: 23px; color: var(--c-muted); }
.event__more { position: relative; flex: 1 1 auto; min-height: 0; margin-top: 12px; overflow: hidden; }
.event__more .event__text { margin-top: 0; }
.event.is-open .event__more { overflow: visible; }
.event.has-more:not(.is-open) .event__more::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 64px;
  background: linear-gradient(rgba(246, 243, 240, 0), var(--c-bg-sand));
  pointer-events: none;
}
.event__toggle {
  display: none;
  align-self: flex-start;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 0;
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--c-accent);
  transition: color .2s ease;
}
.event__toggle:hover { color: var(--c-dark); }
.event__toggle svg { width: 10px; height: 6px; transition: transform .25s cubic-bezier(.22, 1, .36, 1); }
.event.is-open .event__toggle svg { transform: rotate(180deg); }
.event.has-more .event__toggle { display: inline-flex; }

/* Афиши ещё нет либо все прошли */
.events--empty { display: block; }
.events-empty {
  position: relative;
  overflow: hidden;
  padding: 76px 48px 80px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(194, 154, 92, .38);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(255, 255, 255, .9), transparent 70%),
    linear-gradient(160deg, var(--c-bg-sand), #efece7);
  text-align: center;
}
.events-empty__ornament {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 620px;
  max-width: none;
  transform: translate(-50%, -50%);
  opacity: .16;
  pointer-events: none;
}
.events-empty__inner { position: relative; z-index: 1; }
.events-empty__title {
  margin: 18px 0 0;
  font-family: var(--f-head);
  font-size: 40px;
  line-height: 50px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-ink);
}
.events-empty__rule {
  display: block;
  width: 64px;
  height: 1px;
  margin: 30px auto 0;
  background: var(--c-gold);
}
.events-empty__text {
  max-width: 560px;
  margin: 28px auto 0;
  font-size: 16px;
  line-height: 28px;
  color: var(--c-muted);
}
.events-empty__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 38px; }
.events-empty__links .btn { min-width: 190px; }

@media (max-width: 900px) {
  .delivery { padding: 80px 0; }
  .delivery__box { padding: 44px 24px 48px; border-radius: var(--radius-sm); }
  .delivery__actions .btn { width: 100%; max-width: 340px; }
  .events { grid-template-columns: 1fr; gap: 18px; }
  .event { grid-template-columns: 1fr; }
  .event__poster { max-height: 460px; }
  .event__body { max-height: none; padding: 22px; }
  .event__more { max-height: calc(23px * 7); }
  .event.is-open .event__more { max-height: none; }
  .modal__actions { gap: 20px; }
  #eventsModal .modal__body { padding-top: 24px; }
  /* заголовок не влезает рядом со стрелками: стрелки и крестик — в строку с «афиша», заголовок ниже */
  #eventsModal .modal__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 16px; }
  #eventsModal .modal__head > div:first-child { display: contents; }
  #eventsModal .modal__head .eyebrow { grid-area: 1 / 1; }
  #eventsModal .modal__actions { grid-area: 1 / 2; }
  #eventsModal .modal__title { grid-area: 2 / 1 / 3 / 3; margin-top: 6px; }
  .events-empty { padding: 50px 22px 54px; border-radius: var(--radius-sm); }
  .events-empty__title { font-size: 26px; line-height: 34px; letter-spacing: 2px; }
  .events-empty__text { font-size: 15px; line-height: 26px; margin-top: 22px; }
  .events-empty__ornament { width: 420px; }
  .events-empty__links { gap: 12px; }
  .events-empty__links .btn { width: 100%; max-width: 300px; }
}

/* ============================================================
   СТРАНИЦА В РАЗРАБОТКЕ
   ============================================================ */
.wip { padding: 200px 0 140px; text-align: center; }
.wip__ornament { width: 180px; margin: 0 auto 40px; opacity: .45; }
.wip__lead {
  max-width: 620px;
  margin: 22px auto 0;
  font-size: 18px;
  line-height: 30px;
  color: var(--c-muted);
}
.wip__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; margin-top: 46px; }

/* ============================================================
   ГАЛЕРЕЯ ЗАЛА (простая сетка)
   ============================================================ */
/* верхний отступ обязателен: иначе блок прилипает к hero и его скруглённый край не читается */
.hall-gallery { padding: 100px 0 120px; }
.hall-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 50px;
}
.hall-gallery__grid figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; }
.hall-gallery__grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.hall-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 56px;
}
.hall-fact { padding: 28px 30px; border-radius: var(--radius-sm); background: var(--c-bg-sand); }
.hall-fact__num {
  font-family: var(--f-head);
  font-size: 34px;
  line-height: 40px;
  color: var(--c-sand);
}
.hall-fact__text { margin: 10px 0 0; font-size: 14px; line-height: 22px; color: var(--c-muted); }

@media (max-width: 900px) {
  .venues__grid { grid-template-columns: 1fr; gap: 24px; }
  .venue__body { padding: 24px 24px 28px; }
  .venue__name { font-size: 22px; line-height: 28px; }
  .hall-gallery { padding: 64px 0 80px; }
  .hall-gallery__grid { grid-template-columns: 1fr; gap: 16px; }
  .hall-facts { grid-template-columns: 1fr; gap: 16px; }
  .wip { padding: 150px 0 100px; }
}

/* ============================================================
   ПОП-АП ФОТОГАЛЕРЕИ
   ============================================================ */
.gallery__footer { gap: 20px; flex-wrap: wrap; }

/* z-index выше мобильной панели сайта (10000): иначе она закрывала низ поп-апа */
.modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: rgba(11, 31, 46, .55);
  backdrop-filter: blur(3px);
}
.modal[hidden] { display: none; }
/* плавающие кнопки TravelLine («Скидки» — z 2147483641, «Узнать цены» — z 1000000) висят поверх всего;
   прячем их, пока открыт поп-ап, — тот же приём, что у мобильной панели сайта со шторкой */
body:has(#eventsModal:not([hidden]), #galleryModal:not([hidden])) :is(.tl-widgets-container, .x-tl-booking-widget-container) { display: none !important; }

.modal__dialog {
  display: flex;
  flex-direction: column;
  width: min(100%, 1240px);
  max-height: 100%;
  border-radius: var(--radius-lg);
  background: var(--c-cream);
  overflow: hidden;
}
.modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 44px 0;
}
.modal__title {
  margin: 12px 0 0;
  font-family: var(--f-head);
  font-size: 32px;
  line-height: 38px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c-ink);
}
.modal__close {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--c-line);
  border-radius: 50%;
  color: var(--c-ink);
  transition: color .2s ease, border-color .2s ease;
}
.modal__close svg { width: 18px; height: 18px; }
.modal__close:hover { color: var(--c-accent); border-color: var(--c-accent); }

.modal__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 26px 44px 22px;
}
.modal__tab {
  padding: 9px 16px;
  border: 1px solid var(--c-line);
  border-radius: 2px;
  font-family: var(--f-head);
  font-size: 15px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--c-line);
  transition: color .2s ease, border-color .2s ease;
}
.modal__tab.is-active, .modal__tab:hover { color: var(--c-accent); border-color: var(--c-accent); }
.modal__tab-count { margin-left: 7px; font-size: 12px; opacity: .75; }

.modal__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0 44px 44px;
  overscroll-behavior: contain;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
}
.photo-grid__item {
  position: relative;
  aspect-ratio: 1;
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--c-bg-sand);
  cursor: pointer;
}
.photo-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.photo-grid__item:hover img { transform: scale(1.05); }
.photo-grid__item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 12px 10px;
  background: linear-gradient(to top, rgba(11, 31, 46, .78), transparent);
  font-size: 12px;
  line-height: 16px;
  color: #fff;
  opacity: 0;
  transition: opacity .25s ease;
}
.photo-grid__item:hover figcaption,
.photo-grid__item:focus-visible figcaption { opacity: 1; }

/* ---------- Просмотр одного кадра ---------- */
/* выше поп-апа галереи (.modal, 10001): просмотрщик лежит в body, а не внутри поп-апа */
.viewer {
  position: fixed;
  inset: 0;
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 40px 80px;
  background: rgba(11, 31, 46, .975);
}
.viewer[hidden] { display: none; }
.viewer__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin: 0;
  min-width: 0;
}
.viewer__figure img {
  max-width: 100%;
  max-height: calc(100vh - 170px);
  width: auto;
  height: auto;
  border-radius: var(--radius-sm);
  object-fit: contain;
}
.viewer__caption {
  font-size: 15px;
  line-height: 22px;
  letter-spacing: .5px;
  color: var(--c-on-navy);
  text-align: center;
}
.viewer__nav, .viewer__close {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  color: #fff;
  transition: border-color .2s ease, background .2s ease;
}
.viewer__nav svg { width: 20px; height: 12px; }
.viewer__close svg { width: 18px; height: 18px; }
.viewer__nav:hover, .viewer__close:hover { border-color: #fff; background: rgba(255, 255, 255, .12); }
.viewer__close { position: absolute; top: 28px; right: 32px; }

@media (max-width: 1024px) {
  .modal { padding: 0; }
  .modal__dialog { border-radius: 0; height: 100%; }
  .modal__head { padding: 24px 24px 0; }
  .modal__title { font-size: 24px; line-height: 30px; }
  .modal__tabs { padding: 18px 24px 16px; gap: 9px; }
  .modal__tab { font-size: 13px; letter-spacing: 1px; padding: 8px 12px; }
  .modal__body { padding: 0 24px 28px; }
  .photo-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
}

@media (max-width: 700px) {
  /* на узком экране стрелки уводим под кадр, чтобы фото занимало всю ширину */
  .viewer { flex-wrap: wrap; padding: 64px 16px 24px; gap: 14px; }
  .viewer__figure { order: -1; flex: 0 0 100%; }
  .viewer__figure img { max-height: calc(100vh - 220px); }
  .viewer__close { top: 14px; right: 16px; }
}

/* ---------- Формы: honeypot и сообщение об отправке ---------- */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__note {
  display: none;
  margin: 16px 0 0;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(86, 130, 149, .12);
  color: var(--c-ink-2);
  font-family: var(--f-ui);
  font-size: 15px;
  line-height: 1.45;
}

.form__note.is-visible { display: block; }

.form__note.is-error {
  background: rgba(194, 154, 92, .16);
  color: #8a5a20;
}

/* ============================================================
   СОВМЕСТИМОСТЬ С ТЕМОЙ САЙТА
   ============================================================ */

/* Перенос текста в кнопках аккордеона возвращает общий сброс button{} в начале
   файла: reset.css темы ставит white-space:nowrap, и самый длинный вопрос
   («Какая минимальная сумма заказа для банкета?») распирал колонку до 500px —
   на телефоне появлялся горизонтальный скролл всей страницы.
   Здесь остаётся только страховка для колонок грида. */
.faq__grid > * { min-width: 0; }

/* ============================================================
   ЧЕТЫРЕ ОПОРЫ МЕНЮ (блок под баннером «Авторская кухня»)
   ============================================================ */
.pillars { padding: 90px 0; }
.pillars__title {
  margin: 0 0 44px;
  font-family: var(--f-head);
  font-size: 30px;
  line-height: 38px;
  font-weight: 400;
  text-align: center;
  color: var(--c-ink);
}
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px;
}
.pillar { position: relative; padding-top: 22px; border-top: 1px solid rgba(86, 130, 149, .32); }
.pillar__num {
  display: block;
  margin-bottom: 12px;
  font-family: var(--f-head);
  font-size: 14px;
  letter-spacing: 1.6px;
  color: var(--c-gold);
}
.pillar__name {
  margin: 0 0 12px;
  font-family: var(--f-head);
  font-size: 20px;
  line-height: 26px;
  font-weight: 400;
  color: var(--c-ink);
}
.pillar__text { font-size: 16px; line-height: 26px; color: var(--c-muted); }
.pillars__actions { display: flex; justify-content: center; margin-top: 46px; }
.pillars__actions .btn { width: 314px; }

/* ============================================================
   ГАЛЕРЕЯ: стрелки поверх фотографий
   ============================================================ */
.gallery__stage { position: relative; }
.gallery__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-top: -28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 4px 18px rgba(11, 31, 46, .18);
  color: var(--c-dark);
  transition: background-color .2s ease, color .2s ease, opacity .2s ease;
}
.gallery__arrow:hover,
.gallery__arrow:focus { background: #fff; color: var(--c-accent); }
.gallery__arrow--prev { left: 24px; }
.gallery__arrow--next { right: 24px; }
.gallery__arrow:disabled { opacity: .35; cursor: default; }
.gallery__arrow:disabled:hover { background: rgba(255, 255, 255, .88); color: var(--c-dark); }

/* ============================================================
   БАНКЕТЫ: вариант сетки на две колонки
   ============================================================ */
.banquet__cols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ============================================================
   ФОРМА: выпадающие списки и подсказка под полями
   ============================================================ */
.field--select { position: relative; }
.field--select::after {
  content: '';
  position: absolute;
  right: 2px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-right: 1px solid var(--c-ink);
  border-bottom: 1px solid var(--c-ink);
  transform: rotate(45deg);
  pointer-events: none;
}
.field select {
  width: 100%;
  padding: 0 24px 17px 0;
  border: 0;
  border-bottom: 1px solid #000;
  border-radius: 0;
  background: transparent;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 24px;
  color: var(--c-ink);
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.field select:focus { outline: none; border-bottom-color: var(--c-accent); }
/* пока выбран пункт-заглушка, поле должно выглядеть как placeholder */
.field select:has(option[value='']:checked) { color: #7c7c7c; }
.field select option { color: var(--c-ink); }
.form__hint {
  margin-top: 18px;
  font-size: 14px;
  line-height: 22px;
  color: var(--c-muted);
}

@media (max-width: 1200px) {
  .pillars__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
}
@media (max-width: 992px) {
  .pillars { padding: 70px 0; }
  .pillars__title { font-size: 26px; line-height: 32px; margin-bottom: 32px; }
  .pillars__actions .btn { width: 100%; }
  .banquet__cols--2 { grid-template-columns: 1fr; }
  .gallery__arrow { width: 44px; height: 44px; margin-top: -22px; }
  .gallery__arrow--prev { left: 10px; }
  .gallery__arrow--next { right: 10px; }
}
@media (max-width: 640px) {
  .pillars__grid { grid-template-columns: 1fr; gap: 26px; }
}

/* ============================================================
   ЧАСЫ ПРИЁМА ПИЩИ (зал шведской линии)
   ============================================================ */
.meals { margin-top: 28px; }
.meals__title {
  margin: 0 0 16px;
  font-family: var(--f-head);
  font-size: 14px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--c-sand);
}
.meals__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.meal {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 30px;
  border-radius: var(--radius-sm);
  background: var(--c-bg-sand);
}
.meal__name {
  font-family: var(--f-head);
  font-size: 18px;
  line-height: 24px;
  color: var(--c-ink);
}
.meal__time {
  font-family: var(--f-head);
  font-size: 20px;
  line-height: 26px;
  white-space: nowrap;
  color: var(--c-accent);
}

@media (max-width: 900px) {
  .meals__grid { grid-template-columns: 1fr; gap: 14px; }
}

/* ============================================================
   ТЕЛЕФОН БАНКЕТНОГО МЕНЕДЖЕРА (страница банкетов)
   ============================================================ */
/* Блок в контактах повторяет оформление часов работы, но стоит ближе к ним
   по вертикали — иначе колонка растягивается на лишние 85px. */
.contacts__manager { margin-top: 40px; }
.contacts__manager a {
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 1.44px;
  color: var(--c-ink-3);
  transition: color .2s ease;
}
.contacts__manager a:hover { color: var(--c-accent); }

.booking__phone {
  margin: 14px auto 0;
  max-width: 760px;
  text-align: center;
  font-size: 16px;
  line-height: 26px;
  color: var(--c-muted);
}
.booking__phone a {
  border-bottom: 1px solid currentColor;
  color: var(--c-accent);
  white-space: nowrap;
}
.booking__phone a:hover { color: var(--c-dark); }

@media (max-width: 900px) {
  .contacts__manager { margin-top: 32px; }
}

/* ============================================================
   HERO СТРАНИЦЫ БАНКЕТОВ: подпись и две кнопки
   ============================================================ */
.page-hero__cta-note {
  margin-top: 40px;
  font-family: var(--f-head);
  font-size: 14px;
  line-height: 18px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .88);
}
.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 18px;
}
/* у одиночной кнопки в hero свой отступ сверху — в паре он не нужен */
.page-hero__actions .page-hero__btn { margin-top: 0; }

@media (max-width: 700px) {
  .page-hero__actions { flex-direction: column; align-items: center; gap: 12px; }
  .page-hero__actions .page-hero__btn { width: 100%; max-width: 340px; }
}
