/* ===================================================================
   NEEDLS DOM PENZA — Boutique Forest House Rental (@needls_dom_penza)
   Dual-Theme Quiet-Luxury Architectural Design System
   Default Light: Warm Travertine, Champagne Cashmere, Honeyed Bronze, Deep Pine Ink
   Dark Mode ([data-theme="dark"]): Deep Forest Obsidian, Champagne Bronze, Sage
   =================================================================== */

:root {
  /* Primitive Colors (Warm Muted Travertine & Champagne Sand — zero white glare) */
  --color-linen-50: #e7e0d3;
  --color-linen-100: #dfd7c8;
  --color-linen-200: #d5cbb9;
  --color-linen-300: #cabfa9;
  --color-ink-900: #18221b;
  --color-ink-700: #36433a;
  --color-ink-500: #4d5a51;

  --color-bronze-300: #e5d2b8;
  --color-bronze-400: #b88b54;
  --color-bronze-500: #9b6f3b;
  --color-bronze-600: #7b5428;
  --color-bronze-700: #5e3f1c;

  --color-emerald-400: #10b981;
  --color-emerald-500: #059669;
  --color-emerald-600: #047857;

  /* Semantic Theme Tokens (Default: Warm Calm Joyful Luxury) */
  --bg-dark: var(--color-linen-100);
  --bg-alt: var(--color-linen-200);
  --bg-footer: #cfc4b0;
  --bg-surface: #ebe5d9;
  --bg-card: #ede7dc;
  --bg-card-hover: #e4dccd;
  --bg-card-highlight: linear-gradient(135deg, #f0ebe0 0%, #e1d6c1 100%);
  --bg-input: #e5ded0;
  --bg-input-focus: #f1ece2;
  --bg-glass: rgba(235, 229, 217, 0.92);
  --bg-header-top: rgba(223, 215, 200, 0.55);
  --bg-header-scrolled: rgba(235, 229, 217, 0.94);
  --bg-drawer-backdrop: rgba(28, 38, 31, 0.50);
  --bg-hud: rgba(239, 234, 224, 0.90);
  --bg-hud-hover: #f3eee4;
  --bg-tooltip: rgba(242, 237, 228, 0.96);
  --bg-modal-backdrop: rgba(28, 38, 31, 0.55);
  --bg-modal-window: linear-gradient(145deg, #efeae0 0%, #e4dccd 100%);
  --bg-stage: #d8cfc0;
  --bg-reviews-grad: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-alt) 100%);
  --bg-sticky-bar: rgba(235, 229, 217, 0.95);
  --bg-sound-pill: rgba(237, 231, 220, 0.90);

  --hero-img-filter: brightness(0.92) saturate(1.08);
  --hero-overlay-bg:
    linear-gradient(95deg, rgba(235, 229, 217, 0.90) 0%, rgba(235, 229, 217, 0.72) 52%, rgba(235, 229, 217, 0.25) 78%, rgba(235, 229, 217, 0.08) 100%),
    linear-gradient(180deg, rgba(235, 229, 217, 0.42) 0%, transparent 25%, transparent 72%, var(--bg-dark) 100%);
  --hero-title-color: var(--text-primary);
  --hero-desc-color: var(--text-secondary);
  --hero-eyebrow-color: var(--accent-gold-light);
  --body-glow:
    radial-gradient(circle at 12% 14%, rgba(41, 66, 52, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 88% 66%, rgba(180, 134, 72, 0.14) 0%, transparent 48%);
  --map-filter: grayscale(0.88) invert(0.92) hue-rotate(180deg) contrast(1.08) brightness(0.88);
  --map-filter-hover: grayscale(0.75) invert(0.92) hue-rotate(180deg) contrast(1.05) brightness(0.95);
  --color-scheme-mode: light;

  --border-subtle: rgba(28, 38, 31, 0.10);
  --border-medium: rgba(28, 38, 31, 0.18);
  --border-accent: rgba(155, 111, 59, 0.38);

  --accent-gold: var(--color-bronze-500);
  --accent-gold-light: var(--color-bronze-600);
  --accent-gold-dark: var(--color-bronze-700);
  --accent-pine: #294234;
  --accent-emerald: var(--color-emerald-500);

  --btn-primary-text: #faf6ee;
  --btn-secondary-bg: rgba(237, 231, 220, 0.75);
  --btn-secondary-hover-bg: #f3eee4;
  --checkbox-tick-color: #faf6ee;
  --spinner-ring-color: rgba(250, 246, 238, 0.35);
  --spinner-top-color: #faf6ee;
  --emerald-text: #047857;
  --emerald-bg: rgba(5, 150, 105, 0.11);
  --emerald-border: rgba(5, 150, 105, 0.28);
  --error-text: #c82828;

  --text-primary: var(--color-ink-900);
  --text-secondary: var(--color-ink-700);
  --text-muted: var(--color-ink-500);
  --text-accent: var(--color-bronze-600);

  --section-padding: 110px 0;

  /* Typography */
  --font-serif: 'Forum', Georgia, serif;
  --font-display: 'Tenor Sans', sans-serif;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing Scale (4px/8px rhythm) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;

  /* Border Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Strict Animation & Motion Tokens (Emil Kowalski / animation-performance) */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 0.2s;
  --duration-normal: 0.4s;
  --duration-slow: 0.8s;

  /* Explicit Composite-Safe Transitions (Rule 4: NO 'all') */
  --transition-smooth: transform var(--duration-normal) var(--ease-out-expo),
                       opacity var(--duration-normal) var(--ease-out-expo),
                       background-color var(--duration-normal) var(--ease-out-expo),
                       border-color var(--duration-normal) var(--ease-out-expo),
                       color var(--duration-normal) var(--ease-out-expo);

  --transition-fast: transform var(--duration-fast) ease,
                     opacity var(--duration-fast) ease,
                     background-color var(--duration-fast) ease,
                     border-color var(--duration-fast) ease,
                     color var(--duration-fast) ease;

  --shadow-subtle: 0 10px 30px rgba(34, 28, 18, 0.08);
  --shadow-deep: 0 24px 60px rgba(34, 28, 18, 0.14);
  --shadow-glow: 0 0 40px rgba(155, 111, 59, 0.16);
}

/* ===================================================================
   DARK THEME OVERRIDE (Classic Deep Forest Obsidian & Champagne Gold)
   =================================================================== */
[data-theme="dark"] {
  --color-linen-50: #0a0f0c;
  --color-linen-100: #070b09;
  --color-linen-200: #0e1411;

  --bg-dark: #070b09;
  --bg-alt: #0e1411;
  --bg-footer: #070b09;
  --bg-surface: #0e1411;
  --bg-card: #131a16;
  --bg-card-hover: #18221d;
  --bg-card-highlight: linear-gradient(135deg, rgba(25, 35, 30, 0.8) 0%, rgba(20, 28, 24, 0.92) 100%);
  --bg-input: rgba(7, 11, 9, 0.65);
  --bg-input-focus: rgba(7, 11, 9, 0.92);
  --bg-glass: rgba(14, 20, 17, 0.88);
  --bg-header-top: transparent;
  --bg-header-scrolled: rgba(7, 11, 9, 0.94);
  --bg-drawer-backdrop: rgba(0, 0, 0, 0.78);
  --bg-hud: rgba(7, 11, 9, 0.82);
  --bg-hud-hover: rgba(20, 28, 24, 0.94);
  --bg-tooltip: rgba(11, 17, 14, 0.94);
  --bg-modal-backdrop: rgba(5, 8, 6, 0.84);
  --bg-modal-window: linear-gradient(145deg, #0e1512 0%, #090e0c 100%);
  --bg-stage: #000000;
  --bg-reviews-grad: linear-gradient(180deg, #070b09 0%, rgba(13, 19, 16, 0.9) 100%);
  --bg-sticky-bar: rgba(12, 18, 15, 0.94);
  --bg-sound-pill: rgba(14, 20, 17, 0.82);

  --hero-img-filter: brightness(0.42);
  --hero-overlay-bg: linear-gradient(
    180deg,
    rgba(7, 11, 9, 0.68) 0%,
    rgba(7, 11, 9, 0.28) 40%,
    rgba(7, 11, 9, 0.88) 85%,
    #070b09 100%
  );
  --hero-title-color: #ffffff;
  --hero-desc-color: rgba(244, 242, 238, 0.86);
  --hero-eyebrow-color: #c7a982;
  --body-glow:
    radial-gradient(circle at 10% 12%, rgba(37, 54, 44, 0.22) 0%, transparent 42%),
    radial-gradient(circle at 90% 68%, rgba(199, 169, 130, 0.07) 0%, transparent 45%);
  --map-filter: contrast(106%) brightness(90%) invert(88%) hue-rotate(180deg);
  --map-filter-hover: contrast(102%) brightness(96%) invert(88%) hue-rotate(180deg);
  --color-scheme-mode: dark;

  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-medium: rgba(255, 255, 255, 0.12);
  --border-accent: rgba(199, 169, 130, 0.35);

  --accent-gold: #c7a982;
  --accent-gold-light: #e4d4c0;
  --accent-gold-dark: #967954;
  --accent-pine: #25362c;
  --accent-emerald: #10b981;

  --btn-primary-text: #0b0f0d;
  --btn-secondary-bg: transparent;
  --btn-secondary-hover-bg: rgba(199, 169, 130, 0.08);
  --checkbox-tick-color: #0b0f0d;
  --spinner-ring-color: rgba(11, 15, 13, 0.3);
  --spinner-top-color: #0b0f0d;
  --emerald-text: #34d399;
  --emerald-bg: rgba(16, 185, 129, 0.12);
  --emerald-border: rgba(16, 185, 129, 0.3);
  --error-text: #f87171;

  --text-primary: #f4f2ee;
  --text-secondary: #b6c0ba;
  --text-muted: #919e97;
  --text-accent: #c7a982;

  --shadow-subtle: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-deep: 0 24px 60px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 0 40px rgba(199, 169, 130, 0.15);
}

/* Base Reset & Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  color-scheme: var(--color-scheme-mode);
  -webkit-tap-highlight-color: rgba(155, 111, 59, 0.16);
  overflow-x: clip;
  max-width: 100%;
}

@media (pointer: fine) {
  html {
    overscroll-behavior: none;
  }
}

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

.skip-link {
  position: fixed;
  top: -120px;
  left: 16px;
  z-index: 11000;
  background: var(--accent-gold);
  color: var(--btn-primary-text);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 4px;
  transition: top 0.2s ease;
}

.skip-link:focus-visible {
  top: 14px;
}

:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.65;
  background-color: var(--bg-dark);
  background-image: var(--body-glow);
  background-attachment: scroll;
  overflow-x: clip;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.35s ease, color 0.35s ease;
}

main,
section,
footer {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

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

iconify-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
  transition: var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  touch-action: manipulation;
  transition: var(--transition-smooth);
}

input, select, label {
  touch-action: manipulation;
}

.hero-title,
.section-title,
.roadmap-heading,
.modal-title {
  text-wrap: balance;
}

.rate-price,
.summary-cost,
.ticket-val.gold,
.sticky-bar-price,
.hud-coords {
  font-variant-numeric: tabular-nums;
}

.drawer-pane,
.modal-window,
.axonometry-modal .modal-body {
  overscroll-behavior: contain;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ================= PAGE PRELOADER ================= */
.page-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
}

.page-preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.preloader-brand {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  letter-spacing: 0.22em;
  color: var(--text-primary);
  margin-bottom: 6px;
  animation: preloaderPulse 1.8s infinite ease-in-out;
}

.preloader-sub {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 24px;
}

.preloader-bar {
  width: 130px;
  height: 2px;
  background: rgba(24, 34, 28, 0.1);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.preloader-bar-fill {
  width: 100%;
  height: 100%;
  background: var(--accent-gold);
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: left center;
  animation: preloaderSlide 1.2s infinite ease-in-out;
  will-change: transform;
}

@keyframes preloaderSlide {
  0% { transform: translateX(-100%) scaleX(0.3); }
  50% { transform: translateX(20%) scaleX(0.7); }
  100% { transform: translateX(120%) scaleX(0.2); }
}

@keyframes preloaderPulse {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

/* ================= SCROLL REVEAL ANIMATIONS ================= */
.reveal-on-scroll {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.reveal-init {
  opacity: 0;
  transform: translateY(20px);
}

.reveal-on-scroll.reveal-init.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Typography Helpers */
.section-header-centered {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 50px auto;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 3.1rem;
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.section-title em {
  font-style: italic;
  color: var(--accent-gold-light);
}

.section-subtitle {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--accent-gold);
  color: var(--btn-primary-text);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 3px;
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  background-color: var(--accent-gold-light);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(155, 111, 59, 0.25);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--btn-secondary-bg);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 3px;
  border: 1px solid var(--border-medium);
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold-light);
  background-color: var(--btn-secondary-hover-bg);
}

/* ================= HEADER ================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  overflow-x: clip;
  z-index: 2000;
  padding: 18px 0;
  transition: var(--transition-smooth);
  background: var(--bg-header-top);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.site-header.scrolled {
  padding: 14px 0;
  background: var(--bg-header-scrolled);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-subtle);
}

/* Dual Theme Toggle Button */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 3px;
  border: 1px solid var(--border-medium);
  background: var(--bg-hud);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--transition-fast);
}

.theme-toggle-btn:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold-light);
  background: var(--bg-hud-hover);
}

