/* ==========================================================================
   CITRINE LUXURY APARTMENTS - DESIGN SYSTEM & THEME ENGINE
   Location: Katampe Main, Abuja
   Target: Diaspora, Investors, Young Professionals
   ========================================================================== */

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

/* --- Root & Theme Variables --- */
:root {
  /* Default Theme: Warm Travertine Theme */
  --bg-base: #F7F5F0;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #ECE8E0;
  --bg-surface-translucent: rgba(255, 255, 255, 0.88);

  --text-primary: #1C1917;
  --text-secondary: #57534E;
  --text-muted: #8C857B;
  --text-inverse: #FFFFFF;

  --accent-citrine: #B8860B;
  --accent-citrine-light: #D4AF37;
  --accent-citrine-dark: #8B6508;
  --accent-gold-glow: rgba(184, 134, 11, 0.2);
  --accent-citrine-gradient: linear-gradient(135deg, #D4AF37 0%, #B8860B 60%, #704F00 100%);
  --accent-emerald: #059669;

  --border-subtle: rgba(28, 25, 23, 0.1);
  --border-glass: rgba(184, 134, 11, 0.25);
  --border-active: rgba(184, 134, 11, 0.7);

  --glass-bg: rgba(255, 255, 255, 0.82);
  --glass-blur: blur(16px);
  --card-shadow: 0 20px 40px -15px rgba(184, 134, 11, 0.12);
  --glow-shadow: 0 0 30px rgba(184, 134, 11, 0.15);

  --font-serif: 'Cormorant Garamond', serif;
  --font-brand: 'Cinzel', serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Warm Modern Travertine Theme Explicit Selector */
[data-theme="warm"], [data-theme="travertine"] {
  --bg-base: #F7F5F0;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #ECE8E0;
  --bg-surface-translucent: rgba(255, 255, 255, 0.88);

  --text-primary: #1C1917;
  --text-secondary: #57534E;
  --text-muted: #8C857B;
  --text-inverse: #FFFFFF;

  --accent-citrine: #B8860B;
  --accent-citrine-light: #D4AF37;
  --accent-citrine-dark: #8B6508;
  --accent-gold-glow: rgba(184, 134, 11, 0.2);
  --accent-citrine-gradient: linear-gradient(135deg, #D4AF37 0%, #B8860B 60%, #704F00 100%);
  --accent-emerald: #059669;

  --border-subtle: rgba(28, 25, 23, 0.1);
  --border-glass: rgba(184, 134, 11, 0.25);
  --border-active: rgba(184, 134, 11, 0.7);

  --glass-bg: rgba(255, 255, 255, 0.82);
  --glass-blur: blur(16px);
  --card-shadow: 0 20px 40px -15px rgba(184, 134, 11, 0.12);
  --glow-shadow: 0 0 30px rgba(184, 134, 11, 0.15);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  overflow-x: hidden;
}

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

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

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

/* --- Container Utility --- */
.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* --- Typography Utilities --- */
.font-serif {
  font-family: var(--font-serif);
}

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

.text-citrine {
  color: var(--accent-citrine);
}

.text-muted {
  color: var(--text-muted);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  color: var(--accent-citrine);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 500;
  line-height: 1.02;
  margin-bottom: 0.7rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 3rem auto;
}

/* --- Buttons & UI Elements --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.83rem;
  transition: all var(--transition-fast);
}

.btn-primary {
  background: var(--accent-citrine-gradient);
  color: #090B0E;
  box-shadow: 0 8px 25px var(--accent-gold-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(229, 184, 59, 0.4);
}

.btn-secondary {
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  border-color: var(--accent-citrine);
  transform: translateY(-2px);
}

.btn-glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
}

.btn-glass:hover {
  background: rgba(229, 184, 59, 0.15);
  border-color: var(--accent-citrine);
}

/* --- Header / Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.75rem 0;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  background: var(--bg-surface-translucent);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.55rem 0;
  box-shadow: var(--card-shadow);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--accent-citrine-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #090B0E;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 1.3rem;
  box-shadow: 0 4px 15px var(--accent-gold-glow);
}

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

.logo-title {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}

.logo-sub {
  font-size: 0.52rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-citrine);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
}

.nav-link {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-citrine);
}

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

.logo-wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.08rem;
  line-height: 1;
  flex: 0 0 auto;
  min-width: 148px;
}

.logo-wordmark-title {
  font-family: var(--font-brand);
  font-size: 1.12rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #3d3429;
  white-space: nowrap;
}

.logo-wordmark-sub {
  font-family: var(--font-sans);
  font-size: 0.34rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: #7b7369;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Theme Switcher Toggle */
.theme-toggle-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  border-color: var(--accent-citrine);
  transform: scale(1.03);
}

.theme-toggle-btn i {
  color: var(--accent-citrine);
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  color: var(--text-primary);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 100px;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.45) contrast(1.1);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: radial-gradient(circle at center, transparent 0%, var(--bg-base) 90%),
              linear-gradient(to bottom, transparent 60%, var(--bg-base) 100%);
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  background: rgba(18, 22, 31, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  color: var(--accent-citrine);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.hero-badge span.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulse 2s infinite;
}

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

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #E2E8F0;
  max-width: 720px;
  margin: 0 auto 2.5rem auto;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* Feature Quick Stats Strip */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 4rem;
  padding: 1.5rem 2rem;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-glass);
  box-shadow: var(--card-shadow);
}

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

