/* GENERATED by tools/make-site-css.py from css/style.css + tools/site-theme.css — edit those, not this file */
/* ==========================================================================
   APEX AVENUE REALTY — LUXURY REAL ESTATE DESIGN SYSTEM
   Brand Palette: Royal Sapphire Blue, Midnight Navy, Champagne Gold
   ========================================================================== */

:root {
  /* ============================================================
     APEX AVENUE REALTY — GLOBAL DESIGN TOKEN SYSTEM v2
     One brand. One visual language. One consistent UI system.
     ============================================================ */

  /* — PRIMARY BRAND PALETTE — */
  --brand-50: #f2f7fb;
  --brand-100: #e3eef8;
  --brand-200: #c3dcf0;
  --brand-300: #7cc8fb;
  --brand-400: #38a9f6;
  --brand-500: #2a8ad6;
  --brand-600: #0a7ad0;
  --brand-700: #0469bb;
  --brand-800: #06396e;
  --brand-900: #06396e;
  --brand-950: #04284f;

  /* — LUXURY CHAMPAGNE GOLD — */
  --gold-50: #eef5fb;
  --gold-100: #dceaf6;
  --gold-200: #b9d6ee;
  --gold-300: #8fbfe6;
  --gold-400: #3d9be0;
  --gold-500: #0469bb;
  --gold-600: #0469bb;
  --gold-700: #06396e;
  --gold-800: #06396e;
  --gold-900: #04284f;

  /* — NEUTRAL SLATE — */
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* — SEMANTIC STATUS COLORS — */
  --success: #10b981;
  --success-light: rgba(16, 185, 129, 0.12);
  --success-border: rgba(16, 185, 129, 0.35);
  --success-text: #065f46;

  --warning: #0469bb;
  --warning-light: rgba(245, 158, 11, 0.1);
  --warning-border: rgba(245, 158, 11, 0.35);
  --warning-text: #04284f;

  --error: #ef4444;
  --error-light: rgba(239, 68, 68, 0.1);
  --error-border: rgba(239, 68, 68, 0.3);
  --error-text: #7f1d1d;

  --info: #2a8ad6;
  --info-light: rgba(14, 140, 232, 0.08);
  --info-border: rgba(14, 140, 232, 0.25);
  --info-text: #06396e;

  /* — SURFACE HIERARCHY — */
  --surface-base: #ffffff;
  --surface-raised: #f8fafc;
  --surface-overlay: #f1f5f9;
  --surface-dark: #04284f;
  --surface-dark-raised: #06396e;
  --surface-dark-card: rgba(255, 255, 255, 0.04);
  --surface-dark-border: rgba(255, 255, 255, 0.08);
  --surface-dark-border-gold: rgba(4, 105, 187, 0.25);

  /* — TEXT HIERARCHY — */
  --text-primary: #06396e;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;
  --text-on-dark: #e2e8f0;
  --text-on-dark-muted: #94a3b8;
  --text-gold: #0469bb;
  --text-gold-bright: #3d9be0;

  /* — BORDER TOKENS — */
  --border-light: #e2e8f0;
  --border-medium: #cbd5e1;
  --border-brand: rgba(4, 105, 187, 0.3);
  --border-gold: rgba(4, 105, 187, 0.4);

  /* — HOVER / FOCUS / DISABLED — */
  --hover-brand: #e3eef8;
  --hover-card-lift: translateY(-6px);
  --focus-ring: 0 0 0 3px rgba(4, 105, 187, 0.18);
  --focus-ring-gold: 0 0 0 3px rgba(4, 105, 187, 0.25);
  --disabled-bg: #f1f5f9;
  --disabled-text: #94a3b8;
  --disabled-border: #e2e8f0;

  /* — SPECIAL ACCENTS — */
  --whatsapp: #25d366;
  --white: #ffffff;
  --black: #000000;

  /* — TYPOGRAPHY — */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* — ELEVATION — */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-lift: 0 14px 28px rgba(6, 57, 110, 0.18), 0 10px 10px rgba(6, 57, 110, 0.1);
  --shadow-gold: 0 10px 25px -3px rgba(4, 105, 187, 0.35);
  --shadow-blue: 0 10px 25px -3px rgba(4, 105, 187, 0.35);
  --shadow-dark-card: 0 25px 50px -12px rgba(0, 0, 0, 0.6);

  /* — MOTION — */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);

  /* — RADIUS — */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.75rem;
  --radius-pill: 9999px;

  /* — CHATBOT COMPONENT — */
  --chat-bg: #04284f;
  --chat-surface: #06396e;
  --chat-card: rgba(255,255,255,0.04);
  --chat-border: rgba(255,255,255,0.08);
  --chat-user-bg: linear-gradient(135deg, var(--brand-700), var(--brand-900));
  --chat-bot-bg: rgba(255,255,255,0.06);
  --chat-input-bg: rgba(255,255,255,0.06);
  --chat-width: min(410px, calc(100vw - 2rem));
  --chat-height: min(580px, calc(100dvh - 6.5rem), calc(100vh - 6.5rem));
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--white);
  color: var(--gray-800);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

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

/* Dark Body Support */
body.page-dark {
  background-color: var(--brand-950);
  color: #cbd5e1;
}

/* ==========================================================================
   PAGE HERO BANNER — DEDICATED INNER PAGE HERO
   Unified with Homepage Midnight Navy & Gold Aesthetics
   ========================================================================== */
.page-hero-banner {
  background: linear-gradient(135deg, #04284f 0%, #06396e 50%, #0b4d8c 100%);
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid var(--gold-500);
}
.page-hero-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(4, 105, 187, 0.22) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-banner::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(4, 105, 187, 0.1) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-banner .container {
  position: relative;
  z-index: 2;
}
.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.page-hero-breadcrumb a {
  color: var(--gold-400);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-fast);
}
.page-hero-breadcrumb a:hover {
  color: var(--white);
}
.page-hero-breadcrumb span.current {
  color: var(--white);
  font-weight: 600;
}
.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold-400);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.page-hero-eyebrow svg {
  color: var(--gold-400);
}
.page-hero-title {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.page-hero-desc {
  color: #cbd5e1;
  font-size: 1.1rem;
  max-width: 800px;
  line-height: 1.75;
}

/* Page content area */
.page-content-wrapper {
  background-color: var(--gray-50);
  padding: 4rem 0 6rem;
  min-height: 55vh;
}

/* Filter pills */
.filter-tabs-row {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 1.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--gray-200);
}
.filter-tab-pill {
  padding: 0.55rem 1.35rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--gray-700);
  transition: var(--transition-fast);
  white-space: nowrap;
}
.filter-tab-pill:hover {
  border-color: var(--brand-700);
  color: var(--brand-700);
}
.filter-tab-pill.active {
  background: var(--brand-700);
  border-color: var(--brand-700);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}

/* Luxury Content Cards */
.luxury-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.luxury-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: var(--brand-200);
}
.luxury-stat-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.luxury-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-300);
}
.luxury-stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--brand-700);
  margin-bottom: 0.35rem;
  line-height: 1.1;
}
.luxury-stat-number.gold {
  color: var(--gold-500);
}
.luxury-stat-label {
  font-size: 0.9rem;
  color: var(--gray-500);
  font-weight: 600;
}

.luxury-badge-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(4, 105, 187, 0.15);
  border: 1px solid rgba(4, 105, 187, 0.35);
  color: #b45309;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.luxury-badge-blue {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--brand-50);
  border: 1px solid var(--brand-200);
  color: var(--brand-700);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Utilities */
.text-gold { color: var(--gold-500); }
.text-royal { color: var(--brand-700); }
.bg-midnight { background-color: var(--brand-900); }
.bg-cream { background-color: #fafbfd; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  font-size: 0.925rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: #ffffff;
  border-radius: 0.85rem;
  box-shadow: var(--shadow-gold);
  transition: var(--transition);
  text-shadow: 0 1px 0 rgba(255,255,255,0.4);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(4, 105, 187, 0.45);
  background: linear-gradient(135deg, #8fbfe6, var(--gold-500));
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.925rem;
  font-weight: 600;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  color: var(--white);
  border-radius: 0.85rem;
  transition: var(--transition);
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-royal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--brand-700);
  color: var(--white);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-blue);
  transition: var(--transition);
}
.btn-royal:hover {
  background: var(--brand-600);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(4, 105, 187, 0.45);
}

.btn-outline-royal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1.5px solid var(--brand-700);
  color: var(--brand-700);
  border-radius: 0.75rem;
  background: transparent;
  transition: var(--transition);
}
.btn-outline-royal:hover {
  background: var(--brand-700);
  color: var(--white);
  transform: translateY(-2px);
}

/* ==========================================================================
   TOP BAR & STICKY HEADER
   ========================================================================== */
.top-announcement {
  background: linear-gradient(90deg, #04284f 0%, #06396e 50%, #0469bb 100%);
  color: var(--gray-200);
  font-size: 0.8rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-announcement .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-info-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.top-info-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.top-badge {
  background: rgba(4, 105, 187, 0.2);
  color: var(--gold-400);
  padding: 0.15rem 0.6rem;
  border-radius: 2rem;
  font-size: 0.7rem;
  font-weight: 700;
  border: 1px solid rgba(4, 105, 187, 0.3);
}

.main-header {
  position: sticky;
  top: 0;
  z-index: 990;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition);
}
.main-header.scrolled {
  box-shadow: 0 10px 30px rgba(6, 57, 110, 0.08);
  background: rgba(255, 255, 255, 0.98);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.75rem;
}

/* Brand Logo */
.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.brand-logo-img {
  height: 2.85rem;
  width: auto;
  object-fit: contain;
}
.brand-logo-symbol {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.6rem;
  background: var(--brand-700);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-family: var(--font-heading);
  box-shadow: 0 4px 12px rgba(4, 105, 187, 0.3);
}
.brand-name-group {
  display: flex;
  flex-direction: column;
}
.brand-name-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--brand-900);
  line-height: 1.1;
}
.brand-name-sub {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--brand-700);
  text-transform: uppercase;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0.95rem;
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--gray-700);
  border-radius: 0.6rem;
  transition: var(--transition);
}
.nav-link:hover, .nav-item:hover > .nav-link {
  color: var(--brand-700);
  background: var(--brand-50);
}
.nav-link svg {
  transition: transform 0.2s ease;
}
.nav-item:hover > .nav-link svg {
  transform: rotate(180deg);
}

