/* ==========================================================================
   DANUBE PROPERTIES LEAD-GEN LANDING PAGES
   Shared Design System & Component Library (Aspirz, Greenz, Shahrukhz)
   Mobile-First • Ultra-Fast • Editorial Luxury
   ========================================================================== */

/* --- 1. CSS VARIABLES & THEMES --- */
:root {
  /* Common System Tokens */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 25px rgba(201, 164, 92, 0.25);
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  
  --header-height: 60px;
  --bottom-bar-height: 68px;

  /* WhatsApp Brand Color */
  --color-whatsapp: #25D366;
  --color-whatsapp-dark: #1EBE5D;
}

/* --- Project Themes --- */
/* 1. Greenz by Danube: Forest green, Soft gold, Cream */
body[data-project="greenz"] {
  --primary: #0E5A3A;
  --primary-dark: #093E28;
  --primary-light: #167A4F;
  --primary-rgb: 14, 90, 58;
  
  --accent: #C9A45C;
  --accent-light: #DFBF7C;
  --accent-dark: #A9833E;
  --accent-rgb: 201, 164, 92;
  
  --bg: #F6F3EC;
  --bg-subtle: #EFECE3;
  --surface: #FFFFFF;
  --surface-card: #FFFFFF;
  --surface-tint: #F3EFE6;
  
  --text-main: #141A16;
  --text-muted: #546059;
  --text-on-primary: #FFFFFF;
  
  --border: rgba(14, 90, 58, 0.12);
  --border-focus: #C9A45C;
  --badge-bg: rgba(201, 164, 92, 0.15);
  --badge-text: #8E6B24;
}

/* 2. Aspirz by Danube: Charcoal, Champagne gold, Pearl white */
body[data-project="aspirz"] {
  --primary: #1E1E1E;
  --primary-dark: #121212;
  --primary-light: #333333;
  --primary-rgb: 30, 30, 30;
  
  --accent: #B8935A;
  --accent-light: #D4B27C;
  --accent-dark: #99743D;
  --accent-rgb: 184, 147, 90;
  
  --bg: #F5F4F1;
  --bg-subtle: #ECEAE4;
  --surface: #FFFFFF;
  --surface-card: #FFFFFF;
  --surface-tint: #F9F8F5;
  
  --text-main: #1A1A1A;
  --text-muted: #5E5D5A;
  --text-on-primary: #FFFFFF;
  
  --border: rgba(30, 30, 30, 0.12);
  --border-focus: #B8935A;
  --badge-bg: rgba(184, 147, 90, 0.16);
  --badge-text: #8A6A34;
}

/* 3. Shahrukhz Residences: Deep ocean navy, Rose gold + Aqua, Light aqua */
body[data-project="shahrukhz"] {
  --primary: #0B2545;
  --primary-dark: #06172E;
  --primary-light: #133966;
  --primary-rgb: 11, 37, 69;
  
  --accent: #C08A62;
  --accent-light: #D6A47E;
  --accent-dark: #A5704B;
  --accent-rgb: 192, 138, 98;
  
  --accent-aqua: #2BA0BD;
  --accent-aqua-light: #52C5E0;
  
  --bg: #EEF7FA;
  --bg-subtle: #E2EFF3;
  --surface: #FFFFFF;
  --surface-card: #FFFFFF;
  --surface-tint: #F3F9FB;
  
  --text-main: #0B1C2D;
  --text-muted: #4B6075;
  --text-on-primary: #FFFFFF;
  
  --border: rgba(11, 37, 69, 0.12);
  --border-focus: #C08A62;
  --badge-bg: rgba(192, 138, 98, 0.16);
  --badge-text: #8E5A34;
}

