/* ==========================================================================
   JOHN'S AVENUE HOME STAY â€” THE EMERALD CHALET
   Devikulam, Munnar, Kerala
   Highland Heritage Luxury Design System
   Color Palette:
     Estate Forest Green : #2D5A3C (Logo Roof / Primary CTA)
     Slate Charcoal      : #26292B (Logo Window / Typography / Dark Themes)
     Aged Teak / Walnut  : #6E472B (Chalet Wood / Accent)
     Highland Mist       : #F7F5F0 (Background Canvas)
     Brushed Brass       : #C5A059 (Accent Shimmer / Trim)
   ========================================================================== */

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

:root {
  /* Core Color System */
  --color-primary: #2D5A3C;          /* Estate Forest Green */
  --color-primary-dark: #1E3E29;     /* Deep Highland Pine */
  --color-primary-light: #3D7650;    /* Moss Highlight */
  --color-primary-glow: rgba(45, 90, 60, 0.28);
  --color-primary-soft: rgba(45, 90, 60, 0.08);

  --color-charcoal: #26292B;         /* Slate Charcoal */
  --color-charcoal-deep: #161819;    /* Alpine Night Black */
  --color-charcoal-light: #3D4245;   /* Slate Medium */
  --color-charcoal-muted: #6B7276;   /* Body Copy Muted */

  --color-teak: #6E472B;             /* Aged Teak / Walnut */
  --color-teak-light: #8E5C38;       /* Warm Amber Wood */
  --color-teak-dark: #4A2F1B;        /* Deep Walnut */
  --color-teak-soft: rgba(110, 71, 43, 0.08);

  --color-mist: #F7F5F0;             /* Highland Mist Base */
  --color-mist-light: #FCFAF7;       /* Silk Pearl */
  --color-mist-pure: #FFFFFF;
  --color-white: var(--color-mist-pure);
  --color-mist-dark: #E6E1D4;        /* Highland Fog Border */

  --color-brass: #C5A059;            /* Brushed Brass Accent */
  --color-brass-light: #E2C485;      /* Polished Gold */
  --color-brass-dark: #987737;       /* Antique Bronze */
  --color-brass-glow: rgba(197, 160, 89, 0.35);
  --color-brass-border: rgba(197, 160, 89, 0.32);

  /* Background Gradient Themes */
  --gradient-mist-ambient:
    radial-gradient(circle at 10% 15%, rgba(45, 90, 60, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 90% 45%, rgba(197, 160, 89, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 50% 85%, rgba(110, 71, 43, 0.06) 0%, transparent 40%),
    linear-gradient(180deg, #FAF8F4 0%, #F5F2EB 50%, #ECE6DA 100%);

  --gradient-dark-chalet:
    radial-gradient(circle at 85% 15%, rgba(45, 90, 60, 0.32) 0%, transparent 55%),
    radial-gradient(circle at 15% 85%, rgba(197, 160, 89, 0.16) 0%, transparent 50%),
    linear-gradient(135deg, #171A18 0%, #222628 50%, #151817 100%);

  --gradient-forest-rich: linear-gradient(135deg, #2D5A3C 0%, #1E3E29 60%, #152B1D 100%);
  --gradient-brass: linear-gradient(135deg, #E2C485 0%, #C5A059 50%, #9F7E3B 100%);
  --gradient-teak: linear-gradient(135deg, #8E5C38 0%, #6E472B 60%, #4A2F1B 100%);
  --gradient-card-glass: linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 245, 240, 0.88) 100%);
  --gradient-card-dark: linear-gradient(145deg, rgba(38, 41, 43, 0.95) 0%, rgba(22, 24, 25, 0.98) 100%);

  /* Typography */
  --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-heading: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Elevations & Shadows */
  --shadow-sm: 0 4px 14px rgba(22, 24, 25, 0.05);
  --shadow-md: 0 12px 32px rgba(22, 24, 25, 0.08);
  --shadow-lg: 0 24px 54px rgba(22, 24, 25, 0.12);
  --shadow-luxury: 0 30px 80px rgba(16, 20, 18, 0.22);
  --shadow-glow-brass: 0 0 30px rgba(197, 160, 89, 0.3);
  --shadow-glow-forest: 0 10px 30px rgba(45, 90, 60, 0.35);

  /* Transitions & Radii */
  --ease-luxury: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-smooth: all 0.4s var(--ease-luxury);
  --transition-fast: all 0.2s ease-in-out;

  --container-max: 1280px;
  --site-header-sticky-top: 0px;
  --site-header-height: 5.25rem;
  --viewport-chrome: 9rem;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --border-radius-sm: var(--radius-sm);
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 9999px;
}

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

/* Responsive breakpoint contract: 480 phone | 768 mobile nav | 900 V2 hero/story | 1024 legacy booking */
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-mist);
  color: var(--color-charcoal);
  line-height: 1.7;
  font-size: 1.025rem;
  overflow-x: hidden;
  padding-bottom: 0;
  position: relative;
}

/* Hardware-Accelerated Ambient Gradient Layer (Eliminates Scroll Repaint Lag) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--color-mist);
  pointer-events: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #EAE6DC;
}
::-webkit-scrollbar-thumb {
  background: var(--color-primary-light);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary-dark);
}

::selection {
  background-color: var(--color-primary);
  color: #FFFFFF;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-charcoal);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.5rem, 5.2vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
h3 { font-size: clamp(1.4rem, 2.3vw, 2rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.05rem; }

p {
  color: var(--color-charcoal-light);
  margin-bottom: 1.15rem;
  font-size: 1.025rem;
}

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

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

video,
svg,
iframe {
  max-width: 100%;
}

input,
select,
textarea,
button {
  max-width: 100%;
}

/* ==========================================================================
   Layout Containers & Section Utilities
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.section-py {
  padding-top: clamp(3.5rem, 8vh, 6.5rem);
  padding-bottom: clamp(3.5rem, 8vh, 6.5rem);
  position: relative;
}

.bg-mist {
  background: var(--gradient-mist-ambient);
}

.bg-white {
  background: #FFFFFF;
  background-image: linear-gradient(180deg, #FFFFFF 0%, #FAF8F4 100%);
}

.bg-gradient-mist {
  background: var(--gradient-mist-ambient);
}

.bg-gradient-chalet {
  background: var(--gradient-dark-chalet);
  color: var(--color-mist);
  position: relative;
}

.bg-gradient-forest {
  background: var(--gradient-forest-rich);
  color: #FFFFFF;
}

/* ==========================================================================
   Luxury Architectural Motifs (The A-Frame & Brass Accents)
   ========================================================================== */
.aframe-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-brass-dark);
  background: rgba(197, 160, 89, 0.12);
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-brass-border);
  box-shadow: 0 2px 10px rgba(197, 160, 89, 0.12);
  margin-bottom: 1.15rem;
}