/* Mega Menu Dropdown */
.mega-dropdown {
  position: absolute;
  top: 100%;
  left: -120px;
  width: 720px;
  background: var(--white);
  border-radius: 1.25rem;
  box-shadow: 0 25px 50px -12px rgba(6, 57, 110, 0.2);
  border: 1px solid var(--gray-100);
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}
.nav-item:hover .mega-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 1.5rem;
}
.mega-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-700);
  margin-bottom: 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--gray-100);
}
.mega-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.mega-links a {
  font-size: 0.85rem;
  color: var(--gray-600);
  padding: 0.4rem 0.6rem;
  border-radius: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}
.mega-links a:hover {
  background: var(--brand-50);
  color: var(--brand-700);
  padding-left: 0.85rem;
}
.mega-featured-card {
  background: linear-gradient(145deg, #06396e, #0469bb);
  border-radius: 1rem;
  padding: 1.25rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.mega-featured-card h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-top: 0.5rem;
}
.mega-featured-card p {
  font-size: 0.8rem;
  opacity: 0.85;
  margin: 0.4rem 0 1rem;
}

/* Regular Dropdown */
.simple-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 200px;
  background: var(--white);
  border-radius: 0.85rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-100);
  padding: 0.6rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  list-style: none;
  z-index: 1000;
}
.nav-item:hover .simple-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.simple-dropdown a {
  display: block;
  padding: 0.5rem 0.85rem;
  font-size: 0.875rem;
  color: var(--gray-700);
  border-radius: 0.5rem;
  transition: var(--transition);
}
.simple-dropdown a:hover {
  background: var(--brand-50);
  color: var(--brand-700);
}

/* Header CTAs */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.login-btn {
  padding: 0.6rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  border-radius: 0.75rem;
  transition: var(--transition);
}
.login-btn:hover {
  background: var(--gray-100);
  color: var(--brand-900);
}

.mobile-toggle {
  display: none;
  padding: 0.6rem;
  color: var(--gray-800);
  font-size: 1.5rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 88vh;
  background: var(--brand-900);
  color: var(--white);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: heroZoom 24s ease-in-out infinite alternate;
  filter: brightness(0.85);
}
@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.hero-overlay-dark {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 57, 110, 0.85) 0%,
    rgba(6, 57, 110, 0.65) 40%,
    rgba(6, 57, 110, 0.95) 100%
  );
}
.hero-overlay-radial {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 75% 30%,
    rgba(4, 105, 187, 0.45) 0%,
    transparent 65%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 5rem 0 7rem;
  max-width: 820px;
}

.hero-badge-strip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(4, 105, 187, 0.35);
  padding: 0.4rem 1.1rem;
  border-radius: 2rem;
  margin-bottom: 1.5rem;
}
.hero-badge-strip span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5.5vw, 4.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.hero-title .highlight-gold {
  color: var(--gold-400);
  position: relative;
  display: inline-block;
}
.hero-title .highlight-gold::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 6px;
  background: rgba(4, 105, 187, 0.3);
  border-radius: 4px;
  z-index: -1;
}

.hero-description {
  font-size: 1.18rem;
  line-height: 1.7;
  color: #cbd5e1;
  max-width: 650px;
  margin-bottom: 2.25rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 3rem;
}

.hero-trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-200);
}
.trust-icon {
  color: var(--gold-400);
}

/* ==========================================================================
   QUICK SEARCH & FILTER BAR
   ========================================================================== */
.search-filter-wrapper {
  position: relative;
  z-index: 20;
  margin-top: -3.25rem;
  margin-bottom: 4.5rem;
}
.search-card {
  background: var(--white);
  border-radius: 1.25rem;
  box-shadow: 0 20px 45px -10px rgba(6, 57, 110, 0.18);
  border: 1px solid var(--gray-100);
  padding: 1.5rem 1.75rem;
}
.search-form {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
}
.search-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  border-right: 1px solid var(--gray-200);
  padding-right: 1rem;
}
.search-group:last-of-type {
  border-right: none;
}
.search-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-700);
}
.search-select {
  border: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-800);
  outline: none;
  cursor: pointer;
  padding: 0.25rem 0;
}
.search-submit-btn {
  height: 3.25rem;
  padding: 0 2rem;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-900));
  color: var(--white);
  border-radius: 0.85rem;
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 8px 20px rgba(4, 105, 187, 0.35);
  transition: var(--transition);
}
.search-submit-btn:hover {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-800));
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(4, 105, 187, 0.45);
}

/* ==========================================================================
   EXCLUSIVE NEW LAUNCHES CAROUSEL
   ========================================================================== */
.new-launches-section {
  padding: 3rem 0 5.5rem;
  background: var(--white);
  overflow: hidden;
}
.section-header-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
  gap: 1.5rem;
}
.section-title-large {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.8vw, 2.85rem);
  font-weight: 700;
  color: var(--brand-900);
  line-height: 1.15;
  margin-top: 0.35rem;
}
.section-subtitle {
  color: var(--gray-600);
  font-size: 1.05rem;
  max-width: 540px;
  margin-top: 0.75rem;
}

/* Carousel Main Stage */
.carousel-stage {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(6, 57, 110, 0.15);
  background: var(--brand-900);
  min-height: 480px;
}
.launch-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, transform 0.6s ease;
  transform: scale(1.03);
  display: flex;
  align-items: flex-end;
}
.launch-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}
.launch-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8);
}
.launch-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 57, 110, 0.2) 0%,
    rgba(6, 57, 110, 0.6) 50%,
    rgba(6, 57, 110, 0.95) 100%
  );
}
.launch-slide-content {
  position: relative;
  z-index: 10;
  padding: 3rem;
  max-width: 750px;
  color: var(--white);
}
.launch-badges {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.badge-gold {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: #111;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-blue {
  background: rgba(4, 105, 187, 0.8);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.launch-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.launch-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #e2e8f0;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.launch-features-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
  font-size: 0.9rem;
  color: #cbd5e1;
}
.launch-feature-item strong {
  color: var(--gold-400);
  font-size: 1.15rem;
  display: block;
}

/* Carousel Thumbnail Navigator */
.carousel-nav-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
}
.carousel-thumb-btn {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 0.95rem;
  padding: 0.85rem 1rem;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.carousel-thumb-btn:hover {
  border-color: var(--brand-700);
  transform: translateY(-2px);
}
.carousel-thumb-btn.active {
  border-color: var(--gold-500);
  box-shadow: 0 8px 20px rgba(4, 105, 187, 0.25);
  background: #fffdf8;
}
.thumb-title {
  font-family: var(--font-heading);
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--brand-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.thumb-sub {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 0.2rem;
}
.thumb-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--gold-500);
}
.carousel-thumb-btn.active .thumb-progress-bar {
  width: 100%;
  transition: width 5s linear;
}

/* ==========================================================================
   FEATURED PROPERTIES BY CATEGORY
   ========================================================================== */
.properties-section {
  padding: 5rem 0;
  background: #f8fafc;
}

.category-tabs {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: 2.5rem;
}
.cat-tab-btn {
  padding: 0.65rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-600);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 2rem;
  white-space: nowrap;
  transition: var(--transition);
}
.cat-tab-btn:hover {
  border-color: var(--brand-700);
  color: var(--brand-700);
}
.cat-tab-btn.active {
  background: var(--brand-700);
  color: var(--white);
  border-color: var(--brand-700);
  box-shadow: 0 4px 12px rgba(4, 105, 187, 0.3);
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
}

.property-card {
  background: var(--white);
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.property-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
  border-color: var(--brand-200);
}

.card-img-box {
  position: relative;
  height: 230px;
  overflow: hidden;
  background: var(--gray-200);
}
.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-spring);
}
.property-card:hover .card-img {
  transform: scale(1.08);
}
.card-badge-top {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  gap: 0.5rem;
}
.card-fav-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  transition: var(--transition);
}
.card-fav-btn:hover {
  color: #ef4444;
  background: var(--white);
  transform: scale(1.1);
}

.card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.card-location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-700);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-900);
  line-height: 1.3;
  margin-bottom: 0.6rem;
}
.card-desc {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-specs-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: 1.25rem;
}
.spec-item {
  display: flex;
  flex-direction: column;
}
.spec-label {
  font-size: 0.7rem;
  color: var(--gray-400);
  text-transform: uppercase;
  font-weight: 600;
}
.spec-val {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-800);
}

.card-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.5rem;
}
.price-block {
  display: flex;
  flex-direction: column;
}
.price-label {
  font-size: 0.7rem;
  color: var(--gray-500);
  font-weight: 600;
  text-transform: uppercase;
}
.price-amount {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-700);
}
.card-action-btns {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-view-card {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--brand-50);
  color: var(--brand-700);
  border-radius: 0.6rem;
  transition: var(--transition);
}
.btn-view-card:hover {
  background: var(--brand-700);
  color: var(--white);
}

/* ==========================================================================
   PRIME CORRIDORS & CITIES
   ========================================================================== */
.corridors-section {
  padding: 5.5rem 0;
  background: var(--white);
}
.corridors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.corridor-card {
  position: relative;
  height: 380px;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: var(--transition);
}
.corridor-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lift);
}
.corridor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.corridor-card:hover .corridor-img {
  transform: scale(1.1);
}
.corridor-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 57, 110, 0.1) 0%,
    rgba(6, 57, 110, 0.7) 60%,
    rgba(6, 57, 110, 0.95) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  color: var(--white);
}
.corridor-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold-400);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
.corridor-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.corridor-stats {
  font-size: 0.85rem;
  color: #cbd5e1;
}

/* ==========================================================================
   WHY CHOOSE US — 4 PILLARS
   ========================================================================== */
.why-section {
  padding: 5.5rem 0;
  background: linear-gradient(135deg, #06396e 0%, #0b4d8c 100%);
  color: var(--white);
  position: relative;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  margin-top: 3.5rem;
}
.pillar-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.pillar-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--gold-500);
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}
.pillar-icon-box {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(4, 105, 187, 0.25), rgba(4, 105, 187, 0.3));
  border: 1px solid rgba(4, 105, 187, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  margin-bottom: 1.5rem;
}
.pillar-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.pillar-card p {
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.6;
}

/* Numbers Banner */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 3rem 0;
  margin-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}
.stat-item h4 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--gold-400);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-item p {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #e2e8f0;
}

/* ==========================================================================
   CLIENT TESTIMONIALS
   ========================================================================== */
