/* ═══════════════════════════════════════════════════════════
   Cafe Krasnodar — Банкеты (/banket_temp)
   Стиль по макету «Банкет.pdf»: чёрный / золото / беж
   Шрифты: семейство Gotham (файлы сайта, папка fonts/)
   Hero на всю ширину, контент — контейнер 1240px
   ═══════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'Gotham Pro';
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/Gotham-Light.woff2') format('woff2');
}
@font-face {
  font-family: 'Gotham Pro';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/Gotham-Book.woff2') format('woff2');
}
@font-face {
  font-family: 'Gotham Pro';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/Gotham-Bold.woff2') format('woff2');
}
@font-face {
  font-family: 'Gotham Pro';
  font-weight: 900;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/Gotham-Black.woff2') format('woff2');
}

:root {
  --dark:      #0d0c0a;
  --dark-2:    #171410;
  --gold:      #a7997b;
  --gold-deep: #8b7e63;
  --gold-soft: #b5a88d;
  --beige:     #d8cfba;
  --beige-2:   #e3dccb;
  --bg:        #f2efe9;
  --text:      #26231d;
  --muted:     #6f695e;
  --line:      rgba(167, 153, 123, .4);
  --font:  'Gotham Pro', Gotham, Arial, Helvetica, sans-serif;
  --texture: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='520' viewBox='0 0 520 520'%3E%3Cg fill='none' stroke='%23a58d5f' stroke-opacity='.055' stroke-width='1'%3E%3Cpath d='M-40 120 C 120 60, 380 200, 560 130'/%3E%3Cpath d='M-40 180 C 130 110, 370 260, 560 185'/%3E%3Cpath d='M-40 240 C 140 165, 360 320, 560 245'/%3E%3Cpath d='M-40 300 C 150 220, 350 380, 560 305'/%3E%3Cpath d='M-40 360 C 160 275, 340 440, 560 365'/%3E%3Cpath d='M-40 420 C 170 330, 330 500, 560 425'/%3E%3Cpath d='M-40 480 C 180 385, 320 560, 560 485'/%3E%3C/g%3E%3C/svg%3E");
}

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

html { scroll-behavior: smooth; }

html, body { overflow-x: clip; }

body {
  font-family: var(--font);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  text-align: left;
  background: var(--bg) var(--texture);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

p, li, td, th, h2, h3 { text-align: left; }

section[id] { scroll-margin-top: 16px; }

.container { max-width: 1288px; margin: 0 auto; padding: 0 24px; }

/* ── Заголовки ─────────────────────────────────────────── */

.h-gold {
  font-weight: 400;
  font-size: clamp(24px, 2.9vw, 38px);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  line-height: 1.3;
}

.h-gold.center { text-align: center; }

.h-serif {
  font-weight: 400;
  font-size: clamp(24px, 2.5vw, 34px);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  line-height: 1.3;
}

/* ── Кнопки ────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 30px;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}

.btn-solid { background: var(--gold); color: #fff; }
.btn-solid:hover { background: var(--gold-deep); }

.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-deep); }

.btn-ghost { border-color: var(--gold); color: var(--beige); background: transparent; }
.btn-ghost:hover { background: rgba(165, 141, 95, .18); color: #fff; }

.btn-outline { border-color: var(--gold); color: var(--gold-deep); background: transparent; }
.btn-outline:hover { background: var(--gold); color: #fff; }

.btn-sm { padding: 9px 18px; font-size: 11px; }
.btn-lg { padding: 19px 34px; font-size: 15px; }

/* ── Кубик 3D на кнопке тура ───────────────────────────── */

.btn-3d .cube {
  display: block;
  width: 12px;
  height: 12px;
  margin-right: 12px;
  perspective: 50px;
  flex: 0 0 auto;
}

.btn-3d .cube-in {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: cubeSpin 12s linear infinite;
}

.btn-3d .cube-in i {
  position: absolute;
  inset: 0;
  border: 1.5px solid currentColor;
  background: rgba(255, 255, 255, .14);
}

