/* ==========================================================================
   HANTASPROPERTIES - LUXURY REAL ESTATE DESIGN SYSTEM & STYLESHEET
   Aesthetics: Deep Obsidian, Champagne Gold, Frost Glassmorphism, 3D Elevation
   ========================================================================== */

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

:root {
  /* Warm Luxury Architectural Theme (Linen Pearl, Royal Navy & Imperial Gold) */
  --bg-primary: #fbfaf7;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f4efe6;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.9);
  --bg-glass-heavy: rgba(255, 255, 255, 0.97);

  /* Gold & Bronze Accents */
  --gold-primary: #b8860b;
  --gold-light: #d4af37;
  --gold-dark: #805803;
  --gold-gradient: linear-gradient(135deg, #d4af37 0%, #b8860b 50%, #7e5203 100%);
  --gold-gradient-soft: linear-gradient(135deg, rgba(184, 134, 11, 0.12) 0%, rgba(184, 134, 11, 0.03) 100%);
  --gold-glow: 0 4px 20px rgba(184, 134, 11, 0.25);
  --gold-glow-intense: 0 6px 30px rgba(184, 134, 11, 0.4);

  /* Highlights */
  --accent-navy: #0e1e38;
  --accent-emerald: #059669;
  --accent-cyan: #0284c7;
  --accent-rose: #e11d48;

  /* Typography & Text */
  --text-primary: #0f1d38;
  --text-secondary: #3b4b66;
  --text-muted: #64748b;
  --text-gold: #966708;

  /* Fonts */
  --font-heading-cinzel: 'Cinzel', serif;
  --font-heading-playfair: 'Playfair Display', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-display: 'Outfit', sans-serif;

  /* Glassmorphism & Borders */
  --border-glass: 1px solid rgba(15, 23, 42, 0.08);
  --border-glass-gold: 1px solid rgba(180, 131, 16, 0.35);
  --border-glass-gold-hover: 1px solid rgba(180, 131, 16, 0.75);
  --glass-blur: blur(16px);
  --glass-blur-heavy: blur(24px);

  /* Shadows */
  --shadow-sm: 0 4px 20px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.15);
  --shadow-gold: 0 12px 30px rgba(180, 131, 16, 0.2);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --container-max-width: 1360px;
  --header-height: 90px;
}

/* ==========================================================================
   MAXIMALIST THEMES ENGINE
   ========================================================================== */
[data-theme="emerald"] {
  --bg-primary: #03140f;
  --bg-secondary: #07241b;
  --bg-tertiary: #0c382b;
  --bg-card: rgba(7, 36, 27, 0.75);
  --bg-card-hover: rgba(12, 56, 43, 0.9);
  --gold-primary: #34d399;
  --gold-light: #a7f3d0;
  --gold-dark: #059669;
  --gold-gradient: linear-gradient(135deg, #a7f3d0 0%, #34d399 50%, #059669 100%);
  --gold-gradient-soft: linear-gradient(135deg, rgba(52, 211, 153, 0.25) 0%, rgba(52, 211, 153, 0.04) 100%);
  --gold-glow: 0 0 35px rgba(52, 211, 153, 0.4);
  --gold-glow-intense: 0 0 55px rgba(52, 211, 153, 0.65);
  --border-glass-gold: 1px solid rgba(52, 211, 153, 0.45);
  --border-glass-gold-hover: 1px solid rgba(52, 211, 153, 0.85);
  --text-gold: #6ee7b7;
}

[data-theme="violet"] {
  --bg-primary: #0b0716;
  --bg-secondary: #160e2b;
  --bg-tertiary: #231645;
  --bg-card: rgba(22, 14, 43, 0.75);
  --bg-card-hover: rgba(35, 22, 69, 0.9);
  --gold-primary: #c084fc;
  --gold-light: #f3e8ff;
  --gold-dark: #9333ea;
  --gold-gradient: linear-gradient(135deg, #f3e8ff 0%, #c084fc 50%, #9333ea 100%);
  --gold-gradient-soft: linear-gradient(135deg, rgba(192, 132, 252, 0.25) 0%, rgba(192, 132, 252, 0.04) 100%);
  --gold-glow: 0 0 35px rgba(192, 132, 252, 0.4);
  --gold-glow-intense: 0 0 55px rgba(192, 132, 252, 0.65);
  --border-glass-gold: 1px solid rgba(192, 132, 252, 0.45);
  --border-glass-gold-hover: 1px solid rgba(192, 132, 252, 0.85);
  --text-gold: #e9d5ff;
}

[data-theme="ruby"] {
  --bg-primary: #140409;
  --bg-secondary: #260812;
  --bg-tertiary: #3d0d1e;
  --bg-card: rgba(38, 8, 18, 0.75);
  --bg-card-hover: rgba(61, 13, 30, 0.9);
  --gold-primary: #fb7185;
  --gold-light: #ffe4e6;
  --gold-dark: #e11d48;
  --gold-gradient: linear-gradient(135deg, #ffe4e6 0%, #fb7185 50%, #e11d48 100%);
  --gold-gradient-soft: linear-gradient(135deg, rgba(251, 113, 133, 0.25) 0%, rgba(251, 113, 133, 0.04) 100%);
  --gold-glow: 0 0 35px rgba(251, 113, 133, 0.4);
  --gold-glow-intense: 0 0 55px rgba(251, 113, 133, 0.65);
  --border-glass-gold: 1px solid rgba(251, 113, 133, 0.45);
  --border-glass-gold-hover: 1px solid rgba(251, 113, 133, 0.85);
  --text-gold: #fecdd3;
}

/* Base Reset */
*, *::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);
  overflow-x: hidden;
}

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

/* Background Ambient Lighting Mesh */
.ambient-glow-1 {
  position: fixed;
  top: -10%;
  left: -10%;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, rgba(6, 9, 14, 0) 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
}

.ambient-glow-2 {
  position: fixed;
  bottom: -15%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, rgba(56, 189, 248, 0.03) 40%, rgba(6, 9, 14, 0) 75%);
  pointer-events: none;
  z-index: 0;
  filter: blur(90px);
}

/* Custom Cursor */
.custom-cursor-dot,
.custom-cursor-ring {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease, transform 0.15s ease-out;
}

.custom-cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--gold-light);
  box-shadow: 0 0 12px var(--gold-primary);
}

.custom-cursor-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(212, 175, 55, 0.5);
  transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease, transform 0.08s ease-out;
}

body:hover .custom-cursor-ring.active {
  width: 56px;
  height: 56px;
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.1);
}

@media (max-width: 991px) {
  .custom-cursor-dot,
  .custom-cursor-ring {
    display: none;
  }
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading-cinzel);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.font-playfair {
  font-family: var(--font-heading-playfair);
}

.font-cinzel {
  font-family: var(--font-heading-cinzel);
}

.font-display {
  font-family: var(--font-display);
}

.gold-gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.silver-gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

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

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Buttons & CTA Systems */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.95rem 2rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  border: none;
  outline: none;
  z-index: 1;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #080b11;
  box-shadow: var(--shadow-gold);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transition: 0.6s ease;
  z-index: -1;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--gold-glow-intense);
  color: #000;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: var(--glass-blur);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.btn-gold-outline {
  background: transparent;
  color: var(--gold-light);
  border: 1px solid rgba(212, 175, 55, 0.6);
  backdrop-filter: var(--glass-blur);
}

