/* ==========================================================================
   عقارات مصر - Egypt Real Estate Stylesheet
   Modern Glassmorphism & High-Converting Luxury Real Estate Design System
   ========================================================================== */

:root {
  --font-arabic: 'Cairo', system-ui, -apple-system, sans-serif;
  --font-latin: 'Outfit', sans-serif;

  /* Color Palette - Dark Theme Default */
  --bg-primary: #070d18;
  --bg-surface: #0b1626;
  --bg-card: rgba(15, 29, 50, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(201, 162, 75, 0.5);

  --text-primary: #f9fafb;
  --text-secondary: #d1d5db;
  --text-muted: #9ca3af;

  --accent-gold: #c9a24b;
  --accent-gold-hover: #b8923a;
  --accent-gold-subtle: rgba(201, 162, 75, 0.12);

  --accent-emerald: #0d9488;
  --accent-emerald-hover: #0f766e;
  --accent-emerald-subtle: rgba(13, 148, 136, 0.12);

  --accent-navy: #0b1f3a;
  --danger: #ef4444;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 30px rgba(201, 162, 75, 0.25);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Theme Variables - Modern Clean Slate & Pure White Luxury */
body.theme-light {
  --bg-primary: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.95);
  --border-glass: #e2e8f0;
  --border-focus: #c5a869;

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;

  --accent-gold: #b8923a;
  --accent-gold-hover: #9e7b2d;
  --accent-gold-subtle: rgba(184, 146, 58, 0.12);

  --accent-emerald: #0d9488;
  --accent-emerald-hover: #0f766e;
  --accent-navy: #0b192c;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 14px 35px rgba(15, 23, 42, 0.09);
  --shadow-glow: 0 0 25px rgba(184, 146, 58, 0.2);
}

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

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

body {
  font-family: var(--font-arabic);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

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

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

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

/* Utility Helpers */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-gold { color: var(--accent-gold) !important; }
.text-emerald { color: var(--accent-emerald) !important; }
.bg-surface { background-color: var(--bg-surface); }
.section-padding { padding: 90px 0; }
.w-full { width: 100%; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }
.space-y-4 > * + * { margin-top: 16px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hidden { display: none !important; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
}

.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-hover));
  color: #0b1f3a;
  box-shadow: 0 4px 15px rgba(201, 162, 75, 0.3);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 162, 75, 0.45);
}

.btn-emerald {
  background: linear-gradient(135deg, var(--accent-emerald), var(--accent-emerald-hover));
  color: #ffffff;
}

.btn-emerald:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
}

.btn-nav-wa {
  padding: 8px 16px !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  border-radius: var(--radius-full) !important;
  gap: 6px !important;
  height: 38px !important;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.25) !important;
}

.btn-nav-wa i {
  font-size: 1.05rem;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
}

.btn-outline:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.btn-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  cursor: pointer;
  position: relative;
  transition: all var(--transition-fast);
}

.btn-icon:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.badge-pill {
  position: absolute;
  top: -4px;
  left: -4px;
  background: var(--accent-gold);
  color: #0b1f3a;
  font-size: 0.72rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Announcement Bar */
.announcement-bar {
  background: #050a14;
  border-bottom: 1px solid var(--border-glass);
  font-size: 0.82rem;
  padding: 8px 0;
  color: var(--text-secondary);
}

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

.ann-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Header & Nav - Luxury Symmetrical Layout */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 76px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid #E2E8F0;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
}

body.theme-dark .top-nav {
  background: rgba(7, 15, 30, 0.98);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.5);
}

.nav-container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand-logo {
  flex-shrink: 0;
}

.brand-logo .logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
  transition: transform 0.25s ease;
}

.logo-link:hover .logo-icon img {
  transform: scale(1.06);
}

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

.logo-title {
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.15;
  color: #0F172A;
  letter-spacing: -0.3px;
}

body.theme-dark .logo-title {
  color: #FFFFFF;
}

.logo-sub {
  font-family: var(--font-latin);
  font-size: 0.7rem;
  color: #64748B;
  letter-spacing: 1.5px;
  font-weight: 700;
  margin-top: 1px;
}

body.theme-dark .logo-sub {
  color: #94A3B8;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0 auto;
}

.nav-item {
  font-size: 0.95rem;
  font-weight: 700;
  color: #334155;
  white-space: nowrap;
  padding: 8px 0;
  position: relative;
  transition: all var(--transition-fast);
}

body.theme-dark .nav-item {
  color: #CBD5E1;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2.5px;
  background: #C5A869;
  border-radius: 2px;
  transition: width var(--transition-fast);
}

.nav-item:hover,
.nav-item.active {
  color: #B8923A;
}

.nav-item:hover::after,
.nav-item.active::after {
  width: 100%;
}

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

/* Mobile Toggle Button */
.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-toggle:hover {
  background: rgba(197, 168, 105, 0.15);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.mobile-toggle.active {
  background: rgba(197, 168, 105, 0.2);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: rotate(90deg);
}

/* Body lock when drawer open */
body.mobile-menu-open {
  overflow: hidden !important;
  touch-action: none !important;
}

/* ========================================================
   LUXURY OFF-CANVAS MOBILE DRAWER & NAVIGATION
======================================================== */
.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 9, 20, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(88vw, 390px);
  height: 100dvh;
  max-height: 100vh;
  background: linear-gradient(180deg, #0A1628 0%, #070F1C 100%);
  color: #F8FAFC;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.75);
  border-left: 1px solid rgba(212, 175, 55, 0.25);
  will-change: transform;
  overflow: hidden;
}

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

/* Drawer Header */
.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: rgba(10, 22, 40, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.drawer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.drawer-logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.15);
}

.drawer-logo-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

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

.drawer-logo-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
}

.drawer-logo-sub {
  font-size: 0.65rem;
  color: #D4AF37;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.mobile-drawer-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.mobile-drawer-close:hover,
.mobile-drawer-close:active {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.5);
  color: #F87171;
  transform: scale(1.08) rotate(90deg);
}