.theme-toggle-btn .icon-sun {
  display: none;
}

.theme-toggle-btn .icon-moon {
  display: block;
}

[data-theme="dark"] .theme-toggle-btn .icon-sun {
  display: block;
}

[data-theme="dark"] .theme-toggle-btn .icon-moon {
  display: none;
}

@media (max-width: 1024px) {
  .theme-toggle-label {
    display: none;
  }
  .theme-toggle-btn {
    padding: 9px 10px;
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-width: 0;
}

.brand-logo {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  white-space: nowrap;
}

.logo-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  letter-spacing: 0.2em;
  font-weight: 400;
  color: var(--text-primary);
  white-space: nowrap;
}

.logo-subtitle {
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-top: -2px;
  white-space: nowrap;
}

.desktop-nav .nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: var(--transition-fast);
}

@media (max-width: 1320px) {
  .desktop-nav .nav-links {
    gap: 14px;
  }
  .nav-link {
    font-size: 0.72rem;
  }
  .header-actions .btn-primary {
    padding: 11px 16px;
    font-size: 0.72rem;
  }
}

.nav-link:hover {
  color: var(--accent-gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-phone-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  white-space: nowrap;
  padding: 9px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  transition: color 0.25s ease, border-color 0.25s ease;
}

.header-phone-link:hover {
  color: var(--accent-gold);
  border-color: var(--accent-gold);
}

.header-phone-text {
  display: none;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-fast);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2500;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.4s, opacity 0.4s ease;
}

