/* ============================================================
   БОСИКОМ ПО ТРАВЕ — Дизайн-система и стили
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Inter:wght@400;500;600;700;800&display=swap');

/* ============ CSS ПЕРЕМЕННЫЕ ============ */
:root {
  /* Шрифты */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Природная зелёная палитра */
  --green-50:  #f0f5ee;
  --green-100: #ddebd8;
  --green-200: #b8d5b0;
  --green-300: #8ab87e;
  --green-400: #6a9460;
  --green-500: #4A6741;  /* Природный лесной зелёный */
  --green-600: #344d2e;  /* Тёмный */
  --green-700: #263921;
  --green-800: #182616;
  --green-900: #0d1a0b;

  /* Тёплые нейтрали — кремово-бежевые */
  --warm-50:  #F5F0E8;   /* Основной фон — тёплый крем */
  --warm-100: #EDE8DF;   /* Фон альтернативных секций */
  --warm-200: #e0d8cc;
  --warm-300: #c8bca8;
  --warm-400: #b0a090;
  --warm-500: #8c7a68;
  --warm-600: #6a5a48;
  --warm-700: #4e4030;
  --warm-800: #3B2E1E;   /* Основной цвет текста */
  --warm-900: #271e12;
  --warm-950: #1a130b;

  /* Охра/закат — основной акцент */
  --ochre: #C8873A;
  --ochre-light: #f0c070;
  --ochre-dark: #a86b22;

  /* Семантика */
  --bg:        var(--warm-50);      /* Тёплый крем */
  --bg-alt:    var(--warm-100);     /* Чуть темнее для чередования */
  --fg:        var(--warm-800);     /* Тёмно-коричневый текст */
  --fg-muted:  var(--warm-600);
  --fg-light:  var(--warm-500);
  --nature:    var(--green-500);    /* Природный зелёный — иконки, лейблы */
  --nature-hover: var(--green-600);
  --accent:    var(--ochre);        /* Главный акцент — охра (CTA) */
  --accent-hover: var(--ochre-dark);
  --border:    var(--warm-200);

  /* Типографика — fluid */
  --text-xs:   clamp(0.75rem,  0.7rem + 0.2vw,  0.8125rem);
  --text-sm:   clamp(0.875rem, 0.83rem + 0.2vw, 0.95rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw,1.0625rem);
  --text-lg:   clamp(1.125rem, 1.05rem + 0.4vw, 1.25rem);
  --text-xl:   clamp(1.25rem,  1.15rem + 0.5vw, 1.5rem);
  --text-2xl:  clamp(1.5rem,   1.3rem + 1vw,    2rem);
  --text-3xl:  clamp(1.875rem, 1.5rem + 1.5vw,  2.5rem);
  --text-4xl:  clamp(2.25rem,  1.7rem + 2vw,    3.25rem);
  --text-hero: clamp(2.4rem,   1.5rem + 5vw,    5rem);

  /* Spacing */
  --sp-1: 0.25rem; --sp-2: 0.5rem;  --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.25rem; --sp-6: 1.5rem;  --sp-8: 2rem;    --sp-10: 2.5rem;
  --sp-12: 3rem;   --sp-16: 4rem;   --sp-20: 5rem;   --sp-24: 6rem;
  --sp-32: 8rem;
  --section-py: clamp(3.5rem, 2rem + 5vw, 7rem);

  /* Радиусы */
  --r-sm: 8px; --r-md: 16px; --r-lg: 24px; --r-xl: 40px; --r-full: 9999px;

  /* Тени */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 12px rgba(59,46,30,.09), 0 2px 6px rgba(0,0,0,.05);
  --shadow-lg: 0 12px 32px rgba(59,46,30,.13), 0 4px 12px rgba(0,0,0,.07);
  --shadow-cta: 0 4px 14px rgba(200,135,58,.4), 0 0 0 3px rgba(200,135,58,.12);

  /* Layout */
  --header-h: 64px;
  --header-h-mob: 64px;
  --sticky-bar-h: 64px;
  --container-max: 1280px;
  --container-px: clamp(1rem, 4vw, 2.5rem);

  /* Анимации */
  --ease-out: cubic-bezier(0,0,.2,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
  --ease-natural: cubic-bezier(.25,.46,.45,.94);
  --dur-fast: 200ms;
  --dur-normal: 400ms;
  --dur-slow: 600ms;
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; font-size: 16px; }
body { font-family: var(--font-body); font-size: var(--text-base); line-height: 1.6; color: var(--fg); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* Disable animations if requested */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ============ УТИЛИТЫ ============ */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
h1,h2,h3,h4 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -0.01em; text-wrap: balance; }
p { max-width: 65ch; }

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: var(--sp-3);
}
.section-title { font-size: var(--text-3xl); margin-bottom: var(--sp-4); color: var(--fg); }
.section-subtitle { font-size: var(--text-lg); color: var(--fg-muted); margin-bottom: var(--sp-10); }
.section-header { margin-bottom: var(--sp-12); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .55s var(--ease-out), transform .55s var(--ease-out); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }

/* ============ КНОПКИ ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: 52px; padding: 0 var(--sp-8);
  font-family: var(--font-body); font-size: var(--text-base); font-weight: 700;
  border-radius: var(--r-xl);
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-spring),
              box-shadow var(--dur-fast) var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 6px 20px rgba(200,135,58,.45); }
.btn-outline-white {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,.7);
}
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-outline {
  background: transparent; color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-outline:hover { background: var(--green-50); }
.btn-lg { min-height: 58px; padding: 0 var(--sp-10); font-size: var(--text-lg); }
.btn-sm { min-height: 40px; padding: 0 var(--sp-5); font-size: var(--text-sm); }

/* ============ DEW-DROP КНОПКИ ============ */
@keyframes dewShimmer {
  0%   { background-position: 200% center; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { background-position: -200% center; opacity: 0; }
}
@keyframes dewPulse {
  0%, 100% { box-shadow: 0 4px 18px rgba(200,135,58,.35); }
  50%       { box-shadow: 0 6px 28px rgba(200,135,58,.55), 0 0 0 6px rgba(200,135,58,.07); }
}
@keyframes dewPulseGreen {
  0%, 100% { box-shadow: 0 4px 18px rgba(74,103,65,.3); }
  50%       { box-shadow: 0 6px 26px rgba(74,103,65,.48), 0 0 0 5px rgba(74,103,65,.07); }
}
@keyframes dewGlint {
  0%, 70%, 100% { opacity: 0; transform: scale(0.4); }
  75%            { opacity: 0.9; transform: scale(1); }
  85%            { opacity: 0; transform: scale(0.6); }
}
@keyframes rippleOut {
  to { transform: scale(5); opacity: 0; }
}
@keyframes badgeIridescent {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes btnPulse3d {
  0%, 100% {
    box-shadow:
      0 4px 14px rgba(45,110,38,0.42),
      0 1px 3px  rgba(0,0,0,0.20),
      inset 0  1px 0 rgba(255,255,255,0.38),
      inset 0 -2px 0 rgba(0,0,0,0.22);
  }
  50% {
    box-shadow:
      0 7px 24px rgba(45,110,38,0.65),
      0 0   0  6px rgba(80,160,60,0.14),
      0 1px 3px  rgba(0,0,0,0.20),
      inset 0  1px 0 rgba(255,255,255,0.38),
      inset 0 -2px 0 rgba(0,0,0,0.22);
  }
}
@keyframes widgetDewPulse {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(80,180,60,0.2)) drop-shadow(0 4px 18px rgba(45,90,39,0.15)); }
  50%       { filter: drop-shadow(0 0 20px rgba(80,180,60,0.55)) drop-shadow(0 6px 32px rgba(45,90,39,0.35)); }
}
@keyframes widgetShimmer {
  0%   { background-position: 200% center; opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { background-position: -200% center; opacity: 0; }
}

.btn-dew {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: 56px; padding: 0 2.5rem;
  border-radius: var(--r-full); border: none;
  font-family: var(--font-body); font-size: var(--text-lg); font-weight: 600;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  background: var(--nature); color: #fff;
  animation: dewPulseGreen 3.5s ease-in-out infinite;
  transition: transform var(--dur-fast) var(--ease-spring), filter var(--dur-fast);
  -webkit-tap-highlight-color: transparent;
}
.btn-dew:hover { filter: brightness(1.1); transform: translateY(-2px); }
.btn-dew:active { transform: scale(.96); }

.btn-dew::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 25%, rgba(255,255,255,.45) 50%, transparent 75%);
  background-size: 250% 100%;
  background-position: 200% center;
  border-radius: inherit;
  animation: dewShimmer 4.5s ease-in-out infinite;
  animation-delay: 1.5s;
  pointer-events: none;
}
.btn-dew::after {
  content: '';
  position: absolute; top: 16%; right: 20%;
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(255,255,255,.9);
  animation: dewGlint 4.5s ease-in-out infinite;
  animation-delay: 2.5s;
  pointer-events: none;
}
.btn-dew .ripple {
  position: absolute; border-radius: 50%;
  width: 80px; height: 80px; margin: -40px;
  background: rgba(255,255,255,.28);
  transform: scale(0);
  animation: rippleOut .65s ease-out forwards;
  pointer-events: none;
}

.btn-dew-amber {
  background: var(--accent);
  animation: dewPulse 3.5s ease-in-out infinite;
}
.btn-dew-amber:hover { filter: brightness(1.08); }


