/* ────────────────────────────────────────────────
   Kirem · концепт 360°-сайта с нуля
   тёмная тёплая палитра, Unbounded + Manrope
   ──────────────────────────────────────────────── */
:root {
  --bg: #0b0908;
  --bg-soft: #14100d;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f4eee3;
  --muted: #a89e8e;
  --accent: #e9b45c;
  --accent-deep: #c98f33;
  --radius: 22px;
  /* Заголовки — Manrope, а не Unbounded. Кириллица Unbounded нарисована по
     латинской логике: одноэтажная «а» (кружок со штрихом) и «В» с маленькой
     верхней чашей читаются как буквы из другого шрифта посреди слова. Шрифт
     грузился и работал корректно — дело было в самом рисунке, весом это не
     лечится. Unbounded остаётся там, где кириллицы нет: логотип и «360°».
     Побочный плюс — казахская версия больше не особый случай: раньше её
     заголовки отдельно переводились на Manrope, потому что в Unbounded нет
     Ә Ғ Қ Ң Ө Ұ Ү Һ. Теперь ru и kk набраны одним шрифтом. */
  --font-display: "Manrope", sans-serif;
  --font-logo: "Unbounded", sans-serif;
  --font-body: "Manrope", sans-serif;
}

/* Казахская версия набирается Inter целиком — и заголовки, и текст.
   Причина не в рисунке, а в наличии букв: ни в Manrope, ни в Unbounded нет
   Ә ә Ғ ғ Қ қ Ң ң Ұ ұ (проверено чтением cmap самих файлов). Браузер брал их
   из системного шрифта, и в слове «Қараңыз» половина букв была чужой.
   Подменять только недостающие буквы через фолбэк-список было бы дешевле, но
   разнобой остался бы внутри слова — просто менее заметный. Inter покрывает
   казахский полностью, поэтому язык переключается на него целиком. */
html[lang="kk"] {
  --font-display: "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
}
/* Логотип — латиница («Kirem», «360°»), казахских букв там нет: Unbounded
   остаётся, иначе логотип менял бы шрифт при переключении языка. */

/* Вес 800 и межбуквенное 0.015em заданы дальше по файлу, в самих правилах
   заголовков: Manrope на 500 рядом с бывшим Unbounded читался заметно легче.
   Значения взяты из удалённой ветки html[lang="kk"], где их уже подобрали. */

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* лёгкое зерно поверх всего — живая «плёночная» фактура */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.9'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }

/* ── кнопки ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn--lg { padding: 16px 30px; font-size: 16px; }
.btn--solid {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #201405;
  box-shadow: 0 8px 30px rgba(233, 180, 92, 0.25);
}
.btn--solid:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(233, 180, 92, 0.4); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line);
  color: var(--text);
  backdrop-filter: blur(12px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }

/* ── страница 404 ── */
.nf {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  padding: 40px 24px;
}
.nf__code {
  font-family: var(--font-logo);
  font-size: clamp(56px, 12vw, 92px);
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
}
.nf__title { font-family: var(--font-display); font-weight: 800; letter-spacing: 0.015em; font-size: clamp(22px, 4vw, 30px); }
.nf__sub { color: var(--muted); max-width: 34ch; }
.nf .btn { margin-top: 10px; }

/* ── навбар ── */
.nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1160px, calc(100% - 28px));
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 12px 10px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.nav.is-scrolled {
  background: rgba(14, 11, 9, 0.72);
  border-color: var(--line);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.45);
}
.nav__logo { display: flex; align-items: center; gap: 12px; }
.nav__logo-mark {
  font-family: var(--font-logo);
  font-size: 12px;
  font-weight: 600;
  color: #201405;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  border-radius: 999px;
  padding: 7px 10px;
}
.nav__logo-name { font-family: var(--font-logo); font-weight: 500; font-size: 15px; letter-spacing: 0.02em; }
.nav__links { display: flex; gap: 26px; font-weight: 600; font-size: 14.5px; color: var(--muted); }
.nav__links a { transition: color 0.2s ease; }
.nav__links a:hover { color: var(--text); }
.nav__cta { font-size: 14px; padding: 11px 20px; }
.nav__side { display: flex; align-items: center; gap: 10px; }

/* ── бургер: на широких экранах его нет вовсе ── */
.nav__burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
/* Открытый бургер складывается в крестик — иначе непонятно, чем закрывать. */
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── переключатель языка ── */
.lang {
  display: flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
}
.lang__opt {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  background: none;
  border: none;
  padding: 6px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}
