/* ==========================================================================
   BILLORA - LUXURY WILDERNESS SANCTUARY & ESTATES
   LIGHT COLOR EDITION — Architectural Limestone, Warm Ivory & Antique Gold
   ========================================================================== */

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

:root {
  /* Color Palette (Luxury Light Edition) */
  --bg-primary: #fcfbf8;
  --bg-secondary: #f4f0e8;
  --bg-elevated: #ffffff;
  --bg-glass: rgba(252, 251, 248, 0.92);
  --bg-card: #ffffff;
  --bg-contrast-dark: #0a0e0c;
  
  --text-primary: #181e19;
  --text-secondary: rgba(24, 30, 25, 0.72);
  --text-muted: rgba(24, 30, 25, 0.45);
  --text-inverse: #f5f3ed;
  
  --accent-gold: #9d7a38;
  --accent-gold-light: #b88f44;
  --accent-gold-glow: rgba(157, 122, 56, 0.2);
  --accent-forest: #1b2e23;
  
  --border-subtle: rgba(24, 30, 25, 0.08);
  --border-gold: rgba(157, 122, 56, 0.32);
  
  --shadow-card: 0 15px 40px rgba(24, 30, 25, 0.06), 0 2px 8px rgba(24, 30, 25, 0.03);
  --shadow-elevated: 0 25px 60px rgba(24, 30, 25, 0.09), 0 4px 16px rgba(24, 30, 25, 0.04);

  /* Unified 8-Step Modular Type Scale (Usability & Design System Token Scale) */
  --text-xs: clamp(0.72rem, 0.8vw, 0.75rem);   /* 11.5-12px: Overlines, badges, tags, buttons */
  --text-sm: clamp(0.82rem, 0.95vw, 0.875rem); /* 13-14px: Captions, metadata, secondary text */
  --text-base: clamp(0.95rem, 1.1vw, 1.05rem); /* 15-17px: Body copy */
  --text-lg: clamp(1.12rem, 1.25vw, 1.25rem);  /* 18-20px: Lead paragraphs, prominent callouts */
  --text-xl: clamp(1.35rem, 1.6vw, 1.55rem);   /* 21-25px: Card titles, sub-headings */
  --text-2xl: clamp(1.8rem, 2.3vw, 2.2rem);   /* 28-35px: Medium headers */
  --text-3xl: clamp(2.3rem, 4.2vw, 3.8rem);   /* 37-60px: Section titles */
  --text-display: clamp(3.6rem, 8.5vw, 8rem);  /* 58-128px: Hero giant kinetic typography */

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

  /* Transitions & Animation Easing */
  --ease-editorial: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-3d: cubic-bezier(0.12, 0.9, 0.2, 1);
}

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

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

html {
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: auto;
  overflow-x: hidden;
}

html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

/* Global Ambient 3D Particle Canvas */
#particles-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 10;
  opacity: 0.55;
}

/* Container */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 4rem);
}

.container-wide {
  width: 100%;
  max-width: 1720px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 4rem);
}

/* ==========================================================================
   3D PERSPECTIVE CONTAINERS & TYPOGRAPHY STYLES
   ========================================================================== */
.perspective-container {
  perspective: 1200px;
  perspective-origin: center center;
}

/* 3D Kinetic Split Typography */
.split-text-3d {
  perspective: 1000px;
  overflow: hidden;
  display: block;
}

.split-text-3d .char-wrap,
.split-text-3d .word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  perspective: 600px;
}

.split-text-3d .char-inner,
.split-text-3d .word-inner {
  display: inline-block;
  transform-origin: bottom center;
  will-change: transform, opacity;
}

/* Metallic Shimmering Gold Text (Light Edition) */
.gold-shimmer-text {
  background: linear-gradient(135deg, #181e19 0%, #9d7a38 40%, #c5a059 70%, #181e19 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldShimmer 7s ease infinite;
}

.hero-main-typography .gold-shimmer-text {
  background: linear-gradient(135deg, #ffffff 0%, #f7e2b0 25%, #c5a059 55%, #e5c483 80%, #ffffff 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes goldShimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.text-glow-3d {
  text-shadow: 0 4px 20px rgba(157, 122, 56, 0.15);
}

/* Section Header Typography Utility */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: clamp(0.7rem, 0.85vw, 0.8rem);
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 1.25rem;
  position: relative;
}

.section-tag::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1.5px;
  background: var(--accent-gold);
}