/* Hub page fallback */
body:not([data-project]) {
  --primary: #121E28;
  --primary-dark: #0B141C;
  --primary-light: #1D2E3E;
  --primary-rgb: 18, 30, 40;
  --accent: #C5A059;
  --accent-light: #DEBF7F;
  --accent-dark: #A4813D;
  --accent-rgb: 197, 160, 89;
  --bg: #F7F6F2;
  --bg-subtle: #EDECE6;
  --surface: #FFFFFF;
  --surface-card: #FFFFFF;
  --surface-tint: #F9F8F5;
  --text-main: #14171A;
  --text-muted: #57606A;
  --text-on-primary: #FFFFFF;
  --border: rgba(18, 30, 40, 0.12);
  --border-focus: #C5A059;
  --badge-bg: rgba(197, 160, 89, 0.15);
  --badge-text: #8A6827;
}

/* --- 2. RESET & BASE --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  padding-bottom: var(--bottom-bar-height);
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

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

/* Global SVG Safety Rule */
svg:not([width]) {
  width: 24px;
  height: 24px;
}

svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  touch-action: manipulation;
}

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

ul, ol {
  list-style: none;
}

/* Accessible focus outlines */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Typography styles */
h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text-main);
}

h1 {
  font-size: clamp(2.2rem, 7vw, 4rem);
}

h2 {
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  margin-bottom: 0.5rem;
}

h3 {
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
}

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

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

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 768px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.section-padding {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
  scroll-margin-top: 115px;
}

section[id] {
  scroll-margin-top: 115px;
}

@media (max-width: 767px) {
  .section-padding {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
}

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

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background-color: var(--accent);
  opacity: 0.6;
}

.gold-rule {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 1rem auto;
}

/* --- 3. BUTTONS & UI ELEMENTS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 52px;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-full);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  transition: all var(--transition-fast);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #FFFFFF;
  box-shadow: 0 4px 18px rgba(var(--accent-rgb), 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  box-shadow: 0 6px 24px rgba(var(--accent-rgb), 0.5);
  transform: translateY(-2px);
}

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

.btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-main);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

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

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: #FFFFFF;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: var(--color-whatsapp-dark);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transform: translateY(-2px);
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: currentColor;
}

.btn-full {
  width: 100%;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  background-color: var(--badge-bg);
  color: var(--badge-text);
  border: 1px solid rgba(var(--accent-rgb), 0.25);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #FFFFFF;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  margin-bottom: 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-bottom 0.3s ease, margin-bottom 0.3s ease;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 1rem;
  max-width: 1240px;
  margin: 0 auto;
  transition: height 0.3s ease, padding 0.3s ease;
}

@media (min-width: 768px) {
  .header-container {
    height: 88px;
    padding: 0 1.5rem;
  }
}

.header-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.header-logo {
  height: 34px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  display: block;
  transition: height 0.3s ease;
}

@media (min-width: 768px) {
  .header-logo {
    height: 44px;
    max-width: 220px;
  }
}

.agency-badge {
  display: flex;
  flex-direction: column;
}

.agency-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.1;
  color: var(--primary);
  letter-spacing: 0.02em;
}

.agency-sub {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-dark);
}

/* Project Switcher Pills */
.project-switcher {
  display: inline-flex;
  align-items: center;
  background: #F2F2F2;
  padding: 3px;
  border-radius: var(--radius-full);
  border: none;
  gap: 3px;
  transition: background 0.3s ease;
}

.switcher-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.38rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #555555;
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
  line-height: 1.2;
}

.switcher-item:not(.active):hover {
  color: #111111;
}

.switcher-item.active {
  color: #FFFFFF !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.switcher-item.active[href*="aspirz"],
body[data-project="aspirz"] .switcher-item.active {
  background: #1E1E1E !important;
  color: #FFFFFF !important;
}

.switcher-item.active[href*="greenz"],
body[data-project="greenz"] .switcher-item.active {
  background: #0E5A3A !important;
  color: #FFFFFF !important;
}

.switcher-item.active[href*="shahrukhz"],
body[data-project="shahrukhz"] .switcher-item.active {
  background: #0B2545 !important;
  color: #FFFFFF !important;
}

body:not([data-project]) .switcher-item.active {
  background: #1E1E1E !important;
  color: #FFFFFF !important;
}

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

.btn-header-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
  transition: transform var(--transition-fast);
}