.mobile-drawer.active {
  visibility: visible;
  opacity: 1;
}

.drawer-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-drawer-backdrop);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.drawer-pane {
  position: absolute;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 340px;
  height: 100%;
  max-height: 100dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-accent);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.active .drawer-pane {
  transform: translateX(0);
}

[data-theme="dark"] .drawer-pane {
  background-color: #0e1411;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 18px;
}

.drawer-close-btn {
  font-size: 1.25rem;
  color: var(--text-muted);
  padding: 6px;
}

.drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
}

.drawer-link {
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: var(--text-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  padding: 6px 0;
}

.drawer-link:hover {
  color: var(--accent-gold);
}

.drawer-insta {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
  text-align: center;
  margin-top: 14px;
}

/* ================= HERO SECTION ================= */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 128px 0 68px 0;
  overflow: hidden;
}

.hero-bg-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--hero-img-filter);
  transform: scale(1.02);
  animation: subtleZoom 25s infinite alternate ease-in-out;
  will-change: transform;
}

.hero-bg-media video.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--hero-img-filter);
  opacity: 0;
  transition: opacity 1.1s ease;
  pointer-events: none;
}

.hero-bg-media video.hero-video.active {
  opacity: 1;
}

@keyframes subtleZoom {
  0% { transform: scale(1.02); }
  100% { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: var(--hero-overlay-bg);
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 940px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.eyebrow-line {
  width: 36px;
  height: 1px;
  background: var(--accent-gold);
}

.eyebrow-text {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hero-eyebrow-color);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 4.2rem;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin-bottom: 26px;
  color: var(--hero-title-color);
}

.hero-title em {
  font-style: italic;
  color: var(--accent-gold-light);
}

.hero-description {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--hero-desc-color);
  margin-bottom: 38px;
  max-width: 700px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.hero-meta-strip {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: nowrap;
}

.meta-item {
  display: flex;
  flex-direction: column;
}

.meta-label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.meta-val {
  font-size: 0.84rem;
  color: var(--text-primary);
  font-weight: 500;
}

.meta-divider {
  width: 1px;
  height: 26px;
  background: var(--border-subtle);
}

/* ================= CINEMATIC FLYTHROUGH SHOWCASE ================= */
.flythrough-section {
  padding: 110px 0;
  position: relative;
}

.flythrough-viewer-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-deep);
}

.flythrough-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 500px;
  background: var(--bg-stage);
  overflow: hidden;
  contain: layout;
}

.flythrough-canvas-container {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.flythrough-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.8s ease-in-out;
  opacity: 1;
}

.flythrough-img.moving {
  animation: cameraGlide 22s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes cameraGlide {
  0% { transform: scale(1.0) translate(0, 0); }
  50% { transform: scale(1.06) translate(-1.5%, -1%); }
  100% { transform: scale(1.04) translate(1.5%, 1%); }
}

/* Telemetry HUD */
.hud-top {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
  pointer-events: none;
}

.hud-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-hud);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-medium);
  padding: 6px 14px;
  border-radius: 3px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
  box-shadow: var(--shadow-subtle);
}

.hud-rec-dot {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 8px #ef4444;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hud-coords {
  background: var(--bg-hud);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-medium);
  padding: 6px 14px;
  border-radius: 3px;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--text-secondary);
  box-shadow: var(--shadow-subtle);
}

.hud-divider {
  margin: 0 6px;
  color: var(--text-muted);
}

/* Hotspots */
.hotspots-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 8;
}