.aframe-badge svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.brass-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin: 1.5rem auto 2.25rem;
}

.brass-divider::before,
.brass-divider::after {
  content: '';
  height: 1px;
  width: 90px;
  background: linear-gradient(90deg, transparent, var(--color-brass), transparent);
}

.brass-divider-icon {
  color: var(--color-brass);
  font-size: 0.95rem;
  display: inline-block;
  transform: rotate(45deg);
  border: 1px solid var(--color-brass);
  padding: 2px 6px;
  background: rgba(197, 160, 89, 0.08);
}

.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 4rem;
  position: relative;
  z-index: 2;
}

.section-header h2 {
  margin-top: 0.5rem;
  margin-bottom: 0.85rem;
  color: var(--color-charcoal);
}

.section-header p {
  font-size: 1.125rem;
  color: var(--color-charcoal-muted);
  line-height: 1.7;
}

/* Framing the View: Architectural Window Frames */
.frame-the-view {
  position: relative;
  border: 2px solid var(--color-charcoal);
  padding: 10px;
  background-color: var(--color-charcoal);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-luxury);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.frame-the-view::before {
  content: '';
  position: absolute;
  top: 6px; left: 6px; right: 6px; bottom: 6px;
  border: 1px solid rgba(197, 160, 89, 0.4);
  pointer-events: none;
  z-index: 2;
  transition: border-color 0.4s ease;
}

.frame-the-view:hover::before {
  border-color: var(--color-brass-light);
}

.frame-the-view img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-luxury);
}

.frame-the-view:hover img {
  transform: scale(1.04);
}