/* ============ HEADER ============ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background var(--dur-normal) var(--ease-out),
              box-shadow var(--dur-normal) var(--ease-out);
}
#site-header.scrolled {
  background: #2d5a27;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
}

#site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  max-width: 100% !important;
  width: 100%;
  padding: 0 20px;
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  width: 100%;
  gap: 0;
}

/* Логотип */
.header-logo {
  flex-shrink: 0;
  text-decoration: none;
  font-weight: 700;
  font-size: 28px;
  color: #fff;
  line-height: 1.1;
  white-space: nowrap;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}
.header-logo span {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Навигация — растянута по центру */
.header-nav {
  flex: 1;
  display: flex;
  justify-content: space-evenly;
  padding: 0 24px;
}
.header-nav a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
  font-weight: 500;
}
.header-nav a:hover {
  color: #fff;
}

/* Блок контактов — прижат к правому краю */
.header-contacts {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}

/* Иконки мессенджеров и соцсетей — бренд-цвета в SVG, без CSS-фона */
.header-icon-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
  background: none;
  transition: opacity 0.2s, transform 0.2s;
}
.header-icon-btn:hover {
  opacity: 0.85;
  transform: scale(1.1);
}
.header-icon-btn svg {
  width: 28px;
  height: 28px;
}

/* Телефон */
.header-phone {
  font-size: 18px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
  margin-left: 8px;
}
.header-phone:hover {
  color: #fff;
}

/* Кнопка Забронировать */
.header-cta {
  height: 36px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, box-shadow 0.2s;
  min-height: 36px;
  margin-left: 4px;
  box-shadow: 0 2px 8px rgba(200,135,58,.4);
}
.header-cta:hover {
  background: var(--accent-hover);
}
#site-header.scrolled .header-cta {
  background: rgba(255, 255, 255, 0.2);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  box-shadow: none;
}
#site-header.scrolled .header-cta:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Мобильная версия */
@media (max-width: 768px) {
  .header-nav {
    display: none;
  }
  .header-phone {
    display: none;
  }
  .header-icon-btn {
    width: 30px;
    height: 30px;
  }
  .header-logo {
    font-size: 20px;
  }
  .header-logo span {
    display: none;
  }
}
@media (max-width: 480px) {
  .header-icon-vk,
  .header-icon-tg {
    display: none;
  }
}

/* ============ HERO ============ */
#hero {
  position: relative; min-height: 100dvh; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden; background: var(--green-900);
}
.hero-video-wrap {
  position: absolute; inset: 0; z-index: 0;
  background-image: url(images/photos/territory-1.jpg);
  background-size: cover;
  background-position: center;
}
.hero-video-wrap video {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  filter: brightness(1.08) saturate(1.40) contrast(1.06);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to top,
    rgba(15,30,12,0.68) 0%,
    rgba(15,30,12,0.42) 50%,
    rgba(15,30,12,0.22) 100%
  );
}

.hero-content {
  position: relative; z-index: 5; width: 100%;
  padding: calc(var(--header-h) + var(--sp-10)) 0 var(--sp-16);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--sp-6);
}
.hero-pre {
  font-family: var(--font-display); font-size: clamp(36px, 5vw, 72px);
  font-weight: 400; color: rgba(255,255,255,0.88); line-height: 1.1;
  font-style: italic; letter-spacing: -0.01em;
  text-shadow: 0 2px 16px rgba(0,0,0,.35);
}
.hero-h1 {
  font-family: var(--font-display); font-size: clamp(72px, 10vw, 136px);
  font-weight: 700; color: #fff; line-height: 1.05; letter-spacing: -0.02em;
  margin-bottom: 0;
  text-shadow: 0 2px 24px rgba(0,0,0,.4);
}
.hero-utp {
  font-family: var(--font-display); font-size: clamp(40px, 5vw, 56px);
  color: rgba(255,255,255,0.88); line-height: 1.3; font-weight: 400;
  font-style: italic;
}
.hero-trust {
  display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5);
  margin-top: var(--sp-4); font-size: var(--text-sm);
  color: rgba(255,255,255,.75);
}
.hero-trust-item {
  display: flex; align-items: center; gap: var(--sp-2);
}
.hero-trust-item::before {
  content: '✓'; font-weight: 700; color: var(--ochre-light); font-size: .85em;
}
.hero-badges {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px;
  background: rgba(255,255,255,0.95);
  border: none;
  border-radius: 100px;
  color: var(--fg); font-size: 13px; font-weight: 600; letter-spacing: .01em;
}
.hero-sub {
  font-size: var(--text-lg); color: rgba(255,255,255,.88);
  line-height: 1.55; margin-bottom: var(--sp-8); max-width: 50ch;
}
.hero-actions { display: flex; gap: var(--sp-4); flex-wrap: wrap; align-items: flex-start; }
.hero-booking-group { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-2); }
.booking-alt-link {
  font-size: var(--text-sm); color: rgba(255,255,255,.7);
  text-decoration: underline; text-underline-offset: 3px;
  transition: color var(--dur-fast);
  padding-left: var(--sp-1);
}
.booking-alt-link:hover { color: #fff; }
.booking-alt-link--light { color: rgba(255,255,255,.75); }

/* Hero widget area */
.hero-widget-area {
  width: 100%;
  max-width: 800px;
  margin-bottom: 2rem;
}

/* Hero booking card sidebar (desktop ≥1024px) */
.hero-booking-card {
  display: none;
  flex-shrink: 0; width: 360px;
  background: rgba(255,255,255,0.95);
  border-radius: 20px;
  padding: 28px 28px 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  align-self: flex-end;
}
.hero-booking-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 56px rgba(0,0,0,0.26);
}

/* Glassmorphism-вариант */
.hero-booking-card--glass {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  padding: 24px;
  width: 340px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.25);
}

.hero-booking-card--glass:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.hero-booking-header { margin-bottom: 16px; }
.hero-booking-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--warm-950);
  margin-bottom: 4px;
}
.hero-booking-card--glass .hero-booking-title {
  color: #fff;
  font-size: 16px;
}
.hero-booking-sub {
  font-size: 12px; color: var(--fg-muted); font-family: var(--font-body);
  max-width: none;
}
.hero-booking-card--glass .hero-booking-sub {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  margin-bottom: 16px;
}
@media (min-width: 1024px) {
  .hero-booking-card { display: block; }
}
@media (max-width: 1024px) {
  .hero-booking-card--glass { display: none; }
}

@media (max-width: 767px) {
  /* Hero занимает всю высоту, текст вверху, виджет внизу */
  #hero { align-items: flex-start; }
  .hero-content {
    min-height: calc(100dvh - var(--sticky-bar-h) - 92px);
    padding-top: 12px;
    padding-bottom: calc(var(--sticky-bar-h) + var(--sp-8));
    gap: var(--sp-3);
  }
  .hero-pre {
    font-size: clamp(26px, 7vw, 42px);
    white-space: nowrap;
  }
  /* Максимальный размер при котором "Босиком по траве." входит в 1 строку */
  .hero-h1 {
    font-size: clamp(40px, 11.8vw, 62px);
    white-space: nowrap;
    text-shadow: 0 2px 16px rgba(0,0,0,.4);
  }
  .hero-utp { font-size: clamp(20px, 5.5vw, 28px); }
  .hero-badges { gap: var(--sp-2); }
  .hero-badge {
    font-size: .85rem; padding: var(--sp-1) var(--sp-3);
    background: linear-gradient(
      90deg,
      rgba(255,140,80, 0.22) 0%,
      rgba(80, 240,160,0.22) 16%,
      rgba(80, 160,255,0.22) 33%,
      rgba(200,80, 255,0.22) 50%,
      rgba(255,80, 160,0.22) 66%,
      rgba(255,210,80, 0.22) 83%,
      rgba(255,140,80, 0.22) 100%
    );
    background-size: 300% 100%;
    border: 1px solid rgba(255,255,255,0.42);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    text-shadow: 0 1px 5px rgba(0,0,0,0.40);
    animation: badgeIridescent 5s ease-in-out infinite;
  }
  .hero-badge:nth-child(1) { animation-delay:  0.0s; }
  .hero-badge:nth-child(2) { animation-delay: -1.7s; }
  .hero-badge:nth-child(3) { animation-delay: -3.3s; }
  .hero-badge svg { color: rgba(255,255,255,0.9); }
  /* Виджет бронирования прижат к низу */
  .hero-widget-area { border-radius: 12px; margin-top: auto; }
}

/* ============ COTTAGES ============ */
#cottages { padding: var(--section-py) 0; background: var(--bg-alt); }
.cottages-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-6);
  margin-top: var(--sp-10);
}
.cottage-card {
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--bg);
  box-shadow: var(--shadow-md);
  transition: transform .25s var(--ease-natural), box-shadow .25s var(--ease-natural);
  display: flex; flex-direction: column;
}
.cottage-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.cottage-img-wrap {
  position: relative; overflow: hidden; aspect-ratio: 3/2;
}
.cottage-img-wrap img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s var(--ease-natural);
}
.cottage-card:hover .cottage-img-wrap img { transform: scale(1.04); }

.cottage-badge {
  position: absolute; top: var(--sp-4); left: var(--sp-4);
  padding: 5px 14px; border-radius: var(--r-full);
  font-size: var(--text-xs); font-weight: 600; letter-spacing: .02em;
  backdrop-filter: blur(8px);
}
.cottage-badge--available {
  background: rgba(74,103,65,.85); color: #fff;
}
.cottage-badge--soon {
  background: rgba(59,46,30,.75); color: rgba(255,255,255,.9);
}

.cottage-soon-overlay {
  position: absolute; inset: 0;
  background: rgba(26,19,11,.55);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--sp-2);
  backdrop-filter: blur(2px);
}
.cottage-soon-icon { color: rgba(255,255,255,.85); }
.cottage-soon-text {
  color: rgba(255,255,255,.9); font-size: var(--text-lg); font-weight: 600;
  font-family: var(--font-display); letter-spacing: .01em;
}

