@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700;800&family=Tajawal:wght@400;500;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Core Luxury Color Palette */
  --bg-deep: #0c0f13;
  --bg-dark: #12161c;
  --bg-surface: #181d24;
  --bg-surface-elevated: #202630;
  --bg-card: rgba(22, 28, 36, 0.78);
  --bg-card-hover: rgba(30, 38, 49, 0.92);
  --bg-glass: rgba(18, 23, 30, 0.75);
  
  /* Gold & Titanium Accents */
  --gold-primary: #cda45e;
  --gold-light: #e5c382;
  --gold-dark: #a9803b;
  --gold-gradient: linear-gradient(135deg, #dfbc77 0%, #cda45e 50%, #9e7530 100%);
  --gold-glow: rgba(205, 164, 94, 0.25);
  
  /* Silver & Monochromatic Grays */
  --silver-100: #f4f5f7;
  --silver-200: #e2e5e9;
  --silver-300: #c2c8d2;
  --silver-400: #939ca9;
  --silver-500: #667180;
  --line-subtle: rgba(255, 255, 255, 0.08);
  --line-light: rgba(255, 255, 255, 0.14);
  --line-gold: rgba(205, 164, 94, 0.35);

  /* Radius & Shadows */
  --radius-xs: 8px;
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 38px;
  
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 12px 30px rgba(205, 164, 94, 0.22);
  
  --page: min(1340px, calc(100vw - 44px));
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color-scheme: dark;
}

body {
  font-family: 'Tajawal', 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--silver-200);
  direction: rtl;
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0%, #1a2029 0%, #0e1116 55%, #090b0e 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