/* ==========================================================================
   World-Class Button System
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.95rem 2.15rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius-xs);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition-smooth);
  text-transform: capitalize;
  position: relative;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-forest-rich);
  color: #FFFFFF;
  box-shadow: 0 8px 24px var(--color-primary-glow);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1E3E29 0%, #152C1D 100%);
  box-shadow: 0 12px 32px rgba(45, 90, 60, 0.45);
  color: #FFFFFF;
}

.btn-teak {
  background: var(--gradient-teak);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(110, 71, 43, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-teak:hover {
  background: linear-gradient(135deg, var(--color-teak-light) 0%, var(--color-teak) 100%);
  box-shadow: 0 12px 28px rgba(110, 71, 43, 0.35);
  color: #FFFFFF;
}

.btn-brass {
  background: var(--gradient-brass);
  color: var(--color-charcoal-deep);
  font-weight: 700;
  box-shadow: var(--shadow-glow-brass);
}

.btn-brass:hover {
  filter: brightness(1.08);
  box-shadow: 0 10px 28px rgba(197, 160, 89, 0.45);
}

.btn-outline-charcoal {
  background-color: transparent;
  border: 1.5px solid var(--color-charcoal);
  color: var(--color-charcoal);
}

.btn-outline-charcoal:hover {
  background-color: var(--color-charcoal);
  color: var(--color-mist);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  color: #FFFFFF;
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background-color: #FFFFFF;
  color: var(--color-charcoal-deep);
}

.btn-whatsapp-direct {
  background: linear-gradient(135deg, #25D366 0%, #1DA851 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp-direct:hover {
  background: linear-gradient(135deg, #1DA851 0%, #168840 100%);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
  color: #FFFFFF;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.top-bar {
  position: sticky;
  top: 0;
  z-index: 1001;
  background: linear-gradient(90deg, #161819 0%, #24282A 50%, #161819 100%);
  color: var(--color-mist);
  font-size: 0.825rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(197, 160, 89, 0.28);
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #D6D2CA;
}

.top-bar-item svg {
  color: var(--color-brass-light);
  flex-shrink: 0;
}

.top-bar-item a {
  color: #EDE8DE;
}

.top-bar-item a:hover {
  color: var(--color-brass-light);
}

.top-bar-badge {
  color: var(--color-brass-light);
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.top-bar-phones {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

/* Small laptop / narrow desktop: stack top bar (avoid badge vs phones misalignment) */
@media (max-width: 1100px) {
  .top-bar-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .top-bar-info {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0.65rem;
  }

  .top-bar-item {
    justify-content: center;
    text-align: center;
    max-width: 100%;
  }

  .top-bar-item span,
  .top-bar-item a {
    overflow-wrap: anywhere;
  }

  .top-bar-phones {
    align-items: center;
  }

  .top-bar-badge {
    width: 100%;
    text-align: center;
  }
}

/* Sticky Frosted Header ? stays below top bar; top offset set in main.js */
.site-header {
  position: sticky;
  top: var(--site-header-sticky-top, 0px);
  z-index: 1000;
  background: rgba(247, 245, 240, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(38, 41, 43, 0.09);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  transform: translateZ(0);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-bottom-color: rgba(197, 160, 89, 0.35);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 2rem;
  max-width: var(--container-max);
  margin: 0 auto;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  text-decoration: none;
}

.brand-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.12));
  flex-shrink: 0;
}

.preloader-logo-wrap {
  margin: 0 auto 1.5rem;
}

.preloader-logo-wrap--image {
  width: auto;
  height: auto;
}

.preloader-logo-panel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 1.35rem;
  background: rgba(247, 245, 240, 0.96);
  border-radius: 18px;
  border: 1px solid rgba(197, 160, 89, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.preloader-logo-img {
  display: block;
  height: 96px;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.12));
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--color-charcoal);
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.brand-tagline {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-teak);
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.935rem;
  font-weight: 600;
  color: var(--color-charcoal);
  position: relative;
  padding: 0.4rem 0;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-brass);
  transition: width 0.35s var(--ease-luxury);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--color-charcoal);
}

.menu-toggle svg {
  width: 28px;
  height: 28px;
}

/* Mobile Drawer */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 86%;
  max-width: 380px;
  height: 100vh;
  background: var(--color-mist);
  background-image: var(--gradient-mist-ambient);
  box-shadow: -15px 0 45px rgba(0,0,0,0.35);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  padding: 2.5rem 2rem;
  transition: right 0.45s var(--ease-luxury);
  overflow-y: auto;
}

.mobile-nav.active {
  right: 0;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(22, 26, 24, 0.72);
  backdrop-filter: blur(8px);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

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

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(38, 41, 43, 0.12);
  padding-bottom: 1.25rem;
}

.mobile-close-btn {
  background: none;
  border: none;
  font-size: 2.25rem;
  cursor: pointer;
  color: var(--color-charcoal);
  line-height: 1;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--color-charcoal);
  border-bottom: 1px solid rgba(38, 41, 43, 0.06);
  padding-bottom: 0.6rem;
  transition: var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--color-primary);
  padding-left: 0.65rem;
}

/* ==========================================================================
   Hero Section Layout (The Emerald Chalet Experience)
   ========================================================================== */
.hero-chalet {
  position: relative;
  min-height: max(22rem, calc(100svh - var(--viewport-chrome, 9rem)));
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-charcoal-deep);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform-origin: center 40%;
  animation: heroZoom 22s ease-out forwards;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-background img {
    animation: none;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22, 24, 25, 0.78) 0%, rgba(22, 24, 25, 0.22) 42%, rgba(22, 24, 25, 0.08) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 960px;
  padding: 5.5rem 1.5rem 3.5rem;
  color: #FFFFFF;
}

.hero-pretitle {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--color-brass-light);
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin-bottom: 1.5rem;
  background: rgba(22, 24, 25, 0.7);
  backdrop-filter: blur(14px);
  padding: 0.5rem 1.45rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-brass-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

