:root {
  --bg: #ffffff;
  --bg-soft: #f7f6f3;
  --ink: #1d1c1a;
  --ink-soft: #76746d;
  --line: #ebe9e3;
  --line-strong: #ddd9d0;
  --green: #2f7d4f;
  --green-d: #276941;
  --gold: #a8843c;
  --dark: #15120d;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(20, 18, 13, 0.05);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

/* запрет горизонтального «таскания» страницы пальцем — сайт строго статичен по ширине */
html, body { max-width: 100%; overflow-x: hidden; overscroll-behavior-x: none; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 88px;
  line-height: 1.5;
}

h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; font-weight: 600; }

/* логотип — векторный знак на ПРОЗРАЧНОМ фоне (без тёмного медальона) */
.logo-badge {
  display: grid;
  place-items: center;
  background: transparent;
}
.logo-badge img { display: block; width: 100%; height: 100%; object-fit: contain; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: inherit; }
.brand .logo-badge { width: 42px; height: 42px; }
.brand .logo-badge img { width: 100%; height: 100%; }
.brand-name { font-weight: 600; font-size: 19px; letter-spacing: 3px; color: var(--ink); }

.cart-btn {
  position: relative;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--ink);
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.cart-btn:hover { border-color: var(--green); color: var(--green); }
.cart-btn.pulse { animation: pop .4s ease; }
@keyframes pop { 0%{transform:scale(1)} 40%{transform:scale(1.16)} 100%{transform:scale(1)} }
.cart-count {
  position: absolute;
  top: -6px; right: -6px;
  background: var(--green);
  color: #fff;
  font-size: 12px; font-weight: 700;
  min-width: 20px; height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  display: grid; place-items: center;
  border: 2px solid var(--bg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--line);
  text-align: center;
  background: linear-gradient(180deg, #fbfaf7, var(--bg-soft));
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 20px 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .logo-badge { width: 124px; height: 124px; margin-bottom: 20px; }
.hero .logo-badge img { width: 100%; height: 100%; }
.hero-kicker {
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--green);
}
.hero-title {
  font-size: clamp(34px, 8vw, 50px);
  letter-spacing: 5px;
  margin: 12px 0 8px;
  color: var(--ink);
}
.hero-sub { font-size: 17px; color: var(--ink-soft); }
.hero-note {
  margin: 18px auto 0;
  max-width: 420px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ---------- Category nav ---------- */
/* статичная панель категорий: чипы переносятся на строки, без горизонтальной прокрутки */
.cat-nav {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 18px;
}
.chip {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px;
  text-decoration: none;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--line-strong);
  padding: 7px 14px 7px 11px;
  border-radius: 999px;
  font-size: 13.5px; font-weight: 500;
  white-space: nowrap;
  transition: color .2s, border-color .2s, background .2s;
}
.chip:hover { color: var(--ink); border-color: var(--green); }
.chip-ic { display: inline-flex; color: var(--green); }
.chip-ic svg { width: 16px; height: 16px; }

/* ---------- Menu ---------- */
.container { max-width: 920px; margin: 0 auto; padding: 4px 18px 40px; }
.category { padding-top: 34px; }
.category-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  color: var(--ink);
  display: flex; align-items: center; gap: 11px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.cat-ic {
  flex: 0 0 auto; width: 38px; height: 38px;
  display: grid; place-items: center; color: var(--green);
  background: linear-gradient(135deg, rgba(47,125,79,.13), rgba(168,132,60,.14));
  border-radius: 11px;
}
.cat-ic svg { width: 21px; height: 21px; }
.category-note { color: var(--ink-soft); font-size: 13px; margin: 8px 0 0 1px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 0 28px;
  margin-top: 6px;
}
.card {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
/* миниатюра блюда: фото + запасная иконка */
.card-thumb {
  position: relative; flex: 0 0 66px; width: 66px; height: 66px;
  border-radius: 14px; overflow: hidden;
  background: linear-gradient(135deg, rgba(47,125,79,.10), rgba(168,132,60,.10));
}
.thumb-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb-ic {
  position: absolute; inset: 0; display: none; place-items: center;
  color: var(--green);
  background: linear-gradient(135deg, rgba(47,125,79,.14), rgba(168,132,60,.15));
}
.thumb-ic svg { width: 26px; height: 26px; }
[data-thumb].noimg .thumb-ic { display: grid; }
.card-body { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.card-name { font-size: 15.5px; font-weight: 600; color: var(--ink); }
.card-desc { font-size: 12.5px; color: var(--ink-soft); margin-top: 2px; }
.card-foot { display: flex; align-items: center; gap: 14px; }
.price { font-weight: 600; font-size: 15px; color: var(--ink); white-space: nowrap; }

.btn-add {
  border: 1px solid var(--green);
  background: transparent;
  color: var(--green);
  font-weight: 600; font-size: 13.5px;
  padding: 8px 15px;
  border-radius: 10px;
  cursor: pointer;
  transition: background .18s, color .18s;
}
.btn-add:hover { background: var(--green); color: #fff; }
.btn-add:active { transform: scale(.96); }

.stepper {
  display: flex; align-items: center; gap: 2px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 3px;
}
.stepper button {
  border: none;
  background: var(--bg-soft);
  color: var(--ink);
  width: 28px; height: 28px;
  border-radius: 7px;
  font-size: 17px; font-weight: 600;
  cursor: pointer;
  display: grid; place-items: center;
  transition: background .15s;
}
.stepper button:hover { background: var(--line-strong); }
.stepper button:active { transform: scale(.92); }
.stepper span { min-width: 26px; text-align: center; font-weight: 600; font-size: 14px; color: var(--ink); }
.stepper.small button { width: 26px; height: 26px; font-size: 15px; }
.stepper.small span { min-width: 20px; font-size: 13px; }

/* ---------- Footer ---------- */
.footer {
  text-align: center;
  padding: 40px 20px 44px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}
.footer-name { font-size: 22px; color: var(--ink); margin-bottom: 10px; letter-spacing: 3px; }
.footer p { font-size: 14px; margin: 4px 0; }
.footer-small { font-size: 12px !important; margin-top: 12px !important; color: #a6a299; }
.map-link {
  color: var(--green); font-weight: 600; text-decoration: none;
  border-bottom: 1px solid rgba(47,125,79,.35);
}
.map-link:hover { border-bottom-color: var(--green); }

/* ---------- Order bar ---------- */
.order-bar {
  position: fixed;
  left: 50%; bottom: 16px;
  transform: translateX(-50%);
  z-index: 35;
  width: min(92%, 400px);
  border: none;
  background: var(--green);
  color: #fff;
  padding: 14px 20px;
  border-radius: 13px;
  font-size: 15px; font-weight: 600;
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(47, 125, 79, 0.28);
  transition: background .2s, transform .15s;
}
.order-bar:hover { background: var(--green-d); }
.order-bar:active { transform: translateX(-50%) scale(.98); }
.bar-total { background: rgba(255,255,255,.18); padding: 3px 11px; border-radius: 999px; }

/* ---------- Overlay + Cart ---------- */
.overlay {
  position: fixed; inset: 0;
  background: rgba(20, 18, 13, 0.4);
  opacity: 0; visibility: hidden;
  transition: opacity .25s;
  z-index: 50;
}
.overlay.show { opacity: 1; visibility: visible; }

.cart {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: min(410px, 100%);
  background: var(--bg);
  z-index: 60;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
  box-shadow: -8px 0 30px rgba(20,18,13,.12);
}
.cart.open { transform: translateX(0); }
.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.cart-head h2 { font-size: 21px; color: var(--ink); }
.cart-close {
  border: 1px solid var(--line-strong); background: var(--bg);
  width: 34px; height: 34px; border-radius: 9px;
  font-size: 15px; cursor: pointer; color: var(--ink-soft);
}
.cart-close:hover { border-color: var(--ink); color: var(--ink); }

.cart-items { flex: 1; overflow-y: auto; padding: 8px 18px; }
.cart-empty { text-align: center; color: var(--ink-soft); padding: 50px 20px; line-height: 1.7; }

.cart-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.cart-emoji {
  position: relative; flex: 0 0 44px; width: 44px; height: 44px;
  border-radius: 11px; overflow: hidden;
  background: linear-gradient(135deg, rgba(47,125,79,.12), rgba(168,132,60,.12));
}
.cart-emoji .thumb-ic svg { width: 20px; height: 20px; }
.cart-info { display: flex; flex-direction: column; min-width: 0; }
.cart-name { font-weight: 600; font-size: 14px; color: var(--ink); }
.cart-price { font-size: 12px; color: var(--ink-soft); }
.cart-sum { font-weight: 600; font-size: 14px; color: var(--ink); white-space: nowrap; }

.cart-footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 16px 18px calc(16px + env(safe-area-inset-bottom));
}
.cart-total-row {
  display: flex; justify-content: space-between;
  font-size: 17px; font-weight: 600; color: var(--ink);
  margin-bottom: 14px;
}

.form { display: flex; flex-direction: column; gap: 11px; margin-bottom: 14px; }
/* выбор способа получения: доставка / в кафе */
.order-mode {
  display: flex; gap: 5px; padding: 4px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px;
}
.order-mode button {
  flex: 1; border: 0; background: transparent; cursor: pointer;
  font: 600 13px/1.2 "Inter", sans-serif; color: var(--ink-soft);
  padding: 10px 8px; border-radius: 9px;
  transition: background .18s, color .18s, box-shadow .18s;
}
.order-mode button:hover { color: var(--ink); }
.order-mode button.active { background: var(--green); color: #fff; box-shadow: 0 2px 8px rgba(47,125,79,.28); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form label { font-size: 12.5px; font-weight: 600; color: var(--ink-soft); display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.form .optional { font-weight: 400; color: #a6a299; }
.form select, .form input {
  font: inherit; font-weight: 500;
  color: var(--ink);
  width: 100%; min-width: 0; max-width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--bg);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.form select { text-overflow: ellipsis; }
.form select:focus, .form input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(47,125,79,.12);
}
.form input::placeholder { color: #b3afa6; }
.form-error { color: #c0392b; font-size: 13px; font-weight: 600; min-height: 16px; }

/* поля даты: нативный iOS-вид вылезает за край и не уважает width:100% —
   сбрасываем appearance и держим всё строго в рамках поля */
.form input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
  min-height: 44px;
  line-height: 1.2;
  text-align: left;
  position: relative;
}
.form input[type="date"]::-webkit-date-and-time-value {
  text-align: left;
  margin: 0;
  padding: 0;
}
.form input[type="date"]::-webkit-calendar-picker-indicator {
  margin-left: auto;
  flex-shrink: 0;
}

.order-btn {
  width: 100%;
  border: none;
  background: var(--green);
  color: #fff;
  font-size: 15.5px; font-weight: 600;
  padding: 14px;
  border-radius: 11px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  transition: background .2s, transform .1s;
}
.order-btn:hover { background: var(--green-d); }
.order-btn:active { transform: scale(.98); }
.cart-hint { text-align: center; font-size: 12px; color: var(--ink-soft); margin-top: 9px; }

.hidden { display: none !important; }

/* =====================================================================
   САЙТ ОТЕЛЯ
   ===================================================================== */
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-link { color: var(--ink-soft); text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap; }
.header-link:hover { color: var(--ink); }

.topnav { display: flex; align-items: center; gap: 22px; }
.topnav a { color: var(--ink-soft); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .2s; }
.topnav a:hover { color: var(--ink); }
.topnav-cta {
  color: #fff !important; background: var(--green);
  padding: 8px 16px; border-radius: 10px;
}
.topnav-cta:hover { background: var(--green-d); }

/* Переключатель языка RU / EN */
.lang-switch {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line); border-radius: 999px;
  background: #fff; padding: 2px; overflow: hidden; flex-shrink: 0;
}
.lang-switch button {
  border: 0; background: transparent; cursor: pointer;
  font: 600 12px/1 "Inter", sans-serif; letter-spacing: .04em;
  color: var(--ink-soft); padding: 6px 10px; border-radius: 999px;
  transition: background .18s, color .18s;
}
.lang-switch button:hover { color: var(--ink); }
.lang-switch button.active { background: var(--green); color: #fff; }

/* Hero отеля */
.h-hero {
  position: relative; overflow: hidden;
  text-align: center;
  background: linear-gradient(180deg, #fbfaf7, var(--bg-soft));
  border-bottom: 1px solid var(--line);
}
/* анимированные мягкие пятна на фоне героя */
.h-hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.h-hero-bg span { position: absolute; border-radius: 50%; filter: blur(48px); opacity: .55; animation: heroBlob 17s ease-in-out infinite; }
.h-hero-bg span:nth-child(1){ width:340px; height:340px; left:-70px; top:-50px; background: radial-gradient(circle, rgba(47,125,79,.40), transparent 70%); }
.h-hero-bg span:nth-child(2){ width:300px; height:300px; right:-50px; top:0; background: radial-gradient(circle, rgba(168,132,60,.40), transparent 70%); animation-delay:-6s; }
.h-hero-bg span:nth-child(3){ width:380px; height:380px; left:28%; bottom:-150px; background: radial-gradient(circle, rgba(47,125,79,.26), transparent 70%); animation-delay:-10s; }
@keyframes heroBlob { 0%,100%{ transform: translate(0,0) scale(1);} 33%{ transform: translate(26px,18px) scale(1.08);} 66%{ transform: translate(-18px,12px) scale(.95);} }

/* фоновое видео Hero (озеро Иссык-Куль) + светлая вуаль для читаемости */
.h-hero-video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  pointer-events: none; background: #eef1ef;
}
.h-hero-veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(115% 78% at 50% 40%, rgba(255,255,255,.14), rgba(255,255,255,.50) 58%, rgba(251,250,247,.80)),
    linear-gradient(180deg, rgba(255,255,255,.40), rgba(255,255,255,.22) 44%, rgba(251,250,247,.82));
}
/* когда есть видео — анимированные пятна в Hero отеля не нужны */
.h-hero .h-hero-bg { display: none; }

.h-hero-inner {
  position: relative; z-index: 2;
  max-width: 720px; margin: 0 auto;
  padding: 64px 20px 70px;
  display: flex; flex-direction: column; align-items: center;
}
.h-hero .logo-badge {
  width: 132px; height: 132px; margin-bottom: 22px;
  /* мягкий белый ореол вместо тёмного бокса — логотип читается на видео */
  background: radial-gradient(closest-side, rgba(255,255,255,.92), rgba(255,255,255,.55) 56%, transparent 80%);
}
.h-hero .logo-badge img { width: 84%; height: 84%; }
.h-hero-title { font-family: "Playfair Display", serif; font-weight: 600; font-size: clamp(40px, 9vw, 64px); letter-spacing: .5px; margin: 10px 0 10px; color: var(--ink); }
.h-hero-sub { font-size: 15px; letter-spacing: .3px; color: var(--ink-soft); max-width: 420px; }
.h-hero-actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; justify-content: center; }

.btn-primary {
  background: linear-gradient(135deg, var(--green), #2a7146); color: #fff; text-decoration: none;
  font-weight: 600; font-size: 15px; padding: 14px 28px; border-radius: 12px;
  box-shadow: 0 8px 22px rgba(47, 125, 79, 0.30);
  transition: transform .2s, box-shadow .2s, filter .2s;
}
.btn-primary:hover { filter: brightness(1.06); box-shadow: 0 12px 30px rgba(47, 125, 79, 0.40); transform: translateY(-1px); }
.btn-ghost {
  background: rgba(255,255,255,.6); color: var(--ink); text-decoration: none;
  font-weight: 600; font-size: 15px; padding: 14px 24px; border-radius: 12px;
  border: 1px solid var(--line-strong); transition: border-color .2s, background .2s, transform .2s;
}
.btn-ghost:hover { border-color: var(--green); color: var(--green); transform: translateY(-1px); }

/* Секции */
.section { padding: 64px 0; }
.section.alt { background: var(--bg-soft); }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 18px; }
.wrap.narrow { max-width: 680px; }
.wrap.center, .center { text-align: center; }
.section-title { font-family: "Playfair Display", serif; font-weight: 600; font-size: clamp(27px, 5.4vw, 36px); color: var(--ink); margin-bottom: 8px; }
.section-sub { color: var(--ink-soft); font-size: 15px; margin-bottom: 32px; }
.lead { font-size: 17px; line-height: 1.7; color: var(--ink-soft); margin-bottom: 40px; }
/* премиальное описание «О нас» — элегантный серив Cormorant Garamond */
.about .lead {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  font-size: clamp(20px, 5.2vw, 27px);
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: .2px;
  color: #44403a;
  max-width: 640px;
  margin: 8px auto 40px;
  text-wrap: balance;
}

.features {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center;
}
.feature {
  display: flex; flex-direction: column; gap: 4px; align-items: center;
  padding: 26px 14px 22px; border-radius: 18px;
  transition: transform .28s cubic-bezier(.2,.7,.2,1), box-shadow .28s;
}
.feat-ic {
  width: 54px; height: 54px; display: grid; place-items: center; border-radius: 15px;
  color: var(--green); background: linear-gradient(135deg, rgba(47,125,79,.16), rgba(168,132,60,.16));
  margin-bottom: 8px; box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
}
.feat-ic svg { width: 26px; height: 26px; }
.feature b { font-size: 14.5px; color: var(--ink); }
.feature i { font-size: 12px; color: var(--ink-soft); font-style: normal; }

/* Номера — видео сверху, цена снизу */
.rooms { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.room-card {
  display: flex; flex-direction: column; background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: border-color .2s, transform .15s, box-shadow .2s;
}
.room-card:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(20,18,13,.08); }

.room-media { position: relative; width: 100%; aspect-ratio: 9 / 16; background: #11100c; }
.room-media iframe,
.room-media video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; display: block; }
.room-media.empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background: var(--bg-soft);
}
.room-media.empty span { font-size: 34px; }
.room-media.empty i { font-style: normal; font-size: 12px; color: var(--ink-soft); }

/* body тянется на всю высоту → футер у всех карточек на одном уровне */
.room-body { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; }
.room-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.room-name { font-size: 18px; color: var(--ink); }
.room-cap { font-size: 12px; color: var(--ink-soft); white-space: nowrap; }
.room-desc { font-size: 13.5px; color: var(--ink-soft); margin: 6px 0 14px; line-height: 1.5; }
.room-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px 14px; flex-wrap: wrap; }
.room-price { font-weight: 600; font-size: 14px; color: var(--ink); }
.room-price i { font-weight: 400; font-size: 12px; color: var(--ink-soft); font-style: normal; }
.price-rows { display: none; }
.room-foot .btn-add { white-space: nowrap; }

/* ===== Видео-«гифки» (рилсы и номера): автозацикленные, без звука ===== */
.vid { position: relative; cursor: pointer; }

/* кнопка play по центру — видна, пока видео не играет; по тапу запускает */
.vid-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  z-index: 4; width: 56px; height: 56px; border: none; border-radius: 50%;
  background: rgba(17, 16, 12, 0.55); color: #fff; cursor: pointer;
  display: grid; place-items: center; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  opacity: 1; transition: opacity .25s, transform .15s, background .2s;
}
.vid-play svg { width: 26px; height: 26px; margin-left: 3px; }
.vid-play:hover { background: var(--green); transform: translate(-50%, -50%) scale(1.06); }
/* когда видео играет — кнопку прячем */
.vid.is-playing .vid-play { opacity: 0; pointer-events: none; transform: translate(-50%, -50%) scale(.8); }
/* во время буферизации — лёгкая пульсация кнопки */
.vid.is-loading .vid-play { animation: vidPulse 1s ease-in-out infinite; }
@keyframes vidPulse { 0%,100% { opacity: .75; } 50% { opacity: 1; } }