.shell {
  width: var(--page);
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   TOPBAR & NAVIGATION
   ========================================================================== */
.topbar {
  position: fixed;
  z-index: 100;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: var(--page);
  height: 74px;
  border: 1px solid var(--line-light);
  background: var(--bg-glass);
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 0 22px;
  box-shadow: var(--shadow-md);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.topbar.scrolled {
  top: 10px;
  height: 68px;
  background: rgba(14, 18, 24, 0.94);
  border-color: rgba(205, 164, 94, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

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

.brandmark {
  height: 50px;
  width: auto;
  min-width: 104px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(205, 164, 94, 0.35);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: visible;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.brandmark img {
  height: 100%;
  max-height: 38px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s ease;
}

.brand:hover .brandmark {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(205, 164, 94, 0.3);
}

.brand:hover .brandmark img {
  transform: scale(1.04);
}

.brandname {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.brandname small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  margin-top: 4px;
  color: var(--gold-light);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  padding: 10px 16px;
  border-radius: 10px;
  color: var(--silver-300);
  font-size: 14px;
  font-weight: 500;
  position: relative;
  transition: all 0.25s ease;
}

.nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.nav a.active {
  color: #0d1015;
  background: var(--gold-gradient);
  font-weight: 600;
  box-shadow: 0 4px 16px var(--gold-glow);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: 12px;
  background: rgba(205, 164, 94, 0.12);
  color: var(--gold-light);
  border: 1px solid rgba(205, 164, 94, 0.3);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.25s ease;
}

.btn-header-cta:hover {
  background: var(--gold-gradient);
  color: #0b0d10;
  border-color: transparent;
  box-shadow: 0 4px 18px var(--gold-glow);
  transform: translateY(-2px);
}

.menu {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-light);
  background: var(--bg-surface-elevated);
  color: #ffffff;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: var(--gold-gradient);
  color: #0b0d11;
  font-size: 15px;
  font-weight: 700;
  box-shadow: var(--shadow-gold);
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(205, 164, 94, 0.35);
  filter: brightness(1.08);
}

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

.btn.ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--silver-100);
  border-color: var(--line-light);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--gold-primary);
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

.btn.sm {
  min-height: 38px;
  padding: 0 16px;
  font-size: 13px;
  border-radius: 10px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge-gold {
  background: rgba(205, 164, 94, 0.15);
  color: var(--gold-light);
  border: 1px solid rgba(205, 164, 94, 0.35);
}

.badge-green {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge-blue {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  min-height: 100svh;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 140px 0 60px;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 20%, #1e2530 0%, #11151b 50%, #090b0e 100%);
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background: 
    radial-gradient(ellipse at 80% 40%, rgba(205, 164, 94, 0.08), transparent 45%),
    radial-gradient(ellipse at 20% 60%, rgba(85, 110, 145, 0.12), transparent 50%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, transparent 40%, #0c0f13 100%);
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  display: block;
}

.hero-copy {
  position: relative;
  z-index: 4;
  width: var(--page);
  margin: 0 auto auto;
  padding-top: 40px;
  text-align: right;
  max-width: 900px;
  margin-right: max(22px, calc((100vw - var(--page)) / 2));
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(205, 164, 94, 0.12);
  border: 1px solid rgba(205, 164, 94, 0.32);
  padding: 7px 18px;
  border-radius: 30px;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
  backdrop-filter: blur(10px);
}

.hero h1 {
  font-size: clamp(48px, 6.2vw, 84px);
  line-height: 1.05;
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.hero h1 span.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero p {
  font-size: clamp(17px, 1.4vw, 21px);
  font-weight: 400;
  color: var(--silver-300);
  margin: 22px 0 0;
  line-height: 1.85;
  max-width: 720px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* ==========================================================================
   HERO SEARCH / FILTER DOCK (Modern Real Estate Search Bar)
   ========================================================================== */
.hero-search-wrapper {
  position: relative;
  z-index: 10;
  width: var(--page);
  margin: 40px auto 0;
}

.hero-search-dock {
  background: rgba(22, 27, 36, 0.88);
  border: 1px solid rgba(205, 164, 94, 0.28);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.search-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line-subtle);
  padding-bottom: 12px;
}

.search-tab {
  background: transparent;
  border: none;
  padding: 8px 18px;
  border-radius: 8px;
  color: var(--silver-400);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}

.search-tab.active {
  background: rgba(205, 164, 94, 0.16);
  color: var(--gold-light);
  border: 1px solid rgba(205, 164, 94, 0.35);
}

.search-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1.2fr auto;
  gap: 14px;
  align-items: center;
}

.search-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.search-field label {
  font-size: 12px;
  font-weight: 500;
  color: var(--silver-400);
  display: flex;
  align-items: center;
  gap: 6px;
}

.search-field select, .search-field input {
  height: 48px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--line-light);
  border-radius: 12px;
  padding: 0 14px;
  color: #ffffff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  cursor: pointer;
}

.search-field select:focus, .search-field input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 2px var(--gold-glow);
}

.search-submit-btn {
  height: 48px;
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 26px;
  background: var(--gold-gradient);
  color: #0a0d11;
  font-weight: 700;
  font-size: 15px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  transition: all 0.25s ease;
}

.search-submit-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 8px 24px var(--gold-glow);
}

/* ==========================================================================
   TICKER & MARQUEE
   ========================================================================== */
.ticker {
  border-top: 1px solid var(--line-subtle);
  border-bottom: 1px solid var(--line-subtle);
  overflow: hidden;
  background: linear-gradient(90deg, #10141a, #1a2029, #10141a);
  padding: 4px 0;
}

.ticker-track {
  height: 60px;
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: marquee 30s linear infinite;
  direction: ltr;
}

.ticker span {
  font-size: 14px;
  color: var(--silver-400);
  white-space: nowrap;
  direction: rtl;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ticker span:before {
  content: "✦";
  color: var(--gold-primary);
  font-size: 11px;
}

.ticker b {
  color: #ffffff;
  font-weight: 600;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   TRUST & LICENSING STRIP (Authority & Compliance)
   ========================================================================== */
.trust-strip {
  padding: 34px 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--line-subtle);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
}

.trust-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(205, 164, 94, 0.3);
  transform: translateY(-2px);
}

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(205, 164, 94, 0.12);
  color: var(--gold-light);
  display: grid;
  place-items: center;
  font-size: 20px;
  flex-shrink: 0;
}

.trust-text h4 {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.trust-text p {
  font-size: 12px;
  color: var(--silver-400);
}

/* ==========================================================================
   METRICS / STATS SECTION
   ========================================================================== */
.metrics-wrap {
  padding: 70px 0 40px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.metric-card {
  background: linear-gradient(145deg, rgba(28, 35, 46, 0.7), rgba(18, 23, 30, 0.8));
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.metric-card:hover {
  transform: translateY(-5px);
  border-color: rgba(205, 164, 94, 0.4);
  box-shadow: var(--shadow-gold);
}

.metric-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: var(--gold-gradient);
  opacity: 0.7;
}

.metric-card strong {
  display: block;
  font-family: 'Inter', 'Tajawal', sans-serif;
  font-size: clamp(36px, 3.8vw, 54px);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  direction: ltr;
  margin-bottom: 8px;
}

.metric-card strong span.gold {
  color: var(--gold-primary);
}

.metric-card span.label {
  color: var(--silver-300);
  font-size: 15px;
  font-weight: 500;
}

/* ==========================================================================
   SECTIONS GENERAL
   ========================================================================== */
.section {
  padding: 100px 0;
  position: relative;
}

.section.alt-bg {
  background: linear-gradient(180deg, #10141a 0%, #161c24 50%, #10141a 100%);
}

.section.dark-slate {
  background: #0d1015;
}

.kicker {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--gold-primary);
  direction: ltr;
  text-align: right;
  margin-bottom: 14px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  gap: 30px;
  flex-wrap: wrap;
}

.section-title {
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.15;
  margin: 0;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.section-copy {
  font-size: 18px;
  line-height: 1.9;
  color: var(--silver-300);
  max-width: 680px;
  margin-top: 14px;
}

/* ==========================================================================
   PROPERTIES SHOWCASE & CARDS (The Real Estate Engine)
   ========================================================================== */
.property-filter-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.filter-pill {
  padding: 10px 22px;
  border-radius: 30px;
  background: var(--bg-surface);
  border: 1px solid var(--line-light);
  color: var(--silver-300);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.filter-pill .count {
  font-size: 11px;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 7px;
  border-radius: 10px;
  color: var(--silver-400);
}

.filter-pill:hover {
  background: var(--bg-surface-elevated);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.filter-pill.active {
  background: var(--gold-gradient);
  color: #0b0d10;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 4px 16px var(--gold-glow);
}

.filter-pill.active .count {
  background: rgba(0, 0, 0, 0.25);
  color: #000000;
  font-weight: 700;
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.property-card {
  background: var(--bg-card);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.property-card:hover {
  transform: translateY(-8px);
  border-color: rgba(205, 164, 94, 0.45);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5), 0 0 20px rgba(205, 164, 94, 0.15);
}

.property-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #1a1e26;
}

.property-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

.property-type-tag {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(14, 17, 23, 0.85);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 2;
}

.property-body {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.property-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 10px;
}

.property-price strong {
  font-family: 'Tajawal', 'Inter', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--gold-light);
}

.property-price span {
  font-size: 13px;
  color: var(--silver-400);
}

.property-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.35;
}

.property-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--silver-400);
  font-size: 13px;
  margin-bottom: 18px;
}

.property-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid var(--line-subtle);
  border-bottom: 1px solid var(--line-subtle);
  margin-bottom: 18px;
}

.feat-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--silver-300);
}