.btn-header-wa:hover {
  transform: scale(1.06);
}

.btn-header-wa svg {
  width: 20px;
  height: 20px;
  fill: #FFFFFF;
}

/* Mobile sub-bar for switcher */
.mobile-switcher-bar {
  display: none;
  background: #FFFFFF;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  padding: 0.35rem 0.75rem 0.45rem;
  width: 100%;
  transition: background 0.3s ease;
}

@media (max-width: 767px) {
  .header-container .project-switcher {
    display: none;
  }
  .mobile-switcher-bar {
    display: block;
  }
  .mobile-switcher-bar .project-switcher {
    display: flex;
    width: 100%;
    margin: 0 auto;
    padding: 3px;
    background: #F2F2F2;
    border-radius: var(--radius-full);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .mobile-switcher-bar .project-switcher::-webkit-scrollbar {
    display: none;
  }
  .mobile-switcher-bar .switcher-item {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    padding: 0.38rem 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
  }
}

/* --- Scrolled Header State (Frosted Glass) --- */
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  margin-bottom: 4px;
}

@media (min-width: 768px) {
  .site-header.is-scrolled {
    margin-bottom: 16px;
  }
}

.site-header.is-scrolled .header-container {
  height: 56px;
}

@media (min-width: 768px) {
  .site-header.is-scrolled .header-container {
    height: 72px;
  }
}

.site-header.is-scrolled .header-logo {
  height: 30px;
}

@media (min-width: 768px) {
  .site-header.is-scrolled .header-logo {
    height: 38px;
  }
}

.site-header.is-scrolled .project-switcher {
  background: rgba(242, 242, 242, 0.75);
}

.site-header.is-scrolled .mobile-switcher-bar {
  background: transparent;
}

/* Fallback: if the browser does not support backdrop-filter */
@supports not (backdrop-filter: blur(1px)) {
  .site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.94);
  }
}

@supports (-webkit-backdrop-filter: blur(1px)) {
  .site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.72);
  }
}

/* Respect prefers-reduced-motion (no transition) */
@media (prefers-reduced-motion: reduce) {
  .site-header,
  .site-header.is-scrolled,
  .header-container,
  .site-header.is-scrolled .header-container,
  .header-logo,
  .site-header.is-scrolled .header-logo,
  .project-switcher,
  .site-header.is-scrolled .project-switcher,
  .mobile-switcher-bar,
  .site-header.is-scrolled .mobile-switcher-bar {
    transition: none !important;
  }
}

/* --- 5. HERO SECTION --- */
.hero-section {
  position: relative;
  min-height: calc(100vh - 105px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0.75rem 3rem;
  color: #FFFFFF;
  overflow: hidden;
  box-sizing: border-box;
}

.hero-bg-media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg-img,
.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    0deg,
    rgba(10, 18, 14, 0.65) 0%,
    rgba(10, 18, 14, 0.40) 40%,
    rgba(10, 18, 14, 0.10) 75%,
    transparent 100%
  );
}

body[data-project="aspirz"] .hero-overlay {
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.90) 0%,
    rgba(10, 10, 10, 0.65) 30%,
    rgba(10, 10, 10, 0.25) 60%,
    rgba(10, 10, 10, 0.85) 100%
  );
}

body[data-project="shahrukhz"] .hero-overlay {
  background: linear-gradient(
    0deg,
    rgba(5, 18, 35, 0.65) 0%,
    rgba(5, 18, 35, 0.40) 40%,
    rgba(5, 18, 35, 0.10) 75%,
    transparent 100%
  );
}

body:not([data-project]) .hero-overlay {
  background: linear-gradient(
    0deg,
    rgba(12, 20, 28, 0.65) 0%,
    rgba(12, 20, 28, 0.40) 40%,
    rgba(12, 20, 28, 0.10) 75%,
    transparent 100%
  );
}

/* Hero Project Logo */
.hero-project-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1.25rem;
}

