/* ─── FONTS ─────────────────────────────────────────────────────────────────── */
@font-face { font-family: 'Montserrat'; src: url('fonts/Montserrat-Black.ttf') format('truetype'); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('fonts/Montserrat-ExtraBold.ttf') format('truetype'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('fonts/Montserrat-Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('fonts/Montserrat-SemiBold.ttf') format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('fonts/Montserrat-Medium.ttf') format('truetype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('fonts/Montserrat-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('fonts/Montserrat-Light.ttf') format('truetype'); font-weight: 300; font-style: normal; font-display: swap; }

/* ─── VARIABLES ─────────────────────────────────────────────────────────────── */
:root {
  --bg:           #0d0d0f;
  --bg-card:      #141416;
  --bg-raised:    #1a1a1e;
  --text:         #f0ece4;
  --text-dim:     rgba(240, 236, 228, 0.55);
  --text-muted:   rgba(240, 236, 228, 0.35);
  --accent:       #ff8c00;
  --accent-dim:   rgba(255, 140, 0, 0.15);
  --accent-glow:  rgba(255, 140, 0, 0.25);
  --glass-bg:     rgba(20, 20, 22, 0.7);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-hi:     rgba(255, 255, 255, 0.05);
  --radius-sm:    10px;
  --radius-md:    16px;
  --radius-lg:    22px;
  --radius-xl:    30px;
  --nav-h:        68px;
  --section-gap:  120px;
  --container:    1200px;
}

/* ─── RESET ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
select, input, textarea { font-family: inherit; }

/* ─── NAVBAR BOTTOM FADE ────────────────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  height: 56px;
  background: linear-gradient(to bottom, rgba(13,13,15,0.75) 0%, transparent 100%);
  z-index: 99;
  pointer-events: none;
}

/* ─── PARTICLES CANVAS ──────────────────────────────────────────────────────── */
#particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* ─── SCROLLBAR ─────────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(255,140,0,0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,140,0,0.5); }

/* ─── NAVBAR ────────────────────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
#navbar.scrolled {
  background: rgba(13, 13, 15, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: transparent;
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}
.logo {
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.08em;
  color: var(--text);
  flex-shrink: 0;
}
.logo span { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}
.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.02em;
  transition: color 0.2s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.2s ease;
  border-radius: 2px;
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after { transform: scaleX(1); }
.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 50px;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn-nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--accent-glow);
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO ──────────────────────────────────────────────────────────────────── */
#hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
/* Hero panels — вертикальный сплит */
.hero-panels {
  position: absolute;
  inset: 0;
  display: flex;
  pointer-events: none; /* hover только для расширения, не блокируем контент */
}
.hero-panel {
  flex: 1;
  position: relative;
  overflow: hidden;
  pointer-events: auto;
  transition: flex 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-panels:hover .hero-panel { flex: 0.6; }
.hero-panels:hover .hero-panel:hover { flex: 2; }
.hero-panel video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  pointer-events: none;
  display: block;
  transition: opacity 0.4s ease;
}
.hero-panels:hover .hero-panel:hover video { opacity: 0.58; }
/* Принудительно скрываем любые нативные контролы видео */
video::-webkit-media-controls,
video::-webkit-media-controls-enclosure,
video::-webkit-media-controls-panel {
  display: none !important;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(13,13,15,0.3) 0%, transparent 30%, transparent 60%, var(--bg) 100%),
    linear-gradient(to right, rgba(13,13,15,0.5) 0%, transparent 20%, transparent 80%, rgba(13,13,15,0.5) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px;
  padding-top: var(--nav-h);
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(64px, 12vw, 140px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.9;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.hero-title span { color: var(--accent); }
.hero-sub {
  font-size: clamp(15px, 2vw, 19px);
  font-weight: 300;
  color: var(--text-dim);
  max-width: 480px;
  margin: 0 auto 40px;
  letter-spacing: 0.01em;
}
.hero-body {
  display: contents; /* прозрачная обёртка — не влияет на десктоп */
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 15px 36px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 50px;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 4px 24px rgba(255,140,0,0.35);
}
.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,140,0,0.5);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 50px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.35);
  color: var(--text);
  background: rgba(255,255,255,0.05);
}
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  animation: bounce 2s infinite;
  z-index: 1;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ─── REVEAL ANIMATION ──────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 80ms; }
.reveal.delay-2 { transition-delay: 160ms; }
.reveal.delay-3 { transition-delay: 240ms; }

/* ─── SECTIONS ──────────────────────────────────────────────────────────────── */
.section {
  position: relative;
  z-index: 1;
  padding: var(--section-gap) 0;
}
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.container--narrow {
  max-width: 780px;
}
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 14px;
}
.section-desc {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-dim);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── CARDS GRID ────────────────────────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cards-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

/* ─── SHOW CARD ─────────────────────────────────────────────────────────────── */
.show-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  /* Держим GPU-слой всегда готовым — без этого Chrome мигает белым при transform */
  will-change: transform;
  transform: translateZ(0);
}
.show-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  border-color: rgba(var(--accent-rgb, 255,140,0), 0.25);
}
.card-media {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: var(--gradient);
  isolation: isolate;
  transform: translateZ(0); /* Создаём compositor layer — сдерживает video overlay внутри */
}
.card-media--short {
  height: 190px;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.show-card:hover .card-media img {
  transform: scale(1.04);
}
.show-card:hover .card-media img.hidden {
  opacity: 0;
}
.card-gradient {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to bottom, transparent 45%, rgba(13,13,15,0.7) 80%, var(--bg-card) 100%);
}
.card-canvas {
  display: none;
}
/* Обёртка с opacity — не даёт Chrome использовать hardware video overlay */
.card-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0s 0.5s;
  pointer-events: none;
  clip-path: inset(0 0 3px 0); /* Обрезаем нижние пиксели на уровне div-обёртки */
}
.show-card:hover .card-video-wrap {
  opacity: 0.9999; /* Не 1 — иначе Chrome включает hardware video overlay */
  visibility: visible;
  transition: opacity 0.5s ease, visibility 0s;
}
.card-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  display: block;
}
.card-video::-webkit-media-controls,
.card-video::-webkit-media-controls-enclosure,
.card-video::-webkit-media-controls-panel {
  display: none !important;
}
.card-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 50px;
  border: 1px solid;
  backdrop-filter: blur(8px);
}
.card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
  z-index: 3;                  /* Выше card-media — перекрывает стык */
  background: var(--bg-card);  /* Явный фон */
  margin-top: -2px;            /* Заходит на 2px в card-media, закрывая артефакт */
}
.card-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.card-subtitle {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  opacity: 0.8;
}
.card-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 16px;
}
.card-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
}
.meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
}
.meta-item svg { opacity: 0.6; flex-shrink: 0; }
.card-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 18px;
}
.price-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.price-desc {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 400;
}
.card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 0;
  width: 100%;
  background: rgba(var(--accent-rgb, 255,140,0), 0.12);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(var(--accent-rgb, 255,140,0), 0.2);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  margin-top: auto;
}
.card-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ─── REVIEWS ───────────────────────────────────────────────────────────────── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.25s, transform 0.25s;
}
.review-card:hover {
  border-color: rgba(255,140,0,0.2);
  transform: translateY(-3px);
}
.review-stars {
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 2px;
}
.review-text {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.7;
  flex: 1;
  font-style: italic;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,140,0,0.3), rgba(255,140,0,0.1));
  border: 1px solid rgba(255,140,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}