/* компактная кнопка звука в углу */
.vid-sound {
  position: absolute; right: 10px; bottom: 10px; z-index: 3;
  width: 38px; height: 38px; border: none; border-radius: 50%;
  background: rgba(17, 16, 12, 0.5); color: #fff; cursor: pointer;
  display: grid; place-items: center; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  transition: background .2s, transform .15s;
}
.vid-sound:hover { background: rgba(17, 16, 12, 0.72); transform: scale(1.06); }
.vid-sound svg { width: 18px; height: 18px; }
.vid-sound .ic-unmuted { display: none; }
.vid.sound-on .vid-sound { background: var(--green); }
.vid.sound-on .vid-sound .ic-muted { display: none; }
.vid.sound-on .vid-sound .ic-unmuted { display: block; }

/* ===== Атмосфера — лента рилсов ===== */
.reels-viewport { position: relative; }
/* статичная сетка (без горизонтальной прокрутки) */
.reels {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  padding: 6px 0 4px;
}
.reel {
  position: relative; width: 100%;
  border-radius: 20px; overflow: hidden;
  background: #11100c;
  box-shadow: 0 6px 22px rgba(20, 18, 13, 0.12);
  transition: transform .25s, box-shadow .25s;
}
.reel:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(20, 18, 13, 0.20); }
.reel video {
  display: block; width: 100%; aspect-ratio: 9 / 16;
  object-fit: cover; background: #11100c;
}
.reel-cap {
  position: absolute; left: 0; right: 0; top: 0; z-index: 2;
  padding: 12px 14px 26px; font-size: 13.5px; font-weight: 700; color: #fff;
  background: linear-gradient(rgba(0, 0, 0, 0.65), transparent);
  pointer-events: none; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}
