/* ==========================================================================
   ZIONORA × DESERT MODERN - LUXURY REAL ESTATE DESIGN SYSTEM
   High Performance, Ultra-Responsive, Zero-Lag Architecture
   ========================================================================== */

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

/* --- CSS Variables & Design Tokens --- */
:root {
  /* Colors */
  --bg-primary: #F5F6F8;
  --bg-surface: #FFFFFF;
  --bg-dark: #0D1117;
  --bg-dark-card: #161B22;
  --bg-dark-elevated: #1F242C;
  
  --text-main: #111827;
  --text-muted: #6B7280;
  --text-light: #F9FAFB;
  --text-light-muted: #9CA3AF;
  
  --accent-green: #10E760;
  --accent-green-hover: #0cd154;
  --accent-green-glow: rgba(16, 231, 96, 0.25);
  --accent-bronze: #C48044;
  --accent-dark: #111417;
  
  --border-subtle: #E5E7EB;
  --border-dark: rgba(255, 255, 255, 0.1);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-dark-bg: rgba(13, 17, 23, 0.82);
  --glass-border: rgba(255, 255, 255, 0.4);
  
  /* Typography */
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  
  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 45px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 8px 24px var(--accent-green-glow);
  
  /* Transitions & Curves */
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-spring: 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   ANIMATION KEYFRAMES & ENTRANCES
   ========================================================================== */
@keyframes heroFadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-24px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroFadeInUp {
  0% {
    opacity: 0;
    transform: translateY(32px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroHeadlineReveal {
  0% {
    opacity: 0;
    transform: translateY(40px) skewY(1.5deg);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) skewY(0);
    filter: blur(0);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 8px var(--accent-green), 0 0 20px var(--accent-green-glow);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 16px var(--accent-green), 0 0 32px rgba(16, 231, 96, 0.6);
    transform: scale(1.15);
  }
}

@keyframes cardEntrance {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

/* --- Hero Load Animations --- */
.navbar {
  animation: heroFadeInDown 0.8s var(--transition-smooth) both;
}

.hero-tagline-badge {
  animation: heroFadeInUp 0.8s 0.2s var(--transition-smooth) both;
}

.hero-main-title {
  animation: heroHeadlineReveal 1s 0.3s var(--transition-spring) both;
}

.hero-description {
  animation: heroFadeInUp 0.8s 0.5s var(--transition-smooth) both;
}

.hero-search-wrapper {
  animation: heroFadeInUp 0.9s 0.65s var(--transition-spring) both;
}

.logo-dot {
  animation: pulseGlow 2.5s infinite ease-in-out;
}

/* --- Scroll Reveal Framework --- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
  will-change: opacity, transform;
}

.reveal.reveal-left {
  transform: translateX(-40px);
}

.reveal.reveal-right {
  transform: translateX(40px);
}

.reveal.reveal-scale {
  transform: scale(0.92);
}

.reveal.revealed {
  opacity: 1;
  transform: translate(0, 0) scale(1);
  filter: blur(0);
}

/* Stagger Delays */
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }

/* --- Base Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.55;
  overflow-x: hidden;
  position: relative;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.serif-headline {
  font-family: var(--font-serif);
  font-weight: 600;
}

p {
  color: var(--text-muted);
  font-size: 1rem;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

/* --- Layout Containers --- */
.container {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-spacing {
  padding: 100px 0;
}

/* --- UI Buttons & Pills --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 0.935rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  will-change: transform, box-shadow;
}

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

.btn-green {
  background-color: var(--accent-green);
  color: #05260F;
  box-shadow: var(--shadow-glow);
}

.btn-green:hover {
  background-color: var(--accent-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(16, 231, 96, 0.4);
}

.btn-dark {
  background-color: var(--bg-dark);
  color: #FFFFFF;
}

.btn-dark:hover {
  background-color: #242b35;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #FFFFFF;
}

.btn-outline-dark {
  background: transparent;
  color: var(--text-main);
  border: 1.5px solid var(--border-subtle);
}

.btn-outline-dark:hover {
  background: var(--bg-dark);
  color: #FFFFFF;
  border-color: var(--bg-dark);
}

.btn-circle {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ==========================================================================
   HERO & NAVIGATION SECTION (Framed Havenly Aesthetic)
   ========================================================================== */
.hero-wrapper {
  padding: 16px 20px 0;
}

.hero-card {
  position: relative;
  border-radius: 36px;
  min-height: 86vh;
  background: #0E1217 url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?auto=format&fit=crop&w=2200&q=85') center/cover no-repeat;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 40px 48px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 17, 23, 0.65) 0%, rgba(13, 17, 23, 0.4) 40%, rgba(13, 17, 23, 0.88) 100%);
  z-index: 1;
}

/* --- Pill Navbar inside Hero --- */
.navbar {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #FFFFFF;
}

.brand-logo .logo-dot {
  width: 10px;
  height: 10px;
  background-color: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-green);
}

.nav-pill-menu {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-pill-menu li a {
  display: inline-block;
  padding: 8px 18px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-pill);
  transition: var(--transition-fast);
}

.nav-pill-menu li a:hover,
.nav-pill-menu li a.active {
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
}

.nav-pill-menu li a.active {
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle-btn {
  display: none;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* --- Hero Content Area --- */
.hero-body {
  position: relative;
  z-index: 10;
  margin-top: 60px;
  margin-bottom: 30px;
  display: grid;
  grid-template-columns: 1fr;
  max-width: 820px;
}

.hero-tagline-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  color: #FFFFFF;
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
  width: fit-content;
}

.hero-tagline-badge i {
  color: var(--accent-green);
}

.hero-main-title {
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}

.hero-main-title span.accent-highlight {
  color: var(--accent-green);
}

.hero-description {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  max-width: 620px;
}

/* --- Havenly Floating Search Filter Bar --- */
.hero-search-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
}

.search-filter-card {
  background: rgba(13, 17, 23, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 14px 20px 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  transition: var(--transition-smooth);
}

.search-fields-group {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 24px;
}

.search-field {
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
}

.search-field label {
  font-size: 0.725rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.search-field label i {
  color: var(--accent-green);
  font-size: 0.75rem;
}

.search-field select,
.search-field input {
  background: transparent;
  border: none;
  outline: none;
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 600;
  width: 100%;
  cursor: pointer;
}

.search-field select option {
  background-color: var(--bg-dark-card);
  color: #FFFFFF;
}

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

.search-divider {
  width: 1px;
  height: 38px;
  background-color: rgba(255, 255, 255, 0.12);
}

.search-action-btn {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-pill);
  background-color: var(--accent-green);
  color: #072611;
  border: none;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition-bounce);
  box-shadow: 0 4px 18px var(--accent-green-glow);
}

.search-action-btn:hover {
  transform: scale(1.08) rotate(5deg);
  background-color: #2bf376;
}

/* ==========================================================================
   VALUE PROPOSITION & STATS BADGES (Pinterest Havenly Style)
   ========================================================================== */
.value-intro-section {
  padding: 80px 0 60px;
}

.value-intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-bronze);
  margin-bottom: 12px;
}

.value-title {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  line-height: 1.15;
}

.value-description {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.value-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stat-card-badge {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.stat-card-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-green);
  opacity: 0;
  transition: var(--transition-fast);
}

.stat-card-badge:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-card-badge:hover::before {
  opacity: 1;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
  display: flex;
  align-items: baseline;
  gap: 2px;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-number span.accent-plus {
  color: var(--accent-green);
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Value Feature Showcase Image with Float Badges */
.feature-showcase-box {
  position: relative;
}

.feature-main-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 480px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.feature-main-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.feature-showcase-box:hover .feature-main-img-wrap img {
  transform: scale(1.04);
}

.floating-feature-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 5;
  animation: floatSubtle 4s ease-in-out infinite alternate;
}

.floating-card-1 {
  bottom: 24px;
  left: -24px;
}

.floating-card-2 {
  top: 30px;
  right: -20px;
  animation-delay: -2s;
}

@keyframes floatSubtle {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.floating-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-dark);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.floating-card-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.floating-card-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   PROPERTIES SECTION - SIGNATURE HAVENLY NOTCH CARDS
   ========================================================================== */
.properties-section {
  padding: 80px 0 100px;
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 20px;
}

.section-header-left h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.category-filter-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
}

.filter-pill-btn {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.filter-pill-btn:hover {
  border-color: var(--text-main);
  color: var(--text-main);
}

.filter-pill-btn.active {
  background: var(--bg-dark);
  color: #FFFFFF;
  border-color: var(--bg-dark);
}

/* --- Properties Grid --- */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* --- The Signature Havenly Notch Card --- */
.property-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
}

.property-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(16, 231, 96, 0.4);
}