.stat-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-citrine);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Section Layouts --- */
.section {
  padding: 6rem 0;
  position: relative;
}

/* --- Investment Dual-Purpose Section --- */
.investment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 3rem;
}

.invest-card {
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.invest-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-citrine);
  box-shadow: var(--card-shadow), var(--glow-shadow);
}

.invest-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(229, 184, 59, 0.12);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-citrine);
  margin-bottom: 1.5rem;
}

.invest-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.invest-list {
  list-style: none;
  margin-top: 1.5rem;
}

.invest-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.invest-list li i {
  color: var(--accent-citrine);
  font-size: 1.1rem;
  margin-top: 0.15rem;
}

/* ROI Dynamic Calculator */
.roi-calculator {
  margin-top: 4rem;
  padding: 3rem;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-glass);
  box-shadow: var(--card-shadow);
}

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

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.calc-slider-group label {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}

.calc-slider-group span.val {
  color: var(--accent-citrine);
  font-family: var(--font-serif);
}

input[type="range"] {
  width: 100%;
  accent-color: var(--accent-citrine);
  height: 6px;
  border-radius: 3px;
  background: var(--bg-surface-elevated);
}

.calc-result-box {
  padding: 2.5rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glass);
  text-align: center;
}

.calc-annual-val {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--accent-citrine);
  margin: 0.5rem 0 1rem 0;
}

/* --- Interactive Visualizer (Before & After Slider) --- */
.visualizer-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  height: 520px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-glass);
}

.ba-slider {
  position: relative;
  width: 100%;
  height: 100%;
  user-select: none;
}

.ba-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-img-after {
  width: 50%;
  overflow: hidden;
  z-index: 2;
  border-right: 2px solid var(--accent-citrine);
}

.ba-img-after img, .ba-img-after video {
  position: absolute;
  top: 0;
  left: 0;
  width: 1000px;
  max-width: none;
  height: 100%;
  object-fit: cover;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--accent-citrine);
  z-index: 10;
  cursor: ew-resize;
  transform: translateX(-50%);
}

.ba-handle-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-citrine-gradient);
  color: #090B0E;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  font-size: 1.2rem;
}

.ba-label {
  position: absolute;
  bottom: 20px;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  color: #FFF;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 5;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ba-label-before { right: 20px; }
.ba-label-after { left: 20px; }

/* Media Showcase Grid */
.media-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.tab-btn {
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-full);
  background: var(--bg-surface-elevated);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  border: 1px solid var(--border-subtle);
}

.tab-btn.active, .tab-btn:hover {
  background: var(--accent-citrine-gradient);
  color: #090B0E;
  border-color: transparent;
  box-shadow: 0 4px 15px var(--accent-gold-glow);
}

.media-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.media-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
}

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

.media-card:hover img, .media-card:hover video {
  transform: scale(1.06);
}

.media-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 11, 14, 0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.2rem;
  opacity: 0.9;
}

.media-card-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: #FFF;
}

.media-card-tag {
  font-size: 0.75rem;
  color: var(--accent-citrine);
  text-transform: uppercase;
}

/* --- Floor Plan Interactive Visualizer --- */
.floorplan-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  margin-top: 3rem;
  background: var(--bg-surface);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
}

.floorplan-img-box {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border-subtle);
}

.floorplan-img-box img {
  width: 100%;
  filter: drop-shadow(0 0 10px rgba(0,0,0,0.5));
}

/* Hotspots on Floorplan */
.hotspot {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-citrine-gradient);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  box-shadow: 0 0 15px var(--accent-citrine);
  transition: transform var(--transition-fast);
  z-index: 10;
}

.hotspot:hover, .hotspot.active {
  transform: scale(1.25);
  box-shadow: 0 0 25px var(--accent-citrine);
}

.floorplan-details {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.spec-badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-sm);
  background: rgba(229, 184, 59, 0.15);
  color: var(--accent-citrine);
  font-size: 0.8rem;
  font-weight: 600;
}

/* --- Amenities Grid --- */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
  margin-top: 3rem;
}

.amenity-card {
  padding: 2rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.amenity-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-citrine);
}

.amenity-icon {
  font-size: 2rem;
  color: var(--accent-citrine);
  margin-bottom: 1rem;
}

.amenity-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* --- Contact & Lead Capture Form --- */
.contact-section {
  background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-surface) 100%);
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--card-shadow);
}

.contact-info-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.form-input, .form-select {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
}

.form-input:focus, .form-select:focus {
  outline: none;
  border-color: var(--accent-citrine);
}

