/* ==========================================================================
   BANQUET PAGE STYLES — exact typography from menu.css / styles.css
   ========================================================================== */

@font-face {
  font-family: 'Cygre Book';
  src: url('fonts/cygre-book.ttf') format('truetype');
  font-weight: 350;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cygre Book';
  src: url('fonts/cygre-book.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cygre Medium';
  src: url('fonts/Cygre-Medium.ttf') format('truetype'),
       url('fonts/cygre-book.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cygre SemiBold';
  src: url('fonts/Cygre-SemiBold.ttf') format('truetype'),
       url('fonts/cygre-book.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ================================================================
   TOP FIXED HEADER (394 × 47px, #232323) — Fixed with Scroll Hide/Show
   ================================================================ */
.menu-top-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(47px + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) 20px 0 20px;
  background: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  z-index: 1000;
  transform: translateY(0);
  transition: transform 0.32s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.menu-top-header.header--hidden {
  transform: translateY(-100%) !important;
}

@media (min-width: 601px) {
  .menu-top-header {
    left: 50%;
    transform: translateX(-50%);
    max-width: var(--frame-width);
  }
  .menu-top-header.header--hidden {
    transform: translateX(-50%) translateY(-100%) !important;
  }
}

.menu-header-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.menu-header-logo-img {
  width: 110px;
  height: 22px;
  object-fit: contain;
}

.burger-btn--white .burger-line,
.burger-btn--white span {
  background: #FFFFFF !important;
}

/* ================================================================
   HERO BLOCK
   ================================================================ */
.banquet-hero {
  padding: 20px 20px 0 20px;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

/* Фото зала 1 */
.banquet-hero-img-wrap {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 15px;
}

.banquet-hero-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Лого-бейдж */
.banquet-brand-badge {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.banquet-brand-logo-img {
  width: 250px;
  height: 92px;
  object-fit: contain;
  display: block;
}

/* Описание */
.banquet-hero-desc {
  font-family: var(--font-extended);
  font-size: 14px;
  font-weight: 400;
  line-height: 16px;
  color: var(--color-dark);
  text-align: center;
  width: 300px;
  max-width: 100%;
  margin: 0 auto 20px auto;
  letter-spacing: 0;
}

/* Фото зала 2 */
.banquet-hall-img-wrap {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 20px;
}

.banquet-hall-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Список преимуществ */
.banquet-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  display: flex;
  flex-direction: column;
}

.banquet-feature-item {
  font-family: 'Cygre Medium', 'Cygre Book', var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  color: var(--color-dark);
  padding: 6px 0 9px 0;
  border-bottom: 1px solid rgba(48, 48, 48, 0.6);
  box-sizing: border-box;
}

.banquet-feature-item:first-child {
  padding-top: 0;
}

.banquet-feature-item--last {
  border-bottom: none;
  padding-bottom: 0;
}

/* ================================================================
   MENU SECTIONS
   ================================================================ */
.banquet-section,
.contacts-footer {
  scroll-margin-top: 67px; /* 57px header + 10px gap */
}

.banquet-section {
  padding: 0 20px 20px 20px;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.banquet-section--last {
  padding-bottom: 40px;
}

/* Заголовок секции — 1:1 как в menu.css */
.banquet-section-title-row {
  position: relative;
  height: 32px;
  margin-bottom: 10px;
}

.banquet-accent-bar {
  position: absolute;
  left: 0;
  top: 2px;
  width: 3px;
  height: 22px;
  background: var(--color-dark);
  border-radius: 0;
  display: block;
}

.banquet-section-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  line-height: 32px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--color-dark);
  margin: 0;
  padding: 0 0 0 8px;
  display: block;
}

/* Список позиций */
.banquet-list {
  display: flex;
  flex-direction: column;
}

/* Строка позиции — 1:1 как menu-item-row */
.banquet-item-row {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  box-sizing: border-box;
}

.banquet-item-row:first-child {
  padding-top: 0;
}

/* Разделитель */
.banquet-item-row::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(48, 48, 48, 0.6);
}

.banquet-item-row--last {
  padding-bottom: 0;
}

.banquet-item-row--last::after {
  display: none;
}

/* Информация о позиции */
.banquet-item-info {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 253px;
  max-width: 253px;
}

.banquet-item-name {
  font-family: var(--font-extended);
  font-size: 12px;
  font-weight: 400;
  line-height: 15px;
  color: var(--color-dark);
}

.banquet-item-weight {
  font-family: 'Cygre Medium', 'Cygre Book', var(--font-body);
  font-size: 10px;
  font-weight: 500;
  line-height: 13px;
  color: var(--color-dark);
}

/* Цена */
.banquet-item-price {
  font-family: var(--font-extended);
  font-size: 12px;
  font-weight: 400;
  line-height: 15px;
  color: var(--color-dark);
  white-space: nowrap;
  text-align: right;
  flex-shrink: 0;
}

/* ================================================================
   PHOTO BLOCKS (между секциями)
   ================================================================ */
.banquet-photo-block {
  padding: 0 20px 20px 20px;
  box-sizing: border-box;
}

.banquet-photo-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 20px;
}

/* ==========================================================================
   DRAWER ACCORDION & CASCADE WAVE ANIMATIONS (Банкетное меню)
   ========================================================================== */
.drawer-nav--banquet .drawer-item-divider {
  margin: 0 20px !important;
}

.drawer-nav--banquet .drawer-sublist {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: 0;
  padding: 0;
  margin: 0;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1), padding 0.45s ease;
  will-change: max-height;
}

.drawer-nav--banquet .drawer-sublist.is-open {
  padding-top: 0;
  padding-bottom: 5px;
  gap: 5px;
  margin-top: -2px;
  transition: max-height 0.70s cubic-bezier(0.16, 1, 0.3, 1), padding 0.40s ease;
}

.drawer-nav--banquet .drawer-sublist.is-closing {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  transition: max-height 0.70s ease-in-out, padding 0.45s ease;
}

/* Sub-items matching exact Figma criteria (Loos Extended, Regular, 14px, #FFFFFF 60%, 18px height) */
.drawer-nav--banquet .drawer-sub-item {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  height: 18px;
  padding: 0 20px;
  font-family: var(--font-extended);
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  color: rgba(255, 255, 255, 0.6);
  text-align: right;
  text-decoration: none;
  box-sizing: border-box;
  cursor: pointer;
  white-space: nowrap;
  opacity: 0;
  transform: translate3d(35px, 0, 0);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), color 0.15s;
  will-change: opacity, transform;
}

.drawer-nav--banquet .drawer-sub-item:hover,
.drawer-nav--banquet .drawer-sub-item:active {
  color: #FFFFFF;
}

/* Точно такая же логика открытия, как и у пунктов основного меню */
.drawer-nav--banquet .drawer-sublist.is-open .drawer-sub-item {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), color 0.15s;
}