.section-title-giant {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 5.2rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-transform: uppercase;
  perspective: 1000px;
}

.section-title-giant em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent-gold);
  display: inline-block;
  transform-style: preserve-3d;
}

.section-body {
  font-size: clamp(0.95rem, 1.15vw, 1.18rem);
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* ==========================================================================
   3D TILT CARDS WITH MULTI-PLANE DEPTH & SPECULAR LIGHT
   ========================================================================== */
.tilt-card-3d {
  position: relative;
  transform-style: preserve-3d;
  perspective: 1200px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  transition: transform 0.5s var(--ease-3d), box-shadow 0.5s var(--ease-3d), border-color 0.4s ease;
  will-change: transform;
}

.tilt-card-3d .tilt-inner-depth {
  transform: translateZ(35px);
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease-3d);
}

.tilt-card-3d .tilt-inner-deep {
  transform: translateZ(55px);
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease-3d);
}

.tilt-glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 50%, rgba(157, 122, 56, 0.18) 0%, rgba(255, 255, 255, 0) 65%);
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: multiply;
  transition: opacity 0.35s ease;
  z-index: 5;
}

.tilt-card-3d:hover .tilt-glare {
  opacity: 1;
}

.tilt-card-3d:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-elevated);
}

/* Luxury Interactive Buttons (Light Edition) */
.btn-editorial {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2.2rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-primary);
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: border-color 0.4s var(--ease-editorial), color 0.4s var(--ease-editorial), transform 0.4s var(--ease-editorial), box-shadow 0.4s ease;
}

.btn-editorial::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--text-primary);
  transform: translateY(101%);
  transition: transform 0.4s var(--ease-editorial);
  z-index: -1;
}

.btn-editorial:hover {
  border-color: var(--text-primary);
  color: #fcfbf8;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(24, 30, 25, 0.15);
}

.btn-editorial:hover::before {
  transform: translateY(0);
}

.btn-gold {
  background: var(--accent-gold);
  color: #ffffff;
  border-color: var(--accent-gold);
}

.btn-gold::before {
  background: #181e19;
}

.btn-gold:hover {
  background: #181e19;
  border-color: #181e19;
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(157, 122, 56, 0.25);
}

/* ==========================================================================
   01. PRELOADER (LIGHT EDITION - PERFECTLY FRAMED)
   ========================================================================== */
.site-preloader {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  z-index: 99999;
  background: #fcfbf8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2.5rem);
  overflow: hidden;
  box-sizing: border-box;
  transition: opacity 0.8s var(--ease-editorial), visibility 0.8s;
  pointer-events: all;
}

.site-preloader.is-loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  width: 100%;
  max-width: min(88vw, 420px);
  margin: 0 auto;
  text-align: center;
  box-sizing: border-box;
  perspective: 1000px;
}

.preloader-tagline {
  font-family: var(--font-sans);
  font-size: clamp(0.65rem, 1.2vw, 0.75rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.preloader-logo-img {
  width: clamp(180px, 32vw, 320px);
  max-width: 82vw;
  height: auto;
  max-height: 95px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 4px 15px rgba(157, 122, 56, 0.2));
}

.preloader-bar-wrap {
  width: clamp(140px, 22vw, 220px);
  max-width: 65vw;
  height: 2px;
  background: rgba(24, 30, 25, 0.1);
  position: relative;
  overflow: hidden;
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

.preloader-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--accent-gold);
  transition: width 1.4s var(--ease-editorial);
}