/* Role Selector Badges */
.role-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-top: 0.4rem;
}

.role-badge {
  padding: 0.8rem;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--text-secondary);
}

.role-badge.active {
  background: rgba(229, 184, 59, 0.15);
  border-color: var(--accent-citrine);
  color: var(--accent-citrine);
}

/* --- Embedded Lead CRM Modal --- */
.crm-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.crm-modal.open {
  display: flex;
}

.crm-modal-box {
  width: 100%;
  max-width: 950px;
  max-height: 85vh;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.9);
}

.crm-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.crm-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-citrine);
}

.crm-body {
  padding: 2rem;
  overflow-y: auto;
  flex: 1;
}

.crm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.crm-table th, .crm-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.crm-table th {
  background: var(--bg-surface-elevated);
  color: var(--accent-citrine);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
}

/* --- Sticky Mobile Action Bar --- */
.mobile-action-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 990;
  background: var(--bg-surface-translucent);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-glass);
  padding: 0.8rem 1.2rem;
  box-shadow: 0 -10px 25px rgba(0,0,0,0.5);
}

.mobile-action-bar-inner {
  display: flex;
  gap: 0.8rem;
}

/* --- Footer --- */
.footer {
  padding: 4rem 0 2rem 0;
  background: var(--bg-base);
  border-top: 1px solid var(--border-subtle);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-wordmark {
  margin-bottom: 1rem;
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
  .investment-grid, .calc-grid, .contact-card, .floorplan-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

@media (max-width: 768px) {
  .navbar {
    padding: 0.85rem 0;
  }

  .logo {
    gap: 0.45rem;
  }

  .logo-wordmark-title {
    font-size: 1rem;
  }

  .logo-wordmark-sub {
    font-size: 0.34rem;
    letter-spacing: 0.28em;
  }

  .logo-icon {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .logo-title {
    font-size: 1rem;
  }

  .logo-sub {
    font-size: 0.52rem;
  }

  .nav-actions .btn {
    padding: 0.65rem 0.95rem;
    font-size: 0.9rem;
  }

  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }

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

  .visualizer-container {
    height: 350px;
  }

  .mobile-action-bar {
    display: block;
  }

  body {
    padding-bottom: 70px;
  }
}

/* --- ROI Calculator Mode Switcher & Rent Box --- */
.calc-mode-switcher {
  display: inline-flex;
  gap: 0.5rem;
  background: var(--bg-surface-elevated);
  padding: 0.35rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  margin-bottom: 1.5rem;
}

.calc-mode-btn {
  background: transparent;
  color: var(--text-secondary);
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.calc-mode-btn.active {
  background: var(--accent-citrine);
  color: #000000;
  box-shadow: 0 4px 12px rgba(229, 184, 59, 0.3);
}

.traditional-rent-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
}

/* --- Location & Key POIs Section --- */
.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.poi-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.poi-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-active);
}

.poi-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(229, 184, 59, 0.12);
  color: var(--accent-citrine);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

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

.poi-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.poi-distance {
  font-size: 0.85rem;
  color: var(--accent-citrine);
  font-weight: 600;
}

.location-map-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: var(--card-shadow);
  height: 420px;
}

.location-map-box iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Floating Theme Switcher Micro-Widget --- */
.floating-theme-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glass);
  color: var(--accent-citrine);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.floating-theme-btn:hover {
  transform: scale(1.1);
  border-color: var(--accent-citrine);
}

@media (max-width: 768px) {
  .floating-theme-btn {
    bottom: 85px;
    right: 15px;
  }
}

/* --- Non-wrapping Stat Number Fix --- */
.nowrap-text {
  white-space: nowrap !important;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem) !important;
  letter-spacing: 0.01em;
}

/* --- Location POI Table Format --- */
.poi-table-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 2.5rem;
  box-shadow: var(--card-shadow);
}

.poi-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.poi-table th, .poi-table td {
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.poi-table th {
  background: var(--bg-surface-elevated);
  color: var(--accent-citrine);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.poi-table tr:last-child td {
  border-bottom: none;
}

.badge-time {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(229, 184, 59, 0.15);
  color: var(--accent-citrine);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
}

/* --- Redesign Overrides --- */
body {
  background: linear-gradient(180deg, #fbf8f3 0%, #f7f3ed 100%);
}

.hero {
  min-height: auto;
  padding: 4rem 0 0.3rem;
  display: block;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 1.1rem;
  align-items: start;
}

.hero-copy {
  padding: 3.6rem 0.35rem 0 0;
}

.hero-eyebrow {
  display: none;
}

.hero-title {
  color: var(--text-primary);
  max-width: 6.5ch;
  font-size: clamp(3.1rem, 5vw, 4.35rem);
  font-weight: 500;
  line-height: 0.93;
  letter-spacing: -0.03em;
  margin-bottom: 0.7rem;
}

.hero-sub {
  color: var(--text-secondary);
  text-shadow: none;
  max-width: 360px;
  margin: 0 0 1.3rem;
  font-size: 0.98rem;
  line-height: 1.55;
}

.hero-actions {
  justify-content: flex-start;
  margin-top: 0;
}

.hero-media {
  position: relative;
  min-height: 360px;
  height: 360px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(184, 134, 11, 0.12);
  box-shadow: 0 18px 40px -28px rgba(28, 25, 23, 0.28);
  background: #f8f4ee;
}

.hero-media-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.03) contrast(1.02);
}

.hero-media-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  display: block;
  filter: saturate(1.02) contrast(1.01);
}