.hero-project-logo {
  height: auto;
  max-height: 56px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

@media (min-width: 768px) {
  .hero-project-logo {
    max-height: 72px;
    max-width: 320px;
  }
}

/* Explore Cross-Sell Project Logo */
.explore-logo-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.20);
  display: flex;
  align-items: center;
  z-index: 3;
}

.explore-logo-img {
  height: 22px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 820px;
  text-align: center;
  margin: 0 auto;
  box-sizing: border-box;
}

.hero-chips-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

@media (min-width: 480px) {
  .hero-chips-wrap {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.hero-chip {
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  max-width: 90%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-title {
  color: #FFFFFF;
  margin-bottom: 0.4rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  font-size: clamp(1.95rem, 6.5vw, 3.6rem);
}

.hero-tagline {
  font-size: clamp(0.9rem, 2.2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 400;
  max-width: 650px;
  margin: 0 auto 1.5rem;
  line-height: 1.45;
  padding: 0 0.5rem;
}

/* 3 Stat Tiles (DAMAC-Style) */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
  margin: 0 auto 1.5rem;
  width: 100%;
  max-width: 680px;
  box-sizing: border-box;
}

.stat-tile {
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.15rem;
  text-align: center;
  box-sizing: border-box;
  overflow: hidden;
}

.stat-val {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 3.2vw, 1.85rem);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 0.15rem;
  white-space: nowrap;
}

.stat-label {
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent-light);
  white-space: nowrap;
}

@media (min-width: 480px) {
  .hero-stats-grid {
    gap: 0.65rem;
  }
  .stat-tile {
    padding: 1rem 0.5rem;
  }
  .stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
  }
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.hero-ctas .btn {
  width: 100%;
}

@media (min-width: 580px) {
  .hero-ctas {
    flex-direction: row;
  }
  .hero-ctas .btn {
    width: auto;
    flex: 1;
  }
}

.hero-trust-row {
  margin-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.75);
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Product Line Tabs (Residences vs Offices) */
.product-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  margin: 0 auto 2.25rem;
  max-width: 440px;
}

.product-tab-btn {
  flex: 1;
  text-align: center;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9375rem;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.product-tab-btn:hover {
  border-color: var(--accent);
  color: var(--text-main);
}

.product-tab-btn.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.product-tab-panel {
  display: none;
}

.product-tab-panel.is-active {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* --- 6. PAYMENT PLAN DOCUMENT CARD (MAIN LEAD MAGNET) --- */
.payment-doc-card {
  background: linear-gradient(145deg, #FFFFFF, var(--surface-tint));
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 2rem 1.5rem;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .payment-doc-card {
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 3rem;
    align-items: center;
  }
}

.doc-visual-wrap {
  position: relative;
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
}

@media (min-width: 768px) {
  .doc-visual-wrap {
    margin-bottom: 0;
  }
}

.doc-thumbnail {
  width: 240px;
  height: 330px;
  background: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.08);
  transform: rotate(-3deg);
  transition: transform var(--transition-base);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.doc-thumbnail:hover {
  transform: rotate(0deg) scale(1.02);
}

.doc-thumb-header {
  border-bottom: 1px solid #ECECEC;
  padding-bottom: 0.75rem;
}

.doc-thumb-logo {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary);
}

.doc-thumb-stamp {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--accent);
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.doc-thumb-body {
  margin-top: 1rem;
}

.doc-thumb-lines {
  height: 6px;
  background: #F0F0F0;
  border-radius: 3px;
  margin-bottom: 6px;
}

.doc-thumb-lines:nth-child(2) { width: 80%; }
.doc-thumb-lines:nth-child(3) { width: 90%; }
.doc-thumb-lines:nth-child(4) { width: 65%; }

.doc-thumb-table {
  margin-top: 1.25rem;
  background: #F9F9F8;
  border-radius: 6px;
  padding: 0.5rem;
  font-size: 0.6875rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.doc-thumb-row {
  display: flex;
  justify-content: space-between;
  color: #777;
}

.doc-thumb-footer {
  border-top: 1px solid #ECECEC;
  padding-top: 0.5rem;
  font-size: 0.625rem;
  color: #999;
  text-align: center;
}

.doc-content h3 {
  margin-bottom: 0.75rem;
}

.doc-headline-plan {
  display: inline-block;
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.doc-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.25rem 0 1.75rem;
}

.doc-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-main);
  font-weight: 500;
}

.doc-check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.2);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.doc-check-icon svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.doc-privacy-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  text-align: center;
}