/* Stats Strip */
.drawer-stats-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 10px 18px;
  background: rgba(212, 175, 55, 0.06);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  flex-shrink: 0;
}

.stat-pill {
  font-size: 0.7rem;
  font-weight: 700;
  color: #E6CA85;
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(0, 0, 0, 0.25);
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  white-space: nowrap;
}

.stat-pill i {
  font-size: 0.68rem;
  color: #D4AF37;
}

/* Drawer Body & Scroll Area */
.mobile-drawer-body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer-body::-webkit-scrollbar {
  width: 4px;
}

.mobile-drawer-body::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.2);
  border-radius: 4px;
}

/* Nav Groups */
.drawer-nav-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}

.drawer-group-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.45);
  padding: 4px 6px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Nav Items */
.drawer-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  color: #FFFFFF;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
}

.drawer-nav-item:hover,
.drawer-nav-item:active {
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.35);
  transform: translateX(-3px);
  color: #FFFFFF;
}

.drawer-item-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

/* Icon Gradient Variants */
.drawer-item-icon.gold-grad {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(197, 168, 105, 0.12) 100%);
  color: #F0D289;
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.drawer-item-icon.blue-grad {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.25) 0%, rgba(37, 99, 235, 0.12) 100%);
  color: #93C5FD;
  border: 1px solid rgba(59, 130, 246, 0.4);
}

.drawer-item-icon.emerald-grad {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.25) 0%, rgba(5, 150, 105, 0.12) 100%);
  color: #6EE7B7;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.drawer-item-icon.purple-grad {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.25) 0%, rgba(147, 51, 234, 0.12) 100%);
  color: #D8B4FE;
  border: 1px solid rgba(168, 85, 247, 0.4);
}

.drawer-item-icon.amber-grad {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25) 0%, rgba(217, 119, 6, 0.12) 100%);
  color: #FDE68A;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.drawer-item-icon.rose-grad {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.25) 0%, rgba(225, 29, 72, 0.12) 100%);
  color: #FDA4AF;
  border: 1px solid rgba(244, 63, 94, 0.4);
}

.drawer-item-icon.cyan-grad {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.25) 0%, rgba(8, 145, 178, 0.12) 100%);
  color: #67E8F9;
  border: 1px solid rgba(6, 182, 212, 0.4);
}

.drawer-item-icon.gold-outline {
  background: rgba(255, 255, 255, 0.05);
  color: #E6CA85;
  border: 1px dashed rgba(212, 175, 55, 0.5);
}

/* Nav Item Typography */
.drawer-item-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.drawer-item-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 2px;
}

.drawer-item-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFFFFF;
}

.drawer-item-desc {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Badges */
.drawer-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  white-space: nowrap;
}

.badge-gold {
  background: rgba(212, 175, 55, 0.2);
  color: #F0D289;
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.badge-blue {
  background: rgba(59, 130, 246, 0.2);
  color: #93C5FD;
  border: 1px solid rgba(59, 130, 246, 0.4);
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.2);
  color: #6EE7B7;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.badge-purple {
  background: rgba(168, 85, 247, 0.2);
  color: #D8B4FE;
  border: 1px solid rgba(168, 85, 247, 0.4);
}

.badge-amber {
  background: rgba(245, 158, 11, 0.2);
  color: #FDE68A;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.badge-rose {
  background: rgba(244, 63, 94, 0.2);
  color: #FDA4AF;
  border: 1px solid rgba(244, 63, 94, 0.4);
}

.badge-cyan {
  background: rgba(6, 182, 212, 0.2);
  color: #67E8F9;
  border: 1px solid rgba(6, 182, 212, 0.4);
}

.drawer-arrow {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.3);
  transition: all 0.2s ease;
  margin-right: 2px;
}

.drawer-nav-item:hover .drawer-arrow,
.drawer-nav-item:active .drawer-arrow {
  color: #D4AF37;
  transform: translateX(-3px);
}

/* VIP Direct Consultation Card */
.drawer-vip-card {
  background: linear-gradient(135deg, rgba(16, 36, 64, 0.85) 0%, rgba(10, 24, 46, 0.95) 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 14px;
  padding: 15px;
  position: relative;
  overflow: hidden;
  margin-top: 4px;
  flex-shrink: 0;
}

.drawer-vip-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #D4AF37, transparent);
}

.vip-card-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: #D4AF37;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.vip-card-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 4px;
  line-height: 1.35;
}

.vip-card-desc {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.45;
  margin-bottom: 12px;
}

.vip-card-actions {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 8px;
}

.drawer-btn-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 10px 8px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  transition: transform 0.2s ease;
  position: relative;
}

.drawer-btn-wa:hover,
.drawer-btn-wa:active {
  transform: translateY(-2px);
  color: #FFFFFF;
}

.online-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #A7F3D0;
  box-shadow: 0 0 6px #A7F3D0;
  animation: pulseDot 1.8s infinite;
}

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

.drawer-btn-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 10px 8px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.drawer-btn-call:hover,
.drawer-btn-call:active {
  background: rgba(212, 175, 55, 0.15);
  border-color: #D4AF37;
  color: #F0D289;
}

/* Drawer Footer */
.mobile-drawer-footer {
  padding: 14px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 16, 30, 0.85);
  flex-shrink: 0;
}

.drawer-footer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.drawer-footer-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px 10px;
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.drawer-footer-btn:hover,
.drawer-footer-btn:active {
  background: rgba(212, 175, 55, 0.15);
  border-color: rgba(212, 175, 55, 0.35);
  color: #E6CA85;
}

.drawer-copyright {
  text-align: center;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.4);
}

