/* ==========================================================================
   AlpineVista - Ultra-Luxury Mountain Estates & 360° Virtual Tour Engine
   Theme System: Royal Alpine Emerald (Default), Midnight Sapphire & Sunset Rose
   ========================================================================== */

/* 1. DEFAULT THEME: Royal Alpine Emerald & 24K Sovereign Gold */
:root,
[data-theme="emerald"] {
  --bg-primary: #02140e;
  --bg-secondary: #05261c;
  --bg-section-alt: #031c14;
  --bg-card: rgba(6, 32, 23, 0.78);
  --bg-card-hover: rgba(10, 48, 35, 0.92);
  --bg-glass: rgba(4, 25, 18, 0.82);
  --border-glass: rgba(52, 211, 153, 0.18);
  --border-gold: rgba(245, 190, 56, 0.48);
  --border-gold-subtle: rgba(245, 190, 56, 0.22);
  
  /* 24K Sovereign Gold */
  --gold-primary: #f5be38;
  --gold-light: #ffeaa5;
  --gold-dark: #b87b14;
  --gold-glow: rgba(245, 190, 56, 0.45);
  --gold-gradient: linear-gradient(135deg, #fff3c4 0%, #f6ce55 24%, #e5a823 58%, #b87b14 100%);
  --gold-gradient-hover: linear-gradient(135deg, #ffffff 0%, #ffe386 28%, #f8c847 68%, #c98816 100%);
  --gold-gradient-subtle: linear-gradient(135deg, rgba(245, 190, 56, 0.18) 0%, rgba(225, 166, 35, 0.05) 100%);

  /* Royal Emerald Jewel Accent */
  --jewel-primary: #10b981;
  --jewel-light: #6ee7b7;
  --jewel-glow: rgba(16, 185, 129, 0.4);
  --jewel-gradient: linear-gradient(135deg, #6ee7b7 0%, #10b981 60%, #047857 100%);

  /* Atmospheric Gradients */
  --ambient-mesh-1: rgba(16, 185, 129, 0.15);
  --ambient-mesh-2: rgba(245, 190, 56, 0.12);
  --hero-overlay-start: rgba(2, 20, 14, 0.94);
  --hero-overlay-mid: rgba(2, 20, 14, 0.68);
  --hero-overlay-end: rgba(2, 20, 14, 0.55);

  --shadow-elevation: 0 22px 48px -12px rgba(0, 0, 0, 0.88);
  --shadow-gold: 0 10px 30px -4px rgba(245, 190, 56, 0.45);
  --shadow-jewel: 0 10px 28px -4px rgba(16, 185, 129, 0.35);

  --text-primary: #ffffff;
  --text-secondary: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --font-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-script: 'Caveat', 'Dancing Script', cursive;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
}

/* 2. MIDNIGHT SAPPHIRE THEME: Deep Ocean & Glacial Azure */
[data-theme="sapphire"] {
  --bg-primary: #040c1e;
  --bg-secondary: #081736;
  --bg-section-alt: #06122c;
  --bg-card: rgba(10, 27, 60, 0.78);
  --bg-card-hover: rgba(15, 38, 82, 0.92);
  --bg-glass: rgba(7, 21, 48, 0.82);
  --border-glass: rgba(56, 189, 248, 0.18);
  --border-gold: rgba(245, 190, 56, 0.48);
  --border-gold-subtle: rgba(245, 190, 56, 0.22);

  --gold-primary: #f5be38;
  --gold-light: #ffeaa5;
  --gold-dark: #b87b14;
  --gold-glow: rgba(245, 190, 56, 0.45);
  --gold-gradient: linear-gradient(135deg, #fff3c4 0%, #f6ce55 24%, #e5a823 58%, #b87b14 100%);
  --gold-gradient-hover: linear-gradient(135deg, #ffffff 0%, #ffe386 28%, #f8c847 68%, #c98816 100%);
  --gold-gradient-subtle: linear-gradient(135deg, rgba(245, 190, 56, 0.18) 0%, rgba(225, 166, 35, 0.05) 100%);

  --jewel-primary: #38bdf8;
  --jewel-light: #bae6fd;
  --jewel-glow: rgba(56, 189, 248, 0.4);
  --jewel-gradient: linear-gradient(135deg, #bae6fd 0%, #38bdf8 55%, #0284c7 100%);

  --ambient-mesh-1: rgba(56, 189, 248, 0.16);
  --ambient-mesh-2: rgba(245, 190, 56, 0.12);
  --hero-overlay-start: rgba(4, 12, 30, 0.94);
  --hero-overlay-mid: rgba(4, 12, 30, 0.68);
  --hero-overlay-end: rgba(4, 12, 30, 0.55);

  --shadow-elevation: 0 22px 48px -12px rgba(0, 0, 0, 0.88);
  --shadow-gold: 0 10px 30px -4px rgba(245, 190, 56, 0.45);
  --shadow-jewel: 0 10px 28px -4px rgba(56, 189, 248, 0.35);
}

/* 3. SUNSET ALPENGLOW THEME: Royal Plum & Sunset Rose Gold */
[data-theme="sunset"] {
  --bg-primary: #170914;
  --bg-secondary: #260f22;
  --bg-section-alt: #1f0c1b;
  --bg-card: rgba(42, 18, 38, 0.78);
  --bg-card-hover: rgba(58, 24, 52, 0.92);
  --bg-glass: rgba(30, 13, 27, 0.82);
  --border-glass: rgba(251, 113, 133, 0.2);
  --border-gold: rgba(251, 191, 36, 0.48);
  --border-gold-subtle: rgba(251, 191, 36, 0.22);

  --gold-primary: #fbbf24;
  --gold-light: #fef08a;
  --gold-dark: #b45309;
  --gold-glow: rgba(251, 191, 36, 0.45);
  --gold-gradient: linear-gradient(135deg, #fef08a 0%, #f59e0b 38%, #e11d48 100%);
  --gold-gradient-hover: linear-gradient(135deg, #ffffff 0%, #fcd34d 38%, #f43f5e 100%);
  --gold-gradient-subtle: linear-gradient(135deg, rgba(251, 191, 36, 0.18) 0%, rgba(225, 29, 72, 0.05) 100%);

  --jewel-primary: #fb7185;
  --jewel-light: #fecdd3;
  --jewel-glow: rgba(251, 113, 133, 0.4);
  --jewel-gradient: linear-gradient(135deg, #fecdd3 0%, #fb7185 55%, #e11d48 100%);

  --ambient-mesh-1: rgba(244, 63, 94, 0.16);
  --ambient-mesh-2: rgba(251, 191, 36, 0.14);
  --hero-overlay-start: rgba(23, 9, 20, 0.94);
  --hero-overlay-mid: rgba(23, 9, 20, 0.68);
  --hero-overlay-end: rgba(23, 9, 20, 0.55);

  --shadow-elevation: 0 22px 48px -12px rgba(0, 0, 0, 0.88);
  --shadow-gold: 0 10px 30px -4px rgba(251, 191, 36, 0.45);
  --shadow-jewel: 0 10px 28px -4px rgba(251, 113, 133, 0.35);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  line-height: 1.5;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

input {
  font-family: inherit;
  outline: none;
}

/* Utility Classes */
.gold-text {
  color: var(--gold-primary);
  background: linear-gradient(
    110deg,
    #fff4c7 0%,
    #f5be38 25%,
    #ffffff 45%,
    #f6ce55 70%,
    #c4871c 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  animation: shineGold 6s linear infinite;
  filter: drop-shadow(0 2px 8px rgba(245, 190, 56, 0.28));
}

.script-text {
  font-family: var(--font-script);
}

.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 2.5rem;
  background: linear-gradient(180deg, var(--bg-glass) 0%, rgba(2, 20, 14, 0.45) 70%, transparent 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition-normal);
}

.site-header.scrolled {
  background: var(--bg-primary);
  padding: 0.8rem 2.5rem;
  border-bottom: 1px solid var(--border-gold);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7), 0 0 20px var(--gold-glow);
}

/* Theme Switcher Removed per user request - Royal Alpine Emerald theme permanent */
.theme-picker,
.mobile-theme-drawer-box {
  display: none !important;
}

.theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: transform var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  border: 1.5px solid transparent;
  background: transparent;
}

.theme-btn .theme-text {
  display: none; /* Keep desktop header clean, spacious and uncluttered */
}

.theme-btn:hover {
  transform: scale(1.18);
  background: rgba(255, 255, 255, 0.14);
}

.theme-btn.active {
  border-color: var(--gold-primary);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 12px var(--gold-glow);
  transform: scale(1.12);
}

.theme-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.indicator-emerald {
  background: linear-gradient(135deg, #6ee7b7 0%, #10b981 100%);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.95);
}

.indicator-sapphire {
  background: linear-gradient(135deg, #bae6fd 0%, #38bdf8 100%);
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.95);
}

.indicator-sunset {
  background: linear-gradient(135deg, #fef08a 0%, #fb7185 100%);
  box-shadow: 0 0 8px rgba(251, 113, 133, 0.95);
}

/* Mobile Drawer Theme Selector */
.mobile-theme-drawer-box {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-theme-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.mobile-theme-opt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 0.4rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mobile-theme-opt.active {
  background: var(--bg-card-hover);
  border-color: var(--border-gold);
  color: #ffffff;
  box-shadow: 0 0 12px var(--gold-glow);
}

.header-container {
  max-width: 1720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.6rem, 1.2vw, 1.5rem);
  width: 100%;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #fff;
  flex-shrink: 0;
}

.brand-icon {
  width: 36px;
  height: 36px;
  color: var(--gold-primary);
  filter: drop-shadow(0 2px 8px var(--gold-glow));
  flex-shrink: 0;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #ffffff;
  white-space: nowrap;
}

.brand-subtitle {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Nav Wrapper: Centered with generous breathing room */
.nav-wrapper {
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Nav Menu: Spacious, elegant, relaxed luxury spacing */
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 2vw, 2.5rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  white-space: nowrap;
}

.nav-item a {
  display: inline-block;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.035em;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  position: relative;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  white-space: nowrap !important;
}

.nav-item a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-item.active a {
  color: #ffffff;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
}

.nav-item.active a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0.75rem;
  right: 0.75rem;
  height: 2px;
  background: var(--gold-primary);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--gold-glow);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-shrink: 0;
}

/* Search Bar - Smoothly expanding */
.search-wrapper {
  position: relative;
  width: 175px;
  transition: width var(--transition-normal);
  flex-shrink: 0;
}

.search-wrapper:focus-within {
  width: 230px;
}

.search-input-box {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  padding: 0.52rem 0.95rem;
  gap: 0.5rem;
  transition: var(--transition-fast);
  width: 100%;
}

.search-input-box:focus-within {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--gold-primary);
  box-shadow: 0 0 18px var(--gold-glow);
}

.search-icon {
  width: 17px;
  height: 17px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.search-input {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 0.84rem;
  width: 100%;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

/* Search Results Popup */
.search-results-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-elevation);
  padding: 0.75rem;
  display: none;
  flex-direction: column;
  gap: 0.4rem;
  z-index: 105;
  max-height: 320px;
  overflow-y: auto;
}

.search-results-dropdown.open {
  display: flex;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

.search-result-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.search-result-thumb {
  width: 44px;
  height: 34px;
  border-radius: 4px;
  object-fit: cover;
}

.search-result-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
}

.search-result-meta {
  font-size: 0.72rem;
  color: var(--gold-light);
}

/* Book a Visit Button */
.btn-book-visit {
  background: var(--gold-gradient);
  color: #0d131d;
  font-weight: 700;
  font-size: clamp(0.78rem, 0.85vw, 0.88rem);
  padding: 0.62rem clamp(0.85rem, 1.1vw, 1.45rem);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-gold);
  transition: var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-book-visit:hover {
  background: var(--gold-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(245, 190, 56, 0.6), 0 0 20px rgba(245, 190, 56, 0.35);
}

/* Hamburger Menu Toggle */
.btn-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-fast);
}

.btn-hamburger:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--gold-primary);
}

.btn-hamburger span {
  display: block;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: var(--transition-fast);
}

.btn-hamburger span:nth-child(1) { width: 100%; }
.btn-hamburger span:nth-child(2) { width: 75%; align-self: flex-end; }
.btn-hamburger span:nth-child(3) { width: 100%; }

/* ==========================================================================
   HERO SHOWCASE SECTION
   ========================================================================== */
.hero-showcase {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7rem 3rem 8rem 3.5rem;
  overflow: hidden;
  background-color: var(--bg-primary);
}

/* Background Villa Image */
.hero-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  filter: brightness(0.92) contrast(1.05);
  transform: scale(1.01);
  transition: transform 10s ease-out;
}

.hero-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse 80% 65% at 85% 20%, var(--ambient-mesh-1) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 70%, var(--ambient-mesh-2) 0%, transparent 60%),
    linear-gradient(90deg, var(--hero-overlay-start) 0%, var(--hero-overlay-mid) 38%, rgba(0, 0, 0, 0.2) 68%, var(--hero-overlay-end) 100%),
    linear-gradient(0deg, var(--hero-overlay-start) 0%, rgba(0, 0, 0, 0.28) 25%, transparent 60%);
  pointer-events: none;
}

/* Hero Content Area */
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 580px;
  margin-top: 1rem;
}

.hero-tagline {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.8rem;
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.hero-title .gold-text {
  font-weight: 700;
  font-style: normal;
}

.hero-description {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  font-weight: 400;
  max-width: 520px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Hero Buttons */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

.btn-primary-tour {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--gold-gradient);
  color: #060a12;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 28px -4px rgba(245, 190, 56, 0.45), 0 0 16px rgba(245, 190, 56, 0.25);
  transition: var(--transition-normal);
}

.btn-primary-tour::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 45%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 100%
  );
  transform: rotate(25deg);
  animation: buttonSheen 5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
}