.btn-3d .cube-in i:nth-child(1) { transform: translateZ(6px); }
.btn-3d .cube-in i:nth-child(2) { transform: rotateY(180deg) translateZ(6px); }
.btn-3d .cube-in i:nth-child(3) { transform: rotateY(90deg) translateZ(6px); }
.btn-3d .cube-in i:nth-child(4) { transform: rotateY(-90deg) translateZ(6px); }
.btn-3d .cube-in i:nth-child(5) { transform: rotateX(90deg) translateZ(6px); }
.btn-3d .cube-in i:nth-child(6) { transform: rotateX(-90deg) translateZ(6px); }

@keyframes cubeSpin {
  from { transform: rotateX(0deg) rotateY(0deg); }
  to   { transform: rotateX(360deg) rotateY(360deg); }
}

/* ── Бронирование события ──────────────────────────────── */

.booking { padding: clamp(20px, 5vh, 70px) 0 clamp(56px, 9vh, 110px); }

.booking .h-gold { margin-bottom: clamp(26px, 4.6vh, 48px); }

.booking-form {
  max-width: 760px;
  margin: 0 auto;
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: clamp(26px, 4vh, 48px) clamp(22px, 3vw, 56px);
}

.bf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2.4vh, 24px) clamp(16px, 2vw, 28px);
}

.bf-wide { grid-column: 1 / -1; }

.bf-field { display: flex; flex-direction: column; }

.bf-field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 8px;
}

.bf-field input,
.bf-field select {
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  background: #fff;
  border: 1px solid #d9d1bf;
  border-radius: 2px;
  padding: 13px 16px;
  outline: none;
  transition: border-color .25s, box-shadow .25s;
}

.bf-field select { appearance: auto; cursor: pointer; }