/* Hero Section - True Luxury Cinematic Backdrop */
.hero-section {
  position: relative;
  padding: 130px 0 100px;
  background: linear-gradient(180deg, rgba(8, 18, 38, 0.85) 0%, rgba(10, 24, 46, 0.94) 100%),
              url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?auto=format&fit=crop&w=2200&q=85') center center / cover no-repeat;
  text-align: center;
  color: #ffffff;
}

.hero-glow {
  display: none;
}

.hero-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(229, 192, 104, 0.45);
  color: #F7D070;
  padding: 8px 22px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 24px;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-title {
  font-size: 3.3rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 22px;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.gradient-text {
  display: block;
  background: linear-gradient(135deg, #FFE89E 0%, #D4AF37 50%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 12px rgba(212, 175, 55, 0.3));
}

.hero-desc {
  font-size: 1.15rem;
  color: #E2E8F0;
  max-width: 820px;
  margin: 0 auto 48px;
  line-height: 1.85;
  font-weight: 500;
}

/* Search Card - Floating Luxury Control Center */
.search-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(0, 0, 0, 0.05);
  margin-bottom: 48px;
  text-align: right;
}

body.theme-dark .search-card {
  background: rgba(15, 29, 50, 0.96);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.65);
}

.search-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #E2E8F0;
  padding-bottom: 16px;
  margin-bottom: 24px;
  overflow-x: auto;
}

body.theme-dark .search-tabs {
  border-color: rgba(255, 255, 255, 0.1);
}

.tab-btn {
  background: #F1F5F9;
  border: 1px solid transparent;
  color: #475569;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

body.theme-dark .tab-btn {
  background: rgba(255, 255, 255, 0.06);
  color: #94A3B8;
}

.tab-btn.active, .tab-btn:hover {
  background: #0B192C;
  color: #FFFFFF;
  border-color: #0B192C;
}

body.theme-dark .tab-btn.active, body.theme-dark .tab-btn:hover {
  background: #C5A869;
  color: #0B192C;
  border-color: #C5A869;
}

.search-form {
  display: grid;
  grid-template-columns: 2fr 1.3fr 1.3fr 1.3fr 1fr;
  gap: 16px;
  align-items: flex-end;
  text-align: right;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1E293B;
}

body.theme-dark .form-group label {
  color: #E2E8F0;
}

.form-group .input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.form-group .input-wrap i {
  position: absolute;
  right: 14px;
  color: #94A3B8;
  font-size: 0.95rem;
  pointer-events: none;
  z-index: 1;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 13px 40px 13px 14px;
  color: #0F172A;
  font-weight: 600;
  font-size: 0.92rem;
  outline: none;
  transition: all var(--transition-fast);
}

body.theme-dark .form-group input, body.theme-dark .form-group select, body.theme-dark .form-group textarea {
  background: #0B1626;
  border-color: rgba(255, 255, 255, 0.12);
  color: #F8FAFC;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: #C5A869;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(197, 168, 105, 0.2);
}

body.theme-dark .form-group input:focus, body.theme-dark .form-group select:focus {
  background: #0F1F35;
  border-color: #C5A869;
}

.btn-group {
  justify-content: flex-end;
}

/* Hero Stats - Sleek Glass Metrics */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  padding: 22px 36px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  border-radius: var(--radius-lg);
  max-width: 860px;
  margin: 0 auto;
}

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

.stat-number {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.1;
  color: #FFFFFF;
}

.stat-label {
  font-size: 0.88rem;
  color: #CBD5E1;
  margin-top: 4px;
  font-weight: 600;
}

.stat-divider {
  width: 1px;
  height: 42px;
  background: rgba(255, 255, 255, 0.2);
}

/* Section Header */
.section-header-flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.section-header {
  margin-bottom: 40px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.3;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-top: 6px;
  max-width: 650px;
}

/* Catalog Controls */
.catalog-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
}

.filter-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pill-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.pill-btn.active, .pill-btn:hover {
  background: var(--accent-gold);
  color: #0b1f3a;
  border-color: var(--accent-gold);
}

.sort-box {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-right: auto;
}

.sort-box select {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  color: var(--text-primary);
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 28px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 162, 75, 0.4);
  box-shadow: var(--shadow-lg);
}

.project-card.is-featured {
  border-color: rgba(201, 162, 75, 0.35);
}

.card-img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

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

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

.card-badges {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.badge {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.badge-gold {
  background: var(--accent-gold);
  color: #0b1f3a;
}

.badge-navy {
  background: rgba(11, 31, 58, 0.85);
  color: #ffffff;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge-emerald {
  background: var(--accent-emerald);
  color: #ffffff;
}

.wishlist-btn {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(11, 22, 38, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: all var(--transition-fast);
}

.wishlist-btn:hover, .wishlist-btn.active {
  background: #ffffff;
  color: var(--danger);
  border-color: #ffffff;
}

.card-payment-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(7, 13, 24, 0.95), transparent);
  padding: 18px 16px 8px;
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 700;
  color: #f9fafb;
}

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.4;
}

.card-specs {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.card-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.price-label, .monthly-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.price-val {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--accent-gold);
}

.monthly-val {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
}

/* ========================================================
   Ultra-Luxury Developers Showcase Architecture
   ======================================================== */
.developers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.dev-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.35);
}

body.theme-light .dev-card {
  background: #FFFFFF;
  border-color: rgba(197, 168, 105, 0.3);
  box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.08);
}

.dev-card:hover {
  transform: translateY(-8px);
  border-color: #C5A869;
  box-shadow: 0 24px 48px -12px rgba(197, 168, 105, 0.25), 0 0 0 1px rgba(197, 168, 105, 0.3);
}

/* Cover Image Banner */
.dev-card-cover {
  position: relative;
  height: 145px;
  width: 100%;
  overflow: hidden;
  background: #07101E;
}

.dev-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.dev-card:hover .dev-cover-img {
  transform: scale(1.08);
}

.dev-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 16, 32, 0.3) 0%, rgba(7, 16, 32, 0.85) 100%);
  pointer-events: none;
}