/* ==========================================================================
   02. STICKY / SCROLL-SHRINK HEADER (LIGHT EDITION)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.4rem 0;
  background: rgba(252, 251, 248, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 4px 20px rgba(24, 30, 25, 0.04);
  transition: padding 0.4s var(--ease-editorial), background-color 0.4s ease, backdrop-filter 0.4s ease, border-bottom 0.4s ease, box-shadow 0.4s ease;
}

.site-header.is-scrolled {
  padding: 0.9rem 0;
  background: rgba(252, 251, 248, 0.98);
  box-shadow: 0 10px 30px rgba(24, 30, 25, 0.06);
}

/* Home page transparent header over dark hero initially */
body.home-page .site-header:not(.is-scrolled) {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

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

.header-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  max-width: clamp(140px, 20vw, 220px);
  transition: opacity 0.3s ease;
}

.header-logo-img {
  height: clamp(28px, 3.5vw, 38px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.header-brand:hover .header-logo-img {
  opacity: 0.88;
  transform: scale(1.03);
}

.footer-logo-img {
  width: clamp(180px, 22vw, 260px);
  max-width: 75vw;
  height: auto;
  max-height: 75px;
  object-fit: contain;
  display: block;
  margin-bottom: 1.25rem;
}

.header-nav-list {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.4vw, 2.8rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-nav-link {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-primary);
  text-decoration: none;
  position: relative;
  padding: 0.35rem 0;
  transition: color 0.3s ease;
}

/* Over dark hero section initially on homepage */
body.home-page .site-header:not(.is-scrolled) .header-nav-link {
  color: #f5f3ed;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

body.home-page .site-header.is-scrolled .header-nav-link {
  color: var(--text-primary) !important;
  text-shadow: none !important;
}

.header-nav-link.is-active,
.header-nav-link:hover {
  color: var(--accent-gold) !important;
}

.header-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-gold);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.35s var(--ease-editorial);
}

.header-nav-link.is-active::after,
.header-nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.header-enquire-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-primary);
  border: 1px solid var(--border-gold);
  border-radius: 9999px;
  background: rgba(157, 122, 56, 0.08);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

body.home-page .site-header:not(.is-scrolled) .header-enquire-btn {
  color: #f5f3ed;
  border-color: rgba(245, 243, 237, 0.4);
  background: rgba(245, 243, 237, 0.1);
  backdrop-filter: blur(8px);
}

.header-enquire-btn:hover {
  background: var(--accent-gold) !important;
  border-color: var(--accent-gold) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(157, 122, 56, 0.3);
}

.header-mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.5rem;
}

body.home-page .site-header:not(.is-scrolled) .header-mobile-toggle {
  color: #f5f3ed;
}

@media (max-width: 900px) {
  .desktop-nav,
  .header-nav-list {
    display: none !important;
  }
  .header-mobile-toggle {
    display: inline-flex;
  }
}

/* ==========================================================================
   FULLSCREEN MOBILE NAVIGATION OVERLAY (LIGHT EDITION)
   ========================================================================== */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: #fcfbf8;
  z-index: 99998;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.4s var(--ease-editorial), visibility 0.4s, transform 0.4s var(--ease-editorial);
}

.mobile-nav-overlay.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-close {
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 2rem;
  cursor: pointer;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-item {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--text-primary);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s ease, transform 0.3s ease;
}

.mobile-nav-item:hover {
  color: var(--accent-gold);
  transform: translateX(10px);
}

/* ==========================================================================
   STICKY MOBILE CTA BAR & DESKTOP FLOATING PILL (LIGHT EDITION)
   ========================================================================== */
.mobile-sticky-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(252, 251, 248, 0.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-subtle);
  box-shadow: 0 -5px 25px rgba(24, 30, 25, 0.06);
  z-index: 9990;
  padding: 0.75rem 1rem;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 0.5rem;
}

.mobile-cta-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  color: var(--text-primary);
}

.mobile-cta-action.btn-enquire {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #ffffff;
}

.desktop-floating-cta {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 9990;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.8rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-gold);
  border-radius: 9999px;
  color: var(--text-primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(24, 30, 25, 0.1);
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.desktop-floating-cta:hover {
  transform: translateY(-4px);
  background: var(--accent-gold);
  color: #ffffff;
  box-shadow: 0 15px 35px rgba(157, 122, 56, 0.3);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--accent-gold);
  border-radius: 50%;
  animation: pulseGold 2s infinite;
}