.btn-gold-outline:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.3);
}

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 1.15rem 2.5rem;
  font-size: 1.05rem;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  backdrop-filter: blur(10px);
}

.badge-gold {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.badge-exclusive {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.9), rgba(170, 130, 10, 0.95));
  color: #080b11;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

/* Glassmorphic Panel Styles */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--border-glass);
  border-radius: 20px;
  position: relative;
  transition: var(--transition-normal);
}

.glass-panel-glow {
  background: linear-gradient(180deg, rgba(22, 33, 54, 0.65) 0%, rgba(11, 16, 26, 0.8) 100%);
  backdrop-filter: var(--glass-blur-heavy);
  border: var(--border-glass);
  border-radius: 24px;
  position: relative;
}

.glass-panel-glow:hover {
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(212, 175, 55, 0.15);
}

/* Section Header Component */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 4.5rem auto;
  position: relative;
}

.section-subtitle {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gold-primary);
  margin-bottom: 0.85rem;
  position: relative;
}

.section-subtitle::before,
.section-subtitle::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 25px;
  height: 1px;
  background: var(--gold-primary);
  opacity: 0.5;
}

.section-subtitle::before {
  right: 100%;
  margin-right: 12px;
}

.section-subtitle::after {
  left: 100%;
  margin-left: 12px;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.18;
  margin-bottom: 1.25rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 94px;
  z-index: 1000;
  transition: var(--transition-normal);
}

.site-header.scrolled {
  height: 80px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: var(--glass-blur-heavy);
  -webkit-backdrop-filter: var(--glass-blur-heavy);
  border-bottom: 1px solid rgba(180, 131, 16, 0.2);
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.12);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  perspective: 1000px;
}

.brand-logo-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  padding: 4px 8px;
  border-radius: 12px;
  border: 2px solid #d4af37;
  box-shadow: 
    0 10px 25px rgba(0, 0, 0, 0.18),
    0 4px 10px rgba(180, 131, 16, 0.25),
    inset 0 2px 3px rgba(255, 255, 255, 1),
    inset 0 -2px 4px rgba(180, 131, 16, 0.2);
  transform: perspective(600px) rotateX(2deg);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.brand-logo:hover .brand-logo-card {
  transform: perspective(600px) translateY(-3px) scale(1.05) rotateX(0deg);
  border-color: #b48310;
  box-shadow: 
    0 16px 35px rgba(180, 131, 16, 0.4),
    0 6px 15px rgba(0, 0, 0, 0.2),
    inset 0 2px 4px rgba(255, 255, 255, 1);
}

.brand-logo-img {
  height: 68px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
  transition: var(--transition-normal);
}

.site-header.scrolled .brand-logo-img {
  height: 58px;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-heading-cinzel);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #0f172a;
  line-height: 1;
}

.logo-tagline {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--gold-primary);
  margin-top: 4px;
}

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

.nav-link {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: #334155;
  position: relative;
  padding: 0.5rem 0;
  letter-spacing: 0.03em;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: var(--transition-normal);
  border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
  color: #b48310;
}

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

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

.currency-select-wrapper {
  position: relative;
  display: inline-block;
}

.currency-select {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  padding: 0.45rem 1.8rem 0.45rem 0.8rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: var(--transition-fast);
  color-scheme: dark;
}

.currency-select:hover {
  border-color: var(--gold-primary);
}

.currency-select-wrapper::after {
  content: '▼';
  font-size: 0.55rem;
  color: var(--gold-primary);
  position: absolute;
  right: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.mobile-toggle-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  z-index: 1002;
}

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

.nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 7, 13, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.nav-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

body.nav-open {
  overflow: hidden;
}

/* ==========================================================================
   HERO SECTION WITH REAL ESTATE IMAGERY, 3D CANVAS & DISCOVERY BAR
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-height) + 2rem) 0 5rem 0;
  overflow: hidden;
}

.hero-bg-image-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: brightness(0.97) contrast(1.04) saturate(1.06);
  transform: scale(1.05);
  transition: opacity 0.8s ease, transform 1.2s ease;
  animation: heroKenBurns 25s ease-in-out infinite alternate;
}

.hero-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0.08) 35%, rgba(251, 250, 247, 0.92) 100%),
              radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.28) 0%, transparent 75%);
  z-index: 1;
  pointer-events: none;
}

#hero-3d-canvas {
  display: none !important;
}

.hero-backdrop-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: radial-gradient(circle at 50% 35%, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

/* Hero Quick Estate Switcher Pills */
.hero-estate-switcher {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid rgba(184, 134, 11, 0.38);
  padding: 0.45rem 0.75rem;
  border-radius: 9999px;
  backdrop-filter: blur(16px);
  margin-bottom: 2rem;
  box-shadow: 0 10px 28px rgba(15, 29, 56, 0.08);
  max-width: 100%;
}

.hero-switcher-btn {
  position: relative;
  overflow: hidden;
  background: transparent;
  border: 1px solid transparent;
  color: #1e2b45;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 1.1rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.hero-switcher-btn:hover {
  background: rgba(184, 134, 11, 0.12);
  color: #0f1d38;
  border-color: rgba(184, 134, 11, 0.3);
}

.hero-switcher-btn.active {
  background: linear-gradient(135deg, #0e1e38 0%, #172a4c 100%);
  color: #ffffff;
  border-color: #d4af37;
  box-shadow: 0 4px 18px rgba(14, 30, 56, 0.35);
}

.hero-switcher-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2.5px;
  width: 0%;
  background: linear-gradient(90deg, #d4af37, #fef08a);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.9);
  border-radius: 9999px;
  animation: heroSlideTimerProgress 10s linear infinite;
}

@keyframes heroSlideTimerProgress {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1.5px solid rgba(184, 134, 11, 0.42);
  padding: 0.55rem 1.4rem;
  border-radius: 9999px;
  margin-bottom: 1.8rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 18px rgba(184, 134, 11, 0.12);
}

.hero-badge-pill .pill-dot {
  width: 8px;
  height: 8px;
  background-color: var(--gold-light);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--gold-primary);
}

.hero-badge-pill span {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8c5d06;
}

.hero-title {
  font-family: var(--font-heading-cinzel);
  font-size: clamp(2.8rem, 6.4vw, 5.2rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
  color: #0f1d38;
  position: relative;
  display: inline-block;
}

.hero-title::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 108%;
  height: 115%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.48) 50%, transparent 75%);
  filter: blur(14px);
  z-index: -1;
  pointer-events: none;
  border-radius: 9999px;
}

.hero-title .gold-gradient-text {
  background: linear-gradient(180deg, #ffdf6d 0%, #d4af37 22%, #b8860b 52%, #7a5003 82%, #4a3000 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block;
  letter-spacing: 0.04em;
  -webkit-text-stroke: 1.2px rgba(85, 52, 0, 0.45);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.55))
          drop-shadow(0 5px 16px rgba(15, 29, 56, 0.38))
          drop-shadow(0 0 25px rgba(255, 255, 255, 0.95));
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.58vw, 1.32rem);
  color: #2b3952 !important;
  max-width: 840px;
  margin: 0 auto 2.8rem auto;
  line-height: 1.75;
  font-weight: 600;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.85);
  filter: none;
}