.cottage-body { padding: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-3); flex: 1; }
.cottage-name {
  font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 700;
  color: var(--fg); line-height: 1.15;
}
.cottage-desc { font-size: var(--text-base); color: var(--fg-muted); line-height: 1.6; }

.cottage-specs {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4);
}
.cottage-spec {
  display: flex; align-items: center; gap: 6px;
  font-size: var(--text-sm); color: var(--fg-muted);
}
.cottage-spec svg { color: var(--nature); flex-shrink: 0; }

.cottage-footer {
  margin-top: auto; padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
}
.cottage-price {
  font-size: var(--text-base); color: var(--fg-muted);
}
.cottage-price strong {
  font-size: var(--text-xl); color: var(--fg); font-family: var(--font-display); font-weight: 700;
}
.cottage-cta { min-width: 148px; text-align: center; }

@media (max-width: 767px) {
  .cottages-grid { grid-template-columns: 1fr; }
  .cottage-footer { flex-wrap: wrap; }
  .cottage-cta { width: 100%; }
}

/* ============ FEATURES ============ */
#features { padding: var(--section-py) 0; background: var(--bg); position: relative; overflow: hidden; }
.features-video-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.features-video-bg video {
  width: 100%; height: 100%; object-fit: cover;
  filter: blur(8px); transform: scale(1.1);
  opacity: .18;
}
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-8);
  margin-top: var(--sp-10);
}
.feature-item {
  display: flex; flex-direction: column; gap: var(--sp-3);
}
.feature-icon {
  width: 56px; height: 56px; border-radius: var(--r-md);
  background: var(--green-50); border: 1px solid var(--green-100);
  display: flex; align-items: center; justify-content: center;
  color: var(--nature); flex-shrink: 0;
}
.feature-title {
  font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700;
  color: var(--fg); line-height: 1.2;
}
.feature-desc {
  font-size: var(--text-base); color: var(--fg-muted); line-height: 1.65;
}
@media (max-width: 1023px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); }
}
@media (max-width: 599px) {
  .features-grid { grid-template-columns: 1fr; gap: var(--sp-5); }
}

/* ============ FOR WHOM ============ */
#for-whom { padding: var(--section-py) 0; background: var(--bg-alt); }
.for-whom-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6);
}
.whom-card {
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
  background: #fff;
  display: flex; flex-direction: column;
}
.whom-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.whom-img {
  width: 100%; aspect-ratio: 4/3; overflow: hidden; position: relative;
}
.whom-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease-out);
}
.whom-card:hover .whom-img img { transform: scale(1.05); }
.whom-body { padding: var(--sp-6); flex: 1; display: flex; flex-direction: column; }
.whom-body .cottage-cta { margin-top: auto; align-self: flex-end; }
.about-text .cottage-cta { display: block; margin-left: auto; }
.whom-icon {
  width: 52px; height: 52px; border-radius: var(--r-md);
  background: var(--green-50); border: 1px solid var(--green-100);
  display: flex; align-items: center; justify-content: center;
  color: var(--nature); margin-bottom: var(--sp-4); flex-shrink: 0;
}
.whom-title { font-size: var(--text-xl); color: var(--fg); margin-bottom: var(--sp-3); }
.whom-text { font-size: var(--text-base); color: var(--fg-muted); line-height: 1.65; margin-bottom: var(--sp-4); }
.whom-highlight {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4); background: var(--green-50); border-radius: var(--r-sm);
  font-size: var(--text-sm); font-weight: 600; color: var(--nature);
}
.whom-highlight::before { content: '✓'; font-weight: 700; }
@media (max-width: 767px) {
  .for-whom-grid { grid-template-columns: 1fr; gap: var(--sp-5); }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .for-whom-grid { grid-template-columns: 1fr; gap: var(--sp-5); }
  .whom-card { display: grid; grid-template-columns: 300px 1fr; }
  .whom-img { aspect-ratio: auto; min-height: 220px; }
}

/* ============ ACTIVITIES ============ */
#activities { padding: var(--section-py) 0; background: var(--bg); overflow: hidden; }

#activities { position: relative; }
.activities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}
.act-card {
  border-radius: var(--r-md); overflow: hidden;
  cursor: default; display: flex; flex-direction: column;
}
.act-img {
  width: 100%; aspect-ratio: 4/3; flex-shrink: 0;
  object-fit: cover; display: block;
  transition: transform .5s var(--ease-out);
}
.act-card:hover .act-img { transform: scale(1.07); }
.act-overlay {
  background: rgba(18, 38, 18, 0.92);
  display: flex; align-items: center; justify-content: center;
  padding: var(--sp-3) var(--sp-4); text-align: center;
}
.act-label {
  color: #fff; font-weight: 700; font-size: var(--text-sm); line-height: 1.3;
}
.act-label span { display: block; font-weight: 400; font-size: .75rem; opacity: .75; margin-top: 2px; }
@media (max-width: 767px) {
  .activities-grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-2); }
  .act-card { position: relative; }
  .act-img { aspect-ratio: 1/1; }
  .act-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 6px 6px 5px;
  }
  .act-label { font-size: .72rem; line-height: 1.2; }
  .act-label span { display: none; }
}

/* ============ О МЕСТЕ / GALLERY ============ */
#about { padding: var(--section-py) 0; background: var(--bg-alt); position: relative; overflow: hidden; }
.about-video-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.about-video-bg video {
  width: 100%; height: 100%; object-fit: cover;
  filter: blur(6px); transform: scale(1.08);
  opacity: .12;
}
.about-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-12); align-items: center;
}
.about-text p { font-size: var(--text-base); color: var(--fg-muted); line-height: 1.75; margin-bottom: var(--sp-5); }
.about-text p:last-of-type { margin-bottom: 0; }
.about-text p strong { color: var(--fg); font-weight: 700; }

.gallery-carousel { position: relative; }
.gallery-carousel:focus-visible { outline: 3px solid var(--nature); outline-offset: 4px; border-radius: var(--r-lg); }
.gallery-track-wrap { overflow: hidden; border-radius: var(--r-lg); }
.gallery-track {
  display: flex; transition: transform .5s var(--ease-out);
}
.gallery-slide { flex: 0 0 100%; }
.gallery-slide img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-lg); }
.gallery-controls {
  display: flex; justify-content: space-between; align-items: center; margin-top: var(--sp-4);
}
.gallery-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  background: #fff; color: var(--fg); cursor: pointer;
  transition: all var(--dur-fast); font-size: 1.2rem;
}
.gallery-btn:hover { border-color: var(--accent); color: var(--accent); }
.gallery-dots { display: flex; gap: var(--sp-2); }
.gallery-dot {
  width: 8px; height: 8px; border-radius: 50%; cursor: pointer;
  background: var(--border); transition: all var(--dur-fast);
}
.gallery-dot.active { background: var(--nature); width: 24px; border-radius: 4px; }

@media (max-width: 767px) {
  .about-inner { grid-template-columns: 1fr; gap: var(--sp-8); }
  .about-text { order: 1; }
  .gallery-carousel { order: 0; }
}

/* ============ LOCATION ============ */
#location { padding: var(--section-py) 0; background: var(--bg); }
.location-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-10); align-items: start;
}
.direction-cards { display: flex; flex-direction: column; gap: var(--sp-5); }
.direction-card {
  background: #fff; border-radius: var(--r-lg); padding: var(--sp-6);
  display: flex; gap: var(--sp-4); align-items: flex-start;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
}
.direction-icon {
  width: 52px; height: 52px; border-radius: var(--r-md);
  background: var(--green-50); border: 1px solid var(--green-100);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: var(--nature);
}
.direction-title { font-size: var(--text-lg); font-weight: 700; color: var(--fg); margin-bottom: var(--sp-2); }
.direction-text { font-size: var(--text-sm); color: var(--fg-muted); line-height: 1.65; }
.direction-link {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  color: var(--accent); font-weight: 600; font-size: var(--text-sm);
  margin-top: var(--sp-3);
  transition: gap var(--dur-fast);
}
.direction-link:hover { gap: var(--sp-3); }

.map-container { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.map-container iframe { width: 100%; height: 360px; border: none; display: block; }
.address-copy {
  background: #fff; border-top: 1px solid var(--border);
  padding: var(--sp-4) var(--sp-6);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
}
.address-text { font-size: var(--text-sm); font-weight: 600; color: var(--fg); display: flex; align-items: center; gap: 6px; }
.copy-btn {
  display: flex; align-items: center; gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4); border-radius: var(--r-sm);
  background: var(--bg); color: var(--nature); font-size: var(--text-sm); font-weight: 600;
  cursor: pointer; border: 1px solid var(--border);
  transition: all var(--dur-fast);
}
.copy-btn:hover { background: var(--warm-200); }
.copy-btn.copied { background: var(--nature); color: #fff; border-color: var(--nature); }

@media (max-width: 767px) {
  .location-inner { grid-template-columns: 1fr; gap: var(--sp-8); }
  .map-container iframe { height: 250px; }
}

/* ============ PRICING + BOOKING ============ */
#pricing { padding: var(--section-py) 0; background: var(--bg-alt); }
.pricing-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); margin-bottom: var(--sp-10);
}
.pricing-card {
  border-radius: var(--r-lg); padding: var(--sp-8) var(--sp-6);
  border: 2px solid var(--border); background: #fff; text-align: center;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card.featured {
  border-color: var(--accent); background: #fff;
  box-shadow: var(--shadow-cta);
  position: relative;
}
.pricing-card.featured::before {
  content: 'Популярное';
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff;
  font-size: var(--text-xs); font-weight: 700; letter-spacing: .06em;
  padding: var(--sp-1) var(--sp-4); border-radius: var(--r-full); white-space: nowrap;
}
.pricing-label { font-weight: 700; font-size: var(--text-base); color: var(--fg-muted); margin-bottom: var(--sp-2); }
.pricing-days { font-size: var(--text-sm); color: var(--fg-light); margin-bottom: var(--sp-4); }
.pricing-price {
  font-family: var(--font-display); font-size: var(--text-4xl); font-weight: 700;
  color: var(--fg); line-height: 1; margin-bottom: var(--sp-2);
}
.pricing-price .currency { font-size: var(--text-xl); vertical-align: top; margin-right: 2px; }
.pricing-per { font-size: var(--text-sm); color: var(--fg-muted); }
.pricing-note { font-size: var(--text-xs); color: var(--fg-light); margin-top: var(--sp-3); font-style: italic; }