.dev-cover-badges {
  position: absolute;
  top: 12px;
  right: 12px;
  left: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.dev-badge-verified {
  background: rgba(13, 148, 136, 0.92);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.dev-badge-year {
  background: rgba(11, 25, 44, 0.9);
  color: #F7D070;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(197, 168, 105, 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Brand Row & Monogram Emblem */
.dev-brand-row {
  position: relative;
  margin-top: -34px;
  padding: 0 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  z-index: 3;
}

.dev-emblem-badge {
  background: linear-gradient(135deg, #0F223D 0%, #07101E 100%);
  border: 2px solid #C5A869;
  border-radius: 14px;
  padding: 8px 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 16px rgba(197, 168, 105, 0.25);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.dev-card:hover .dev-emblem-badge {
  transform: translateY(-2px);
  border-color: #F7D070;
}

.dev-emblem-icon {
  color: #C5A869;
  font-size: 1rem;
}

.dev-monogram {
  color: #F7D070;
  font-family: var(--font-latin);
  font-weight: 900;
  letter-spacing: 1.2px;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.dev-hotline {
  font-size: 0.78rem;
  font-weight: 700;
  color: #94A3B8;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-glass);
}

body.theme-light .dev-hotline {
  background: #F1F5F9;
  color: #475569;
}

/* Card Body */
.dev-body {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.dev-title-wrap {
  margin-bottom: 10px;
}

.dev-name {
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 2px;
  color: var(--text-primary);
}

.dev-name-en {
  font-size: 0.74rem;
  font-family: var(--font-latin);
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  display: block;
}

.dev-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 44px;
}

/* Developer Metrics */
.dev-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 12px 6px;
  margin-bottom: 18px;
  text-align: center;
}

body.theme-light .dev-metrics {
  background: #F8FAFC;
  border-color: #E2E8F0;
}

.dev-metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.metric-val {
  display: block;
  font-size: 1.05rem;
  font-weight: 900;
  font-family: var(--font-latin);
  margin-bottom: 2px;
  line-height: 1.2;
}

.metric-lbl {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
}

/* Developer Actions */
.dev-card-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: auto;
}

.dev-filter-btn {
  flex: 1;
  min-height: 44px;
  font-weight: 800;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-md);
}

.dev-wa-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: #25D366;
  color: #FFFFFF !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.dev-wa-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.5);
  color: #FFFFFF !important;
}

/* Destinations Grid */
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
}

.destination-card {
  position: relative;
  height: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.dest-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.destination-card:hover .dest-bg {
  transform: scale(1.08);
}

.dest-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 13, 24, 0.95) 15%, rgba(7, 13, 24, 0.3) 60%, transparent);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dest-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dest-badge {
  background: rgba(11, 31, 58, 0.85);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.dest-trend {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 800;
}

.dest-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #ffffff;
}

.dest-city {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.dest-meter-price {
  font-size: 0.85rem;
  color: #f9fafb;
  margin-bottom: 12px;
}

.dest-meter-price strong {
  color: var(--accent-gold);
}

/* Calculator Section */
.calculator-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}

.calc-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

.calc-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-gold-subtle);
  color: var(--accent-gold);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.calc-title {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.calc-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.calc-body {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 40px;
}

.slider-group {
  margin-bottom: 28px;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.slider-header label {
  font-weight: 700;
  font-size: 0.95rem;
}

.slider-val {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--accent-gold);
}

.slider-group input[type="range"] {
  width: 100%;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  outline: none;
  accent-color: var(--accent-gold);
  cursor: pointer;
}

.slider-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.calc-results {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.featured-result {
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-glass);
}

.res-label {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.res-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  margin: 8px 0;
}

.res-sub {
  font-size: 0.78rem;
  color: var(--accent-emerald);
}

.result-breakdown {
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.breakdown-row strong {
  color: var(--text-primary);
}

/* Compare Tool */
.compare-selectors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.selector-col label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-secondary);
}

.compare-select {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.compare-table-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.compare-empty-state {
  padding: 60px 24px;
  text-align: center;
  color: var(--text-muted);
}

.compare-empty-state i {
  font-size: 3rem;
  margin-bottom: 14px;
  opacity: 0.4;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
}

.compare-table th, .compare-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-glass);
  vertical-align: middle;
}

.compare-table th {
  background: var(--bg-surface);
}

.comp-header-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}

.comp-header-card h4 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.feature-col {
  width: 220px;
  font-weight: 800;
  color: var(--text-muted);
  background: var(--bg-surface);
}

/* Articles Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.article-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 162, 75, 0.4);
}

.art-img-wrap {
  position: relative;
  height: 200px;
}

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

.art-category {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--accent-gold);
  color: #0b1f3a;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
}

.art-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.art-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.art-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.4;
}

.art-excerpt {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.art-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-glass);
}

.art-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
}

.author-avatar {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
}

.btn-read-art {
  background: transparent;
  border: none;
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Guest Post Banner */
.guest-post-banner {
  background: linear-gradient(135deg, #0b1f3a, #162a45);
  border: 1px solid rgba(201, 162, 75, 0.3);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: center;
}

.gp-title {
  font-size: 2.1rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 14px;
}

.gp-desc {
  color: #d1d5db;
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.gp-rules-list {
  list-style: none;
  margin-bottom: 28px;
}

.gp-rules-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: #f3f4f6;
}

.gp-card-preview {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 24px;
  color: #ffffff;
}

.badge-guest {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-gold);
  color: #0b1f3a;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.gp-card-preview h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.gp-card-preview p {
  font-size: 0.85rem;
  color: #d1d5db;
  margin-bottom: 16px;
}

.author-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--accent-gold);
}

.author-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--accent-gold);
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 28px;
}

.c-method {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 18px;
}

.c-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--accent-gold-subtle);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.c-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.c-val {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
}