.cam-hotspot {
  position: absolute;
  width: 32px;
  height: 32px;
  cursor: pointer;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hotspot-dot {
  width: 10px;
  height: 10px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  transition: var(--transition-fast);
}

.hotspot-pulse {
  position: absolute;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: radar 2s infinite ease-out;
}

@keyframes radar {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

.cam-hotspot:hover .hotspot-dot {
  background: var(--accent-gold);
  transform: scale(1.3);
}

/* In-Viewport Tooltip Glass Card with smooth entry animation */
.hotspot-tooltip-card {
  position: absolute;
  bottom: 74px;
  right: 24px;
  width: calc(100% - 48px);
  max-width: 320px;
  background: var(--bg-tooltip);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-accent);
  border-radius: 6px;
  padding: 18px 20px;
  z-index: 25;
  box-shadow: var(--shadow-deep);
  opacity: 0;
  transform: translateY(16px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.hotspot-tooltip-card.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.tooltip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.tooltip-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  color: var(--accent-gold-light);
  font-weight: 400;
}

.tooltip-close-btn {
  color: var(--text-muted);
  font-size: 1rem;
  padding: 4px;
  line-height: 1;
}

.tooltip-close-btn:hover {
  color: var(--text-primary);
}

.tooltip-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* HUD Bottom Bar */
.hud-bottom {
  position: absolute;
  bottom: 14px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 10;
}

.scene-buttons-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.scene-btn {
  background: var(--bg-hud);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 3px;
  transition: var(--transition-fast);
}

.scene-btn:hover {
  background: var(--bg-hud-hover);
  color: var(--accent-gold-light);
  border-color: var(--accent-gold);
}

.scene-btn.active {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: var(--btn-primary-text);
  font-weight: 500;
}

.hud-btn {
  background: var(--bg-hud);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  padding: 8px 12px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hud-btn:hover {
  background: var(--bg-hud-hover);
  border-color: var(--accent-gold);
}

.hud-timeline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.35);
  z-index: 11;
  cursor: pointer;
}

.hud-progress-fill {
  width: 100%;
  height: 100%;
  background: var(--accent-gold);
  transform-origin: left center;
  transform: scaleX(0.25);
  transition: transform 0.1s linear;
  will-change: transform;
}

/* Caption Panel Below Viewer */
.flythrough-caption-panel {
  padding: 26px 30px;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
}

.caption-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 4px;
}

.caption-title {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.caption-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  max-width: 720px;
  min-height: 3.1em;
}

.caption-action {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* ================= PRICING & CALCULATOR ================= */
.pricing-section {
  padding: 110px 0;
}

.pricing-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 36px;
  align-items: start;
}

.rates-column {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.rate-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 26px;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
}

.rate-card.highlighted {
  border-color: var(--border-accent);
  background: var(--bg-card-highlight);
}

.rate-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.rate-days {
  font-family: var(--font-display);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.rate-badge {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 3px;
  background: rgba(199, 169, 130, 0.15);
  color: var(--accent-gold);
  border: 1px solid rgba(199, 169, 130, 0.3);
}

.rate-price {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.rate-price span {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.rate-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 14px;
}

.rate-specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}

.rate-specs li {
  font-size: 0.78rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.rate-specs li::before {
  content: "—";
  color: var(--accent-gold);
}

.deposit-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-alt);
  border: 1px dashed var(--border-medium);
  border-radius: 4px;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.deposit-icon {
  color: var(--accent-gold);
  flex-shrink: 0;
}

/* ================= UNIFIED DIRECT BOOKING PANEL ================= */
.booking-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 36px;
  box-shadow: var(--shadow-subtle);
  position: relative;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

/* Pulsing highlight effect when scrolled to from buttons */
.booking-panel.highlight-pulse {
  animation: bookingGlowPulse 2.4s ease-out;
}

@keyframes bookingGlowPulse {
  0% {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 0 rgba(199, 169, 130, 0.7), var(--shadow-deep);
  }
  30% {
    border-color: var(--accent-gold-light);
    box-shadow: 0 0 0 8px rgba(199, 169, 130, 0), 0 0 50px rgba(199, 169, 130, 0.35);
  }
  100% {
    border-color: var(--border-subtle);
    box-shadow: var(--shadow-subtle);
  }
}

.booking-form-header {
  margin-bottom: 22px;
}

.booking-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--emerald-text);
  background: var(--emerald-bg);
  border: 1px solid var(--emerald-border);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.booking-badge-live::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: pulse 2s infinite;
}

.calc-heading {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.calc-heading em {
  font-style: italic;
  color: var(--accent-gold-light);
}

.calc-sub {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 20px;
}

.calc-dates-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 14px;
}

.calc-input-box,
.calc-guests-box,
.calc-column,
.booking-form-unified {
  min-width: 0;
  max-width: 100%;
}

.calc-input-box label,
.calc-guests-box label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.clean-date-input,
.clean-select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 48px;
  display: block;
  -webkit-appearance: none;
  appearance: none;
  background-color: var(--bg-input);
  border: 1px solid var(--border-medium);
  border-radius: 4px;
  padding: 12px 14px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  text-align: left;
  color-scheme: var(--color-scheme-mode);
  transition: var(--transition-fast);
}

.clean-select {
  display: flex;
  align-items: center;
  height: 48px;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239b6f3b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  text-overflow: ellipsis;
}

.clean-select::picker-icon {
  display: none;
}

/* ================= STYLED BOOKING AVAILABILITY CALENDAR ================= */
.calc-dates-wrapper {
  position: relative;
}

.date-trigger-btn {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
}

.date-trigger-btn.is-active {
  border-color: var(--accent-gold);
  background-color: var(--bg-input-focus);
  box-shadow: var(--shadow-glow);
}

.booking-calendar-popover {
  display: none;
  margin-top: 10px;
  margin-bottom: 14px;
  padding: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-deep);
}

.booking-calendar-popover.active,
.booking-calendar-popover.inline-always {
  display: block;
}

.booking-calendar-popover.inline-always {
  margin-top: 0;
  box-shadow: none;
}

.bcal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.bcal-step-hint {
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.bcal-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.bcal-nav-btn,
.bcal-close-btn {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-medium);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.bcal-nav-btn:hover,
.bcal-close-btn:hover {
  border-color: var(--accent-gold);
}

.bcal-month-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  min-width: 118px;
  text-align: center;
  text-transform: capitalize;
}

.bcal-weekdays,
.bcal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}