.bf-field select.bf-empty { color: #a9a294; }

#bf-format-other { margin-top: 10px; }

.bf-field input::placeholder { color: #a9a294; }

.bf-field input:focus,
.bf-field select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(167, 153, 123, .18);
}

.bf-field input[disabled],
.bf-field select[disabled] { opacity: .6; }

.bf-agree {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: clamp(18px, 3vh, 28px);
  font-size: 13px;
  line-height: 1.55;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.bf-agree input {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  margin-top: 1px;
  accent-color: var(--gold-deep);
  cursor: pointer;
}

.bf-agree a { color: var(--gold-deep); }

.bf-submit {
  margin-top: clamp(22px, 3.4vh, 34px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.bf-submit .btn { min-width: 260px; }

.bf-submit .btn[disabled] { opacity: .55; cursor: default; }

.bf-msg {
  font-size: 14px;
  font-weight: 500;
  color: var(--gold-deep);
  text-align: center;
}

.bf-msg-err { color: #a5492a; }
.bf-msg-err a { color: inherit; }

/* ── Обёртка таблиц (горизонтальный скролл на узких экранах) ── */

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.table-wrap .rent-table { min-width: 480px; }

/* ── Разделитель между секциями ────────────────────────── */

.sep {
  width: min(1240px, calc(100% - 48px));
  height: 1px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, rgba(165, 141, 95, .5) 18%, rgba(165, 141, 95, .5) 82%, transparent);
}

/* ── Кнопка меню (бургер) ──────────────────────────────── */

.menu-btn {
  position: fixed;
  top: 22px;
  left: 26px;
  z-index: 210;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(13, 12, 10, .92);
  border: 1px solid rgba(165, 141, 95, .65);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: transform .25s, border-color .25s;
}

.menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold-soft);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

.menu-btn:hover { border-color: var(--gold-soft); transform: scale(1.05); }

body.menu-open .menu-btn {
  opacity: 0;
  pointer-events: none;
  border-color: rgba(167, 153, 123, .4);
}

body.menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
body.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Кнопка «Вернуться на главную» ─────────────────────── */

.back-btn {
  position: absolute;
  top: 30px;
  right: 30px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: color .25s;
}

.back-btn svg { display: block; width: 16px; height: 16px; flex: none; }
.back-btn__text--short { display: none; }

.back-btn:hover { color: var(--beige); }

@media(max-width: 767px) {
  .back-btn { top: 24px; right: 16px; font-size: 11px; gap: 8px; }
  .back-btn__text--full { display: none; }
  .back-btn__text--short { display: inline; }
}

/* ── Выезжающее меню (canvas) ──────────────────────────── */

.canvas-overlay {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(13, 12, 10, .55);
  opacity: 0;
  transition: opacity .35s;
}

body.menu-open .canvas-overlay { opacity: 1; }

.canvas-menu {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  height: 100%;
  width: min(400px, calc(100vw - 70px));
  background: linear-gradient(160deg, rgba(20, 17, 12, .66), rgba(13, 12, 10, .72) 55%);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-right: 1px solid rgba(165, 141, 95, .3);
  padding: 92px 48px 40px;
  transform: translateX(-102%);
  transition: transform .45s cubic-bezier(.22, .8, .3, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

body.menu-open .canvas-menu { transform: none; }

.canvas-close {
  position: absolute;
  top: 30px;
  right: 40px;
  width: 34px;
  height: 34px;
  background: transparent;
  border: none;
  cursor: pointer;
  opacity: .75;
  transition: opacity .25s, transform .25s;
}

.canvas-close::before,
.canvas-close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 4px;
  right: 4px;
  height: 2px;
  background: var(--gold-soft);
}

.canvas-close::before { transform: rotate(45deg); }
.canvas-close::after  { transform: rotate(-45deg); }

.canvas-close:hover { opacity: 1; transform: rotate(90deg); }

.canvas-logo { width: 210px; margin-bottom: 44px; }

.canvas-nav { display: grid; }

.canvas-nav a {
  position: relative;
  display: block;
  padding: 14px 0;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  color: #d9d1c0;
  transition: color .25s, transform .25s;
}

.canvas-nav a + a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(181, 168, 141, .32), transparent);
}

.canvas-nav a:hover { color: var(--gold-soft); transform: translateX(4px); }

.canvas-extra {
  margin-top: auto;
  padding-top: 40px;
  display: grid;
  row-gap: 14px;
}

.canvas-phone {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--gold-soft);
  text-decoration: none;
  margin-bottom: 6px;
}

.canvas-phone:hover { color: #fff; }

.canvas-addr {
  margin-top: 26px;
  font-size: 12px;
  line-height: 1.6;
  color: #8f887a;
}

/* ── 1. Главный экран: видео на 60% высоты, форматы — остальные 40% ── */

.hero {
  height: 60vh;
  height: 60svh;
  background: var(--dark);
  color: var(--text);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 11vh, 130px) clamp(16px, 3vw, 40px) clamp(30px, 5vh, 60px);
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* затемнение поверх видео */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(rgba(13, 12, 10, .42), rgba(13, 12, 10, .42)),
    linear-gradient(90deg, rgba(13, 12, 10, .55) 0%, rgba(13, 12, 10, .12) 65%);
}

.hero-logo {
  position: absolute;
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: min(230px, 38vw);
  z-index: 3;
}

.hero-inner { position: relative; z-index: 2; width: 100%; max-width: 1240px; margin: 0 auto; }

.hero-title {
  font-weight: 300;
  font-size: clamp(34px, 4.6vw, 74px);
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #f0e9d8;
  line-height: 1.2;
  max-width: 15ch;
}

.hero-actions {
  margin-top: clamp(24px, 4vh, 44px);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-actions .btn { min-width: 220px; }

/* ── 2. Форматы банкетов — оставшиеся ~40% первого экрана ── */

.formats {
  padding: clamp(16px, 2.6vh, 36px) 0 clamp(24px, 3.4vh, 44px);
  min-height: 40vh;
  min-height: 40svh;
  display: flex;
  align-items: center;
}

.formats .container { width: 100%; }

.formats-grid {
  display: grid;
  grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);
  gap: clamp(30px, 4vw, 64px);
  align-items: center;
}

.formats-intro .h-gold { font-size: clamp(24px, 2.4vw, 34px); }

.formats-intro p {
  margin-top: clamp(16px, 2.4vh, 24px);
  font-size: 14.5px;
  line-height: 1.7;
  color: #33302a;
}

.formats-cards {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(10px, 1.2vw, 16px);
}

.formats-cards li {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 2px;
}

.formats-cards img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.formats-cards li::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 58%;
  background: linear-gradient(180deg, transparent, rgba(13, 12, 10, .66));
}