@keyframes buttonSheen {
  0%, 75% {
    left: -60%;
  }
  90%, 100% {
    left: 140%;
  }
}

.btn-primary-tour:hover {
  background: var(--gold-gradient-hover);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 36px rgba(245, 190, 56, 0.6), 0 0 24px rgba(245, 190, 56, 0.35);
}

.btn-primary-tour svg {
  transition: transform var(--transition-fast);
}

.btn-primary-tour:hover svg {
  transform: translateX(4px);
}

.btn-watch-video {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.98rem;
  transition: var(--transition-fast);
}

.video-play-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 14, 26, 0.65);
  backdrop-filter: blur(8px);
  transition: var(--transition-fast);
}

.video-play-icon svg {
  fill: #ffffff;
  transform: translateX(1px);
}

.btn-watch-video:hover .video-play-icon {
  border-color: var(--gold-primary);
  background: rgba(245, 190, 56, 0.22);
  box-shadow: 0 0 20px rgba(245, 190, 56, 0.35);
  transform: scale(1.08);
}

.btn-watch-video:hover {
  color: var(--gold-light);
}

/* 3D Dollhouse Card */
.card-dollhouse-cta {
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
  background: rgba(11, 20, 36, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(245, 190, 56, 0.2);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem 0.75rem 0.85rem;
  cursor: pointer;
  transition: var(--transition-normal);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.85);
}