.lang__opt.is-active {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #201405;
}

/* ── WhatsApp-кнопка ── */
.btn--wa {
  background: linear-gradient(135deg, #29c76a, #1fae57);
  color: #fff;
  box-shadow: 0 8px 30px rgba(41, 199, 106, 0.25);
}
.btn--wa:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(41, 199, 106, 0.4); }

/* ── hero ── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero__pano { position: absolute; inset: 0; }
.hero__pano .pnlm-container { background: var(--bg) !important; }
/* прячем весь UI паннеллума в декоративном режиме */
.hero__pano .pnlm-ui { display: none !important; }
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(11, 9, 8, 0.35) 0%, transparent 55%),
    linear-gradient(180deg, rgba(11, 9, 8, 0.72) 0%, rgba(11, 9, 8, 0.35) 35%, rgba(11, 9, 8, 0.45) 70%, var(--bg) 100%);
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 900px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  backdrop-filter: blur(12px);
  margin-bottom: 28px;
}
.hero__badge-star { color: var(--accent); }
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.14;
  letter-spacing: 0.015em;
  margin-bottom: 22px;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
}
.hero__title em {
  font-style: normal;
  color: var(--text);
  border-bottom: 3px solid rgba(233, 180, 92, 0.65);
  padding-bottom: 2px;
}
.hero__sub {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(244, 238, 227, 0.85);
  max-width: 560px;
  margin: 0 auto 36px;
}
.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__scroll {
  position: absolute;
  z-index: 3;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.hero__scroll span {
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
  animation: scrollhint 1.8s ease-in-out infinite;
}
@keyframes scrollhint {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(12px); opacity: 0.2; }
}

/* ── секции ── */
.section { padding: 110px 24px; max-width: 1160px; margin: 0 auto; }
.section__head { text-align: center; margin-bottom: 48px; }
.section__eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section__title {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.015em;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.2;
  margin-bottom: 14px;
}
.section__sub { color: var(--muted); font-size: 17px; max-width: 520px; margin: 0 auto; }