/* Card Image Container with Notch Geometry */
.card-media-wrapper {
  position: relative;
  height: 280px;
  width: 100%;
  overflow: hidden;
  background-color: #E2E8F0;
}

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

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

.card-status-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(13, 17, 23, 0.8);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.card-status-badge.featured {
  background: var(--accent-green);
  color: #072611;
  border: none;
}

/* THE SIGNATURE CURVED NOTCH BUTTON (Pinterest Havenly style) */
.card-notch-action {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 64px;
  height: 64px;
  background: var(--bg-surface);
  border-top-left-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

/* Top inverted corner curve for notch */
.card-notch-action::before {
  content: '';
  position: absolute;
  top: -24px;
  right: 0;
  width: 24px;
  height: 24px;
  background: transparent;
  border-bottom-right-radius: 24px;
  box-shadow: 10px 10px 0 10px var(--bg-surface);
  pointer-events: none;
}

/* Left inverted corner curve for notch */
.card-notch-action::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -24px;
  width: 24px;
  height: 24px;
  background: transparent;
  border-bottom-right-radius: 24px;
  box-shadow: 10px 10px 0 10px var(--bg-surface);
  pointer-events: none;
}

.notch-arrow-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-dark);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition-bounce);
}

.property-card:hover .notch-arrow-circle {
  background: var(--accent-green);
  color: #072611;
  transform: rotate(45deg) scale(1.05);
}

