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

/* Lenis Momentum Smooth Scrolling */
html.lenis, html.lenis body {
  height: auto;
}

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

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

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

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* Guard against scroll skipping during brand intro sequence */
html.intro-scroll-locked,
body.intro-scroll-locked {
  overflow: hidden !important;
  height: 100% !important;
  touch-action: none !important;
}

/* ═══════════════════════════════════════════════════════════
   MOKASH MOTION SYSTEM — GPU Compositing & Performance Layer
   Promote animated elements to their own compositor layers
   for zero-stutter scroll-triggered luxury reveals.
   ═══════════════════════════════════════════════════════════ */

/* Elements that will be animated on scroll — promote to GPU layer */
.brand-house-symbol-wrap,
.headline-part-redefining,
.headline-part-urban,
.editorial-brand-body,
.mc-hero-title,
.mc-hero-cta-wrap,
.discovery-title,
.discovery-subtitle,
.portfolio-tabs,
.worth-header,
.calc-results-column,
.contact-info-col,
.contact-form-card,
.channel-card,
.footer-brand-summary,
.mc-stat-item,
.mc-amenity-card,
.mc-gallery-slide,
.blueprint-stage-card,
.about-mv-card,
.about-value-card,
.about-portfolio-card {
  will-change: transform, opacity;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Enable 3D transform context for rotateY headline effects */
.headline-part-redefining,
.headline-part-urban {
  transform-style: preserve-3d;
}

html {
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700 !important;
  letter-spacing: -0.01em;
  color: var(--color-text-main);
}

/* Comprehensive Header & Nav Bold Typography */
header.site-header,
header.site-header .nav-link,
header.site-header a,
.btn-nav-contact,
.mobile-nav-link,
.mobile-cta-btn,
.nav-link {
  font-weight: 700 !important;
}

/* All Section Headings & Hero Headlines Consistent Bold Across Board */
.section-heading,
.section-heading *,
.section-heading em,
.discovery-title,
.discovery-title *,
.discovery-title em,
.mc-hero-title,
.mc-hero-title *,
.mc-hero-title em,
.mc-section-heading,
.mc-section-heading *,
.mc-section-heading em,
.about-hero-title,
.about-intro-heading,
.mc-hero-main-title,
.view-more-title,
.calc-column-title,
.card-property-title,
.hero-headline-part,
.hero-headline-part *,
#headline-energy,
#headline-moves,
.editorial-brand-headline,
.services-editorial-title {
  font-weight: 700 !important;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 2rem;
}

.text-center {
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-primary-light);
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.section-heading {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.section-heading em {
  font-style: italic;
  color: var(--color-primary-light);
}

.section-subtitle {
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Glassmorphism utility */
.glass {
  background: rgba(34, 48, 87, 0.42);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(214, 155, 5, 0.22);
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

/* Luxury buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 13px 28px;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.02em;
  text-align: center;
}

.btn-gold {
  background: linear-gradient(135deg, #E5AB1C 0%, #D69B05 100%);
  color: #121C38;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 6px 20px rgba(214, 155, 5, 0.4);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(214, 155, 5, 0.65);
  background: linear-gradient(135deg, #F0B429 0%, #E5AB1C 100%);
  color: #0E172E;
}

.btn-outline {
  background: rgba(34, 48, 87, 0.35);
  border-color: rgba(214, 155, 5, 0.35);
  color: #FFFFFF;
}

.btn-outline:hover {
  background: rgba(214, 155, 5, 0.18);
  border-color: var(--color-primary);
  color: var(--color-primary-light);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* ============================================================ */
/* 1. INTRO STAGE & HARDWARE ACCELERATED ZOOM                   */
/* ============================================================ */
.intro-stage {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), background 1.5s cubic-bezier(0.2, 0.95, 0.3, 1);
  overflow: hidden;
}

.intro-stage.stage-zoomed {
  background: transparent;
  pointer-events: none;
}

.intro-stage.stage-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.7s ease;
}

.intro-center-group {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro-logo-container {
  width: 264px; /* Reduced by 40% from 440px */
  max-width: 50vw;
  position: absolute;
  z-index: 25;
  transform-origin: center center;
  will-change: transform;
  transform: translateZ(0);
}

.mokash-brand-svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.golden-house-path {
  stroke-dasharray: 3300;
  stroke-dashoffset: 3300;
  will-change: stroke-dashoffset;
}

.mokash-letter {
  opacity: 0;
  transform: translateY(10px);
  will-change: opacity, transform;
}

.urban-real-estate-path {
  opacity: 0;
  transform: translateY(6px);
  will-change: opacity, transform;
}

/* 4. GPU-Accelerated Video Zoom Thumbnail */
.intro-video-thumb {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 15;
  pointer-events: none;
  opacity: 0;
  /* Default initial thumbnail clip at bottom right of logo */
  clip-path: inset(calc(50% + 35px) calc(50% - 295px) calc(50% - 160px) calc(50% + 75px) round 12px);
  will-change: clip-path, opacity;
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.intro-video-thumb video,
.intro-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  display: block;
}

@media (max-width: 1024px) and (min-width: 601px) {
  .intro-video-thumb video {
    object-position: center 38%;
  }
}

@media (max-width: 600px) {
  .intro-video-thumb video {
    object-position: 50% 30%;
  }
}

.intro-video-thumb.thumb-visible {
  opacity: 1;
}

/* Expanding clip-path with 100% GPU acceleration framing into full bleed viewport */
.intro-video-thumb.thumb-expanded {
  clip-path: inset(0 0 0 0 round 0) !important;
  transition: clip-path 1.65s cubic-bezier(0.2, 0.95, 0.3, 1);
}

/* ============================================================ */
/* 2. FLOATING LUXURY HEADER & NAVIGATION (Inspired by Olivia Harper) */
/* ============================================================ */
/* 2. FIGMA SPECIFICATION NAVIGATION BAR (Frame 2147225653)      */
/* ============================================================ */
header.site-header {
  position: fixed;
  top: clamp(14px, 3vh, 32px);
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100vw - 32px), 1562.09px);
  max-width: 1562.09px;
  height: clamp(68px, 8.5vh, 88px);
  z-index: 900;
  background: transparent;
  padding: 0;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), top 0.35s ease, width 0.35s ease, height 0.35s ease;
}

header.site-header.header-hidden {
  opacity: 0 !important;
  pointer-events: none !important;
}

header.site-header.header-visible {
  opacity: 1 !important;
  pointer-events: auto !important;
}

header.site-header.scrolled-header {
  top: clamp(10px, 1.8vh, 18px);
}

/* Translucent Frosted Glass Container (Matching Figma Frame 2147225653 Glass Spec) */
.nav-glass-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding: 0 clamp(24px, 2.5vw, 36px);
  box-sizing: border-box;
  border-radius: 20px;
  /* Authentic High-End Frosted Glass Vibe matching Figma */
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.04) 40%, rgba(18, 24, 40, 0.40) 100%);
  backdrop-filter: blur(28px) saturate(190%) contrast(105%);
  -webkit-backdrop-filter: blur(28px) saturate(190%) contrast(105%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 
    0 24px 60px -12px rgba(0, 0, 0, 0.38),
    0 4px 18px rgba(0, 0, 0, 0.14),
    inset 0 1.5px 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  transition: background 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease,
              box-shadow 0.4s ease;
}

/* Subtle Specular Curved Glass Edge Refraction */
.nav-glass-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 48%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.01) 100%);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  pointer-events: none;
  transition: background 0.4s ease;
}

/* Scrolled Header (Dark Background): Stays true frosted glass */
header.site-header:not(.header-light-mode).scrolled-header .nav-glass-container {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.05) 40%, rgba(16, 22, 38, 0.58) 100%);
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 
    0 24px 50px rgba(0, 0, 0, 0.42),
    inset 0 1.5px 1px rgba(255, 255, 255, 0.45);
}

/* ============================================================ */
/* APPLE ADAPTIVE LIGHT FROSTED GLASS THEME                     */
/* Seamlessly active over white and light backgrounds (e.g. #about) */
/* ============================================================ */
header.site-header.header-light-mode .nav-glass-container,
header.site-header.header-light-mode.scrolled-header .nav-glass-container {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.74) 45%, rgba(240, 245, 255, 0.84) 100%) !important;
  backdrop-filter: blur(28px) saturate(190%) contrast(102%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(190%) contrast(102%) !important;
  border: 1px solid rgba(14, 23, 46, 0.12) !important;
  box-shadow: 
    0 20px 48px -12px rgba(14, 23, 46, 0.10),
    0 4px 16px rgba(14, 23, 46, 0.04),
    inset 0 1.5px 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 1px 0 rgba(14, 23, 46, 0.04) !important;
}

header.site-header.header-light-mode .nav-glass-container::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.02) 100%);
}

/* Left Logo Target Slot (Figma Frame 27: 124.09px x 59.6px) */
.nav-brand-area {
  display: flex;
  align-items: center;
  width: clamp(96px, 10vw, 124.09px);
  height: clamp(44px, 5vh, 56px);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

/* Dual Adaptive Logo Icons (Smooth crossfade between dark/light themes) */
.header-logo-icon {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s ease;
}

.header-logo-icon.logo-dark-mode {
  opacity: 1;
  pointer-events: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.header-logo-icon.logo-light-mode {
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 2px 6px rgba(14, 23, 46, 0.08));
}

header.site-header.header-light-mode .header-logo-icon.logo-dark-mode {
  opacity: 0;
  pointer-events: none;
}

header.site-header.header-light-mode .header-logo-icon.logo-light-mode {
  opacity: 1;
  pointer-events: auto;
}

.header-logo-icon:hover {
  transform: translateY(-50%) scale(1.03);
}

/* Center Nav Links: Figma Auto Layout with 57px Gap (688px x 54px) */
.nav-links {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 3.2vw, 48px);
  height: 48px;
  position: relative;
  z-index: 2;
}

.nav-link {
  font-family: 'Inter', var(--font-body);
  font-style: normal;
  font-weight: 700;
  font-size: 15px;
  line-height: 22px;
  color: #FFFFFF;
  text-decoration: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: color 0.28s ease, opacity 0.28s ease, text-shadow 0.28s ease;
  position: relative;
  padding: 6px 0;
  opacity: 0.95;
}

.nav-link:hover,
.nav-link.active {
  color: #FFFFFF;
  opacity: 1;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.6);
}

/* Nav Links in Light Mode */
header.site-header.header-light-mode .nav-link {
  color: #0E172E;
  opacity: 0.88;
}

header.site-header.header-light-mode .nav-link:hover,
header.site-header.header-light-mode .nav-link.active {
  color: #D69B05;
  opacity: 1;
  text-shadow: none;
}

/* Right Action Items with 10px Border Radius & Consistent Padding */
.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  gap: 12px;
}

.btn-nav-contact {
  display: inline-flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0 24px;
  height: 48px;
  min-width: 126px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: 'Inter', var(--font-body);
  font-style: normal;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  color: #FFFFFF;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), inset 0 1px 0.5px rgba(255, 255, 255, 0.3);
}

.btn-nav-contact:hover {
  background: #FFFFFF;
  color: #101828;
  border-color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.35);
}

/* Contact Button in Light Mode: Sleek High-Contrast Apple Button */
header.site-header.header-light-mode .btn-nav-contact {
  background: #0E172E;
  color: #FFFFFF;
  border: 1px solid #0E172E;
  box-shadow: 0 4px 14px rgba(14, 23, 46, 0.18), inset 0 1px 0.5px rgba(255, 255, 255, 0.2);
}

header.site-header.header-light-mode .btn-nav-contact:hover {
  background: linear-gradient(135deg, #F0B429 0%, #D69B05 100%);
  color: #0E172E;
  border-color: #D69B05;
  box-shadow: 0 8px 24px rgba(214, 155, 5, 0.38);
}

/* Navigation Search & Filter Action Icons */
.nav-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #FFFFFF;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  flex-shrink: 0;
}

.nav-icon-btn:hover {
  background: rgba(214, 155, 5, 0.22);
  border-color: #D69B05;
  color: #FBBF24;
  transform: translateY(-1.5px);
  box-shadow: 0 6px 20px rgba(214, 155, 5, 0.35);
}

.nav-icon-btn:active {
  transform: translateY(0);
}

.nav-icon-btn svg {
  display: block;
  transition: transform 0.22s ease;
}

.nav-icon-btn:hover svg {
  transform: scale(1.12);
}

.nav-icon-btn.has-active-filters::after {
  content: '';
  position: absolute;
  top: 7px;
  right: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #D69B05;
  box-shadow: 0 0 6px #FBBF24;
}

/* Light mode support for nav-icon-btn */
header.site-header.header-light-mode .nav-icon-btn {
  background: rgba(14, 23, 46, 0.06);
  border: 1px solid rgba(14, 23, 46, 0.16);
  color: #0E172E;
  box-shadow: 0 2px 8px rgba(14, 23, 46, 0.05);
}