.hero-media::after {
  display: none;
}

.hero-media-caption {
  display: none;
}

.hero-proof-strip {
  grid-column: 1 / -1;
  margin-top: 0.4rem;
  padding: 0;
  gap: 0;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(184, 134, 11, 0.12);
  border-radius: 12px;
  box-shadow: 0 12px 26px -24px rgba(28, 25, 23, 0.45);
}

.hero-proof-strip .stat-item {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  gap: 0.8rem;
  border-right: 1px solid rgba(184, 134, 11, 0.14);
  padding: 1.15rem 1.35rem;
}

.hero-proof-strip .stat-item:last-child {
  border-right: none;
}

.stat-icon {
  color: var(--accent-citrine);
  font-size: 1.05rem;
  flex: 0 0 auto;
}

.stat-copy {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

.hero-proof-strip .stat-num {
  font-size: 2.05rem;
  font-weight: 500;
  line-height: 0.95;
  color: var(--text-primary);
}

.hero-proof-strip .stat-num-text {
  font-size: 0.9rem;
  line-height: 1.25;
  font-weight: 600;
}

.hero-proof-strip .stat-label {
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.section-intro-split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 1.5rem;
  align-items: center;
}

.benefit-stack {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.7rem;
}

.benefit-row {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.7rem;
  align-items: start;
  padding: 0.2rem 0;
  background: transparent;
  border: none;
}

.benefit-row i {
  color: var(--accent-citrine);
  font-size: 0.92rem;
  margin-top: 0.2rem;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(184, 134, 11, 0.12);
}

.benefit-row strong {
  display: block;
  margin-bottom: 0.08rem;
  font-size: 0.9rem;
}

.benefit-row p {
  color: var(--text-secondary);
  font-size: 0.73rem;
  line-height: 1.45;
}

.section-visual-card {
  position: relative;
  min-height: 320px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid rgba(184, 134, 11, 0.1);
  box-shadow: 0 14px 28px -22px rgba(28, 25, 23, 0.28);
}

.section-visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-visual-overlay {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.84);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(184, 134, 11, 0.16);
}

.section-visual-overlay span {
  display: block;
  color: var(--accent-citrine);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.section-visual-overlay strong {
  color: var(--text-primary);
  font-size: 1rem;
}

.invest-card,
.amenity-card,
.calc-result-box,
.roi-calculator,
.contact-card,
.poi-table-wrapper,
.location-map-box,
.featured-video-container {
  border-radius: 10px !important;
}

.invest-card {
  background: rgba(255,255,255,0.86);
}

.roi-calculator {
  background: rgba(249, 244, 236, 0.94);
  border-color: rgba(184, 134, 11, 0.08);
  padding: 2.2rem 1.8rem;
  margin-top: 2.6rem;
  box-shadow: none;
}

.calc-result-box {
  background: rgba(255,255,255,0.58);
  padding: 1.4rem 1rem;
  border-color: rgba(184, 134, 11, 0.08);
  border-radius: 8px !important;
}

.media-tabs {
  flex-wrap: wrap;
}

.tab-btn {
  padding-inline: 1.1rem;
}

.media-gallery {
  gap: 0.75rem;
}

.media-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: none;
  aspect-ratio: 1 / 0.82;
}

.amenities-grid {
  gap: 0.8rem;
}

.amenity-card {
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(184, 134, 11, 0.12);
  padding: 1.6rem 1.45rem;
  min-height: 0;
  align-items: flex-start;
  justify-content: flex-start;
  box-shadow: none;
}

.contact-card {
  background: rgba(255,255,255,0.88);
  border-color: rgba(184, 134, 11, 0.08);
  padding: 2rem;
  gap: 1.6rem;
  box-shadow: none;
}

.nav-actions .btn {
  padding: 0.68rem 1.15rem;
  font-size: 0.72rem;
}

.hero-actions .btn {
  padding: 0.8rem 1.4rem;
  font-size: 0.82rem;
}

.form-input, .form-select {
  background: #fffdfa;
  border-radius: 6px;
  padding: 0.78rem 0.95rem;
}

.mobile-action-bar {
  display: none !important;
}