.formats-cards span {
  position: absolute;
  left: 14px;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  color: #f0e9d8;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.45;
}

/* ── Секции «фото + контент» в контейнере ─────────────── */

.sec { padding: clamp(56px, 9vh, 110px) 0; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 4.5vw, 80px);
  align-items: center;
}

.split-photo {
  height: clamp(440px, 58vh, 640px);
  overflow: hidden;
}

.split-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-body {
  display: flex;
  align-items: center;
}

/* Почему «Кафе Краснодар»? — фото строго по высоте текста:
   верх по верхней кромке заголовка, низ по нижней кромке чипа «Интерьер» */
#why { padding-top: calc(clamp(56px, 9vh, 110px) - 16px); }

#why .split { grid-template-columns: clamp(280px, 25vw, 380px) minmax(0, 1fr); align-items: stretch; }

#why .split-photo {
  position: relative;
  height: auto;
  min-height: 0;
  display: block;
  overflow: visible;
}

#why .split-photo img {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: auto;
  max-width: none;
  height: 100%;
}

/* чип последней строки дотягивается до низа текстовой колонки */
.why-row:last-child .chip { align-self: stretch; }

.why-list { max-width: 760px; width: 100%; }

.why-list .h-gold {
  font-size: clamp(22px, 2.4vw, 34px);
  margin-bottom: clamp(20px, 3.6vh, 36px);
}

.why-rows { display: grid; row-gap: clamp(14px, 2vh, 20px); }

.why-row {
  display: grid;
  grid-template-columns: clamp(160px, 15vw, 220px) 1fr;
  gap: clamp(16px, 1.8vw, 30px);
  align-items: center;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--gold);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 15px 18px;
  border-radius: 2px;
  line-height: 1.35;
}

.why-row p { font-size: 14.5px; line-height: 1.6; color: #33302a; align-self: center; }

/* ── 3. Варианты аренды (табы) ─────────────────────────── */

.rent { padding: clamp(56px, 9vh, 110px) 0; }

.rent-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(8px, 1.4vw, 14px);
  margin: clamp(26px, 4.6vh, 52px) 0 clamp(28px, 4.6vh, 52px);
}

.rent-tab {
  font-family: var(--font);
  font-size: clamp(12px, 1.15vw, 14.5px);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  border-bottom-color: var(--line);
  border-radius: 2px;
  padding: 13px clamp(18px, 2.4vw, 40px);
  cursor: pointer;
  transition: color .25s, border-color .25s, background .25s;
}

.rent-tab:hover { color: var(--gold-deep); }

.rent-tab.is-active {
  color: var(--gold-deep);
  border-color: var(--gold);
  background: rgba(165, 141, 95, .08);
}

.rent-panel {
  display: none;
  grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
  gap: clamp(28px, 3.5vw, 64px);
  align-items: center;
}

.rent-panel.is-active { display: grid; animation: fadeIn .45s ease; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

.rent-scheme {
  background: #fdfdfd;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: clamp(14px, 1.6vw, 28px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rent-scheme img {
  max-height: min(58vh, 580px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.hall-name {
  font-weight: 400;
  font-size: clamp(24px, 2.5vw, 36px);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  line-height: 1.25;
}

.hall-cap {
  margin-top: 10px;
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 600;
  color: var(--text);
}

.rent-panel .rent-table { margin-top: clamp(16px, 2.6vh, 28px); }

/* список «Форматы мероприятий» в табе */
.rent-formats { margin-top: calc(clamp(14px, 2.2vh, 22px) + 15px); }

.rent-formats .fmt-label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}

.rent-formats ul { list-style: none; margin-top: 10px; }

.rent-formats li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
}

.rent-formats li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .85em;
  width: 8px;
  height: 1px;
  background: var(--gold);
}

/* примечание под звёздочкой — с заметным отступом после форматов */
.rent-info .footnote { margin-top: clamp(20px, 3.2vh, 30px); }

.rent-panel .btn-outline { margin-top: clamp(18px, 3vh, 30px); }

/* слайдер в левой колонке таба: первый слайд — схема зала, дальше фото */
.rent-scheme { min-width: 0; }