header.site-header.header-light-mode .nav-icon-btn:hover {
  background: rgba(214, 155, 5, 0.15);
  border-color: #D69B05;
  color: #D69B05;
  box-shadow: 0 4px 14px rgba(214, 155, 5, 0.22);
}

/* Matching Rounded Icon Buttons with 10px Radius */
.nav-social-btn,
.nav-replay-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}

.nav-social-btn:hover,
.nav-replay-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #FFFFFF;
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.25);
}

/* Icon Buttons in Light Mode */
header.site-header.header-light-mode .nav-social-btn,
header.site-header.header-light-mode .nav-replay-btn {
  background: rgba(14, 23, 46, 0.05);
  border: 1px solid rgba(14, 23, 46, 0.14);
  color: #0E172E;
}

header.site-header.header-light-mode .nav-social-btn:hover,
header.site-header.header-light-mode .nav-replay-btn:hover {
  background: rgba(14, 23, 46, 0.10);
  border-color: #0E172E;
  color: #0E172E;
}

/* Mobile Hamburger Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 8px;
  background: rgba(34, 48, 87, 0.6);
  border: 1px solid rgba(214, 155, 5, 0.3);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: all 0.25s ease;
}

header.site-header.header-light-mode .mobile-menu-toggle {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(14, 23, 46, 0.15);
}

header.site-header.header-light-mode .mobile-menu-toggle span {
  background: #0E172E;
}

/* ============================================================ */
/* MOBILE NAVIGATION DRAWER                                     */
/* ============================================================ */
.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 999;
  visibility: hidden;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-drawer.open,
.mobile-nav-drawer.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
}

.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 82vw;
  max-width: 360px;
  height: 100%;
  background: #0E1628;
  border-left: 1px solid rgba(214, 155, 5, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: max(2rem, env(safe-area-inset-top)) max(1.75rem, env(safe-area-inset-right)) max(2rem, env(safe-area-inset-bottom)) 1.75rem;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -15px 0 40px rgba(0, 0, 0, 0.6);
}

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

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

.brand-text-gold {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-primary-light);
}

.brand-text-sub {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--color-text-muted);
}

.mobile-nav-close {
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.mobile-nav-items {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 2rem 0;
}

.mobile-nav-link {
  font-size: 1.15rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  transition: color 0.2s ease;
}

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

.mobile-nav-link.mobile-nav-cta,
.mobile-cta-btn {
  background: linear-gradient(135deg, #E5AB1C 0%, #D69B05 100%);
  color: #121C38 !important;
  font-weight: 700 !important;
  padding: 14px 24px;
  border-radius: 10px;
  text-align: center;
  margin-top: 0.75rem;
  box-shadow: 0 4px 18px rgba(214, 155, 5, 0.4);
}

.mobile-nav-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.25rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* ============================================================ */
/* 3. HERO VIEWPORT (100% Full-Bleed Filling The Viewport)      */
/* ============================================================ */
.hero-viewport-frame {
  box-sizing: border-box;
  width: 100vw;
  width: 100%;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  max-height: 100dvh;
  padding: 0;
  margin: 0;
  background-color: #0A0E18;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  z-index: 20;
}

.hero-cinematic {
  position: relative;
  width: 100%;
  height: 100%;
  flex: 1;
  min-height: 0;
  border-radius: 0; /* 100% full-bleed edge-to-edge as in reference expectation */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  box-shadow: none;
}

/* Universal iOS Safari & WebKit native media control and play button suppression */
video::-webkit-media-controls,
video::-webkit-media-controls-start-playback-button,
video::-webkit-media-controls-play-button,
video::-webkit-media-controls-enclosure,
video::-webkit-media-controls-panel,
video::-webkit-media-controls-overlay-play-button,
video::-webkit-media-controls-current-time-display,
video::-webkit-media-controls-time-remaining-display,
video::-webkit-media-controls-mute-button,
video::-webkit-media-controls-fullscreen-button,
video::-internal-media-controls-overlay-cast-button {
  display: none !important;
  -webkit-appearance: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
}

video::-moz-media-controls { display: none !important; }
video::--moz-range-thumb { display: none !important; }

/* Force remove any default poster/play overlay on mobile */
video {
  -webkit-media-controls-start-playback-button: none !important;
}

/* ============================================================ */
/* 3. MASTER HERO & SCROLL-DRIVEN VIDEO STAGE                   */
/* Ambient Hero Video seamlessly transits to drone_story_master */
/* ============================================================ */
.master-hero-story-container {
  position: relative;
  width: 100%;
  background: #080C16;
  z-index: 20;
  /* Required: no overflow:hidden on the pin container parent — lets ScrollTrigger pin-spacing expand */
  overflow: visible;
}

.master-sticky-stage {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #080C16;
}

.master-video-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  will-change: opacity;
  pointer-events: none;
}

.layer-hero-ambient {
  opacity: 1;
  z-index: 2;
  background: #080C16 url('../assets/images/hero_sunset_poster.jpg') center center / cover no-repeat;
}

.layer-drone-scroll {
  opacity: 0;
  visibility: hidden;
  z-index: 3;
  pointer-events: none;
  background: #080C16 url('../assets/images/drone_story_poster.jpg') center center / cover no-repeat;
  will-change: opacity, visibility;
}

.layer-drone-scroll.active {
  /* active state marker */
  visibility: visible;
  opacity: 1;
}

.master-media-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  image-rendering: -webkit-optimize-contrast;
  filter: contrast(1.025) saturate(1.035);
  pointer-events: none !important;
}

.master-video-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 50%, rgba(8, 12, 22, 0.3) 85%, rgba(8, 12, 22, 0.65) 100%),
              linear-gradient(180deg, rgba(8, 12, 22, 0.35) 0%, transparent 22%, transparent 75%, rgba(8, 12, 22, 0.65) 100%);
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.layer-drone-scroll .master-video-vignette {
  background: radial-gradient(circle at center, transparent 65%, rgba(8, 12, 22, 0.18) 95%),
              linear-gradient(180deg, rgba(8, 12, 22, 0.22) 0%, transparent 18%, transparent 85%, rgba(8, 12, 22, 0.35) 100%);
}

/* Hero Content Overlay (Active on initial view, smoothly fades out as scroll begins) */
.hero-overlay-content {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  pointer-events: auto;
  will-change: opacity, transform;
}

.hero-headline-stage {
  width: 100%;
  max-width: min(94vw, 1540px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  pointer-events: none;
  z-index: 10;
  overflow: visible;
}

.hero-headline-row {
  width: 100%;
  display: flex;
  position: relative;
  overflow: visible;
}

.hero-headline-row.row-left {
  justify-content: flex-start;
  padding-left: clamp(24px, 7.5vw, 120px);
}

.hero-headline-row.row-right {
  justify-content: flex-end;
  padding-right: clamp(24px, 7.5vw, 120px);
  margin-top: clamp(-6px, -1.6vw, -32px);
}

.hero-headline-part {
  display: inline-block;
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 700 !important;
  font-size: clamp(48px, 9.2vw, 142px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: #FFFFFF;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.45);
  white-space: nowrap;
  will-change: transform, opacity;
  transform: translate3d(0, 0, 0);
}

@media (max-width: 768px) {
  .hero-headline-row.row-left {
    padding-left: 16px;
  }
  .hero-headline-row.row-right {
    padding-right: 16px;
    margin-top: 4px;
  }
  .hero-headline-part {
    font-size: clamp(36px, 11vw, 64px);
    line-height: 1.1;
    font-weight: 700 !important;
  }
}

.hero-bottom-bar {
  position: absolute;
  bottom: max(clamp(20px, 3.8vh, 48px), env(safe-area-inset-bottom));
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 4vw, 64px);
  z-index: 15;
}

.hero-info-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(24, 30, 44, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.25s ease;
}

.hero-info-badge:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.08);
}

.info-glyph {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1;
}

.hero-scroll-cue {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.88);
  font-family: 'Inter', var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}







/* ============================================================ */
/* 5. SECTION 3: STATEMENT & METRICS (Pristine White Canvas)     */
/* ============================================================ */
.statement-editorial-section {
  position: relative;
  z-index: 10;
  background: #FFFFFF;
  margin-top: 0;
  padding: clamp(4rem, 7vw, 7rem) clamp(1.5rem, 5vw, 4rem);
  width: 100%;
  box-sizing: border-box;
  scroll-margin-top: 60px;
}

.statement-editorial-container {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}

/* Editorial Brand Composition Stage */
.editorial-brand-composition {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  min-height: 440px;
  padding: 10px 0 20px 0;
}

/* Gold Architectural House Vector Frame */
.brand-house-symbol-wrap {
  position: absolute;
  top: 0;
  left: clamp(10px, 4vw, 70px);
  width: clamp(280px, 27vw, 395px);
  height: auto;
  z-index: 1;
  pointer-events: none;
}

.brand-house-svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
  filter: drop-shadow(0 8px 24px rgba(214, 155, 5, 0.12));
}

#editorial-house-path {
  stroke-dasharray: 1400;
  stroke-dashoffset: 0;
}

/* Typography & Interactive Content */
.editorial-brand-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* 'Redefining Urban Living' Passing Across the House Wall Gap */
.editorial-brand-headline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(3rem, 5.6vw, 5.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #121C38;
  margin: 0;
  /* Position "Redefining" to start inside the house icon open wall gap */
  padding-top: clamp(115px, 13vw, 180px);
  padding-left: clamp(105px, 13vw, 200px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.headline-part-redefining {
  display: inline-block;
  white-space: nowrap;
}

.headline-part-urban {
  display: inline-block;
  white-space: nowrap;
  /* Indent "Urban Living" slightly more to nestle inside the house shape */
  margin-left: clamp(10px, 2.5vw, 40px);
  margin-top: 0.08em;
}

/* Body Text & Action Button (Aligned to the right below Urban Living) */
.editorial-brand-body {
  margin-top: clamp(1.4rem, 2.5vw, 2.5rem);
  margin-left: clamp(340px, 35vw, 540px);
  max-width: 530px;
}

.editorial-brand-text {
  font-family: var(--font-body);
  font-size: clamp(0.92rem, 1.02vw, 1.05rem);
  line-height: 1.78;
  color: #334155;
  font-weight: 400;
  margin: 0 0 1.85rem 0;
  letter-spacing: -0.005em;
  min-height: 120px;
}

.typewriter-cursor {
  display: inline-block;
  font-weight: 300;
  color: #D69B05;
  margin-left: 2px;
  animation: typewriterBlink 0.75s infinite ease-in-out;
}

@keyframes typewriterBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Learn More About Us Button */
.btn-editorial-learn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  height: 48px;
  border: 1.5px solid #121C38;
  border-radius: 10px;
  background: transparent;
  color: #121C38;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(18, 28, 56, 0.06);
}

.btn-editorial-learn:hover {
  background: #121C38;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(18, 28, 56, 0.20);
}

/* Tablet & Mobile Breakpoints */
@media (max-width: 900px) {
  .editorial-brand-headline {
    padding-left: clamp(40px, 6vw, 80px);
    padding-top: clamp(60px, 8vw, 100px);
    font-size: clamp(2.4rem, 6vw, 3.8rem);
  }
  .editorial-brand-body {
    margin-left: clamp(240px, 32vw, 400px);
    max-width: 100%;
  }
}

@media (max-width: 680px) {
  .editorial-brand-composition {
    min-height: auto;
    padding-top: 10px;
  }
  .brand-house-symbol-wrap {
    position: absolute;
    left: clamp(-10px, -2vw, 0px);
    top: -5px;
    width: clamp(220px, 58vw, 280px);
    margin-bottom: 0;
    opacity: 0.9;
    z-index: 1;
    pointer-events: none;
  }
  .editorial-brand-headline {
    position: relative;
    z-index: 2;
    padding-left: clamp(38px, 10vw, 55px);
    padding-top: clamp(65px, 17vw, 95px);
    font-size: clamp(2rem, 7.5vw, 2.75rem);
    line-height: 1.1;
  }
  .headline-part-redefining {
    display: block;
    white-space: nowrap;
  }
  .headline-part-urban {
    display: block;
    white-space: nowrap;
    margin-left: clamp(10px, 2.5vw, 24px);
    margin-top: 0.12em;
  }
  .editorial-brand-body {
    position: relative;
    z-index: 2;
    margin-left: 0;
    margin-top: clamp(7.5rem, 20vw, 9.5rem);
    max-width: 100%;
  }
  .btn-editorial-learn {
    width: 100%;
  }
}

/* ============================================================ */
/* KEY PERFORMANCE METRICS ROW (Exact Uploaded Reference)       */
/* ============================================================ */
.font-bebas {
  font-family: 'Bebas Neue', 'Barlow Condensed', 'Plus Jakarta Sans', sans-serif;
  letter-spacing: 0.01em;
}

.metrics-performance-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1280px;
  margin: clamp(4.5rem, 8vw, 7rem) auto 2.5rem auto;
  padding: 0 clamp(1rem, 2.5vw, 2.5rem);
  width: 100%;
  box-sizing: border-box;
  gap: clamp(1rem, 2.5vw, 2.8rem);
}