.feat-item svg {
  width: 16px;
  height: 16px;
  color: var(--gold-primary);
  flex-shrink: 0;
}

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

.btn-prop-detail {
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line-light);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-prop-detail:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-prop-wa {
  height: 40px;
  border-radius: 10px;
  background: #25d366;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-prop-wa:hover {
  background: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

/* ==========================================================================
   MORTGAGE & INVESTMENT CALCULATOR (Interactive Tool)
   ========================================================================== */
.calc-wrapper {
  background: linear-gradient(145deg, rgba(26, 33, 44, 0.85), rgba(15, 19, 26, 0.95));
  border: 1px solid rgba(205, 164, 94, 0.3);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-lg);
  margin-top: 50px;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.calc-sliders {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.calc-control {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.calc-label-row label {
  font-size: 15px;
  font-weight: 600;
  color: var(--silver-200);
}

.calc-value-badge {
  font-family: 'Tajawal', 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--gold-light);
  background: rgba(205, 164, 94, 0.12);
  padding: 4px 12px;
  border-radius: 8px;
  border: 1px solid rgba(205, 164, 94, 0.25);
}

.calc-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: var(--bg-surface-elevated);
  border-radius: 4px;
  outline: none;
  cursor: pointer;
}

.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold-primary);
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.calc-range::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.calc-result-box {
  background: rgba(14, 18, 25, 0.95);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
}