.hero-subtitle span {
  color: #926207 !important;
  font-weight: 800 !important;
}

.hero-offer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid rgba(184, 134, 11, 0.45);
  padding: 0.55rem 1.5rem;
  border-radius: 9999px;
  margin-bottom: 2rem;
  box-shadow: 0 6px 20px rgba(184, 134, 11, 0.15);
  font-size: 0.96rem;
  color: #1e2b45;
  font-weight: 600;
  backdrop-filter: blur(12px);
  animation: pulse-glow 3s infinite ease-in-out;
}

.hero-offer-badge strong {
  color: #8c5d06;
  font-weight: 800;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

/* Hero Live Metrics Bar */
.hero-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto 3rem auto;
}

.metric-card {
  padding: 1.25rem 1rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid rgba(184, 134, 11, 0.32);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 24px rgba(15, 29, 56, 0.08);
  transition: var(--transition-normal);
}

.metric-card:hover {
  transform: translateY(-4px);
  border-color: rgba(184, 134, 11, 0.65);
  background: #ffffff;
  box-shadow: 0 15px 35px rgba(184, 134, 11, 0.18);
}

.metric-number {
  font-family: var(--font-heading-cinzel);
  font-size: 2.1rem;
  font-weight: 800;
  color: #a47008 !important;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.metric-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #3b4b66;
}

/* Floating Search Discovery Bar */
.search-discovery-bar {
  background: rgba(13, 19, 31, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.3);
  backdrop-filter: var(--glass-blur-heavy);
  -webkit-backdrop-filter: var(--glass-blur-heavy);
  border-radius: 24px;
  padding: 1.5rem 2rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), var(--gold-glow);
  position: relative;
  z-index: 3;
}

.discovery-tabs {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.85rem;
}

.discovery-tab-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.4rem 1.1rem;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.discovery-tab-btn.active,
.discovery-tab-btn:hover {
  color: #080b11;
  background: var(--gold-gradient);
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.search-inputs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 1rem;
  align-items: center;
}

.input-group-custom {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.input-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-primary);
  margin-bottom: 0.35rem;
}

.input-field-custom {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #fff;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
  transition: var(--transition-fast);
  width: 100%;
}

.input-field-custom:focus {
  border-color: var(--gold-light);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
}

.input-field-custom option {
  background: #0d131f;
  color: #fff;
}

/* ==========================================================================
   ABOUT & BRAND NARRATIVE SECTION
   ========================================================================== */
.about-section {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-visual-col {
  position: relative;
  perspective: 1200px;
}

.about-image-card-3d {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.3);
  transform-style: preserve-3d;
  transition: transform 0.4s ease;
}

.about-main-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
  filter: brightness(0.92) contrast(1.05);
  transition: transform 0.8s ease;
}

.about-image-card-3d:hover .about-main-img {
  transform: scale(1.05);
}

.about-badge-floating {
  position: absolute;
  bottom: 2rem;
  right: -1.5rem;
  background: rgba(11, 16, 26, 0.9);
  backdrop-filter: var(--glass-blur-heavy);
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 20px;
  padding: 1.5rem 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), var(--gold-glow);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  z-index: 3;
}

.about-badge-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #080b11;
  font-size: 1.4rem;
  font-weight: 800;
}

.about-badge-num {
  font-family: var(--font-heading-cinzel);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
}

.about-badge-text {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.about-content-col {
  position: relative;
}

.about-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.about-feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.about-feature-title {
  font-size: 1.05rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: #0f1d38;
  margin-bottom: 0.25rem;
}

.about-feature-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* About Project Interactive Slideshow & Tabs */
.about-header-row {
  margin-bottom: 3.5rem;
  text-align: center;
}

.about-tabs-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  max-width: 980px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid rgba(184, 134, 11, 0.35);
  border-radius: 9999px;
  padding: 0.5rem 0.9rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 25px rgba(15, 29, 56, 0.08);
}

.about-tabs-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.about-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.3rem;
  border-radius: 9999px;
  background: transparent;
  border: 1px solid transparent;
  color: #3b4b66;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.about-tab-btn:hover {
  color: var(--gold-primary);
  background: rgba(184, 134, 11, 0.1);
}

.about-tab-btn.active {
  background: var(--gold-gradient);
  color: #080b11;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(184, 134, 11, 0.35);
  border-color: rgba(184, 134, 11, 0.6);
}

.about-carousel-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.about-nav-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(15, 29, 56, 0.06);
  border: 1px solid rgba(184, 134, 11, 0.35);
  color: #8c5d06;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.about-nav-arrow:hover {
  background: var(--gold-gradient);
  color: #080b11;
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(184, 134, 11, 0.35);
}

.about-slide-counter {
  font-family: var(--font-heading-cinzel);
  font-size: 0.92rem;
  font-weight: 800;
  color: #8c5d06;
  min-width: 52px;
  text-align: center;
}

.about-slides-wrapper {
  position: relative;
  min-height: 520px;
}