.includes-block { margin-bottom: var(--sp-12); }
.includes-title { font-size: var(--text-xl); font-weight: 700; color: var(--fg); margin-bottom: var(--sp-6); font-family: var(--font-display); }
.includes-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4);
}
.include-item {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-4); background: var(--green-50); border-radius: var(--r-md);
  border: 1px solid var(--green-100);
}
.include-item svg { width: 22px; height: 22px; color: var(--nature); flex-shrink: 0; }
.include-text { font-size: var(--text-sm); font-weight: 600; color: var(--fg); }

.booking-widget-block {
  background: #fff; border-radius: var(--r-lg); padding: var(--sp-8);
  border: 1px solid var(--border);
}
.booking-widget-title { font-family: var(--font-display); font-size: var(--text-2xl); color: var(--fg); margin-bottom: var(--sp-2); }
.booking-widget-sub { font-size: var(--text-base); color: var(--fg-muted); margin-bottom: var(--sp-6); }
#hr-widget, #hr-widget-about { min-height: 0; }

#hr-widget,
#hr-widget-wrap {
  width: 100% !important;
}

.hr-search-container {
  width: 100% !important;
}

.hr-search-container .search,
.hr-search-container .search__container {
  width: 100% !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 0 !important;
}

.hr-search-container .search__calendar,
.hr-search-container .select__input,
.hr-search-container .select__input_last {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  width: auto !important;
}

.hr-search-container .search__input-button {
  flex: 0 0 auto !important;
  width: auto !important;
  padding: 0 32px !important;
}

@media (max-width: 767px) {
  .pricing-cards { grid-template-columns: 1fr; gap: var(--sp-4); }
  .includes-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .pricing-cards { grid-template-columns: 1fr 1fr; }
  .pricing-card:last-child { grid-column: span 2; max-width: 400px; margin: 0 auto; }
  .includes-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============ REVIEWS ============ */
#reviews { padding: var(--section-py) 0; background: var(--bg); }
.reviews-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-4); margin-bottom: var(--sp-10); }
.rating-badge {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-5); background: #fff; border-radius: var(--r-full);
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
}
.rating-stars { color: var(--ochre); font-size: var(--text-lg); letter-spacing: 0.06em; }
.rating-text { font-weight: 700; font-size: var(--text-base); color: var(--fg); }
.yandex-link {
  display: flex; align-items: center; gap: var(--sp-2);
  color: var(--accent); font-weight: 600; font-size: var(--text-sm);
  transition: gap var(--dur-fast);
}
.yandex-link:hover { gap: var(--sp-3); }

.reviews-carousel { position: relative; overflow: hidden; }
.reviews-track {
  display: flex; gap: var(--sp-6);
  transition: transform .5s var(--ease-out);
}
.review-slide {
  flex: 0 0 calc(33.333% - var(--sp-4));
  background: #fff; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-md); border: 1px solid var(--border);
  cursor: pointer; transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.review-slide:hover,
.review-slide:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-lg); outline: 3px solid var(--accent); outline-offset: 3px; }
.review-slide img { width: 100%; object-fit: contain; max-height: 320px; background: var(--warm-50); }
.review-meta { padding: var(--sp-4); border-top: 1px solid var(--border); }
.review-source { font-size: var(--text-xs); font-weight: 700; color: var(--fg-muted); text-transform: uppercase; letter-spacing: .06em; }
.reviews-nav {
  display: flex; align-items: center; justify-content: center; gap: var(--sp-4); margin-top: var(--sp-8);
}
.reviews-nav-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--border);
  background: #fff; display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.1rem; color: var(--fg);
  transition: all var(--dur-fast);
}
.reviews-nav-btn:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 767px) {
  .review-slide { flex: 0 0 85%; }
  .reviews-track { gap: var(--sp-4); }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .review-slide { flex: 0 0 calc(50% - var(--sp-3)); }
}

/* ============ FAQ ============ */
#faq { padding: var(--section-py) 0; background: var(--bg-alt); position: relative; }
.faq-video-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.faq-video-bg video {
  width: 100%; height: 100%; object-fit: cover;
  filter: blur(6px); transform: scale(1.08);
  opacity: .10;
}
.faq-inner {
  display: grid; grid-template-columns: 260px 1fr; gap: var(--sp-12); align-items: start;
}

/* ─── PIANO KEYS SIDEBAR ─── */
.faq-cats {
  position: sticky; top: calc(var(--header-h) + var(--sp-6));
  display: flex; flex-direction: column; gap: 5px;
  /* no overflow:hidden — each key needs its own shadow */
}
.faq-cat-btn {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-5);
  border: none;
  border-radius: var(--r-sm);
  cursor: pointer; font-size: var(--text-sm); font-weight: 600;
  font-family: var(--font-body); text-align: left; min-height: 46px;
  position: relative;
  transition: box-shadow 0.15s ease, transform 0.12s ease, filter 0.12s ease;

  /* Volumetric 3D gradient overlay on top of the background-color */
  background-image:
    linear-gradient(
      to bottom,
      rgba(255,255,255,0.30) 0%,
      rgba(255,255,255,0.10) 28%,
      rgba(0,0,0,0.00) 55%,
      rgba(0,0,0,0.12) 100%
    );

  /* Resting elevation */
  box-shadow:
    0 3px 8px  rgba(0,0,0,0.16),
    0 1px 2px  rgba(0,0,0,0.10),
    inset 0  1px 0 rgba(255,255,255,0.55),
    inset 0 -1px 0 rgba(0,0,0,0.14);
}

