/* ============================================================
   OraStay — Enterprise Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ---- Design Tokens ---- */
:root {
  /* Brand */
  --gold:          #D4AF37;
  --gold-light:    #F3C969;
  --gold-dark:     #B8941F;
  --gold-glow:     rgba(212, 175, 55, 0.25);
  --gold-subtle:   rgba(212, 175, 55, 0.08);

  /* Background layers */
  --bg-0:   #060B17;
  --bg-1:   #0A1020;
  --bg-2:   #0F172A;
  --bg-3:   #141E33;
  --bg-4:   #1A2540;

  /* Glass */
  --glass-bg:        rgba(15, 23, 42, 0.55);
  --glass-bg-hover:  rgba(20, 30, 55, 0.75);
  --glass-border:    rgba(255, 255, 255, 0.06);
  --glass-border-h:  rgba(212, 175, 55, 0.35);

  /* Text */
  --text-1:  #FFFFFF;
  --text-2:  #CBD5E1;
  --text-3:  #94A3B8;
  --text-4:  #475569;

  /* Status */
  --green:   #22C55E;
  --yellow:  #F59E0B;
  --red:     #EF4444;
  --blue:    #3B82F6;
  --purple:  #8B5CF6;

  /* Accent */
  --indigo:  #4F6FFF;

  /* Gradients */
  --grad-gold:   linear-gradient(135deg, #F3C969, #C89B3C);
  --grad-bg:     linear-gradient(180deg, #060B17 0%, #0A1020 100%);
  --grad-card:   linear-gradient(145deg, rgba(20,30,55,0.6), rgba(10,15,30,0.8));
  --grad-hero:   linear-gradient(135deg, #060B17 0%, #0F172A 50%, #060B17 100%);

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.3);
  --shadow-md:  0 8px 24px rgba(0,0,0,0.4);
  --shadow-lg:  0 20px 60px rgba(0,0,0,0.5);
  --shadow-gold: 0 8px 30px rgba(212, 175, 55, 0.2);

  /* Radius */
  --r-sm:  8px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-pill: 999px;

  /* Transitions */
  --t-fast:   0.15s ease;
  --t-base:   0.25s ease;
  --t-slow:   0.4s ease;

  /* Layout */
  --max-w:    1280px;
  --nav-h:    72px;
}

/* ---- Light Mode Overrides ---- */
[data-theme="light"] {
  --bg-0:   #F8FAFC;
  --bg-1:   #F1F5F9;
  --bg-2:   #FFFFFF;
  --bg-3:   #E2E8F0;
  --bg-4:   #CBD5E1;

  --glass-bg:        rgba(255, 255, 255, 0.6);
  --glass-bg-hover:  rgba(255, 255, 255, 0.85);
  --glass-border:    rgba(0, 0, 0, 0.08);
  --glass-border-h:  rgba(212, 175, 55, 0.5);

  --text-1:  #0F172A;
  --text-2:  #334155;
  --text-3:  #475569;
  --text-4:  #64748B;

  --grad-bg:     linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  --grad-card:   linear-gradient(145deg, rgba(255,255,255,0.7), rgba(240,245,250,0.8));
  --grad-hero:   linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 50%, #F8FAFC 100%);

  --shadow-sm:  0 2px 8px rgba(0,0,0,0.05);
  --shadow-md:  0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg:  0 20px 60px rgba(0,0,0,0.1);
}

/* Specific Light Mode Constraints */
[data-theme="light"] .navbar.scrolled { background: rgba(255, 255, 255, 0.85); box-shadow: var(--shadow-sm); }
[data-theme="light"] .mobile-menu { background: rgba(248, 250, 252, 0.98); }
[data-theme="light"] .dashboard-topbar { background: rgba(248, 250, 252, 0.85); border-bottom: 1px solid rgba(0,0,0,0.06); }
[data-theme="light"] .hero-img-wrap { box-shadow: var(--shadow-lg), 0 0 80px rgba(212,175,55,0.15); }
[data-theme="light"] .form-input, [data-theme="light"] .form-select, [data-theme="light"] .form-textarea { background: var(--bg-0); color: var(--text-1); border-color: rgba(0,0,0,0.15); box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
[data-theme="light"] .form-input:focus, [data-theme="light"] .form-select:focus, [data-theme="light"] .form-textarea:focus { background: var(--bg-1); border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15); }

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--bg-0);
  color: var(--text-2);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ---- Typography ---- */
h1,h2,h3,h4,h5,h6 { font-family: 'Plus Jakarta Sans', sans-serif; color: var(--text-1); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h4 { font-size: 1.1rem; }
p  { font-size: 1rem; color: var(--text-3); }
a  { text-decoration: none; color: inherit; }

.text-gold {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---- Layout Helpers ---- */
.container    { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section      { padding: 5rem 0; }
.section-sm   { padding: 3rem 0; }
.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.grid-2       { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3       { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4       { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--r-pill);
  font-family: inherit; font-size: 0.95rem; font-weight: 600;
  cursor: pointer; border: none; outline: none;
  transition: all var(--t-base);
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-gold);
  color: #060B17;
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 35px rgba(212,175,55,0.4); filter: brightness(1.1); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: var(--glass-bg);
  color: var(--text-2);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: var(--glass-bg-hover); border-color: rgba(255,255,255,0.12); color: var(--text-1); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold-dark);
}
.btn-outline:hover { background: var(--gold-subtle); transform: translateY(-2px); }

.btn-danger  { background: rgba(239,68,68,0.15); color: var(--red); border: 1px solid rgba(239,68,68,0.3); }
.btn-danger:hover  { background: rgba(239,68,68,0.25); }
.btn-success { background: rgba(34,197,94,0.15); color: var(--green); border: 1px solid rgba(34,197,94,0.3); }
.btn-success:hover { background: rgba(34,197,94,0.25); }

.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.85rem; }
.btn-lg { padding: 0.95rem 2.2rem; font-size: 1.05rem; }
.btn-icon { padding: 0.6rem; border-radius: var(--r-md); aspect-ratio: 1; }
.btn-full { width: 100%; }

/* ---- Cards / Glass ---- */
.card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all var(--t-base);
}
.card:hover { border-color: var(--glass-border-h); box-shadow: var(--shadow-gold); transform: translateY(-3px); }
.card-flat { transform: none !important; }
.card-flat:hover { transform: none !important; }

/* ---- Badges / Chips ---- */
.badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--r-pill);
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.badge-gold    { background: rgba(212,175,55,0.15); color: var(--gold); border: 1px solid rgba(212,175,55,0.25); }
.badge-green   { background: rgba(34,197,94,0.12);  color: var(--green); border: 1px solid rgba(34,197,94,0.25); }
.badge-yellow  { background: rgba(245,158,11,0.12); color: var(--yellow); border: 1px solid rgba(245,158,11,0.25); }
.badge-red     { background: rgba(239,68,68,0.12);  color: var(--red);   border: 1px solid rgba(239,68,68,0.25); }
.badge-blue    { background: rgba(59,130,246,0.12); color: var(--blue);  border: 1px solid rgba(59,130,246,0.25); }
.badge-purple  { background: rgba(139,92,246,0.12); color: var(--purple);border: 1px solid rgba(139,92,246,0.25); }
.badge-gray    { background: rgba(148,163,184,0.1); color: var(--text-3);border: 1px solid rgba(148,163,184,0.2); }

.chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.4rem 1rem;
  border-radius: var(--r-pill);
  font-size: 0.875rem; font-weight: 500;
  border: 1.5px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--text-3);
  cursor: pointer;
  transition: all var(--t-fast);
  user-select: none;
}
.chip:hover  { border-color: var(--gold-dark); color: var(--text-2); }
.chip.active { background: var(--gold-subtle); border-color: var(--gold); color: var(--gold); font-weight: 600; }

/* ---- Forms ---- */
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-label { font-size: 0.875rem; font-weight: 500; color: var(--text-2); }

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(10, 15, 30, 0.6);
  border: 1.5px solid var(--glass-border);
  border-radius: var(--r-md);
  color: var(--text-1);
  font-family: inherit; font-size: 0.95rem;
  outline: none;
  transition: all var(--t-fast);
  -webkit-appearance: none;
  appearance: none;
}
input[type="date"].form-input {
  -webkit-appearance: auto;
  appearance: auto;
}
::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
}
[data-theme="light"] ::-webkit-calendar-picker-indicator {
  filter: invert(0);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-4); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--gold);
  background: rgba(15, 20, 40, 0.8);
  box-shadow: 0 0 0 3px var(--gold-glow);
}
.form-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2394A3B8' viewBox='0 0 20 20'%3E%3Cpath d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 1.1rem; padding-right: 2.5rem; cursor: pointer; }