/* Каскад открытия Банкетного меню — выразительно сверху вниз (1 -> 8, шаг 0.08s) */
#drawer-sublist-banquet.is-open .drawer-sub-item:nth-child(1) { transition-delay: 0.04s; }
#drawer-sublist-banquet.is-open .drawer-sub-item:nth-child(2) { transition-delay: 0.12s; }
#drawer-sublist-banquet.is-open .drawer-sub-item:nth-child(3) { transition-delay: 0.20s; }
#drawer-sublist-banquet.is-open .drawer-sub-item:nth-child(4) { transition-delay: 0.28s; }
#drawer-sublist-banquet.is-open .drawer-sub-item:nth-child(5) { transition-delay: 0.36s; }
#drawer-sublist-banquet.is-open .drawer-sub-item:nth-child(6) { transition-delay: 0.44s; }
#drawer-sublist-banquet.is-open .drawer-sub-item:nth-child(7) { transition-delay: 0.52s; }
#drawer-sublist-banquet.is-open .drawer-sub-item:nth-child(8) { transition-delay: 0.60s; }

/* Точно такая же логика закрытия, как и у пунктов основного меню */
.drawer-nav--banquet .drawer-sublist.is-closing .drawer-sub-item {
  opacity: 0 !important;
  transform: translate3d(35px, 0, 0) !important;
  transition: opacity 0.40s ease, transform 0.40s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Каскад закрытия Банкетного меню — синхронно снизу вверх (8 -> 1, шаг 0.07s) */
#drawer-sublist-banquet.is-closing .drawer-sub-item:nth-child(8) { transition-delay: 0.00s !important; }
#drawer-sublist-banquet.is-closing .drawer-sub-item:nth-child(7) { transition-delay: 0.07s !important; }
#drawer-sublist-banquet.is-closing .drawer-sub-item:nth-child(6) { transition-delay: 0.14s !important; }
#drawer-sublist-banquet.is-closing .drawer-sub-item:nth-child(5) { transition-delay: 0.21s !important; }
#drawer-sublist-banquet.is-closing .drawer-sub-item:nth-child(4) { transition-delay: 0.28s !important; }
#drawer-sublist-banquet.is-closing .drawer-sub-item:nth-child(3) { transition-delay: 0.35s !important; }
#drawer-sublist-banquet.is-closing .drawer-sub-item:nth-child(2) { transition-delay: 0.42s !important; }
#drawer-sublist-banquet.is-closing .drawer-sub-item:nth-child(1) { transition-delay: 0.49s !important; }

/* Каскадная волна открытия меню (сверху вниз с ощутимой паузой друг за дружкой) */
.drawer-nav.drawer-nav--banquet.active .drawer-menu-item:nth-of-type(1),
.drawer-nav--banquet.active .drawer-menu-item:nth-of-type(1) { transition-delay: 0.10s !important; } /* Главная */

.drawer-nav.drawer-nav--banquet.active .drawer-divider--1,
.drawer-nav--banquet.active .drawer-divider--1,
.drawer-nav.drawer-nav--banquet.active .drawer-item-divider:nth-of-type(1) { transition-delay: 0.18s !important; }

.drawer-nav.drawer-nav--banquet.active #drawer-banquet-toggle,
.drawer-nav--banquet.active #drawer-banquet-toggle           { transition-delay: 0.26s !important; } /* Банкетное меню */

.drawer-nav.drawer-nav--banquet.active .drawer-divider--2,
.drawer-nav--banquet.active .drawer-divider--2,
.drawer-nav.drawer-nav--banquet.active .drawer-item-divider:nth-of-type(3) { transition-delay: 0.34s !important; }

.drawer-nav.drawer-nav--banquet.active .drawer-menu-item:nth-of-type(2),
.drawer-nav--banquet.active .drawer-menu-item:nth-of-type(2) { transition-delay: 0.42s !important; } /* Контакты */

/* ==========================================================================
   CLOSING CASCADING WAVE (Плавный каскадный уход 1:1 с главной страницей)
   ========================================================================== */
.drawer-nav.drawer-nav--banquet.closing .drawer-item-divider,
.drawer-nav.drawer-nav--banquet.active.closing .drawer-item-divider,
.drawer-nav--banquet.closing .drawer-item-divider,
.drawer-nav--banquet.active.closing .drawer-item-divider {
  transform: scaleX(0) !important;
  opacity: 0 !important;
  transition-property: transform, opacity !important;
  transition-duration: 0.32s, 0.28s !important;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1), ease !important;
}