/* стрелки больше не нужны — лента статична */
.reels-arrow { display: none; }

/* ===== Модальное окно бронирования ===== */
body.modal-open { overflow: hidden; }
.modal-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(20, 18, 13, 0.5); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: opacity .25s;
}
.modal-overlay.show { opacity: 1; visibility: visible; }
.modal {
  position: fixed; z-index: 100;
  left: 50%; top: 50%; transform: translate(-50%, -46%);
  width: min(560px, calc(100% - 32px));
  max-height: min(88vh, 780px);
  background: var(--bg); border-radius: 18px;
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 24px 64px rgba(20, 18, 13, 0.3);
  opacity: 0; visibility: hidden;
  transition: opacity .25s, transform .25s;
}
.modal.open { opacity: 1; visibility: visible; transform: translate(-50%, -50%); }
.modal-head {
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid var(--line); background: var(--bg);
}
.modal-head h2 { font-size: 22px; color: var(--ink); }
.modal-close {
  flex: 0 0 auto; border: 1px solid var(--line-strong); background: var(--bg);
  width: 38px; height: 38px; border-radius: 10px; cursor: pointer;
  font-size: 16px; color: var(--ink-soft); display: grid; place-items: center;
  transition: border-color .2s, color .2s;
}
.modal-close:hover { border-color: var(--ink); color: var(--ink); }
.modal-body { overflow-y: auto; overflow-x: hidden; padding: 18px 20px 22px; }
.modal-sub { color: var(--ink-soft); font-size: 14px; margin-bottom: 16px; }
.modal-body .form { margin-bottom: 0; }