/* без отбивки: фото вплотную к рамке */
.rent-scheme.slider { padding: 0; }

.rent-scheme .slider-track { width: 100%; }

.rent-scheme .slider-track img { height: min(58vh, 580px); }

.rent-scheme .slider-track img.is-scheme { object-fit: contain; }

.rent-note {
  margin-top: clamp(14px, 2.2vh, 22px);
  font-size: 13px;
  line-height: 1.6;
  color: var(--text);
  max-width: 480px;
  padding-left: 14px;
  border-left: 2px solid var(--gold);
}

.footnote {
  margin-top: clamp(16px, 2.6vh, 26px);
  max-width: 620px;
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--muted);
}

.rent-inner > .footnote,
.rent > .container > .footnote { margin: clamp(30px, 5vh, 56px) auto 0; text-align: center; }

/* ── Таблицы условий ───────────────────────────────────── */

.rent-table {
  width: 100%;
  max-width: 620px;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.5;
}

.rent-table th {
  background: var(--gold);
  color: #fff;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 10px 14px;
  text-align: left;
  vertical-align: middle;
  border: 1px solid var(--gold-deep);
}

.rent-table td {
  background: #fbfaf7;
  border: 1px solid #d9d1bf;
  padding: 12px 14px;
  vertical-align: middle;
  color: var(--text);
  text-align: left;
}

.rent-table b { font-weight: 600; white-space: nowrap; }

/* ── 4. Залы: контент слева, фото справа ───────────────── */

.hall { padding: clamp(30px, 5vh, 60px) 0; }

.hall-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(36px, 4.5vw, 80px);
  align-items: center;
}

.hall-content .h-gold { margin-bottom: 8px; }

.terms-sub {
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}

.hall-content .rent-table { margin-top: clamp(18px, 3vh, 32px); }

.hall-content .rent-note { margin-top: clamp(16px, 2.4vh, 24px); }

.hall-content .footnote { margin-top: clamp(16px, 2.6vh, 26px); }

.hall-media { min-width: 0; }

.hall-photo {
  width: 100%;
  height: clamp(420px, 56vh, 600px);
  object-fit: cover;
}

/* Слайдер фото */

.slider { position: relative; }

.slider-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.slider-track::-webkit-scrollbar { display: none; }

.slider-track img {
  flex: 0 0 100%;
  width: 100%;
  height: clamp(420px, 56vh, 600px);
  object-fit: cover;
  scroll-snap-align: start;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(167, 153, 123, .92);
  border: 1px solid rgba(255, 255, 255, .35);
  cursor: pointer;
  transition: background .25s, opacity .25s;
}

.slider-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 11px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

.slider-btn.prev { left: 16px; }
.slider-btn.prev::before { transform: translate(-30%, -50%) rotate(-135deg); }

.slider-btn.next { right: 16px; }
.slider-btn.next::before { transform: translate(-70%, -50%) rotate(45deg); }

.slider-btn:hover { background: var(--gold-deep); }

.slider-btn.is-disabled { opacity: .35; pointer-events: none; }

.slider-count {
  position: absolute;
  right: 16px;
  bottom: 14px;
  background: rgba(13, 12, 10, .72);
  border: 1px solid rgba(165, 141, 95, .45);
  color: #e8e1d0;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .12em;
  padding: 5px 12px;
  border-radius: 2px;
}

/* ── Мероприятия в винной комнате ──────────────────────── */

.wine {
  background:
    radial-gradient(1100px 560px at 50% 0%, rgba(165,141,95,.14), transparent 62%),
    var(--dark-2);
  color: #fff;
  padding: clamp(70px, 11vh, 130px) 0;
}

.wine .h-gold { color: var(--gold-soft); }

.wine-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 30px);
  margin-top: clamp(34px, 6vh, 64px);
}