.calc-main-result {
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-subtle);
}

.calc-main-result span {
  font-size: 14px;
  color: var(--silver-400);
  display: block;
  margin-bottom: 6px;
}

.calc-main-result strong {
  font-family: 'Tajawal', 'Inter', sans-serif;
  font-size: clamp(34px, 4vw, 44px);
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1.1;
}

.calc-details-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.calc-row span.name {
  color: var(--silver-400);
}

.calc-row span.val {
  font-weight: 700;
  color: #ffffff;
}

/* ==========================================================================
   DISTRICT EXPLORER (Ha'il Real Estate Map & Districts)
   ========================================================================== */
.districts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.district-card {
  background: var(--bg-surface);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.district-card:hover {
  transform: translateY(-5px);
  border-color: rgba(205, 164, 94, 0.4);
  background: var(--bg-surface-elevated);
}

.district-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold-light);
  background: rgba(205, 164, 94, 0.12);
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.district-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.district-card p {
  font-size: 14px;
  color: var(--silver-400);
  line-height: 1.6;
}

.district-stats {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line-subtle);
  padding-top: 14px;
  margin-top: 18px;
  font-size: 13px;
}

.district-stats strong {
  color: #4ade80;
  font-family: 'Inter', sans-serif;
  direction: ltr;
}

/* ==========================================================================
   3D JOURNEY SECTION (Refined from existing)
   ========================================================================== */