.testimonials-section {
  padding: 5.5rem 0;
  background: #f8fafc;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.testimonial-card {
  background: var(--white);
  border-radius: 1.25rem;
  padding: 2rem;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
  border-color: var(--brand-200);
}
.star-rating {
  display: flex;
  gap: 0.25rem;
  color: var(--gold-500);
  margin-bottom: 1.25rem;
}
.testimonial-quote {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.author-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--brand-100);
  color: var(--brand-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}
.author-info h5 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-900);
}
.author-info p {
  font-size: 0.78rem;
  color: var(--gray-500);
}

/* ==========================================================================
   CALLBACK / LEAD GEN BANNER
   ========================================================================== */
.lead-gen-section {
  padding: 4.5rem 0;
  background: var(--white);
}
.lead-card {
  background: linear-gradient(135deg, var(--brand-900) 0%, #0469bb 100%);
  border-radius: 1.75rem;
  padding: 3.5rem;
  color: var(--white);
  box-shadow: 0 25px 50px -12px rgba(4, 105, 187, 0.25);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.lead-text h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.lead-text p {
  font-size: 1.05rem;
  color: #e2e8f0;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.lead-form-box {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 1.25rem;
  padding: 2rem;
  color: var(--gray-800);
  box-shadow: var(--shadow-xl);
}
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--gray-200);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}
.form-input:focus {
  border-color: var(--brand-700);
  box-shadow: 0 0 0 3px rgba(4, 105, 187, 0.15);
}

/* ==========================================================================
   MASTER LUXURY FOOTER — 100% BRAND & HOMEPAGE PALETTE
   Colors: Midnight Navy (#04284f / #06396e), Royal Sapphire Blue (#0469bb / #0a7ad0),
   Champagne Gold (#0469bb / #3d9be0), Pure White (#FFFFFF), Slate (#CBD5E1 / #94A3B8)
   ========================================================================== */

.footer-wrapper {
  background: linear-gradient(135deg, #04284f 0%, #06396e 50%, #0b4d8c 100%);
  color: #cbd5e1;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(4, 105, 187, 0.25);
}

/* Ambient Radial Glows matching Homepage Hero */
.footer-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  right: -5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(4, 105, 187, 0.16) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.footer-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(4, 105, 187, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Gold & Blue Accent Top Border Line */
.footer-gold-line {
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #0469bb 20%, #0469bb 50%, #0469bb 80%, transparent 100%);
  position: relative;
  z-index: 2;
}

/* Portfolio Corridor Columns Strip */
.footer-portfolio-strip {
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 2;
  background: rgba(4, 40, 79, 0.45);
}

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

.portfolio-col {
  border-left: 2px solid #0469bb;
  padding-left: 1.25rem;
  transition: var(--transition);
}
.portfolio-col:hover {
  border-left-color: #3d9be0;
}

.portfolio-col h4 {
  color: #3d9be0;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.portfolio-col h4 svg {
  color: #0469bb;
  flex-shrink: 0;
}

.portfolio-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.portfolio-col a {
  font-size: 0.84rem;
  color: #94a3b8;
  transition: var(--transition-fast);
  display: inline-block;
  line-height: 1.5;
}

.portfolio-col a:hover {
  color: #ffffff;
  padding-left: 0.35rem;
}

/* Footer Main Section */
.footer-main {
  padding: 4rem 0 3rem;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 3.5rem;
}

.footer-brand-text {
  font-size: 0.88rem;
  line-height: 1.75;
  color: #cbd5e1;
  margin: 1.25rem 0 1.5rem;
  max-width: 320px;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.86rem;
  margin-bottom: 1.5rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: #cbd5e1;
}

.footer-contact-item svg {
  color: #0469bb;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: #e2e8f0;
  transition: var(--transition-fast);
}

.footer-contact-item a:hover {
  color: #3d9be0;
}

/* Social buttons */
.social-icons-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.social-btn {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(4, 105, 187, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  transition: var(--transition);
}

.social-btn:hover {
  background: #0469bb;
  border-color: #3d9be0;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(4, 105, 187, 0.4);
}

/* Column Headings */
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #0469bb;
  display: inline-block;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  font-size: 0.86rem;
  color: #94a3b8;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 0.35rem;
}

/* Newsletter & VIP Registry */
.newsletter-box p {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.newsletter-box form {
  display: flex;
  border: 1px solid rgba(4, 105, 187, 0.35);
  border-radius: 0.75rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  transition: var(--transition-fast);
}

.newsletter-box form:focus-within {
  border-color: #3d9be0;
  box-shadow: 0 0 0 3px rgba(4, 105, 187, 0.25);
}

.newsletter-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.75rem 1rem;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  outline: none;
}

.newsletter-input::placeholder {
  color: #64748b;
}

.newsletter-submit-btn,
.footer-wrapper .btn-gold {
  background: linear-gradient(135deg, #3d9be0, #0469bb);
  color: #06396e;
  border: none;
  padding: 0.75rem 1.35rem;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-sans);
  white-space: nowrap;
}

.newsletter-submit-btn:hover,
.footer-wrapper .btn-gold:hover {
  background: linear-gradient(135deg, #b9d6ee, #0469bb);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(4, 105, 187, 0.35);
}

/* Bottom Bar */
.footer-bottom {
  padding: 1.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: #94a3b8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: #94a3b8;
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-bottom a:hover {
  color: #3d9be0;
}

.footer-bottom-rera {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
}

.footer-bottom-rera .rera-badge {
  background: rgba(4, 105, 187, 0.15);
  border: 1px solid rgba(4, 105, 187, 0.35);
  color: #3d9be0;
  padding: 0.15rem 0.6rem;
  border-radius: 2rem;
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   FLOATING ACTION BUTTON (FAB) & MODALS
   ========================================================================== */
.fab-container {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: auto;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}
.fab-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  transition: var(--transition);
}
.fab-container.active .fab-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.fab-sub-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--white);
  color: var(--brand-900);
  border-radius: 2rem;
  padding: 0.5rem 1rem 0.5rem 0.6rem;
  box-shadow: var(--shadow-lg);
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition);
  white-space: nowrap;
}
.fab-sub-btn:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-xl);
}
.fab-sub-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.fab-whatsapp .fab-sub-icon { background: var(--whatsapp); }
.fab-call .fab-sub-icon { background: var(--brand-700); }
.fab-enquire .fab-sub-icon { background: var(--gold-500); }

.fab-main-btn {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-900));
  color: var(--white);
  box-shadow: 0 10px 25px rgba(4, 105, 187, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  border: 2px solid rgba(255, 255, 255, 0.2);
}
.fab-main-btn:hover {
  transform: scale(1.08) rotate(5deg);
  box-shadow: 0 15px 35px rgba(4, 105, 187, 0.55);
}

/* Modal Popup */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 57, 110, 0.75);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal-container {
  background: var(--white);
  border-radius: 1.5rem;
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  transform: scale(0.95);
  transition: var(--transition);
}
.modal-overlay.active .modal-container {
  transform: scale(1);
}
.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-700);
  z-index: 20;
  transition: var(--transition);
}
.modal-close-btn:hover {
  background: var(--brand-700);
  color: var(--white);
}

/* Toast notification */
.toast-msg {
  position: fixed;
  top: 2rem;
  right: 2rem;
  background: var(--brand-900);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: 0.85rem;
  box-shadow: var(--shadow-xl);
  border-left: 4px solid var(--gold-500);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 100000;
  transform: translateX(120%);
  transition: transform 0.4s var(--ease-spring);
}
.toast-msg.show {
  transform: translateX(0);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-menu { display: none; }
  .mobile-toggle { display: block; }
  .corridors-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-columns { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .search-form { grid-template-columns: repeat(2, 1fr); }
  .search-submit-btn { grid-column: span 2; }
  .chat-panel { right: 1rem; bottom: 6rem; width: min(var(--chat-width), calc(100vw - 2rem)); }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.4rem; }
  .lead-card { grid-template-columns: 1fr; padding: 2rem; }
  .corridors-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .carousel-nav-strip { grid-template-columns: repeat(2, 1fr); }
  .portfolio-columns { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .property-grid { grid-template-columns: 1fr; }
  .search-form { grid-template-columns: 1fr; }
  .search-group { border-right: none; border-bottom: 1px solid var(--gray-200); padding-bottom: 0.75rem; }
  .search-submit-btn { grid-column: span 1; }
  .chat-panel { right: 0; bottom: 0; width: 100vw; height: 100dvh; border-radius: 0; }
  .chat-fab { bottom: 1.25rem; right: 1.25rem; }
  .notif-strip { flex-direction: column; gap: 0.35rem; align-items: flex-start; }
}


/* ==========================================================================
   GLOBAL NOTIFICATION SYSTEM
   5 variants: info | success | warning | promotional | important
   All consume design tokens — zero hardcoded colors.
   ========================================================================== */

/* Base notification strip */
.notif-strip {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  font-size: 0.875rem;
  font-family: var(--font-sans);
  font-weight: 500;
  line-height: 1.5;
  position: relative;
}

.notif-strip .notif-icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}

.notif-strip .notif-content {
  flex: 1;
}

.notif-strip .notif-title {
  font-weight: 700;
  display: block;
  margin-bottom: 0.1rem;
}

.notif-strip .notif-dismiss {
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.5;
  padding: 0.2rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  color: inherit;
  flex-shrink: 0;
}
.notif-strip .notif-dismiss:hover { opacity: 1; }

/* Variant: Info — subtle brand tint */
.notif-info {
  background: var(--info-light);
  border-color: var(--info-border);
  color: var(--info-text);
}
.notif-info .notif-icon { background: var(--info-border); color: var(--brand-700); }

/* Variant: Success — restrained green */
.notif-success {
  background: var(--success-light);
  border-color: var(--success-border);
  color: var(--success-text);
}
.notif-success .notif-icon { background: var(--success-border); color: var(--success); }

/* Variant: Warning — professional amber */
.notif-warning {
  background: var(--warning-light);
  border-color: var(--warning-border);
  color: var(--warning-text);
}
.notif-warning .notif-icon { background: var(--warning-border); color: var(--warning); }

/* Variant: Promotional — brand-aligned gold premium */
.notif-promo {
  background: linear-gradient(135deg, rgba(4, 105, 187, 0.12), rgba(6, 57, 110, 0.06));
  border-color: var(--border-gold);
  color: var(--text-primary);
}
.notif-promo .notif-icon { background: rgba(4, 105, 187, 0.2); color: var(--gold-600); }