.about-slide {
  display: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-slide.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: fadeInAboutSlide 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInAboutSlide {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.about-slide-title {
  font-family: var(--font-heading-cinzel);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.about-actions-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2.2rem;
  flex-wrap: wrap;
}

.about-dots-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 3rem;
}

.about-dot {
  width: 12px;
  height: 12px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(212, 175, 55, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.about-dot:hover {
  background: rgba(212, 175, 55, 0.5);
}

.about-dot.active {
  width: 34px;
  background: var(--gold-gradient);
  border-color: var(--gold-light);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.5);
}

@media (max-width: 991px) {
  .about-tabs-container {
    border-radius: 20px;
    justify-content: center;
  }
  .about-tabs-list {
    justify-content: center;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .about-badge-floating {
    right: 1rem;
    bottom: 1rem;
  }
}

/* ==========================================================================
   FEATURED PROPERTIES (3D TILT CARDS & FILTERS)
   ========================================================================== */
.properties-section {
  padding: 8rem 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
  position: relative;
}

.filter-bar-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.prop-filter-btn {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(184, 134, 11, 0.28);
  color: #3b4b66;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.65rem 1.5rem;
  border-radius: 9999px;
  cursor: pointer;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(15, 29, 56, 0.05);
  transition: var(--transition-normal);
}

.prop-filter-btn:hover,
.prop-filter-btn.active {
  background: var(--gold-gradient);
  border-color: var(--gold-light);
  color: #080b11;
  box-shadow: 0 4px 20px rgba(184, 134, 11, 0.35);
  transform: translateY(-2px);
}

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

/* 3D Property Card */
.property-card-wrapper {
  perspective: 1200px;
}

.property-card {
  background: #ffffff;
  border: 1px solid rgba(184, 134, 11, 0.22);
  border-radius: 22px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  position: relative;
  box-shadow: 0 10px 30px rgba(15, 29, 56, 0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.property-card:hover {
  transform: translateY(-8px);
  border-color: rgba(184, 134, 11, 0.6);
  box-shadow: 0 20px 45px rgba(15, 29, 56, 0.12), 0 0 25px rgba(184, 134, 11, 0.15);
}

.property-media-box {
  position: relative;
  height: 270px;
  overflow: hidden;
}

.property-media-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.property-card:hover .property-media-box img {
  transform: scale(1.08);
}

.property-badge-overlay {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}

.property-favorite-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(11, 16, 26, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 2;
}

.property-favorite-btn:hover,
.property-favorite-btn.active {
  background: rgba(244, 63, 94, 0.9);
  color: #fff;
  border-color: #f43f5e;
  transform: scale(1.1);
}

.property-tour-360-btn {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(11, 16, 26, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 2;
}

.property-tour-360-btn:hover {
  background: var(--gold-gradient);
  color: #080b11;
  border-color: var(--gold-light);
  transform: scale(1.05);
}

.property-info-box {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.property-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.property-price {
  font-family: var(--font-heading-cinzel);
  font-size: 1.65rem;
  font-weight: 800;
  color: #a47008;
}

.property-type-tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.property-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f1d38;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.property-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.property-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(15, 29, 56, 0.08);
  border-bottom: 1px solid rgba(15, 29, 56, 0.08);
  margin-bottom: 1.5rem;
}

.spec-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.spec-val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: #0f1d38;
}

.spec-lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.property-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

/* ==========================================================================
   INTERACTIVE 360° SHOWCASE & ARCHITECTURE VIEWER
   ========================================================================== */
.showcase-360-section {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.showcase-viewer-container {
  position: relative;
  height: 580px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.75), var(--gold-glow);
}

.showcase-bg-panoramic {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.5s ease-out;
}

.showcase-overlay-controls {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(6, 9, 14, 0.3) 0%, rgba(6, 9, 14, 0.1) 50%, rgba(6, 9, 14, 0.8) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.5rem;
  pointer-events: none;
}

.showcase-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: all;
}

/* Interactive Hotspots */
.hotspot-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  cursor: pointer;
  pointer-events: all;
  z-index: 5;
}

.hotspot-core {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold-gradient);
  border: 3px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 20px var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #080b11;
  font-size: 0.8rem;
  transition: var(--transition-fast);
}

.hotspot-card-tooltip {
  position: absolute;
  bottom: 45px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  visibility: hidden;
  background: rgba(11, 16, 26, 0.92);
  backdrop-filter: var(--glass-blur-heavy);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 1rem 1.25rem;
  border-radius: 14px;
  width: 220px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  transition: var(--transition-normal);
  pointer-events: none;
}

.hotspot-pin:hover .hotspot-card-tooltip,
.hotspot-pin.active-tooltip .hotspot-card-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.showcase-bottom-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  pointer-events: all;
  flex-wrap: wrap;
  gap: 1.25rem;
}

/* 4-Project Master Layout Explorer & Tabs */
.layout-project-tabs-container {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.layout-project-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid rgba(184, 134, 11, 0.35);
  padding: 0.5rem 0.8rem;
  border-radius: 9999px;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 25px rgba(15, 29, 56, 0.08);
  justify-content: center;
}

.layout-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid transparent;
  color: #3b4b66;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 1.25rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.layout-tab-tag {
  font-size: 0.68rem;
  background: rgba(184, 134, 11, 0.12);
  color: #8c5d06;
  padding: 2px 7px;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.layout-tab-btn:hover {
  color: var(--gold-primary);
  background: rgba(184, 134, 11, 0.1);
}

.layout-tab-btn.active {
  background: var(--gold-gradient);
  color: #080b11;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(184, 134, 11, 0.35);
  border-color: rgba(184, 134, 11, 0.6);
}

.layout-tab-btn.active .layout-tab-tag {
  background: rgba(8, 11, 17, 0.2);
  color: #080b11;
}

.btn-layout-view-mode {
  background: rgba(11, 16, 26, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
  backdrop-filter: blur(8px);
}

.btn-layout-view-mode:hover,
.btn-layout-view-mode.active {
  background: var(--gold-gradient);
  color: #080b11;
  border-color: var(--gold-light);
  font-weight: 700;
}

/* 4-Project Layout Cards Grid */
.project-layouts-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  margin-top: 3.5rem;
}

.layout-project-card {
  background: #ffffff;
  border: 1px solid rgba(184, 134, 11, 0.25);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 29, 56, 0.06);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  display: flex;
  flex-direction: column;
}

.layout-project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(184, 134, 11, 0.65);
  box-shadow: 0 20px 40px rgba(15, 29, 56, 0.12), 0 0 25px rgba(184, 134, 11, 0.15);
}