/* Fix invisible <option> text inside picklists across platforms */
select option {
  background-color: var(--bg-1);
  color: var(--text-1);
}

.form-textarea { resize: vertical; min-height: 100px; }
.form-error { font-size: 0.8rem; color: var(--red); }
.form-hint  { font-size: 0.8rem; color: var(--text-4); }

/* ---- Dividers ---- */
.divider     { height: 1px; background: var(--glass-border); margin: 1.5rem 0; }
.divider-or  { display: flex; align-items: center; gap: 1rem; color: var(--text-4); font-size: 0.85rem; }
.divider-or::before, .divider-or::after { content: ''; flex: 1; height: 1px; background: var(--glass-border); }

/* ---- Skeleton Loaders ---- */
.skeleton {
  background: linear-gradient(90deg, var(--bg-3) 25%, var(--bg-4) 50%, var(--bg-3) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--r-md);
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ---- Ambient Background ---- */
.ambient { position: fixed; width: 100%; height: 100%; top: 0; left: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.ambient-blob {
  position: absolute; border-radius: 50%;
  filter: blur(120px); opacity: 0.35;
}
.blob-1 { width: 600px; height: 600px; background: rgba(212,175,55,0.2);  top: -10%;  left: -10%; }
.blob-2 { width: 800px; height: 800px; background: rgba(79,111,255,0.15); top: 30%;   right: -20%; }
.blob-3 { width: 500px; height: 500px; background: rgba(212,175,55,0.12); bottom: 5%; left: 20%; }

/* ---- Navbar ---- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex; align-items: center;
  z-index: 1000;
  transition: all var(--t-slow);
  padding: 0;
}
.navbar.scrolled {
  background: rgba(6, 11, 23, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.nav-logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.nav-logo-icon {
  width: 36px; height: 36px;
  background: var(--grad-gold);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 800; color: #060B17;
  font-family: 'Plus Jakarta Sans', sans-serif;
  box-shadow: var(--shadow-gold);
}
.nav-logo-text { font-size: 1.35rem; font-weight: 800; color: var(--text-1); font-family: 'Plus Jakarta Sans', sans-serif; letter-spacing: -0.02em; }
.nav-logo-text span { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.nav-links { display: flex; align-items: center; gap: 0.25rem; list-style: none; }
.nav-links a { padding: 0.5rem 0.85rem; border-radius: var(--r-md); font-size: 0.9rem; font-weight: 500; color: var(--text-3); transition: all var(--t-fast); }
.nav-links a:hover, .nav-links a.active { color: var(--text-1); background: rgba(255,255,255,0.05); }

.nav-actions { display: flex; align-items: center; gap: 0.75rem; }

.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 0.5rem; border-radius: var(--r-sm); transition: background var(--t-fast); }
.nav-hamburger:hover { background: rgba(255,255,255,0.05); }
.nav-hamburger span { width: 22px; height: 2px; background: var(--text-2); border-radius: 2px; transition: all 0.3s; display: block; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; inset: 0; top: var(--nav-h);
  background: rgba(6,11,23,0.98); backdrop-filter: blur(24px);
  z-index: 999; flex-direction: column;
  padding: 2rem 1.5rem;
  gap: 0.5rem;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { display: block; padding: 1rem 1.25rem; border-radius: var(--r-md); font-size: 1.05rem; font-weight: 500; color: var(--text-2); border-bottom: 1px solid var(--glass-border); transition: all var(--t-fast); }
.mobile-menu a:hover { background: var(--glass-bg); color: var(--text-1); }
.mobile-menu .mobile-auth { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.5rem; }

/* ---- Hero Section ---- */
.hero-section {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 2rem) 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.35rem 1rem; border-radius: var(--r-pill);
  background: var(--gold-subtle); border: 1px solid rgba(212,175,55,0.2);
  font-size: 0.8rem; font-weight: 600; color: var(--gold);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}
.hero-title { margin-bottom: 1.25rem; }
.hero-sub { font-size: 1.05rem; color: var(--text-3); max-width: 480px; margin-bottom: 2rem; line-height: 1.75; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-stats { display: flex; gap: 2.5rem; margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--glass-border); }
.hero-stat-num { font-size: 1.6rem; font-weight: 800; color: var(--text-1); font-family: 'Plus Jakarta Sans', sans-serif; line-height: 1; }
.hero-stat-label { font-size: 0.8rem; color: var(--text-4); margin-top: 0.2rem; }

.hero-visual { position: relative; animation: float 6s ease-in-out infinite; }
.hero-img-wrap {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg), 0 0 80px rgba(212,175,55,0.08);
  position: relative;
}
.hero-img-wrap img { width: 100%; display: block; object-fit: cover; max-height: 540px; }
.hero-float-card {
  position: absolute; bottom: -8%; left: -10%;
  background: var(--glass-bg); backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 1rem 1.25rem;
  display: flex; align-items: center; gap: 0.75rem;
  box-shadow: var(--shadow-md);
  animation: float 5s ease-in-out infinite;
  animation-delay: 1s;
}
.hero-float-card .card-icon { font-size: 1.4rem; }
.hero-float-card .card-label { font-size: 0.75rem; color: var(--text-4); }
.hero-float-card .card-value { font-size: 0.95rem; font-weight: 600; color: var(--text-1); }