/* Variant: Important announcement — brand dark */
.notif-important {
  background: linear-gradient(135deg, var(--brand-900), #0469bb);
  border-color: rgba(255,255,255,0.1);
  color: var(--text-on-dark);
}
.notif-important .notif-icon { background: rgba(255,255,255,0.12); color: var(--gold-400); }

/* Alert inline block (elevated from strip) */
.alert-block {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-xl);
  border-left: 4px solid transparent;
  margin-bottom: 1rem;
}
.alert-block.info { background: var(--info-light); border-left-color: var(--info); color: var(--info-text); }
.alert-block.success { background: var(--success-light); border-left-color: var(--success); color: var(--success-text); }
.alert-block.warning { background: var(--warning-light); border-left-color: var(--warning); color: var(--warning-text); }
.alert-block.error { background: var(--error-light); border-left-color: var(--error); color: var(--error-text); }

/* Improved top announcement bar — uses brand tokens */
.top-announcement {
  background: linear-gradient(90deg, var(--brand-950) 0%, var(--brand-900) 50%, var(--brand-700) 100%);
  color: var(--gray-200);
  font-size: 0.8rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--surface-dark-border);
}
.top-announcement .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-info-left { display: flex; align-items: center; gap: 1.5rem; }
.top-info-item { display: flex; align-items: center; gap: 0.4rem; }
.top-badge {
  background: rgba(4, 105, 187, 0.18);
  color: var(--gold-400);
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  border: 1px solid var(--border-gold);
  letter-spacing: 0.05em;
}





/* ==========================================================================
   AI PROPERTY ASSISTANT — CHATBOT WIDGET
   Premium brand-consistent floating chat UI
   ========================================================================== */

/* FAB Button */
.chat-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.chat-fab-btn {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--brand-700), var(--brand-950));
  border: 2px solid rgba(255,255,255,0.15);
  box-shadow: 0 8px 30px rgba(4, 105, 187, 0.5), 0 0 0 0 rgba(4, 105, 187,0.3);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  animation: chatPulse 3s ease-in-out infinite;
}

@keyframes chatPulse {
  0%, 100% { box-shadow: 0 8px 30px rgba(4, 105, 187, 0.5), 0 0 0 0 rgba(4, 105, 187,0.3); }
  50% { box-shadow: 0 8px 30px rgba(4, 105, 187, 0.5), 0 0 0 10px rgba(4, 105, 187,0); }
}

.chat-fab-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 36px rgba(4, 105, 187, 0.6);
}

.chat-fab-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 1.1rem;
  height: 1.1rem;
  background: var(--gold-500);
  border-radius: var(--radius-pill);
  border: 2px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 800;
  color: #ffffff;
}

.chat-fab-label {
  background: var(--brand-900);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
  pointer-events: none;
  white-space: nowrap;
}
.chat-fab:hover .chat-fab-label {
  opacity: 1;
  transform: translateX(0);
}

/* Chat panel */
.chat-panel {
  position: fixed;
  bottom: 5.25rem;
  right: 1.5rem;
  z-index: 8999;
  width: var(--chat-width);
  height: var(--chat-height);
  max-width: calc(100vw - 2rem);
  max-height: calc(100dvh - 6rem);
  background: var(--chat-bg);
  border-radius: var(--radius-xl);
  border: 1px solid var(--chat-border);
  box-shadow: 0 30px 80px -10px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s var(--ease-spring);
}

.chat-panel.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
}

/* Chat header */
.chat-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.1rem 1.25rem;
  background: var(--chat-surface);
  border-bottom: 1px solid var(--chat-border);
  flex-shrink: 0;
}

.chat-header-avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--brand-700), var(--brand-950));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  border: 1px solid rgba(255,255,255,0.1);
}

.chat-header-avatar::after {
  content: '';
  width: 0.55rem;
  height: 0.55rem;
  background: var(--success);
  border-radius: var(--radius-pill);
  border: 2px solid var(--chat-surface);
  position: absolute;
  bottom: -2px;
  right: -2px;
}

.chat-header-text {
  flex: 1;
}
.chat-header-text h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.1rem;
}
.chat-header-text p {
  font-size: 0.72rem;
  color: var(--text-on-dark-muted);
}

.chat-header-close {
  background: var(--surface-dark-card);
  border: 1px solid var(--chat-border);
  border-radius: var(--radius-md);
  color: var(--text-on-dark-muted);
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  flex-shrink: 0;
}
.chat-header-close:hover {
  background: var(--error-light);
  border-color: var(--error-border);
  color: var(--error);
}

/* Suggested prompts bar */
.chat-prompts {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  overflow-x: auto;
  background: var(--chat-surface);
  border-bottom: 1px solid var(--chat-border);
  flex-shrink: 0;
  scrollbar-width: none;
}
.chat-prompts::-webkit-scrollbar { display: none; }

.chat-prompt-chip {
  background: var(--surface-dark-card);
  border: 1px solid var(--chat-border);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-on-dark-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
  font-family: var(--font-sans);
}
.chat-prompt-chip:hover {
  background: rgba(4, 105, 187, 0.2);
  border-color: var(--brand-700);
  color: var(--white);
}

/* Messages container */
.chat-messages {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--chat-border) transparent;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--chat-border); border-radius: 2px; }

/* Message bubbles */
.chat-msg {
  display: flex;
  gap: 0.6rem;
  align-items: flex-end;
  max-width: 92%;
  animation: msgSlide 0.3s var(--ease-spring);
}

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

.chat-msg.user { flex-direction: row-reverse; align-self: flex-end; }

.chat-msg-avatar {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--brand-700), var(--brand-950));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.1);
}
.chat-msg.user .chat-msg-avatar {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-700));
  color: #ffffff;
}

.chat-msg-bubble {
  background: var(--chat-bot-bg);
  border: 1px solid var(--chat-border);
  border-radius: var(--radius-lg);
  border-bottom-left-radius: 4px;
  padding: 0.75rem 1rem;
  font-size: 0.84rem;
  color: var(--text-on-dark);
  line-height: 1.55;
  max-width: 100%;
}

.chat-msg.user .chat-msg-bubble {
  background: var(--chat-user-bg);
  border-color: transparent;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: var(--radius-lg);
}

/* Typing indicator */
.chat-typing {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  background: var(--chat-bot-bg);
  border: 1px solid var(--chat-border);
  border-radius: var(--radius-lg);
  border-bottom-left-radius: 4px;
  width: fit-content;
}
.chat-typing span {
  width: 6px;
  height: 6px;
  background: var(--text-on-dark-muted);
  border-radius: var(--radius-pill);
  animation: typingDot 1.2s infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
  0%, 80%, 100% { transform: scale(1); opacity: 0.5; }
  40% { transform: scale(1.3); opacity: 1; }
}

/* Property cards inside chat */
.chat-property-cards {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.chat-prop-card {
  background: var(--chat-surface);
  border: 1px solid var(--chat-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  gap: 0;
  cursor: pointer;
  transition: var(--transition-fast);
  text-decoration: none;
  color: inherit;
}
.chat-prop-card:hover {
  border-color: var(--gold-500);
  transform: translateX(3px);
}

.chat-prop-img {
  width: 80px;
  height: 70px;
  object-fit: cover;
  flex-shrink: 0;
}

.chat-prop-info {
  padding: 0.6rem 0.75rem;
  flex: 1;
  min-width: 0;
}

.chat-prop-title {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-prop-loc {
  font-size: 0.7rem;
  color: var(--text-on-dark-muted);
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-prop-price {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--gold-400);
  font-family: var(--font-heading);
}

/* Quick action buttons in chat */
.chat-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.5rem;
}

.chat-action-btn {
  background: var(--surface-dark-card);
  border: 1px solid var(--chat-border);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-on-dark-muted);
  cursor: pointer;
  transition: var(--transition-fast);
  font-family: var(--font-sans);
}
.chat-action-btn:hover {
  background: var(--brand-700);
  border-color: var(--brand-700);
  color: var(--white);
}
.chat-action-btn.gold {
  border-color: var(--border-gold);
  color: var(--gold-400);
}
.chat-action-btn.gold:hover {
  background: var(--gold-500);
  color: #ffffff;
}

/* Lead form in chat */
.chat-lead-form {
  background: var(--chat-surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 1rem;
  margin-top: 0.5rem;
}
.chat-lead-form h5 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.chat-lead-form .chat-input-field {
  width: 100%;
  background: var(--chat-input-bg);
  border: 1px solid var(--chat-border);
  border-radius: var(--radius-md);
  padding: 0.6rem 0.85rem;
  font-size: 0.82rem;
  color: var(--white);
  font-family: var(--font-sans);
  outline: none;
  margin-bottom: 0.5rem;
  transition: var(--transition-fast);
}
.chat-lead-form .chat-input-field:focus {
  border-color: var(--gold-500);
  box-shadow: var(--focus-ring-gold);
}
.chat-lead-form .chat-input-field::placeholder {
  color: var(--text-on-dark-muted);
}

.chat-lead-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  border: none;
  border-radius: var(--radius-md);
  padding: 0.7rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  transition: var(--transition-fast);
  font-family: var(--font-sans);
  text-shadow: 0 1px 0 rgba(255,255,255,0.3);
}
.chat-lead-submit:hover {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  transform: translateY(-1px);
}

/* Chat input bar */
.chat-input-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1rem;
  background: var(--chat-surface);
  border-top: 1px solid var(--chat-border);
  flex-shrink: 0;
}

.chat-input {
  flex: 1;
  background: var(--chat-input-bg);
  border: 1px solid var(--chat-border);
  border-radius: var(--radius-pill);
  padding: 0.6rem 1rem;
  font-size: 0.84rem;
  color: var(--white);
  font-family: var(--font-sans);
  outline: none;
  transition: var(--transition-fast);
}
.chat-input:focus {
  border-color: var(--brand-700);
  background: rgba(4, 105, 187,0.08);
}
.chat-input::placeholder { color: var(--text-on-dark-muted); }

.chat-send-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--brand-700), var(--brand-950));
  border: none;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  flex-shrink: 0;
}
.chat-send-btn:hover {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-800));
  transform: scale(1.08);
}
.chat-send-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

/* Chat CTA link */
.chat-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-400);
  text-decoration: none;
  margin-top: 0.5rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-gold);
  transition: var(--transition-fast);
}
.chat-cta-link:hover {
  background: rgba(4, 105, 187,0.12);
  color: var(--gold-300);
}