.journey {
  height: 400vh;
  position: relative;
  background: radial-gradient(circle at 50% 50%, #1e2633 0%, #11151c 60%, #0c0f13 100%);
}

.journey-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.journey-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.journey-copy {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.scene-label {
  position: absolute;
  width: min(400px, 34vw);
  padding: 28px;
  border-radius: var(--radius-md);
  background: rgba(22, 28, 36, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(205, 164, 94, 0.3);
  opacity: 0.08;
  transform: translateY(24px) scale(0.98);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-lg);
}

.scene-label:nth-child(1) { right: 7vw; top: 20vh; }
.scene-label:nth-child(2) { left: 7vw; top: 24vh; }
.scene-label:nth-child(3) { right: 7vw; bottom: 12vh; }
.scene-label:nth-child(4) { left: 7vw; bottom: 12vh; }

.scene-label.active {
  opacity: 1;
  transform: none;
  border-color: var(--gold-primary);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px var(--gold-glow);
}

.scene-label .scene-no {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--gold-light);
  direction: ltr;
  display: block;
  margin-bottom: 8px;
}

.scene-label h3 {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 10px;
}

.scene-label p {
  font-size: 16px;
  color: var(--silver-300);
  line-height: 1.85;
  margin: 0;
}

/* ==========================================================================
   SERVICES GRID & CARDS
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.service {
  min-height: 280px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg-card);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.service:hover {
  transform: translateY(-6px);
  border-color: rgba(205, 164, 94, 0.45);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-md);
}

.service .icon {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(205, 164, 94, 0.3);
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(205, 164, 94, 0.1);
  color: var(--gold-light);
  margin-bottom: 22px;
}

.service svg {
  width: 28px;
  height: 28px;
}

.service h3 {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 10px;
}

.service p {
  color: var(--silver-400);
  line-height: 1.8;
  font-size: 15px;
  margin: 0;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 600;
  margin-top: 18px;
}

/* ==========================================================================
   LIST YOUR PROPERTY / VALUATION CTA BANNER
   ========================================================================== */
.list-prop-banner {
  background: radial-gradient(ellipse at 80% 50%, rgba(205, 164, 94, 0.18), transparent 60%),
              linear-gradient(135deg, #1b212c 0%, #12161d 100%);
  border: 1px solid rgba(205, 164, 94, 0.35);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.list-prop-text h2 {
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 14px;
}

.list-prop-text p {
  font-size: 17px;
  color: var(--silver-300);
  line-height: 1.85;
  margin-bottom: 26px;
}

.prop-submission-form {
  background: rgba(14, 18, 25, 0.9);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-md);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.prop-submission-form input,
.prop-submission-form select,
.prop-submission-form textarea {
  width: 100%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--line-light);
  border-radius: 10px;
  padding: 12px 14px;
  color: #ffffff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.prop-submission-form input:focus,
.prop-submission-form select:focus,
.prop-submission-form textarea:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 2px var(--gold-glow);
}

/* ==========================================================================
   TESTIMONIALS & TRUST
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(205, 164, 94, 0.3);
}

.test-stars {
  color: #fbbf24;
  font-size: 16px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-card p {
  font-size: 15px;
  color: var(--silver-300);
  line-height: 1.85;
  margin-bottom: 24px;
  font-style: italic;
}

.test-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line-subtle);
  padding-top: 16px;
}

.test-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #0c0f13;
  font-size: 16px;
}

.test-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.test-info span {
  font-size: 12px;
  color: var(--silver-400);
}

/* ==========================================================================
   VISION, MISSION & GOALS (from vision.jpeg)
   ========================================================================== */
.vision-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 50px;
}

.vision-card {
  padding: 40px;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, #1c222c, #13171e);
  border: 1px solid var(--line-light);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.vision-card:hover {
  transform: translateY(-4px);
  border-color: rgba(205, 164, 94, 0.4);
}

.vision-card .kicker {
  position: absolute;
  top: 32px;
  right: 36px;
  margin: 0;
}

.vision-card h3 {
  font-size: 36px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 14px;
}

.vision-card p {
  font-size: 17px;
  color: var(--silver-300);
  line-height: 1.9;
  margin: 0;
}

.goals {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.goal {
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  background: rgba(22, 28, 36, 0.7);
  border: 1px solid var(--line-light);
  color: var(--silver-200);
  font-size: 15px;
  line-height: 1.8;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.25s ease;
}

.goal:hover {
  border-color: rgba(205, 164, 94, 0.35);
  background: rgba(28, 36, 48, 0.85);
  transform: translateX(-4px);
}

.goal:before {
  content: "✦";
  color: var(--gold-primary);
  font-size: 14px;
  flex-shrink: 0;
}

/* ==========================================================================
   SOCIAL HUB & CONNECT
   ========================================================================== */
.social-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 22px;
  margin-top: 48px;
}

.social-main {
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #1b222c, #11151b);
  border: 1px solid var(--line-light);
  color: #ffffff;
  padding: 44px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
}

.social-main h3 {
  font-size: clamp(32px, 3.8vw, 44px);
  max-width: 580px;
  margin: 0;
  font-weight: 800;
  line-height: 1.2;
}

.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line-light);
  border-radius: 12px;
  padding: 13px 20px;
  color: var(--silver-200);
  transition: all 0.25s ease;
  background: rgba(255, 255, 255, 0.04);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

.social-link:hover {
  background: var(--gold-gradient);
  color: #0b0d10;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.qr-card {
  background: var(--bg-surface);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.qr-card img {
  width: 100%;
  border-radius: 16px;
  max-height: 260px;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--line-subtle);
}

.qr-card h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 18px 0 6px;
  color: #ffffff;
}