/* --- 7. KEY HIGHLIGHTS GRID --- */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .highlights-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.highlight-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 1.5rem 1.25rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.highlight-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.highlight-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--surface-tint);
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--accent);
}

.highlight-icon-wrap svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.highlight-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--text-main);
}

.highlight-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- 8. SWIPER GALLERY --- */
.gallery-section {
  overflow: hidden;
}

.swiper-container {
  width: 100%;
  padding-bottom: 2.5rem;
  position: relative;
}

.gallery-slide-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  position: relative;
  transition: transform var(--transition-fast);
  max-width: 420px;
}

@media (max-width: 767px) {
  .gallery-slide-card {
    width: 85vw !important;
    max-width: 85vw !important;
    flex-shrink: 0;
  }
}

.gallery-slide-card:hover {
  transform: scale(1.01);
}

.gallery-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #E8E6DF;
}

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

.gallery-slide-card:hover .gallery-img-wrap img {
  transform: scale(1.05);
}

.gallery-caption {
  padding: 1rem 1.25rem;
  background: var(--surface);
}

.gallery-caption-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.gallery-caption-sub {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.gallery-zoom-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-zoom-badge svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Custom Swiper Controls */
.gallery-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
}

.swiper-pagination-bullets {
  position: static !important;
}

.swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: var(--text-muted) !important;
  opacity: 0.35 !important;
  transition: all 0.2s ease;
}

.swiper-pagination-bullet-active {
  width: 24px !important;
  border-radius: 4px !important;
  background: var(--accent) !important;
  opacity: 1 !important;
}

/* --- 9. FULL PRICE & UNIT TYPES --- */
.price-section {
  background: var(--surface-tint);
}

.price-sub-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 1rem;
  text-align: center;
}

/* Mobile swipeable cards */
.mobile-cards-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem 0.25rem 1.5rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.mobile-cards-scroll::-webkit-scrollbar {
  display: none;
}

.unit-card {
  flex: 0 0 88%;
  max-width: 380px;
  scroll-snap-align: center;
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition-fast);
}

.unit-card:hover {
  border-color: var(--accent);
}

.unit-card-header {
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid var(--border);
  background: #FFFFFF;
}

.unit-type-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.unit-floor-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-dark);
  margin-top: 0.25rem;
}

.unit-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.unit-price-box {
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-start-group .label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
}

.price-start-group .val {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
}

.price-avg-group {
  text-align: right;
}

.price-avg-group .label {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.price-avg-group .val {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-main);
}

.unit-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
  font-size: 0.8125rem;
}

.spec-item .label {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.spec-item .val {
  font-weight: 600;
  color: var(--text-main);
}

.unit-thumb-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--surface-tint);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 0.6rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  transition: all var(--transition-fast);
}

.unit-thumb-btn:hover {
  background: #FFFFFF;
  border-color: var(--accent);
  color: var(--accent-dark);
}

.unit-card-footer {
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid var(--border);
  background: #FFFFFF;
}

/* Desktop Price Table */
.desktop-price-table-wrap {
  display: none;
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}