/* Chat powered by footer */
.chat-powered {
  text-align: center;
  font-size: 0.65rem;
  color: var(--gray-700);
  padding: 0.4rem;
  flex-shrink: 0;
}

/* In-Chat Country Code & Phone Card (Progressive Conversational Lead Capture) */
.chat-phone-card {
  background: var(--chat-surface);
  border: 1px solid rgba(4, 105, 187, 0.35);
  border-radius: var(--radius-lg);
  padding: 0.85rem;
  margin-top: 0.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  width: 100%;
}

.chat-phone-header {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gold-400);
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.chat-quick-countries {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.chat-country-pill {
  background: var(--surface-dark-card);
  border: 1px solid var(--chat-border);
  border-radius: var(--radius-pill);
  padding: 0.3rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-on-dark-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: var(--transition-fast);
}

.chat-country-pill:hover,
.chat-country-pill.selected {
  background: rgba(4, 105, 187, 0.25);
  border-color: var(--brand-700);
  color: var(--white);
}

.chat-phone-inputs-row {
  display: flex;
  gap: 0.45rem;
  position: relative;
  margin-bottom: 0.75rem;
}

.chat-code-select-btn {
  background: var(--chat-input-bg);
  border: 1px solid var(--chat-border);
  border-radius: var(--radius-md);
  padding: 0.55rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.chat-code-select-btn:hover {
  border-color: var(--gold-500);
}

.chat-phone-input {
  flex: 1;
  background: var(--chat-input-bg);
  border: 1px solid var(--chat-border);
  border-radius: var(--radius-md);
  padding: 0.55rem 0.85rem;
  font-size: 0.85rem;
  font-family: inherit;
  color: var(--white);
  outline: none;
  transition: var(--transition-fast);
}

.chat-phone-input:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 2px rgba(4, 105, 187, 0.2);
}

.chat-country-dropdown-modal {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  background: var(--chat-surface);
  border: 1px solid var(--chat-border);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  max-height: 200px;
  display: flex;
  flex-direction: column;
  z-index: 100;
  overflow: hidden;
}

.chat-country-search-box {
  padding: 0.5rem;
  border-bottom: 1px solid var(--chat-border);
  background: var(--surface-dark-card);
}

.chat-country-search-input {
  width: 100%;
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--chat-border);
  background: var(--chat-input-bg);
  color: var(--white);
  font-size: 0.78rem;
  outline: none;
  font-family: inherit;
}

.chat-country-list {
  overflow-y: auto;
  max-height: 150px;
  padding: 0.25rem 0;
  margin: 0;
  list-style: none;
}

.chat-country-item {
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-on-dark);
  cursor: pointer;
  transition: background 0.15s;
}

.chat-country-item:hover {
  background: rgba(4, 105, 187, 0.2);
}

.chat-country-item .country-code {
  font-weight: 700;
  color: var(--gold-400);
}

.chat-phone-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  padding: 0.65rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.chat-phone-submit-btn:hover {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  transform: translateY(-1px);
}

/* ==========================================================================
   MOBILE-FIRST RESPONSIVE DESIGN SYSTEM & CHATBOT OPTIMIZATION
   ========================================================================== */

/* Mobile Navigation Backdrop & Controls */
.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 40, 79, 0.7);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-menu-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-header {
  display: none;
}

/* Touch-friendly Base Targets */
button, a, input, select, textarea {
  touch-action: manipulation;
}

/* --- 1. TABLET & BELOW (max-width: 991px) --- */
@media (max-width: 991px) {
  /* Header & Navigation Drawer */
  .main-header {
    height: auto;
  }
  .header-inner {
    height: 4.25rem;
  }
  .brand-logo-img {
    height: 2.35rem;
  }

  .header-actions .login-btn {
    display: none;
  }
  .header-actions .btn-gold {
    padding: 0.5rem 0.95rem;
    font-size: 0.8rem;
  }

  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    min-width: 44px;
    min-height: 44px;
    background: var(--brand-50);
    border: 1px solid var(--brand-100);
    border-radius: var(--radius-md);
    color: var(--brand-900);
    cursor: pointer;
    transition: var(--transition-fast);
  }
  .mobile-toggle:hover {
    background: var(--brand-100);
    color: var(--brand-700);
  }

  /* Slide-out Off-Canvas Drawer */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(85vw, 360px);
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    box-shadow: -10px 0 40px rgba(6, 57, 110, 0.25);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1.25rem 1.25rem 2.5rem 1.25rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 10000;
    transition: right 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .nav-menu.mobile-open {
    right: 0;
  }

  .mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid var(--gray-200);
  }
  .mobile-nav-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--brand-950);
    letter-spacing: 0.04em;
  }
  .mobile-nav-close {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: var(--radius-md);
    background: var(--gray-100);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-700);
    cursor: pointer;
    transition: var(--transition-fast);
  }
  .mobile-nav-close:hover {
    background: var(--error-light);
    color: var(--error);
  }

  .nav-item {
    width: 100%;
    border-bottom: 1px solid var(--gray-100);
  }
  .nav-link {
    width: 100%;
    padding: 0.85rem 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--brand-900);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: var(--radius-md);
    min-height: 48px;
  }
  .nav-link:hover {
    background: var(--brand-50);
    color: var(--brand-700);
  }

  /* Mega dropdown accordion on mobile */
  .mega-dropdown {
    position: static;
    width: 100%;
    box-shadow: none;
    border: none;
    padding: 0.25rem 0 0.75rem 0.5rem;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    background: transparent;
  }
  .nav-item.dropdown-open .mega-dropdown {
    display: block;
  }
  .mega-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .mega-featured-card {
    display: none;
  }

  /* Layout grids on tablets */
  .single-property-layout-grid,
  .property-detail-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .single-property-sidebar {
    position: static !important;
    top: auto !important;
  }

  .properties-grid,
  .projects-grid,
  .communities-grid,
  .developers-grid,
  .agents-grid,
  .guides-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }

  .search-form {
    grid-template-columns: repeat(2, 1fr) auto;
    gap: 1rem;
  }
  .search-group {
    border-right: none;
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 0.75rem;
    padding-right: 0;
  }
}

/* --- 2. MOBILE SMARTPHONES (max-width: 768px) --- */
@media (max-width: 768px) {
  /* Container spacing */
  .container {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  /* Top announcement bar */
  .top-announcement {
    padding: 0.45rem 0;
    font-size: 0.75rem;
  }
  .top-info-right {
    display: none !important;
  }

  /* Ergonomic Floating Buttons: Zero Overlap! */
  /* Left Thumb = WhatsApp & Direct Call */
  .fab-container {
    bottom: max(1.15rem, env(safe-area-inset-bottom)) !important;
    left: max(1rem, env(safe-area-inset-left)) !important;
    right: auto !important;
  }
  .fab-main-btn {
    width: 3.35rem;
    height: 3.35rem;
  }
  .fab-sub-btn {
    padding: 0.45rem 0.85rem 0.45rem 0.5rem;
    font-size: 0.8rem;
  }

  /* Right Thumb = AI Chatbot Concierge */
  .chat-fab {
    bottom: max(1.15rem, env(safe-area-inset-bottom)) !important;
    right: max(1rem, env(safe-area-inset-right)) !important;
    left: auto !important;
  }
  .chat-fab-btn {
    width: 3.35rem;
    height: 3.35rem;
  }
  .chat-fab-label {
    display: none !important;
  }

  /* Hero Section */
  .hero-section {
    min-height: auto;
    padding-top: 1.5rem;
  }
  .hero-content {
    padding: 2.25rem 0 3.75rem;
    max-width: 100%;
  }
  .hero-title {
    font-size: clamp(1.9rem, 7.5vw, 2.75rem);
    line-height: 1.15;
  }
  .hero-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
  }
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }
  .hero-cta-group .btn-gold,
  .hero-cta-group .btn-royal,
  .hero-cta-group .btn-outline-white {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
    min-height: 48px;
  }
  .hero-trust-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding-top: 1.25rem;
  }

  /* Quick Search Box */
  .search-filter-wrapper {
    margin-top: -1.75rem;
    margin-bottom: 2.75rem;
  }
  .search-card {
    padding: 1.25rem 1rem;
    border-radius: var(--radius-lg);
  }
  .search-form {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .search-group {
    border-right: none;
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 0.65rem;
    padding-right: 0;
  }
  .search-form button.btn-gold {
    width: 100%;
    justify-content: center;
    padding: 0.85rem;
    font-size: 0.95rem;
    min-height: 46px;
  }

  /* New Launches Carousel */
  .launch-slide {
    height: auto;
    min-height: 480px;
  }
  .launch-slide-content {
    padding: 1.5rem 1rem;
  }
  .launch-title {
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
  }
  .launch-features-row {
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1rem;
  }
  .carousel-nav-strip {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    scrollbar-width: none;
    gap: 0.5rem;
    padding: 0.5rem 0;
  }
  .carousel-thumb-btn {
    flex: 0 0 200px;
    padding: 0.75rem 0.85rem;
  }

  /* Directory Grids: Single column on phones */
  .properties-grid,
  .projects-grid,
  .communities-grid,
  .developers-grid,
  .agents-grid,
  .guides-grid,
  .similar-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
  .property-card .card-img-box {
    height: 220px;
  }

  /* Single Property Page */
  .page-hero-banner {
    padding: 1.75rem 0 2.25rem;
  }
  .page-hero-banner .container > div {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 1rem !important;
  }
  .page-hero-banner .container > div > div:last-child {
    text-align: left !important;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 0.85rem;
  }
  .page-hero-title {
    font-size: 1.75rem !important;
    line-height: 1.2 !important;
  }
  #mainPropertyImage,
  .property-gallery-hero {
    height: 260px !important;
  }

  /* 2x2 Grid for Key Metrics (Area, Typology, Possession, Compliance) */
  .property-metrics-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
    margin-bottom: 2rem !important;
  }
  .luxury-stat-card {
    padding: 0.85rem 0.75rem !important;
    gap: 0.6rem !important;
  }
  .luxury-stat-card > div:first-child {
    width: 38px !important;
    height: 38px !important;
    font-size: 1.1rem !important;
    border-radius: 8px !important;
    flex-shrink: 0;
  }
  .luxury-stat-card div > div {
    font-size: 0.95rem !important;
  }

  /* Calculator and Lead form */
  .calculator-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .form-input {
    min-height: 44px;
    font-size: 16px; /* Prevents auto-zoom on iOS */
  }

  /* Footer */
  .portfolio-columns {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .footer-links-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .footer-bottom-inner {
    flex-direction: column !important;
    text-align: center !important;
    gap: 1rem !important;
  }
}