/* Each key: background-color (gradient overlay is on top via background-image) */
.faq-cat-btn:nth-child(1)  { background-color: #ffffff;          color: var(--fg); }
.faq-cat-btn:nth-child(2)  { background-color: var(--green-50);  color: var(--fg); }
.faq-cat-btn:nth-child(3)  { background-color: #e8f3e4;          color: var(--fg); }
.faq-cat-btn:nth-child(4)  { background-color: var(--green-100); color: var(--fg); }
.faq-cat-btn:nth-child(5)  { background-color: #cfe3c9;          color: var(--fg); }
.faq-cat-btn:nth-child(6)  { background-color: var(--green-200); color: var(--fg); }
.faq-cat-btn:nth-child(7)  { background-color: #a3c89c;          color: var(--fg); }
.faq-cat-btn:nth-child(8)  { background-color: var(--green-300); color: var(--fg); }
.faq-cat-btn:nth-child(9)  { background-color: #769f6a;          color: #fff; }
.faq-cat-btn:nth-child(10) { background-color: var(--green-400); color: #fff; }
.faq-cat-btn:nth-child(11) { background-color: var(--green-500); color: #fff; }

/* Hover — lift up */
.faq-cat-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 7px 18px rgba(0,0,0,0.18),
    0 2px 5px  rgba(0,0,0,0.12),
    inset 0  1px 0 rgba(255,255,255,0.60),
    inset 0 -1px 0 rgba(0,0,0,0.14);
  z-index: 2;
}

/* Active — pressed down */
.faq-cat-btn.active {
  transform: translateY(1px);
  box-shadow:
    0 1px 3px  rgba(0,0,0,0.14),
    inset 0 2px 7px rgba(0,0,0,0.22),
    inset 0 1px 0   rgba(0,0,0,0.10);
  background-image:
    linear-gradient(
      to bottom,
      rgba(0,0,0,0.08) 0%,
      rgba(0,0,0,0.02) 40%,
      rgba(255,255,255,0.04) 100%
    );
  filter: brightness(0.91);
}

.faq-cat-icon { flex-shrink: 0; color: inherit; opacity: 0.85; }

/* ─── FAQ GROUPS & ACCORDION ─── */
.faq-groups { display: flex; flex-direction: column; }
.faq-group  { display: none; scroll-margin-top: calc(var(--header-h) + var(--sp-4)); }
.faq-group.active { display: block; }

/* Group titles hidden — category key already names the section */
.faq-group-title { display: none; }

/* ── Color theme per category: matches piano key — white→emerald range ── */
/* Light keys (1–8) — dark text */
.faq-group[data-cat="booking"]   {
  --cat-bg: #ffffff;          --cat-brd: rgba(160,200,150,0.40);
  --cat-text: var(--fg); --cat-ans: var(--fg-muted);
  --cat-chv-bg: rgba(74,103,65,0.10); --cat-chv-fg: var(--fg);
}
.faq-group[data-cat="checkin"]   {
  --cat-bg: var(--green-50);  --cat-brd: rgba(150,195,140,0.45);
  --cat-text: var(--fg); --cat-ans: var(--fg-muted);
  --cat-chv-bg: rgba(74,103,65,0.12); --cat-chv-fg: var(--fg);
}
.faq-group[data-cat="rates"]     {
  --cat-bg: #e8f3e4;          --cat-brd: rgba(140,185,130,0.45);
  --cat-text: var(--fg); --cat-ans: var(--fg-muted);
  --cat-chv-bg: rgba(74,103,65,0.14); --cat-chv-fg: var(--fg);
}
.faq-group[data-cat="rules"]     {
  --cat-bg: var(--green-100); --cat-brd: rgba(120,170,110,0.45);
  --cat-text: var(--fg); --cat-ans: var(--fg-muted);
  --cat-chv-bg: rgba(74,103,65,0.16); --cat-chv-fg: var(--fg);
}
.faq-group[data-cat="kitchen"]   {
  --cat-bg: #cfe3c9;          --cat-brd: rgba(100,155,90,0.42);
  --cat-text: var(--fg); --cat-ans: var(--fg-muted);
  --cat-chv-bg: rgba(74,103,65,0.18); --cat-chv-fg: var(--fg);
}
.faq-group[data-cat="amenities"] {
  --cat-bg: var(--green-200); --cat-brd: rgba(90,148,80,0.40);
  --cat-text: var(--fg); --cat-ans: var(--fg-muted);
  --cat-chv-bg: rgba(74,103,65,0.20); --cat-chv-fg: var(--fg);
}
.faq-group[data-cat="kids"]      {
  --cat-bg: #a3c89c;          --cat-brd: rgba(70,120,60,0.38);
  --cat-text: var(--fg); --cat-ans: var(--fg-muted);
  --cat-chv-bg: rgba(255,255,255,0.40); --cat-chv-fg: var(--fg);
}
.faq-group[data-cat="pets"]      {
  --cat-bg: var(--green-300); --cat-brd: rgba(60,110,50,0.36);
  --cat-text: var(--fg); --cat-ans: var(--fg-muted);
  --cat-chv-bg: rgba(255,255,255,0.38); --cat-chv-fg: var(--fg);
}
/* Darker keys (9–11) — white text */
.faq-group[data-cat="location"]  {
  --cat-bg: #769f6a;          --cat-brd: rgba(255,255,255,0.22);
  --cat-text: #fff; --cat-ans: rgba(255,255,255,0.90);
  --cat-chv-bg: rgba(255,255,255,0.24); --cat-chv-fg: #fff;
}
.faq-group[data-cat="activities"]{
  --cat-bg: var(--green-400); --cat-brd: rgba(255,255,255,0.20);
  --cat-text: #fff; --cat-ans: rgba(255,255,255,0.90);
  --cat-chv-bg: rgba(255,255,255,0.22); --cat-chv-fg: #fff;
}
.faq-group[data-cat="tub"]       {
  --cat-bg: var(--green-500); --cat-brd: rgba(255,255,255,0.18);
  --cat-text: #fff; --cat-ans: rgba(255,255,255,0.90);
  --cat-chv-bg: rgba(255,255,255,0.18); --cat-chv-fg: #fff;
}
/* Staggered entry animation */
@keyframes faqItemIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.faq-group.active .faq-item { animation: faqItemIn 0.30s cubic-bezier(0,0,0.2,1) both; }
.faq-group.active .faq-item:nth-child(1) { animation-delay:   0ms; }
.faq-group.active .faq-item:nth-child(2) { animation-delay:  55ms; }
.faq-group.active .faq-item:nth-child(3) { animation-delay: 110ms; }
.faq-group.active .faq-item:nth-child(4) { animation-delay: 165ms; }
.faq-group.active .faq-item:nth-child(5) { animation-delay: 220ms; }
.faq-group.active .faq-item:nth-child(6) { animation-delay: 275ms; }

.faq-list { display: flex; flex-direction: column; gap: var(--sp-3); }

/* Items inherit category color via CSS custom properties */
.faq-item {
  border: 1px solid var(--cat-brd, var(--green-100));
  border-radius: var(--r-md); overflow: hidden;
  background: var(--cat-bg, #fff);
  transition: box-shadow 0.2s ease, filter 0.15s ease;
}
.faq-item:hover { filter: brightness(1.06); box-shadow: 0 2px 10px rgba(0,0,0,0.08); }
.faq-item.open  { box-shadow: inset 0 0 0 2px rgba(0,0,0,0.12), 0 3px 12px rgba(0,0,0,0.10); }

.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--sp-5) var(--sp-6); cursor: pointer; gap: var(--sp-4);
  background: transparent; border: none; width: 100%; text-align: left;
  font-family: var(--font-body);
}
.faq-q:hover, .faq-item.open .faq-q { background: transparent; }

.faq-q-text {
  font-size: var(--text-base); font-weight: 600;
  color: var(--cat-text, var(--fg)); line-height: 1.4;
}

.faq-chevron {
  flex-shrink: 0; width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-sm);
  background: var(--cat-chv-bg, rgba(74,103,65,0.12));
  color: var(--cat-chv-fg, var(--fg));
  transition: transform 0.3s cubic-bezier(0,0,0.2,1), background 0.2s, color 0.2s;
  font-size: .75rem;
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  background: var(--cat-text, var(--fg));
  color: var(--cat-bg, #fff);
}

.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s cubic-bezier(0,0,0.2,1), padding .4s;
  padding: 0 var(--sp-6);
  font-size: var(--text-base); color: var(--cat-ans, var(--fg-muted)); line-height: 1.75;
  background: transparent;
}
.faq-a strong { color: inherit; }
.faq-a a { font-weight: 600; }
.faq-item.open .faq-a { max-height: 1200px; padding: var(--sp-4) var(--sp-6) var(--sp-6); }

@media (max-width: 1023px) {
  .faq-inner { grid-template-columns: 1fr; gap: var(--sp-6); }
  .faq-cats {
    position: static; flex-direction: row; flex-wrap: wrap; gap: var(--sp-2);
  }
  .faq-cat-btn {
    border-radius: var(--r-sm);
    min-height: 38px; padding: var(--sp-2) var(--sp-4);
  }
  .faq-cat-btn.active {
    transform: translateY(1px);
    box-shadow:
      0 1px 2px rgba(0,0,0,0.12),
      inset 0 2px 6px rgba(0,0,0,0.20),
      inset 0 1px 0 rgba(0,0,0,0.08);
    filter: brightness(0.91);
    background-image: linear-gradient(
      to bottom, rgba(0,0,0,0.08) 0%, rgba(255,255,255,0.04) 100%
    );
  }
  /* faq-group: НЕ переопределяем display:none из базовых стилей.
     Только активная группа показывается через .faq-group.active { display: block } */

  /* На мобиле вопрос открывается попапом — стрелка вправо, не вниз */
  .faq-chevron {
    font-size: 0;           /* скрыть оригинальный ▼ */
    width: 28px; height: 28px;
  }
  .faq-chevron::after {
    content: '›';
    font-size: 20px;
    line-height: 1;
    color: inherit;
  }
}

/* ── Мобильный попап-ответ (bottom sheet) ──────────────────── */
.faq-mob-modal {
  display: none;
  position: fixed; inset: 0; z-index: 600;
  background: rgba(0, 0, 0, 0.45);
  align-items: flex-end; justify-content: stretch;
}
.faq-mob-modal.open { display: flex; }

.faq-mob-sheet {
  width: 100%;
  background: var(--bg);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  padding: var(--sp-2) var(--sp-5) calc(var(--sp-8) + env(safe-area-inset-bottom, 0px));
  max-height: 82vh;
  overflow-y: auto;
  animation: faqSheetUp 0.28s var(--ease-out) both;
}
@keyframes faqSheetUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

.faq-mob-handle {
  width: 40px; height: 4px;
  background: var(--warm-300);
  border-radius: 99px;
  margin: var(--sp-3) auto var(--sp-6);
  flex-shrink: 0;
}
.faq-mob-q {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--fg);
  line-height: 1.3;
  margin-bottom: var(--sp-4);
}
.faq-mob-a {
  font-size: var(--text-base);
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: var(--sp-8);
}
.faq-mob-a strong { color: var(--fg); }
.faq-mob-ok {
  display: block;
  width: 100%;
  min-height: 52px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--r-xl);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.faq-mob-ok:hover { background: var(--accent-hover); }

@media (prefers-reduced-motion: reduce) {
  .faq-group.active .faq-item { animation: none; }
  .faq-a { transition: none; }
}

/* ============ FINAL CTA ============ */
#final-cta {
  position: relative; padding: calc(var(--section-py) * 1.3) 0;
  display: flex; align-items: center; min-height: 480px;
  background: var(--green-900); overflow: hidden;
}
.final-cta-bg {
  position: absolute; inset: 0; z-index: 0;
}
.final-cta-bg img,
.final-cta-bg video {
  width: 100%; height: 100%; object-fit: cover;
  filter: blur(3px); transform: scale(1.06);
  opacity: .55;
}
.final-cta-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(10,30,10,.8) 0%, rgba(30,60,20,.6) 100%);
}
.final-cta-content { position: relative; z-index: 2; text-align: center; }
.final-cta-content .section-label {
  font-size: var(--text-base);
  background: linear-gradient(90deg,
    #fff 0%, #f0c070 18%, #fff 36%,
    #e8f5d0 54%, #fff 72%, #f0c070 90%, #fff 100%
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: badgeIridescent 3s ease-in-out infinite;
}
.desk-br { display: none; }
.final-cta-h2 {
  font-family: var(--font-display); font-size: var(--text-4xl);
  color: #fff; margin-bottom: var(--sp-4); max-width: 18ch; margin-left: auto; margin-right: auto;
}
.final-cta-sub { font-size: var(--text-lg); color: rgba(255,255,255,.8); margin-bottom: var(--sp-10); max-width: 40ch; margin-left: auto; margin-right: auto; }
@media (min-width: 768px) {
  .desk-br { display: inline; }
  .final-cta-h2 { max-width: none; margin-top: 2em; margin-bottom: 2.6em; }
  .final-cta-actions { margin-top: 1em; }
}
.final-cta-actions { display: flex; gap: var(--sp-4); justify-content: center; flex-wrap: wrap; }
@media (max-width: 767px) {
  .final-cta-actions { flex-direction: column; align-items: center; }
  .final-cta-actions .btn,
  .final-cta-actions .btn-dew { width: 100%; max-width: 300px; }
  .final-cta-h2 .cta-line,
  .final-cta-sub .cta-line { display: block; }
  .final-cta-h2 .cta-sep,
  .final-cta-sub .cta-sep { display: none; }
  .final-cta-sub { margin-top: 2em; }
  .final-cta-actions { margin-top: 1em; }
}

/* ============ ПАРТНЁРЫ ============ */
#partners {
  padding: var(--sp-10) 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--warm-200);
}
.partners-label {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: var(--sp-6);
}
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3);
}
.partner-badge {
  display: inline-flex;
  align-items: center;
  padding: var(--sp-2) var(--sp-5);
  border: 1.5px solid var(--warm-200);
  border-radius: var(--r-full);
  background: var(--bg);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--fg-muted);
  white-space: nowrap;
  transition: border-color var(--dur-fast), color var(--dur-fast);
}
.partner-badge:hover { border-color: var(--accent); color: var(--accent); }