.desktop-floating-cta:hover .pulse-dot {
  background: #ffffff;
}

@keyframes pulseGold {
  0% { box-shadow: 0 0 0 0 rgba(157, 122, 56, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(157, 122, 56, 0); }
  100% { box-shadow: 0 0 0 0 rgba(157, 122, 56, 0); }
}

/* Custom Magnetic Cursor */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: var(--accent-gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: transform 0.08s ease-out, opacity 0.3s ease;
}

.custom-cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(157, 122, 56, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width 0.3s var(--ease-editorial), height 0.3s var(--ease-editorial), border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.custom-cursor-text {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.custom-cursor-follower.is-hovering {
  width: 76px;
  height: 76px;
  background-color: var(--accent-gold);
  border-color: var(--accent-gold);
  box-shadow: 0 0 25px rgba(157, 122, 56, 0.35);
}

.custom-cursor-follower.is-hovering .custom-cursor-text {
  opacity: 1;
}

@media (hover: none) and (pointer: coarse) {
  .custom-cursor,
  .custom-cursor-follower {
    display: none !important;
  }
}

/* ==========================================================================
   INTERACTIVE 3D FLOOR PLAN VIEWER MODAL (LIGHT EDITION)
   ========================================================================== */
.floorplan-modal-container {
  background: #ffffff;
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  max-width: 900px;
  width: 92vw;
  padding: clamp(1.8rem, 3.5vw, 3rem);
  box-shadow: 0 35px 85px rgba(24, 30, 25, 0.2);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.floorplan-tab-bar {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.75rem;
  flex-wrap: wrap;
}

.floorplan-tab-btn {
  background: #f4f0e8;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.6rem 1.2rem;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.floorplan-tab-btn.is-active,
.floorplan-tab-btn:hover {
  color: #ffffff;
  background: var(--accent-gold);
  border-color: var(--accent-gold);
}

.floorplan-interactive-stage {
  position: relative;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #f4f0e8;
  margin-bottom: 1.5rem;
}

.floorplan-blueprint-img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  display: block;
}

.floorplan-hotspot-pin {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-gold);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 0 15px rgba(157, 122, 56, 0.6);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease, background 0.3s ease;
}

.floorplan-hotspot-pin:hover {
  transform: translate(-50%, -50%) scale(1.3);
  background: #181e19;
}

.floorplan-room-card {
  padding: 1.2rem;
  background: #fcfbf8;
  border-left: 3px solid var(--accent-gold);
  border-radius: 0 6px 6px 0;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-subtle);
  border-left-width: 3px;
}

.floorplan-room-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.floorplan-room-dim {
  font-size: 0.8rem;
  color: var(--accent-gold);
  font-weight: 600;
  letter-spacing: 0.1em;
}

/* ==========================================================================
   VIP PRIVATE ENQUIRY DRAWER (LIGHT EDITION)
   ========================================================================== */
.inquiry-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(24, 30, 25, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99990;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease-editorial), visibility 0.5s;
}

.inquiry-drawer-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.inquiry-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 580px;
  background: #ffffff;
  border-left: 1px solid var(--border-subtle);
  box-shadow: -20px 0 60px rgba(24, 30, 25, 0.15);
  z-index: 99995;
  transform: translateX(100%);
  transition: transform 0.6s var(--ease-editorial);
  padding: clamp(2.5rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}

.inquiry-drawer-overlay.is-active .inquiry-drawer {
  transform: translateX(0);
}

.inquiry-drawer-close {
  align-self: flex-end;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

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

.inquiry-form-group {
  margin-bottom: 1.5rem;
}

.inquiry-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
}

.inquiry-input,
.inquiry-select,
.inquiry-textarea {
  width: 100%;
  background: #fcfbf8;
  border: 1px solid rgba(24, 30, 25, 0.12);
  border-radius: 4px;
  padding: 0.9rem 1.2rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.inquiry-input:focus,
.inquiry-select:focus,
.inquiry-textarea:focus {
  border-color: var(--accent-gold);
  background: #ffffff;
  box-shadow: 0 0 15px rgba(157, 122, 56, 0.15);
}

.inquiry-select option {
  background: #ffffff;
  color: var(--text-primary);
}

/* ==========================================================================
   FULLSCREEN LIGHTBOX MODAL (LIGHT EDITION)
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(24, 30, 25, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s;
}

.lightbox-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-img-wrapper {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
}

.lightbox-img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.lightbox-close-btn {
  position: absolute;
  top: -45px;
  right: 0;
  background: none;
  border: none;
  color: #f5f3ed;
  font-size: 1.8rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.lightbox-close-btn:hover {
  color: var(--accent-gold);
}

/* ==========================================================================
   PRE-FOOTER RECTANGLE CARD SECTION
   ========================================================================== */
.pre-footer-section {
  position: relative;
  padding: clamp(3rem, 6vh, 5.5rem) 0 clamp(2rem, 4vh, 3.5rem);
  background: var(--bg-primary);
}

.pre-footer-card {
  background: #ffffff;
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  box-shadow: 0 15px 45px rgba(24, 30, 25, 0.07);
  overflow: hidden;
  position: relative;
}

.pre-footer-card-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(2.5rem, 5vw, 4rem);
  gap: 2.5rem;
  flex-wrap: wrap;
}

.pre-footer-content {
  flex: 1 1 500px;
}

.pre-footer-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

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

.pre-footer-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 580px;
}