/* --- 3. SMALL PHONES (max-width: 480px) --- */
@media (max-width: 480px) {
  .header-actions .btn-gold {
    display: none; /* Keep header clean: logo + hamburger */
  }
  .header-inner {
    height: 3.75rem;
  }
  .brand-logo-img {
    height: 2.1rem;
  }
  .property-metrics-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
  }
  .luxury-stat-card {
    padding: 0.65rem 0.5rem !important;
  }
  .luxury-stat-label {
    font-size: 0.68rem !important;
  }
  .luxury-stat-card div > div {
    font-size: 0.85rem !important;
  }
  .hero-title {
    font-size: 1.75rem;
  }
}

/* ==========================================================================
   CHATBOT ADAPTIVE RESPONSIVENESS ACROSS ALL SCREEN SIZES
   ========================================================================== */

/* 1. Laptops & Short Viewports (e.g. 1366x641, 1280x720, 1024x600) */
@media (max-height: 780px) and (min-width: 641px) {
  .chat-panel {
    bottom: 4.75rem !important;
    right: 1.5rem !important;
    height: calc(100dvh - 5.75rem) !important;
    max-height: calc(100dvh - 5.75rem) !important;
    border-radius: var(--radius-lg) !important;
  }
  .chat-header {
    padding: 0.75rem 1rem !important;
    min-height: 3.5rem !important;
  }
  .chat-header-avatar {
    width: 2.25rem !important;
    height: 2.25rem !important;
  }
  .chat-header-avatar svg {
    width: 15px !important;
    height: 15px !important;
  }
  .chat-header-text h4 {
    font-size: 0.88rem !important;
  }
  .chat-header-text p {
    font-size: 0.68rem !important;
  }
  .chat-prompts {
    padding: 0.4rem 0.75rem !important;
    gap: 0.35rem !important;
  }
  .chat-prompt-chip {
    padding: 0.35rem 0.65rem !important;
    font-size: 0.74rem !important;
  }
  .chat-messages {
    padding: 0.85rem !important;
    gap: 0.75rem !important;
  }
  .chat-input-bar {
    padding: 0.55rem 0.85rem !important;
  }
}

/* 2. Tablets (641px to 1024px width) */
@media (min-width: 641px) and (max-width: 1024px) {
  .chat-panel {
    width: min(390px, calc(100vw - 2.5rem)) !important;
    right: 1.25rem !important;
    bottom: 5.25rem !important;
    height: min(560px, calc(100dvh - 6.5rem)) !important;
    max-height: calc(100dvh - 6.5rem) !important;
  }
}

/* Prevent background page scroll & rubber-band when chat modal is open on mobile */
html.chat-modal-open,
body.chat-modal-open {
  overflow: hidden !important;
  height: 100% !important;
  touch-action: none;
}

/* 3. Mobile Phones & Narrow Screens (max-width: 640px) */
@media (max-width: 640px) {
  .chat-panel {
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    width: 100dvw !important;
    height: 100dvh;
    max-height: 100dvh;
    overscroll-behavior: contain;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    z-index: 10001 !important;
    transform: translateY(100%) !important;
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }
  .chat-panel.open {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  .chat-header {
    padding: max(0.85rem, env(safe-area-inset-top)) 1rem 0.85rem 1rem !important;
    min-height: 4rem;
  }
  .chat-header-close {
    width: 2.75rem !important;
    height: 2.75rem !important;
    min-width: 44px !important;
    min-height: 44px !important;
    font-size: 1.25rem;
  }
  .chat-prompts {
    padding: 0.55rem 0.85rem !important;
    gap: 0.5rem !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }
  .chat-prompt-chip {
    padding: 0.45rem 0.85rem !important;
    font-size: 0.78rem !important;
    flex-shrink: 0 !important;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
  }
  .chat-messages {
    padding: 1rem 0.85rem !important;
    gap: 0.85rem !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .chat-msg {
    max-width: 96% !important;
  }
  .chat-msg-bubble {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    padding: 0.75rem 0.9rem !important;
  }
  .chat-input-bar {
    padding: 0.65rem 0.85rem max(0.85rem, env(safe-area-inset-bottom)) 0.85rem !important;
    gap: 0.5rem !important;
    position: sticky !important;
    bottom: 0 !important;
  }
  .chat-input {
    font-size: 16px !important; /* CRITICAL: 16px prevents iOS Safari auto-zoom! */
    min-height: 44px !important;
    padding: 0.6rem 1rem !important;
  }
  .chat-send-btn {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
  }
}

/* 4. Landscape Smartphones & Ultra-short Viewports (max-height: 520px) */
@media (max-height: 520px) {
  .chat-panel {
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    width: 100dvw !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    z-index: 10001 !important;
  }
  .chat-panel.open {
    transform: translateY(0) !important;
  }
  .chat-header {
    padding: 0.4rem 0.85rem !important;
    min-height: 2.75rem !important;
  }
  .chat-header-avatar {
    width: 1.85rem !important;
    height: 1.85rem !important;
  }
  .chat-header-text h4 {
    font-size: 0.82rem !important;
  }
  .chat-header-close {
    width: 2rem !important;
    height: 2rem !important;
    min-width: 36px !important;
    min-height: 36px !important;
  }
  .chat-prompts {
    padding: 0.25rem 0.6rem !important;
    gap: 0.35rem !important;
  }
  .chat-prompt-chip {
    padding: 0.25rem 0.55rem !important;
    font-size: 0.7rem !important;
    min-height: 28px !important;
  }
  .chat-messages {
    padding: 0.5rem 0.75rem !important;
    gap: 0.5rem !important;
  }
  .chat-input-bar {
    padding: 0.35rem 0.65rem !important;
  }
  .chat-input {
    font-size: 15px !important;
    padding: 0.4rem 0.75rem !important;
    min-height: 36px !important;
  }
  .chat-send-btn {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
  }
  .chat-powered {
    display: none !important;
  }
}





/* ==========================================================================
   LUXURY EDITORIAL & BLOG MAGAZINE DESIGN SYSTEM
   ========================================================================== */

/* Blog Hero Header */
.blog-hero-section {
  background: linear-gradient(145deg, #020b18 0%, #06396e 60%, #0a254f 100%);
  padding: 4.5rem 0 3.5rem;
  color: #fff;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(4, 105, 187, 0.2);
}

.blog-hero-section::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(4, 105, 187, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.blog-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.blog-hero-breadcrumb a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-hero-breadcrumb a:hover {
  color: #3d9be0;
}

.blog-hero-breadcrumb .separator {
  color: #64748b;
  font-size: 0.75rem;
}

.blog-category-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(4, 105, 187, 0.15);
  border: 1px solid rgba(4, 105, 187, 0.4);
  color: #3d9be0;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.35rem 1rem;
  border-radius: 30px;
  margin-bottom: 1.25rem;
}

.blog-hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 1.25rem;
  max-width: 950px;
  letter-spacing: -0.5px;
}

.blog-hero-excerpt {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #cbd5e1;
  max-width: 850px;
  margin-bottom: 2rem;
}

/* Luxury Meta Bar */
.blog-meta-glassbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.85rem 1.75rem;
  border-radius: 100px;
  max-width: 850px;
}

.blog-meta-author-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.blog-meta-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0469bb, #06396e);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #04284f;
  font-weight: 800;
  font-size: 0.95rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.blog-meta-author-info {
  display: flex;
  flex-direction: column;
}

.blog-meta-author-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: #ffffff;
}

.blog-meta-author-role {
  font-size: 0.75rem;
  color: #94a3b8;
}

.blog-meta-details {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: #cbd5e1;
}

.blog-meta-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.blog-meta-item svg {
  color: #0469bb;
}

/* Featured Media Showcase */
.blog-featured-media-wrapper {
  margin-top: -3rem;
  position: relative;
  z-index: 10;
  margin-bottom: 3.5rem;
}

.blog-featured-media-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(2, 18, 44, 0.25);
  border: 1px solid rgba(4, 105, 187, 0.25);
  background: linear-gradient(135deg, #0a1a3a, #13305f);
  height: clamp(240px, 42vw, 540px);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* soft, blurred copy of the cover fills the sides; the cover itself is shown whole (its title text is never cut) */
.blog-featured-media-card::before {
  content: '';
  position: absolute;
  inset: -30px;
  background: var(--cover-bg, none) center / cover no-repeat;
  filter: blur(28px) brightness(0.7);
  opacity: 0.9;
}

.blog-featured-media-card img {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 6px;
}

/* 2-Column Editorial Grid */
.blog-layout-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3.5rem;
  align-items: flex-start;
  margin-bottom: 4rem;
}

@media (max-width: 1024px) {
  .blog-hero-title {
    font-size: 2rem !important;
  }
  .blog-meta-glassbar {
    border-radius: 16px !important;
    padding: 1rem !important;
  }
  .blog-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
  .blog-featured-media-wrapper {
    margin-top: -1.5rem !important;
  }
}

/* Executive Key Takeaways Box */
.blog-takeaways-card {
  background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);
  border-left: 4px solid var(--gold-500);
  border-radius: 0 16px 16px 0;
  padding: 1.75rem 2rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.blog-takeaways-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-950);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.blog-takeaways-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.blog-takeaways-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.6;
}

.blog-takeaways-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold-600);
  font-weight: 700;
}

/* Article Editorial Content Styling */
.article-editorial-content {
  font-size: 1.125rem;
  line-height: 1.9;
  color: #1e293b;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

.article-editorial-content p {
  margin-bottom: 1.5rem;
}

.article-editorial-content h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--brand-950);
  margin-top: 2.75rem;
  margin-bottom: 1.15rem;
  line-height: 1.35;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f1f5f9;
  position: relative;
}

.article-editorial-content h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--gold-500);
}

.article-editorial-content h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--brand-900);
  margin-top: 2.25rem;
  margin-bottom: 0.85rem;
}

.article-editorial-content ul, 
.article-editorial-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-editorial-content li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.article-editorial-content blockquote {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  background: #fdfaf3;
  border-left: 4px solid var(--gold-500);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: #451a03;
  line-height: 1.8;
}

.article-editorial-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1.75rem 0;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.article-editorial-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.95rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.article-editorial-content th {
  background: var(--brand-950);
  color: #fff;
  padding: 0.9rem 1.25rem;
  text-align: left;
  font-weight: 600;
}