@media (max-width: 767px) {
  .mobile-cards-scroll {
    display: flex !important;
  }
  .desktop-price-table-wrap {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .mobile-cards-scroll {
    display: none !important;
  }
  .desktop-price-table-wrap {
    display: block !important;
  }
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9375rem;
}

.price-table th {
  background: var(--bg-subtle);
  color: var(--text-main);
  font-weight: 700;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price-table td {
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-main);
  vertical-align: middle;
}

.price-table tr:hover td {
  background: rgba(var(--accent-rgb), 0.04);
}

.price-table .col-highlight {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

/* Pricing Table Aliases & Buttons */
.pricing-table-desktop {
  display: none;
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}
@media (min-width: 860px) {
  .pricing-table-desktop {
    display: block;
  }
}
.table-units {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9375rem;
}
.table-units th {
  background: var(--bg-subtle);
  color: var(--text-main);
  font-weight: 700;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.table-units td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-main);
  vertical-align: middle;
}
.table-units tr:hover td {
  background: rgba(var(--accent-rgb), 0.04);
}
.btn-unit-cta {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--radius-full);
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}
.btn-unit-cta:hover {
  background: var(--accent);
  color: #FFFFFF;
}

/* EOI Banner */
.eoi-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .eoi-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.eoi-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: #FFFFFF;
  margin-bottom: 0.25rem;
}

.eoi-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
}

.eoi-tag {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
}

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

@media (min-width: 640px) {
  .amenities-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 960px) {
  .amenities-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

.amenity-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  transition: all var(--transition-fast);
}

.amenity-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.amenity-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--surface-tint);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.amenity-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.amenity-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.25;
}

/* Expandable Full Amenities Drawer */
.amenities-expand-wrap {
  margin-top: 2rem;
  text-align: center;
}

.amenities-full-list {
  display: none;
  margin-top: 2rem;
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 2rem 1.5rem;
  text-align: left;
}

.amenities-full-list.is-open {
  display: block;
  animation: fadeIn 0.3s ease;
}

.numbered-amenities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem 1.5rem;
}

@media (min-width: 600px) {
  .numbered-amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .numbered-amenities-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.numbered-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.amenity-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  width: 24px;
}

/* --- 11. LOCATION & CONNECTIVITY --- */
.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 860px) {
  .location-grid {
    grid-template-columns: 1.15fr 1fr;
    align-items: center;
  }
}

.location-map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: #E8E6DF;
}

.location-distances-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.distance-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
}

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

.distance-place {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 500;
  color: var(--text-main);
}

.pin-icon {
  width: 16px;
  height: 16px;
  fill: var(--accent);
  flex-shrink: 0;
}

.distance-time {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.875rem;
  background: var(--surface-tint);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.distance-collapsible {
  display: none;
}

.distance-collapsible.is-open {
  display: block;
}

.btn-toggle-distances {
  margin-top: 1rem;
  width: 100%;
  padding: 0.65rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
  cursor: pointer;
}

/* --- 12. INVESTMENT STORY / WHY DUBAI --- */
.story-box {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 2.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .story-box {
    padding: 3rem;
  }
}

.stats-callout-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.75rem;
}

@media (min-width: 640px) {
  .stats-callout-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.callout-item {
  background: var(--surface-tint);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  border: 1px solid rgba(var(--accent-rgb), 0.15);
}

.callout-val {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.callout-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Why Dubai & Danube Dual Grid */
.dual-trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .dual-trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.trust-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
}

.trust-card h3 {
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.75rem;
}

.trust-item-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.trust-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-main);
}

.trust-row svg {
  width: 18px;
  height: 18px;
  fill: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

/* --- 13. LEAD FORM (INLINE & MODAL) --- */
.lead-form-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 2.25rem 1.5rem;
  max-width: 620px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .lead-form-card {
    padding: 3rem 2.5rem;
  }
}

.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text-main);
}

.form-input,
.form-select {
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: #FFFFFF;
  color: var(--text-main);
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.15);
}

.form-input.has-error {
  border-color: #E53E3E;
  background-color: #FFF5F5;
}

.error-text {
  font-size: 0.75rem;
  color: #E53E3E;
  margin-top: 0.25rem;
  display: none;
}

.error-text.is-visible {
  display: block;
}

/* intl-tel-input integration & mobile search popup */
.iti {
  width: 100%;
  display: block;
}