.metric-perf-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}

.metric-perf-item:hover {
  transform: translateY(-4px);
}

.metric-perf-number {
  font-family: 'Bebas Neue', 'Barlow Condensed', 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(3.2rem, 5.2vw, 5rem);
  line-height: 1;
  color: #0E172E; /* Deep dark navy matching uploaded reference */
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.metric-perf-item:hover .metric-perf-number {
  color: #D69B05; /* Mokash gold accent on hover */
}

.metric-perf-label {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 0.95vw, 1rem);
  font-weight: 400;
  line-height: 1.45;
  color: #475467; /* Clean slate charcoal */
  margin-top: 14px;
  text-align: center;
  max-width: 180px;
  letter-spacing: -0.005em;
}

/* Tablet & Mobile Responsiveness */
@media (max-width: 960px) {
  .metrics-performance-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem 2rem;
    margin: 4rem auto 2rem auto;
  }
  .metric-perf-item {
    flex: 0 0 calc(33.333% - 2rem);
    min-width: 150px;
  }
}

@media (max-width: 640px) {
  .metrics-performance-row {
    gap: 2.2rem 1.2rem;
  }
  .metric-perf-item {
    flex: 0 0 calc(50% - 1.2rem);
    min-width: 130px;
  }
  .metric-perf-number {
    font-size: clamp(2.6rem, 11vw, 3.6rem);
  }
  .metric-perf-label {
    font-size: 0.82rem;
    margin-top: 8px;
  }
}

/* SVG Canvas for Dynamic Stroke Morphing */
.lens-svg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

/* SVG Guidelines & Orbits */
.lens-orbit-guide {
  fill: none;
  stroke: rgba(18, 28, 56, 0.14);
  stroke-width: 1px;
  stroke-dasharray: 4 6;
  transition: stroke 0.4s ease;
}

.lens-guide-gold {
  stroke: rgba(214, 155, 5, 0.38);
}

/* Side Donut Dynamic Stroke in White Mode */
.lens-morph-ring.ring-stroke-side {
  fill: none;
  stroke: #EDE8DF;
  stroke-width: 44px;
  stroke-linecap: butt;
  transition: stroke-width 0.18s ease-out, stroke 0.4s ease;
  filter: drop-shadow(0 8px 24px rgba(18, 28, 56, 0.08));
}

.metric-lens-card:hover .lens-morph-ring.ring-stroke-side {
  stroke: #E4DCCF;
  filter: drop-shadow(0 12px 28px rgba(214, 155, 5, 0.2));
}

.lens-inner-aperture {
  fill: none;
  stroke: rgba(214, 155, 5, 0.38);
  stroke-width: 1.2px;
}

/* Center Wireframe Rings (02) */
.lens-center-core-ring {
  fill: none;
  stroke: var(--brand-gold, #D69B05);
  stroke-width: 2px;
  filter: drop-shadow(0 4px 18px rgba(214, 155, 5, 0.35));
  transition: stroke 0.4s ease, stroke-width 0.3s ease;
}

.lens-center-inner-ring {
  fill: none;
  stroke: rgba(214, 155, 5, 0.32);
  stroke-width: 1px;
  stroke-dasharray: 6 6;
}

.metric-lens-card.lens-hero-center:hover .lens-center-core-ring {
  stroke: #F5B92A;
  stroke-width: 2.75px;
  filter: drop-shadow(0 0 24px rgba(214, 155, 5, 0.65));
}

/* Center Portal Viewport with Clean Light Scrim */
.lens-portal-viewport {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  overflow: hidden;
  opacity: 0.28;
  transform: scale(0.96);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 1;
}

.lens-portal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.92) saturate(1.15);
  transform: scale(1.08);
  transition: transform 1.2s ease;
}

.lens-portal-scrim-light {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 20%, rgba(255, 255, 255, 0.88) 100%);
}

.metric-lens-card.lens-hero-center:hover .lens-portal-viewport {
  opacity: 0.55;
  transform: scale(1);
}

.metric-lens-card.lens-hero-center:hover .lens-portal-img {
  transform: scale(1.15);
}

/* Content Wrap Inside Each Lens */
.lens-content-wrap {
  position: relative;
  z-index: 4;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  max-width: 82%;
  pointer-events: none;
  user-select: none;
}

.lens-content-center {
  max-width: 78%;
}

/* Index Tag (/ 01, / 02, / 03) */
.lens-index-tag {
  font-family: var(--font-body);
  font-size: clamp(0.74rem, 0.88vw, 0.88rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-gold, #D69B05);
  font-weight: 700;
  margin-bottom: 0.25rem;
  display: inline-block;
}

.lens-index-gold {
  color: var(--brand-gold, #D69B05);
  font-weight: 700;
}

/* Metric Numeric Value (Crisp Deep Navy on White) */
.lens-metric-val {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2.8rem, 4.6vw, 4.8rem);
  line-height: 1.05;
  font-weight: 500;
  color: #121C38; /* Crisp Deep Brand Navy */
  margin-bottom: 0.35rem;
  letter-spacing: -0.015em;
  padding-bottom: 0.08em;
  will-change: transform;
  transition: transform 0.4s ease;
}

.lens-metric-gold {
  color: var(--brand-gold, #D69B05);
  font-size: clamp(3.2rem, 5.2vw, 5.4rem);
  font-weight: 600;
  text-shadow: 0 4px 18px rgba(214, 155, 5, 0.25);
}

.metric-lens-card:hover .lens-metric-val {
  transform: scale(1.05);
}

/* Metric Title (Bold, High Contrast, 100% Readable) */
.lens-metric-title {
  font-family: var(--font-body);
  font-size: clamp(0.82rem, 1.02vw, 1.05rem);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #121C38; /* Deep Navy, ultra-visible! */
  font-weight: 700;
  margin: 0 0 0.35rem 0;
  line-height: 1.35;
  max-width: 240px;
}

.lens-title-dark {
  color: #121C38;
  font-weight: 800;
}

/* Metric Caption */
.lens-metric-caption {
  font-family: var(--font-body);
  font-size: clamp(0.7rem, 0.8vw, 0.78rem);
  letter-spacing: 0.08em;
  color: #556586;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.3;
  font-weight: 500;
}

/* Responsive Handling for Tablet & Mobile */
@media (max-width: 1024px) {
  .arch-metrics-lens-stage {
    gap: 1.5rem;
  }
  .metric-lens-card.lens-side {
    width: clamp(230px, 28vw, 290px);
    height: clamp(230px, 28vw, 290px);
  }
  .metric-lens-card.lens-hero-center {
    width: clamp(280px, 34vw, 360px);
    height: clamp(280px, 34vw, 360px);
  }
}

@media (max-width: 820px) {
  .arch-metrics-lens-stage {
    flex-direction: column;
    gap: 2.75rem;
    margin: 2.5rem auto;
  }
  .metric-lens-card.lens-side,
  .metric-lens-card.lens-hero-center {
    width: min(320px, 86vw);
    height: min(320px, 86vw);
  }
}


.about-media-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  padding: 12px;
}

.about-img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}

.media-floating-badge {
  position: absolute;
  bottom: 28px;
  left: 28px;
  background: rgba(7, 11, 20, 0.88);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(214, 155, 5, 0.35);
  border-radius: 14px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}

.media-floating-badge .badge-icon {
  font-size: 1.6rem;
}

.media-floating-badge strong {
  display: block;
  font-size: 0.9rem;
  color: #FFFFFF;
}

.media-floating-badge p {
  font-size: 0.75rem;
  color: var(--color-primary-light);
  margin: 0;
}

/* ============================================================ */
/* ============================================================ */
/* 5. LUXURY DISCOVERY SUITE: PROPERTIES & SERVICED APARTMENTS  */
/* Inspired by Douglas Elliman & Mokash Portfolio Architecture  */
/* ============================================================ */
.properties-discovery-section {
  position: relative;
  padding: 7rem 0 9rem 0;
  background: radial-gradient(circle at 15% 20%, rgba(214, 155, 5, 0.05), transparent 40%),
              radial-gradient(circle at 85% 60%, rgba(34, 48, 87, 0.25), transparent 50%),
              linear-gradient(180deg, #070B14 0%, #0B101D 50%, #070B14 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
}

.anchor-point-spacer {
  position: absolute;
  top: -80px;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.properties-discovery-container {
  max-width: 1540px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3.5vw, 2.5rem);
  box-sizing: border-box;
}

/* Header */
.discovery-header {
  max-width: 820px;
  margin: 0 auto 3rem auto;
}

.discovery-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(214, 155, 5, 0.12);
  border: 1px solid rgba(214, 155, 5, 0.35);
  color: #D69B05;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #D69B05;
  box-shadow: 0 0 8px #D69B05;
}

.discovery-title {
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.discovery-title em {
  font-family: var(--font-display-serif);
  font-style: italic;
  font-weight: 700;
  color: #D69B05;
}

.discovery-subtitle {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(244, 247, 255, 0.7);
  max-width: 680px;
  margin: 0 auto;
}

/* ------------------------------------------------------------ */
/* Tabs Navigation (All, Properties for Sale, Serviced)         */
/* ------------------------------------------------------------ */
.portfolio-tabs-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 2.25rem;
}

.portfolio-tabs {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: rgba(14, 22, 40, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 6px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  gap: 4px;
}

.portfolio-tab-btn {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: none;
  color: rgba(244, 247, 255, 0.7);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 10px 22px;
  border-radius: 10px;
  cursor: pointer;
  transition: color 0.25s ease;
}

.portfolio-tab-btn:hover {
  color: #FFFFFF;
}

.portfolio-tab-btn.active {
  color: #070B14;
  font-weight: 700;
}

.portfolio-tab-btn .tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
  transition: all 0.25s ease;
}

.portfolio-tab-btn.active .tab-count {
  background: rgba(0, 0, 0, 0.18);
  color: #070B14;
}

.tab-active-indicator {
  position: absolute;
  top: 6px;
  left: 6px;
  height: 42px;
  width: 177px;
  background: linear-gradient(135deg, #ECC466 0%, #D69B05 100%);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(214, 155, 5, 0.4);
  z-index: 1;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), width 0.35s cubic-bezier(0.25, 1, 0.5, 1), height 0.25s ease;
  pointer-events: none;
  will-change: transform, width;
}

/* ------------------------------------------------------------ */
/* Douglas Elliman Luxury Filter Bar                            */
/* ------------------------------------------------------------ */
.elliman-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding: 1rem 1.5rem;
  border-radius: 18px;
  background: rgba(14, 22, 40, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 2rem;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}

.filter-search-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 360px;
  min-width: 0;
}

.filter-search-box {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
}

.filter-search-icon {
  position: absolute;
  left: 16px;
  color: #D69B05;
  pointer-events: none;
  transition: transform 0.22s ease, color 0.22s ease;
}

.filter-search-input:focus ~ .filter-search-icon,
.filter-search-box:hover .filter-search-icon {
  color: #FBBF24;
  transform: scale(1.1);
}

/* Dedicated Filter Toggle Button with Filter Icon */
.btn-filter-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(214, 155, 5, 0.38);
  border-radius: 10px;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-filter-toggle:hover,
.btn-filter-toggle.active {
  background: rgba(214, 155, 5, 0.22);
  border-color: #D69B05;
  color: #FBBF24;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(214, 155, 5, 0.32);
}

.btn-filter-toggle svg {
  color: #D69B05;
  transition: transform 0.25s ease, color 0.25s ease;
}

.btn-filter-toggle:hover svg,
.btn-filter-toggle.active svg {
  color: #FBBF24;
  transform: rotate(180deg);
}

.filter-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #D69B05;
  color: #070B14;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}

/* Light background theme variant for filter toggle */
.properties-discovery-section.white-bg-theme .btn-filter-toggle {
  background: #FFFFFF;
  border-color: rgba(214, 155, 5, 0.45);
  color: #0E172E;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.properties-discovery-section.white-bg-theme .btn-filter-toggle:hover,
.properties-discovery-section.white-bg-theme .btn-filter-toggle.active {
  background: rgba(214, 155, 5, 0.12);
  border-color: #D69B05;
  color: #B48204;
}

/* Pulse Highlight */
@keyframes goldPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(214, 155, 5, 0.7);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(214, 155, 5, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(214, 155, 5, 0);
  }
}

.pulse-highlight {
  animation: goldPulse 1.6s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
  border-color: #D69B05 !important;
}