.hero-title {
  color: #FFFFFF;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 1.35rem;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.75);
}

.hero-title span {
  color: var(--color-brass-light);
  font-style: italic;
  font-weight: 400;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: #EDE8DF;
  max-width: 780px;
  margin: 0 auto 2.75rem;
  font-weight: 300;
  line-height: 1.7;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
}

/* Floating Glassmorphic Booking Capsule */
.booking-engine-wrapper {
  position: relative;
  z-index: 10;
  margin-top: -4rem;
  padding-bottom: 2.5rem;
}

.glass-booking-bar {
  background: rgba(255, 255, 255, 0.95);
  background-image: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(247,245,240,0.92) 100%);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--color-brass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-luxury);
  padding: 2rem 2.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
}

.booking-field {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.booking-field label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-charcoal-muted);
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.booking-field label svg {
  width: 14px;
  height: 14px;
  color: var(--color-brass);
}

.booking-field input,
.booking-field select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(38, 41, 43, 0.18);
  border-radius: var(--radius-sm);
  background: var(--color-mist-light);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-charcoal);
  font-weight: 600;
  transition: var(--transition-fast);
}

.booking-field input:focus,
.booking-field select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px var(--color-primary);
  background: #FFFFFF;
}

.booking-action {
  align-self: flex-end;
}

.booking-action .btn {
  height: 52px;
  white-space: nowrap;
}

/* ==========================================================================
   Key Perks Ribbon (The 6 Amenities)
   ========================================================================== */
.perks-ribbon {
  background: #FFFFFF;
  background-image: linear-gradient(180deg, #FFFFFF 0%, #FAF8F4 100%);
  border-top: 1px solid rgba(38, 41, 43, 0.08);
  border-bottom: 1px solid rgba(38, 41, 43, 0.08);
  padding: 2.75rem 0;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 3;
}

.perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 1.75rem;
  align-items: center;
}

.perk-item {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding: 0.5rem;
}

.perk-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--color-brass);
}

.perk-icon svg {
  width: 24px;
  height: 24px;
}

.perk-text h4 {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: 0.2rem;
  line-height: 1.25;
}

.perk-text p {
  font-size: 0.825rem;
  color: var(--color-charcoal-muted);
  margin-bottom: 0;
}

/* ==========================================================================
   Story & Real Room Architecture Section
   ========================================================================== */
.story-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4.5rem;
  align-items: center;
}

.story-grid.reversed {
  grid-template-columns: 0.95fr 1.05fr;
}

/* ==========================================================================
   Amenities & Services Luxury Cards (Photo-Free)
   ========================================================================== */
.amenities-luxury-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.25rem;
}

.amenity-card-luxury {
  background: #FFFFFF;
  background-image: linear-gradient(145deg, #FFFFFF 0%, #FAF8F4 100%);
  padding: 2.75rem 2.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(38, 41, 43, 0.08);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.amenity-card-luxury::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-forest-rich);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-luxury);
}

.amenity-card-luxury:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-brass-border);
}

.amenity-card-luxury:hover::before {
  transform: scaleX(1);
}

.amenity-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background: var(--color-primary-soft);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(45, 90, 60, 0.22);
  transition: var(--transition-fast);
}

.amenity-card-luxury:hover .amenity-icon-wrap {
  background: var(--gradient-forest-rich);
  color: #FFFFFF;
  box-shadow: 0 6px 18px var(--color-primary-glow);
}

.amenity-icon-wrap svg {
  width: 28px;
  height: 28px;
}