@media (max-width: 1024px) {
  .hero-grid,
  .section-intro-split,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 0;
  }

  .hero-media {
    min-height: 280px;
    height: 280px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 4.8rem;
  }

  .hero-grid {
    gap: 0.95rem;
  }

  .hero-copy {
    padding: 0;
  }

  .hero-title {
    max-width: 7.2ch;
    font-size: clamp(2.75rem, 11vw, 3.65rem);
  }

  .hero-proof-strip {
    grid-template-columns: 1fr;
  }

  .hero-proof-strip .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(184, 134, 11, 0.14);
    padding-bottom: 0.9rem;
    padding-right: 0;
  }

  .hero-proof-strip .stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .section {
    padding: 3.6rem 0;
  }

  .investment-grid,
  .calc-grid,
  .contact-card,
  .amenities-grid,
  .media-gallery {
    gap: 1rem;
  }

  .calc-mode-switcher {
    width: 100%;
    justify-content: stretch;
    display: grid;
    grid-template-columns: 1fr;
  }

  .calc-mode-btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: row;
    align-items: flex-start;
  }

  .hero-actions .btn {
    width: auto;
  }

  .hero-stats {
    margin-top: 0.35rem;
  }
}

.hero-media-image,
.section-visual-card img,
.media-card img,
.media-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.calc-form-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.calc-results-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.calc-label {
  display: block;
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  letter-spacing: 0.06em;
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.gallery-dots span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(184, 134, 11, 0.25);
  display: inline-block;
}

.gallery-dots span.active {
  background: var(--accent-citrine);
}

.amenity-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.35rem;
}

.amenity-strip .amenity-card {
  min-height: 220px;
}

.amenity-strip .amenity-card .amenity-title {
  margin-bottom: 0.7rem;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.18;
  text-transform: uppercase;
}

.amenity-copy {
  color: var(--text-secondary);
  font-size: 0.78rem;
  line-height: 1.6;
}

.amenity-card-highlight {
  border-color: rgba(184, 134, 11, 0.8);
}

.location-split {
  gap: 1rem;
}

.location-list {
  margin-top: 1rem;
}

.media-card {
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255,255,255,0.85);
  min-height: 150px;
}

.media-card img,
.media-card video {
  min-height: 150px;
}

@media (max-width: 1024px) {
  .calc-form-grid,
  .calc-results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .amenity-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .calc-form-grid,
  .calc-results-grid,
  .amenity-strip {
    grid-template-columns: 1fr;
  }

  .media-gallery[style] {
    grid-template-columns: 1fr !important;
  }

  .section-visual-card {
    min-height: 260px;
  }
}

.section-tag i {
  display: none;
}

#real-estate .section-tag,
#solutions .section-tag,
#location .section-tag {
  display: none;
}

#investment .section-desc {
  display: none;
}

#contact .section-tag {
  margin-bottom: 0.4rem;
}

#contact .font-serif {
  font-size: 2rem !important;
  line-height: 1.02;
}

.contact-info-side p {
  font-size: 0.82rem;
  line-height: 1.55;
}

.role-options {
  gap: 0.55rem;
}

.role-badge {
  padding: 0.68rem 0.5rem;
  font-size: 0.72rem;
  border-radius: 6px;
}

.calc-form-grid {
  gap: 0.75rem;
}

.calc-slider-group label {
  display: block;
  font-size: 0.68rem;
  margin-bottom: 0.35rem;
  text-transform: none;
  color: var(--text-secondary);
}

.calc-slider-group input[type="text"] {
  width: 100%;
  padding: 0.78rem 0.8rem;
  border: 1px solid rgba(28, 25, 23, 0.1);
  border-radius: 6px;
  background: #fffdf9;
  font-family: var(--font-sans);
  font-size: 0.86rem;
}

.calc-annual-val {
  font-size: 2rem;
  color: var(--text-primary);
  margin: 0;
}

.gallery-dots {
  margin-top: 0.55rem;
}