.layout-card-media {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.layout-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.layout-project-card:hover .layout-card-media img {
  transform: scale(1.08);
}

.layout-card-badge-row {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  z-index: 2;
}

.layout-card-info {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.layout-card-title {
  font-family: var(--font-heading-cinzel);
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f1d38;
  margin-bottom: 0.35rem;
}

.layout-card-loc {
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.layout-card-features-list {
  font-size: 0.82rem;
  color: #3b4b66;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex-grow: 1;
}

.layout-card-features-list li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.layout-card-features-list li i {
  color: #b8860b;
  flex-shrink: 0;
}

.layout-card-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
}

@media (max-width: 1200px) {
  .project-layouts-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .project-layouts-cards-grid {
    grid-template-columns: 1fr;
  }
  .layout-project-tabs {
    border-radius: 20px;
  }
}

/* ==========================================================================
   SERVICES & BESPOKE CLIENT SOLUTIONS
   ========================================================================== */
.services-section {
  padding: 8rem 0;
  position: relative;
}

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

@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-card {
  padding: 0;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: var(--transition-normal);
  z-index: 3;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(180, 131, 16, 0.8);
  box-shadow: 0 20px 40px rgba(180, 131, 16, 0.2), 0 10px 20px rgba(0, 0, 0, 0.12);
}

.service-card:hover::before {
  opacity: 1;
}

.service-media-box {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.service-media-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-media-box img {
  transform: scale(1.08);
}

.service-icon-box {
  position: absolute;
  left: 1.25rem;
  bottom: 1rem;
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #ffffff;
  border: 1.5px solid #d4af37;
  color: #9a7209;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.35s ease;
}

.service-card:hover .service-icon-box {
  background: var(--gold-gradient);
  color: #080b11;
  border-color: #b48310;
  box-shadow: 0 6px 20px rgba(180, 131, 16, 0.4);
}

.service-card-body {
  padding: 1.25rem 1.4rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-title {
  font-family: var(--font-heading-cinzel);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: #0f172a;
}

.service-desc {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.service-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: #b48310;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.25s ease;
}

.service-link:hover {
  color: #805b05;
  gap: 0.65rem;
}

/* ==========================================================================
   WHY CHOOSE US / LUXURY METRICS & TRUST PILLARS
   ========================================================================== */
.why-us-section {
  padding: 8rem 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, #0c121e 50%, var(--bg-primary) 100%);
  position: relative;
}

.why-us-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4.5rem;
  align-items: center;
}

.why-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}

.why-feature-box {
  padding: 1.8rem;
  background: rgba(16, 24, 39, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  backdrop-filter: blur(14px);
  transition: var(--transition-normal);
}

.why-feature-box:hover {
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-5px);
  background: rgba(22, 33, 54, 0.7);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.why-feature-box h4 {
  font-size: 1.1rem;
  color: #fff;
  margin: 0.8rem 0 0.4rem 0;
}

.why-feature-box p {
  font-size: 0.88rem;
  line-height: 1.6;
}

.why-interactive-card {
  position: relative;
  background: linear-gradient(135deg, rgba(22, 33, 54, 0.85) 0%, rgba(11, 16, 26, 0.95) 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 28px;
  padding: 3rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65), var(--gold-glow);
}

.why-stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.why-stat-row:last-child {
  border-bottom: none;
}

.why-stat-label {
  font-size: 0.95rem;
  color: #cbd5e1;
}

.why-stat-value {
  font-family: var(--font-heading-cinzel);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--gold-light);
}

/* ==========================================================================
   INTERACTIVE MORTGAGE & INVESTMENT ROI CALCULATOR
   ========================================================================== */
.calculator-section {
  padding: 8rem 0;
  position: relative;
}

.calculator-wrapper {
  background: linear-gradient(135deg, rgba(16, 24, 39, 0.8) 0%, rgba(11, 16, 26, 0.9) 100%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 28px;
  padding: 3.5rem;
  backdrop-filter: var(--glass-blur-heavy);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.calc-control-group {
  margin-bottom: 2rem;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.75rem;
}

.calc-label {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: #cbd5e1;
}

.calc-value-display {
  font-family: var(--font-heading-cinzel);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold-light);
}

.range-slider {
  width: 100%;
  height: 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold-gradient);
  border: 2px solid #ffffff;
  cursor: pointer;
  box-shadow: 0 0 12px var(--gold-primary);
  transition: transform 0.15s ease;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Calculator Result Card */
.calc-result-box {
  background: rgba(8, 12, 20, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 22px;
  padding: 2.5rem;
  text-align: center;
  position: relative;
  box-shadow: var(--gold-glow);
}

.calc-monthly-amount {
  font-family: var(--font-heading-cinzel);
  font-size: 3rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1.1;
  margin: 0.75rem 0 1.5rem 0;
}

.calc-breakdown-list {
  text-align: left;
  margin: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.25rem;
}

.calc-breakdown-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.calc-breakdown-row strong {
  color: #fff;
}

/* ==========================================================================
   TESTIMONIALS & PRESS
   ========================================================================== */
.testimonials-section {
  padding: 8rem 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
  position: relative;
}

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

.testimonial-card {
  background: rgba(13, 19, 34, 0.92);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 22px;
  padding: 2.5rem 2rem;
  backdrop-filter: var(--glass-blur);
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
  position: relative;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-light);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 30px rgba(212, 175, 55, 0.25);
}

.stars-row {
  color: var(--gold-light, #ffd700);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  letter-spacing: 2px;
}

.testimonial-quote {
  font-family: var(--font-heading-playfair);
  font-size: 1.12rem;
  font-style: italic;
  color: #f8fafc !important;
  line-height: 1.7;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.client-profile-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
}

.client-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-primary);
}

.client-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold-light, #ffd700) !important;
  font-family: var(--font-display);
}

.client-title {
  font-size: 0.82rem;
  font-weight: 500;
  color: #cbd5e1 !important;
}

/* Press & Recognition Logo Strip */
.press-strip {
  margin-top: 4rem;
  padding: 2rem 1.5rem;
  border: 1px solid rgba(212, 175, 55, 0.25);
  background: rgba(13, 19, 34, 0.75);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
  opacity: 1;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.press-logo {
  font-family: var(--font-heading-cinzel);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold-light, #d4af37) !important;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   VIP CONTACT & CONCIERGE CONSULTATION
   ========================================================================== */
.contact-section {
  padding: 8rem 0;
  position: relative;
}

.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4.5rem;
  align-items: start;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-card {
  padding: 1.8rem;
  background: rgba(13, 19, 34, 0.92);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 18px;
  backdrop-filter: var(--glass-blur);
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition: var(--transition-normal);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}

.contact-info-card:hover {
  border-color: var(--gold-light, #ffd700);
  transform: translateX(6px);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.5), 0 0 25px rgba(212, 175, 55, 0.25);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.18);
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: var(--gold-light, #ffd700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-form-panel {
  background: linear-gradient(135deg, rgba(16, 24, 39, 0.8) 0%, rgba(11, 16, 26, 0.95) 100%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 28px;
  padding: 3rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65), var(--gold-glow);
}

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

.form-group-full {
  margin-bottom: 1.25rem;
}

.luxury-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
  color-scheme: dark;
}

select.luxury-input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  background-size: 1.1rem;
  padding-right: 3rem;
  cursor: pointer;
}

select option,
.luxury-input option,
.currency-select option,
.input-field-custom option {
  background-color: #0f172a !important;
  color: #ffffff !important;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 12px 16px;
}

select option:hover,
select option:focus,
select option:checked {
  background-color: #1e293b !important;
  color: var(--gold-light, #ffd700) !important;
}

.luxury-input:focus {
  border-color: var(--gold-light);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.25);
}

textarea.luxury-input {
  min-height: 120px;
  resize: vertical;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #050811;
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  padding: 5.5rem 0 2.5rem 0;
  position: relative;
  color: #cbd5e1;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.site-footer .logo-title {
  font-family: var(--font-heading-cinzel);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #ffffff !important;
  line-height: 1.1;
}

.site-footer .logo-tagline {
  color: #ffd700 !important;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.site-footer p,
.footer-brand-col p {
  color: #cbd5e1 !important;
  font-size: 0.92rem;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.social-btn svg {
  width: 20px;
  height: 20px;
  display: block;
  transition: transform 0.2s ease;
}

.social-btn:hover {
  background: var(--gold-gradient);
  color: #080b11;
  border-color: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.45);
}

.social-btn:hover svg {
  transform: scale(1.1);
}

.footer-heading {
  font-family: var(--font-heading-cinzel);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff !important;
  margin-bottom: 1.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links-list li {
  margin-bottom: 0.85rem;
}

.footer-links-list a {
  color: #cbd5e1 !important;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
}

.footer-links-list a:hover {
  color: #ffd700 !important;
  padding-left: 6px;
  text-shadow: 0 0 12px rgba(255, 215, 0, 0.45);
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.newsletter-input {
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9999px;
  padding: 0.75rem 1.25rem;
  color: #fff;
  font-size: 0.88rem;
  outline: none;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #94a3b8 !important;
}

.back-to-top-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.back-to-top-btn:hover {
  background: var(--gold-gradient);
  color: #080b11;
  transform: translateY(-4px);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

/* ==========================================================================
   MODAL DIALOGS & TOAST NOTIFICATION SYSTEM
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 6, 10, 0.85);
  backdrop-filter: var(--glass-blur-heavy);
  -webkit-backdrop-filter: var(--glass-blur-heavy);
  z-index: 9990;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  padding: 1.5rem;
}

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

.modal-container {
  background: linear-gradient(135deg, rgba(16, 24, 39, 0.95) 0%, rgba(8, 12, 20, 0.98) 100%);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 28px;
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.8), var(--gold-glow);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 3rem;
}

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

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(244, 63, 94, 0.8);
  border-color: #f43f5e;
  transform: rotate(90deg);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast-item {
  background: rgba(11, 16, 26, 0.92);
  backdrop-filter: var(--glass-blur-heavy);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 1rem 1.5rem;
  border-radius: 14px;
  color: #fff;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.2);
  pointer-events: all;
  animation: slideInToast 0.35s ease forwards;
}

/* ==========================================================================
   GALLERY & MEDIA GRIDS (BASE + RESPONSIVE)
   ========================================================================== */
.gallery-photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.75rem;
}

/* ==========================================================================
   FLOATING MOBILE STICKY QUICK-ACTION CONVERSION BAR
   ========================================================================== */
.mobile-sticky-action-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(8, 14, 25, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1.5px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.6);
  z-index: 9998;
  padding: 0.45rem 0.65rem;
  padding-bottom: calc(0.45rem + env(safe-area-inset-bottom, 0px));
  justify-content: space-around;
  align-items: center;
  gap: 0.5rem;
}

.mobile-action-btn {
  flex: 1;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 0.4rem 0.25rem;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.mobile-call-btn {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(212, 175, 55, 0.35);
  color: var(--gold-light);
}

.mobile-call-btn:active {
  background: var(--gold-primary);
  color: #06090e;
}

.mobile-wa-btn {
  background: rgba(37, 211, 102, 0.16);
  border-color: rgba(37, 211, 102, 0.45);
  color: #25D366;
}

.mobile-wa-btn:active {
  background: #25D366;
  color: #06090e;
}

.mobile-book-btn {
  background: var(--gold-gradient);
  border-color: var(--gold-primary);
  color: #080b11;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
}

.mobile-book-btn:active {
  transform: scale(0.97);
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS - ULTRA-PREMIUM MOBILE OPTIMIZATION
   ========================================================================== */

/* Tablet Landscape & Small Laptops (<= 1200px) */
@media (max-width: 1200px) {
  .properties-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .project-layouts-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablet Portrait & Mobile Devices (<= 991px) */
@media (max-width: 991px) {
  /* Navigation & Header */
  .site-header {
    height: 72px;
  }
  .site-header.scrolled {
    height: 64px;
  }
  .brand-logo {
    gap: 0.65rem;
  }
  .brand-logo-card {
    padding: 3px 6px;
    border-radius: 9px;
  }
  .brand-logo-img {
    height: 44px;
  }
  .site-header.scrolled .brand-logo-img {
    height: 40px;
  }
  .logo-title {
    font-size: 1.05rem;
    letter-spacing: 0.06em;
  }
  .logo-tagline {
    font-size: 0.52rem;
    letter-spacing: 0.16em;
  }

  .mobile-toggle-btn {
    display: flex;
  }

  /* Slide-Out Navigation Drawer */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 86%;
    max-width: 350px;
    height: 100dvh;
    background: linear-gradient(180deg, #091322 0%, #0d1b30 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    padding: 1.5rem 1.25rem 2rem;
    gap: 0;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: -15px 0 45px rgba(0, 0, 0, 0.75);
    z-index: 1002;
    overflow-y: auto;
  }

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

  .nav-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-bottom: 1.15rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    margin-bottom: 1.25rem;
  }

  .nav-drawer-brand {
    display: flex;
    flex-direction: column;
    margin-left: 0.6rem;
    margin-right: auto;
  }

  .nav-drawer-close-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .nav-drawer-close-btn:hover {
    background: rgba(244, 63, 94, 0.8);
    border-color: #f43f5e;
  }

  .nav-links-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    width: 100%;
  }

  .nav-menu .nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    color: #e2e8f0;
    font-size: 0.95rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
  }

  .nav-menu .nav-link::after {
    display: none;
  }

  .nav-menu .nav-link:hover,
  .nav-menu .nav-link:active {
    background: rgba(212, 175, 55, 0.12);
    border-color: rgba(212, 175, 55, 0.35);
    color: var(--gold-light);
    transform: translateX(4px);
  }

  .nav-drawer-footer {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    width: 100%;
  }

  .drawer-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
  }

  .drawer-call-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: var(--gold-light);
  }

  .drawer-wa-btn {
    background: rgba(37, 211, 102, 0.12);
    border: 1px solid rgba(37, 211, 102, 0.4);
    color: #25D366;
  }

  /* Grid Reductions */
  .about-grid,
  .why-us-layout,
  .calculator-wrapper,
  .contact-layout-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Hero Section Mobile/Tablet */
  .hero-section {
    padding: calc(72px + 1.5rem) 0 3.5rem 0;
    min-height: auto;
  }

  .hero-estate-switcher {
    margin-bottom: 1.5rem;
  }

  .hero-title {
    font-size: clamp(2.1rem, 6.5vw, 3.8rem);
    line-height: 1.15;
  }

  .hero-subtitle {
    font-size: 0.98rem;
    line-height: 1.6;
  }

  /* About Project Tabs & Slideshow */
  .about-header-row {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
  }

  .about-tabs-container {
    border-radius: 20px;
    justify-content: center;
    width: 100%;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.75rem;
  }

  .about-tabs-list {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.4rem;
    width: 100%;
    justify-content: flex-start;
  }

  .about-tabs-list::-webkit-scrollbar {
    display: none;
  }

  .about-tab-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 0.5rem 0.95rem;
    font-size: 0.8rem;
  }

  .about-carousel-nav {
    justify-content: center;
    width: 100%;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(184, 134, 11, 0.15);
  }

  .about-image-card-3d {
    width: 100%;
  }

  .about-main-img {
    height: 280px;
    width: 100%;
    object-fit: cover;
  }

  .about-badge-floating {
    position: static;
    margin-top: 0.85rem;
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
  }

  /* Showcase Section */
  .layout-project-tabs {
    border-radius: 20px;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.4rem;
    width: 100%;
    justify-content: flex-start;
    padding: 0.45rem;
  }

  .layout-project-tabs::-webkit-scrollbar {
    display: none;
  }

  .layout-tab-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 0.5rem 0.9rem;
    font-size: 0.8rem;
  }

  .showcase-viewer-container {
    height: 440px;
  }

  .showcase-overlay-controls {
    padding: 1.5rem 1.25rem;
  }

  .showcase-bottom-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  #layout-inquiry-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Smartphone Viewport (< 768px) */