/* ---- Search / Filter Bar ---- */
.search-bar {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  padding: 1.25rem 1.5rem;
  display: flex; align-items: center; gap: 1rem;
  backdrop-filter: blur(16px);
  margin-top: 2rem;
  flex-wrap: wrap;
}
.search-field { flex: 1; min-width: 160px; position: relative; }
.search-field label { display: block; font-size: 0.75rem; font-weight: 600; color: var(--text-4); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.25rem; }
.search-field input, .search-field select {
  width: 100%; background: transparent; border: none; outline: none;
  color: var(--text-1); font-size: 0.95rem; font-weight: 500;
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
}
.search-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2394A3B8' viewBox='0 0 20 20'%3E%3Cpath d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 1.1rem;
  padding-right: 2rem;
  cursor: pointer;
}
.search-field input::placeholder { color: var(--text-3); font-weight: 400; }
.search-divider { width: 1px; height: 40px; background: var(--glass-border); }
.search-bar .btn-primary { white-space: nowrap; }

/* ---- Section Title ---- */
.section-title { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-eyebrow { display: inline-block; font-size: 0.75rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.section-title h2 { margin-bottom: 0.75rem; }
.section-title p { font-size: 1.05rem; }

/* ---- Feature Cards ---- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.feature-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-gold);
  opacity: 0;
  transition: opacity var(--t-base);
}
.feature-card:hover { border-color: var(--glass-border-h); box-shadow: var(--shadow-gold); transform: translateY(-4px); }
.feature-card:hover::before { opacity: 1; }
.feature-icon { width: 48px; height: 48px; border-radius: var(--r-md); background: var(--gold-subtle); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 1rem; }
.feature-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.feature-card p  { font-size: 0.9rem; color: var(--text-4); line-height: 1.6; }

/* ---- Property Cards ---- */
.property-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--t-base);
  position: relative;
}
.property-card:hover { border-color: var(--glass-border-h); box-shadow: var(--shadow-gold); transform: translateY(-4px); }
.property-card-img { width: 100%; height: 200px; object-fit: cover; display: block; }
.property-card-img-placeholder { width: 100%; height: 200px; background: var(--bg-3); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }
.property-card-body { padding: 1.25rem; }
.property-card-location { font-size: 0.8rem; color: var(--text-4); margin-bottom: 0.4rem; display: flex; align-items: center; gap: 0.3rem; }
.property-card h3 { font-size: 1.05rem; margin-bottom: 0.75rem; }
.property-card-price { font-size: 1.3rem; font-weight: 800; color: var(--gold); font-family: 'Plus Jakarta Sans', sans-serif; }
.property-card-price span { font-size: 0.8rem; font-weight: 400; color: var(--text-4); }
.property-card-amenities { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.75rem 0; }
.amenity-tag { font-size: 0.75rem; padding: 0.2rem 0.6rem; border-radius: var(--r-pill); background: rgba(255,255,255,0.04); border: 1px solid var(--glass-border); color: var(--text-3); }
.property-card-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 0.75rem; border-top: 1px solid var(--glass-border); margin-top: 0.75rem; }
.property-fav { background: none; border: none; cursor: pointer; color: var(--text-4); font-size: 1.1rem; padding: 0.3rem; border-radius: var(--r-sm); transition: color var(--t-fast); }
.property-fav:hover { color: var(--red); }
.property-fav.active { color: var(--red); }