.amenity-icon {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.location-map-box {
  height: 290px;
  box-shadow: none;
}

.section-visual-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Compact reference composition: preserve the supplied JPEG's dense editorial
   rhythm on small screens instead of collapsing every section into a stack. */
@media (max-width: 768px) {
  :root {
    --bg-base: #faf8f3;
    --bg-surface: #ffffff;
    --bg-surface-elevated: #f1ede5;
    --text-primary: #1e1b18;
    --text-secondary: #6d675f;
    --text-muted: #9c958b;
    --accent-citrine: #b48616;
  }

  body {
    background: #faf8f3;
    font-size: 16px;
  }

  .container {
    width: 96%;
    padding: 0 0.35rem;
  }

  .navbar {
    padding: 0.22rem 0;
    background: rgba(250, 248, 243, 0.97);
  }

  .nav-container {
    gap: 0.25rem;
  }

  .logo-wordmark {
    min-width: 3.85rem;
    gap: 0.02rem;
  }

  .logo-wordmark-title {
    font-size: 0.56rem;
    letter-spacing: 0.13em;
  }

  .logo-wordmark-sub {
    font-size: 0.19rem;
    letter-spacing: 0.25em;
  }

  .nav-links {
    display: flex;
    gap: 0.22rem;
    flex: 1 1 auto;
    justify-content: center;
  }

  .nav-link {
    font-size: 0.3rem;
    white-space: nowrap;
  }

  .nav-actions {
    gap: 0;
  }

  .nav-actions .btn {
    padding: 0.28rem 0.38rem;
    border-radius: 3px;
    font-size: 0.3rem;
    gap: 0.12rem;
    white-space: nowrap;
  }

  .nav-actions .btn i,
  .mobile-menu-btn {
    font-size: 0.38rem;
  }

  .mobile-menu-btn {
    display: none;
  }

  .hero {
    padding: 2rem 0 0.15rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 0.42rem;
    align-items: start;
  }

  .hero-copy {
    padding: 0.85rem 0 0;
  }

  .hero-title {
    max-width: 6.5ch;
    font-size: 1.55rem;
    line-height: 0.93;
    letter-spacing: -0.035em;
    margin-bottom: 0.42rem;
  }

  .hero-sub {
    max-width: 100%;
    font-size: 0.42rem;
    line-height: 1.35;
    margin-bottom: 0.55rem;
  }

  .hero-actions .btn {
    padding: 0.34rem 0.5rem;
    border-radius: 3px;
    font-size: 0.38rem;
    gap: 0.16rem;
  }

  .hero-actions .btn i {
    font-size: 0.42rem;
  }

  .hero-media {
    min-height: 0;
    height: 11.05rem;
    border-radius: 5px;
    box-shadow: none;
  }

  .hero-media-image {
    object-position: 58% center;
  }

  .hero-proof-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 0.18rem;
    border-radius: 5px;
  }

  .hero-proof-strip .stat-item {
    min-width: 0;
    gap: 0.22rem;
    padding: 0.48rem 0.35rem;
    border-right: 1px solid rgba(184, 134, 11, 0.14);
    border-bottom: none;
  }

  .hero-proof-strip .stat-item:last-child {
    border-right: none;
  }

  .stat-icon {
    font-size: 0.46rem;
  }

  .hero-proof-strip .stat-num {
    font-size: 0.72rem;
  }

  .hero-proof-strip .stat-num-text {
    font-size: 0.34rem;
    line-height: 1.05;
  }

  .hero-proof-strip .stat-label {
    font-size: 0.3rem;
    line-height: 1.05;
  }

  .section {
    padding: 0.72rem 0;
  }

  .section-intro-split,
  .location-split,
  .contact-card {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 0.42rem;
    align-items: start;
  }

  #investment .section-intro-split {
    margin-top: 0.15rem;
  }

  .section-tag {
    font-size: 0.28rem;
    letter-spacing: 0.13em;
    margin-bottom: 0.18rem;
  }

  .section-title {
    font-size: 0.92rem;
    line-height: 0.98;
    margin-bottom: 0.25rem;
  }

  #investment .section-title {
    font-size: 1.08rem;
  }

  .section-desc {
    font-size: 0.38rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
  }

  .benefit-stack {
    gap: 0.18rem;
    margin-top: 0.18rem;
  }

  .benefit-row {
    grid-template-columns: 0.68rem 1fr;
    gap: 0.22rem;
    padding: 0;
  }

  .benefit-row i {
    width: 0.62rem;
    height: 0.62rem;
    font-size: 0.32rem;
    margin-top: 0.02rem;
  }

  .benefit-row strong {
    font-size: 0.38rem;
    line-height: 1.1;
    margin-bottom: 0.03rem;
  }

  .benefit-row p {
    font-size: 0.3rem;
    line-height: 1.22;
  }

  .section-visual-card {
    min-height: 0;
    height: 8.7rem;
    border-radius: 4px;
    box-shadow: none;
  }

  .roi-calculator {
    margin-top: 0.55rem;
    padding: 0.58rem 0.35rem 0.42rem;
    border-radius: 5px !important;
  }

  .roi-calculator h3 {
    font-size: 0.72rem !important;
  }

  .roi-calculator > div:first-child {
    margin-bottom: 0.35rem !important;
  }

  .roi-calculator > div:first-child p {
    font-size: 0.3rem !important;
  }

  .calc-form-grid,
  .calc-results-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.2rem;
  }

  .calc-slider-group label,
  .calc-label {
    font-size: 0.25rem;
    line-height: 1.1;
    letter-spacing: 0;
    margin-bottom: 0.14rem;
  }

  .calc-slider-group input[type="text"] {
    padding: 0.28rem 0.22rem;
    border-radius: 2px;
    font-size: 0.3rem;
  }

  .calc-results-grid {
    margin-top: 0.3rem;
  }

  .calc-result-box {
    padding: 0.3rem 0.2rem;
    border-radius: 3px !important;
  }

  .calc-annual-val {
    font-size: 0.58rem;
    line-height: 1;
  }

  #roiComparisonNote {
    font-size: 0.25rem !important;
    margin-top: 0.28rem !important;
  }

  #real-estate .section-title,
  #solutions .section-title {
    font-size: 0.76rem;
  }

  #real-estate .container > div:first-child,
  #solutions .container > div:first-child {
    margin-bottom: 0.2rem;
  }

  .media-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0.22rem;
    margin-top: 0.25rem !important;
  }

  .media-card,
  .media-card img,
  .media-card video {
    min-height: 0;
    height: 4.45rem;
    border-radius: 3px;
  }

  .gallery-dots {
    gap: 0.18rem;
    margin-top: 0.25rem;
  }

  .gallery-dots span {
    width: 0.2rem;
    height: 0.2rem;
  }

  .amenity-strip {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.16rem;
    margin-top: 0.3rem;
  }

  .amenity-strip .amenity-card {
    min-height: 2.05rem;
    padding: 0.22rem 0.14rem;
    border-radius: 3px !important;
    align-items: center;
    text-align: center;
  }

  .amenity-icon {
    font-size: 0.38rem;
    margin-bottom: 0.1rem;
  }

  .amenity-strip .amenity-card .amenity-title {
    font-size: 0.25rem;
    line-height: 1.12;
    text-align: center;
    margin-bottom: 0;
  }

  .amenity-copy {
    display: none;
  }

  .location-split {
    gap: 0.35rem;
  }

  .location-split .section-title {
    font-size: 0.72rem;
  }

  .location-split .section-desc {
    margin-bottom: 0.28rem;
  }

  .location-list {
    margin-top: 0.2rem;
  }

  .invest-list li {
    gap: 0.16rem;
    margin-bottom: 0.14rem;
    font-size: 0.28rem;
    line-height: 1.1;
  }

  .invest-list li i {
    font-size: 0.3rem;
    margin-top: 0;
  }

  .location-map-box {
    height: 5.8rem;
    border-radius: 4px;
  }

  .contact-section {
    padding-top: 0.5rem;
  }

  .contact-card {
    padding: 0.42rem 0.35rem;
    gap: 0.35rem;
    border-radius: 4px !important;
  }

  #contact .font-serif {
    font-size: 0.78rem !important;
    margin-bottom: 0.25rem !important;
  }

  .contact-info-side p {
    font-size: 0.3rem;
    line-height: 1.28;
    margin-bottom: 0.4rem !important;
  }

  .contact-info-side > div:last-child {
    gap: 0.22rem !important;
  }

  .contact-info-side > div:last-child > div {
    gap: 0.2rem !important;
  }

  .contact-info-side > div:last-child > div > div:first-child {
    width: 0.7rem !important;
    height: 0.7rem !important;
    font-size: 0.34rem;
  }

  .contact-info-side strong,
  .contact-info-side .text-muted {
    font-size: 0.27rem;
    line-height: 1.1;
  }

  .form-group {
    margin-bottom: 0.25rem;
  }

  .form-group label {
    font-size: 0.27rem;
    margin-bottom: 0.1rem;
  }

  .role-options {
    gap: 0.12rem;
  }

  .role-badge {
    padding: 0.22rem 0.1rem;
    border-radius: 2px;
    font-size: 0.24rem;
    line-height: 1.1;
  }

  .form-input,
  .form-select {
    padding: 0.28rem 0.25rem;
    border-radius: 2px;
    font-size: 0.28rem;
  }

  #message {
    min-height: 1.5rem;
  }

  #leadForm .btn {
    padding: 0.32rem;
    border-radius: 3px;
    font-size: 0.3rem !important;
  }

  .footer {
    padding: 0.5rem 0 0.28rem;
    background: #191713;
  }

  .footer-grid {
    grid-template-columns: auto 1fr;
    gap: 0.5rem;
    align-items: start;
  }

  .footer-grid > div:nth-child(3) {
    display: none;
  }

  .footer-grid > div:first-child > p {
    display: none;
  }

  .footer-wordmark .logo-wordmark-title {
    color: #f4eee2;
    font-size: 0.52rem;
  }

  .footer-wordmark .logo-wordmark-sub {
    color: #b9ad9d;
  }

  .footer-grid > div:nth-child(2) h5 {
    display: none;
  }

  .footer-grid > div:nth-child(2) ul {
    flex-direction: row !important;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.25rem !important;
    font-size: 0.25rem !important;
  }

  .footer-bottom {
    margin-top: 0.32rem;
    padding-top: 0.25rem;
    font-size: 0.23rem;
    text-align: right;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero-grid,
  .section-intro-split,
  .contact-card {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 1rem;
  }

  .hero-copy {
    padding: 2.3rem 0.15rem 0 0;
  }

  .hero-title {
    max-width: 6.5ch;
    font-size: clamp(2.4rem, 5vw, 3.5rem);
    line-height: 0.95;
  }

  .hero-sub {
    font-size: 0.78rem;
    max-width: 280px;
    margin-bottom: 1rem;
  }

  .hero-media {
    min-height: 0;
    height: 300px;
  }

  .hero-proof-strip .stat-item {
    padding: 0.95rem 0.8rem;
  }

  .hero-proof-strip .stat-num {
    font-size: 1.45rem;
  }

  .hero-proof-strip .stat-num-text {
    font-size: 0.7rem;
  }

  .hero-proof-strip .stat-label {
    font-size: 0.58rem;
  }

  .section {
    padding: 3.2rem 0;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .section-desc {
    font-size: 0.82rem;
    margin-bottom: 1rem;
  }

  .benefit-row strong {
    font-size: 0.76rem;
  }

  .benefit-row p {
    font-size: 0.62rem;
  }

  .section-visual-card {
    min-height: 0;
    height: 300px;
  }

  .roi-calculator {
    padding: 1.5rem 1.1rem;
    margin-top: 1.3rem;
  }

  .media-gallery {
    gap: 0.45rem;
  }

  .amenity-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-card {
    padding: 1.2rem;
  }
}

/* Selected hero direction: image-led composition with a soft text fade. */
.hero-option-3 {
  padding-bottom: 1rem;
}

.hero-option-3 .hero-grid {
  position: relative;
  display: block;
  min-height: 27rem;
}

.hero-option-3 .hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 27rem;
  z-index: 0;
  border-radius: 10px;
}