.amenity-badge-status {
  margin-top: 1.75rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(38, 41, 43, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 700;
}

/* ==========================================================================
   Framing the View Gallery & Lightbox
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.75rem;
}

.gallery-item {
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background-color: var(--color-charcoal);
  border: 5px solid var(--color-charcoal);
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}

.gallery-item::before {
  content: '';
  position: absolute;
  top: 4px; left: 4px; right: 4px; bottom: 4px;
  border: 1px solid rgba(197, 160, 89, 0.3);
  pointer-events: none;
  z-index: 2;
  transition: border-color 0.3s ease;
}

.gallery-item:hover::before {
  border-color: var(--color-brass-light);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-luxury);
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22, 24, 25, 0.92) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: #FFFFFF;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 3;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h4 {
  color: #FFFFFF;
  font-size: 1.15rem;
  margin-top: 0.25rem;
}

.gallery-overlay span {
  font-size: 0.75rem;
  color: var(--color-brass-light);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(18, 20, 19, 0.96);
  backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  padding: 2rem;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 92vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 3px solid var(--color-charcoal);
  box-shadow: 0 25px 60px rgba(0,0,0,0.85);
}

.lightbox-caption {
  color: var(--color-mist);
  margin-top: 1.25rem;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -2.85rem;
  right: 0;
  background: none;
  border: none;
  color: var(--color-mist);
  font-size: 2.25rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.lightbox-close:hover {
  color: var(--color-brass-light);
}

/* ==========================================================================
   Contact & Direct Inquiry Container
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 3.75rem;
  align-items: stretch;
}

.contact-info-card {
  background: var(--gradient-dark-chalet);
  color: var(--color-mist);
  padding: 3.25rem 2.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-luxury);
  border: 1.5px solid var(--color-brass-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.contact-info-card h3 {
  color: #FFFFFF;
  font-size: 2.2rem;
  margin-bottom: 0.35rem;
}

.contact-card-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

.contact-card-item {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
}

.contact-card-item svg {
  width: 22px;
  height: 22px;
  color: var(--color-brass-light);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.contact-card-item h5 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #A9A49B;
  margin-bottom: 0.25rem;
}

.contact-card-item a,
.contact-card-item p {
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0;
}

.contact-card-item a:hover {
  color: var(--color-brass-light);
}

.direct-call-badge {
  background: rgba(45, 90, 60, 0.45);
  border: 1px dashed var(--color-brass);
  padding: 1.35rem;
  border-radius: var(--radius-sm);
  text-align: center;
}

.direct-call-badge h5 {
  color: var(--color-brass-light);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.35rem;
}

.direct-call-badge .phone-num {
  font-size: 1.45rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.05em;
}

/* Inquiry Form Box */
.booking-form-box {
  background: #FFFFFF;
  background-image: linear-gradient(145deg, #FFFFFF 0%, #FAF8F4 100%);
  padding: 3.25rem 2.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(38, 41, 43, 0.08);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem;
  margin-bottom: 1.35rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.35rem;
}

.form-group label {
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-charcoal);
  margin-bottom: 0.45rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.85rem 1.1rem;
  border: 1px solid rgba(38, 41, 43, 0.18);
  border-radius: var(--radius-sm);
  background-color: var(--color-mist-light);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-charcoal);
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(45, 90, 60, 0.16);
}

.addon-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.35rem 0;
  padding: 1.35rem 1.5rem;
  background: var(--color-mist);
  background-image: linear-gradient(180deg, #F9F7F2 0%, #F2EEE5 100%);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(197, 160, 89, 0.25);
}

.addon-item {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.925rem;
  font-weight: 500;
}

.addon-item input[type="checkbox"] {
  accent-color: var(--color-primary);
  width: 18px;
  height: 18px;
  margin-right: 0.85rem;
}

.addon-item-label {
  display: flex;
  align-items: center;
}

.addon-cost {
  font-weight: 700;
  font-size: 0.825rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-button-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
  margin-top: 1.5rem;
}

/* ==========================================================================
   Floating WhatsApp Concierge Pill (Desktop)
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 2.25rem;
  right: 2.25rem;
  z-index: 1500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #25D366 0%, #1DA851 100%);
  color: #FFFFFF;
  padding: 0.85rem 1.45rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
  font-size: 0.925rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  transition: var(--transition-smooth);
}

.floating-whatsapp svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 18px 40px rgba(37, 211, 102, 0.6);
  color: #FFFFFF;
}

/* ==========================================================================
   Mobile Bottom Quick-Action Sticky Bar (< 768px)
   ========================================================================== */
.mobile-bottom-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-bottom-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1400;
    background: rgba(22, 24, 25, 0.96);
    backdrop-filter: blur(16px);
    border-top: 1.5px solid var(--color-brass);
    padding: 0.65rem 1rem;
    gap: 0.75rem;
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.35);
  }

  .mobile-bottom-bar .btn-mobile-call {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--gradient-teak);
    color: #FFFFFF;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.75rem 0.5rem;
    border-radius: var(--radius-xs);
    border: 1px solid rgba(255, 255, 255, 0.15);
  }

  .mobile-bottom-bar .btn-mobile-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #25D366 0%, #1DA851 100%);
    color: #FFFFFF;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.75rem 0.5rem;
    border-radius: var(--radius-xs);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  /* Add padding to body so bottom bar doesn't overlap footer */
  body {
    padding-bottom: 60px;
  }
}

/* ==========================================================================
   Site Footer
   ========================================================================== */
.site-footer {
  background: var(--gradient-dark-chalet);
  color: var(--color-mist);
  padding: 5.5rem 0 2.5rem;
  border-top: 3px solid var(--color-brass);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-brass-light), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 3.5rem;
  margin-bottom: 4.5rem;
}

.footer-brand .brand-title {
  color: #FFFFFF;
  font-size: 1.85rem;
  margin-bottom: 0.35rem;
}

.footer-brand .brand-tagline {
  color: var(--color-brass-light);
  margin-bottom: 1.35rem;
  font-size: 0.825rem;
  letter-spacing: 0.16em;
}