.bcal-weekdays {
  margin-bottom: 6px;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.bcal-day {
  position: relative;
  height: 38px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.bcal-day:hover:not(:disabled) {
  border-color: var(--accent-gold);
}

.bcal-day.empty {
  background: transparent;
  border-color: transparent;
  cursor: default;
}

.bcal-day.is-past {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Забронированные даты — перечёркнуты крестом */
.bcal-day.is-booked {
  background: rgba(184, 50, 50, 0.09);
  border-color: rgba(184, 50, 50, 0.32);
  color: var(--text-muted);
  cursor: not-allowed;
}

.bcal-day.is-booked::before,
.bcal-day.is-booked::after {
  content: "";
  position: absolute;
  width: 130%;
  height: 1.8px;
  background: rgba(196, 54, 54, 0.78);
  top: 50%;
  left: -15%;
  pointer-events: none;
}

.bcal-day.is-booked::before {
  transform: rotate(36deg);
}

.bcal-day.is-booked::after {
  transform: rotate(-36deg);
}

.bcal-day.is-in-range {
  background: rgba(155, 111, 59, 0.18);
  border-color: rgba(155, 111, 59, 0.42);
}

.bcal-day.is-start,
.bcal-day.is-end {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #faf6ee;
}

.bcal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.74rem;
  color: var(--text-secondary);
}

.bcal-leg-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.bcal-swatch {
  position: relative;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  border: 1px solid var(--border-medium);
  background: var(--bg-card);
  overflow: hidden;
}

.bcal-swatch.booked {
  background: rgba(184, 50, 50, 0.10);
  border-color: rgba(184, 50, 50, 0.4);
}

.bcal-swatch.booked::before,
.bcal-swatch.booked::after {
  content: "";
  position: absolute;
  width: 140%;
  height: 1.5px;
  background: rgba(196, 54, 54, 0.85);
  top: 50%;
  left: -20%;
}

.bcal-swatch.booked::before { transform: rotate(45deg); }
.bcal-swatch.booked::after { transform: rotate(-45deg); }

.bcal-swatch.selected {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
}

.booking-api-error {
  display: none;
  margin-top: 8px;
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-xs);
  background: rgba(184, 50, 50, 0.12);
  border: 1px solid rgba(184, 50, 50, 0.35);
  color: var(--error-text);
  font-size: 0.82rem;
  font-weight: 500;
}

.booking-api-error.visible {
  display: block;
}

.clean-date-input:focus,
.clean-select:focus {
  outline: none;
  border-color: var(--accent-gold);
  background: var(--bg-input-focus);
  box-shadow: var(--shadow-glow);
}

.nights-status-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  max-width: 100%;
  min-width: 0;
  background: var(--bg-alt);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--accent-gold-light);
  margin-bottom: 18px;
  overflow-wrap: anywhere;
  word-break: break-word;
  transition: var(--transition-fast);
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.calc-guests-box {
  margin-bottom: 24px;
}

.calc-addons-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
}

.addons-heading {
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.clean-checkbox-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 14px 16px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.clean-checkbox-row:hover {
  border-color: var(--border-medium);
  background: var(--bg-card-hover);
}

.clean-checkbox-row input {
  display: none;
}

.checkbox-custom {
  width: 20px;
  height: 20px;
  border: 1px solid var(--border-medium);
  background: var(--bg-surface);
  border-radius: 3px;
  flex-shrink: 0;
  position: relative;
  transition: var(--transition-fast);
}

.clean-checkbox-row input:checked + .checkbox-custom {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  box-shadow: 0 0 10px rgba(155, 111, 59, 0.25);
}

.clean-checkbox-row input:checked + .checkbox-custom::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--checkbox-tick-color);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.addon-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.addon-title {
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 500;
}

.addon-desc {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.addon-val {
  font-family: var(--font-display);
  font-size: 0.84rem;
  color: var(--accent-gold);
  font-weight: 500;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Booking Contacts Section */
.booking-contacts-section {
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  margin-bottom: 24px;
}

.contact-inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.input-field-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.field-error-hint {
  display: none;
  font-size: 0.72rem;
  color: var(--error-text);
  margin-top: 4px;
  line-height: 1.4;
  animation: errorFadeIn 0.25s ease-out;
}

@keyframes errorFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.input-field-group.has-error .clean-input {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.06);
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.25);
}

.input-field-group.has-error .field-error-hint {
  display: block;
}

.preferred-channel-group {
  margin-top: 14px;
}

.channel-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.channel-chips-row {
  display: flex;
  gap: 8px;
}

.channel-chip {
  flex: 1;
  cursor: pointer;
}

.channel-chip input {
  display: none;
}

.chip-box {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 4px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.channel-chip input:checked + .chip-box {
  background: rgba(155, 111, 59, 0.14);
  border-color: var(--accent-gold);
  color: var(--accent-gold-light);
  font-weight: 500;
}

/* Cost Summary */
.calc-summary-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 20px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}

.summary-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.summary-nights {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.summary-cost {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--text-primary);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.3s ease;
}

.btn-submit-booking {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  font-size: 0.86rem;
}

.btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid var(--spinner-ring-color);
  border-top-color: var(--spinner-top-color);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  position: absolute;
}

.btn-submit-booking.is-loading .btn-text {
  opacity: 0;
}

.btn-submit-booking.is-loading .btn-spinner {
  display: block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.calc-direct-note {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
}

/* ================= SUCCESS CONFIRMATION CARD ================= */
.booking-success-card {
  text-align: center;
  padding: 20px 10px;
  animation: successEntrance 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes successEntrance {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.success-icon-wrap {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px auto;
}

.success-checkmark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: block;
  stroke-width: 2;
  stroke: var(--accent-gold);
  stroke-miterlimit: 10;
  box-shadow: inset 0px 0px 0px var(--accent-gold);
  animation: fill 0.4s ease-in-out 0.4s forwards, scale 0.3s ease-in-out 0.9s both;
}

.checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: var(--accent-gold);
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke: var(--accent-gold-light);
  stroke-width: 3;
  animation: stroke 0.4s cubic-bezier(0.65, 0, 0.45, 1) 0.5s forwards;
}

@keyframes stroke {
  100% { stroke-dashoffset: 0; }
}

.success-heading {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.success-heading em {
  font-style: italic;
  color: var(--accent-gold-light);
}

.success-lead {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto 24px auto;
}

/* Reservation Ticket */
.reservation-ticket {
  background: var(--bg-input);
  border: 1px solid var(--border-accent);
  border-radius: 6px;
  padding: 22px;
  text-align: left;
  margin-bottom: 0;
}

.ticket-row.header-ticket {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ticket-id {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  color: var(--accent-gold-light);
}

.ticket-status-pill {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--emerald-bg);
  color: var(--emerald-text);
  border: 1px solid var(--emerald-border);
  padding: 3px 8px;
  border-radius: 20px;
}

.ticket-divider {
  width: 100%;
  height: 1px;
  border-bottom: 1px dashed var(--border-medium);
  margin: 14px 0;
}

.ticket-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ticket-lbl {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.ticket-val {
  font-size: 0.82rem;
  color: var(--text-primary);
  font-weight: 500;
}

.ticket-val.gold {
  color: var(--accent-gold);
  font-family: var(--font-serif);
  font-size: 1.25rem;
}

.ticket-footer-text {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.success-actions-row {
  display: flex;
  gap: 12px;
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border-medium);
  color: var(--text-muted);
  padding: 12px 18px;
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--transition-fast);
}

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

/* ================= ROADMAP (HOUSE II - SPRING 2027) ================= */
.roadmap-section {
  padding: 110px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.roadmap-card-refined {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 50px;
  align-items: center;
  background: var(--bg-card-highlight);
  border: 1px solid var(--border-accent);
  border-radius: 6px;
  padding: 48px;
  box-shadow: var(--shadow-subtle);
}

.roadmap-pill {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-gold);
  background: rgba(199, 169, 130, 0.12);
  border: 1px solid rgba(199, 169, 130, 0.3);
  padding: 6px 14px;
  border-radius: 3px;
  margin-bottom: 18px;
}

.roadmap-heading {
  font-family: var(--font-serif);
  font-size: 2.7rem;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 16px;
}

.roadmap-heading em {
  font-style: italic;
  color: var(--accent-gold-light);
}

.roadmap-text {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}

.roadmap-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.roadmap-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.84rem;
  color: var(--text-primary);
}

.list-bullet {
  width: 6px;
  height: 6px;
  background: var(--accent-gold);
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}

.waitlist-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 32px;
  border-radius: 4px;
}