/* Property Details Section */
.card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-specs-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.card-specs-row span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.card-specs-row i {
  color: var(--accent-green-hover);
  font-size: 0.85rem;
}

.property-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.property-card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
  flex: 1;
}

.card-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.price-tag-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.price-tag-amount {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

/* ==========================================================================
   PHILOSOPHY & ARCHITECTURAL HIGHLIGHTS (Desert Modern Narrative)
   ========================================================================== */
.philosophy-section {
  padding: 100px 0;
  background-color: var(--bg-dark);
  color: #FFFFFF;
  border-radius: 40px;
  margin: 40px 20px;
  position: relative;
  overflow: hidden;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.philosophy-text h2 {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  color: #FFFFFF;
  margin-bottom: 24px;
  line-height: 1.2;
}

.philosophy-text p {
  color: var(--text-light-muted);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.features-checklist {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 40px;
}

.features-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #FFFFFF;
}

.check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(16, 231, 96, 0.15);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.philosophy-media {
  position: relative;
}

.philosophy-image-frame {
  border-radius: 28px;
  overflow: hidden;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
}

.philosophy-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.experience-badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: var(--bg-dark-card);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 16px 36px rgba(0,0,0,0.5);
}

.experience-badge .gold-ring {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 3px solid var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--accent-green);
}

/* ==========================================================================
   CURATED SPACES GALLERY
   ========================================================================== */
.gallery-section {
  padding: 90px 0;
}

.gallery-cards-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 24px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 420px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

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

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

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(13, 17, 23, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  color: #FFFFFF;
}

.gallery-item-overlay h3 {
  color: #FFFFFF;
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.gallery-item-overlay p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

/* ==========================================================================
   TESTIMONIALS - HAVENLY NOTCH CARDS CAROUSEL
   ========================================================================== */
.testimonials-section {
  padding: 100px 0;
  background: #FFFFFF;
}

.testimonial-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px;
}

.testimonial-header h2 {
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.testimonial-slider-container {
  position: relative;
  max-width: 1050px;
  margin: 0 auto;
}

.testimonial-track {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--bg-primary);
  border-radius: 28px;
  padding: 40px;
  border: 1px solid var(--border-subtle);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.quote-watermark {
  font-size: 4rem;
  line-height: 1;
  color: var(--accent-green);
  opacity: 0.35;
  font-family: var(--font-serif);
  margin-bottom: 12px;
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-main);
  margin-bottom: 28px;
  font-weight: 500;
}

.testimonial-user-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.user-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-green);
}

.user-meta h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.user-meta p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.rating-stars {
  color: #F59E0B;
  font-size: 0.85rem;
  margin-top: 4px;
}

.slider-controls-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.slider-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-bounce);
}

.slider-nav-btn:hover {
  background: var(--accent-green);
  border-color: var(--accent-green);
  color: #05260F;
  transform: scale(1.08);
}

/* ==========================================================================
   INTERACTIVE TOOLS: MORTGAGE CALCULATOR & TOUR SCHEDULER
   ========================================================================== */
.tools-section {
  padding: 100px 0;
}

.tools-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
}

.tool-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.tool-card-header {
  margin-bottom: 28px;
}

.tool-card-header h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.calc-inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.calc-group {
  display: flex;
  flex-direction: column;
}

.calc-group label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.calc-group input,
.calc-group select {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-subtle);
  background: var(--bg-primary);
  color: var(--text-main);
  font-weight: 600;
  outline: none;
  transition: var(--transition-fast);
}

.calc-group input:focus,
.calc-group select:focus {
  border-color: var(--text-main);
  background: #FFFFFF;
}

.calc-result-box {
  background: var(--bg-dark);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}

.calc-result-box .label {
  font-size: 0.85rem;
  color: var(--text-light-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.calc-result-box .amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-green);
}

/* Tour Booking Form */
.tour-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.form-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-subtle);
  background: var(--bg-primary);
  color: var(--text-main);
  font-weight: 500;
  outline: none;
  transition: var(--transition-fast);
}

.form-input:focus {
  border-color: var(--text-main);
  background: #FFFFFF;
}