.filter-search-input {
  width: 100%;
  padding: 11px 44px 11px 44px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.22s ease, background 0.22s ease;
}

.filter-search-input:focus {
  border-color: #D69B05;
  background: rgba(255, 255, 255, 0.08);
}

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

.filter-search-clear {
  position: absolute;
  right: 16px;
  background: transparent;
  border: none;
  color: rgba(244, 247, 255, 0.4);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: none;
  padding: 2px 6px;
}

.filter-search-clear:hover {
  color: #FFFFFF;
}

.filter-dropdowns-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.filter-dropdown-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.filter-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(244, 247, 255, 0.5);
  font-weight: 600;
  margin-left: 2px;
}

.filter-select {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.05) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(214,155,5,0.85)' 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") no-repeat calc(100% - 16px) center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 9px 42px 9px 16px;
  border-radius: 10px;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  transition: border-color 0.22s ease, background-color 0.22s ease;
}

.filter-select:hover,
.filter-select:focus {
  border-color: #D69B05;
  background-color: rgba(255, 255, 255, 0.08);
}

.filter-select option {
  background: #0B101D;
  color: #FFFFFF;
  padding: 8px;
}

/* View Modes Switch (Split, List, Map) */
.filter-view-modes {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 3px;
  gap: 2px;
}

.view-mode-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  color: rgba(244, 247, 255, 0.6);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.view-mode-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.06);
}

.view-mode-btn.active {
  background: rgba(214, 155, 5, 0.2);
  color: #ECC466;
  border: 1px solid rgba(214, 155, 5, 0.4);
}

/* ------------------------------------------------------------ */
/* Results Sub-Bar & Meta Counts                                */
/* ------------------------------------------------------------ */
.results-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.results-heading {
  font-size: 1.45rem;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.3;
}

.results-subtext {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(244, 247, 255, 0.55);
  margin-left: 8px;
}

.results-actions-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sort-control-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sort-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(244, 247, 255, 0.5);
  font-weight: 600;
}

.sort-select {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.04) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(214,155,5,0.85)' 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") no-repeat calc(100% - 14px) center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 36px 6px 14px;
  border-radius: 8px;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  outline: none;
}

.sort-select option {
  background: #0B101D;
  color: #FFFFFF;
}

.btn-reset-filters {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-reset-filters:hover {
  background: rgba(214, 155, 5, 0.2);
  border-color: #D69B05;
  color: #ECC466;
}

/* ------------------------------------------------------------ */
/* Portal Main Layout: Split Mode, List Mode, Map Mode          */
/* ------------------------------------------------------------ */
.properties-portal-layout {
  display: grid;
  gap: 2.25rem;
  transition: all 0.3s ease;
}

/* 1. Split Mode (Default): 2 Cards side-by-side on left, Sticky Map right */
.properties-portal-layout.split-mode {
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}

.properties-portal-layout.split-mode .properties-cards-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.properties-portal-layout.split-mode .properties-map-column {
  display: block;
  position: relative;
  height: 100%;
}

/* 2. List Only Mode: Full-width responsive cards grid */
.properties-portal-layout.list-mode {
  grid-template-columns: 1fr;
}

.properties-portal-layout.list-mode .properties-cards-column {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
  gap: 2.25rem;
}

.properties-portal-layout.list-mode .properties-map-column {
  display: none;
}

/* 3. Map Only Mode: Map full width, cards drawer */
.properties-portal-layout.map-mode {
  grid-template-columns: 1fr;
}

.properties-portal-layout.map-mode .properties-cards-column {
  display: none;
}

.properties-portal-layout.map-mode .properties-map-column {
  display: block;
  width: 100%;
}

.properties-portal-layout.map-mode .map-sticky-wrapper {
  height: 780px !important;
}

/* ------------------------------------------------------------ */
/* Luxury Property Card (Douglas Elliman Grade)                 */
/* ------------------------------------------------------------ */
.property-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), 
              border-color 0.28s ease, 
              box-shadow 0.28s ease;
}

.property-card:hover {
  transform: translateY(-4px);
  border-color: #CBD5E1;
  box-shadow: 0 16px 36px rgba(18, 28, 56, 0.08);
}

.property-card.active-map-target {
  border-color: #D97706;
  box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.5), 0 16px 36px rgba(18, 28, 56, 0.12);
  transform: translateY(-3px);
}

/* Card Visual Carousel */
.card-media-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  background: #F1F5F9;
  overflow: hidden;
}

.card-carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.card-carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
}

.card-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.property-card:hover .card-carousel-slide img {
  transform: scale(1.03);
}

/* Carousel Overlay Navigation */
.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease, transform 0.2s ease;
  z-index: 5;
  font-size: 1.1rem;
  line-height: 1;
}

.carousel-nav-prev { left: 10px; }
.carousel-nav-next { right: 10px; }

.property-card:hover .carousel-nav-btn {
  opacity: 1;
}

.carousel-nav-btn:hover {
  background: #D97706;
  color: #FFFFFF;
  border-color: #D97706;
}

/* Carousel Dots Indicator */
.carousel-dots-bar {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 5px;
  z-index: 4;
  pointer-events: none;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: all 0.25s ease;
}

.carousel-dot.active {
  width: 16px;
  border-radius: 999px;
  background: #D97706;
}

/* Reference Badges - Top-Left: [ For Sale ] [ Residential ] */
.card-badges-left {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 4;
}

.card-badge-pill {
  background: #FFFFFF;
  color: #1F2937;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  white-space: nowrap;
  line-height: 1.3;
}

/* Reference Badges - Top-Right: [ Apartment ] */
.card-badges-right {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 4;
}

.card-badge-type {
  background: #2563EB;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 13px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.32);
  white-space: nowrap;
  line-height: 1.3;
}

/* Card Content Area */
.card-content-wrap {
  padding: 1.25rem 1.35rem 1.35rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: #FFFFFF;
}

/* Title */
.card-property-title {
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 500;
  color: #111827;
  line-height: 1.3;
  margin: 0 0 6px 0;
  cursor: pointer;
  transition: color 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-property-title:hover {
  color: #D97706;
}

/* Location with Pin Icon */
.card-property-address {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: #6B7280;
  margin-bottom: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-property-address svg {
  flex-shrink: 0;
  color: #6B7280;
}

/* Specifications Row with clean pills */
.card-specs-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 0.95rem;
}

.spec-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F3F4F6;
  color: #4B5563;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 6px;
}

.spec-pill svg {
  color: #6B7280;
  flex-shrink: 0;
}

/* Hairline Divider */
.card-divider {
  width: 100%;
  height: 1px;
  background: #E5E7EB;
  margin: 0.2rem 0 1rem 0;
}

/* Card Bottom Row: Price & View Details CTA */
.card-footer-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.card-price-block {
  display: flex;
  flex-direction: column;
}

.card-price-label {
  font-size: 0.78rem;
  color: #9CA3AF;
  margin-bottom: 2px;
}