.contact-form-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.contact-form-box h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.contact-form-box p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Footer - Luxury Ultra-High Contrast Design */
.main-footer {
  background: #060D1A !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #CBD5E1 !important;
  padding: 80px 0 30px !important;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 48px;
  margin-bottom: 60px;
}

.main-footer .logo-title {
  color: #FFFFFF !important;
  font-size: 1.4rem !important;
  font-weight: 900 !important;
}

.main-footer .logo-sub {
  color: #94A3B8 !important;
  letter-spacing: 1.5px !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
}

.main-footer .f-desc {
  font-size: 0.94rem !important;
  color: #CBD5E1 !important;
  line-height: 1.85 !important;
  margin: 18px 0 !important;
  max-width: 380px !important;
}

.main-footer .f-col h4 {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  margin-bottom: 22px !important;
  position: relative !important;
  padding-bottom: 10px !important;
}

.main-footer .f-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 36px;
  height: 2.5px;
  background: #D4AF37;
  border-radius: 2px;
}

.main-footer .f-links {
  list-style: none !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.main-footer .f-links a {
  color: #CBD5E1 !important;
  font-size: 0.93rem !important;
  font-weight: 500 !important;
  transition: all 0.2s ease !important;
  display: inline-block !important;
}

.main-footer .f-links a:hover {
  color: #F7D070 !important;
  transform: translateX(-4px) !important;
}

.main-footer .f-col p {
  color: #CBD5E1 !important;
  font-size: 0.93rem !important;
  line-height: 1.7 !important;
  margin-bottom: 14px !important;
}

.main-footer .f-socials {
  display: flex !important;
  gap: 12px !important;
  margin-top: 18px !important;
  flex-wrap: wrap !important;
}

.main-footer .f-socials a {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.2) !important;
  color: #FFFFFF !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.15rem !important;
  transition: all 0.25s ease !important;
}

.main-footer .f-socials a.is-hidden {
  display: none !important;
}

.main-footer .f-socials a:hover {
  background: #0D9488 !important;
  border-color: #0D9488 !important;
  color: #FFFFFF !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.45) !important;
}

/* Mobile Drawer Socials */
.drawer-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 14px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.drawer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.25s ease;
  text-decoration: none;
}

.drawer-socials a:hover {
  background: #0D9488;
  border-color: #0D9488;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.drawer-socials a.is-hidden {
  display: none !important;
}

.main-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  padding-top: 26px !important;
  font-size: 0.88rem !important;
  color: #94A3B8 !important;
}

.main-footer .footer-bottom span {
  color: #94A3B8 !important;
}

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

/* Modals - High-Z-Index Luxury Dialogs */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 9, 20, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 999999 !important;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch;
}

.modal-backdrop.active {
  display: flex;
}

body.modal-open {
  overflow: hidden !important;
  touch-action: none !important;
}

.modal-dialog {
  background: #FFFFFF;
  color: #0F172A;
  border: 1px solid #E2E8F0;
  border-radius: 24px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  position: relative;
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 0, 0, 0.05);
  padding: 36px 32px;
  margin: 30px auto;
  z-index: 1000000 !important;
  box-sizing: border-box;
}

body.theme-dark .modal-dialog {
  background: #0B192C;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.8);
}

.modal-body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  box-sizing: border-box;
}

.modal-md { max-width: 640px; }
.modal-lg { max-width: 900px; }
.modal-xl { max-width: 1160px; }

.modal-close {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  font-size: 1.4rem;
  color: #475569;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  z-index: 10;
  transition: all 0.2s ease;
}

body.theme-dark .modal-close {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #CBD5E1;
}

.modal-close:hover {
  background: #EF4444 !important;
  color: #FFFFFF !important;
  border-color: #EF4444 !important;
  transform: rotate(90deg);
}

/* Project Modal Layout */
.p-modal-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 36px;
}

.gallery-hero-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.thumb-img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
}

.thumb-img.active {
  border-color: var(--accent-gold);
}

.p-header-meta {
  margin: 20px 0;
}

.p-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.p-modal-title {
  font-size: 1.8rem;
  font-weight: 900;
}

.p-modal-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.p-details-box, .p-features-box, .p-units-box, .p-faqs-box {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-glass);
}

.p-details-box h3, .p-features-box h3, .p-units-box h3, .p-faqs-box h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 12px;
}

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

.amenity-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
}

.units-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-glass);
}

.units-table {
  width: 100%;
  border-collapse: collapse;
}

.units-cards-mobile {
  display: none;
}

.units-table th, .units-table td {
  padding: 12px;
  border-bottom: 1px solid var(--border-glass);
  font-size: 0.88rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  padding: 14px;
}

.faq-question {
  font-weight: 700;
  cursor: pointer;
}

.faq-answer {
  margin-top: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.sidebar-pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 24px;
  position: sticky;
  top: 0;
}

.sp-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.sp-price {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent-gold);
  margin-bottom: 18px;
}

.sp-breakdown {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.sp-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.sidebar-divider {
  border: 0;
  height: 1px;
  background: var(--border-glass);
  margin: 20px 0;
}

.sp-lead-form h4 {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.sp-lead-form input, .sp-lead-form textarea {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 10px;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.lead-success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 16px;
  border-radius: var(--radius-sm);
  text-align: center;
  color: #34d399;
}

/* Article Reader */
.article-reader .reader-featured-img img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin: 18px 0;
}

.reader-title {
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1.3;
  margin: 10px 0;
}

.reader-meta {
  display: flex;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.reader-content {
  font-size: 1.05rem;
  line-height: 2;
  color: var(--text-secondary);
  margin: 24px 0;
}

.reader-author-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 20px;
}

.reader-author-card img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
}

/* Admin Modal */
.admin-modal-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.admin-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--accent-gold);
  color: #0b1f3a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.admin-tabs {
  display: flex;
  gap: 10px;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.a-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  cursor: pointer;
}