.review-name {
  font-size: 13px;
  font-weight: 600;
}
.review-show {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 2px;
}

/* ─── TG MINI APP HINT ──────────────────────────────────────────────────────── */
.tg-app-hint {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  background: rgba(42, 171, 238, 0.06);
  border: 1px solid rgba(42, 171, 238, 0.18);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}
.tg-app-hint__icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(42, 171, 238, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2AABEE;
}
.tg-app-hint__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.tg-app-hint__text strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.tg-app-hint__text span {
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 300;
  line-height: 1.5;
}
.tg-app-hint__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  background: rgba(42, 171, 238, 0.12);
  color: #2AABEE;
  font-size: 13px;
  font-weight: 600;
  border-radius: 50px;
  border: 1px solid rgba(42, 171, 238, 0.28);
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.tg-app-hint__btn:hover {
  background: rgba(42, 171, 238, 0.22);
  border-color: rgba(42, 171, 238, 0.5);
}

/* ─── BOOKING ───────────────────────────────────────────────────────────────── */
.booking-wrap {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 48px;
  backdrop-filter: blur(20px);
}
.booking-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-input {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}
.form-input:focus {
  border-color: rgba(255,140,0,0.5);
  background: rgba(255,140,0,0.04);
  box-shadow: 0 0 0 3px rgba(255,140,0,0.08);
}
.form-input::placeholder { color: var(--text-muted); }
.form-input.error { border-color: rgba(233,69,96,0.6); }
.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(240,236,228,0.4)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-select option { background: #1a1a1e; color: var(--text); }
.form-select optgroup { color: var(--text-muted); font-size: 11px; }
.form-textarea {
  resize: vertical;
  min-height: 100px;
}
.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 40px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 50px;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 4px 24px rgba(255,140,0,0.3);
  margin-top: 8px;
  animation: pulse-btn 3s infinite;
}
@keyframes pulse-btn {
  0%, 100% { box-shadow: 0 4px 24px rgba(255,140,0,0.3); }
  50% { box-shadow: 0 4px 40px rgba(255,140,0,0.55); }
}
.btn-submit:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  animation: none;
  box-shadow: 0 8px 32px rgba(255,140,0,0.5);
}
.btn-submit:active { transform: translateY(0); }
.btn-submit.loading { opacity: 0.7; pointer-events: none; }