.hero-option-3 .hero-media::after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(250, 248, 243, 0.98) 0%, rgba(250, 248, 243, 0.88) 35%, rgba(250, 248, 243, 0.2) 68%, rgba(250, 248, 243, 0) 100%);
}

.hero-option-3 .hero-copy {
  position: relative;
  z-index: 2;
  width: min(52%, 36rem);
  min-height: 23rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 0 3rem 2rem;
}

.hero-option-3 .hero-proof-strip {
  position: relative;
  z-index: 3;
  width: 75%;
  margin: -3.2rem auto 0;
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero-option-3 .hero-grid {
    min-height: 22rem;
  }

  .hero-option-3 .hero-media {
    height: 22rem;
  }

  .hero-option-3 .hero-copy {
    min-height: 19rem;
    padding: 2rem 0 2rem 1.2rem;
  }

  .hero-option-3 .hero-proof-strip {
    margin-top: -2.5rem;
  }
}

@media (max-width: 768px) {
  .hero-option-3 {
    padding: 2rem 0 0.15rem;
  }

  .hero-option-3 .hero-grid {
    min-height: 12.5rem;
  }

  .hero-option-3 .hero-media {
    height: 12.5rem;
    border-radius: 5px;
  }

  .hero-option-3 .hero-media::after {
    background: linear-gradient(90deg, rgba(250, 248, 243, 0.98) 0%, rgba(250, 248, 243, 0.84) 48%, rgba(250, 248, 243, 0.12) 100%);
  }

  .hero-option-3 .hero-copy {
    width: 66%;
    min-height: 12.5rem;
    padding: 0.85rem 0 0.75rem 0.5rem;
    justify-content: flex-start;
  }

  .hero-option-3 .hero-proof-strip {
    width: 100%;
    margin: 0.18rem 0 0;
  }
}