.qr-card p {
  font-size: 13px;
  color: var(--silver-400);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  padding: 80px 0 40px;
  background: #090c0f;
  border-top: 1px solid var(--line-subtle);
  position: relative;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
}

.footer-brand h2 {
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 14px;
  color: #ffffff;
}

.footer-brand h2 span {
  color: var(--gold-primary);
}

.footer-brand p {
  color: var(--silver-400);
  font-size: 15px;
  line-height: 1.8;
  max-width: 420px;
}

.footer-column h4 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--silver-400);
  font-size: 14px;
  transition: all 0.2s ease;
}

.footer-links a:hover {
  color: var(--gold-light);
  transform: translateX(-4px);
}

.footer-base {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--line-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--silver-500);
  font-size: 13px;
  flex-wrap: wrap;
  gap: 14px;
}

/* ==========================================================================
   FLOATING ACTION DOCK & SOCIAL RAIL
   ========================================================================== */
.social-rail {
  position: fixed;
  z-index: 90;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  gap: 10px;
}

.social-rail a, .social-rail button {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line-light);
  background: rgba(22, 28, 36, 0.88);
  backdrop-filter: blur(16px);
  color: var(--silver-200);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.social-rail a:hover, .social-rail button:hover {
  background: var(--gold-gradient);
  color: #0b0d10;
  border-color: transparent;
  transform: scale(1.1);
  box-shadow: 0 4px 16px var(--gold-glow);
}

.social-rail svg {
  width: 20px;
  height: 20px;
}

/* Floating WhatsApp Quick Action Button */
.floating-wa-btn {
  position: fixed;
  z-index: 90;
  right: 24px;
  bottom: 24px;
  height: 54px;
  padding: 0 22px;
  border-radius: 30px;
  background: #25d366;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.floating-wa-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.55);
  background: #20bd5a;
}

.floating-wa-btn svg {
  width: 24px;
  height: 24px;
}

/* ==========================================================================
   MODALS (Snapcode & Property Preview)
   ========================================================================== */
.modal {
  position: fixed;
  z-index: 150;
  inset: 0;
  background: rgba(10, 13, 18, 0.88);
  backdrop-filter: blur(16px);
  display: none;
  place-items: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.open {
  display: grid;
  opacity: 1;
}

.modal-card {
  width: min(480px, 100%);
  background: var(--bg-surface);
  color: #ffffff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  animation: modalScale 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-card.lg {
  width: min(840px, 100%);
  max-height: 90vh;
  overflow-y: auto;
}

@keyframes modalScale {
  from { transform: scale(0.94); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-card img {
  width: 100%;
  border-radius: 16px;
  display: block;
}

.modal-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 4px 2px;
}

.modal-bar strong {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.modal-close {
  border: 1px solid var(--line-light);
  background: var(--bg-surface-elevated);
  color: #ffffff;
  border-radius: 12px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.2s;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Modal Property Details Content */
.modal-prop-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 14px;
}

.modal-prop-gallery {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
}

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

.modal-specs-table {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  background: var(--bg-surface-elevated);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--line-subtle);
}

.modal-spec-cell {
  text-align: center;
}

.modal-spec-cell span {
  display: block;
  font-size: 12px;
  color: var(--silver-400);
  margin-bottom: 4px;
}

.modal-spec-cell strong {
  font-size: 15px;
  color: #ffffff;
}

.amenities-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.amenity-chip {
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-subtle);
  border-radius: 20px;
  font-size: 13px;
  color: var(--silver-300);
}

/* ==========================================================================
   PAGE HERO FOR SUBPAGES (About, Services, Investment, Contact)
   ========================================================================== */
.page-hero {
  padding: 170px 0 80px;
  background: radial-gradient(ellipse at 50% 10%, #1e2632 0%, #11151c 65%, #0b0e12 100%);
  border-bottom: 1px solid var(--line-subtle);
  position: relative;
}

.page-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 30%, rgba(205, 164, 94, 0.08), transparent 45%);
  pointer-events: none;
}