.a-tab.active {
  background: var(--accent-gold);
  color: #0b1f3a;
}

.admin-tab-content {
  display: none;
}

.admin-tab-content.active {
  display: block;
}

.admin-lead-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 12px;
}

.alc-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.alc-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.alc-project {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.alc-msg {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 6px 0;
}

.alc-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.creds-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 24px;
}

.cred-row {
  margin-top: 12px;
  padding: 10px;
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.cred-row code {
  color: var(--accent-gold);
  margin: 0 4px;
}

.word-counter {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ========================================================
   Enhanced Mobile Responsiveness Architecture
   ======================================================== */

/* Mobile Swipe Hint helper for horizontal scrollable elements */
.mobile-swipe-hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(197, 168, 105, 0.12);
  border: 1px dashed rgba(197, 168, 105, 0.4);
  border-radius: var(--radius-sm);
  color: var(--accent-gold);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-align: center;
}

/* Tablet & Intermediate Screens */
@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }
  .search-form {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .calc-body {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .guest-post-banner {
    grid-template-columns: 1fr;
    padding: 36px;
    gap: 28px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .p-modal-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
  }
  .destinations-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
  .articles-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

/* Smartphones & Small Tablets (768px and below) */
@media (max-width: 768px) {
  /* Layout & Container */
  .container {
    padding: 0 16px;
  }
  .section-padding {
    padding: 52px 0;
  }
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Header & Navigation */
  .top-nav {
    padding: 0;
  }
  .nav-container {
    padding: 10px 16px;
    gap: 10px;
    justify-content: space-between;
  }
  .nav-links, .hidden-mobile, .nav-actions .btn {
    display: none !important;
  }
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    font-size: 1.3rem;
  }
  .brand-logo .logo-link {
    gap: 10px;
  }
  .logo-icon {
    width: 38px;
    height: 38px;
  }
  .logo-title {
    font-size: 1.15rem;
  }
  .logo-sub {
    font-size: 0.62rem;
    letter-spacing: 1px;
  }
  .nav-actions {
    gap: 8px;
  }
  .btn-icon {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }

  /* Mobile Toggle & Drawer Mobile Polish */
  .mobile-toggle {
    display: flex;
  }
  .mobile-menu-drawer {
    width: min(88vw, 360px);
  }

  /* Hero Section */
  .hero-section {
    padding: 95px 0 55px;
  }
  .hero-content {
    padding: 0 14px;
  }
  .hero-badge {
    font-size: 0.78rem;
    padding: 6px 14px;
    margin-bottom: 16px;
  }
  .hero-title {
    font-size: clamp(1.65rem, 6.5vw, 2.25rem);
    line-height: 1.3;
    margin-bottom: 14px;
  }
  .hero-desc {
    font-size: 0.92rem;
    line-height: 1.65;
    margin: 0 auto 28px;
  }

  /* Search Card */
  .search-card {
    padding: 16px 14px;
    border-radius: 18px;
    margin-bottom: 30px;
  }
  .search-tabs {
    gap: 6px;
    padding-bottom: 12px;
    margin-bottom: 16px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .search-tabs::-webkit-scrollbar {
    display: none;
  }
  .tab-btn {
    padding: 8px 14px;
    font-size: 0.82rem;
    flex-shrink: 0;
  }
  .search-form {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .form-group label {
    font-size: 0.8rem;
    margin-bottom: 4px;
  }
  .form-group input, .form-group select, .form-group textarea {
    padding: 12px 36px 12px 12px;
    font-size: 0.88rem;
    min-height: 46px;
  }
  .form-group .input-wrap i {
    right: 12px;
    font-size: 0.85rem;
  }
  .search-form .btn {
    width: 100%;
    min-height: 48px;
    font-size: 0.95rem;
    font-weight: 800;
  }

  /* Hero Stats */
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 16px 12px;
  }
  .stat-divider {
    display: none;
  }
  .stat-item .stat-num {
    font-size: 1.35rem;
  }
  .stat-item .stat-label {
    font-size: 0.7rem;
    line-height: 1.3;
  }

  /* Section Headers */
  .section-header {
    margin-bottom: 24px;
  }
  .section-tag {
    font-size: 0.72rem;
    padding: 4px 12px;
    margin-bottom: 8px;
  }
  .section-title {
    font-size: clamp(1.4rem, 5.5vw, 1.85rem);
    line-height: 1.35;
  }
  .section-desc {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-top: 6px;
  }

  /* Catalog Controls & Filter Pills */
  .catalog-controls {
    gap: 12px;
    margin-bottom: 20px;
    width: 100%;
  }
  .filter-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    flex-wrap: nowrap;
    width: 100%;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .filter-pills::-webkit-scrollbar {
    display: none;
  }
  .pill-btn {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 8px 14px;
    font-size: 0.82rem;
  }

  /* Projects Grid & Cards */
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .project-card {
    border-radius: 16px;
  }
  .card-img-wrap {
    aspect-ratio: 16 / 10;
  }
  .card-badges {
    top: 10px;
    right: 10px;
    gap: 6px;
  }
  .badge {
    padding: 3px 8px;
    font-size: 0.7rem;
  }
  .wishlist-btn {
    top: 10px;
    left: 10px;
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }
  .card-body {
    padding: 16px 14px;
  }
  .card-title {
    font-size: 1.12rem;
    margin-bottom: 8px;
  }
  .card-specs {
    gap: 8px;
    font-size: 0.78rem;
    padding: 8px 0;
    flex-wrap: wrap;
  }
  .card-pricing {
    padding-top: 10px;
  }
  .price-val {
    font-size: 1.15rem;
  }
  .monthly-val {
    font-size: 0.88rem;
  }
  .card-actions {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 12px;
  }
  .card-actions .btn {
    padding: 10px 6px;
    font-size: 0.82rem;
    font-weight: 700;
    min-height: 42px;
    white-space: nowrap;
  }

  /* Comparison Tool (Mobile Optimized) */
  .compare-selectors {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 16px;
  }
  .selector-col label {
    font-size: 0.82rem;
    margin-bottom: 4px;
  }
  .compare-select {
    min-height: 44px;
    font-size: 0.88rem;
    padding: 10px 12px;
  }
  .mobile-swipe-hint {
    display: flex;
  }
  .compare-table-wrapper {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  }
  .compare-table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    display: block;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-gold) rgba(255, 255, 255, 0.05);
  }
  .compare-table-scroll::-webkit-scrollbar {
    height: 6px;
  }
  .compare-table-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
  }
  .compare-table-scroll::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 4px;
  }
  .compare-table {
    min-width: 580px;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
  }
  .compare-table th, .compare-table td {
    padding: 12px 14px;
    font-size: 0.82rem;
    border-bottom: 1px solid var(--border-glass);
  }
  /* Sticky Feature Column in RTL */
  .compare-table th.feature-col,
  .compare-table td.feature-col {
    position: sticky;
    right: 0;
    background: var(--bg-card);
    z-index: 3;
    width: 130px;
    min-width: 130px;
    font-size: 0.82rem;
    font-weight: 800;
    border-left: 2px solid rgba(197, 168, 105, 0.4);
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.2);
  }
  body.theme-light .compare-table th.feature-col,
  body.theme-light .compare-table td.feature-col {
    background: #F8FAFC;
  }
  .comp-header-card {
    width: 140px;
    min-width: 140px;
  }
  .comp-header-card img {
    width: 100%;
    height: 85px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 6px;
  }
  .comp-header-card h4 {
    font-size: 0.88rem;
    line-height: 1.3;
    margin-bottom: 4px;
  }

  /* Mortgage Calculator */
  .calculator-card {
    padding: 20px 14px;
    border-radius: 18px;
  }
  .calc-title {
    font-size: 1.55rem;
  }
  .calc-body {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .slider-group {
    margin-bottom: 20px;
  }
  .slider-header label {
    font-size: 0.88rem;
  }
  .slider-val {
    font-size: 1rem;
  }
  .calc-results {
    padding: 20px 14px;
    border-radius: 14px;
  }
  .res-number {
    font-size: 1.85rem;
  }
  .breakdown-row {
    font-size: 0.84rem;
  }
  .calc-results .btn {
    min-height: 46px;
    font-size: 0.9rem;
  }

  /* Developers Grid */
  .developers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .dev-card {
    padding: 18px 12px;
    border-radius: 14px;
  }
  .dev-logo {
    width: 52px;
    height: 52px;
    margin-bottom: 10px;
  }
  .dev-name {
    font-size: 0.95rem;
  }
  .dev-stats {
    gap: 8px;
    font-size: 0.75rem;
  }

  /* Destinations / Areas Grid */
  .destinations-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .destination-card {
    height: 200px;
    border-radius: 14px;
  }
  .dest-overlay {
    padding: 18px 14px;
  }
  .dest-title {
    font-size: 1.25rem;
  }
  .meter-price-badge {
    font-size: 0.8rem;
    padding: 4px 10px;
  }

  /* Articles Grid */
  .articles-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .article-card {
    border-radius: 16px;
  }
  .art-img-wrap {
    height: 180px;
  }
  .art-body {
    padding: 16px 14px;
  }
  .art-title {
    font-size: 1.1rem;
    line-height: 1.4;
  }
  .art-excerpt {
    font-size: 0.85rem;
    line-height: 1.6;
  }

  /* Guest Post Banner */
  .guest-post-banner {
    grid-template-columns: 1fr;
    padding: 24px 16px;
    gap: 20px;
    border-radius: 16px;
  }
  .gp-title {
    font-size: 1.45rem;
  }
  .gp-desc {
    font-size: 0.9rem;
    margin-bottom: 18px;
  }
  .gp-rules-list {
    margin-bottom: 20px;
  }
  .gp-rules-list li {
    font-size: 0.85rem;
    margin-bottom: 8px;
  }
  .gp-card-preview {
    padding: 18px 14px;
  }

  /* Contact Section */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .c-method {
    padding: 14px 12px;
  }
  .contact-form-card {
    padding: 20px 14px;
    border-radius: 16px;
  }

  /* Modals - Ultra-Responsive Mobile System */
  .modal-backdrop {
    padding: 12px 6px !important;
    align-items: flex-start !important;
    overflow-x: hidden !important;
  }
  .modal-dialog {
    padding: 24px 12px 18px !important;
    border-radius: 16px !important;
    max-height: none !important;
    margin: 8px auto !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }
  .modal-body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }
  .modal-close {
    top: 10px !important;
    left: 10px !important;
    width: 36px !important;
    height: 36px !important;
    font-size: 1.3rem !important;
    background: rgba(0, 0, 0, 0.55) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    z-index: 25 !important;
  }
  .p-modal-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .p-modal-grid > * {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .gallery-hero-img {
    height: auto !important;
    aspect-ratio: 16/10 !important;
    max-height: 240px !important;
    width: 100% !important;
    border-radius: 12px !important;
    object-fit: cover !important;
  }
  .gallery-thumbs {
    gap: 6px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-bottom: 4px !important;
  }
  .thumb-img {
    width: 60px !important;
    height: 44px !important;
    flex-shrink: 0 !important;
  }
  .p-header-meta {
    margin: 14px 0 !important;
  }
  .p-badges {
    flex-wrap: wrap !important;
    gap: 6px !important;
  }
  .p-badges .badge {
    font-size: 0.72rem !important;
    padding: 3px 8px !important;
  }
  .p-modal-title {
    font-size: clamp(1.2rem, 5vw, 1.55rem) !important;
    line-height: 1.35 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }
  .p-modal-sub {
    font-size: 0.78rem !important;
    word-break: break-word !important;
  }
  .p-desc {
    font-size: 0.88rem !important;
    line-height: 1.65 !important;
    word-break: break-word !important;
  }
  .amenities-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
    width: 100% !important;
  }
  .amenity-item {
    font-size: 0.76rem !important;
    padding: 6px 8px !important;
    word-break: break-word !important;
  }
  .p-units-box {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  .units-table-wrap {
    display: none !important;
  }
  .units-cards-mobile {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
  }
  .unit-mobile-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-sizing: border-box;
    width: 100%;
  }
  body.theme-dark .unit-mobile-card {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
  }
  .umc-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  .umc-title {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--text-primary);
  }
  .umc-price {
    font-weight: 800;
    font-size: 0.92rem;
    white-space: nowrap;
  }
  .umc-chips {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
  }
  .umc-chip {
    font-size: 0.74rem;
    color: var(--text-secondary);
    background: rgba(0, 0, 0, 0.04);
    padding: 3px 7px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
    border: 1px solid var(--border-glass);
  }
  body.theme-dark .umc-chip {
    background: rgba(255, 255, 255, 0.06);
  }
  .sidebar-pricing-card {
    padding: 16px 12px !important;
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 14px !important;
  }
  .sp-price {
    font-size: clamp(1.3rem, 5.5vw, 1.75rem) !important;
    margin-bottom: 12px !important;
    word-break: break-word !important;
  }
  .sp-breakdown {
    gap: 8px !important;
    margin-bottom: 14px !important;
  }
  .sp-row {
    font-size: 0.8rem !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
  }
  .sp-lead-form input, .sp-lead-form textarea {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    font-size: 0.88rem !important;
  }
  .sp-actions .btn {
    font-size: 0.84rem !important;
    padding: 10px 8px !important;
  }

  /* Article Reader Mobile */
  .article-reader {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  .reader-title {
    font-size: clamp(1.2rem, 5vw, 1.65rem) !important;
    line-height: 1.35 !important;
    word-break: break-word !important;
  }
  .reader-meta {
    flex-wrap: wrap !important;
    gap: 6px !important;
    font-size: 0.75rem !important;
  }
  .reader-featured-img img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 16/9 !important;
    max-height: 220px !important;
    object-fit: cover !important;
    border-radius: 12px !important;
  }
  .reader-content {
    font-size: 0.9rem !important;
    line-height: 1.75 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }
  .reader-content img {
    max-width: 100% !important;
    height: auto !important;
  }
  .reader-author-card {
    padding: 14px 12px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Guest Post Modal Mobile */
  #guestModal .modal-dialog {
    padding: 24px 12px 18px !important;
  }
  #guestSubmitForm {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  #guestSubmitForm .grid-2 {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  #guestSubmitForm input,
  #guestSubmitForm select,
  #guestSubmitForm textarea {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    font-size: 0.88rem !important;
  }

  /* Footer */
  .main-footer {
    padding: 48px 0 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 32px;
  }
  .main-footer .f-col h4 {
    margin-bottom: 14px;
  }
  .bottom-flex {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
}