/* Final annotated refinements. */
.nav-link {
  font-size: 12px;
  line-height: 1;
}

.hero-proof-strip .stat-num,
.hero-proof-strip .stat-num-text {
  font-size: 1.15rem;
  line-height: 1.05;
  font-weight: 600;
}

.hero-proof-strip .stat-label {
  font-size: 0.68rem;
  line-height: 1.15;
}

.calc-slider-group input[readonly] {
  background: #f1ede5;
  color: var(--text-primary);
  cursor: not-allowed;
}

.media-gallery[style] {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

@media (min-width: 769px) {
  .amenity-strip .amenity-card {
    min-height: 0;
    height: 172px;
    padding: 1.15rem 1.25rem;
  }

  .contact-section {
    padding: 2.4rem 0;
  }

  .contact-card {
    padding: 1.25rem 1.4rem;
    gap: 1.15rem;
  }

  #contact .font-serif {
    font-size: 1.75rem !important;
    margin-bottom: 0.45rem !important;
  }

  .contact-info-side p {
    margin-bottom: 1rem !important;
  }

  .contact-info-side > div:last-child {
    gap: 0.65rem !important;
  }

  .form-group {
    margin-bottom: 0.65rem;
  }

  .form-group label {
    margin-bottom: 0.25rem;
  }

  .role-badge {
    padding: 0.55rem 0.45rem;
  }

  .form-input,
  .form-select {
    padding: 0.6rem 0.75rem;
  }

  #message {
    min-height: 4rem;
  }
}

@media (max-width: 768px) {
  .nav-link {
    font-size: 0.3rem;
  }

  .hero-proof-strip .stat-num,
  .hero-proof-strip .stat-num-text {
    font-size: 0.42rem;
    line-height: 1.05;
  }

  .hero-proof-strip .stat-label {
    font-size: 0.3rem;
    line-height: 1.05;
  }

  .media-gallery[style] {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