/* Form success state */
.form-success {
  text-align: center;
  padding: 48px 24px;
}
.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(118,200,147,0.15);
  border: 1px solid rgba(118,200,147,0.3);
  color: #76c893;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.form-success h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
}
.form-success p {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 28px;
}
.btn-tg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: #2AABEE;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 50px;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-tg:hover { opacity: 0.9; transform: translateY(-1px); }

/* Contacts under form */
.booking-contacts {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--glass-border);
  text-align: center;
}
.contacts-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.contacts-row {
  display: flex;
  justify-content: center;
  gap: 12px;
}
.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--glass-border);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  color: var(--text-dim);
}
.contact-btn--tg:hover { background: rgba(42,171,238,0.12); border-color: rgba(42,171,238,0.3); color: #2AABEE; }
.contact-btn--ig:hover { background: rgba(225,48,108,0.1); border-color: rgba(225,48,108,0.3); color: #E1306C; }
.contact-btn--tt:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.2); color: var(--text); }

/* ─── FOOTER ────────────────────────────────────────────────────────────────── */
#footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--glass-border);
  padding: 56px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 300;
  margin-top: 8px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.footer-links a {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 400;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-social {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.footer-social a:hover {
  color: var(--accent);
  border-color: rgba(255,140,0,0.3);
  background: var(--accent-dim);
}
.footer-bottom {
  text-align: center;
  border-top: 1px solid var(--glass-border);
  padding-top: 24px;
}
.footer-bottom p {
  font-size: 12px;
  color: var(--text-muted);
}

/* ─── RESPONSIVE ────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .cards-grid,
  .cards-grid--3,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-social {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  /* Убираем навбар и полоску-тень под ним */
  #navbar { display: none; }
  body::before { display: none; }
  .hero-content { padding-top: 0; width: 100%; text-align: center; }

  /* hero-body становится inline-flex → его ширина = ширина заголовка BELKA */
  .hero-body {
    display: inline-flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .hero-title { margin-bottom: 0; }
  .hero-actions {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }
  .btn-primary,
  .btn-ghost {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Герой: сетка 2×3 (2 видео в ряд, 3 ряда) */
  .hero-panels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 1fr);
  }
  .hero-panel {
    transition: none;
  }
  .hero-panel + .hero-panel {
    border-left: none;
    border-top: none;
  }
  /* Порядок панелей: лево — пузыри/бабочка/пена, право — топсекрет/gl1/официанты */
  /* HTML-порядок: 1=ts001 2=of-poster 3=gl1 4=butterflies 5=bubbles 6=foam */
  .hero-panel:nth-child(1) { order: 2; } /* ts001     → право  ряд 1 */
  .hero-panel:nth-child(2) { order: 6; } /* of-poster → право  ряд 3 */
  .hero-panel:nth-child(3) { order: 4; } /* gl1       → право  ряд 2 */
  .hero-panel:nth-child(4) { order: 3; } /* butterflies → лево ряд 2 */
  .hero-panel:nth-child(5) { order: 1; } /* bubbles   → лево   ряд 1 */
  .hero-panel:nth-child(6) { order: 5; } /* foam      → лево   ряд 3 */


  /* Отключаем hover-расширение на мобиле */
  .hero-panels:hover .hero-panel,
  .hero-panels:hover .hero-panel:hover { flex: 1; }
}
@media (max-width: 768px) {
  :root {
    --section-gap: 64px;
    --nav-h: 60px;
  }
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    background: rgba(13,13,15,0.97);
    backdrop-filter: blur(20px);
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-link { font-size: 18px; }
  .btn-nav-cta { font-size: 16px; padding: 14px 32px; }
  .burger { display: flex; }
  .nav-inner { padding: 0 20px; }

  /* Горизонтальный скролл карточек как в мини-аппе */
  .cards-grid,
  .cards-grid--3 {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding: 4px 20px 16px;
    margin: 0 -20px;
    grid-template-columns: unset;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .cards-grid::-webkit-scrollbar,
  .cards-grid--3::-webkit-scrollbar { display: none; }

  .show-card {
    min-width: 172px;
    max-width: 172px;
    flex-shrink: 0;
    scroll-snap-align: start;
  }

  .card-media { height: 150px; }
  .card-media--short { height: 130px; }

  .card-body {
    padding: 14px 14px 16px;
  }
  .card-title { font-size: 15px; }
  .card-subtitle { font-size: 10px; margin-bottom: 8px; }
  .card-desc { font-size: 12px; margin-bottom: 12px; -webkit-line-clamp: 3; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
  .card-meta { gap: 10px; margin-bottom: 12px; }
  .meta-item { font-size: 11px; }
  .price-value { font-size: 18px; }
  .card-btn { padding: 10px 0; font-size: 12px; }
  .card-tag { font-size: 8px; padding: 4px 8px; top: 10px; right: 10px; }

  /* Цена: сумма и пояснение стопкой */
  .card-price { flex-direction: column; gap: 2px; }
  .price-value { font-size: 20px; }
  .price-desc { font-size: 11px; }

  .section-header { margin-bottom: 28px; }
  .section-title { font-size: 22px; }
  .section-desc { font-size: 13px; }

  .container { padding: 0 20px; }
  .booking-wrap { padding: 24px 16px; }
  .form-row { grid-template-columns: 1fr; }
  /* TG хинт: иконка + текст в ряд, кнопка снизу во всю ширину */
  .tg-app-hint { flex-wrap: wrap; gap: 10px; padding: 14px 16px; }
  .tg-app-hint__text { flex: 1 1 0; min-width: 0; }
  .tg-app-hint__btn { width: 100%; justify-content: center; margin-top: 2px; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-links { align-items: center; }
  .footer-social { justify-content: center; }
}

@media (max-width: 480px) {
  /* Prevent iOS Safari from zooming on input focus (requires font-size >= 16px) */
  .form-input { font-size: 16px; }
}