.drawer-nav.drawer-nav--banquet.closing .drawer-header-divider,
.drawer-nav.drawer-nav--banquet.active.closing .drawer-header-divider,
.drawer-nav--banquet.closing .drawer-header-divider,
.drawer-nav--banquet.active.closing .drawer-header-divider {
  transform: scaleX(0) !important;
  opacity: 0 !important;
  transition-property: transform, opacity !important;
  transition-duration: 0.32s, 0.28s !important;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1), ease !important;
}

.drawer-nav.drawer-nav--banquet.closing .drawer-menu-item,
.drawer-nav.drawer-nav--banquet.active.closing .drawer-menu-item,
.drawer-nav.drawer-nav--banquet.closing #drawer-banquet-toggle,
.drawer-nav.drawer-nav--banquet.active.closing #drawer-banquet-toggle,
.drawer-nav.drawer-nav--banquet.closing .drawer-sub-item,
.drawer-nav.drawer-nav--banquet.active.closing .drawer-sub-item,
.drawer-nav--banquet.closing .drawer-menu-item,
.drawer-nav--banquet.active.closing .drawer-menu-item,
.drawer-nav--banquet.closing #drawer-banquet-toggle,
.drawer-nav--banquet.active.closing #drawer-banquet-toggle,
.drawer-nav--banquet.closing .drawer-sub-item,
.drawer-nav--banquet.active.closing .drawer-sub-item {
  opacity: 0 !important;
  transform: translate3d(35px, 0, 0) !important;
  transition-property: opacity, transform !important;
  transition-duration: 0.35s, 0.35s !important;
  transition-timing-function: ease, cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Волна закрытия №1: когда аккордеон закрыт (снизу вверх, плавно к 480ms) */
.drawer-nav.drawer-nav--banquet.closing .drawer-menu-item:nth-of-type(2),
.drawer-nav.drawer-nav--banquet.active.closing .drawer-menu-item:nth-of-type(2),
.drawer-nav--banquet.closing .drawer-menu-item:nth-of-type(2),
.drawer-nav--banquet.active.closing .drawer-menu-item:nth-of-type(2) {
  transition-delay: 0.00s !important;
} /* Контакты */

.drawer-nav.drawer-nav--banquet.closing .drawer-divider--2,
.drawer-nav.drawer-nav--banquet.active.closing .drawer-divider--2,
.drawer-nav--banquet.closing .drawer-divider--2,
.drawer-nav--banquet.active.closing .drawer-divider--2,
.drawer-nav.drawer-nav--banquet.closing .drawer-item-divider:nth-of-type(3),
.drawer-nav.drawer-nav--banquet.active.closing .drawer-item-divider:nth-of-type(3) {
  transition-delay: 0.08s !important;
} /* Разделитель №2 */

.drawer-nav.drawer-nav--banquet.closing #drawer-banquet-toggle,
.drawer-nav.drawer-nav--banquet.active.closing #drawer-banquet-toggle,
.drawer-nav--banquet.closing #drawer-banquet-toggle,
.drawer-nav--banquet.active.closing #drawer-banquet-toggle {
  transition-delay: 0.18s !important;
} /* Банкетное меню */