.footer-brand p {
  color: #B9B4AA;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.65rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--gradient-brass);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a {
  color: #B9B4AA;
  font-size: 0.925rem;
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-links a:hover {
  color: var(--color-brass-light);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
  color: #B9B4AA;
  font-size: 0.925rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-brass-light);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.footer-contact-item a {
  color: #D6D2CA;
}

.footer-contact-item a:hover {
  color: var(--color-brass-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.85rem;
  color: #8C8880;
}

.footer-bottom-links {
  display: flex;
  gap: 1.75rem;
}

.footer-bottom-links a:hover {
  color: var(--color-mist);
}

/* ==========================================================================
   Page Hero (For Subpages)
   ========================================================================== */
.page-hero {
  position: relative;
  padding: clamp(4rem, 12vh, 7.5rem) 0 clamp(3rem, 8vh, 5rem);
  min-height: max(16rem, calc(42svh - var(--viewport-chrome, 9rem) * 0.35));
  box-sizing: border-box;
  display: flex;
  align-items: center;
  background-color: var(--color-charcoal-deep);
  color: #FFFFFF;
  text-align: center;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22, 24, 25, 0.78) 0%, rgba(22, 24, 25, 0.22) 42%, rgba(22, 24, 25, 0.08) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

.page-hero h1 {
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.page-hero p {
  color: #EDE8DF;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-brass-light);
  background: rgba(22, 24, 25, 0.7);
  backdrop-filter: blur(10px);
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-brass-border);
}

.breadcrumb a {
  color: #FFFFFF;
}

.breadcrumb a:hover {
  color: var(--color-brass-light);
}

/* ==========================================================================
   Responsive Breakpoints & Mobile Polish
   ========================================================================== */
@media (max-width: 1024px) {
  .glass-booking-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .booking-action {
    grid-column: span 2;
  }
  .story-grid,
  .story-grid.reversed,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .nav-container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .nav-menu,
  .nav-actions .btn {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .top-bar-inner {
    flex-direction: column;
    align-items: center;
  }
  .top-bar-info {
    justify-content: center;
    width: 100%;
    text-align: center;
    gap: 0.75rem;
  }
  .top-bar-item {
    font-size: 0.75rem;
    justify-content: center;
    text-align: center;
    max-width: 100%;
  }
  .top-bar-item span,
  .top-bar-item a {
    overflow-wrap: anywhere;
  }
  .top-bar-phones {
    align-items: center;
  }
  .top-bar-badge {
    display: none;
  }
  .amenities-luxury-grid,
  .gallery-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .glass-booking-bar {
    grid-template-columns: 1fr;
    padding: 1.35rem;
    gap: 1.15rem;
  }
  .booking-action {
    grid-column: span 1;
  }
  .booking-engine-wrapper {
    margin-top: 1.25rem;
    padding-bottom: 1.25rem;
  }
  .hero-chalet {
    min-height: max(20rem, calc(100svh - var(--viewport-chrome, 9rem)));
  }
  .gallery-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(22, 24, 25, 0.82) 0%, transparent 55%);
    padding: 0.85rem 1rem;
  }
  .gallery-overlay h4 {
    font-size: 0.95rem;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .form-button-group {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .floating-whatsapp {
    display: none; /* Mobile bottom bar takes over for cleaner ergonomics */
  }
}

@media (max-width: 480px) {
  .section-py {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }
  .hero-title {
    font-size: 2.35rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
  .booking-form-box,
  .contact-info-card {
    padding: 2rem 1.35rem;
  }
  .amenity-card-luxury {
    padding: 2rem 1.35rem;
  }
  .hero-v2-content {
    padding-top: clamp(0.5rem, 2vh, 1.25rem);
  }
  .hero-v2-pill {
    letter-spacing: 0.12em;
  }
  .about-stats-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
}

@media (max-width: 400px) {
  .brand-tagline {
    display: none;
  }
}


/* ==========================================================================
   Homepage V2 — The Emerald Chalet
   ========================================================================== */
/* ============================================
   PREMIUM VISUAL EFFECTS — Homepage
   Supplements assets/css/style.css
============================================ */

/* Preloader curtain */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #1E3E29;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 1.2s cubic-bezier(0.77,0,0.175,1), opacity 0.6s ease;
}
#preloader.curtain-up {
  transform: translateY(-100%);
  pointer-events: none;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

/* Ken Burns zoom */
@keyframes kenBurns {
  0%   { transform: scale(1) translateZ(0); }
  50%  { transform: scale(1.1) translateZ(0); }
  100% { transform: scale(1) translateZ(0); }
}
.animate-ken-burns {
  animation: kenBurns 32s ease-in-out infinite;
  will-change: transform;
}

/* Floating mist layers */
@keyframes floatMist1 {
  0%   { transform: translate3d(-10%,0,0) scale(1.05); opacity: .28; }
  50%  { transform: translate3d(8%,-3%,0) scale(1.12); opacity: .52; }
  100% { transform: translate3d(-10%,0,0) scale(1.05); opacity: .28; }
}
@keyframes floatMist2 {
  0%   { transform: translate3d(10%,2%,0) scale(1.1); opacity: .38; }
  50%  { transform: translate3d(-8%,-2%,0) scale(1); opacity: .18; }
  100% { transform: translate3d(10%,2%,0) scale(1.1); opacity: .38; }
}
.mist-layer-1 {
  background: radial-gradient(ellipse at 50% 60%, rgba(247,245,240,0.26) 0%, rgba(247,245,240,0.05) 45%, transparent 75%);
  filter: blur(35px);
  animation: floatMist1 22s ease-in-out infinite;
  will-change: transform, opacity;
}
.mist-layer-2 {
  background: radial-gradient(ellipse at 30% 70%, rgba(255,255,255,0.2) 0%, rgba(30,62,41,0.1) 55%, transparent 80%);
  filter: blur(45px);
  animation: floatMist2 28s ease-in-out infinite;
  will-change: transform, opacity;
}

/* Scroll reveal */
.reveal-up {
  opacity: 0;
  transform: translate3d(0,40px,0);
  transition: opacity 1s cubic-bezier(0.16,1,0.3,1), transform 1s cubic-bezier(0.16,1,0.3,1);
  will-change: opacity, transform;
}
.reveal-up.is-visible {
  opacity: 1;
  transform: translate3d(0,0,0);
}

/* Image reveal on scroll */
.img-reveal-wrapper {
  overflow: hidden;
  position: relative;
}
.img-reveal-wrapper img {
  transform: scale(1.16);
  transition: transform 1.5s cubic-bezier(0.16,1,0.3,1);
  will-change: transform;
}
.img-reveal-wrapper.is-visible img {
  transform: scale(1);
}
.img-reveal-wrapper:hover img {
  transform: scale(1.06) !important;
}

/* Rotating badge */
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.spin-slow {
  animation: spinSlow 24s linear infinite;
}

/* Glass panel */
.glass-panel {
  background: rgba(30,62,41,0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(197,160,89,0.22);
}

/* Bento gallery grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 12px;
}
@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }
}
.bento-item {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.bento-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.bento-item:hover img {
  transform: scale(1.05);
}
.bento-hover {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22,24,25,0.82) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.bento-item:hover .bento-hover {
  opacity: 1;
}
.bento-hover p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-style: italic;
  color: #F7F5F0;
  margin: 0;
}

/* Homepage header — readable over dark hero vs light page sections */
.site-header.site-header--home.header-over-hero,
.site-header.site-header--home.header-over-hero.scrolled {
  background: rgba(22, 24, 25, 0.88) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  border-bottom: 1px solid rgba(197, 160, 89, 0.28) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22) !important;
}

.site-header.site-header--home.header-over-hero .brand-title {
  color: #F7F5F0;
}

.site-header.site-header--home.header-over-hero .brand-tagline {
  color: #E2C485;
}

.site-header.site-header--home.header-over-hero .nav-link {
  color: rgba(247, 245, 240, 0.92);
}

.site-header.site-header--home.header-over-hero .nav-link:hover,
.site-header.site-header--home.header-over-hero .nav-link.active {
  color: #E2C485;
}

.site-header.site-header--home.header-over-hero .menu-toggle {
  color: #F7F5F0;
}

.site-header.site-header--home.header-over-hero .brand-logo img {
  filter: brightness(1.15) drop-shadow(0 2px 10px rgba(0, 0, 0, 0.45));
}

.site-header.site-header--home.header-solid,
.site-header.site-header--home.header-solid.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  border-bottom-color: rgba(197, 160, 89, 0.35) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}

.site-header.site-header--home.header-solid .brand-title {
  color: var(--color-charcoal);
}

.site-header.site-header--home.header-solid .brand-tagline {
  color: var(--color-teak);
}

.site-header.site-header--home.header-solid .nav-link {
  color: var(--color-charcoal);
}

.site-header.site-header--home.header-solid .nav-link:hover,
.site-header.site-header--home.header-solid .nav-link.active {
  color: var(--color-primary);
}

.site-header.site-header--home.header-solid .menu-toggle {
  color: var(--color-charcoal);
}

.site-header.site-header--home.header-solid .brand-logo img {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.12));
}