.card-dollhouse-cta:hover {
  background: rgba(18, 32, 56, 0.92);
  border-color: var(--gold-primary);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(245, 190, 56, 0.28);
}

.dollhouse-thumb-wrap {
  width: 62px;
  height: 50px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.dollhouse-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.card-dollhouse-cta:hover .dollhouse-thumb {
  transform: scale(1.1);
}

.dollhouse-info {
  display: flex;
  flex-direction: column;
}

.dollhouse-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
}

.dollhouse-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.dollhouse-arrow {
  color: var(--gold-primary);
  margin-left: 0.5rem;
  transition: transform var(--transition-fast);
}

.card-dollhouse-cta:hover .dollhouse-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   HERO INTERACTIVE HOTSPOTS ON THE VILLA
   ========================================================================== */
.hero-hotspots-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 12;
  pointer-events: none;
}

.villa-hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 15;
  transition: transform var(--transition-fast);
}

.villa-hotspot:hover {
  transform: translate(-50%, -50%) scale(1.08);
}

/* Hotspot coordinates calibrated to villa architecture */
.hotspot-terrace {
  top: 19%;
  left: 55%;
}

.hotspot-bedroom {
  top: 31%;
  left: 65%;
}

.hotspot-living {
  top: 48%;
  left: 47%;
}

.hotspot-pool {
  top: 56%;
  left: 64%;
}

.hotspot-garden {
  top: 66%;
  left: 52%;
}

/* Hotspot Pin Radar */
.hotspot-radar {
  position: relative;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hotspot-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  animation: pulseRadar 2.4s infinite cubic-bezier(0.2, 0.8, 0.4, 1);
}

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

.villa-hotspot:hover .hotspot-dot {
  background: var(--gold-primary);
  box-shadow: 0 0 14px var(--gold-primary);
}

@keyframes pulseRadar {
  0% {
    transform: scale(0.6);
    opacity: 1;
  }
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

/* Hotspot Tag Label */
.hotspot-tag {
  background: rgba(11, 16, 25, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
}

.villa-hotspot:hover .hotspot-tag {
  background: rgba(18, 26, 40, 0.95);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

/* ==========================================================================
   FLOATING SCRIPT ACCENT & LIVE WEATHER PILL (Removed per user request)
   ========================================================================== */
.hero-floating-script,
.hero-weather-pill {
  display: none !important;
}

/* ==========================================================================
   RIGHT NAVIGATION HUD (Compass, Zoom, View Mode)
   ========================================================================== */
.hero-right-hud {
  display: none !important;
}

/* Rotating Compass */
.hud-compass-card {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(11, 16, 25, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-elevation);
  cursor: pointer;
  position: relative;
  transition: border-color var(--transition-fast);
}

.hud-compass-card:hover {
  border-color: var(--gold-primary);
}

.compass-svg {
  width: 40px;
  height: 40px;
  transition: transform 0.15s ease-out;
}

/* Zoom Controls (+ / -) */
.hud-zoom-controls {
  display: flex;
  flex-direction: column;
  background: rgba(11, 16, 25, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-pill);
  padding: 0.25rem;
  gap: 0.2rem;
  box-shadow: var(--shadow-elevation);
}

.btn-hud-zoom {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  transition: var(--transition-fast);
}

.btn-hud-zoom:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--gold-primary);
}

/* View Mode Sidebar */
.hud-view-modes {
  display: flex;
  flex-direction: column;
  background: rgba(11, 16, 25, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 0.4rem;
  gap: 0.35rem;
  box-shadow: var(--shadow-elevation);
}

.btn-hud-mode {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 0.5rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 600;
  gap: 0.35rem;
  min-width: 58px;
  transition: var(--transition-fast);
}

.btn-hud-mode svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  transition: var(--transition-fast);
}

.btn-hud-mode:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-hud-mode.active {
  background: rgba(212, 175, 55, 0.18);
  border: 1px solid var(--border-gold);
  color: var(--gold-primary);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.btn-hud-mode.active svg {
  stroke: var(--gold-primary);
}

/* ==========================================================================
   BOTTOM THUMBNAIL CAROUSEL
   ========================================================================== */
.hero-carousel-bar {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 90vw;
}

.carousel-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(11, 16, 25, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: var(--shadow-elevation);
  transition: var(--transition-fast);
}

.carousel-nav-btn:hover {
  background: rgba(22, 32, 48, 0.95);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  transform: scale(1.08);
}

.carousel-track-wrapper {
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.5rem 0.2rem;
}

.carousel-track-wrapper::-webkit-scrollbar {
  display: none;
}

.carousel-track {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.carousel-thumb-card {
  position: relative;
  width: 96px;
  height: 64px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
  transition: var(--transition-fast);
}

.carousel-thumb-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.carousel-thumb-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 10, 15, 0.9) 100%);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 600;
  text-align: center;
  padding: 0.35rem 0.2rem 0.2rem 0.2rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.carousel-thumb-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.6);
}

.carousel-thumb-card:hover img {
  transform: scale(1.1);
}