.card-price-amount {
  font-family: var(--font-body);
  font-size: 1.48rem;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.card-price-subperiod {
  font-size: 0.82rem;
  font-weight: 500;
  color: #6B7280;
  margin-left: 2px;
}

.card-btn-view-details {
  background: transparent;
  border: 1.5px solid #D97706;
  color: #D97706;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.card-btn-view-details:hover {
  background: #D97706;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.25);
}

/* ------------------------------------------------------------ */
/* Sticky Luxury Map Column & Leaflet Styling                   */
/* ------------------------------------------------------------ */
.properties-map-column {
  position: relative;
  height: 100%;
}

.map-sticky-wrapper {
  position: -webkit-sticky;
  position: sticky;
  top: 96px;
  height: calc(100vh - 130px);
  min-height: 500px;
  max-height: 680px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  background: #070B14;
}

.properties-leaflet-map {
  width: 100%;
  height: 100%;
  background: #070B14;
  z-index: 1;
}

/* Dark & Light mode styling for OSM map tiles */
.properties-leaflet-map.theme-dark .leaflet-tile-pane {
  filter: brightness(0.62) invert(1) contrast(2.8) hue-rotate(205deg) saturate(0.2);
  transition: filter 0.3s ease;
}

.properties-leaflet-map.theme-light .leaflet-tile-pane {
  filter: brightness(0.96) contrast(1.08) saturate(0.8);
  transition: filter 0.3s ease;
}

/* Map HUD Floating Toolbar */
.map-hud-toolbar {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.map-hud-pill {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(7, 11, 20, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.hud-dot.live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 10px #22C55E;
  animation: pulse-live 2s infinite;
}

@keyframes pulse-live {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.map-hud-actions {
  pointer-events: auto;
  display: flex;
  gap: 6px;
  margin-left: auto;
}

.map-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(7, 11, 20, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.map-btn:hover {
  background: #D69B05;
  color: #070B14;
  border-color: #D69B05;
}

.map-btn.map-btn-wide {
  width: auto;
  padding: 0 10px;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  font-family: var(--font-body);
}

.map-btn.active {
  background: linear-gradient(135deg, #ECC466 0%, #D69B05 100%) !important;
  color: #070B14 !important;
  border-color: rgba(214, 155, 5, 0.7) !important;
  box-shadow: 0 4px 14px rgba(214, 155, 5, 0.4) !important;
}

.properties-leaflet-map.map-mode-satellite .leaflet-tile-pane {
  filter: none !important;
}

.properties-leaflet-map .leaflet-control-zoom {
  border: none !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
  margin-left: 16px !important;
  margin-top: 64px !important;
}

.properties-leaflet-map .leaflet-control-zoom a {
  background: rgba(255, 255, 255, 0.95) !important;
  color: #121C38 !important;
  border: none !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  width: 32px !important;
  height: 32px !important;
  line-height: 32px !important;
  font-weight: 700 !important;
  transition: all 0.2s ease !important;
}

.properties-leaflet-map .leaflet-control-zoom a:hover {
  background: #D69B05 !important;
  color: #FFFFFF !important;
}

/* Map Legend Overlay */
.map-legend-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 1000;
  background: rgba(7, 11, 20, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 14px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.72rem;
  color: rgba(244, 247, 255, 0.85);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-marker {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

.legend-marker.marker-sale {
  background: #D69B05;
  box-shadow: 0 0 6px rgba(214, 155, 5, 0.8);
}

.legend-marker.marker-serviced {
  background: #0EA5E9;
  box-shadow: 0 0 6px rgba(14, 165, 233, 0.8);
}

/* ------------------------------------------------------------ */
/* Custom Leaflet Map Pin (Gold Emblem & Price Tag)             */
/* ------------------------------------------------------------ */
.custom-property-pin {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transform: translate3d(0, 0, 0);
  transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}

.custom-property-pin:hover,
.custom-property-pin.active {
  transform: scale(1.18) translateY(-6px);
  z-index: 9999 !important;
}

.pin-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #1A2338 0%, #0B101D 100%);
  border: 1.5px solid #D69B05;
  color: #FFFFFF;
  padding: 5px 10px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5), 0 0 12px rgba(214, 155, 5, 0.35);
  white-space: nowrap;
  font-family: var(--font-body);
  transition: all 0.2s ease;
}

.pin-serviced .pin-badge {
  border-color: #0EA5E9;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5), 0 0 12px rgba(14, 165, 233, 0.35);
}

.custom-property-pin:hover .pin-badge,
.custom-property-pin.active .pin-badge {
  background: linear-gradient(135deg, #ECC466 0%, #D69B05 100%);
  color: #070B14;
  border-color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(214, 155, 5, 0.6), 0 0 20px rgba(214, 155, 5, 0.8);
}

.pin-house-icon {
  width: 14px;
  height: 14px;
  stroke: #ECC466;
  transition: stroke 0.2s ease;
}

.pin-serviced .pin-house-icon {
  stroke: #0EA5E9;
}

.custom-property-pin:hover .pin-house-icon,
.custom-property-pin.active .pin-house-icon {
  stroke: #070B14;
}

.pin-price {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.pin-pointer {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 7px solid #D69B05;
  margin-top: -1px;
}

.pin-serviced .pin-pointer {
  border-top-color: #0EA5E9;
}

.custom-property-pin:hover .pin-pointer,
.custom-property-pin.active .pin-pointer {
  border-top-color: #D69B05;
}

.pin-pulse {
  position: absolute;
  bottom: -4px;
  width: 12px;
  height: 6px;
  background: rgba(214, 155, 5, 0.6);
  border-radius: 50%;
  animation: radar-pulse 2s infinite ease-out;
  pointer-events: none;
}

@keyframes radar-pulse {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(2.6); opacity: 0; }
}

/* ------------------------------------------------------------ */
/* Custom Leaflet Popup Card Styling                            */
/* ------------------------------------------------------------ */
.leaflet-popup-content-wrapper {
  background: rgba(11, 16, 29, 0.95) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(214, 155, 5, 0.4) !important;
  border-radius: 16px !important;
  color: #FFFFFF !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5) !important;
  padding: 0 !important;
  overflow: hidden;
}

.leaflet-popup-content {
  margin: 0 !important;
  line-height: 1.4 !important;
  width: 280px !important;
}

.leaflet-popup-tip {
  background: rgba(11, 16, 29, 0.95) !important;
  border-left: 1px solid rgba(214, 155, 5, 0.4);
  border-top: 1px solid rgba(214, 155, 5, 0.4);
}

.leaflet-container a.leaflet-popup-close-button {
  top: 8px !important;
  right: 8px !important;
  color: #FFFFFF !important;
  background: rgba(7, 11, 20, 0.7);
  border-radius: 50%;
  width: 24px !important;
  height: 24px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
}

.leaflet-container a.leaflet-popup-close-button:hover {
  background: #D69B05;
  color: #070B14 !important;
}

.map-popup-card {
  display: flex;
  flex-direction: column;
}

.popup-img-wrap {
  position: relative;
  width: 100%;
  height: 130px;
}

.popup-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popup-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(7, 11, 20, 0.85);
  backdrop-filter: blur(6px);
  color: #ECC466;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(214, 155, 5, 0.3);
}

.popup-body {
  padding: 12px;
}

.popup-price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.popup-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.popup-district {
  font-size: 0.75rem;
  color: rgba(244, 247, 255, 0.6);
  margin-bottom: 8px;
}

.popup-specs {
  display: flex;
  gap: 8px;
  font-size: 0.72rem;
  color: rgba(244, 247, 255, 0.8);
  margin-bottom: 10px;
}

.popup-btn-action {
  width: 100%;
  background: linear-gradient(135deg, #ECC466 0%, #D69B05 100%);
  color: #070B14;
  border: none;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 7px;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.popup-btn-action:hover {
  transform: translateY(-1px);
}

/* ------------------------------------------------------------ */
/* Luxury Property Inspection & Booking Modal                   */
/* ------------------------------------------------------------ */
.property-detail-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 11, 20, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.modal-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 980px;
  max-height: 90vh;
  overflow-y: auto;
  background: rgba(11, 16, 29, 0.94);
  border: 1px solid rgba(214, 155, 5, 0.35);
  border-radius: 24px;
  padding: 2.25rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 40px rgba(214, 155, 5, 0.15);
  transform: scale(0.95) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.modal-close-btn:hover {
  background: #D69B05;
  color: #070B14;
}

/* Modal Content Layout */
.modal-grid-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.25rem;
  align-items: start;
}

.modal-gallery-main {
  width: 100%;
  height: 360px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1rem;
}

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

.modal-gallery-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.modal-thumb {
  width: 76px;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.2s ease;
}

.modal-thumb.active {
  border-color: #D69B05;
}

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

.modal-info-panel h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 0.25rem;
  color: #FFFFFF;
}

.modal-address-tag {
  color: rgba(244, 247, 255, 0.65);
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}

.modal-price-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(214, 155, 5, 0.25);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.modal-price-val {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: #ECC466;
  line-height: 1;
}

.modal-price-sub {
  font-size: 0.82rem;
  color: rgba(244, 247, 255, 0.6);
  margin-top: 4px;
}

.modal-specs-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 1.5rem;
}

.modal-spec-chip {
  background: rgba(255, 255, 255, 0.04);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
}

.modal-spec-chip strong {
  display: block;
  color: #FFFFFF;
}

.modal-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modal-features-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: rgba(244, 247, 255, 0.8);
}

.modal-features-list li span.bullet {
  color: #D69B05;
}

.modal-action-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-modal-tour {
  width: 100%;
  background: linear-gradient(135deg, #ECC466 0%, #D69B05 100%);
  color: #070B14;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn-modal-whatsapp {
  width: 100%;
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid #25D366;
  color: #25D366;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 12px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.btn-modal-whatsapp:hover {
  background: #25D366;
  color: #070B14;
}

/* ------------------------------------------------------------ */
/* Responsive Breakpoints: Properties Portal & Discovery Suite  */
/* ------------------------------------------------------------ */
@media (max-width: 1200px) {
  .properties-portal-layout.split-mode {
    grid-template-columns: 1fr;
  }

  .properties-portal-layout.split-mode .properties-cards-column {
    order: 1;
  }

  .properties-portal-layout.split-mode .properties-map-column {
    order: 2;
    margin-top: 2rem;
    margin-bottom: 0;
  }

  .map-sticky-wrapper {
    position: relative;
    top: 0;
    height: 420px !important;
    min-height: 420px;
  }
}

@media (max-width: 768px) {
  .properties-discovery-container {
    padding: 0 clamp(16px, 4.5vw, 24px);
    box-sizing: border-box;
  }

  .discovery-title {
    font-size: clamp(1.8rem, 6vw, 2.4rem);
    line-height: 1.2;
  }

  .discovery-subtitle {
    font-size: 0.92rem;
    margin-bottom: 2rem;
  }

  /* Portfolio Tabs: Native Momentum Touch Swipe on Mobile */
  .portfolio-tabs-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 1rem 8px 1rem;
    margin-bottom: 16px;
    justify-content: flex-start;
  }

  .portfolio-tabs-wrapper::-webkit-scrollbar {
    display: none;
  }

  .portfolio-tabs {
    flex-wrap: nowrap;
    white-space: nowrap;
    flex-shrink: 0;
    padding: 5px;
    margin: 0 auto;
  }

  .portfolio-tab-btn {
    padding: 8px 16px;
    font-size: 0.82rem;
    gap: 6px;
    white-space: nowrap;
  }

  /* Filter Bar Mobile Auto-Layout — 16px Uniform Spatial Harmony */
  .elliman-filter-bar {
    padding: 16px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 16px !important;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 16px !important;
  }

  .filter-search-row {
    width: 100%;
    flex: 0 0 auto !important;
    min-height: 0 !important;
    height: auto !important;
    gap: 10px;
  }

  .btn-filter-toggle {
    height: 42px;
    padding: 0 12px;
    font-size: 0.8rem;
    gap: 6px;
  }

  .filter-search-box {
    width: 100%;
    flex: 1 1 auto;
    min-width: 0;
  }

  /* Prevent iOS Safari auto-zoom on input focus */
  .filter-search-input,
  .filter-select {
    font-size: 16px !important;
    width: 100%;
    box-sizing: border-box;
  }

  .filter-dropdown-wrap {
    width: 100%;
    min-width: 0;
  }

  .filter-dropdowns-group {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  @media (max-width: 520px) {
    .filter-dropdowns-group {
      grid-template-columns: 1fr;
      gap: 0.65rem;
    }
  }

  .filter-view-modes {
    width: 100%;
    flex: 0 0 auto !important;
    min-height: 0 !important;
    height: auto !important;
    display: flex;
    justify-content: stretch;
  }

  .view-mode-btn {
    flex: 1;
    justify-content: center;
    padding: 8px 10px;
  }

  /* Listing Cards Mobile Calibration */
  .properties-portal-layout.split-mode .properties-cards-column {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .card-media-wrapper {
    height: 205px;
  }

  .card-content-wrap {
    padding: 1.15rem 1rem 1.15rem 1rem;
  }

  .card-property-title {
    font-size: 1.18rem;
  }

  .card-specs-row {
    gap: 5px;
  }

  .spec-pill {
    font-size: 0.75rem;
    padding: 4px 8px;
    gap: 5px;
  }

  .card-price-amount {
    font-size: 1.32rem;
  }

  .card-btn-view-details {
    padding: 8px 14px;
    font-size: 0.82rem;
  }

  /* Mobile Map Column */
  .map-sticky-wrapper {
    height: 320px !important;
    min-height: 320px;
    border-radius: 18px;
  }

  /* View More Banner on Mobile — Calibrated 24px Spacing & Icon Overlap */
  .properties-home-view-more-card {
    padding: clamp(24px, 5.5vw, 32px) clamp(18px, 4.5vw, 24px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 24px;
    border-radius: 18px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
  }

  .view-more-text-wrap {
    flex: 0 0 auto !important;
    width: 100%;
    max-width: 100%;
    margin: 0;
    position: relative;
    z-index: 2;
  }

  .view-more-title {
    font-size: clamp(1.35rem, 5vw, 1.6rem);
    margin-bottom: 8px;
  }

  .view-more-sub {
    margin-bottom: 0;
    line-height: 1.55;
  }

  /* Watermark icon on mobile positioned directly behind action buttons so buttons overlap */
  .properties-home-view-more-card::after {
    top: auto !important;
    bottom: 14px !important;
    right: 50% !important;
    transform: translateX(50%) !important;
    width: 220px !important;
    height: 220px !important;
    opacity: 0.18 !important;
  }

  .view-more-btn-group {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 5;
  }

  .view-more-btn-group .btn {
    width: 100%;
    justify-content: center;
    padding: 13px 18px;
    white-space: normal;
    text-align: center;
    box-sizing: border-box;
  }

  .modal-grid-layout {
    grid-template-columns: 1fr;
  }

  .modal-gallery-main {
    height: 240px;
  }
}

/* ============================================================ */
/* ============================================================ */
/* 7. KNOW MY PROPERTY WORTH (VALUATION ENGINE)                 */
/* ============================================================ */
.property-worth-section {
  position: relative;
  padding: 8rem 0 8.5rem 0;
  /* Dark background with rich Mokash secondary brand navy gradient */
  background: 
    radial-gradient(ellipse 85% 65% at 50% 28%, rgba(34, 48, 87, 0.96) 0%, rgba(22, 32, 59, 0.98) 42%, #0A0F1E 82%, #050811 100%);
  border-top: 1px solid rgba(214, 155, 5, 0.28);
  border-bottom: 1px solid rgba(214, 155, 5, 0.28);
  overflow: hidden;
  color: #FFFFFF;
}

/* 3D Rotating Orbital Map Background Canvas & Layering */
.property-worth-orbit-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.property-worth-orbit-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
}

.orbit-ambient-glow {
  position: absolute;
  top: 180px;
  right: 15%;
  transform: translate(50%, -50%);
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, rgba(34, 48, 87, 0.65) 0%, rgba(214, 155, 5, 0.12) 40%, transparent 70%);
  filter: blur(55px);
  pointer-events: none;
  z-index: 2;
}

@media (max-width: 991px) {
  .orbit-ambient-glow {
    top: 140px;
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
    width: 360px;
    height: 360px;
  }
}

.worth-content-relative {
  position: relative;
  z-index: 4;
}

/* Header Text Styling: Pure White & Left Aligned beside Orbit */
.worth-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 3.25rem;
}

.worth-header-content {
  flex: 1 1 58%;
  max-width: 660px;
  text-align: left;
}

.worth-orbit-stage {
  flex: 0 0 360px;
  width: 360px;
  height: 240px;
  position: relative;
  pointer-events: none;
}

.property-worth-section .section-heading {
  color: #FFFFFF !important;
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  text-align: left;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.85);
}

.property-worth-section .section-subtitle {
  color: rgba(255, 255, 255, 0.88) !important;
  max-width: 640px;
  margin: 0;
  text-align: left;
  font-size: 1.08rem;
  line-height: 1.75;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}

@media (max-width: 991px) {
  .worth-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2.25rem;
  }

  .worth-header-content {
    max-width: 100%;
  }

  .worth-orbit-stage {
    display: none;
  }
}

/* Calculator Wrapper in Rich Smoked Obsidian Glass */
.worth-calculator-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 3.5rem;
  padding: 3.25rem;
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(14, 23, 44, 0.78);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(214, 155, 5, 0.35);
  border-radius: 24px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), 0 0 40px rgba(34, 48, 87, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

/* Sticky Input Controls Column (Desktop: stays fixed while scrolling results) */
@media (min-width: 992px) {
  .calc-inputs-column {
    position: sticky;
    top: clamp(100px, 12vh, 120px);
    align-self: start;
    z-index: 10;
  }
}

.calc-column-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding-bottom: 0.85rem;
  margin-bottom: 1.5rem;
  gap: 12px;
}

.calc-column-title-row .calc-column-title {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}

.worth-tier-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #FBBF24 !important;
  background: rgba(214, 155, 5, 0.16);
  border: 1px solid rgba(214, 155, 5, 0.45);
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.calc-column-title {
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 700;
  color: #FFFFFF !important;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

@media (max-width: 640px) {
  .calc-form-row-2col {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.calc-form-group {
  margin-bottom: 1.35rem;
}

.calc-form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: #FFFFFF !important;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.calc-select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(7, 12, 24, 0.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23D69B05' 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") no-repeat calc(100% - 16px) center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF !important;
  padding: 13px 44px 13px 16px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.calc-select:focus {
  border-color: #FBBF24;
  box-shadow: 0 0 16px rgba(251, 191, 36, 0.35);
}

.calc-select option,
.calc-select optgroup {
  background: #0B1224;
  color: #FFFFFF;
}

.calc-select optgroup {
  color: #FBBF24;
  font-weight: 700;
}

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

.calc-size-display {
  font-weight: 700;
  color: #FBBF24 !important;
  font-size: 1.02rem;
  background: rgba(214, 155, 5, 0.15);
  border: 1px solid rgba(214, 155, 5, 0.35);
  padding: 2px 12px;
  border-radius: 999px;
}

.calc-range {
  width: 100%;
  accent-color: #FBBF24;
  cursor: pointer;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.15);
}

.calc-range-scale {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55) !important;
  margin-top: 6px;
}

/* Real-Time Valuation Primary Card */
.valuation-primary-card {
  background: linear-gradient(145deg, rgba(26, 38, 72, 0.9) 0%, rgba(14, 23, 44, 0.95) 100%);
  border: 1px solid rgba(214, 155, 5, 0.55);
  border-radius: 20px;
  padding: 1.85rem 1.65rem;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 35px rgba(214, 155, 5, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  margin-bottom: 1.25rem;
}

.card-caption {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.72) !important;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.primary-valuation-number {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.2vw, 3.2rem);
  font-weight: 700;
  color: #FBBF24 !important;
  line-height: 1.1;
  text-shadow: 0 4px 28px rgba(251, 191, 36, 0.45);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.valuation-subtext {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.75) !important;
}

.valuation-subtext span {
  color: #FFFFFF !important;
  font-weight: 700;
}

.valuation-telemetry-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.telemetry-pill {
  background: rgba(7, 12, 24, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.55rem 0.45rem;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.telemetry-label {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.62) !important;
}

.telemetry-pill strong {
  font-size: 0.84rem;
  color: #FFFFFF !important;
  font-weight: 700;
}

.telemetry-pill strong.text-gold {
  color: #FBBF24 !important;
}

@media (max-width: 540px) {
  .valuation-telemetry-strip {
    grid-template-columns: 1fr;
  }
}

.valuation-secondary-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.sub-metric-box {
  background: rgba(19, 29, 56, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 1.15rem 1.05rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.sub-metric-box:hover {
  transform: translateY(-2px);
  border-color: rgba(214, 155, 5, 0.4);
}

.sub-metric-box.highlight-gold {
  border-color: rgba(214, 155, 5, 0.55);
  background: rgba(214, 155, 5, 0.14);
  box-shadow: 0 8px 24px rgba(214, 155, 5, 0.12);
}

.sub-metric-title {
  display: block;
  font-size: 0.73rem;
  color: rgba(255, 255, 255, 0.75) !important;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.sub-metric-val {
  display: block;
  font-size: 1.18rem;
  font-weight: 700;
  color: #FFFFFF !important;
  margin-bottom: 4px;
}

.sub-metric-yield {
  font-size: 0.75rem;
  color: #FBBF24 !important;
  font-weight: 600;
}

.valuation-market-note {
  background: rgba(11, 18, 36, 0.78);
  border-left: 3px solid #FBBF24;
  border-radius: 8px;
  padding: 0.8rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85) !important;
}

.valuation-market-note strong {
  color: #FBBF24 !important;
}

.calc-disclaimer {
  font-size: 0.73rem;
  color: rgba(255, 255, 255, 0.65) !important;
  text-align: center;
  margin-top: 0.75rem;
  line-height: 1.45;
}

/* ============================================================ */
/* 8. CONTACT US SECTION (White Background + Architectural Watermark) */
/* ============================================================ */
.contact-section {
  position: relative;
  padding: 8rem 0;
  background-color: #FFFFFF;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(214, 155, 5, 0.04), transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(14, 23, 44, 0.03), transparent 50%);
  overflow: hidden;
}

/* Background Luxury Architectural & Concierge Illustration */
.contact-bg-illustration {
  position: absolute;
  top: 50%;
  left: -2%;
  transform: translateY(-50%);
  width: 58%;
  max-width: 820px;
  pointer-events: none;
  opacity: 0.18;
  z-index: 1;
  mix-blend-mode: multiply;
  transition: opacity 0.3s ease;
}

.contact-bg-img {
  width: 100%;
  height: auto;
  display: block;
}

.contact-container-relative {
  position: relative;
  z-index: 2;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4rem;
  align-items: flex-start;
}

/* Contact Info Column (Refined Crisp Editorial on White Canvas) */
.contact-section .eyebrow {
  color: #B48204 !important;
  background: rgba(214, 155, 5, 0.1);
  border: 1px solid rgba(214, 155, 5, 0.28);
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.2em;
  font-size: 0.76rem;
  margin-bottom: 1.25rem;
  display: inline-block;
}

.contact-section .section-heading {
  color: #070B16 !important;
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.contact-section .section-heading em {
  color: #D69B05 !important;
  font-style: italic;
  font-weight: 700;
}

.contact-lead {
  font-size: 1.08rem;
  line-height: 1.8;
  color: #334155 !important;
  margin-bottom: 2.5rem;
  max-width: 560px;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.channel-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-left: 3.5px solid #D69B05;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.28s ease;
}

.channel-card:hover {
  background: #FFFFFF;
  border-color: #D69B05;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 0 0 15px rgba(214, 155, 5, 0.18);
}

.channel-icon {
  font-size: 1.5rem;
}

.channel-card strong {
  display: block;
  font-size: 0.95rem;
  color: #070B16 !important;
  font-weight: 700;
  margin-bottom: 3px;
}

.channel-card p,
.channel-card a {
  font-size: 0.88rem;
  color: #475569 !important;
}

.channel-card a:hover {
  color: #D69B05 !important;
}

/* ============================================================ */
/* Send a Private Message Card: Rich Midnight Obsidian DARK (Not Gray) */
/* ============================================================ */
.contact-form-card {
  padding: 2.75rem;
  border-radius: 24px;
  background: #080D1A !important; /* Deep Luxury Obsidian Dark */
  border: 1px solid rgba(214, 155, 5, 0.35) !important;
  box-shadow: 
    0 25px 60px -10px rgba(7, 11, 22, 0.65),
    0 0 40px rgba(214, 155, 5, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
  position: relative;
  overflow: hidden;
}

.contact-form-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(214, 155, 5, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  margin-bottom: 1.75rem;
  color: #FFFFFF !important;
  letter-spacing: -0.01em;
}

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

.form-field {
  margin-bottom: 1.35rem;
}

.form-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92) !important;
  margin-bottom: 7px;
  letter-spacing: 0.02em;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: #111827 !important; /* Deep dark input background */
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 12px;
  padding: 13px 16px;
  color: #FFFFFF !important;
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
  transition: all 0.22s ease;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background: #111827 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23D69B05' 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") no-repeat calc(100% - 16px) center !important;
  padding: 13px 44px 13px 16px !important;
  cursor: pointer;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: #F59E0B !important;
  background: #151E32 !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25), inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.contact-form-card .btn-gold {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%) !important;
  color: #0A0F1D !important;
  font-weight: 700 !important;
  font-size: 0.98rem;
  padding: 15px 24px;
  border-radius: 12px;
  border: none;
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.4);
  transition: all 0.25s ease;
  cursor: pointer;
  width: 100%;
}

.contact-form-card .btn-gold:hover {
  background: linear-gradient(135deg, #FBBF24 0%, #E8890C 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(217, 119, 6, 0.55);
}

.form-feedback-msg {
  margin-top: 1rem;
  padding: 12px;
  border-radius: 10px;
  font-size: 0.85rem;
  text-align: center;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: #6EE7B7;
}

/* ============================================================ */
/* 9. SITE FOOTER                                               */
/* ============================================================ */
footer.site-footer {
  position: relative;
  background-color: #050B14;
  background-image: url('../assets/images/footer_city_skyline.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  color: #FFFFFF;
  padding: clamp(90px, 12vw, 150px) 0 2rem 0;
  margin-top: auto;
  overflow: hidden;
  border-top: 1px solid rgba(214, 155, 5, 0.25);
  isolation: isolate;
}

/* Atmospheric Top Fade & Contrast Gradients */
footer.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(80px, 10vw, 130px);
  background: linear-gradient(180deg, rgba(5, 11, 20, 0.95) 0%, rgba(5, 11, 20, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

footer.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 11, 20, 0.15) 0%,
    rgba(5, 11, 20, 0.55) 30%,
    rgba(5, 11, 20, 0.88) 60%,
    rgba(5, 11, 20, 0.98) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.footer-inner {
  position: relative;
  z-index: 2;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px) clamp(36px, 5vw, 60px) clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1.35fr 1fr 1.15fr 1.3fr;
  gap: clamp(28px, 3.5vw, 56px);
}

@media (max-width: 1024px) {
  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

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

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.footer-brand-title {
  font-family: var(--font-display, 'Cinzel', serif);
  font-size: 1.3rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--color-primary-light, #F0B429);
  line-height: 1.2;
}

.footer-tagline {
  font-size: 0.86rem;
  color: #CBD5E1;
  letter-spacing: 0.04em;
  line-height: 1.6;
  margin: 0 0 10px 0;
}

.footer-licence {
  font-size: 0.76rem;
  color: #94A3B8;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-col-title {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  text-transform: uppercase;
  margin: 0 0 8px 0;
}

.footer-title-line {
  width: 100%;
  max-width: 180px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.22);
  margin-bottom: 16px;
  position: relative;
}

.footer-title-line::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 1.5px;
  background: var(--brand-gold, #D69B05);
}

.footer-col-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-links li a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
}

.footer-col-links li a:hover {
  color: var(--brand-gold, #D69B05);
  transform: translateX(4px);
}

.footer-contact-address,
.footer-contact-phone,
.footer-contact-email {
  font-size: 0.86rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 10px 0;
}

.footer-contact-phone a,
.footer-contact-email a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-phone a:hover,
.footer-contact-email a:hover {
  color: var(--brand-gold, #D69B05);
}

/* Social Media Circular Outline Buttons (matching reference image) */
.footer-social-circles {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.social-circle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.25s ease;
  backdrop-filter: blur(4px);
}

.social-circle-btn:hover {
  border-color: var(--brand-gold, #D69B05);
  background: var(--brand-gold, #D69B05);
  color: #0E172E;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(214, 155, 5, 0.35);
}

/* Fallback for legacy footer links markup */
.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-primary-light, #F0B429);
}

.footer-bottom-bar {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.75rem;
}

.footer-sub-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: #94A3B8;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

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

.footer-sub-links a {
  color: #CBD5E1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-sub-links a:hover {
  color: var(--brand-gold, #D69B05);
}

/* ============================================================ */
/* 10. RESPONSIVE DESIGN & MOBILE PERFORMANCE BEST PRACTICES     */
/* Thoroughly calibrated for modern smartphones & tablets       */
/* ============================================================ */
@media (max-width: 1080px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .about-grid,
  .service-grid,
  .worth-calculator-wrapper,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }
  .property-specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* 1. Header Mobile Floating Pill */
  header.site-header {
    top: 10px;
    width: calc(100% - 20px);
    max-width: 100%;
    height: 60px;
  }

  .nav-glass-container {
    padding: 0 14px;
    border-radius: 16px;
  }

  .nav-brand-area {
    width: 88px;
    height: 38px;
  }

  .btn-nav-contact {
    height: 38px;
    min-width: auto;
    padding: 0 14px;
    font-size: 0.82rem;
    border-radius: 8px;
  }

  .nav-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 8px;
  }

  .nav-icon-btn svg {
    width: 16px;
    height: 16px;
  }

  @media (max-width: 520px) {
    .btn-nav-contact {
      display: none !important;
    }
  }

  .mobile-menu-toggle {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
  }

  /* 2. Global Input Optimization (Prevents iOS Safari auto-zoom) */
  input,
  select,
  textarea,
  .calc-select,
  .filter-select,
  .filter-search-input {
    font-size: 16px !important;
  }

  /* 3. Hero & About Mobile Adjustments */
  .hero-tags {
    font-size: 0.8rem;
    gap: 8px;
  }

  .about-stats-row {
    grid-template-columns: 1fr;
  }

  .inquiry-form .form-row {
    grid-template-columns: 1fr;
  }

  /* 4. Property Worth Valuation Engine on Mobile */
  .property-worth-section {
    padding: 4.5rem 0 5rem 0;
  }

  .property-worth-section .section-heading {
    font-size: clamp(1.9rem, 7vw, 2.6rem);
    line-height: 1.2;
  }

  .property-worth-section .section-subtitle {
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 2rem;
  }

  .worth-calculator-wrapper {
    padding: 1.4rem 1.15rem !important;
    border-radius: 20px;
    gap: 2rem;
  }

  .calc-column-title {
    font-size: 1.22rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.65rem;
  }

  .calc-form-group {
    margin-bottom: 1.2rem;
  }

  .valuation-primary-card {
    padding: 1.5rem 1.15rem;
    border-radius: 16px;
    margin-bottom: 1.25rem;
  }

  .primary-valuation-number {
    font-size: clamp(2rem, 7.5vw, 2.75rem);
  }

  .valuation-secondary-metrics {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
  }

  .sub-metric-box {
    padding: 1.15rem 1rem;
  }

  #btn-request-dossier {
    width: 100%;
    padding: 14px 16px;
    font-size: 0.88rem;
    white-space: normal;
    line-height: 1.35;
    text-align: center;
  }


  .orbit-ambient-glow {
    width: 360px;
    height: 360px;
  }

  /* 5. Contact Section & Channels Mobile */
  .contact-section {
    padding: 4.5rem 0;
  }

  .contact-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .contact-info-col {
    display: contents;
  }

  .contact-intro-block {
    order: 1;
    margin-bottom: 24px;
  }

  .contact-lead {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0 !important;
  }

  .contact-form-col {
    order: 2;
    margin-bottom: 24px;
  }

  .contact-channels {
    order: 3;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .channel-card {
    padding: 1.1rem 1.25rem;
    border-radius: 14px;
    opacity: 1 !important;
    transform: none !important;
  }

  .contact-bg-illustration {
    display: none;
  }

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

  /* 6. Footer Mobile Stack */
  .footer-inner,
  .footer-sub-flex {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }

  /* 7. Arched Statement Canopy */
  .arched-statement-section {
    margin-top: -32px;
    padding: 0 12px 4rem 12px;
  }

  .arched-canopy-container {
    padding: 3.5rem 1.25rem 3.5rem 1.25rem;
    border-top-left-radius: 44px;
    border-top-right-radius: 44px;
  }

  .arch-split-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.2rem;
  }

  .arch-phrase-left,
  .arch-phrase-right {
    text-align: center;
    width: 100%;
  }

  .arch-display-headline {
    font-size: clamp(2.4rem, 9.5vw, 3.8rem);
    line-height: 1.15;
  }

  .arch-subtext-wrap {
    margin: 2.25rem auto 3rem auto;
  }

  .arch-subtext {
    font-size: 0.82rem;
    line-height: 1.8;
  }
}

@media (max-width: 480px) {
  .btn-nav-contact {
    padding: 0 12px;
    font-size: 0.78rem;
  }
}

@media (max-width: 360px) {
  /* On ultra-compact screens, hide header pill CTA to preserve luxury glass spacing (available in drawer) */
  header.site-header .btn-nav-contact {
    display: none;
  }
  header.site-header {
    width: calc(100% - 16px);
  }
}

/* ====================================================================== */
/* MONTE CARLO ESTATE — IMMERSIVE PROJECT SHOWCASE STYLES                 */
/* Premium dark-themed cinematic experience inspired by                    */
/* Cosgrove Chateaux & Veritas Oyster Towers                              */
/* ====================================================================== */

.mc-estate-section {
  background: #0a0c10;
  color: #f0f0f0;
  position: relative;
  overflow: hidden;
}

/* ---------------------------------------------------------------------- */
/* MC Hero: Cinematic Video Stage                                         */
/* ---------------------------------------------------------------------- */
.mc-hero-stage {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.mc-hero-video-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.mc-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.mc-hero-video.active {
  opacity: 1;
}

.mc-hero-gradient-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(10, 12, 16, 0.25) 0%,
    rgba(10, 12, 16, 0.05) 40%,
    rgba(10, 12, 16, 0.45) 70%,
    rgba(10, 12, 16, 0.92) 100%
  );
  pointer-events: none;
}

/* MC Hero Content */
.mc-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 2rem 6vh 2rem;
  max-width: 900px;
}

.mc-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 100px;
  border: 1px solid rgba(214, 155, 5, 0.35);
  background: rgba(214, 155, 5, 0.08);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #d69b05;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.mc-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d69b05;
  animation: mc-dot-pulse 2s ease-in-out infinite;
}

@keyframes mc-dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.mc-hero-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2.4rem, 5.2vw, 4.6rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: #ffffff !important;
  margin: 0 0 2rem 0;
  white-space: nowrap;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.65);
}

@media (max-width: 560px) {
  .mc-hero-title {
    white-space: normal;
    font-size: clamp(2.2rem, 8vw, 2.8rem);
  }
}

.mc-hero-cta-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.mc-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 34px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 10px;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.mc-hero-cta:hover {
  background: var(--brand-gold, #d69b05);
  border-color: var(--brand-gold, #d69b05);
  color: #0E172E;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(214, 155, 5, 0.45);
}

.mc-hero-cta svg {
  transition: transform 0.25s ease;
}

.mc-hero-cta:hover svg {
  transform: translateX(4px);
}

/* ---------------------------------------------------------------------- */
/* MC Key Stats Bar                                                       */
/* ---------------------------------------------------------------------- */
.mc-stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 2.5rem 2rem;
  background: linear-gradient(135deg, #111318 0%, #161920 100%);
  border-top: 1px solid rgba(214, 155, 5, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  flex-wrap: wrap;
}

.mc-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 clamp(1rem, 3vw, 3rem);
}

.mc-stat-value {
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 1px;
  white-space: nowrap;
}

.mc-stat-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.45);
}

.mc-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
}

/* ---------------------------------------------------------------------- */
/* MC Section Shared Styles                                               */
/* ---------------------------------------------------------------------- */
.mc-section-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #d69b05;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 28px;
}