/* ── тур ── */
.tour__frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  aspect-ratio: 16 / 9;
  min-height: 380px;
  background: var(--bg-soft);
}
.tour__viewer { position: absolute; inset: 0; }
.tour__viewer .pnlm-container { background: var(--bg-soft) !important; }
.tour__scenes {
  position: absolute;
  z-index: 5;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(14, 11, 9, 0.65);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.tour__scene {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  border: none;
  border-radius: 999px;
  padding: 10px 22px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.tour__scene:hover { color: var(--text); }
.tour__scene.is-active {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #201405;
}
.tour__ctrls {
  position: absolute;
  z-index: 5;
  top: 16px;
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tour__ctrl {
  width: 44px;
  height: 44px;
  font-size: 20px;
  color: var(--text);
  background: rgba(14, 11, 9, 0.65);
  border: 1px solid var(--line);
  border-radius: 12px;
  backdrop-filter: blur(14px);
  cursor: pointer;
  transition: background 0.25s ease;
}
.tour__ctrl:hover { background: rgba(255, 255, 255, 0.14); }
/* Родная плашка загрузки Pannellum (белый бокс «Loading…» с прогрессом)
   дублирует наш оверлей и ломает стиль — прячем её целиком. */
.tour__viewer .pnlm-load-box { display: none !important; }

/* оверлей загрузки панорамы: вуаль поверх low-res превью + золотое кольцо */
.tour__loading {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(11, 9, 8, 0.5);
  backdrop-filter: blur(6px);
  opacity: 1;
  transition: opacity 0.45s ease;
  pointer-events: none;
}
.tour__loading.is-hidden { opacity: 0; }
.tour__spinner {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 3px solid rgba(233, 180, 92, 0.2);
  border-top-color: var(--accent);
  animation: tourspin 0.9s linear infinite;
}
.tour__loading-label {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--muted);
}
@keyframes tourspin { to { transform: rotate(360deg); } }
/* фуллскрин: нативный — без скруглений; фолбэк-класс — fixed на весь экран
   (iOS Safari не умеет requestFullscreen на произвольном элементе) */
.tour__frame:fullscreen { border-radius: 0; }
.tour__frame.is-fs {
  position: fixed;
  inset: 0;
  z-index: 60;
  aspect-ratio: auto;
  height: 100%;
  border-radius: 0;
  border: none;
}
body.no-scroll { overflow: hidden; }

/* ── маркеры на панораме ── */
.hs { cursor: pointer; z-index: 4; }
/* метки фокусируемы с клавиатуры — рамка только для focus-visible */
.spot:focus-visible, .walk:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
  border-radius: 10px;
}
.tcard__panel:focus { outline: none; }
.spot__dot {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  border: 3px solid rgba(14, 11, 9, 0.8);
  animation: spotpulse 2.2s ease-out infinite;
}
@keyframes spotpulse {
  0% { box-shadow: 0 0 0 0 rgba(233, 180, 92, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(233, 180, 92, 0); }
  100% { box-shadow: 0 0 0 0 rgba(233, 180, 92, 0); }
}
.spot__label,
.walk__label {
  position: absolute;
  left: 0;
  top: 15px;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  background: rgba(14, 11, 9, 0.75);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  backdrop-filter: blur(10px);
}
.walk__arr {
  position: absolute;
  left: 0;
  top: 0;
  /* --rot задаёт редактор тура (поворот стрелки по направлению перехода) */
  transform: translate(-50%, -50%) rotate(var(--rot, 0deg));
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(14, 11, 9, 0.6);
  border: 1px solid var(--line);
  color: var(--accent);
  font-size: 17px;
  backdrop-filter: blur(10px);
  transition: transform 0.25s ease, background 0.25s ease;
}
.hs:hover .walk__arr { transform: translate(-50%, -50%) rotate(var(--rot, 0deg)) scale(1.1); background: rgba(14, 11, 9, 0.8); }
.walk__label { top: 30px; }

/* ── карточка столика ── */
.tcard {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  padding: 18px;
}
.tcard[hidden] { display: none; }
.tcard__veil {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
}
.tcard__panel {
  position: relative;
  width: 100%;
  max-width: 420px;
  justify-self: center;
  max-height: calc(100svh - 36px);
  overflow-y: auto;
  background: rgba(20, 16, 13, 0.9);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  backdrop-filter: blur(20px);
  animation: cardin 0.4s cubic-bezier(0.34, 1.4, 0.64, 1) both;
}
.tcard__zone {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.tcard__title { font-family: var(--font-display); font-weight: 800; letter-spacing: 0.015em; font-size: 24px; margin-bottom: 14px; }
.tcard__meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.tcard__chip {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 600;
}
.tcard__chip--soft { color: var(--muted); }
.tcard__book { width: 100%; justify-content: center; }
.tcard__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
}
.tcard__close:hover { background: rgba(255, 255, 255, 0.16); }
/* статус-полоса «свободен/занят» */
.tcard__status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  margin-bottom: 20px;
}
.tcard__status--free {
  background: rgba(121, 209, 155, 0.08);
  border-color: rgba(121, 209, 155, 0.3);
  color: #8fdcab;
}
.tcard__status--busy {
  background: rgba(224, 120, 86, 0.08);
  border-color: rgba(224, 120, 86, 0.3);
  color: #eb9878;
}
.tcard__timehead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.tcard__slots-title {
  font-size: 12px;
  font-variant: all-small-caps;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin: 0;
}
.tcard__slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(66px, 1fr));
  gap: 8px;
  margin-bottom: 20px;
}
.tcard__slots .slot { text-align: center; padding: 9px 0; width: 100%; }
.tcard__form { display: flex; gap: 10px; margin-bottom: 14px; }
.tcard__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 46px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 18px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.tcard__input::placeholder { color: var(--muted); }
.tcard__input:focus { border-color: rgba(233, 180, 92, 0.55); background: rgba(255, 255, 255, 0.09); }
/* Пожелание «к какому времени»: лента чипов (стили .slot/.slots__row общие
   со старой сеткой слотов, но статусов занятости здесь нет и не будет) */
.tcard__timewish { margin-bottom: 20px; }
.tcard__timelabel {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
}
.stepper {
  flex: none;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 46px;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}