.article-editorial-content td {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--gray-200);
  background: #fff;
}

.article-editorial-content tr:nth-child(even) td {
  background: var(--gray-50);
}

/* Sidebar Components */
.editorial-sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-advisor-card {
  background: linear-gradient(145deg, #06396e 0%, #04284f 100%);
  border-radius: 16px;
  padding: 2rem;
  color: #fff;
  border: 1px solid rgba(4, 105, 187, 0.25);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.sidebar-advisor-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.sidebar-advisor-card p {
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.sidebar-property-mini {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-100);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}

.sidebar-property-mini:hover {
  transform: translateX(4px);
}

.sidebar-property-mini img {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  object-fit: cover;
}

.sidebar-property-mini h5 {
  font-size: 0.9rem;
  margin: 0 0 0.25rem 0;
  color: var(--brand-950);
  line-height: 1.3;
}

.sidebar-property-mini span {
  font-size: 0.8rem;
  color: var(--gold-600);
  font-weight: 700;
}


/* Luxury Sidebar & Grid Enhancements for Blog Pages */
.blog-layout-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 360px !important;
  gap: 2.75rem !important;
  align-items: flex-start !important;
  margin-bottom: 4rem !important;
}

@media (max-width: 1080px) {
  .blog-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
}

.editorial-sidebar {
  position: sticky !important;
  top: 90px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 1.75rem !important;
  z-index: 20 !important;
}

.sidebar-featured-card {
  background: #ffffff !important;
  border-radius: 16px !important;
  padding: 1.75rem !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 10px 30px rgba(2, 18, 44, 0.06) !important;
}

.sidebar-featured-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 1.25rem !important;
  border-bottom: 1px solid #f1f5f9 !important;
  padding-bottom: 0.75rem !important;
}

.sidebar-featured-header h4 {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.25rem !important;
  color: #04284f !important;
  margin: 0 !important;
}

.sidebar-property-mini {
  display: flex !important;
  gap: 1rem !important;
  align-items: center !important;
  padding: 0.75rem !important;
  border-radius: 12px !important;
  border: 1px solid #f1f5f9 !important;
  text-decoration: none !important;
  color: inherit !important;
  transition: all 0.25s ease !important;
  background: #f8fafc !important;
  margin-bottom: 0.75rem !important;
}

.sidebar-property-mini:hover {
  transform: translateY(-2px) !important;
  background: #ffffff !important;
  border-color: rgba(4, 105, 187, 0.5) !important;
  box-shadow: 0 8px 20px rgba(2, 18, 44, 0.08) !important;
}

.sidebar-property-mini img {
  width: 72px !important;
  height: 72px !important;
  border-radius: 8px !important;
  object-fit: cover !important;
  flex-shrink: 0 !important;
}

.sidebar-property-mini h5 {
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  margin: 0 0 0.25rem 0 !important;
  color: #04284f !important;
  line-height: 1.35 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.sidebar-prop-meta {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.5rem !important;
  margin-top: 0.25rem !important;
}

.sidebar-property-mini span.price {
  font-size: 0.85rem !important;
  color: #c98e28 !important;
  font-weight: 800 !important;
}

.sidebar-property-mini span.loc {
  font-size: 0.725rem !important;
  color: #64748b !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 120px !important;
}


/* Luxury Property Detail Page Styling & Spacious Typography */
.property-layout-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 380px !important;
  gap: 3.5rem !important;
  align-items: flex-start !important;
  margin-bottom: 4rem !important;
}

@media (max-width: 1080px) {
  .property-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
}

.property-editorial-content {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
  font-size: 1.075rem !important;
  line-height: 1.95 !important;
  color: #334155 !important;
}

.property-editorial-content p {
  margin-bottom: 1.75rem !important;
  color: #334155 !important;
  line-height: 1.95 !important;
}

.property-editorial-content h2 {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 1.95rem !important;
  font-weight: 700 !important;
  color: #04284f !important;
  margin-top: 2.75rem !important;
  margin-bottom: 1.25rem !important;
  line-height: 1.35 !important;
  padding-bottom: 0.75rem !important;
  border-bottom: 2px solid #f1f5f9 !important;
  position: relative !important;
}

.property-editorial-content h2::after {
  content: '' !important;
  position: absolute !important;
  bottom: -2px !important;
  left: 0 !important;
  width: 60px !important;
  height: 2px !important;
  background: #0469bb !important;
}

.property-editorial-content h3 {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 1.55rem !important;
  font-weight: 700 !important;
  color: #06396e !important;
  margin-top: 2.75rem !important;
  margin-bottom: 1.25rem !important;
  line-height: 1.4 !important;
  border-bottom: 1px solid #f1f5f9 !important;
  padding-bottom: 0.5rem !important;
}

.property-editorial-content h4 {
  font-family: 'Outfit', sans-serif !important;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  color: #04284f !important;
  margin-top: 2rem !important;
  margin-bottom: 0.75rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

.property-editorial-content h4::before {
  content: '' !important;
  display: inline-block !important;
  width: 8px !important;
  height: 8px !important;
  background: #0469bb !important;
  border-radius: 50% !important;
  flex-shrink: 0 !important;
}

.property-editorial-content hr {
  border: 0 !important;
  height: 1px !important;
  background: linear-gradient(90deg, #e2e8f0 0%, #cbd5e1 50%, #e2e8f0 100%) !important;
  margin: 2.5rem 0 !important;
}

.property-editorial-content ul,
.property-editorial-content ol {
  margin-bottom: 2rem !important;
  padding-left: 1.75rem !important;
}

.property-editorial-content li {
  margin-bottom: 0.75rem !important;
  line-height: 1.75 !important;
  color: #334155 !important;
}

.property-editorial-content strong {
  color: #04284f !important;
}

/* Quick Facts Spec Card */
.property-specs-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
  gap: 1.25rem !important;
  margin-bottom: 3rem !important;
}

.property-spec-item {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 1.25rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  box-shadow: 0 4px 15px rgba(2, 18, 44, 0.03) !important;
  transition: transform 0.2s ease, border-color 0.2s ease !important;
}

.property-spec-item:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(4, 105, 187, 0.4) !important;
}

.property-spec-icon {
  width: 48px !important;
  height: 48px !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.25rem !important;
  flex-shrink: 0 !important;
}

/* ============================================================
   Site-wide additions: form feedback, listing filters, currency switcher
   ============================================================ */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.form-feedback { margin-top: 0.85rem; padding: 0.7rem 0.9rem; border-radius: 8px; font-size: 0.875rem; font-weight: 600; line-height: 1.45; }