.mc-section-eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 1.5px;
  background: #d69b05;
}

.mc-section-heading {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.mc-section-heading em {
  font-style: italic;
  color: #d69b05;
}

/* ---------------------------------------------------------------------- */
/* MC Executive Overview                                                  */
/* ---------------------------------------------------------------------- */
.mc-overview-section {
  padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 5vw, 5rem);
  max-width: 1400px;
  margin: 0 auto;
}

.mc-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.mc-overview-content {
  display: flex;
  flex-direction: column;
}

.mc-overview-text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1.25rem;
}

.mc-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0 2.5rem 0;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.mc-detail-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mc-detail-label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.35);
}

.mc-detail-value {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
}

/* MC Primary Button */
.mc-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #d69b05 0%, #b88504 100%);
  color: #0a0c10;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  align-self: flex-start;
}

.mc-btn-primary:hover {
  background: linear-gradient(135deg, #e5a90a 0%, #c99208 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(214, 155, 5, 0.25);
}

.mc-btn-lg {
  padding: 16px 40px;
  font-size: 0.9rem;
}

/* MC Outline Button */
.mc-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: transparent;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-decoration: none;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mc-btn-outline:hover {
  border-color: #d69b05;
  color: #d69b05;
  background: rgba(214, 155, 5, 0.05);
}

/* MC Overview Visual */
.mc-overview-visual {
  position: relative;
}

.mc-overview-image-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.mc-overview-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

.mc-image-frame-accent {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 1px solid rgba(214, 155, 5, 0.15);
  pointer-events: none;
}

/* ---------------------------------------------------------------------- */
/* MC Gallery Section                                                     */
/* ---------------------------------------------------------------------- */
.mc-gallery-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: linear-gradient(180deg, #0a0c10 0%, #0e1015 100%);
  overflow: hidden;
}

.mc-gallery-header {
  text-align: center;
  padding: 0 2rem;
  margin-bottom: 3rem;
}

.mc-gallery-carousel {
  position: relative;
}

.mc-gallery-track {
  display: flex;
  gap: 1.5rem;
  padding: 0 clamp(1.5rem, 5vw, 5rem);
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.mc-gallery-track::-webkit-scrollbar {
  display: none;
}

.mc-gallery-slide {
  flex: 0 0 min(75vw, 700px);
  scroll-snap-align: start;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.mc-gallery-slide img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.mc-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.5rem 1.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mc-caption-tag {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #d69b05;
}

.mc-caption-text {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
}

/* Gallery Controls */
.mc-gallery-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  padding: 0 2rem;
}

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

.mc-gallery-nav-btn:hover {
  border-color: #d69b05;
  color: #d69b05;
  background: rgba(214, 155, 5, 0.08);
}

.mc-gallery-counter {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
}

.mc-gallery-counter span:first-child {
  color: #d69b05;
  font-weight: 700;
  font-size: 1.1rem;
}

.mc-counter-divider {
  color: rgba(255, 255, 255, 0.2);
}

/* ---------------------------------------------------------------------- */
/* MC Amenities                                                           */
/* ---------------------------------------------------------------------- */
.mc-amenities-section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 5rem);
  max-width: 1400px;
  margin: 0 auto;
}