/* ============ FOOTER ============ */
footer {
  background: var(--warm-950); color: rgba(255,255,255,.7); padding: var(--sp-12) 0 var(--sp-8);
}
.footer-inner {
  display: grid; grid-template-columns: 280px 1fr 1fr; gap: var(--sp-10);
  margin-bottom: var(--sp-10); padding-bottom: var(--sp-10);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .brand-name {
  font-family: var(--font-display); font-size: var(--text-xl);
  color: #fff; display: block; margin-bottom: var(--sp-2);
}
.footer-brand p { font-size: var(--text-sm); line-height: 1.65; color: rgba(255,255,255,.6); }
.footer-owner { font-size: var(--text-sm) !important; color: rgba(255,255,255,.75) !important; margin-bottom: 0 !important; }
.footer-inn { font-size: var(--text-xs) !important; color: rgba(255,255,255,.4) !important; margin-top: 0 !important; margin-bottom: var(--sp-3) !important; }
.footer-col-title {
  font-weight: 700; font-size: var(--text-sm); letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255,255,255,.5); margin-bottom: var(--sp-5);
}
.footer-contact-item {
  display: flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-4);
  color: rgba(255,255,255,.8); font-size: var(--text-sm);
}
.footer-contact-item a { color: rgba(255,255,255,.8); transition: color var(--dur-fast); }
.footer-contact-item a:hover { color: var(--ochre-light); }
.footer-contact-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.footer-contact-icon.phone { background: rgba(61,139,61,.3); }
.footer-contact-icon.whatsapp { background: rgba(37,211,102,.25); }
.footer-contact-icon.telegram { background: rgba(0,136,204,.25); }
.footer-contact-icon.vk { background: rgba(0,119,255,.25); }
.footer-contact-icon.yandex { background: rgba(255,50,50,.25); }
.footer-nav { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-nav a { font-size: var(--text-sm); color: rgba(255,255,255,.7); transition: color var(--dur-fast); }
.footer-nav a:hover { color: var(--ochre-light); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-4);
  font-size: var(--text-xs); color: rgba(255,255,255,.4);
}
.footer-bottom a { color: rgba(255,255,255,.4); transition: color var(--dur-fast); }
.footer-bottom a:hover { color: rgba(255,255,255,.7); }
.footer-dev { font-size: 0.7rem; color: rgba(255,255,255,.3); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.footer-dev a { color: rgba(255,255,255,.3); transition: color var(--dur-fast); }
.footer-dev a:hover { color: rgba(255,255,255,.55); }
.footer-dev-icon { display: inline-flex; align-items: center; opacity: .55; transition: opacity var(--dur-fast); }
.footer-dev-icon:hover { opacity: 1; }

@media (max-width: 767px) {
  .footer-inner { grid-template-columns: 1fr; gap: var(--sp-8); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .footer-nav-col { display: none; }
  .footer-contacts-col .footer-col-title { display: none; }
  .footer-contacts-col .footer-contact-item { display: none; }
  .footer-contacts-col .footer-location-item { display: flex; margin-top: 0; }

  .final-cta-phone { display: none; }
}

/* ============ BACK TO TOP ============ */
#back-to-top {
  position: fixed; bottom: calc(var(--sticky-bar-h) + var(--sp-4)); right: var(--sp-5);
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); cursor: pointer;
  z-index: 90; border: none;
  opacity: 0; transform: translateY(12px);
  transition: opacity .3s, transform .3s;
  pointer-events: none;
}
#back-to-top.visible { opacity: 1; transform: none; pointer-events: auto; }
#back-to-top:hover { background: var(--accent-hover); }
@media (min-width: 768px) {
  #back-to-top { bottom: var(--sp-8); }
}

/* ============ MOBILE STICKY BAR ============ */
#sticky-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 95;
  height: var(--sticky-bar-h);
  background: rgba(0,0,0,0.12);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; gap: var(--sp-2); padding: var(--sp-2) var(--sp-4);
}
.sticky-btn {
  flex: 1; min-height: 50px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center; gap: var(--sp-2);
  font-family: var(--font-body); font-size: var(--text-sm); font-weight: 700;
  cursor: pointer; text-decoration: none; transition: all var(--dur-fast);
  -webkit-tap-highlight-color: transparent;
}
.sticky-btn-call,
.sticky-btn-menu {
  background: linear-gradient(to bottom, #5cb84c 0%, #357a28 100%);
  color: #fff;
  border: none;
  text-shadow: 0 1px 2px rgba(0,0,0,0.22);
  animation: btnPulse3d 3s ease-in-out infinite;
}
.sticky-btn-call  { animation-delay: 0s;    }
.sticky-btn-menu  { flex: 1.5; animation-delay: 1.5s; }
.sticky-btn-call:hover,
.sticky-btn-menu:hover  { filter: brightness(1.12); }
.sticky-btn-menu.is-open { filter: brightness(0.90); }

.sticky-btn-book { background: var(--accent); color: #fff; flex: 1.5; }
.sticky-btn-book:hover { background: var(--accent-hover); }

/* ---- STICKY NAV DRAWER — piano keys with dew drops ---- */
#sticky-nav-backdrop {
  display: none;
  position: fixed; inset: 0;
  z-index: 196;
}
#sticky-nav-backdrop.open { display: block; }

#sticky-nav { display: none; }

@media (max-width: 767px) {
  #sticky-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
    position: fixed;
    bottom: var(--sticky-bar-h);
    left: 0; right: 0;
    z-index: 197;
    background: rgba(0,0,0,0.10);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    max-height: 0;
    overflow: hidden;
    padding: 0 8px;
    transition: max-height 0.40s cubic-bezier(0.4,0,0.2,1),
                padding    0.40s cubic-bezier(0.4,0,0.2,1),
                box-shadow 0.40s ease;
  }
  #sticky-nav.open {
    max-height: 540px;
    padding: 10px 8px 14px;
    box-shadow: 0 -6px 30px rgba(0,0,0,0.18);
  }

  /* ── Piano key base ── */
  .snav-link {
    display: flex; align-items: center;
    padding: 14px 20px;
    border-radius: var(--r-sm, 8px);
    font-size: 16px; font-weight: 700;
    font-family: var(--font-body, sans-serif);
    text-decoration: none; min-height: 50px;
    position: relative; overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    transition: box-shadow 0.15s ease, transform 0.12s ease, filter 0.12s ease;
    background-image: linear-gradient(
      to bottom,
      rgba(255,255,255,0.33) 0%,
      rgba(255,255,255,0.10) 28%,
      rgba(0,0,0,0.00)       55%,
      rgba(0,0,0,0.13)       100%
    );
    box-shadow:
      0 3px 8px  rgba(0,0,0,0.17),
      0 1px 2px  rgba(0,0,0,0.10),
      inset 0  1px 0 rgba(255,255,255,0.55),
      inset 0 -1px 0 rgba(0,0,0,0.15);
  }

  /* Color gradation: white → deep forest green (7 keys) */
  .snav-link:nth-child(1) { background-color: #ffffff;  color: var(--fg); }
  .snav-link:nth-child(2) { background-color: #edf7e9;  color: var(--fg); }
  .snav-link:nth-child(3) { background-color: #d5eccd;  color: var(--fg); }
  .snav-link:nth-child(4) { background-color: #b4d9a9;  color: var(--fg); }
  .snav-link:nth-child(5) { background-color: #8abf7f;  color: var(--fg); }
  .snav-link:nth-child(6) { background-color: #5a9450;  color: #fff; }
  .snav-link:nth-child(7) { background-color: #376e2d;  color: #fff; }

  /* Hover — lift */
  .snav-link:hover {
    transform: translateY(-2px);
    box-shadow:
      0 8px 20px rgba(0,0,0,0.20),
      0 2px 6px  rgba(0,0,0,0.12),
      inset 0  1px 0 rgba(255,255,255,0.65),
      inset 0 -1px 0 rgba(0,0,0,0.14);
    z-index: 2;
  }

  /* Active tap — pressed down */
  .snav-link:active {
    transform: translateY(1px);
    box-shadow:
      0 1px 3px  rgba(0,0,0,0.14),
      inset 0 2px 8px rgba(0,0,0,0.24),
      inset 0 1px 0   rgba(0,0,0,0.10);
    background-image: linear-gradient(
      to bottom,
      rgba(0,0,0,0.09) 0%,
      rgba(0,0,0,0.02) 40%,
      rgba(255,255,255,0.04) 100%
    );
    filter: brightness(0.90);
  }

  /* ── Shimmer sweep — sunlight catching dew ── */
  .snav-link::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(
      108deg,
      transparent 28%,
      rgba(255,255,255,0.42) 46%,
      rgba(255,255,255,0.75) 52%,
      transparent 70%
    );
    background-size: 200% 100%;
    background-position: 200% center;
    border-radius: inherit;
    animation: dewShimmer 6s ease-in-out infinite;
    animation-delay: var(--snav-delay, 0s);
    pointer-events: none;
  }

  /* ── Glinting dew drops (3 drops via box-shadow trick) ── */
  .snav-link::after {
    content: '';
    position: absolute;
    top: 22%; right: 18%;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #fff 0%, rgba(255,255,255,0.5) 55%, transparent 100%);
    box-shadow:
      -20px  8px 0 -1px rgba(255,255,255,0.65),
       17px  5px 0 -2px rgba(255,255,255,0.50);
    animation: dewGlint 6s ease-in-out infinite;
    animation-delay: calc(var(--snav-delay, 0s) + 1.2s);
    pointer-events: none;
  }

  /* Stagger per key so drops glint at different moments */
  .snav-link:nth-child(1) { --snav-delay: 0.0s; }
  .snav-link:nth-child(2) { --snav-delay: 0.8s; }
  .snav-link:nth-child(3) { --snav-delay: 1.6s; }
  .snav-link:nth-child(4) { --snav-delay: 2.4s; }
  .snav-link:nth-child(5) { --snav-delay: 3.2s; }
  .snav-link:nth-child(6) { --snav-delay: 4.0s; }
  .snav-link:nth-child(7) { --snav-delay: 4.8s; }
}
@media (min-width: 768px) {
  #sticky-bar { display: none; }
  body { padding-bottom: 0; }
}
@media (max-width: 767px) {
  body { padding-bottom: var(--sticky-bar-h); }
}

/* ============ МОДАЛКА (увеличение отзывов) ============ */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.85); align-items: center; justify-content: center;
  padding: var(--sp-4);
}
.modal-overlay.open { display: flex; }
.modal-img { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: var(--r-md); }
.modal-close {
  position: absolute; top: var(--sp-5); right: var(--sp-5);
  width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.15);
  color: #fff; font-size: 1.3rem; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--dur-fast);
}
.modal-close:hover { background: rgba(255,255,255,.3); }

/* ============ МОДАЛКА БРОНИРОВАНИЯ ============ */
.booking-modal-backdrop {
  display: none;
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,.6);
  align-items: center; justify-content: center;
  padding: var(--sp-4);
}
.booking-modal-backdrop.open {
  display: flex;
  animation: backdropIn .2s var(--ease-out);
}
@keyframes backdropIn { from { opacity: 0; } to { opacity: 1; } }
.booking-modal-card {
  background: #fff; border-radius: var(--r-xl);
  width: 100%; max-width: 560px; max-height: 90vh;
  overflow-y: auto; padding: var(--sp-8);
  box-shadow: 0 24px 64px rgba(0,0,0,.35);
  animation: cardIn .25s var(--ease-spring);
}
@keyframes cardIn { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: none; } }
.booking-modal-header {
  display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}