.drawer-nav.drawer-nav--banquet.closing .drawer-divider--1,
.drawer-nav.drawer-nav--banquet.active.closing .drawer-divider--1,
.drawer-nav--banquet.closing .drawer-divider--1,
.drawer-nav--banquet.active.closing .drawer-divider--1,
.drawer-nav.drawer-nav--banquet.closing .drawer-item-divider:nth-of-type(1),
.drawer-nav.drawer-nav--banquet.active.closing .drawer-item-divider:nth-of-type(1) {
  transition-delay: 0.27s !important;
} /* Разделитель №1 */

.drawer-nav.drawer-nav--banquet.closing .drawer-menu-item:nth-of-type(1),
.drawer-nav.drawer-nav--banquet.active.closing .drawer-menu-item:nth-of-type(1),
.drawer-nav--banquet.closing .drawer-menu-item:nth-of-type(1),
.drawer-nav--banquet.active.closing .drawer-menu-item:nth-of-type(1) {
  transition-delay: 0.36s !important;
} /* Главная */

.drawer-nav.drawer-nav--banquet.closing .drawer-header-divider,
.drawer-nav.drawer-nav--banquet.active.closing .drawer-header-divider,
.drawer-nav--banquet.closing .drawer-header-divider,
.drawer-nav--banquet.active.closing .drawer-header-divider {
  transition-delay: 0.44s !important;
} /* Верхняя линия */

/* Волна закрытия №2: когда открыт аккордеон «Банкетное меню» (снизу вверх, 14 элементов к 480ms) */
.drawer-nav.drawer-nav--banquet.closing--banquet-open .drawer-menu-item:nth-of-type(2),
.drawer-nav.drawer-nav--banquet.active.closing--banquet-open .drawer-menu-item:nth-of-type(2),
.drawer-nav--banquet.closing--banquet-open .drawer-menu-item:nth-of-type(2),
.drawer-nav--banquet.active.closing--banquet-open .drawer-menu-item:nth-of-type(2) {
  transition-delay: 0.00s !important;
} /* Контакты */

.drawer-nav.drawer-nav--banquet.closing--banquet-open .drawer-divider--2,
.drawer-nav.drawer-nav--banquet.active.closing--banquet-open .drawer-divider--2,
.drawer-nav--banquet.closing--banquet-open .drawer-divider--2,
.drawer-nav--banquet.active.closing--banquet-open .drawer-divider--2,
.drawer-nav.drawer-nav--banquet.closing--banquet-open .drawer-item-divider:nth-of-type(3),
.drawer-nav.drawer-nav--banquet.active.closing--banquet-open .drawer-item-divider:nth-of-type(3) {
  transition-delay: 0.03s !important;
}