@media (max-width: 768px) {
  /* Body & Layout Padding */
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }

  .mobile-sticky-action-bar {
    display: flex;
  }

  .container {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  /* Elevate WhatsApp widget above sticky bottom bar */
  .whatsapp-bot-wrapper {
    bottom: 74px;
    right: 14px;
  }

  .whatsapp-bot-trigger {
    width: 54px;
    height: 54px;
  }

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

  .whatsapp-chat-card {
    position: fixed;
    bottom: 74px;
    right: 10px;
    left: 10px;
    width: auto;
    max-width: calc(100vw - 20px);
    height: calc(100dvh - 150px);
    max-height: 520px;
    border-radius: 18px;
  }

  /* Section Spacing */
  .hero-section {
    padding: calc(72px + 1.2rem) 0 3rem 0;
  }

  .about-section,
  .showcase-360-section,
  .services-section,
  .why-us-section,
  .testimonials-section,
  .contact-section {
    padding: 4rem 0;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .section-title {
    font-size: clamp(1.65rem, 6.8vw, 2.3rem);
    line-height: 1.2;
  }

  .section-subtitle {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
  }

  .section-desc {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  /* Hero Section Smooth Horizontal Scroll for Projects */
  .hero-estate-switcher {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.4rem;
    padding: 0.35rem 0.5rem;
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
    border-radius: 9999px;
  }

  .hero-estate-switcher::-webkit-scrollbar {
    display: none;
  }

  .hero-switcher-btn {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 0.76rem;
    padding: 0.42rem 0.85rem;
  }

  .hero-badge-pill {
    padding: 0.42rem 0.95rem;
    margin-bottom: 1.15rem;
    max-width: 100%;
  }

  .hero-badge-pill span {
    font-size: 0.74rem;
    letter-spacing: 0.08em;
  }

  .hero-title {
    font-size: clamp(1.85rem, 7.8vw, 2.6rem);
    line-height: 1.18;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
  }

  .hero-offer-badge {
    font-size: 0.8rem;
    padding: 0.45rem 0.85rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .hero-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
    width: 100%;
    margin-top: 1.2rem;
  }

  .metric-card {
    padding: 0.85rem 0.65rem;
    border-radius: 14px;
  }

  .metric-number {
    font-size: 1.35rem;
  }

  .metric-label {
    font-size: 0.72rem;
  }

  /* About Project Content */
  .about-content-col h3 {
    font-size: 1.45rem;
    line-height: 1.25;
  }

  .about-features-list {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    margin: 1.25rem 0;
  }

  .about-feature-item {
    padding: 0.65rem 0.85rem;
    font-size: 0.85rem;
  }

  .about-actions-group {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }

  .about-actions-group .btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.25rem;
    font-size: 0.92rem;
  }

  .about-main-img {
    height: 240px;
  }

  /* Showcase Section */
  .showcase-viewer-container {
    height: 380px;
    border-radius: 18px;
  }

  .showcase-overlay-controls {
    padding: 1rem;
  }

  #layout-viewer-title {
    font-size: 1.3rem !important;
  }

  #layout-viewer-desc {
    font-size: 0.82rem !important;
  }

  .project-layouts-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2rem;
  }

  .layout-card-media {
    height: 190px;
  }

  .layout-card-actions {
    flex-direction: column;
    gap: 0.5rem;
  }

  .layout-card-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Services / Amenities */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .service-card {
    border-radius: 16px;
  }

  .service-card-media {
    height: 160px;
  }

  .service-card-content {
    padding: 1.25rem;
  }

  /* Gallery Photos & Walkthrough Videos */
  .gallery-photos-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 1.5rem;
  }

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

  .photo-card img {
    height: 210px !important;
  }

  .gallery-videos-grid video {
    height: 210px !important;
  }

  /* Contact Us Form */
  .contact-layout-grid {
    gap: 2rem;
  }

  .contact-info-panel {
    padding: 1.5rem 1.25rem;
    border-radius: 18px;
  }

  .contact-form-panel {
    padding: 1.5rem 1.15rem;
    border-radius: 18px;
  }

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

  /* Mobile-friendly Inputs (16px font-size to prevent iOS auto-zoom!) */
  .luxury-input {
    font-size: 16px !important;
    min-height: 48px;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    width: 100%;
    box-sizing: border-box;
  }

  #luxury-form-submit-btn {
    min-height: 52px;
    font-size: 1rem;
    border-radius: 12px;
  }

  /* Modals on Mobile Devices */
  .modal-backdrop {
    padding: 0.85rem;
  }

  .modal-container {
    padding: 2.25rem 1.15rem 1.25rem 1.15rem;
    width: 100%;
    max-height: 92vh;
    border-radius: 20px;
  }

  .modal-close-btn {
    top: 0.85rem;
    right: 0.85rem;
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  #booking-modal-title {
    font-size: 1.4rem !important;
  }

  /* Footer */
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