.booking-modal-title {
  font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 700;
  color: var(--fg); line-height: 1.2;
}
.booking-modal-sub { font-size: var(--text-sm); color: var(--fg-muted); margin-top: var(--sp-1); }
.booking-modal-close {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--warm-100); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--fg-muted); transition: background var(--dur-fast), color var(--dur-fast);
}
.booking-modal-close:hover { background: var(--warm-200); color: var(--fg); }
@media (max-width: 767px) {
  .booking-modal-card { padding: var(--sp-6) var(--sp-4); border-radius: var(--r-lg); max-height: 95vh; }
  .booking-modal-title { font-size: var(--text-xl); }
}

/* ============ PRIVACY POPUP ============ */
.privacy-link {
  background: none; border: none; padding: 0; cursor: pointer;
  color: rgba(255,255,255,.4); font-size: inherit;
  text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 2px;
  transition: color var(--dur-fast);
}
.privacy-link:hover { color: rgba(255,255,255,.7); }

.privacy-modal-backdrop {
  display: none; position: fixed; inset: 0; z-index: 400;
  background: rgba(0,0,0,.65);
  align-items: center; justify-content: center;
  padding: var(--sp-4);
}
.privacy-modal-backdrop.open {
  display: flex;
  animation: backdropIn .2s var(--ease-out);
}
.privacy-modal-card {
  position: relative;
  background: var(--warm-50); border-radius: var(--r-xl);
  width: 100%; max-width: 420px;
  padding: var(--sp-8) var(--sp-8) var(--sp-6);
  box-shadow: 0 24px 64px rgba(0,0,0,.35);
  animation: cardIn .25s var(--ease-spring);
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-6);
}
.privacy-modal-close {
  position: absolute; top: var(--sp-4); right: var(--sp-4);
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--warm-100); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--fg-muted); transition: background var(--dur-fast), color var(--dur-fast);
}
.privacy-modal-close:hover { background: var(--warm-200); color: var(--fg); }
.privacy-modal-text {
  font-size: var(--text-base); color: var(--fg); line-height: 1.65;
  padding-right: var(--sp-6);
}
@media (max-width: 767px) {
  .privacy-modal-card { padding: var(--sp-6) var(--sp-5) var(--sp-5); border-radius: var(--r-lg); }
  .privacy-modal-text { font-size: var(--text-sm); }
}

/* ============ DEER / ПРИРОДНЫЕ АКЦЕНТЫ ============ */
.nature-divider {
  text-align: center; padding: var(--sp-3) 0; color: var(--warm-300);
  font-size: 1.2rem; letter-spacing: 0.4em; user-select: none;
}

/* Телефон в хедере — виден на десктопе, но не кликабельный */
@media (min-width: 769px) {
  .header-phone {
    display: flex !important;
    pointer-events: none !important;
    cursor: default !important;
    text-decoration: none !important;
  }
  /* Кнопка телефона в final-cta — скрыта на десктопе */
  .final-cta-actions .btn-outline-white {
    display: none !important;
  }
}

/* Телефон в мобильном sticky-bar — всегда виден */
@media (max-width: 768px) {
  .header-phone {
    display: flex !important;
  }
}

/* Секция не обрезает карточки при hover */
#reviews {
  overflow: visible !important;
  padding-bottom: 60px !important;
}

/* ===== ПОЛЯРОИД-СТИЛЬ ДЛЯ ОТЗЫВОВ ===== */

/* Верёвка — рендерится через JS (SVG с провисом) */
#reviews .reviews-track {
  position: relative;
  overflow: visible !important;
}
#reviews .reviews-carousel {
  position: relative;
  overflow: visible !important;
}
/* (SVG-верёвка удалена) */

/* Сама карточка — поляроид */
#reviews .review-card,
#reviews .review-slide {
  /* Состаренная кремово-бежевая рамка */
  background: linear-gradient(
    160deg,
    #ede4d0 0%,
    #e8dcc8 40%,
    #dfd3bc 100%
  ) !important;
  border: none !important;
  border-radius: 2px !important;
  /* Классический поляроид: тонкая рамка сверху/по бокам, толстая снизу */
  padding: 10px 10px 48px !important;
  box-shadow:
    1px 2px 0 rgba(255,255,255,0.6) inset,
    -1px -1px 0 rgba(0,0,0,0.08) inset,
    3px 6px 18px rgba(0,0,0,0.28),
    0 1px 3px rgba(0,0,0,0.18) !important;
  position: relative !important;
  z-index: 2 !important;
  overflow: visible !important;
  transition: transform 0.35s cubic-bezier(.22,.61,.36,1),
    box-shadow 0.35s ease !important;
}

/* Фото внутри — скриншот с состариванием */
#reviews .review-slide img,
#reviews .review-card img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  margin-bottom: 0 !important;
  /* Лёгкое состаривание кадра */
  filter: sepia(18%) brightness(0.97) contrast(0.93) saturate(0.9) !important;
  /* Тонкая внутренняя рамка как у плёнки */
  box-shadow: inset 0 0 0 1px rgba(180,150,100,0.25) !important;
}

/* Значок Polaroid — нижний левый угол белого поля */
#reviews .review-slide::before {
  content: 'Polaroid';
  position: absolute;
  bottom: 9px;
  left: 12px;
  display: block;
  padding-left: 30px;
  line-height: 24px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 900;
  font-style: italic;
  color: var(--fg);
  letter-spacing: -0.01em;
  z-index: 4;
  /* 4-цветный кружок Polaroid слева от текста */
  background-image: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12,12L12,0A12,12 0 0,1 24,12Z' fill='%23E30613'/><path d='M12,12L24,12A12,12 0 0,1 12,24Z' fill='%23F0C300'/><path d='M12,12L12,24A12,12 0 0,1 0,12Z' fill='%23009A44'/><path d='M12,12L0,12A12,12 0 0,1 12,0Z' fill='%23003896'/></svg>");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 22px 22px;
}

/* Источник отзыва — мелко справа */
#reviews .review-meta {
  left: auto !important;
  right: 10px !important;
  text-align: right !important;
  bottom: 13px !important;
}