.stepper__btn {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease;
}
.stepper__btn:hover { background: rgba(233, 180, 92, 0.25); }
.stepper__val { font-size: 13.5px; font-weight: 600; color: var(--muted); padding: 0 10px; white-space: nowrap; }
.stepper__val b { color: var(--text); font-size: 14.5px; }
/* упёрлись в максимум мест столика: число вспыхивает красным, «+» гаснет */
.stepper.is-limit .stepper__val b { color: #ff8d7a; }
.stepper__btn.is-off { opacity: 0.35; }
/* подсказка «компания больше» — ведёт в WhatsApp с банкетным сообщением */
.tcard__more {
  display: block;
  margin: 10px 2px 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.tcard__more:hover { text-decoration: underline; text-underline-offset: 3px; }
.tcard__more[hidden] { display: none; }
.btn--disabled { opacity: 0.45; pointer-events: none; }

/* ── выбор времени ── */
.slots {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.slots__label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.slots__demo {
  font-style: normal;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  opacity: 0.65;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 8px;
  margin-left: 6px;
}
.durs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}
.tcard__timehead .dur { padding: 6px 12px; font-size: 12px; }
.dur {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  background: none;
  border: none;
  border-radius: 999px;
  padding: 7px 13px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}
.dur:hover { color: var(--text); }
.dur.is-active {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #201405;
}
.slots__row {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px;
}
.slot[disabled]:not(.is-busy) { opacity: 0.25; }
.slots__row::-webkit-scrollbar { display: none; }
.slot {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.slot:hover { color: var(--text); background: var(--surface-strong); }
.slot.is-active {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  border-color: transparent;
  color: #201405;
}
.slot.is-busy { opacity: 0.4; text-decoration: line-through; }
.slot.is-busy.is-active { opacity: 0.85; }
.slot--sm { font-size: 12px; padding: 6px 11px; }
.slot[disabled] { cursor: not-allowed; }

/* занятый столик на панораме */
.spot--busy .spot__dot {
  background: #6b625a;
  animation: none;
  box-shadow: none;
}
.spot--busy .spot__label { opacity: 0.55; text-decoration: line-through; }

/* ── меню ── */
.menu__tabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.menu__tab {
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 24px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.menu__tab:hover { color: var(--text); background: var(--surface-strong); }
.menu__tab.is-active {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  border-color: transparent;
  color: #201405;
}
.menu__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.menu-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  animation: cardin 0.5s ease both;
}
.menu-card:hover {
  transform: translateY(-6px);
  border-color: rgba(233, 180, 92, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
@keyframes cardin {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.menu-card__photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.menu-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.menu-card:hover .menu-card__photo img { transform: scale(1.06); }
.menu-card__price {
  position: absolute;
  bottom: 12px;
  right: 12px;
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  background: rgba(14, 11, 9, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  backdrop-filter: blur(10px);
}
.menu-card__body { padding: 18px 20px 22px; }
.menu-card__name { font-family: var(--font-display); font-weight: 800; letter-spacing: 0.015em; font-size: 16.5px; margin-bottom: 6px; }
.menu-card__desc { color: var(--muted); font-size: 14.5px; }

/* ── контакты ── */
.contacts__card {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 640px;
  margin: 0 auto;
  background: linear-gradient(140deg, var(--surface-strong), var(--surface));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 48px;
}
.contacts__list { list-style: none; margin: 26px 0 34px; display: grid; gap: 20px; }
.contacts__list li { display: flex; gap: 16px; align-items: flex-start; }
.contacts__list strong { font-size: 15px; }
.contacts__list div { color: var(--muted); font-size: 15px; }
.contacts__list strong { color: var(--text); }
.contacts__ico {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: var(--accent);
  background: rgba(233, 180, 92, 0.1);
  border: 1px solid rgba(233, 180, 92, 0.25);
  border-radius: 12px;
}
.contacts__actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
/* Иерархия действий: WhatsApp — главное, 2ГИС — контурная, «осмотреться» — текстовая */
.contacts__actions .btn--solid {
  background: transparent;
  border: 1px solid rgba(233, 180, 92, 0.45);
  color: var(--accent);
}
.contacts__actions .btn--solid:hover { background: rgba(233, 180, 92, 0.08); filter: none; }
/* «Ещё раз осмотреться» была текстовой ссылкой и терялась рядом с кнопками.
   Теперь полноценная контурная кнопка, но нейтральная (не спорит с 2ГИС). */
.contacts__actions .btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: var(--text);
}
.contacts__actions .btn--ghost:hover { background: rgba(255, 255, 255, 0.1); }

/* ── футер ── */
.footer {
  display: flex;
  justify-content: center;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
  padding: 34px 24px 44px;
  border-top: 1px solid var(--line);
}
.footer__dot { opacity: 0.5; }

/* ── появление при скролле ── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
/* is-in снимает transform целиком (none, а не translateY(0)): любой transform
   делает элемент containing block для position:fixed потомков, а внутри
   .tour__frame теперь живёт фиксированная карточка столика — с translateY(0)
   она распахивалась бы в рамке тура, а не на весь экран. */
.reveal.is-in { opacity: 1; transform: none; }
/* У рамки тура transform не анимируется вовсе (только fade): до появления в
   вьюпорте и во время transition transform активен и снова делал бы рамку
   containing block для карточки. */
.tour__frame.reveal { transform: none; }

/* ── адаптив ── */
@media (max-width: 860px) {
  /* Раньше здесь стоял голый display:none и разделы на телефоне пропадали
     совсем. Теперь список превращается в выпадающую панель под шапкой,
     которую открывает бургер. */
  .nav__links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px;
    border-radius: 18px;
    background: rgba(14, 11, 9, 0.94);
    border: 1px solid var(--line);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
  }
  .nav__links.is-open { display: flex; }
  /* 48px — палец, а не курсор: пункты меню открываются с телефона. */
  .nav__links a {
    padding: 14px 16px;
    min-height: 48px;
    display: flex;
    align-items: center;
    border-radius: 12px;
    color: var(--text);
    font-size: 15px;
  }
  .nav__links a:active { background: rgba(255, 255, 255, 0.07); }
  .nav__links-cta {
    margin-top: 4px;
    justify-content: center;
    font-weight: 700;
    color: #201405 !important;
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  }
  .nav__burger { display: flex; }
  /* Кнопка из шапки уезжает в меню: логотип + язык + кнопка + бургер в одну
     строку не помещаются — бургер вылезал за пределы шапки уже на 375px. */
  .nav__cta { display: none; }
}
/* На широком экране пункт-дубль в меню не нужен — там есть кнопка в шапке. */
@media (min-width: 861px) {
  .nav__links-cta { display: none; }
}

@media (max-width: 480px) {
  /* Hero на телефоне: контент прижат к верху, а не отцентрован — иначе между
     шапкой и бейджем повисала пустота в пол-экрана. Главная кнопка — крупнее. */
  .hero { align-items: flex-start; }
  /* нижний отступ с запасом под индикатор прокрутки — иначе он наезжает
     на кнопку «Открыть меню», когда контент дотягивается до низа экрана */
  .hero__content { padding: 88px 20px 110px; }
  .hero__actions .btn--lg { font-size: 17px; padding: 18px 30px; }
  .nav { padding: 8px 10px 8px 14px; gap: 10px; }
  .nav__logo-name { display: none; }
  .nav__side { gap: 8px; }
  /* Переключатель языка был 33×27 — первое, что жмёт казахоязычный гость, и
     мимо него промахивались. 44 — минимальная зона под палец. */
  .lang { padding: 3px; }
  .lang__opt {
    min-width: 44px;
    min-height: 44px;
    padding: 0 8px;
    font-size: 12.5px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .nav__cta { font-size: 12.5px; padding: 10px 12px; }
  .footer { flex-direction: column; align-items: center; gap: 4px; text-align: center; }
  .footer__dot { display: none; }
  .tcard__form { flex-wrap: wrap; }
  .tcard__input { flex: 1 1 100%; }
}

@media (max-width: 860px) {
  .contacts__card { grid-template-columns: 1fr; padding: 28px 22px; }
  /* Мобильные отступы ужаты (дважды по фидбеку: 52px всё ещё читалось как
     «слишком далеко» — секции стоят подряд и их паддинги складываются). */
  .section { padding: 36px 18px; }
  .section__head { margin-bottom: 22px; }
  .menu__tabs { margin-bottom: 20px; }
  .tour__frame { aspect-ratio: auto; height: 70svh; }
  /* Кнопки контактов: колонной, одной ширины, без упора в край карточки.
     Текст в одну строку — перенос «WhatsApp» на вторую выглядит сломанно. */
  .contacts__actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .contacts__actions .btn {
    width: 100%;
    justify-content: center;
    white-space: nowrap;
    text-align: center;
    font-size: 15px;
    padding: 15px 14px;
  }
  .contacts__actions .btn svg { width: 18px; height: 18px; }
}