/* Extra Small Mobile Screens (< 480px, e.g. iPhone SE, Galaxy Fold) */
@media (max-width: 480px) {
  .site-header {
    height: 66px;
  }
  .site-header.scrolled {
    height: 60px;
  }
  .brand-logo-img {
    height: 40px;
  }
  .site-header.scrolled .brand-logo-img {
    height: 36px;
  }
  .logo-title {
    font-size: 0.95rem;
  }
  .logo-tagline {
    font-size: 0.48rem;
  }

  .hero-title {
    font-size: 1.85rem;
  }

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

  .metric-card {
    padding: 0.65rem 0.45rem;
  }

  .metric-number {
    font-size: 1.2rem;
  }

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

  .about-main-img {
    height: 200px;
  }

  .showcase-viewer-container {
    height: 340px;
  }

  .modal-container {
    padding: 2rem 0.95rem 1rem 0.95rem;
  }
}

/* ==========================================================================
   MAXIMALIST LUXURY UI COMPONENTS & DECORATIVE ELEVATION
   ========================================================================== */

/* 1. Opulent Floating Maximalist Dock (Theme, Audio, Compare) */
.maximalist-dock {
  display: none !important;
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  background: var(--bg-glass-heavy);
  backdrop-filter: var(--glass-blur-heavy);
  border: var(--border-glass-gold);
  border-radius: 40px;
  padding: 0.5rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), var(--gold-glow);
  transition: var(--transition-normal);
}

.maximalist-dock:hover {
  border-color: var(--gold-primary);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), var(--gold-glow-intense);
}

.dock-label {
  font-family: var(--font-heading-cinzel);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-light);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding-right: 0.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.theme-switcher-group {
  display: flex;
  gap: 0.4rem;
}

.theme-pill-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.theme-pill-btn:hover,
.theme-pill-btn.active {
  transform: scale(1.25);
  border-color: #fff;
  box-shadow: 0 0 12px currentColor;
}

.theme-pill-btn.gold-theme {
  background: linear-gradient(135deg, #f5df88, #d4af37, #aa820a);
}

.theme-pill-btn.emerald-theme {
  background: linear-gradient(135deg, #a7f3d0, #34d399, #059669);
}

.theme-pill-btn.violet-theme {
  background: linear-gradient(135deg, #f3e8ff, #c084fc, #9333ea);
}

.theme-pill-btn.ruby-theme {
  background: linear-gradient(135deg, #ffe4e6, #fb7185, #e11d48);
}

.dock-divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.15);
}

.sound-toggle-btn,
.compare-drawer-toggle-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
}

.sound-toggle-btn:hover,
.compare-drawer-toggle-btn:hover {
  background: var(--gold-primary);
  color: #06090e;
  border-color: var(--gold-light);
  transform: translateY(-2px);
}

.compare-badge-count {
  background: var(--gold-primary);
  color: #06090e;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 10px;
}

/* 2. Luxury Ticker / Marquee Banner */
.luxury-marquee-section {
  background: linear-gradient(90deg, #091322 0%, #11213b 50%, #091322 100%);
  border-top: 1.5px solid rgba(212, 175, 55, 0.45);
  border-bottom: 1.5px solid rgba(212, 175, 55, 0.45);
  padding: 0.95rem 0;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 45s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  font-family: var(--font-heading-cinzel);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fae19c;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.marquee-star {
  color: #f59e0b;
  font-size: 1rem;
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.7);
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* 3. Filigree Geometric Corner Accents on Cards */
.filigree-card {
  position: relative;
}

.filigree-card::before,
.filigree-card::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid var(--gold-primary);
  pointer-events: none;
  z-index: 5;
  transition: var(--transition-fast);
}

.filigree-card::before {
  top: 10px;
  left: 10px;
  border-right: none;
  border-bottom: none;
}

.filigree-card::after {
  bottom: 10px;
  right: 10px;
  border-left: none;
  border-top: none;
}

.filigree-card:hover::before,
.filigree-card:hover::after {
  width: 20px;
  height: 20px;
  border-color: var(--gold-light);
  box-shadow: 0 0 10px var(--gold-primary);
}

/* 4. Compare Drawer Bottom Slide-Up Panel */
.compare-drawer-panel {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--bg-glass-heavy);
  backdrop-filter: var(--glass-blur-heavy);
  border-top: 2px solid var(--gold-primary);
  box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.8);
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 1.25rem 2rem;
}