.waitlist-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.waitlist-subtitle {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
}

.clean-form .form-group {
  margin-bottom: 14px;
}

.clean-input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-medium);
  border-radius: 4px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.84rem;
  transition: var(--transition-fast);
}

.clean-input:focus {
  outline: none;
  border-color: var(--accent-gold);
  background: var(--bg-input-focus);
  box-shadow: var(--shadow-glow);
}

.clean-input::placeholder {
  color: var(--text-muted);
}

.form-success-message {
  display: none;
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--emerald-bg);
  border: 1px solid var(--emerald-border);
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--emerald-text);
}

/* ================= RULES & LOCATION ================= */
.rules-section {
  padding: 110px 0;
  background: var(--bg-dark);
  border-top: 1px solid var(--border-subtle);
}

.rules-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
}

.rules-card,
.location-card,
.rates-column,
.booking-panel,
.roadmap-info-col,
.roadmap-form-col {
  min-width: 0;
}

.rules-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 30px;
}

.rule-row {
  display: flex;
  gap: 16px;
}

.rule-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background: rgba(199, 169, 130, 0.1);
  border: 1px solid rgba(199, 169, 130, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.rule-row-body h4 {
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  margin-bottom: 4px;
  font-weight: 500;
}

.rule-row-body p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.location-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 36px;
  box-shadow: var(--shadow-subtle);
}

.location-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 16px 0 24px 0;
}

.location-details-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 20px 0;
  margin-bottom: 24px;
}

.loc-point {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  gap: 12px;
}

.loc-label {
  color: var(--text-muted);
}

.loc-val {
  color: var(--text-primary);
  text-align: right;
  font-weight: 500;
}

.link-gold {
  color: var(--accent-gold);
  text-decoration: underline;
}

/* Interactive Yandex Map Route Widget (Styled) */
.yandex-map-wrapper {
  margin-bottom: 24px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-accent);
  background: var(--bg-surface);
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
}

.yandex-map-wrapper:hover {
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-deep);
}

.map-badge-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-subtle);
}

.map-route-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  color: var(--text-primary);
  min-width: 0;
  flex: 1;
}

.map-badge-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.map-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.9);
  animation: pulseGreen 2s infinite ease-in-out;
  flex-shrink: 0;
}

@keyframes pulseGreen {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.btn-geo-detect {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(200, 162, 104, 0.1);
  border: 1px solid rgba(200, 162, 104, 0.35);
  border-radius: 14px;
  padding: 4px 10px;
  font-family: var(--font-display);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-gold-light);
  cursor: pointer;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.btn-geo-detect:hover {
  background: rgba(200, 162, 104, 0.2);
  color: var(--text-primary);
  border-color: var(--accent-gold);
}

.btn-geo-detect.active {
  background: var(--emerald-bg);
  border-color: var(--emerald-border);
  color: var(--emerald-text);
}

.map-frame-box {
  position: relative;
  isolation: isolate;
  z-index: 1;
  width: 100%;
  height: 290px;
  background: #141715;
  overflow: hidden;
}

.yandex-map-iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
  filter: var(--map-filter);
  transition: filter 0.4s ease;
}

.yandex-map-iframe:hover {
  filter: var(--map-filter-hover);
}

.stylized-map-link {
  display: block;
  width: 100%;
  height: 100%;
}

.stylized-map-svg {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 0.5s var(--ease-out-expo);
}

.stylized-map-link:hover .stylized-map-svg {
  transform: scale(1.02);
}

.map-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 42px rgba(10, 14, 12, 0.65);
  border-bottom: 1px solid rgba(199, 169, 130, 0.22);
}

.map-coords-tag {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  white-space: nowrap;
}

.map-dest-pin-overlay {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(18, 22, 19, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(199, 169, 130, 0.45);
  border-radius: 20px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  color: #e8d5b7;
  pointer-events: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.dest-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 0 4px rgba(199, 169, 130, 0.25);
  flex-shrink: 0;
}

.dest-text {
  font-weight: 500;
}

.map-quick-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.map-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 0.76rem;
  color: var(--accent-gold-light);
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: var(--transition-fast);
  padding: 8px 12px;
  border-radius: 4px;
  background: rgba(200, 162, 104, 0.08);
  border: 1px solid rgba(200, 162, 104, 0.22);
  flex: 1 1 auto;
  min-width: 0;
  text-align: center;
}

.map-nav-btn:hover {
  color: var(--text-primary);
  background: rgba(200, 162, 104, 0.18);
  border-color: var(--accent-gold);
}

.map-coords-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  border: 1px dashed var(--border-medium);
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 0.74rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
  font-family: var(--font-sans);
  flex: 1 1 auto;
  min-width: 0;
}

.map-coords-btn:hover {
  border-color: var(--accent-gold);
  color: var(--text-primary);
}

.location-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

.location-cta-row > a {
  min-width: 0;
  text-align: center;
  justify-content: center;
}

.location-cta-row .open-booking-btn {
  flex: 1 1 100%;
}

.location-cta-row .btn-secondary {
  flex: 1 1 0;
  min-width: 110px;
}