.mc-amenities-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.mc-amenities-subtitle {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

.mc-amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.mc-amenity-card {
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mc-amenity-card:hover {
  border-color: rgba(214, 155, 5, 0.2);
  background: rgba(214, 155, 5, 0.04);
  transform: translateY(-4px);
}

.mc-amenity-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(214, 155, 5, 0.08);
  border: 1px solid rgba(214, 155, 5, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d69b05;
  margin-bottom: 1.25rem;
}

.mc-amenity-title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.6rem;
}

.mc-amenity-desc {
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------------------------------------------------------------------- */
/* MC Site Plan                                                           */
/* ---------------------------------------------------------------------- */
.mc-siteplan-section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 5rem);
  max-width: 1400px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.mc-siteplan-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.mc-siteplan-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mc-siteplan-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

.mc-feature-marker {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d69b05;
  margin-top: 6px;
}

.mc-siteplan-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.mc-siteplan-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* ---------------------------------------------------------------------- */
/* MC CTA Strip                                                           */
/* ---------------------------------------------------------------------- */
.mc-cta-section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 5rem);
  background: linear-gradient(135deg, rgba(214, 155, 5, 0.06) 0%, rgba(10, 12, 16, 0) 100%);
  border-top: 1px solid rgba(214, 155, 5, 0.1);
}

.mc-cta-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.mc-cta-heading {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.15;
  color: #fff;
}

.mc-cta-heading em {
  font-style: italic;
  color: #d69b05;
}

.mc-cta-text {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin-top: 0.75rem;
  max-width: 520px;
}

.mc-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-shrink: 0;
}

/* ---------------------------------------------------------------------- */
/* MC Responsive Breakpoints                                              */
/* ---------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .mc-overview-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .mc-overview-visual {
    order: -1;
  }

  .mc-siteplan-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .mc-siteplan-visual {
    order: -1;
  }

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

  .mc-cta-inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .mc-cta-text {
    margin-left: auto;
    margin-right: auto;
  }

  .mc-cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .mc-hero-stage {
    min-height: 85vh;
  }

  .mc-hero-content {
    padding: 0 1.25rem 5vh 1.25rem;
  }

  .mc-stats-bar {
    flex-wrap: wrap;
    gap: 1rem;
    padding: 2rem 1rem;
  }

  .mc-stat-item {
    flex: 1 1 calc(50% - 2rem);
    min-width: 100px;
    padding: 0.5rem 0;
  }

  .mc-stat-divider {
    display: none;
  }

  .mc-details-grid {
    grid-template-columns: 1fr;
  }

  .mc-amenities-grid {
    grid-template-columns: 1fr;
  }

  .mc-gallery-slide {
    flex: 0 0 85vw;
  }

  .mc-gallery-slide img {
    height: 280px;
  }

  .mc-btn-primary {
    align-self: center;
  }

  .mc-section-eyebrow {
    font-size: 0.62rem;
  }
}

/* ====================================================================== */
/* MONTE CARLO TYPOGRAPHY REFINEMENT                                      */
/* ====================================================================== */
.mc-hero-title {
  font-size: clamp(2.4rem, 5.2vw, 4.6rem) !important;
  line-height: 1.1 !important;
  color: #ffffff !important;
  margin-bottom: 2rem !important;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .mc-hero-title {
    white-space: normal;
  }
}

/* ====================================================================== */
/* WHITE BACKGROUND THEME: PROPERTIES & SERVICE APARTMENT SECTION        */
/* ====================================================================== */
.properties-discovery-section.white-bg-theme {
  background: #FFFFFF !important;
  color: #121C38 !important;
  padding: clamp(70px, 8vw, 120px) 0 !important;
  border-radius: clamp(24px, 3.2vw, 44px);
  position: relative;
  z-index: 10;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.12), 0 20px 60px rgba(0, 0, 0, 0.08);
}

.properties-discovery-section.white-bg-theme .discovery-title {
  color: #121C38 !important;
}

.properties-discovery-section.white-bg-theme .discovery-subtitle {
  color: #4B5563 !important;
}

.properties-discovery-section.white-bg-theme .portfolio-tabs {
  background: #F1F5F9 !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 4px 20px rgba(18, 28, 56, 0.06) !important;
}

.properties-discovery-section.white-bg-theme .portfolio-tab-btn {
  color: #64748B !important;
}