.carousel-thumb-card.active {
  border-color: var(--gold-primary);
  box-shadow: 0 0 16px var(--gold-glow);
  transform: translateY(-4px);
}

.carousel-thumb-card.active .carousel-thumb-label {
  color: var(--gold-light);
  font-weight: 700;
}

/* ==========================================================================
   SECTION 2: "FROM PEAKS TO YOUR DOORSTEP"
   ========================================================================== */
.section-angles {
  position: relative;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-section-alt) 100%);
  padding: 5.5rem 3.5rem 4.5rem 3.5rem;
  border-top: 1px solid var(--border-glass);
  overflow: hidden;
}

.section-angles::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gold-primary) 50%, transparent 100%);
  opacity: 0.6;
}

.angles-container {
  max-width: 1720px;
  margin: 0 auto;
}

.angles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 4rem;
}

/* Left Column: Features & Philosophy */
.angles-info {
  display: flex;
  flex-direction: column;
}

.angles-tagline {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.angles-title {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 2.75rem;
}

/* 5 Feature Icons Row/Grid */
.angles-features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.feature-item-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 1.1rem 0.6rem;
  border-radius: var(--radius-md);
  background: rgba(11, 20, 36, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: var(--transition-normal);
}

.feature-item-pill:hover {
  background: rgba(18, 32, 58, 0.88);
  border-color: var(--gold-primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.6), 0 0 18px rgba(245, 190, 56, 0.22);
}

.feature-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(245, 190, 56, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  background: rgba(245, 190, 56, 0.08);
  transition: var(--transition-fast);
}

.feature-item-pill:hover .feature-icon-circle {
  border-color: var(--gold-primary);
  color: #060a12;
  background: var(--gold-gradient);
  box-shadow: 0 0 18px var(--gold-glow);
}

.feature-item-pill h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}

.feature-item-pill p {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Right Column: Embedded Interactive 360 Viewer Card */
.angles-360-card {
  position: relative;
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-elevation);
  background: #0a0f18;
}

/* Canvas container for interactive 360 */
.embedded-360-canvas-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none;
}

.embedded-360-canvas-wrap:active {
  cursor: grabbing;
}

.embedded-360-canvas-wrap canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

/* Top card overlay - Elegant & Non-obtrusive */
.card-overlay-top {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  max-width: 260px;
  pointer-events: none;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.card-overlay-top * {
  pointer-events: auto;
}

.badge-luxury-living {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.25rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

.card-overlay-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 0.35rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
}

.card-overlay-desc {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.35;
  margin-bottom: 0.8rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
}

.btn-card-take-tour {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(11, 16, 25, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.48rem 1.1rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.55);
  transition: var(--transition-fast);
}

.btn-card-take-tour:hover {
  background: var(--gold-gradient);
  color: #0b1019;
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-gold);
}

/* Center 360 Drag Badge Overlay - Reduced & Refined */
.card-center-360-badge {
  position: absolute;
  top: 56%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.badge-360-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
}