.compare-drawer-panel.active {
  transform: translateY(0);
}

.compare-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-max-width);
  margin: 0 auto 1rem auto;
}

.compare-drawer-title {
  font-family: var(--font-heading-cinzel);
  color: var(--gold-light);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.compare-items-row {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding-bottom: 0.5rem;
}

.compare-item-chip {
  background: rgba(255, 255, 255, 0.06);
  border: var(--border-glass-gold);
  border-radius: 12px;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 260px;
}

.compare-item-thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--gold-primary);
}

.compare-item-info {
  flex: 1;
}

.compare-item-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

.compare-item-price {
  font-size: 0.8rem;
  color: var(--gold-light);
  font-weight: 600;
}

.compare-item-remove {
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 2px 6px;
}

/* 5. Compare Button on Cards */
.btn-compare-add {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
  border-radius: 8px;
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.btn-compare-add:hover,
.btn-compare-add.active {
  background: var(--gold-gradient);
  color: #06090e;
  border-color: var(--gold-light);
  font-weight: 700;
}

/* Side by side compare table in modal */
.compare-modal-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.compare-modal-table th,
.compare-modal-table td {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.compare-modal-table th {
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-light);
  font-family: var(--font-heading-cinzel);
  font-size: 0.95rem;
}

.compare-modal-table tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

/* ==========================================================================
   15. WHATSAPP VIP AI CHATBOT WIDGET
   ========================================================================== */
.whatsapp-bot-wrapper {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 99999;
  font-family: var(--font-body);
}

.whatsapp-bot-trigger {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border: 2px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.whatsapp-bot-trigger:hover {
  transform: scale(1.08);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.65);
}

/* Inner circular clipped stage */
.whatsapp-trigger-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* WhatsApp SVG Icon */
.whatsapp-icon-default {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.whatsapp-svg-icon {
  width: 34px;
  height: 34px;
  display: block;
  transform-origin: center center;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
}

/* Smooth Rotation on hover */
.whatsapp-bot-trigger:hover .whatsapp-svg-icon {
  transform: rotate(360deg) scale(1.12);
}

/* Touch / Click / Dynamic Rotation Animation */
.whatsapp-bot-trigger:active .whatsapp-svg-icon,
.whatsapp-bot-trigger.rotate-anim .whatsapp-svg-icon {
  animation: whatsappIconSpin 0.75s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes whatsappIconSpin {
  0% {
    transform: rotate(0deg) scale(1);
  }
  45% {
    transform: rotate(190deg) scale(1.22);
  }
  75% {
    transform: rotate(380deg) scale(1.05);
  }
  100% {
    transform: rotate(360deg) scale(1.1);
  }
}


.whatsapp-trigger-pulse {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: pulseScale 2.2s infinite;
  pointer-events: none;
}

.whatsapp-unread-badge {
  position: absolute;
  top: -4px;
  right: -2px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #0b0f19;
  transition: opacity 0.3s ease;
}

.whatsapp-trigger-tooltip {
  position: absolute;
  right: 74px;
  top: 50%;
  transform: translateY(-50%);
  background: #0f172a;
  color: #ffffff;
  padding: 0.55rem 0.95rem;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid rgba(37, 211, 102, 0.4);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.whatsapp-bot-trigger:hover .whatsapp-trigger-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(-4px);
}

/* Chat Box Window */
.whatsapp-chat-card {
  position: absolute;
  bottom: 75px;
  right: 0;
  width: 360px;
  max-width: calc(100vw - 35px);
  height: 500px;
  background: #0f172a;
  border: 1px solid rgba(37, 211, 102, 0.35);
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.94);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100000;
}

.whatsapp-chat-card.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.whatsapp-chat-header {
  background: linear-gradient(135deg, #075E54 0%, #128C7E 100%);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
}

.whatsapp-avatar-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.whatsapp-avatar {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.whatsapp-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.whatsapp-online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 11px;
  height: 11px;
  background: #25D366;
  border: 2px solid #075E54;
  border-radius: 50%;
}

.whatsapp-bot-name {
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.whatsapp-bot-status {
  font-size: 0.72rem;
  opacity: 0.85;
}

.whatsapp-close-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: background 0.2s ease;
}

.whatsapp-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Chat Body */
.whatsapp-chat-body {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  background: #0b1120 url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%231e293b' fill-opacity='0.4' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.whatsapp-time-divider {
  align-self: center;
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  font-size: 0.7rem;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.whatsapp-msg {
  max-width: 88%;
  display: flex;
  flex-direction: column;
}

.whatsapp-msg-bot {
  align-self: flex-start;
}

.whatsapp-msg-user {
  align-self: flex-end;
}

.whatsapp-msg-bubble {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.45;
}

.whatsapp-msg-bot .whatsapp-msg-bubble {
  background: #1e293b;
  color: #f8fafc;
  border-top-left-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.whatsapp-msg-user .whatsapp-msg-bubble {
  background: #056162;
  color: #ffffff;
  border-top-right-radius: 2px;
}

.whatsapp-msg-time {
  font-size: 0.65rem;
  color: #64748b;
  margin-top: 0.25rem;
}

.whatsapp-msg-user .whatsapp-msg-time {
  align-self: flex-end;
  color: #94a3b8;
}

/* Quick Action Chips */
.whatsapp-quick-chips {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.4rem;
}

.wa-chip-btn {
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: #25D366;
  padding: 0.6rem 0.85rem;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wa-chip-btn:hover {
  background: #25D366;
  color: #0b1120;
  transform: translateX(4px);
}

/* Chat Footer Input */
.whatsapp-chat-footer {
  padding: 0.75rem;
  background: #0f172a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.whatsapp-chat-input {
  flex: 1;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 0.6rem 1rem;
  color: #ffffff;
  font-size: 0.85rem;
  outline: none;
}

.whatsapp-chat-input:focus {
  border-color: #25D366;
}

.whatsapp-send-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #25D366;
  border: none;
  color: #0b1120;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.whatsapp-send-btn:hover {
  transform: scale(1.08);
}

/* Enquiry Summary Card & Action Button */
.wa-summary-card {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(37, 211, 102, 0.4);
  border-radius: 12px;
  padding: 0.85rem;
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: #e2e8f0;
}

.wa-summary-line {
  margin-bottom: 0.35rem;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.8rem;
}

.wa-summary-label {
  color: #94a3b8;
  font-weight: 500;
}

.wa-summary-val {
  color: #25D366;
  font-weight: 700;
  text-align: right;
}

.wa-send-enquiry-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.85rem 1rem;
  margin-top: 0.6rem;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
  transition: all 0.25s ease;
  text-decoration: none;
}

.wa-send-enquiry-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}