/* Бронирование */
.booking-card {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 18px; padding: 24px;
}
.booking-card .form { margin-bottom: 0; }

@media (max-width: 760px) {
  .topnav { gap: 12px; }
  .topnav a:not(.topnav-cta) { display: none; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .rooms { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  /* нечётный последний номер занимает всю строку (без пустоты рядом) —
     горизонтальная «featured»-карточка: видео слева, инфо справа */
  .rooms .room-card:last-child:nth-child(odd) { grid-column: 1 / -1; flex-direction: row; }
  .rooms .room-card:last-child:nth-child(odd) .room-media { width: 42%; flex-shrink: 0; aspect-ratio: 3 / 4; }
  .rooms .room-card:last-child:nth-child(odd) .room-body { flex: 1; }
}

@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; gap: 0; }
  .order-bar { bottom: 12px; }
  .section { padding: 48px 0; }

  /* формы (бронь/заказ): поля в один столбец — даты и т.п. на всю ширину */
  .form-row { grid-template-columns: 1fr; }

  /* компактные карточки номеров: видео меньше, в 2 колонки */
  .rooms { gap: 11px; }
  .room-body { padding: 12px 12px 14px; }
  .room-head { flex-wrap: wrap; gap: 2px; }
  .room-name { font-size: 14px; }
  .room-cap { font-size: 11px; }
  .room-desc { display: none; }
  /* на телефоне — цена расписана по месяцам построчно (Июнь … / Июль …) */
  .price-full { display: none; }
  .price-rows { display: flex; flex-direction: column; gap: 1px; }
  .price-rows .pm { font-size: 12.5px; font-weight: 600; color: var(--ink); white-space: nowrap; }
  .price-rows .pm b { font-weight: 500; color: var(--ink-soft); margin-right: 3px; }
  .price-rows i { font-size: 10.5px; color: var(--ink-soft); margin-top: 1px; }
  .room-foot { gap: 8px; }
  .room-foot .btn-add { width: 100%; text-align: center; padding: 9px; }

  /* рилсы — 2 колонки */
  .reels { grid-template-columns: repeat(2, 1fr); gap: 11px; }
  .reel-cap { font-size: 12px; padding: 10px 11px 22px; }
  .vid-sound { width: 34px; height: 34px; right: 8px; bottom: 8px; }
  .vid-sound svg { width: 16px; height: 16px; }

  /* шапка на телефоне: только логотип слева, справа — язык и «Бронировать»
     с воздухом между ними (без тесноты) */
  .brand-name { display: none; }
  .header-inner { padding: 10px 16px; gap: 12px; }
  .topnav { gap: 10px; }
  .topnav-cta { padding: 9px 15px; font-size: 14px; border-radius: 999px; }
  .lang-switch button { padding: 6px 11px; font-size: 12px; }

  /* модалка бронирования — нижний лист */
  .modal {
    left: 0; right: 0; bottom: 0; top: auto; transform: translateY(100%);
    width: 100%; max-width: 100%; max-height: 92vh; border-radius: 18px 18px 0 0;
  }
  .modal.open { transform: translateY(0); }
}