.badge-360-icon span {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

.badge-360-arrow {
  width: 36px;
  height: 15px;
  color: #ffffff;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.85));
}

.drag-hint-pill {
  background: rgba(11, 16, 25, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  padding: 0.22rem 0.8rem;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 500;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

.angles-360-card.interacting .card-center-360-badge {
  opacity: 0.15;
  transform: translate(-50%, -50%) scale(0.92);
}

/* ==========================================================================
   STATS ROW & QUOTE
   ========================================================================== */
.angles-stats-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 2rem;
}

.stats-items-group {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  flex-wrap: wrap;
}

.stat-box {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-icon {
  width: 28px;
  height: 28px;
  color: var(--gold-primary);
  flex-shrink: 0;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: capitalize;
  letter-spacing: 0.02em;
}

.stats-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 320px;
  text-align: right;
  line-height: 1.4;
}

/* ==========================================================================
   DEDICATED FULLSCREEN 360° TOUR MODAL
   ========================================================================== */
.modal-360-tour {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  background: #000000;
  display: none;
  flex-direction: column;
}

.modal-360-tour.active {
  display: flex;
}

/* 360 WebGL Viewport */
.tour-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: grab;
  outline: none;
  touch-action: none;
}

.tour-viewport:active {
  cursor: grabbing;
}

.tour-viewport canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

/* In-Scene 3D Hotspot DOM Elements - Disabled for clean 360 view */
.tour-hotspots-overlay,
.tour-hotspot-pin {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

.pin-radar-ring {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--gold-primary);
  background: rgba(212, 175, 55, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px var(--gold-primary);
  animation: pulsePin 2s infinite ease-out;
}

.pin-center-icon {
  width: 16px;
  height: 16px;
  fill: #ffffff;
}

.pin-bubble-label {
  background: rgba(10, 15, 24, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.95rem;
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
}

@keyframes pulsePin {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

/* Tour Top Header HUD */
.tour-top-bar {
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  right: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 30;
  pointer-events: none;
}

.tour-top-bar * {
  pointer-events: auto;
}

.tour-room-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(11, 16, 25, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass);
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-pill);
}

.tour-current-room-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.tour-room-specs {
  font-size: 0.78rem;
  color: var(--gold-light);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 0.85rem;
}

.tour-top-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-tour-hud-action {
  background: rgba(11, 16, 25, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  color: #ffffff;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.btn-tour-hud-action:hover {
  background: rgba(22, 33, 50, 0.95);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

.btn-tour-hud-action.active {
  background: rgba(212, 175, 55, 0.25);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

.btn-close-tour {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(11, 16, 25, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-close-tour:hover {
  background: #ff3344;
  border-color: #ff3344;
  transform: rotate(90deg);
}

/* Tour Minimap Floor Plan Radar */
.tour-minimap-card {
  position: absolute;
  bottom: 6rem;
  right: 2rem;
  width: 220px;
  height: 180px;
  background: rgba(11, 16, 25, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: var(--shadow-elevation);
  transition: var(--transition-fast);
}

.minimap-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.minimap-svg-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.minimap-radar-cone {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  margin-top: -40px;
  margin-left: -40px;
  pointer-events: none;
  transform-origin: center center;
}

/* Tour Bottom Room Navigation Strip */
.tour-bottom-bar {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(11, 16, 25, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-pill);
  z-index: 30;
  max-width: 90vw;
  overflow-x: auto;
}

.tour-strip-thumb {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.85rem 0.35rem 0.4rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.tour-strip-thumb img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.tour-strip-thumb:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.tour-strip-thumb.active {
  background: rgba(212, 175, 55, 0.18);
  border-color: var(--border-gold);
  color: var(--gold-light);
}

/* ==========================================================================
   MODALS (Dollhouse, Book Visit, Video)
   ========================================================================== */
.app-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1200;
  background: rgba(4, 7, 12, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.app-modal.open {
  display: flex;
  opacity: 1;
}

.modal-dialog-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elevation);
  width: 100%;
  max-width: 780px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  display: flex;
  flex-direction: column;
}

.modal-card-booking {
  max-width: 620px;
}

.modal-card-video {
  max-width: 880px;
  background: #05070a;
}

.modal-heading-serif {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: #ffffff;
  margin-top: 0.25rem;
}

.modal-subtitle-text {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 0.35rem;
  line-height: 1.5;
}

.form-row-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.dollhouse-modal-footer {
  margin-top: 1.5rem;
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.video-modal-header {
  padding: 1.5rem 1.5rem 0 1.5rem;
}

.video-modal-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: #ffffff;
  margin-top: 0.2rem;
}

.video-player-wrap {
  position: relative;
  width: 100%;
  height: 480px;
  background: #000000;
  overflow: hidden;
  margin-top: 1rem;
}

.video-play-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  pointer-events: none;
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

/* Dollhouse Modal Details */
.dollhouse-modal-body {
  padding: 2.5rem;
}

/* Dollhouse View Mode Switcher (3D WebGL vs Photo Render) */
.dollhouse-view-switcher {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.dollhouse-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.dollhouse-tab-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(212, 175, 55, 0.4);
}

.dollhouse-tab-btn.active {
  background: rgba(212, 175, 55, 0.15);
  color: #ffffff;
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px var(--gold-glow);
}

.dollhouse-tab-btn.active svg {
  color: var(--gold-primary);
}

.dollhouse-interactive-view {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  margin: 1.25rem 0 1.5rem 0;
  border: 1px solid var(--border-gold);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7), 0 0 25px rgba(16, 185, 129, 0.15);
}

.dollhouse-webgl-mount {
  width: 100%;
  height: 440px;
  background: radial-gradient(circle at center, #05261c 0%, #02140e 100%);
  position: relative;
  cursor: grab;
}

.dollhouse-webgl-mount:active {
  cursor: grabbing;
}

.dollhouse-3d-hint {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(2, 20, 14, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-gold);
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 7px;
  pointer-events: none;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
}

.dollhouse-3d-hint svg {
  color: var(--gold-primary);
}

.dollhouse-render-mount {
  width: 100%;
}

.dollhouse-render-mount img {
  width: 100%;
  display: block;
}

.dollhouse-level-pills {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.btn-level-pill {
  padding: 0.55rem 1.35rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-level-pill:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(212, 175, 55, 0.5);
  transform: translateY(-2px);
}

.btn-level-pill.active {
  background: var(--gold-gradient);
  color: #0b1019;
  border-color: var(--gold-primary);
  box-shadow: 0 4px 16px var(--gold-glow);
  transform: translateY(-2px);
}

/* Booking Form */
.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 2.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-input {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: #ffffff;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.form-input:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.booking-tour-types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.tour-type-option {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 1rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: var(--transition-fast);
}

.tour-type-option:hover, .tour-type-option.selected {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.12);
}

/* Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: rgba(11, 16, 25, 0.95);
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 1rem 1.75rem;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), 0 0 20px var(--gold-glow);
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  transform: translateY(120%);
  opacity: 0;
  transition: all var(--transition-normal);
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   MOBILE NAVIGATION DRAWER
   ========================================================================== */
.mobile-nav-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 7, 12, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 140;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.mobile-nav-backdrop.open {
  display: block !important;
  opacity: 1;
}

.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 85vw;
  max-width: 380px;
  height: 100vh;
  background: rgba(11, 16, 25, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-left: 1px solid var(--border-gold);
  box-shadow: -15px 0 40px rgba(0, 0, 0, 0.8);
  z-index: 150;
  flex-direction: column;
  padding: 1.5rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
}

.mobile-nav-drawer.open {
  display: flex !important;
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.mobile-drawer-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--gold-primary);
}

.mobile-search-box {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  padding: 0.65rem 1rem;
  margin: 1.25rem 0;
}

.mobile-search-box input {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 0.88rem;
  width: 100%;
}

.mobile-search-box input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

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

.mobile-nav-link {
  display: block;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.12);
  border-left: 3px solid var(--gold-primary);
}

.mobile-drawer-360-rooms {
  margin-bottom: 1.5rem;
}

.drawer-section-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold-primary);
  margin-bottom: 0.75rem;
}

.mobile-room-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip-room {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  transition: var(--transition-fast);
}

.chip-room:hover, .chip-room:active {
  background: var(--gold-gradient);
  color: #070a0f;
  border-color: var(--gold-primary);
}

.mobile-drawer-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-contact-note {
  font-size: 0.74rem;
  color: var(--text-muted);
  text-align: center;
}

/* ==========================================================================
   COMPREHENSIVE RESPONSIVE DESIGN FOR ALL SCREEN SIZES
   ========================================================================== */

/* --------------------------------------------------------------------------
   Desktop Zoom & Moderate Screens (1181px to 1550px)
   -------------------------------------------------------------------------- */
@media (max-width: 1550px) {
  .site-header {
    padding: 0.75rem 1.75rem;
  }

  .nav-wrapper {
    padding: 0 1rem;
  }

  .nav-links {
    gap: 1.6rem;
  }

  .search-wrapper {
    width: 160px;
  }

  .search-wrapper:focus-within {
    width: 210px;
  }
}

@media (max-width: 1380px) {
  .site-header {
    padding: 0.7rem 1.25rem;
  }

  .nav-wrapper {
    padding: 0 0.75rem;
  }

  .nav-links {
    gap: 1.25rem;
  }

  .nav-item a {
    font-size: 0.88rem;
    padding: 0.4rem 0.6rem;
  }

  .search-wrapper {
    width: 145px;
  }

  .search-wrapper:focus-within {
    width: 185px;
  }
}

@media (max-width: 1260px) {
  .site-header {
    padding: 0.65rem 1rem;
  }

  .brand-title {
    font-size: 1.28rem;
  }

  .brand-subtitle {
    display: none;
  }

  .nav-wrapper {
    padding: 0 0.5rem;
  }

  .nav-links {
    gap: 0.95rem;
  }

  .nav-item a {
    font-size: 0.84rem;
    padding: 0.35rem 0.5rem;
  }

  .search-wrapper {
    width: 130px;
  }

  .search-wrapper:focus-within {
    width: 160px;
  }

  .btn-book-visit {
    padding: 0.55rem 1rem;
    font-size: 0.82rem;
  }
}

/* --------------------------------------------------------------------------
   Desktop (1181px+)
   -------------------------------------------------------------------------- */
@media (min-width: 1181px) {
  .btn-hamburger,
  .mobile-nav-backdrop,
  .mobile-nav-drawer {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   Tablet & High Zoom Desktop (769px to 1180px)
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .site-header {
    padding: 0.75rem 1.5rem;
  }
  
  .nav-links, .search-wrapper {
    display: none !important;
  }

  .btn-hamburger {
    display: flex !important;
  }

  .theme-btn .theme-text {
    display: none;
  }

  .theme-btn {
    padding: 6px 8px;
  }

  .hero-showcase {
    padding: 6.5rem 2rem 8.5rem 2rem;
  }

  .hero-content {
    max-width: 540px;
  }

  .hero-title {
    font-size: clamp(2.4rem, 4.8vw, 3.2rem);
  }

  .hero-floating-script {
    font-size: 1.6rem;
    right: 2rem;
    top: 15%;
  }

  .hero-weather-pill {
    top: auto;
    bottom: 8.5rem;
    right: 2rem;
    padding: 0.55rem 0.9rem;
  }

  /* Section 2: Angles */
  .angles-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .angles-features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .angles-360-card {
    height: 350px;
  }

  .stats-items-group {
    gap: 2.2rem;
  }

  /* Section 3: Signature Residences */
  .section-residences {
    padding: 5rem 2rem;
  }

  .residences-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  /* Section 4: Architectural Amenities */
  .section-amenities {
    padding: 5rem 2rem;
  }

  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }

  /* Section 5: Editorial Footer */
  .site-footer {
    padding: 4.5rem 2rem 2.5rem 2rem;
  }

  .footer-top-row {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* --------------------------------------------------------------------------
   Mobile Devices (Screen width ≤ 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  /* Header adjustments */
  .site-header {
    padding: 0.65rem 1rem;
  }

  .header-container {
    gap: 0.5rem;
  }

  .header-actions {
    gap: 0.5rem;
  }

  .brand-logo {
    gap: 0.55rem;
  }

  .brand-icon {
    width: 32px;
    height: 32px;
  }

  .brand-title {
    font-size: 1.2rem;
  }

  .brand-subtitle {
    font-size: 0.55rem;
    letter-spacing: 0.12em;
  }

  .btn-book-visit {
    padding: 0.45rem 0.95rem;
    font-size: 0.78rem;
  }

  /* Hero Showcase */
  .hero-showcase {
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    padding: 5.25rem 1.15rem 9.5rem 1.15rem;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .hero-content {
    max-width: 100%;
    margin-top: 0.5rem;
    width: 100%;
  }

  .hero-tagline {
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    margin-bottom: 0.6rem;
  }

  .hero-title {
    font-size: clamp(2.1rem, 8.5vw, 2.85rem);
    line-height: 1.1;
    margin-bottom: 0.85rem;
  }

  .hero-description {
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    max-width: 320px;
    width: 100%;
    margin-bottom: 1.5rem;
  }

  .btn-primary-tour {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.5rem;
    font-size: 0.92rem;
  }

  .btn-watch-video {
    justify-content: center;
    padding: 0.4rem 0;
  }

  .card-dollhouse-cta {
    width: 100%;
    max-width: 320px;
    padding: 0.65rem 0.9rem;
  }

  .dollhouse-thumb-wrap {
    width: 52px;
    height: 42px;
  }

  .dollhouse-title {
    font-size: 0.84rem;
  }

  .dollhouse-desc {
    font-size: 0.7rem;
  }

  /* Hide script accent on mobile to avoid clutter */
  .hero-floating-script {
    display: none !important;
  }

  /* Weather card placed cleanly on the left under dollhouse card */
  .hero-weather-pill {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    right: auto !important;
    left: 0 !important;
    margin-top: 1.15rem !important;
    margin-bottom: 0 !important;
    max-width: 260px !important;
    width: fit-content !important;
    padding: 0.55rem 0.85rem !important;
    align-self: flex-start !important;
    z-index: 10 !important;
  }

  /* Bottom Carousel */
  .hero-carousel-bar {
    width: 100vw;
    max-width: 100vw;
    left: 0;
    transform: none;
    bottom: 0.75rem;
    padding: 0 0.5rem;
    justify-content: center;
  }

  .carousel-thumb-card {
    width: 78px;
    height: 52px;
  }

  .carousel-thumb-label {
    font-size: 0.6rem;
    padding: 0.2rem;
  }

  .carousel-nav-btn {
    width: 34px;
    height: 34px;
  }

  /* Section 2: Angles */
  .section-angles {
    padding: 3.5rem 1.25rem 3rem 1.25rem;
  }

  .angles-title {
    font-size: clamp(1.85rem, 7vw, 2.4rem);
    margin-bottom: 2rem;
  }

  .angles-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .feature-item-pill {
    padding: 0.85rem 0.5rem;
  }

  .feature-icon-circle {
    width: 40px;
    height: 40px;
  }

  .angles-360-card {
    height: 310px;
    border-radius: var(--radius-md);
  }

  .card-overlay-top {
    top: 1rem;
    right: 1rem;
    max-width: 220px;
  }

  .card-overlay-title {
    font-size: 1.15rem;
  }

  .card-overlay-desc {
    display: none;
  }

  .card-center-360-badge {
    padding: 0.45rem 1rem;
  }

  .badge-360-icon {
    font-size: 1.2rem;
  }

  /* Stats row */
  .angles-stats-bar {
    padding-top: 1.75rem;
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
  }

  .stats-items-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    width: 100%;
  }

  .stat-box {
    gap: 0.65rem;
  }

  .stat-number {
    font-size: 1.45rem;
  }

  .stat-label {
    font-size: 0.68rem;
  }

  .stats-quote {
    text-align: center;
    max-width: 100%;
    font-size: 1rem;
    padding-top: 0.75rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
  }

  /* Section 3: Signature Residences */
  .section-residences {
    padding: 3.5rem 1.25rem;
  }

  .section-title {
    font-size: clamp(2rem, 6.5vw, 2.6rem);
  }

  .residences-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .residence-media {
    height: 240px;
  }

  .residence-body {
    padding: 1.5rem;
  }

  .residence-footer {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  /* Section 4: Architectural Amenities */
  .section-amenities {
    padding: 3.5rem 1.25rem;
  }

  .amenities-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .amenity-card {
    padding: 1.85rem 1.5rem;
  }

  /* Section 5: Editorial Footer */
  .site-footer {
    padding: 3.5rem 1.25rem 2.5rem 1.25rem;
  }

  .footer-top-row {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .footer-bottom-row {
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
  }

  /* Fullscreen 360 Tour Modal */
  .tour-top-bar {
    top: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
    gap: 0.5rem;
  }

  .tour-room-badge {
    padding: 0.45rem 0.9rem;
    max-width: 50%;
  }

  .tour-current-room-name {
    font-size: 0.92rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .tour-room-specs {
    display: none;
  }

  .audio-text, .lighting-text {
    display: none !important;
  }

  .btn-text-hide-mobile {
    display: none !important;
  }

  .btn-zoom-action {
    display: none !important;
  }

  .tour-top-actions {
    gap: 0.4rem;
  }

  .btn-tour-hud-action {
    padding: 0.45rem 0.65rem;
    font-size: 0.75rem;
  }

  .btn-close-tour {
    width: 38px;
    height: 38px;
  }

  .tour-minimap-card {
    display: none;
    bottom: 5.5rem;
    right: 0.75rem;
    width: 190px;
    height: 155px;
  }

  .tour-minimap-card.mobile-visible {
    display: flex;
  }

  .tour-bottom-bar {
    bottom: 0.75rem;
    padding: 0.35rem 0.5rem;
    max-width: 96vw;
  }

  .tour-strip-thumb {
    padding: 0.3rem 0.65rem 0.3rem 0.35rem;
    font-size: 0.74rem;
    flex-shrink: 0;
  }

  .tour-strip-thumb img {
    width: 24px;
    height: 24px;
  }

  /* Modals */
  .modal-dialog-card {
    max-width: 95vw;
    margin: 1rem;
    padding: 0;
  }

  .booking-form {
    padding: 1.5rem 1.25rem;
  }

  .booking-tour-types {
    grid-template-columns: 1fr;
  }

  .form-row-grid {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }

  .dollhouse-modal-body {
    padding: 1.5rem 1.25rem;
  }

  .dollhouse-level-pills {
    flex-direction: column;
  }

  .dollhouse-modal-footer {
    margin-top: 1.25rem;
    display: flex;
    width: 100%;
  }

  .dollhouse-modal-footer .btn-primary-tour {
    width: 100%;
    justify-content: center;
  }

  .video-player-wrap {
    height: 280px !important;
  }

  .toast-notice {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    justify-content: center;
    text-align: center;
    padding: 0.75rem 1.25rem;
    font-size: 0.82rem;
  }
}

/* --------------------------------------------------------------------------
   Small & Extra Small Mobile Phones (Screen width ≤ 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  /* Prevent top bar overflow - booking CTA is prominently inside mobile drawer */
  .site-header .btn-book-visit {
    display: none !important;
  }

  .site-header {
    padding: 0.6rem 0.85rem !important;
  }

  .brand-logo {
    gap: 0.5rem !important;
  }

  .brand-icon {
    width: 28px !important;
    height: 28px !important;
  }

  .brand-title {
    font-size: 1.12rem !important;
  }

  .brand-subtitle {
    font-size: 0.52rem !important;
    letter-spacing: 0.1em !important;
  }

  .hero-showcase {
    padding: 4.8rem 0.85rem 8.5rem 0.85rem !important;
  }

  .hero-title {
    font-size: clamp(1.85rem, 8vw, 2.35rem) !important;
    margin-bottom: 0.75rem !important;
  }

  .hero-description {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1.25rem !important;
  }

  .hero-actions {
    max-width: 100% !important;
  }

  .card-dollhouse-cta {
    max-width: 100% !important;
    padding: 0.6rem 0.8rem !important;
  }

  .hero-weather-pill {
    max-width: 230px !important;
    padding: 0.5rem 0.75rem !important;
    margin-top: 0.9rem !important;
  }

  .weather-temp {
    font-size: 0.92rem !important;
  }

  .weather-location {
    font-size: 0.7rem !important;
  }

  .carousel-thumb-card {
    width: 72px !important;
    height: 48px !important;
  }

  /* Section 2: Angles */
  .angles-features-grid {
    grid-template-columns: 1fr !important;
    gap: 0.65rem !important;
  }

  .feature-item-pill {
    flex-direction: row !important;
    text-align: left !important;
    align-items: center !important;
    padding: 0.75rem 1rem !important;
    gap: 0.85rem !important;
  }

  .feature-icon-circle {
    width: 42px !important;
    height: 42px !important;
    flex-shrink: 0 !important;
  }

  .angles-360-card {
    height: 270px !important;
  }

  .card-overlay-top {
    max-width: 180px !important;
  }

  .card-overlay-title {
    font-size: 1.05rem !important;
  }

  .badge-luxury-living {
    font-size: 0.58rem !important;
  }

  .stats-items-group {
    grid-template-columns: 1fr 1fr !important;
    gap: 1rem !important;
  }

  /* Section 3: Signature Residences */
  .section-title {
    font-size: 1.85rem !important;
  }

  .residence-media {
    height: 210px !important;
  }

  .residence-body {
    padding: 1.25rem !important;
  }

  .residence-name {
    font-size: 1.35rem !important;
  }

  .price-val {
    font-size: 1.25rem !important;
  }

  .btn-residence-explore {
    padding: 0.45rem 0.9rem !important;
    font-size: 0.74rem !important;
  }

  /* Section 4: Architectural Amenities */
  .amenity-card {
    padding: 1.5rem 1.25rem !important;
  }

  .amenity-card h3 {
    font-size: 1.15rem !important;
  }

  .amenity-card p {
    font-size: 0.84rem !important;
  }

  /* Section 5: Editorial Footer */
  .newsletter-title {
    font-size: 1.35rem !important;
  }

  .footer-copyright {
    font-size: 0.74rem !important;
  }

  .footer-links {
    gap: 0.85rem 1.25rem !important;
    font-size: 0.78rem !important;
  }

  /* Modals */
  .modal-heading-serif {
    font-size: 1.5rem !important;
  }

  .video-modal-title {
    font-size: 1.25rem !important;
  }

  .video-player-wrap {
    height: 230px !important;
  }

  .booking-form {
    padding: 1.25rem 1rem !important;
  }

  .dollhouse-modal-body {
    padding: 1.25rem 1rem !important;
  }
}

/* --------------------------------------------------------------------------
   Extra Small Mobile Phones (Screen width ≤ 360px)
   -------------------------------------------------------------------------- */
@media (max-width: 360px) {
  .brand-title {
    font-size: 1.02rem !important;
  }

  .brand-subtitle {
    font-size: 0.48rem !important;
  }

  .hero-title {
    font-size: 1.7rem !important;
  }

  .hero-weather-pill {
    max-width: 210px !important;
    padding: 0.4rem 0.65rem !important;
  }

  .carousel-thumb-card {
    width: 62px !important;
    height: 42px !important;
  }

  .carousel-thumb-label {
    font-size: 0.52rem !important;
  }

  .carousel-nav-btn {
    width: 30px !important;
    height: 30px !important;
  }

  .residence-specs-row {
    font-size: 0.74rem !important;
    gap: 0.35rem !important;
  }

  .video-player-wrap {
    height: 190px !important;
  }
}

/* ==========================================================================
   ENHANCED VISUAL POLISH & LUXURY AESTHETICS
   ========================================================================== */

/* Hero Atmospheric Particles Canvas */
.hero-particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

/* Gold sparkle twinkle */
.gold-sparkle {
  color: var(--gold-primary);
  font-size: 0.8em;
  margin: 0 0.35rem;
  display: inline-block;
  animation: sparkleTwinkle 3s ease-in-out infinite alternate;
}

@keyframes sparkleTwinkle {
  0% { opacity: 0.45; transform: scale(0.85) rotate(0deg); filter: drop-shadow(0 0 2px var(--gold-primary)); }
  50% { opacity: 1; transform: scale(1.15) rotate(15deg); filter: drop-shadow(0 0 8px #fff); }
  100% { opacity: 0.55; transform: scale(0.9) rotate(-10deg); filter: drop-shadow(0 0 4px var(--gold-primary)); }
}

/* Shimmer on gold text */
.gold-text {
  background: linear-gradient(
    120deg,
    #d4af37 0%,
    #fff3cc 25%,
    #d4af37 50%,
    #f5d680 75%,
    #aa8420 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shineGold 8s linear infinite;
}

@keyframes shineGold {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* Sound Wave Equalizer Bars in 360 Tour */
.sound-wave-bars {
  display: none;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
  margin-right: 0.35rem;
}

.btn-tour-hud-action.active .sound-wave-bars {
  display: inline-flex;
}

.sound-wave-bars .bar {
  width: 3px;
  background: var(--gold-primary);
  border-radius: 2px;
  animation: soundBarPulse 0.9s ease-in-out infinite alternate;
}

.sound-wave-bars .bar-1 { height: 45%; animation-delay: 0.1s; }
.sound-wave-bars .bar-2 { height: 95%; animation-delay: 0.35s; }
.sound-wave-bars .bar-3 { height: 65%; animation-delay: 0.2s; }

@keyframes soundBarPulse {
  0% { height: 25%; }
  100% { height: 100%; }
}

/* ==========================================================================
   SECTION 3: SIGNATURE RESIDENCES PORTFOLIO
   ========================================================================== */
.section-residences {
  position: relative;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-section-alt) 100%);
  padding: 6.5rem 3.5rem;
  border-top: 1px solid var(--border-glass);
}

.residences-container {
  max-width: 1720px;
  margin: 0 auto;
}

.section-header-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.75rem auto;
}

.section-eyebrow {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.residences-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.residence-card {
  background: rgba(11, 20, 36, 0.76);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-elevation);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  cursor: pointer;
}

.residence-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-primary);
  box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.88), 0 0 32px rgba(245, 190, 56, 0.28);
}

.residence-media {
  position: relative;
  width: 100%;
  height: 270px;
  overflow: hidden;
}

.residence-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.residence-card:hover .residence-img {
  transform: scale(1.07);
}

.residence-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: rgba(8, 14, 26, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.residence-360-pill {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  background: rgba(8, 14, 26, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 0 12px rgba(56, 189, 248, 0.25);
}

.residence-360-pill svg {
  color: var(--azure-primary);
}

.residence-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.residence-location {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}

.residence-name {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.residence-specs-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.spec-dot {
  color: var(--gold-primary);
  opacity: 0.7;
}

.residence-footer {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.residence-price {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  font-weight: 700;
}

.price-val {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff4d1;
  text-shadow: 0 0 20px rgba(245, 190, 56, 0.2);
}

.btn-residence-explore {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(245, 190, 56, 0.14);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.58rem 1.2rem;
  border-radius: var(--radius-pill);
  transition: var(--transition-fast);
}

.btn-residence-explore:hover {
  background: var(--gold-gradient);
  color: #060a12;
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

/* ==========================================================================
   SECTION 4: ARCHITECTURAL AMENITIES
   ========================================================================== */
.section-amenities {
  position: relative;
  background: linear-gradient(180deg, var(--bg-section-alt) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
  padding: 6.5rem 3.5rem;
  border-top: 1px solid var(--border-glass);
}

.amenities-container {
  max-width: 1720px;
  margin: 0 auto;
}

.amenities-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.75rem auto;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.amenity-card {
  background: rgba(11, 20, 36, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.85rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.amenity-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-primary);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 25px rgba(245, 190, 56, 0.22);
}

.amenity-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(245, 190, 56, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.amenity-card:hover .amenity-icon-box {
  background: var(--gold-gradient);
  color: #060a12;
  transform: scale(1.08);
  box-shadow: 0 0 20px var(--gold-glow);
}

.amenity-card h3 {
  font-family: var(--font-serif);
  font-size: 1.28rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.6rem;
  line-height: 1.25;
}

.amenity-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   SECTION 5: EDITORIAL LUXURY FOOTER
   ========================================================================== */
.site-footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-gold-subtle);
  padding: 5rem 3.5rem 2.5rem 3.5rem;
}

.footer-container {
  max-width: 1720px;
  margin: 0 auto;
}

.footer-top-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-tagline {
  margin-top: 1.25rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  max-width: 520px;
}

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

.newsletter-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.newsletter-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
}

.newsletter-input {
  flex: 1;
  background: rgba(11, 20, 36, 0.85);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-pill);
  padding: 0.75rem 1.35rem;
  color: #ffffff;
  font-size: 0.86rem;
  transition: border-color var(--transition-fast);
}

.newsletter-input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 18px rgba(245, 190, 56, 0.3);
}

.btn-newsletter-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold-gradient);
  color: #060a12;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-gold);
  transition: var(--transition-fast);
}

.btn-newsletter-submit:hover {
  background: var(--gold-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(245, 190, 56, 0.55);
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}

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

.footer-links a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

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

/* ==========================================================================
   PHYSICS-BASED 3D TILT & SPECULAR GLARE STYLING
   ========================================================================== */
.tilt-3d-card {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}

.card-glare-sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  z-index: 10;
  opacity: 0;
  mix-blend-mode: screen;
  transition: opacity 0.2s ease;
}

/* 3D Depth Layering on Card Elements */
.residence-card.tilt-3d-card .residence-badge {
  transform: translateZ(28px);
}

.residence-card.tilt-3d-card .residence-360-pill {
  transform: translateZ(26px);
}

.residence-card.tilt-3d-card .residence-name {
  transform: translateZ(22px);
}

.residence-card.tilt-3d-card .residence-price {
  transform: translateZ(20px);
}

.residence-card.tilt-3d-card .btn-residence-explore {
  transform: translateZ(32px);
}

.card-dollhouse-cta.tilt-3d-card .dollhouse-thumb-wrap {
  transform: translateZ(24px);
}

.card-dollhouse-cta.tilt-3d-card .dollhouse-title {
  transform: translateZ(20px);
}

.card-dollhouse-cta.tilt-3d-card .dollhouse-arrow {
  transform: translateZ(26px);
}

.feature-item-pill.tilt-3d-card .feature-icon-circle {
  transform: translateZ(22px);
}

.feature-item-pill.tilt-3d-card h4 {
  transform: translateZ(16px);
}

.amenity-card.tilt-3d-card .amenity-icon-box {
  transform: translateZ(26px);
}

.amenity-card.tilt-3d-card .amenity-title {
  transform: translateZ(18px);
}