/* Hero booking bar grid */
.booking-bar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 1rem;
  align-items: end;
}

.hero-v2-booking-panel {
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
}

.hero-v2-booking-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
}

.glass-booking-input {
  box-sizing: border-box;
}

/* Booking bar hero responsive */
@media (max-width: 900px) {
  .hero-v2-booking-wrap .hero-v2-booking-panel {
    padding: 1rem !important;
    overflow: hidden;
  }

  .booking-bar-grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }

  .booking-bar-grid > div {
    min-width: 0;
  }

  .booking-bar-grid .hero-v2-booking-cta {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    box-sizing: border-box;
    white-space: normal;
  }

  .glass-booking-input {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}

/* About chalet editorial grid responsive */
.story-editorial-grid {
  gap: 4rem;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(38, 41, 43, 0.1);
  border-bottom: 1px solid rgba(38, 41, 43, 0.1);
  margin-bottom: 1.75rem;
}

.host-mini-card-whatsapp {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #c5a059;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 900px) {
  .story-editorial-grid {
    grid-template-columns: 1fr !important;
  }
  .story-editorial-grid > div:first-child {
    padding-bottom: 5rem !important;
  }
}

@media (max-width: 768px) {
  .story-editorial-grid {
    gap: 2rem;
  }
  .hero-v2-content {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

/* Hero section — override existing hero styles cleanly */
.hero-v2 {
  position: relative;
  min-height: max(28rem, calc(100svh - var(--viewport-chrome, 9rem)));
  min-height: max(28rem, calc(100dvh - var(--viewport-chrome, 9rem)));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: visible;
  background: #1E3E29;
  box-sizing: border-box;
  padding: clamp(0.75rem, 2vh, 1.5rem) 0;
}
.hero-v2-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-v2-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.88;
}
.hero-v2-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(30,62,41,0.72) 0%,
    rgba(38,41,43,0.25) 40%,
    rgba(22,24,25,0.92) 100%
  );
}
.hero-v2-mist {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.hero-v2-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 2rem;
  padding-top: clamp(0.5rem, 3vh, 2.5rem);
  padding-bottom: clamp(0.75rem, 2vh, 1.5rem);
  text-align: center;
  flex: 0 1 auto;
}
.hero-v2-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 100%;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: #E2C485;
  margin-bottom: 1.5rem;
}
.hero-v2-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: #F7F5F0;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.hero-v2-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  color: rgba(247,245,240,0.85);
  max-width: 600px;
  margin: 0 auto 2rem;
  font-weight: 300;
  line-height: 1.7;
}
.hero-v2-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: clamp(1rem, 3vh, 2rem);
}
.hero-v2-ghost-btn {
  padding: 1rem 2.2rem;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 100px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  border: 1px solid rgba(197,160,89,0.5);
  color: #F7F5F0;
  text-decoration: none;
  backdrop-filter: blur(8px);
  background: rgba(30,62,41,0.45);
  transition: border-color 0.3s, background 0.3s;
}
.hero-v2-ghost-btn:hover {
  border-color: rgba(197,160,89,0.9);
  background: rgba(30,62,41,0.7);
}
.hero-v2-booking-wrap {
  position: relative;
  z-index: 3;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1rem clamp(1rem, 2.5vh, 2rem);
  flex-shrink: 0;
}