/* ==========================================================================
   VIDEO / CINEMATIC CTA SECTION
   ========================================================================== */
.video-cta-section {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  margin: 0 20px 80px;
  background: #0E1217 url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=2200&q=80') center/cover no-repeat;
  padding: 120px 24px;
  text-align: center;
  color: #FFFFFF;
}

.video-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 17, 23, 0.75) 0%, rgba(13, 17, 23, 0.88) 100%);
  z-index: 1;
}

.video-cta-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  margin: 0 auto;
}

.video-play-trigger {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 30px;
  cursor: pointer;
  transition: var(--transition-bounce);
}

.video-play-trigger:hover {
  background: var(--accent-green);
  border-color: var(--accent-green);
  color: #072611;
  transform: scale(1.12);
  box-shadow: 0 0 30px var(--accent-green);
}

.video-cta-content h2 {
  color: #FFFFFF;
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 800;
  margin-bottom: 18px;
}

.video-cta-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  margin-bottom: 36px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background-color: var(--bg-dark);
  color: #FFFFFF;
  padding: 90px 0 40px;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 50px;
  margin-bottom: 70px;
}

.footer-brand h3 {
  color: #FFFFFF;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-light-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 320px;
}

.social-links-row {
  display: flex;
  gap: 12px;
}

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

.social-link-btn:hover {
  background: var(--accent-green);
  color: #072611;
  transform: translateY(-3px);
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  color: var(--text-light-muted);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-col a:hover {
  color: var(--accent-green);
  padding-left: 4px;
}

.newsletter-box form {
  display: flex;
  margin-top: 16px;
}

.newsletter-box input {
  flex: 1;
  padding: 12px 18px;
  border-radius: var(--radius-pill) 0 0 var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
  outline: none;
}

.newsletter-box input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-box button {
  padding: 12px 22px;
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
  background: var(--accent-green);
  color: #072611;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.newsletter-box button:hover {
  background: var(--accent-green-hover);
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: var(--text-light-muted);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-links a:hover {
  color: #FFFFFF;
}

/* ==========================================================================
   MODALS & LIGHTBOXES (Zero-Lag Modal System)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.modal-dialog {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  transform: translateY(30px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(13, 17, 23, 0.1);
  color: var(--text-main);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--bg-dark);
  color: #FFFFFF;
}

.modal-body {
  padding: 36px;
}

.modal-gallery-hero {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 380px;
  margin-bottom: 16px;
}

.modal-gallery-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-gallery-thumbs {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.modal-thumb {
  width: 80px;
  height: 60px;
  border-radius: var(--radius-xs);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition-fast);
}

.modal-thumb.active {
  border-color: var(--accent-green);
}

.modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.amenities-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 24px;
}

.amenity-tag {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.amenity-tag i {
  color: var(--accent-green-hover);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: var(--bg-dark);
  color: #FFFFFF;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--accent-green);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  animation: toastSlideIn 0.3s ease forwards;
  pointer-events: auto;
}

@keyframes toastSlideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   RESPONSIVE DESIGN SYSTEM
   ========================================================================== */
@media (max-width: 1200px) {
  .properties-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-cards-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 992px) {
  .value-intro-grid,
  .philosophy-grid,
  .tools-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .nav-pill-menu {
    display: none;
  }
  
  .menu-toggle-btn {
    display: inline-flex;
  }
  
  .search-filter-card {
    flex-direction: column;
    padding: 20px;
    align-items: stretch;
  }
  
  .search-fields-group {
    flex-direction: column;
    gap: 16px;
  }
  
  .search-divider {
    width: 100%;
    height: 1px;
  }
  
  .search-action-btn {
    width: 100%;
    border-radius: var(--radius-sm);
    height: 48px;
  }
  
  .testimonial-track {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-wrapper {
    padding: 10px 10px 0;
  }
  
  .hero-card {
    border-radius: 24px;
    padding: 20px 20px 36px;
    min-height: 90vh;
  }
  
  .hero-main-title {
    font-size: 2.3rem;
  }
  
  .properties-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-cards-grid {
    grid-template-columns: 1fr;
  }
  
  .value-stats-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .calc-inputs-grid,
  .form-row,
  .features-checklist {
    grid-template-columns: 1fr;
  }
  
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  
  .philosophy-section {
    border-radius: 24px;
    margin: 20px 10px;
    padding: 60px 16px;
  }
  
  .video-cta-section {
    border-radius: 24px;
    margin: 0 10px 60px;
    padding: 80px 16px;
  }
}

/* Mobile Navigation Overlay Drawer */
.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 1050;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-drawer.open {
  transform: translateX(0);
}

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

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 40px 0;
}

.mobile-nav-links a {
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFFFFF;
}

.mobile-nav-links a:hover {
  color: var(--accent-green);
}