/* Extra Compact Phones (under 480px) */
@media (max-width: 480px) {
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .developers-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .amenities-grid {
    grid-template-columns: 1fr;
  }
  .card-actions {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .card-specs {
    font-size: 0.74rem;
    gap: 6px;
  }
  .logo-title {
    font-size: 1.05rem;
  }
  .logo-icon {
    width: 34px;
    height: 34px;
  }
}

/* ========================================================
   Floating Action Buttons: WhatsApp & Back-To-Top
   ======================================================== */
.floating-actions-container {
  position: relative;
  z-index: 999;
}

/* 1. Floating WhatsApp (Bottom-Left in RTL) */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 998;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.12) translateY(-4px);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.6), 0 4px 12px rgba(0, 0, 0, 0.3);
  color: #FFFFFF !important;
}

.floating-whatsapp .whatsapp-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0.8;
  animation: wa-pulse 2s infinite ease-out;
  pointer-events: none;
}

@keyframes wa-pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.9;
  }
  70% {
    transform: scale(1.35);
    opacity: 0;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.floating-whatsapp .whatsapp-tooltip {
  position: absolute;
  left: 72px;
  top: 50%;
  transform: translateY(-50%) translateX(-8px);
  background: rgba(11, 25, 44, 0.95);
  color: #FFFFFF;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(197, 168, 105, 0.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s ease;
  font-family: var(--font-arabic);
}

.floating-whatsapp .whatsapp-tooltip::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 100%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right-color: rgba(11, 25, 44, 0.95);
}