/* Short viewport hero ? tighten rhythm; content stays visible (no forced 40vh pad) */
@media (max-height: 820px) {
  .hero-v2-title {
    font-size: clamp(1.85rem, 5vw, 3rem);
    margin-bottom: 0.65rem;
  }

  .hero-v2-subtitle {
    margin-bottom: 0.75rem;
    font-size: 0.88rem;
  }

  .hero-v2-booking-panel {
    padding: 0.85rem 1rem;
  }
}

@media (max-height: 650px) {
  .hero-v2-pill {
    margin-bottom: 0.5rem;
    letter-spacing: 0.12em;
  }

  .hero-v2-title {
    font-size: clamp(1.65rem, 4.5vw, 2.35rem);
  }

  .hero-v2 .glass-booking-input {
    padding: 8px 12px;
    font-size: 0.85rem;
  }
}

/* Input/select inside dark glass booking bar */
.glass-booking-input {
  width: 100%;
  background: rgba(22,24,25,0.6);
  border: 1px solid rgba(197,160,89,0.3);
  border-radius: 10px;
  padding: 10px 14px;
  color: #F7F5F0;
  font-size: 0.9rem;
  outline: none;
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
}
.glass-booking-input:focus {
  border-color: rgba(197,160,89,0.7);
}
.glass-booking-label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #E2C485;
  margin-bottom: 6px;
}

/* About section stat */
.stat-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: #26292B;
  line-height: 1;
}
.stat-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(38,41,43,0.55);
  margin-top: 4px;
}

/* Host card inside about section */
.host-mini-card {
  background: #26292B;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 16px 40px rgba(22,24,25,0.22);
  flex-wrap: wrap;
}

/* Section eyebrow label */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: #2D5A3C;
  font-weight: 700;
  margin-bottom: 1rem;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: #C5A059;
}