/* Виньетка + потёртость углов поверх карточки */
#reviews .review-card::after,
#reviews .review-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    /* Потёртость по углам */
    radial-gradient(ellipse 60% 50% at 0% 0%,
      rgba(120,90,40,0.14) 0%, transparent 55%),
    radial-gradient(ellipse 50% 45% at 100% 0%,
      rgba(100,70,30,0.10) 0%, transparent 50%),
    radial-gradient(ellipse 55% 50% at 100% 100%,
      rgba(80,55,20,0.12) 0%, transparent 55%),
    radial-gradient(ellipse 60% 45% at 0% 100%,
      rgba(100,70,30,0.10) 0%, transparent 50%),
    /* Общая тёплая тонировка рамки */
    linear-gradient(
      160deg,
      rgba(255,245,220,0.18) 0%,
      transparent 50%,
      rgba(80,55,20,0.08) 100%
    );
  pointer-events: none;
  border-radius: 2px;
  z-index: 3;
}

/* Подпись внизу поляроида — источник */
#reviews .review-meta {
  position: absolute !important;
  bottom: 10px !important;
  left: 0; right: 0 !important;
  text-align: center !important;
  padding: 0 !important;
  background: none !important;
}
#reviews .review-source {
  font-family: var(--font-display) !important;
  font-size: 9px !important;
  font-style: italic !important;
  letter-spacing: 0.08em !important;
  color: var(--fg-muted) !important;
  text-transform: none !important;
  opacity: 0.8;
}

/* Наклон — стагерред */
#reviews .review-slide:nth-child(1) { transform: rotate(-4deg)   translateY(5px); }
#reviews .review-slide:nth-child(2) { transform: rotate(2.5deg)  translateY(8px); }
#reviews .review-slide:nth-child(3) { transform: rotate(-1.5deg) translateY(3px); }
#reviews .review-slide:nth-child(4) { transform: rotate(3.5deg)  translateY(7px); }
#reviews .review-slide:nth-child(5) { transform: rotate(-2.5deg) translateY(4px); }
#reviews .review-slide:nth-child(6) { transform: rotate(1.5deg)  translateY(9px); }
#reviews .review-slide:nth-child(7) { transform: rotate(-3deg)   translateY(2px); }
#reviews .review-slide:nth-child(8) { transform: rotate(2deg)    translateY(6px); }
#reviews .review-slide:nth-child(9) { transform: rotate(-1deg)   translateY(5px); }

/* Ховер — выпрямляется, поднимается ВВЕРХ, не обрезается */
#reviews .review-slide:hover,
#reviews .review-card:hover {
  transform: rotate(0deg) translateY(-16px) scale(1.05) !important;
  z-index: 50 !important;
  box-shadow:
    3px 10px 36px rgba(0,0,0,0.32),
    0 2px 6px rgba(0,0,0,0.18) !important;
}
#reviews .review-slide:hover img,
#reviews .review-card:hover img {
  filter: sepia(8%) brightness(1.01) contrast(0.97) saturate(0.95) !important;
}

/* ── Масштабируемая типографика внутри карточек ── */
#reviews .review-card .review-text,
#reviews .review-slide .review-text,
#reviews [class*="review-text"],
#reviews .review-card p {
  font-size: clamp(10px, 1.1vw, 13px) !important;
  line-height: 1.55 !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 8 !important;
  -webkit-box-orient: vertical !important;
  font-family: var(--font-display) !important;
  color: var(--fg) !important;
}

/* Имя автора */
#reviews [class*="review-name"],
#reviews [class*="reviewer"],
#reviews .review-card .author-name {
  font-size: clamp(11px, 1.2vw, 14px) !important;
  font-weight: 600 !important;
}

/* Дата и источник */
#reviews [class*="review-date"],
#reviews [class*="review-source"],
#reviews .review-card .source-label,
#reviews .review-source {
  font-size: clamp(8px, 0.9vw, 11px) !important;
}

/* ============ HERO MOBILE BAR (social icons + fan menu) ============ */
.hero-mob-bar { display: none; }

@media (max-width: 767px) {
  /* Скрываем header полностью */
  #site-header { display: none !important; }

  /* Расположение элементов hero: текст/плашки вверху, виджет внизу */
  .hero-content {
    padding-top: 80px !important;
    padding-bottom: calc(var(--sticky-bar-h) + 20px) !important;
  }

  /* Переставляем элементы hero по вертикали */
  .hero-pre         { order: 1; }
  .hero-h1          { order: 2; }
  .hero-utp         { order: 3; }
  .hero-badges      { order: 4; margin-top: 106px; }
  .hero-widget-area { order: 5; margin-top: auto; }

  /* Полоса 4 иконок — FIXED у нижнего края экрана, прямо над sticky bar */
  .hero-mob-bar {
    display: flex;
    position: fixed;
    bottom: var(--sticky-bar-h);
    left: 0; right: 0;
    z-index: 99;
    align-items: center;
    justify-content: space-around;
    padding: 12px 20px;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }

  /* Все 4 иконки — одного размера 64×64 */
  .hmb-icon {
    width: 64px; height: 64px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.12);
    border: 1.5px solid rgba(255,255,255,0.25);
    flex-shrink: 0;
    transition: background 0.18s;
    -webkit-tap-highlight-color: transparent;
  }
  .hmb-icon svg { width: 40px; height: 40px; }
  .hmb-icon:active { background: rgba(255,255,255,0.24); }

  /* Кнопка меню — тот же размер 64×64 */
  .fan-wrap {
    margin-left: 0;
    position: relative;
    width: 64px; height: 64px;
  }
  .fan-btn {
    width: 64px; height: 64px;
    border-radius: 16px;
    background: rgba(255,255,255,0.15);
    border: 1.5px solid rgba(255,255,255,0.32);
    color: white;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.28s cubic-bezier(0.34,1.56,0.64,1);
    -webkit-tap-highlight-color: transparent;
  }
  .fan-btn svg { width: 28px; height: 28px; }
  .fan-btn.fan-open {
    background: rgba(255,255,255,0.9);
    color: #222;
    transform: rotate(90deg);
  }
}

/* body padding — учитываем два фиксированных блока внизу */
@media (max-width: 767px) {
  body { padding-bottom: calc(var(--sticky-bar-h) + 92px) !important; }
}

/* ============ FAN NAV PILLS (fixed, JS-positioned) ============ */
#fan-pills {
  position: fixed;
  z-index: 600;
  top: 0; left: 0;
  pointer-events: none;
}
.fan-pill {
  position: fixed;
  padding: 11px 20px;
  border-radius: 24px;
  background: rgba(255,255,255,0.97);
  color: #1a1a1a;
  font-family: var(--font-body, sans-serif);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0,0,0,0.22), 0 1px 6px rgba(0,0,0,0.12);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.3);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
  -webkit-tap-highlight-color: transparent;
}
.fan-pill.fan-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: all;
}
/* Fan backdrop (tap outside to close) */
#fan-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 590;
}
#fan-backdrop.fan-open { display: block; }

/* ===================== RULES BUTTON ===================== */
@keyframes rules-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.55); }
  50%       { box-shadow: 0 0 0 7px rgba(220, 38, 38, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .nav-rules-btn, .snav-rules-btn { animation: none !important; }
}

/* Desktop nav */
.nav-rules-btn {
  background: #fff;
  border: 2px solid #dc2626;
  color: #dc2626;
  border-radius: 999px;
  padding: 4px 14px;
  font: 600 13px/1.4 inherit;
  cursor: pointer;
  white-space: nowrap;
  animation: rules-pulse 1.8s ease-in-out infinite;
  transition: background 150ms, color 150ms;
}
.nav-rules-btn:hover, .nav-rules-btn:focus-visible {
  background: #dc2626;
  color: #fff;
  outline: none;
}

/* Mobile nav — тёмно-зелёный, темнее всех пунктов меню */
.snav-rules-btn {
  background-color: #163d10 !important;
  color: #fff !important;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-align: left;
  animation: rules-pulse 1.8s ease-in-out infinite;
  width: 100%;
}
.snav-rules-btn:hover, .snav-rules-btn:focus-visible {
  background-color: #0e2a0a !important;
  outline: none;
}

/* ===================== RULES MODAL ===================== */
.rules-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(3px);
  overflow-y: auto;
  padding: 24px 16px;
}
.rules-modal-backdrop.open { display: flex; align-items: flex-start; justify-content: center; }

.rules-modal-box {
  position: relative;
  background: #fff;
  border-radius: 20px;
  max-width: 640px;
  width: 100%;
  padding: 40px 36px 36px;
  margin: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
@media (max-width: 600px) {
  .rules-modal-box { padding: 32px 20px 28px; }
}

.rules-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: #888;
  padding: 4px 8px;
  border-radius: 6px;
}
.rules-modal-close:hover { color: #333; background: #f3f3f3; }

.rules-modal-title {
  font-size: clamp(1.3rem, 4vw, 1.7rem);
  font-weight: 700;
  color: #dc2626;
  margin: 0 0 8px;
  padding-right: 32px;
}
.rules-modal-intro {
  font-size: 0.9rem;
  color: #666;
  margin: 0 0 24px;
  border-bottom: 1px solid #eee;
  padding-bottom: 16px;
}

.rules-modal-content { display: flex; flex-direction: column; gap: 20px; }

.rules-section h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: #1a1a1a;
}
.rules-section ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.rules-section li {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #333;
  padding-left: 18px;
  position: relative;
}
.rules-section li::before {
  content: '·';
  position: absolute;
  left: 5px;
  font-size: 1.2em;
  line-height: 1.3;
  color: #dc2626;
  font-weight: 700;
}