.wine-card {
  background: #1e1a13;
  border: 1px solid rgba(165, 141, 95, .28);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.wine-card-photo { aspect-ratio: 4 / 3; overflow: hidden; }

.wine-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.wine-card:hover .wine-card-photo img { transform: scale(1.04); }

.wine-card-body { padding: 20px 22px 24px; }

.wine-card-body h3 {
  font-weight: 400;
  font-size: 16px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #ece5d5;
  line-height: 1.5;
  min-height: 48px;
}

.wine-card-body p { margin-top: 10px; font-size: 12.5px; line-height: 1.7; color: #b3a999; }

.wine-card-body b { color: #e8e1d0; font-size: 14px; }

.wine-texts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 4vw, 70px);
  margin-top: clamp(46px, 8vh, 84px);
}

.wine-text h3 { margin-bottom: clamp(12px, 2vh, 20px); }

.wine-text { display: flex; flex-direction: column; }

.wine-text p { font-size: 14px; line-height: 1.78; color: #cfc6b2; }

.wine-text p + p { margin-top: 12px; }

/* последнему абзацу — запас до разделителя, чтобы линия не прилипала к тексту */
.wine-text p:last-of-type { margin-bottom: 24px; }

.wine-meta {
  position: relative;
  margin-top: auto; /* прижимается к низу колонки — линии в обеих колонках на одной высоте */
  padding-top: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--gold-soft) !important;
  font-size: 15px !important;
}

/* тонкий разделитель между описанием и строкой «Количество персон · Длительность» */
.wine-meta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(181, 168, 141, .45) 18%, rgba(181, 168, 141, .45) 82%, transparent);
}

/* ── Дополните ваше событие: закольцованная карусель ───── */

.event { padding: clamp(56px, 9vh, 110px) 0; }

.event-sub {
  margin: clamp(14px, 2.4vh, 24px) auto 0;
  max-width: 640px;
  text-align: center;
  font-size: 14.5px;
  line-height: 1.7;
  color: #33302a;
}

.event-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(8px, 1.4vw, 14px);
  margin: clamp(26px, 4.6vh, 48px) 0 0;
}

.event-tab {
  font-family: var(--font);
  font-size: clamp(12px, 1.15vw, 14.5px);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  border-bottom-color: var(--line);
  border-radius: 2px;
  padding: 13px clamp(18px, 2.4vw, 40px);
  cursor: pointer;
  transition: color .25s, border-color .25s, background .25s;
}

.event-tab:hover { color: var(--gold-deep); }

.event-tab.is-active {
  color: var(--gold-deep);
  border-color: var(--gold);
  background: rgba(165, 141, 95, .08);
}

.event-carousel {
  --ev-gap: clamp(12px, 1.4vw, 20px);
  position: relative;
  margin-top: clamp(28px, 4.6vh, 52px);
}

.event-track {
  list-style: none;
  display: flex;
  gap: var(--ev-gap);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.event-track::-webkit-scrollbar { display: none; }

/* 4 полные карточки + 56px выглядывает пятая — ровно по ширине контейнера */
.event-card { flex: 0 0 calc((100% - 3 * var(--ev-gap) - 56px) / 4); min-width: 0; }

.event-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.event-card h3 {
  margin-top: 14px;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.5;
}

.event-card p {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* стрелки — центры кругов на боковых кромках видимых фото */
.event-carousel .slider-btn.prev { left: -23px; }

.event-carousel .slider-btn.next { right: 33px; }

/* полоса прогресса + счётчик под лентой */
.event-progress {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: clamp(16px, 2.6vh, 26px) 0 0;
}

.event-progress-line {
  flex: 1;
  height: 2px;
  background: rgba(167, 153, 123, .25);
  position: relative;
}

.event-progress-line i {
  position: absolute;
  left: 0;
  top: -0.5px;
  height: 3px;
  width: 1.5%;
  background: var(--gold);
  transition: width .4s ease;
}

.event-count {
  flex: 0 0 auto;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--muted);
}

/* ── Контакты ──────────────────────────────────────────── */

.contacts-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 4.5vw, 80px);
  align-items: start;
}

.contacts-photo {
  height: clamp(440px, 58vh, 640px);
  overflow: hidden;
}

.contacts-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contacts-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}

.contacts-title {
  font-weight: 300;
  font-size: clamp(34px, 3.8vw, 54px);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  line-height: 1.15;
  margin-top: 0;
}

.contacts-sub { margin-top: 14px; font-size: 14.5px; color: var(--text); }