/* ---- How It Works ---- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; position: relative; }
.steps-grid::before {
  content: '';
  position: absolute; top: 28px; left: 18%; right: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
}
.step-card { text-align: center; padding: 0 1rem; }
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--gold-subtle);
  border: 2px solid var(--gold-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 800; color: var(--gold);
  margin: 0 auto 1.25rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.step-card h3 { margin-bottom: 0.5rem; }
.step-card p { font-size: 0.9rem; }

/* ---- Testimonials ---- */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.testimonial-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
}
.testimonial-stars { color: var(--gold); font-size: 0.85rem; margin-bottom: 0.75rem; letter-spacing: 2px; }
.testimonial-text { font-size: 0.95rem; color: var(--text-3); line-height: 1.7; margin-bottom: 1.25rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--grad-gold); display: flex; align-items: center; justify-content: center; font-weight: 700; color: #060B17; font-size: 0.9rem; }
.testimonial-name { font-size: 0.9rem; font-weight: 600; color: var(--text-1); }
.testimonial-tag  { font-size: 0.75rem; color: var(--text-4); }

/* ---- CTA Banner ---- */
.cta-banner {
  background: linear-gradient(135deg, rgba(212,175,55,0.08), rgba(79,111,255,0.05));
  border: 1px solid rgba(212,175,55,0.15);
  border-radius: var(--r-xl);
  padding: 4rem 3rem;
  text-align: center;
}
.cta-banner h2 { margin-bottom: 0.75rem; }
.cta-banner p  { font-size: 1.05rem; margin-bottom: 2rem; }
.cta-banner .btn-row { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ---- Footer ---- */
.footer {
  background: var(--bg-1);
  border-top: 1px solid var(--glass-border);
  padding: 4rem 0 2rem;
  margin-top: 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid var(--glass-border); margin-bottom: 2rem; }
.footer-brand p { font-size: 0.9rem; margin-top: 0.75rem; max-width: 280px; line-height: 1.7; }
.footer-col h5 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-4); margin-bottom: 1.25rem; }
.footer-col a { display: block; font-size: 0.9rem; color: var(--text-3); margin-bottom: 0.7rem; transition: color var(--t-fast); }
.footer-col a:hover { color: var(--gold); }
.footer-newsletter input { width: 100%; padding: 0.7rem 1rem; background: var(--bg-3); border: 1px solid var(--glass-border); border-radius: var(--r-md); color: var(--text-1); font-family: inherit; font-size: 0.9rem; margin-bottom: 0.75rem; outline: none; transition: border var(--t-fast); }
.footer-newsletter input:focus { border-color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.85rem; color: var(--text-4); }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a { width: 34px; height: 34px; border-radius: var(--r-sm); background: var(--bg-3); border: 1px solid var(--glass-border); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; color: var(--text-3); transition: all var(--t-fast); }
.footer-social a:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-subtle); }