/* ================= FOOTER ================= */
.site-footer {
  padding: 50px 0;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-footer);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  letter-spacing: 0.18em;
  color: var(--text-primary);
}

.footer-tagline {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.footer-link {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--accent-gold);
}

.footer-link:hover {
  text-decoration: underline;
}

.footer-copy {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ================= MUTED FLOATING AMBIENT SOUND WIDGET ================= */
.ambient-sound-widget {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 900;
}

.sound-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 20px;
  background: var(--bg-sound-pill);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-medium);
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  opacity: 0.88;
  box-shadow: var(--shadow-subtle);
  transition: opacity 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.sound-pill-btn:hover {
  opacity: 0.9;
  border-color: var(--accent-gold);
  color: var(--text-primary);
}

.sound-pill-btn.active {
  opacity: 0.85;
  border-color: var(--accent-gold);
  color: var(--accent-gold-light);
}

.sound-wave-icon {
  flex-shrink: 0;
}

/* ================= BESPOKE ANIMATED POPUP MODALS ================= */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-modal-backdrop);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-window {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: var(--bg-modal-window);
  border: 1px solid var(--border-accent);
  border-radius: 8px;
  padding: 42px;
  box-shadow: var(--shadow-deep);
  opacity: 0;
  transform: translateY(32px) scale(0.94);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active .modal-window {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 22px;
  right: 22px;
  color: var(--text-muted);
  padding: 6px;
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: var(--accent-gold);
  transform: rotate(90deg);
}

.modal-heading {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  letter-spacing: 0.01em;
  color: var(--text-primary);
  margin: 6px 0 10px 0;
}

.modal-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 22px;
}

.booking-summary-preview {
  background: var(--color-linen-100);
  border: 1px solid var(--border-subtle);
  border-left: 2px solid var(--accent-gold);
  border-radius: 4px;
  padding: 16px 18px;
  font-size: 0.82rem;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 26px;
  white-space: pre-line;
}

.messenger-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.messenger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--transition-fast);
}

.wa-btn {
  background: #25d366;
  color: #0b0f0d;
}

.wa-btn:hover {
  background: #20bc59;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.25);
}

.tg-btn {
  background: #229ed9;
  color: #ffffff;
}

.tg-btn:hover {
  background: #1c8cc1;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(34, 158, 217, 0.25);
}

.ig-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
}

.ig-btn:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  background: rgba(199, 169, 130, 0.08);
}

/* ================= RESPONSIVE DESIGN ================= */
@media (max-width: 1180px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
}

@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.4rem;
  }
  .roadmap-card-refined,
  .pricing-layout,
  .rules-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 112px 0 84px 0;
  }
  :root:not([data-theme="dark"]) .hero-overlay {
    background: linear-gradient(180deg, rgba(235, 229, 217, 0.72) 0%, rgba(235, 229, 217, 0.80) 56%, rgba(235, 229, 217, 0.65) 82%, var(--bg-dark) 100%);
  }
  .hero-meta-strip {
    flex-wrap: wrap;
  }
  .hero-title {
    font-size: 2.6rem;
  }
  .section-title {
    font-size: 2.25rem;
  }
  .hud-coords {
    display: none;
  }
  .flythrough-stage {
    min-height: 360px;
    aspect-ratio: 4 / 3;
  }
  .hud-bottom {
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
  }
  .scene-buttons-row {
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
  }
  .scene-btn {
    font-size: 0.68rem;
    padding: 6px 9px;
    white-space: nowrap;
  }
  .flythrough-caption-panel {
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    padding: 20px;
    min-height: 400px;
  }
  .caption-title {
    min-height: 72px;
  }
  .caption-text {
    min-height: 120px;
  }
  .caption-action {
    flex-direction: column;
    width: 100%;
  }
  .caption-action .btn-primary,
  .caption-action .axonometry-btn {
    width: 100%;
    justify-content: center;
  }
  .calc-dates-row {
    grid-template-columns: 1fr;
  }
  .roadmap-card-refined {
    padding: 28px 22px;
  }
  .booking-panel {
    padding: 24px 18px;
  }
  .location-card {
    padding: 26px 20px;
  }
  .modal-window {
    padding: 28px 22px;
  }
  .ambient-sound-widget {
    display: none;
  }
  .site-footer {
    padding-bottom: 92px;
  }
  .location-cta-row {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .header-actions .open-booking-btn {
    display: none;
  }
  .contact-inputs-grid,
  .ticket-grid {
    grid-template-columns: 1fr;
  }
  .ticket-row.header-ticket {
    flex-wrap: wrap;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 18px;
  }
  .logo-title {
    font-size: 1.28rem;
    letter-spacing: 0.14em;
  }
  .logo-subtitle {
    font-size: 0.54rem;
    letter-spacing: 0.18em;
  }
  .hero-section {
    padding: 98px 0 78px 0;
  }
  .hero-title {
    font-size: 2.05rem;
  }
  .hero-description {
    font-size: 0.92rem;
  }
  .hero-meta-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .meta-divider {
    display: none;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-secondary {
    width: 100%;
  }
  .summary-cost {
    font-size: 2rem;
  }
  .hud-top {
    top: 10px;
    left: 10px;
    right: 10px;
  }
  .hud-pill {
    font-size: 0.62rem;
    padding: 5px 10px;
    max-width: 100%;
  }
  .hud-bottom {
    bottom: 10px;
    left: 10px;
    right: 10px;
  }
  .hotspot-tooltip-card {
    right: 10px;
    left: 10px;
    width: auto;
    bottom: 58px;
  }
  .map-badge-bar {
    flex-wrap: wrap;
    gap: 8px;
  }
  .channel-chips-row {
    flex-wrap: wrap;
  }
  .channel-chip {
    min-width: calc(50% - 4px);
  }
}

/* ===================================================================
   NEW SECTIONS: AMENITIES, REVIEWS & MOBILE STICKY BAR
   =================================================================== */

/* --- 1. Amenities & Inventory Checklist --- */
.amenities-section {
  padding: var(--section-padding);
  background: var(--bg-dark);
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 24px;
}

.amenity-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 28px 22px;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
}

.amenity-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-3px);
}

.amenity-icon {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: rgba(200, 162, 104, 0.08);
  border: 1px solid rgba(200, 162, 104, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  margin-bottom: 18px;
}

.amenity-title {
  font-family: var(--font-display);
  font-size: 0.94rem;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  margin-bottom: 14px;
  font-weight: 500;
}

.amenity-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.amenity-list li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  position: relative;
  padding-left: 14px;
}