.floating-whatsapp:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

/* 2. Floating Back To Top (Bottom-Right in RTL) */
.floating-back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(11, 25, 44, 0.92);
  border: 1.5px solid rgba(197, 168, 105, 0.55);
  backdrop-filter: blur(12px);
  color: #C5A869;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  z-index: 998;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.floating-back-to-top.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-back-to-top:hover {
  background: #C5A869;
  color: #070F1E;
  border-color: #C5A869;
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(197, 168, 105, 0.45);
}

.floating-back-to-top .back-to-top-tooltip {
  position: absolute;
  right: 64px;
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: rgba(11, 25, 44, 0.95);
  color: #FFFFFF;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(197, 168, 105, 0.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s ease;
  font-family: var(--font-arabic);
}

.floating-back-to-top .back-to-top-tooltip::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: rgba(11, 25, 44, 0.95);
}

.floating-back-to-top:hover .back-to-top-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .floating-whatsapp {
    bottom: 20px;
    left: 18px;
    width: 52px;
    height: 52px;
    font-size: 28px;
  }
  .floating-whatsapp .whatsapp-tooltip {
    display: none;
  }
  .floating-back-to-top {
    bottom: 20px;
    right: 18px;
    width: 46px;
    height: 46px;
    font-size: 18px;
  }
  .floating-back-to-top .back-to-top-tooltip {
    display: none;
  }
}