.pre-footer-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.pre-footer-hotlines {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.pre-footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.pre-footer-contact-link:hover {
  color: var(--accent-gold);
}

.pre-footer-contact-link svg {
  color: var(--accent-gold);
}

/* ==========================================================================
   GLOBAL BILLORA LUXURY FOOTER (WITH OFFICIAL LOGO & COMPLETE DETAILS)
   ========================================================================== */
.billora-luxury-footer {
  position: relative;
  background: #ede8de;
  border-top: 1px solid var(--border-subtle);
  padding: clamp(4rem, 7vh, 6rem) 0 2.5rem;
  color: var(--text-primary);
}

.footer-hero-brand {
  text-align: center;
  padding-bottom: clamp(2.5rem, 5vh, 3.5rem);
  border-bottom: 1px solid rgba(24, 30, 25, 0.12);
  margin-bottom: clamp(2.5rem, 5vh, 3.5rem);
}

.footer-brand-logo-link {
  display: inline-block;
  text-decoration: none;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.footer-brand-logo-link:hover {
  transform: scale(1.02);
  opacity: 0.92;
}

.footer-hero-logo-img {
  width: clamp(220px, 30vw, 380px);
  max-width: 85vw;
  height: auto;
  max-height: 90px;
  object-fit: contain;
  display: block;
  margin: 0 auto 1.2rem;
}

.footer-hero-tagline {
  font-family: var(--font-sans);
  font-size: clamp(0.7rem, 0.9vw, 0.82rem);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.footer-main-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.75rem, 3.5vw, 3rem);
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(24, 30, 25, 0.12);
}

.footer-info-col {
  display: flex;
  flex-direction: column;
}

.footer-info-heading {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.footer-info-text {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.footer-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-gold);
  background: rgba(157, 122, 56, 0.1);
  padding: 0.4rem 0.8rem;
  border-radius: 9999px;
  width: fit-content;
}

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

.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-list li {
  font-size: 0.85rem;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.contact-val {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.25s ease;
}

.contact-val:hover {
  color: var(--accent-gold);
}

.footer-info-hours {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 0.5rem;
}

.footer-nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-nav-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
  display: inline-block;
}

.footer-nav-links a:hover {
  color: var(--accent-gold);
  transform: translateX(4px);
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-copyright {
  font-size: 0.78rem;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-legal-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-legal-links a:hover {
  color: var(--text-primary);
}

.footer-legal-sep {
  color: rgba(24, 30, 25, 0.3);
}

@media (max-width: 1024px) {
  .header-nav-list {
    display: none;
  }
  .header-mobile-toggle {
    display: block;
  }
}

@media (max-width: 768px) {
  .desktop-floating-cta {
    display: none;
  }
  .mobile-sticky-cta-bar {
    display: grid;
  }
  body {
    padding-bottom: 70px;
  }
}