.amenity-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--accent-gold);
}

.amenities-guarantee-bar {
  margin-top: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: 6px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-subtle);
}

.guarantee-icon {
  color: var(--emerald-text);
  flex-shrink: 0;
}

.guarantee-text {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.guarantee-text strong {
  color: var(--text-primary);
}

/* --- 2. Guest Reviews Section --- */
.reviews-section {
  padding: var(--section-padding);
  background: var(--bg-reviews-grad);
  border-top: 1px solid var(--border-subtle);
}

.reviews-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(200, 162, 104, 0.08);
  border: 1px solid rgba(200, 162, 104, 0.25);
  border-radius: 30px;
  padding: 6px 16px;
  margin-top: 14px;
  font-size: 0.76rem;
  flex-wrap: wrap;
  justify-content: center;
}

.rating-stars {
  color: var(--accent-gold);
  letter-spacing: 0.15em;
  font-size: 0.85rem;
}

.rating-val {
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-display);
}

.rating-count {
  color: var(--text-muted);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
}

.review-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-3px);
}

.review-card.highlighted {
  border-color: var(--border-accent);
  background: var(--bg-card-highlight);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.reviewer-name {
  display: block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: var(--text-primary);
  font-weight: 500;
}

.review-date {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.review-stars {
  color: var(--accent-gold);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}

.review-quote {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 0;
  flex-grow: 1;
}

/* --- 3. Sticky Mobile Action Bar --- */
.sticky-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 990;
  background: var(--bg-sticky-bar);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border-subtle);
  box-shadow: 0 -8px 24px rgba(24, 34, 28, 0.12);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)) 16px;
  align-items: center;
  justify-content: space-between;
  transform: translateY(110%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sticky-mobile-bar.is-visible {
  transform: translateY(0);
}

.sticky-bar-info {
  display: flex;
  flex-direction: column;
}

.sticky-bar-brand {
  font-family: var(--font-display);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  font-weight: 500;
}

.sticky-bar-price {
  font-size: 0.7rem;
  color: var(--accent-gold);
}

.sticky-bar-btn {
  padding: 8px 18px;
  font-size: 0.72rem;
}

/* Responsive adjustments for new sections */
@media (max-width: 1024px) {
  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .sticky-mobile-bar {
    display: flex;
  }
  .amenities-grid {
    grid-template-columns: 1fr;
  }
  .amenities-guarantee-bar {
    flex-direction: column;
    text-align: center;
  }
}

/* ================= HERO SPLIT TEXT MASKING ================= */
.hero-title-line {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  will-change: transform, opacity;
}

/* ================= 3D AXONOMETRY MODAL & STRIP ================= */
.axonometry-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: 0.8rem;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--border-accent);
  background: rgba(199, 169, 130, 0.08);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  transition: transform var(--duration-fast) ease, background-color var(--duration-fast) ease, border-color var(--duration-fast) ease;
}

.axonometry-btn:hover {
  background: rgba(199, 169, 130, 0.18);
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

.axonometry-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out-expo), visibility 0.35s;
}

.axonometry-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.axonometry-modal .modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: var(--bg-modal-backdrop);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.axonometry-modal.active .modal-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.axonometry-modal .modal-dialog {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 980px;
  background: var(--bg-surface);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-deep);
  overflow: hidden;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.4s var(--ease-out-expo);
}

.axonometry-modal.active .modal-dialog {
  transform: scale(1) translateY(0);
}

.modal-header {
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

.modal-tag {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-gold);
  display: block;
  margin-bottom: 4px;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--text-primary);
}

.modal-close-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: var(--bg-input);
  color: var(--text-primary);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--duration-fast) ease, border-color var(--duration-fast) ease, transform var(--duration-fast) ease;
}

.modal-close-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-gold);
  transform: rotate(90deg);
}

.modal-body {
  padding: 24px 28px;
  max-height: 80vh;
  overflow-y: auto;
}

.axonometry-media-wrap {
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-stage);
  border: 1px solid var(--border-subtle);
  margin-bottom: 24px;
}

.axonometry-media-wrap img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.axonometry-legend {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.legend-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-gold);
  background: rgba(199, 169, 130, 0.12);
  padding: 4px 8px;
  border-radius: var(--radius-xs);
}

@media (max-width: 680px) {
  .axonometry-legend {
    grid-template-columns: 1fr;
  }
}

/* ================= FLYTHROUGH VIDEO FRAMING ================= */
.flythrough-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #141715;
}

/* ================= REAL PHOTO GALLERY SECTION ================= */
.gallery-section {
  padding: 96px 0;
  position: relative;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}

.gallery-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  padding: 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  cursor: pointer;
  text-align: left;
  transition: transform 0.35s var(--ease-out-expo), border-color 0.3s ease, box-shadow 0.35s ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-soft);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s var(--ease-out-expo);
}

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

.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 36px 14px 14px;
  background: linear-gradient(180deg, rgba(16, 19, 17, 0) 0%, rgba(16, 19, 17, 0.82) 100%);
  color: #f6f3ee;
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.3;
}

/* ================= GALLERY LIGHTBOX MODAL ================= */
.gallery-modal-dialog {
  max-width: 900px;
}

.gallery-modal-body {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #101311;
  padding: 16px 56px;
  min-height: 360px;
  max-height: 78vh;
}

.gallery-modal-body img {
  max-width: 100%;
  max-height: 72vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-xs);
  display: block;
}

.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(20, 23, 21, 0.72);
  color: #f6f3ee;
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  z-index: 5;
}

.gallery-nav-btn:hover {
  background: rgba(165, 118, 56, 0.9);
  border-color: var(--accent-gold);
}

.gallery-nav-btn.prev { left: 12px; }
.gallery-nav-btn.next { right: 12px; }

@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 600px) {
  .gallery-section {
    padding: 64px 0;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 28px;
  }
  .gallery-caption {
    font-size: 0.75rem;
    padding: 28px 10px 10px;
  }
  .gallery-modal-body {
    padding: 12px 44px;
    max-height: 74vh;
  }
  .gallery-nav-btn {
    width: 34px;
    height: 34px;
    font-size: 1.25rem;
  }
  .gallery-nav-btn.prev { left: 6px; }
  .gallery-nav-btn.next { right: 6px; }
}

/* ================= ACCESSIBILITY: REDUCED MOTION SAFEGUARD ================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
}