/* ---- Toast Notifications ---- */
#toast-container { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 9999; display: flex; flex-direction: column; gap: 0.75rem; }
.toast {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  background: var(--bg-3); border: 1px solid var(--glass-border);
  border-radius: var(--r-md); box-shadow: var(--shadow-md);
  min-width: 280px; max-width: 380px;
  animation: slideInRight 0.3s ease, fadeOut 0.3s ease 2.7s forwards;
  font-size: 0.9rem; color: var(--text-2);
}
.toast.success { border-left: 3px solid var(--green); }
.toast.error   { border-left: 3px solid var(--red); }
.toast.info    { border-left: 3px solid var(--blue); }
.toast.warning { border-left: 3px solid var(--yellow); }
@keyframes slideInRight { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } }

/* ---- Modal ---- */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(6px); z-index: 2000; align-items: center; justify-content: center; padding: 1.5rem; }
.modal-overlay.open { display: flex; }
.modal {
  background: var(--bg-2);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  width: 100%; max-width: 520px;
  padding: 2rem;
  animation: scaleIn 0.25s ease;
}
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.modal-footer { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.5rem; }
.modal-close { background: none; border: none; cursor: pointer; color: var(--text-4); font-size: 1.2rem; padding: 0.3rem; border-radius: var(--r-sm); transition: color var(--t-fast); }
.modal-close:hover { color: var(--text-1); }
@keyframes scaleIn { from { transform: scale(0.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ---- Loading Spinner ---- */
.spinner { width: 20px; height: 20px; border: 2px solid rgba(255,255,255,0.1); border-top-color: var(--gold); border-radius: 50%; animation: spin 0.6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.page-loading { display: flex; align-items: center; justify-content: center; min-height: 40vh; flex-direction: column; gap: 1rem; }

/* ---- Scroll Reveal ---- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---- Animations ---- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fadeUp 0.7s ease forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb { background: var(--bg-4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .nav-inner { padding: 0 1rem; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  body { overflow-x: hidden; width: 100%; position: relative; }
  .container { padding: 0 1.25rem; }
  
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; padding-top: 1rem; }
  .hero-visual { order: -1; }
  .hero-img-wrap img { max-height: 280px; }
  .hero-sub { margin: 0 auto 1.5rem; }
  .hero-stats { justify-content: center; gap: 1.5rem; margin-top: 1.5rem; padding-top: 1.5rem; }
  .hero-float-card { left: 50%; transform: translateX(-50%); bottom: -5%; white-space: nowrap; }
  
  .search-bar { flex-direction: column; align-items: stretch; gap: 0.75rem; padding: 1.25rem; margin-top: 1.5rem; }
  .search-field { min-width: 0; }
  .search-divider { display: none; }
  
  .steps-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .steps-grid::before { display: none; }
  
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 1.25rem; }
  .features-grid { grid-template-columns: 1fr; }

  /* Partner Logos Gap Fix */
  .section-sm div[style*="display:flex"] { gap: 1.25rem !important; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
  .footer-brand p { margin: 0.75rem auto 0; }
  .footer-social { justify-content: center; }
  .footer-bottom { flex-direction: column; gap: 1rem; }

  .nav-links, .nav-actions .btn { display: none !important; }
  .nav-hamburger { display: flex; }
  .nav-actions { gap: 0.5rem; }

  .cta-banner { padding: 2.5rem 1.25rem; }
  .cta-form div { grid-template-columns: 1fr !important; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  .section { padding: 3rem 0; }
  .hero-stat-num { font-size: 1.35rem; }
  .badge { font-size: 0.65rem; padding: 0.2rem 0.6rem; }
  .feature-card { padding: 1.25rem; }
  .testimonial-card { padding: 1.25rem; }
}

/* ═══════════════ Language Switcher ═══════════════ */
.lang-switcher {
  display: none;
  align-items: center;
  gap: 0.15rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 0.2rem;
}
.lang-switcher-btn {
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  background: transparent;
  color: var(--text-4);
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
}
.lang-switcher-btn:hover {
  color: var(--text-1);
  background: rgba(255,255,255,0.04);
}
.lang-switcher-btn.active {
  background: var(--gold);
  color: #060B17;
}