.form-feedback.is-success { background: #e8f7ef; color: #0b6b49; border: 1px solid #b5e6d2; }
.form-feedback.is-error { background: #fdecec; color: #a42424; border: 1px solid #f3c4c4; }
.listing-filters { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; margin: 0 0 1.75rem; padding: 1rem; background: #fff; border: 1px solid var(--gray-200, #e5e7eb); border-radius: 14px; box-shadow: var(--shadow-sm, 0 1px 2px rgba(0,0,0,.05)); }
.listing-filters select { padding: 0.6rem 0.8rem; border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; font: inherit; font-size: 0.875rem; color: var(--brand-950, #0b1d3d); min-width: 150px; }
.listing-filters-count { margin-left: auto; font-size: 0.85rem; color: var(--gray-600, #4b5563); font-weight: 600; }
.listing-filters-empty { text-align: center; padding: 2rem 1rem; color: var(--gray-600, #4b5563); }
.property-card[hidden] { display: none !important; }
.currency-switcher select { background: transparent; color: inherit; border: 1px solid rgba(255,255,255,0.35); border-radius: 6px; padding: 0.15rem 0.35rem; font: inherit; font-size: 0.8rem; font-weight: 600; cursor: pointer; }
.currency-switcher select option { color: #0b1d3d; }
@media (max-width: 640px) {
  .listing-filters select { flex: 1 1 45%; min-width: 0; }
  .listing-filters-count { width: 100%; margin-left: 0; }
}
.top-announcement .currency-switcher { margin-left: 1rem; flex-shrink: 0; }
.rich-text h2 { font-family: var(--font-heading); color: var(--brand-950); font-size: 1.4rem; margin: 1.75rem 0 0.75rem; }
.rich-text h3 { font-family: var(--font-heading); color: var(--brand-950); font-size: 1.2rem; margin: 1.5rem 0 0.6rem; }
.rich-text p { margin-bottom: 1rem; }
.rich-text ul, .rich-text ol { margin: 0 0 1rem 1.25rem; }
.rich-text li { margin-bottom: 0.35rem; }


/* ============================================================
   Header: the full menu (11 links) only fits on wide screens.
   Below 1280px use the slide-out menu; 1281–1440px use a compact menu.
   ============================================================ */
.nav-link { white-space: nowrap; }
@media (min-width: 1281px) and (max-width: 1440px) {
  .nav-menu { gap: 0.1rem; }
  .nav-link { padding: 0.5rem 0.55rem; font-size: 0.85rem; }
  .header-actions .btn-gold { padding-left: 1rem; padding-right: 1rem; white-space: nowrap; }
}
@media (max-width: 1280px) {
  .nav-menu { display: none; }
  .mobile-toggle { display: block; }
  /* Header & Navigation Drawer */
  .main-header {
    height: auto;
  }
  .header-inner {
    height: 4.25rem;
  }
  .brand-logo-img {
    height: 2.35rem;
  }

  .header-actions .login-btn {
    display: none;
  }
  .header-actions .btn-gold {
    padding: 0.5rem 0.95rem;
    font-size: 0.8rem;
  }

  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    min-width: 44px;
    min-height: 44px;
    background: var(--brand-50);
    border: 1px solid var(--brand-100);
    border-radius: var(--radius-md);
    color: var(--brand-900);
    cursor: pointer;
    transition: var(--transition-fast);
  }
  .mobile-toggle:hover {
    background: var(--brand-100);
    color: var(--brand-700);
  }

  /* Slide-out Off-Canvas Drawer */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(85vw, 360px);
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    box-shadow: -10px 0 40px rgba(6, 57, 110, 0.25);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1.25rem 1.25rem 2.5rem 1.25rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 10000;
    transition: right 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .nav-menu.mobile-open {
    right: 0;
  }

  .mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid var(--gray-200);
  }
  .mobile-nav-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--brand-950);
    letter-spacing: 0.04em;
  }
  .mobile-nav-close {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: var(--radius-md);
    background: var(--gray-100);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-700);
    cursor: pointer;
    transition: var(--transition-fast);
  }
  .mobile-nav-close:hover {
    background: var(--error-light);
    color: var(--error);
  }

  .nav-item {
    width: 100%;
    border-bottom: 1px solid var(--gray-100);
  }
  .nav-link {
    width: 100%;
    padding: 0.85rem 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--brand-900);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: var(--radius-md);
    min-height: 48px;
  }
  .nav-link:hover {
    background: var(--brand-50);
    color: var(--brand-700);
  }

  /* Mega dropdown accordion on mobile */
  .mega-dropdown {
    position: static;
    width: 100%;
    box-shadow: none;
    border: none;
    padding: 0.25rem 0 0.75rem 0.5rem;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    background: transparent;
  }
  .nav-item.dropdown-open .mega-dropdown {
    display: block;
  }
  .mega-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .mega-featured-card {
    display: none;
  }

  /* Layout grids on tablets */
  .single-property-layout-grid,
}
.mobile-nav-header { display: none; }
.mobile-nav-backdrop { display: none; }
@media (max-width: 1280px) {
  .mobile-nav-header { display: flex; }
  .mobile-nav-backdrop { display: block; position: fixed; inset: 0; background: rgba(2, 12, 30, 0.45); opacity: 0; pointer-events: none; transition: opacity 0.25s ease; z-index: 9999; }
  .mobile-nav-backdrop.show { opacity: 1; pointer-events: auto; }
  html.nav-locked, html.nav-locked body { overflow: hidden; }
}
@media (max-width: 640px) {
  .section-header-split { flex-direction: column; align-items: flex-start; gap: 1rem; }
}
.listing-filters input[type="search"] { padding: 0.6rem 0.8rem; border: 1px solid #cbd5e1; border-radius: 8px; font: inherit; font-size: 0.875rem; min-width: 220px; flex: 1 1 220px; }
/* Homepage showcase: small dots instead of the thumbnail strip */
.launch-dots { position: absolute; right: 2rem; bottom: 1.75rem; z-index: 20; display: flex; gap: 0.5rem; }
.launch-dot { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,0.45); cursor: pointer; transition: width 0.3s ease, background 0.3s ease; }
.launch-dot.active { width: 28px; border-radius: 6px; background: var(--gold-500, #0469bb); }
@media (max-width: 640px) { .launch-dots { right: 50%; transform: translateX(50%); bottom: 1rem; } }

/* The closed mobile menu sits just off-screen to the right; never let it widen the page */
@media (max-width: 1280px) {
  html, body { overflow-x: hidden; }
  @supports (overflow-x: clip) { html, body { overflow-x: clip; } }
}

[hidden] { display: none !important; }


/* ==========================================================================
   Blue Sky theme for inner pages — sits on top of the recoloured style.css.
   Palette: logo blue #0469bb · navy #06396e · ink #24364d · tint #f3f7fb
   ========================================================================== */
body.site { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: #24364d; background: #fff; }
body.site :focus-visible { outline: 2px solid #0469bb; outline-offset: 2px; }

/* the shell resets lists/buttons for the header (:where(.sk) …); give article content its lists back */
body.site main :where(ul.wp-block-list, ol.wp-block-list, .article-editorial-content ul, .article-editorial-content ol,
  .property-editorial-content ul, .property-editorial-content ol, .rich-text ul, .rich-text ol, .legal-doc ul, .legal-doc ol, .legal-content ul, .legal-content ol) { list-style: revert; padding-left: 1.4em; margin: 0 0 1.1rem; }
body.site main :where(.article-editorial-content, .property-editorial-content, .rich-text) li { margin-bottom: .35rem; }
body.site main :where(.article-editorial-content, .property-editorial-content) li::marker { color: #0469bb; }

/* closed mobile menu: fully hidden (not only moved off-screen) */
@media (max-width: 1080px) {
  body.site .sk-nav:not(.is-open) .sk-nav-panel { visibility: hidden; transition: transform .25s, visibility 0s .25s; }
}
.sk-has-drop > button.is-current { color: #0469bb !important; }
.sk-has-drop > button.is-current::after { content: ''; position: absolute; left: 0; right: 1.1rem; bottom: .15rem; height: 2px; background: currentColor; border-radius: 2px; }
.sk-has-drop > button { position: relative; }

/* ---------- headings ---------- */
body.site main :is(h1, h2, h3, h4) { font-family: 'Inter', sans-serif; color: #06396e; letter-spacing: -.01em; }
body.site main .wp-block-heading { font-family: 'Inter', sans-serif !important; color: #06396e; }

/* ---------- page hero = Blue Sky hero (marina photo under a blue wash) ---------- */
.page-hero-banner, .blog-hero-section {
  background: linear-gradient(100deg, rgba(4, 105, 187, .96) 0%, rgba(4, 105, 187, .86) 45%, rgba(6, 57, 110, .72) 100%),
              url('/assets/home/bs-hero.jpg') center 35% / cover no-repeat;
  border-bottom: 0; padding: 3.6rem 0 3rem;
}
.page-hero-banner::before, .page-hero-banner::after, .blog-hero-section::before, .blog-hero-section::after { display: none; }
.page-hero-banner .page-hero-title, .blog-hero-section .blog-hero-title { color: #fff; font-family: 'Inter', sans-serif; font-weight: 700; letter-spacing: -.015em; }
.page-hero-desc, .blog-hero-excerpt { color: #e3f0fb; }
.page-hero-eyebrow, .page-hero-eyebrow svg { color: #cfe6fb; letter-spacing: .22em; }
.page-hero-breadcrumb, .blog-hero-breadcrumb { color: #cfe6fb; }
.page-hero-breadcrumb a, .blog-hero-breadcrumb a { color: #fff; opacity: .85; }
.page-hero-breadcrumb a:hover, .blog-hero-breadcrumb a:hover { opacity: 1; color: #fff; }
.page-hero-breadcrumb span.current { color: #fff; }
.page-hero-banner :is(.price-amount, [class*="price"]) { color: #fff !important; }
.page-hero-banner :is(.badge-gold, .luxury-badge-blue) { background: #fff; color: #0469bb; border-color: #fff; }
.page-hero-banner svg { color: #cfe6fb; }
.page-hero-banner [style*="color"]:not(a) { color: #e3f0fb !important; }
.blog-category-pill { background: rgba(255, 255, 255, .16) !important; color: #fff !important; border-color: rgba(255, 255, 255, .35) !important; }
.blog-meta-glassbar { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); }

/* ---------- content canvas ---------- */
.page-content-wrapper { background: #f3f7fb; }

/* ---------- buttons: Blue Sky style (solid logo blue, small radius) ---------- */
body.site :is(.btn-gold, .btn-royal) {
  background: #0469bb; color: #fff; border: 0; border-radius: 6px; box-shadow: 0 10px 22px -14px rgba(4, 105, 187, .9);
}
body.site :is(.btn-gold, .btn-royal):hover { background: #06396e; box-shadow: 0 14px 26px -14px rgba(6, 57, 110, .9); }
body.site .btn-outline-royal { border-color: #0469bb; color: #0469bb; border-radius: 6px; }
body.site .btn-outline-royal:hover { background: #0469bb; color: #fff; }
body.site .btn-outline-white { border-radius: 6px; }
body.site .btn-view-card { border-radius: 6px; }

/* ---------- badges ---------- */
body.site .badge-gold { background: #0469bb; color: #fff; }
body.site .luxury-badge-blue { background: #e8f1f9; border-color: #c3dcf0; color: #0469bb; }

/* ---------- cards ---------- */
body.site :is(.luxury-card, .luxury-stat-card, .property-card, .sidebar-featured-card, .sidebar-advisor-card, .blog-takeaways-card) {
  border-color: #dfe8ef; border-radius: 12px; box-shadow: 0 1px 2px rgba(6, 57, 110, .05), 0 12px 28px -22px rgba(6, 57, 110, .45);
}
body.site :is(.luxury-card, .property-card, .luxury-stat-card):hover { border-color: #c3dcf0; box-shadow: 0 20px 36px -18px rgba(6, 57, 110, .45); }
body.site .property-card .card-title { color: #06396e; }
body.site .property-card :is(.price-amount, .price) { color: #0469bb; }
body.site .luxury-stat-card :is(h3, strong, .luxury-stat-value) { color: #0469bb; }

/* ---------- forms ---------- */
body.site :is(.form-input, main input:not([type=checkbox]):not([type=radio]):not([type=range]), main select, main textarea) { border-color: #d3e0eb; border-radius: 6px; }
body.site :is(.form-input, main input, main select, main textarea):focus { border-color: #0469bb; box-shadow: 0 0 0 3px rgba(4, 105, 187, .15); outline: none; }

/* ---------- links in content ---------- */
body.site main :is(.article-editorial-content, .property-editorial-content, .rich-text) a:not([class]) { color: #0469bb; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- mobile ---------- */
@media (max-width: 760px) {
  .page-hero-banner, .blog-hero-section { padding: 2.4rem 0 2.1rem; background-position: 70% 35%; }
}

/* listing pages: breathing room under the hero */
.page-main-container { padding-top: 2.6rem; padding-bottom: 4rem; background: #f3f7fb; }

/* ---------- mobile: nothing wider than the screen ---------- */
.property-layout-grid > *, .blog-layout-grid > *, .single-property-layout-grid > *, .property-detail-grid > * { min-width: 0; }
@media (max-width: 1024px) {
  .property-layout-grid, .blog-layout-grid, .single-property-layout-grid, .property-detail-grid { grid-template-columns: minmax(0, 1fr) !important; }
}
body.site main :where(.article-editorial-content, .property-editorial-content, .rich-text) :is(table, .wp-block-table) { display: block; max-width: 100%; overflow-x: auto; }
body.site main :where(.article-editorial-content, .property-editorial-content, .rich-text) :is(img, iframe, video) { max-width: 100%; height: auto; }
body.site main :where(.article-editorial-content, .property-editorial-content, .rich-text) { overflow-wrap: anywhere; }
@media (max-width: 640px) {
  body.site main [style*="grid-template-columns"] { grid-template-columns: minmax(0, 1fr) !important; }
}

/* team page: cards in centred rows */
.team-grid > .luxury-card { flex: 0 1 360px; min-width: 0; }
@media (max-width: 640px) { .team-grid > .luxury-card { flex-basis: 100%; } }