.iti--container {
  z-index: 2000 !important;
}

.iti__dropdown-content {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  background: #FFFFFF;
}

.iti__search-input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #F8F9FA;
  color: var(--text-main);
  outline: none;
  margin-bottom: 4px;
}

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

.iti__country {
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--text-main);
  transition: background var(--transition-fast);
}

.iti__country:hover,
.iti__country.iti__highlight {
  background-color: rgba(var(--accent-rgb), 0.08);
}

.iti__selected-dial-code {
  color: var(--text-main);
  font-weight: 500;
  margin-left: 6px;
}

/* Purpose radio pills */
.purpose-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.purpose-pill-label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--surface-tint);
  transition: all var(--transition-fast);
}

.purpose-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.purpose-input:checked + .purpose-pill-label {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Consent checkbox */
.consent-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 1.25rem 0 1.5rem;
}

.consent-checkbox {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}

/* Spinner */
.spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.btn.is-submitting .spinner {
  display: inline-block;
}

.btn.is-submitting .btn-text {
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- 14. MODAL DIALOG --- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  max-width: 540px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 2.25rem 1.5rem;
}

@media (min-width: 600px) {
  .modal-card {
    padding: 2.5rem 2.25rem;
  }
}

.modal-backdrop.is-open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: #E0E0E0;
  color: var(--text-main);
}

.modal-close-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Floor Plan Lightbox */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 1000px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  color: #FFFFFF;
  margin-top: 1rem;
  font-size: 1rem;
  text-align: center;
}

/* --- 15. EXPLORE OTHER PROJECTS CROSS-SELL --- */
.explore-projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .explore-projects-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.explore-project-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  display: flex;
  flex-direction: column;
}

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

.explore-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #DDD;
}

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

.explore-project-card:hover .explore-card-media img {
  transform: scale(1.05);
}

.explore-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.explore-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.explore-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.explore-loc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.explore-stats-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  background: var(--surface-tint);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
}

.explore-stats-row .price {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
}

.explore-stats-row .plan {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-dark);
}

/* --- 16. FAQ ACCORDION --- */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.is-active {
  border-color: var(--accent);
}

.faq-question-btn {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-main);
  background: #FFFFFF;
}

.faq-question-btn:hover {
  color: var(--accent-dark);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.faq-item.is-active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  background: var(--surface-tint);
}

.faq-answer-content {
  padding: 1.25rem 1.5rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- 17. FOOTER --- */
.site-footer {
  background: #111417;
  color: #A0AEC0;
  padding: 3.5rem 1rem 2.5rem;
  font-size: 0.8125rem;
  line-height: 1.6;
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-top-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-top-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.footer-agency-col h4 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: #FFFFFF;
  margin-bottom: 0.35rem;
}

.footer-agency-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: #CBD5E0;
}

.footer-permits-col {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: #A0AEC0;
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: #718096;
  line-height: 1.55;
}

.footer-bottom-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
}

@media (min-width: 600px) {
  .footer-bottom-row {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

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

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

/* --- 18. MOBILE STICKY BOTTOM BAR --- */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateY(100%);
  transition: transform var(--transition-base);
}

.mobile-bottom-bar.is-visible {
  transform: translateY(0);
}

@media (min-width: 768px) {
  .mobile-bottom-bar {
    display: none !important;
  }
}

.mobile-bottom-bar .btn {
  flex: 1;
  min-height: 48px;
  font-size: 0.875rem;
  padding: 0.65rem 0.5rem;
}

/* --- 19. FLOATING WHATSAPP BUTTON (DESKTOP) --- */
.floating-wa-btn {
  display: none;
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 800;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

@media (min-width: 768px) {
  .floating-wa-btn {
    display: flex;
  }
}

.floating-wa-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.floating-wa-btn svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* Accessibility: Respect Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Hub Feature Grids & Cards */
.hub-feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .hub-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hub-feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hub-feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

.hub-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(201, 164, 92, 0.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.hub-feature-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.hub-feature-title {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.hub-feature-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