.page-hero h1 {
  font-size: clamp(42px, 5.5vw, 76px);
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
  color: #ffffff;
}

.page-hero p {
  font-size: 20px;
  color: var(--silver-300);
  max-width: 740px;
  line-height: 1.9;
  margin-top: 20px;
}

.content-band {
  padding: 90px 0;
  background: var(--bg-surface);
}

.content-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}

.content-grid h2 {
  font-size: clamp(34px, 4.2vw, 54px);
  margin: 0;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
}

.content-grid p {
  font-size: 18px;
  color: var(--silver-300);
  line-height: 2;
  margin: 0;
}

/* Service Row & Contact Cards */
.service-list {
  display: grid;
  gap: 16px;
  margin-top: 40px;
}

.service-row {
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  padding: 28px;
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 24px;
  align-items: center;
  background: var(--bg-card);
  transition: all 0.25s ease;
}

.service-row:hover {
  background: var(--bg-card-hover);
  border-color: rgba(205, 164, 94, 0.35);
  transform: translateX(-6px);
}

.service-row b {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: var(--gold-light);
  direction: ltr;
}

.service-row h3 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
}

.service-row p {
  margin: 0;
  color: var(--silver-400);
  font-size: 15px;
}

.service-row span {
  font-size: 24px;
  color: var(--gold-primary);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  border-color: rgba(205, 164, 94, 0.4);
  background: var(--bg-card-hover);
}

.contact-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.contact-card p {
  color: var(--silver-400);
  line-height: 1.8;
  font-size: 15px;
}

.contact-card a, .contact-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  border-radius: 12px;
  background: var(--gold-gradient);
  color: #0b0d10;
  font-weight: 700;
  font-size: 14px;
  border: 0;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  transition: all 0.25s ease;
}

.contact-card a:hover, .contact-card button:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.legal-strip {
  padding: 24px 0;
  background: #090c0f;
  border-top: 1px solid var(--line-subtle);
  border-bottom: 1px solid var(--line-subtle);
  color: var(--silver-400);
  font-size: 13px;
}

.legal-strip .shell {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* ==========================================================================
   REVEAL ON SCROLL ANIMATIONS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1080px) {
  :root {
    --page: min(100% - 32px, 1340px);
  }
  
  .properties-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .search-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .districts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .calc-grid {
    grid-template-columns: 1fr;
  }
  
  .list-prop-banner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .nav {
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    background: rgba(18, 23, 30, 0.98);
    border: 1px solid var(--line-light);
    border-radius: 16px;
    padding: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow-lg);
  }
  
  .nav.open {
    display: flex;
  }
  
  .nav a {
    text-align: center;
    padding: 12px;
  }
  
  .menu {
    display: flex;
  }
  
  .brandname small {
    display: none;
  }
  
  .hero-copy {
    width: 100%;
    margin-right: 0;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .vision-wrap {
    grid-template-columns: 1fr;
  }
  
  .goals {
    grid-template-columns: 1fr;
  }
  
  .social-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-cards {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
  }
  
  .content-grid {
    grid-template-columns: 1fr;
  }
  
  .social-rail {
    display: none;
  }
  
  .scene-label {
    width: calc(100vw - 44px);
    left: 22px !important;
    right: 22px !important;
    top: auto !important;
    bottom: 8vh !important;
    display: none;
  }
  
  .scene-label.active {
    display: block;
  }
}

@media (max-width: 600px) {
  .search-grid {
    grid-template-columns: 1fr;
  }
  
  .properties-grid {
    grid-template-columns: 1fr;
  }
  
  .trust-grid {
    grid-template-columns: 1fr;
  }
  
  .districts-grid {
    grid-template-columns: 1fr;
  }
  
  .metrics {
    grid-template-columns: 1fr;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .floating-wa-btn span {
    display: none;
  }
  
  .floating-wa-btn {
    width: 52px;
    height: 52px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
  
  .form-row-2 {
    grid-template-columns: 1fr;
  }
}