.contacts-actions {
  margin-top: clamp(26px, 4.6vh, 46px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: min(430px, 100%);
}

.contacts-actions .btn { width: 100%; }

/* кнопка «Забронировать событие»: бежевый фон, коричневая обводка, стрелка вниз */
.btn-book {
  background: var(--beige);
  border: 1px solid var(--gold-deep);
  color: var(--gold-deep);
  justify-content: center; /* текст по центру, стрелка у правого края */
  position: relative;
}

.btn-book:hover { background: var(--beige-2); color: var(--gold-deep); }

.btn-book .arr {
  position: absolute;
  right: 16px;
  animation: arrowFloat 2.4s ease-in-out infinite;
}

@keyframes arrowFloat {
  0%, 100% { transform: translateY(-6px); }
  50%      { transform: translateY(6px); }
}

.site-footer {
  background: var(--dark);
  color: #8f887a;
  text-align: center;
  font-size: 12px;
  letter-spacing: .04em;
  padding: 22px 20px;
}

.site-footer p { text-align: center; }

.site-footer a { color: var(--gold-soft); text-decoration: none; }
.site-footer a:hover { color: #fff; }

/* ── Появление при скролле ─────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.is-visible { opacity: 1; transform: none; }

body.noanim .reveal { opacity: 1; transform: none; transition: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn-book .arr { animation: none; }
}

/* ── Адаптив ───────────────────────────────────────────── */

@media (max-width: 1080px) {
  .hero { background-attachment: scroll; }

  .formats-grid { grid-template-columns: 1fr; }

  .formats-cards { grid-template-columns: repeat(3, 1fr); }

  .split,
  .contacts-grid { grid-template-columns: 1fr; }

  /* сетка «Почему» на мобильных — одна колонка, фото сверху */
  #why .split { grid-template-columns: 1fr; }

  #why .split-photo { height: 56vh; min-height: 340px; }

  #why .split-photo img {
    position: static;
    transform: none;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  .split-photo,
  .contacts-photo { height: 52vh; min-height: 340px; }

  .split-body { padding: 0; }

  .hall-grid { grid-template-columns: 1fr; }
  .hall-media { order: -1; }
  .slider-track img,
  .hall-photo { height: 48vh; min-height: 320px; }

  .rent-panel { grid-template-columns: 1fr; }
  .rent-scheme img { max-height: min(52vh, 420px); }
  .rent-scheme.slider .slider-track img { height: min(52vh, 420px); }

  .wine-cards { grid-template-columns: 1fr 1fr; }
  .wine-texts { grid-template-columns: 1fr; }

  .event-card { flex-basis: calc((100% - 2 * var(--ev-gap, 16px) - 48px) / 3); }
}

@media (max-width: 700px) {
  .menu-btn { top: 14px; left: 14px; width: 46px; height: 46px; }

  .canvas-menu { padding: 84px 30px 30px; }
  .canvas-logo { width: 170px; margin-bottom: 34px; }

  .hero { padding: 92px 16px 28px; }

  .hero-logo { width: 150px; top: 20px; }

    .hero-title { font-size: clamp(30px, 9vw, 40px); }

  .hero-actions { margin-top: 26px; gap: 12px; flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: min(320px, 100%); padding: 14px 20px; }

  .formats-cards { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  .split-photo,
  .contacts-photo { height: 50vh; }

  .why-row { grid-template-columns: 1fr; gap: 8px; }
  .chip { justify-self: start; }

  .wine-cards { grid-template-columns: 1fr; }
  .wine-card-body h3 { min-height: 0; }

  .event-card { flex-basis: calc(100% - 48px); }
  /* на мобильном стрелки не показываются — навигация свайпом (как на макете) */
  .event-carousel .slider-btn { display: none; }

  .bf-grid { grid-template-columns: 1fr; }

  /* таблицы сжимаются на узких экранах, скролл — страховка */
  .table-wrap .rent-table { min-width: 0; }
  .rent-table b { white-space: normal; }

  .rent-table { font-size: 11.5px; }
  .rent-table th, .rent-table td { padding: 8px 9px; }

  .contacts-actions .btn { width: 100%; }
  .btn-addr { font-size: 11.5px; }
}