.drawer-nav.drawer-nav--banquet.closing--banquet-open #drawer-sublist-banquet .drawer-sub-item:nth-child(8),
.drawer-nav.drawer-nav--banquet.active.closing--banquet-open #drawer-sublist-banquet .drawer-sub-item:nth-child(8) { transition-delay: 0.06s !important; } /* Алкоголь */
.drawer-nav.drawer-nav--banquet.closing--banquet-open #drawer-sublist-banquet .drawer-sub-item:nth-child(7),
.drawer-nav.drawer-nav--banquet.active.closing--banquet-open #drawer-sublist-banquet .drawer-sub-item:nth-child(7) { transition-delay: 0.10s !important; } /* Соусы */
.drawer-nav.drawer-nav--banquet.closing--banquet-open #drawer-sublist-banquet .drawer-sub-item:nth-child(6),
.drawer-nav.drawer-nav--banquet.active.closing--banquet-open #drawer-sublist-banquet .drawer-sub-item:nth-child(6) { transition-delay: 0.14s !important; } /* Гарниры */
.drawer-nav.drawer-nav--banquet.closing--banquet-open #drawer-sublist-banquet .drawer-sub-item:nth-child(5),
.drawer-nav.drawer-nav--banquet.active.closing--banquet-open #drawer-sublist-banquet .drawer-sub-item:nth-child(5) { transition-delay: 0.18s !important; } /* Горячие блюда */
.drawer-nav.drawer-nav--banquet.closing--banquet-open #drawer-sublist-banquet .drawer-sub-item:nth-child(4),
.drawer-nav.drawer-nav--banquet.active.closing--banquet-open #drawer-sublist-banquet .drawer-sub-item:nth-child(4) { transition-delay: 0.22s !important; } /* Брускетты */
.drawer-nav.drawer-nav--banquet.closing--banquet-open #drawer-sublist-banquet .drawer-sub-item:nth-child(3),
.drawer-nav.drawer-nav--banquet.active.closing--banquet-open #drawer-sublist-banquet .drawer-sub-item:nth-child(3) { transition-delay: 0.26s !important; } /* Доски */
.drawer-nav.drawer-nav--banquet.closing--banquet-open #drawer-sublist-banquet .drawer-sub-item:nth-child(2),
.drawer-nav.drawer-nav--banquet.active.closing--banquet-open #drawer-sublist-banquet .drawer-sub-item:nth-child(2) { transition-delay: 0.30s !important; } /* Тарталетки */
.drawer-nav.drawer-nav--banquet.closing--banquet-open #drawer-sublist-banquet .drawer-sub-item:nth-child(1),
.drawer-nav.drawer-nav--banquet.active.closing--banquet-open #drawer-sublist-banquet .drawer-sub-item:nth-child(1) { transition-delay: 0.33s !important; } /* Холодные закуски */

.drawer-nav.drawer-nav--banquet.closing--banquet-open #drawer-banquet-toggle,
.drawer-nav.drawer-nav--banquet.active.closing--banquet-open #drawer-banquet-toggle,
.drawer-nav--banquet.closing--banquet-open #drawer-banquet-toggle,
.drawer-nav--banquet.active.closing--banquet-open #drawer-banquet-toggle {
  transition-delay: 0.36s !important;
} /* Банкетное меню */

.drawer-nav.drawer-nav--banquet.closing--banquet-open .drawer-divider--1,
.drawer-nav.drawer-nav--banquet.active.closing--banquet-open .drawer-divider--1,
.drawer-nav--banquet.closing--banquet-open .drawer-divider--1,
.drawer-nav--banquet.active.closing--banquet-open .drawer-divider--1,
.drawer-nav.drawer-nav--banquet.closing--banquet-open .drawer-item-divider:nth-of-type(1),
.drawer-nav.drawer-nav--banquet.active.closing--banquet-open .drawer-item-divider:nth-of-type(1) {
  transition-delay: 0.39s !important;
}

.drawer-nav.drawer-nav--banquet.closing--banquet-open .drawer-menu-item:nth-of-type(1),
.drawer-nav.drawer-nav--banquet.active.closing--banquet-open .drawer-menu-item:nth-of-type(1),
.drawer-nav--banquet.closing--banquet-open .drawer-menu-item:nth-of-type(1),
.drawer-nav--banquet.active.closing--banquet-open .drawer-menu-item:nth-of-type(1) {
  transition-delay: 0.42s !important;
} /* Главная */

.drawer-nav.drawer-nav--banquet.closing--banquet-open .drawer-header-divider,
.drawer-nav.drawer-nav--banquet.active.closing--banquet-open .drawer-header-divider,
.drawer-nav--banquet.closing--banquet-open .drawer-header-divider,
.drawer-nav--banquet.active.closing--banquet-open .drawer-header-divider {
  transition-delay: 0.45s !important;
}