.properties-discovery-section.white-bg-theme .portfolio-tab-btn.active {
  color: #070B14 !important;
}

.properties-discovery-section.white-bg-theme .portfolio-tab-btn .tab-count {
  background: rgba(0, 0, 0, 0.08) !important;
  color: #121C38 !important;
}

.properties-discovery-section.white-bg-theme .elliman-filter-bar {
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 8px 30px rgba(18, 28, 56, 0.05) !important;
}

.properties-discovery-section.white-bg-theme .filter-search-input {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  color: #121C38 !important;
}

.properties-discovery-section.white-bg-theme .filter-search-icon {
  color: #64748B !important;
}

.properties-discovery-section.white-bg-theme .filter-label {
  color: #64748B !important;
}

.properties-discovery-section.white-bg-theme .filter-select {
  background-color: #FFFFFF !important;
  border-color: #CBD5E1 !important;
  color: #121C38 !important;
}

.properties-discovery-section.white-bg-theme .filter-select option {
  background: #FFFFFF !important;
  color: #121C38 !important;
}

.properties-discovery-section.white-bg-theme .filter-view-modes {
  background: #F1F5F9 !important;
  border-color: #CBD5E1 !important;
}

.properties-discovery-section.white-bg-theme .view-mode-btn {
  color: #64748B !important;
}

.properties-discovery-section.white-bg-theme .view-mode-btn.active {
  background: #FFFFFF !important;
  color: #D69B05 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

.properties-discovery-section.white-bg-theme .results-heading {
  color: #121C38 !important;
}

.properties-discovery-section.white-bg-theme .results-subtext {
  color: #64748B !important;
}

.properties-discovery-section.white-bg-theme .sort-label {
  color: #64748B !important;
}

.properties-discovery-section.white-bg-theme .sort-select {
  background-color: #FFFFFF !important;
  border-color: #CBD5E1 !important;
  color: #121C38 !important;
}

/* Light-Themed Property Cards */
.properties-discovery-section.white-bg-theme .property-card {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 8px 24px rgba(18, 28, 56, 0.06) !important;
}

.properties-discovery-section.white-bg-theme .property-card:hover {
  transform: translateY(-5px);
  border-color: rgba(214, 155, 5, 0.45) !important;
  box-shadow: 0 20px 48px rgba(18, 28, 56, 0.12) !important;
}

.properties-discovery-section.white-bg-theme .card-price-primary {
  color: #121C38 !important;
}

.properties-discovery-section.white-bg-theme .card-price-usd {
  color: #64748B !important;
}

.properties-discovery-section.white-bg-theme .card-property-title {
  color: #121C38 !important;
}

.properties-discovery-section.white-bg-theme .card-property-title:hover {
  color: #D69B05 !important;
}

.properties-discovery-section.white-bg-theme .card-property-address {
  color: #4B5563 !important;
}

.properties-discovery-section.white-bg-theme .spec-pill {
  background: #F3F4F6 !important;
  color: #4B5563 !important;
}

.properties-discovery-section.white-bg-theme .card-divider {
  background: #E5E7EB !important;
}

.properties-discovery-section.white-bg-theme .card-btn-view-details {
  background: transparent !important;
  border: 1.5px solid #D97706 !important;
  color: #D97706 !important;
}

.properties-discovery-section.white-bg-theme .card-btn-view-details:hover {
  background: #D97706 !important;
  color: #FFFFFF !important;
}

/* Light Google Maps Style Container */
.properties-discovery-section.white-bg-theme .map-sticky-wrapper {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  box-shadow: 0 16px 45px rgba(18, 28, 56, 0.10) !important;
}

.properties-discovery-section.white-bg-theme .properties-leaflet-map {
  background: #E8ECEF !important;
}

.properties-discovery-section.white-bg-theme .properties-leaflet-map .leaflet-tile-pane {
  filter: none !important; /* Pure clean light Google/CartoDB tiles */
}

.properties-discovery-section.white-bg-theme .map-hud-pill {
  background: rgba(255, 255, 255, 0.92) !important;
  border-color: #CBD5E1 !important;
  color: #121C38 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
}

.properties-discovery-section.white-bg-theme .map-btn {
  background: #FFFFFF !important;
  border-color: #CBD5E1 !important;
  color: #121C38 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
}

.properties-discovery-section.white-bg-theme .map-btn:hover {
  background: #D69B05 !important;
  color: #FFFFFF !important;
  border-color: #D69B05 !important;
}

.properties-discovery-section.white-bg-theme .map-legend-overlay {
  background: rgba(255, 255, 255, 0.92) !important;
  border-color: #CBD5E1 !important;
  color: #121C38 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
}

/* Maximize / Expanded Map State */
.map-sticky-wrapper.map-maximized {
  position: fixed !important;
  inset: clamp(16px, 2.5vw, 36px) !important;
  width: auto !important;
  height: auto !important;
  max-height: none !important;
  z-index: 99999 !important;
  border-radius: 24px !important;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.5) !important;
}

/* View More Banner Card below Split Grid - Luxury Dark Secondary Motif */
.properties-home-view-more-card {
  width: 100%;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 85% 50%, rgba(214, 155, 5, 0.18), transparent 50%),
              radial-gradient(circle at 15% 20%, rgba(34, 48, 87, 0.5), transparent 45%),
              linear-gradient(135deg, #070B14 0%, #10182E 50%, #080D1A 100%);
  border: 1px solid rgba(214, 155, 5, 0.35);
  border-radius: 20px;
  padding: clamp(28px, 3.5vw, 42px) clamp(24px, 3.5vw, 48px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  margin-top: 2.5rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Watermark Pattern from uploaded Mokash geometric house motif */
.properties-home-view-more-card::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 28px;
  transform: translateY(-50%);
  width: 230px;
  height: 230px;
  background-image: url('../assets/logo/mokash_house_pattern.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.16;
  pointer-events: none;
  filter: drop-shadow(0 0 16px rgba(214, 155, 5, 0.45));
  transition: opacity 0.5s ease, transform 0.5s ease;
  z-index: 1;
}

.properties-home-view-more-card:hover::after {
  opacity: 0.25;
  transform: translateY(-50%) scale(1.05);
}

.view-more-text-wrap {
  position: relative;
  z-index: 2;
  flex: 1 1 450px;
  max-width: 640px;
}

.view-more-kicker {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #D69B05;
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}

.view-more-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.6rem, 2.4vw, 2.15rem);
  color: #FFFFFF !important;
  margin: 0 0 10px 0;
  line-height: 1.22;
}

.view-more-sub {
  font-size: 0.95rem;
  color: #CBD5E1 !important;
  margin: 0;
  line-height: 1.6;
}

/* Buttons stacked on the right side directly over the icon watermark */
.view-more-btn-group {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  flex: 0 0 auto;
  min-width: 280px;
  max-width: 340px;
}

.view-more-btn-group .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  padding: 13px 22px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 12px;
  white-space: nowrap;
  box-sizing: border-box;
}

.view-more-btn-group .btn-gold {
  box-shadow: 0 8px 24px rgba(214, 155, 5, 0.35);
}

.view-more-btn-group .btn-gold:hover {
  box-shadow: 0 12px 30px rgba(214, 155, 5, 0.5);
  transform: translateY(-2px);
}

.properties-home-view-more-card .view-more-btn-sec {
  color: #FFFFFF !important;
  background: rgba(14, 22, 40, 0.75);
  border: 1px solid rgba(214, 155, 5, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.properties-home-view-more-card .view-more-btn-sec:hover {
  background: rgba(214, 155, 5, 0.25);
  border-color: #D69B05;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(214, 155, 5, 0.3);
}

/* ============================================================ */
/* PROPERTY FILTERS MODAL (Luxury Glassmorphic Dialog & Sheet)  */
/* ============================================================ */
.property-filters-modal {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.32s;
}

.property-filters-modal.active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.filters-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 22, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: opacity 0.32s ease;
}

.filters-modal-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%) scale(0.96);
  width: min(540px, 92vw);
  max-height: 86vh;
  background: #0E1422;
  border: 1px solid rgba(214, 155, 5, 0.32);
  border-radius: 16px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 10001;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.property-filters-modal.active .filters-modal-dialog {
  transform: translate(-50%, -50%) scale(1);
}

.filters-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1.75rem 1.15rem 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
}

.filters-modal-title-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.filters-modal-badge {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #D69B05;
}

.filters-modal-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.45rem;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.2;
}

.filters-modal-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.filters-modal-close-btn:hover {
  background: rgba(214, 155, 5, 0.2);
  border-color: #D69B05;
  color: #D69B05;
  transform: rotate(90deg);
}

.filters-modal-body {
  padding: 1.5rem 1.75rem;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1rem;
}

@media (max-width: 540px) {
  .filters-modal-body {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.25rem 1.25rem;
  }
}

.filters-modal-body .filter-dropdown-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filters-modal-body .filter-label {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, 0.6);
}

.filters-modal-body .filter-select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  padding: 12px 44px 12px 16px;
  background: #131A2B url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(214,155,5,0.85)' 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") no-repeat calc(100% - 16px) center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px !important;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.88rem;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
}

.filters-modal-body .filter-select:hover,
.filters-modal-body .filter-select:focus {
  border-color: #D69B05;
  box-shadow: 0 0 0 2px rgba(214, 155, 5, 0.2);
}

.filters-modal-body .filter-select option {
  background: #0E1422;
  color: #FFFFFF;
  padding: 8px;
}

.filters-modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 1.15rem 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
}

.btn-filter-modal-reset {
  padding: 10px 18px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px !important;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-filter-modal-reset:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
}

.btn-filter-modal-apply {
  flex: 1;
  padding: 11px 22px;
  background: linear-gradient(135deg, #E5AB1C 0%, #D69B05 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px !important;
  color: #121C38;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 18px rgba(214, 155, 5, 0.3);
  text-align: center;
}

.btn-filter-modal-apply:hover {
  background: linear-gradient(135deg, #F0B429 0%, #E5AB1C 100%);
  transform: translateY(-1px);
  box-shadow: 0 8px 26px rgba(214, 155, 5, 0.5);
}

/* Mobile Bottom Sheet for Filter Modal */
@media (max-width: 600px) {
  .filters-modal-dialog {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100vw;
    max-height: 85vh;
    border-radius: 20px 20px 0 0;
    transform: translateY(100%);
  }

  .property-filters-modal.active .filters-modal-dialog {
    transform: translateY(0);
  }
}

/* Active Filter Chips Bar inside Properties Section */
.filter-active-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px 0 4px 0;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(214, 155, 5, 0.12);
  border: 1px solid rgba(214, 155, 5, 0.32);
  border-radius: 10px !important;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: #F5B92A;
  transition: all 0.2s ease;
}

.filter-chip:hover {
  background: rgba(214, 155, 5, 0.2);
  border-color: #D69B05;
}

.filter-chip-remove {
  background: transparent;
  border: none;
  color: #F5B92A;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0 0 2px;
  display: inline-flex;
  align-items: center;
}

.filter-chip-clear-all {
  font-family: var(--font-body);
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: underline;
  cursor: pointer;
  margin-left: 4px;
}

.filter-chip-clear-all:hover {
  color: #FFFFFF;
}

.filter-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50% !important;
  background: #D69B05;
  color: #121C38;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  margin-left: 4px;
}

/* ============================================================ */
/* UNIVERSAL 10PX BUTTON BORDER RADIUS ACROSS THE BOARD         */
/* Standardized to match "Contact Us" navigation button         */
/* ============================================================ */
.btn,
.btn-gold,
.btn-primary,
.btn-outline,
.btn-nav-contact,
.btn-filter-toggle,
.btn-editorial-learn,
.mobile-cta-btn,
.portfolio-tab-btn,
.tab-active-indicator,
.view-mode-btn,
.card-btn-view-details,
.btn-modal-tour,
.btn-modal-whatsapp,
.popup-btn-action,
.mc-hero-cta,
.mc-btn-primary,
.mc-btn-outline,
.btn-reset-filters,
.btn-filter-modal-apply,
.btn-filter-modal-reset,
.btn-request-dossier,
.btn-contact-submit,
.calc-btn-action,
.sort-select,
.filter-search-input,
button:not(.carousel-nav-btn):not(.modal-close-btn):not(.filters-modal-close-btn):not(.filter-search-clear):not(.carousel-dot):not(.map-btn):not(.mobile-nav-close):not(.filter-chip-remove):not(.audio-pulse-ring) {
  border-radius: 10px !important;
}

/* Guarantee circular elements remain circular */
.carousel-nav-btn,
.modal-close-btn,
.filters-modal-close-btn,
.filter-search-clear,
.carousel-dot,
.map-btn,
.mobile-nav-close,
.filter-count-badge,
.audio-toggle-btn,
.hero-info-badge {
  border-radius: 50% !important;
}



