/* ============================================================
   RENTOOO — Main Stylesheet
   Theme: Gold / White / Blue (no gradients)
   ============================================================ */

:root {
  --gold:       #C9A84C;
  --gold-dark:  #A8872E;
  --blue:       #1A3A6B;
  --blue-mid:   #254F96;
  --blue-light: #E8EEF8;
  --white:      #FFFFFF;
  --off-white:  #F8F7F4;
  --gray-50:    #F9FAFB;
  --gray-100:   #F3F4F6;
  --gray-200:   #E5E7EB;
  --gray-300:   #D1D5DB;
  --gray-400:   #9CA3AF;
  --gray-500:   #6B7280;
  --gray-700:   #374151;
  --gray-900:   #111827;
  --success:    #16A34A;
  --warning:    #D97706;
  --danger:     #DC2626;
  --info:       #1D4ED8;
  --radius-sm:  6px;
  --radius:     10px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08);
  --shadow:     0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.12);
  --font:       'Inter', system-ui, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --transition: 0.22s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
input, select, textarea, button { font-family: inherit; }
button { cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ── Typography ─────────────────────────────────────────── */
.text-gold { color: var(--gold); }
.text-blue { color: var(--blue); }
.text-muted { color: var(--gray-500); }
.text-center { text-align: center; }
.text-danger { color: var(--danger); }
.mt-8  { margin-top:  8px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-8  { margin-bottom:  8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }

/* ── Buttons ────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 22px;
  border-radius: var(--radius);
  border: 2px solid var(--gold);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--white); }
.btn-primary.btn-full { width: 100%; justify-content: center; }
.btn-primary.btn-sm { padding: 6px 14px; font-size: 0.82rem; }

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 22px;
  border-radius: var(--radius);
  border: 2px solid var(--gold);
  transition: background var(--transition), color var(--transition);
}
.btn-outline-gold:hover { background: var(--gold); color: var(--white); }
.btn-outline-gold.btn-full { width: 100%; justify-content: center; }
.btn-outline-gold.btn-sm { padding: 6px 14px; font-size: 0.82rem; }

.btn-gold {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gold); color: var(--white);
  padding: 6px 14px; border-radius: var(--radius-sm);
  font-size: 0.82rem; font-weight: 600;
  border: 2px solid var(--gold);
  transition: background var(--transition);
}
.btn-gold:hover { background: var(--gold-dark); }

.btn-danger {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--danger); color: var(--white);
  padding: 6px 14px; border-radius: var(--radius-sm);
  font-size: 0.82rem; font-weight: 600;
  border: 2px solid var(--danger);
  transition: opacity var(--transition);
}
.btn-danger:hover { opacity: 0.85; }

.btn-sm { padding: 5px 12px; font-size: 0.82rem; }
.btn-locate {
  background: var(--blue); color: var(--white);
  border: none; border-radius: var(--radius);
  padding: 10px 14px; cursor: pointer; font-size: 1rem;
  transition: background var(--transition);
  white-space: nowrap;
}
.btn-locate:hover { background: var(--blue-mid); }
.btn-search {
  background: var(--blue); color: var(--white);
  border: none; border-radius: var(--radius);
  padding: 10px 28px; font-size: 1rem; font-weight: 700;
  cursor: pointer; transition: background var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap;
}
.btn-search:hover { background: var(--blue-mid); }

/* ── Alerts ─────────────────────────────────────────────── */
.alert {
  padding: 12px 16px; border-radius: var(--radius);
  font-size: 0.9rem; display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 16px;
}
.alert-success { background: #DCFCE7; color: #15803D; border: 1px solid #BBF7D0; }
.alert-error   { background: #FEE2E2; color: #B91C1C; border: 1px solid #FECACA; }
.alert-info    { background: #DBEAFE; color: #1D4ED8; border: 1px solid #BFDBFE; }
.alert-warning { background: #FEF3C7; color: #B45309; border: 1px solid #FDE68A; }

/* ── Notification Bar ───────────────────────────────────── */
.notif-bar {
  background: var(--blue);
  color: var(--white);
  font-size: 0.85rem;
  padding: 8px 0;
  position: relative;
  z-index: 200;
}
.notif-bar .container { display: flex; justify-content: center; align-items: center; gap: 12px; }
.notif-bar-close { background: none; border: none; color: rgba(255,255,255,0.7); cursor: pointer; font-size: 0.9rem; }
.notif-bar-close:hover { color: var(--white); }

/* ── Top Header ─────────────────────────────────────────── */
.top-header {
  background: var(--blue);
  color: var(--white);
  font-size: 0.8rem;
  padding: 6px 0;
}
.top-header-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.top-header-left { display: flex; gap: 20px; }
.top-header-left span { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.85); }
.top-header-right { display: flex; align-items: center; gap: 12px; }
.top-header-right a { color: rgba(255,255,255,0.75); transition: color var(--transition); font-size: 0.85rem; }
.top-header-right a:hover { color: var(--gold); }
.top-header-btn {
  padding: 3px 10px; border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.3);
  font-size: 0.78rem; color: var(--white) !important;
  display: inline-flex; align-items: center; gap: 5px;
}
.top-header-btn:hover { background: rgba(255,255,255,0.1); }
.top-header-btn-gold { background: var(--gold) !important; border-color: var(--gold) !important; }
.top-header-btn-gold:hover { background: var(--gold-dark) !important; }

/* ── Main Header ────────────────────────────────────────── */
.main-header {
  background: var(--white);
  border-bottom: 2px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 150;
  box-shadow: var(--shadow-sm);
}
.main-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  gap: 20px;
}
.header-brand { display: flex; align-items: center; }
.header-logo { height: 44px; object-fit: contain; }
.header-logo-text { font-size: 1.6rem; font-weight: 800; color: var(--blue); }
.header-logo-text .logo-gold { color: var(--gold); }

.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-link.active { font-weight: 600; }

.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  min-width: 200px;
  box-shadow: var(--shadow);
  z-index: 200;
  padding: 8px 0;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.dropdown-item {
  display: block;
  padding: 8px 16px;
  font-size: 0.875rem;
  color: var(--gray-700);
  transition: background var(--transition), color var(--transition);
}
.dropdown-item:hover { background: var(--gray-100); color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-auth-icons { display: flex; align-items: center; gap: 8px; }
.mobile-menu-auth { display: none; }
.header-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.header-icon-btn:hover { background: var(--gold); color: var(--white); }
.header-icon-btn-gold { background: var(--gold); color: var(--white); border-color: var(--gold); }
.header-icon-btn-gold:hover { background: var(--gold-dark); }
.header-notif-icon { position: relative; color: var(--gray-700); font-size: 1.1rem; }
.header-notif-icon:hover { color: var(--gold); }
.notif-badge {
  position: absolute; top: -5px; right: -6px;
  background: var(--danger); color: var(--white);
  font-size: 0.65rem; font-weight: 700;
  min-width: 16px; height: 16px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  background: none; border: none;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.mobile-nav-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 140;
}

/* ── Hero ───────────────────────────────────────────────── */
.hero-section {
  background: var(--blue);
  color: var(--white);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('/public/assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: var(--blue);
  opacity: 0.7;
}
.hero-content { position: relative; z-index: 2; }
.hero-text { text-align: center; margin-bottom: 40px; }
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero-subtitle { font-size: 1.1rem; opacity: 0.88; max-width: 560px; margin: 0 auto; }

/* ── Search Box ─────────────────────────────────────────── */
.search-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  max-width: 900px;
  margin: 0 auto;
}
.search-tabs {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px;
}
.search-tab {
  padding: 6px 16px; border-radius: 20px;
  font-size: 0.85rem; font-weight: 500;
  background: var(--gray-100); color: var(--gray-700);
  border: 2px solid transparent;
  transition: var(--transition); cursor: pointer;
}
.search-tab:hover, .search-tab.active {
  background: var(--gold); color: var(--white); border-color: var(--gold);
}
.search-input-row {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
}
.search-input-wrap {
  position: relative; flex: 1; min-width: 200px;
}
.search-input-wrap i {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--gray-400); pointer-events: none;
}
.search-input-wrap input,
.search-input-wrap select {
  width: 100%;
  padding: 11px 14px 11px 38px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.92rem;
  outline: none;
  background: var(--white);
  color: var(--gray-900);
  transition: border-color var(--transition);
}
.search-input-wrap input:focus,
.search-input-wrap select:focus { border-color: var(--gold); }

/* ── Stats Bar ──────────────────────────────────────────── */
.stats-bar { background: var(--blue); padding: 20px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 0;
}
.stat-item {
  display: flex; flex-direction: column; align-items: center;
  padding: 16px 12px;
  color: var(--white);
  border-right: 1px solid rgba(255,255,255,0.12);
  transition: background var(--transition);
  text-decoration: none;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(255,255,255,0.08); color: var(--gold); }
.stat-icon { font-size: 1.4rem; margin-bottom: 6px; color: var(--gold); }
.stat-num { font-size: 1.3rem; font-weight: 800; line-height: 1; }
.stat-label { font-size: 0.78rem; opacity: 0.8; text-align: center; margin-top: 2px; }

/* ── Sections ───────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 48px; }
.section-tag {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 4px 14px; border-radius: 20px;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  color: var(--blue); font-weight: 800; line-height: 1.25;
  margin-bottom: 12px;
}
.section-subtitle { color: var(--gray-500); font-size: 1rem; max-width: 560px; margin: 0 auto; }

.services-section { padding: 80px 0; background: var(--off-white); }
.featured-section { padding: 80px 0; }
.about-section { padding: 80px 0; background: var(--off-white); }
.area-cta-section { padding: 60px 0; background: var(--blue); color: var(--white); }
.how-section { padding: 80px 0; }

/* ── Carousel ───────────────────────────────────────────── */
.carousel-wrapper { position: relative; }
.carousel-track-wrap { overflow: hidden; border-radius: var(--radius-lg); }
.carousel-track {
  display: flex;
  transition: transform 0.45s ease;
}
.carousel-item {
  flex: 0 0 25%;
  padding: 12px;
}
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10;
  width: 44px; height: 44px;
  background: var(--white); color: var(--blue);
  border-radius: 50%;
  box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  border: 2px solid var(--gray-200);
  transition: background var(--transition), color var(--transition);
}
.carousel-btn:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }
.carousel-btn.prev { left: -22px; }
.carousel-btn.next { right: -22px; }

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  border: 2px solid var(--gray-100);
  height: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.service-card:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.service-card-icon {
  width: 60px; height: 60px;
  background: var(--blue-light); color: var(--blue);
  border-radius: 50%; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  transition: background var(--transition), color var(--transition);
}
.service-card:hover .service-card-icon { background: var(--gold); color: var(--white); }
.service-card-title { font-size: 1.05rem; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
.service-card-desc { font-size: 0.85rem; color: var(--gray-500); margin-bottom: 16px; line-height: 1.5; }
.service-card-link {
  font-size: 0.85rem; font-weight: 600; color: var(--gold);
  display: inline-flex; align-items: center; gap: 6px;
}
.service-card-link:hover { color: var(--gold-dark); }

/* ── Properties Grid ────────────────────────────────────── */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.properties-grid-sm { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

.property-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 2px solid var(--gray-100);
  overflow: hidden;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.property-card:hover { box-shadow: var(--shadow-lg); border-color: var(--gold); }
.property-card-img { position: relative; height: 200px; overflow: hidden; }
.property-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.property-card:hover .property-card-img img { transform: scale(1.04); }
.property-card-placeholder {
  width: 100%; height: 100%;
  background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; color: var(--gray-300);
}
.property-type-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--gold); color: var(--white);
  font-size: 0.72rem; font-weight: 700;
  padding: 3px 10px; border-radius: 4px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.property-card-body { padding: 16px; }
.property-card-title { font-size: 0.95rem; font-weight: 700; color: var(--gray-900); margin-bottom: 6px; line-height: 1.35; }
.property-card-area { font-size: 0.82rem; color: var(--gray-500); margin-bottom: 10px; display: flex; align-items: center; gap: 5px; }
.property-card-price { font-size: 1.15rem; font-weight: 800; color: var(--gold); margin-bottom: 12px; }
.property-card-price span { font-size: 0.78rem; color: var(--gray-400); font-weight: 400; }

/* ── About Section ──────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img-wrap { position: relative; }
.about-img-box {
  background: var(--blue-light);
  border-radius: var(--radius-xl);
  height: 380px;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--gold);
}
.about-img-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.about-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--gold); color: var(--white);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  display: flex; flex-direction: column; align-items: center;
  box-shadow: var(--shadow);
}
.about-badge-num { font-size: 1.6rem; font-weight: 800; }
.about-content { display: flex; flex-direction: column; gap: 16px; }
.about-text { color: var(--gray-600, #4B5563); line-height: 1.75; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about-feature {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.9rem; font-weight: 500; color: var(--gray-700);
}
.about-feature i { font-size: 1.1rem; }

/* ── Area CTA ───────────────────────────────────────────── */
.area-cta-content { text-align: center; }
.area-cta-content h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 8px; }
.area-cta-content p { opacity: 0.85; margin-bottom: 24px; }
.area-cta-form { display: flex; gap: 12px; max-width: 500px; margin: 0 auto; flex-wrap: wrap; }
.area-cta-form input {
  flex: 1; padding: 12px 16px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.12);
  color: var(--white); font-size: 1rem; outline: none;
  min-width: 200px;
}
.area-cta-form input::placeholder { color: rgba(255,255,255,0.6); }
.area-cta-form input:focus { border-color: var(--gold); }

/* ── How It Works ───────────────────────────────────────── */
.steps-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px; text-align: center;
}
.step-item { padding: 32px 24px; position: relative; }
.step-num {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gold); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.9rem;
}
.step-icon {
  width: 64px; height: 64px; border-radius: var(--radius-lg);
  background: var(--blue-light); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin: 24px auto 16px;
}
.step-item h3 { font-size: 1rem; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
.step-item p { font-size: 0.87rem; color: var(--gray-500); line-height: 1.6; }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: var(--blue);
  color: rgba(255,255,255,0.82);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  padding-bottom: 40px;
}
.footer-logo { height: 40px; filter: brightness(0) invert(1); }
.footer-logo-text { font-size: 1.5rem; font-weight: 800; color: var(--white); }
.footer-logo-text .logo-gold { color: var(--gold); }
.footer-tagline { font-size: 0.87rem; margin-top: 12px; opacity: 0.75; line-height: 1.6; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.8); font-size: 0.9rem;
  border: 1px solid rgba(255,255,255,0.15);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.footer-social a:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }
.footer-heading { color: var(--white); font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 0.87rem; color: rgba(255,255,255,0.7); display: flex; align-items: center; gap: 6px; transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-sub-links { margin-top: 8px; padding-left: 12px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 0.87rem; }
.footer-contact i { color: var(--gold); margin-top: 3px; }
.footer-contact a { color: rgba(255,255,255,0.7); }
.footer-contact a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem; color: rgba(255,255,255,0.5);
  flex-wrap: wrap; gap: 8px;
}

/* ── Auth Pages ─────────────────────────────────────────── */
.auth-body {
  background: var(--off-white);
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 40px 20px;
}
.auth-wrapper { width: 100%; max-width: 520px; }
.auth-brand { text-align: center; margin-bottom: 24px; }
.auth-logo { height: 50px; margin: 0 auto; }
.auth-logo-text { font-size: 1.8rem; font-weight: 800; color: var(--blue); }
.auth-logo-text span { color: var(--gold); }
.auth-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}
.auth-card-wide { max-width: 680px; width: 100%; }
.auth-card-header { text-align: center; margin-bottom: 28px; }
.auth-card-header h2 { font-size: 1.5rem; font-weight: 800; color: var(--blue); margin-bottom: 6px; }
.auth-card-header p { color: var(--gray-500); font-size: 0.9rem; }
.auth-footer { text-align: center; margin-top: 20px; font-size: 0.8rem; color: var(--gray-400); }
.auth-links { text-align: center; margin-top: 20px; font-size: 0.88rem; color: var(--gray-500); }
.auth-links a { color: var(--gold); font-weight: 600; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--gray-300); font-size: 0.85rem; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--gray-200); }

/* ── Forms ──────────────────────────────────────────────── */
.auth-form, .settings-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--gray-700); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.9rem; color: var(--gray-900);
  outline: none; background: var(--white);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group small { font-size: 0.78rem; color: var(--gray-400); }
.form-group .code-input { font-family: monospace; font-size: 0.85rem; }
.req { color: var(--danger); }

.input-icon-wrap { position: relative; }
.input-icon-wrap > i:first-child {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--gray-400); pointer-events: none; font-size: 0.9rem;
}
.input-icon-wrap input,
.input-icon-wrap select { padding-left: 38px; }
.toggle-pw {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--gray-400); cursor: pointer; font-size: 0.9rem;
}
.toggle-pw:hover { color: var(--gray-600); }

.file-upload-wrap {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border: 2px dashed var(--gray-300); border-radius: var(--radius);
  cursor: pointer; font-size: 0.87rem; color: var(--gray-500);
  transition: border-color var(--transition);
}
.file-upload-wrap:hover { border-color: var(--gold); }
.file-upload-wrap input[type=file] { position: absolute; opacity: 0; width: 0; height: 0; }
.form-check { display: flex; align-items: flex-start; gap: 10px; font-size: 0.87rem; color: var(--gray-600); }
.form-check input { margin-top: 3px; accent-color: var(--gold); }

.payment-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.payment-option { cursor: pointer; }
.payment-option input { display: none; }
.payment-option-box {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 16px; border: 2px solid var(--gray-200); border-radius: var(--radius-lg);
  text-align: center; transition: border-color var(--transition), background var(--transition);
}
.payment-option-box i { font-size: 1.4rem; color: var(--gray-400); }
.payment-option-box strong { font-size: 0.9rem; color: var(--gray-700); }
.payment-option-box small { font-size: 0.78rem; color: var(--gray-400); }
.payment-option input:checked + .payment-option-box { border-color: var(--gold); background: #FDF9EE; }
.payment-option input:checked + .payment-option-box i { color: var(--gold); }
.payment-option input:checked + .payment-option-box strong { color: var(--gold); }

/* ── Payment Checkout ───────────────────────────────────── */
.payment-checkout-box { text-align: center; padding: 24px 0; }
.payment-amount-display { display: flex; flex-direction: column; align-items: center; margin-bottom: 24px; }
.payment-currency { font-size: 1.5rem; color: var(--gold); font-weight: 700; }
.payment-amount { font-size: 3.5rem; font-weight: 900; color: var(--blue); line-height: 1; }
.payment-label { font-size: 0.85rem; color: var(--gray-500); margin-top: 4px; }
.payment-info { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 0.85rem; color: var(--gray-500); margin-bottom: 24px; }

/* ── Search Page ────────────────────────────────────────── */
.search-page-hero { background: var(--blue); color: var(--white); padding: 48px 0 36px; }
.page-title { font-family: var(--font-serif); font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 800; margin-bottom: 8px; }
.page-subtitle { opacity: 0.82; font-size: 1rem; }
.search-page-section { padding: 40px 0; }
.search-page-layout { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; }

.filter-sidebar {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 2px solid var(--gray-200);
  padding: 24px;
  position: sticky; top: 90px;
  display: flex; flex-direction: column; gap: 16px;
}
.filter-sidebar-header { display: flex; justify-content: space-between; align-items: center; }
.filter-sidebar-header h3 { font-size: 1rem; font-weight: 700; color: var(--blue); }
.filter-close { display: none; background: none; border: none; color: var(--gray-500); font-size: 1.1rem; cursor: pointer; }
.filter-group { display: flex; flex-direction: column; gap: 8px; }
.filter-group label { font-size: 0.82rem; font-weight: 600; color: var(--gray-700); text-transform: uppercase; letter-spacing: 0.5px; }
.filter-group input, .filter-group select { width: 100%; padding: 9px 12px; border: 2px solid var(--gray-200); border-radius: var(--radius); font-size: 0.88rem; outline: none; }
.filter-group input:focus, .filter-group select:focus { border-color: var(--gold); }
.filter-location-row { display: flex; align-items: center; gap: 8px; }
.locate-status { font-size: 0.78rem; color: var(--success); }

.type-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.type-chip input { display: none; }
.type-chip span {
  display: inline-block; padding: 4px 12px;
  border: 1.5px solid var(--gray-200); border-radius: 20px;
  font-size: 0.8rem; cursor: pointer;
  transition: var(--transition);
}
.type-chip input:checked + span { background: var(--gold); color: var(--white); border-color: var(--gold); }
.type-chip span:hover { border-color: var(--gold); color: var(--gold); }

.area-summary-bar {
  background: var(--blue-light);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 20px;
}
.area-summary-title { font-size: 1rem; font-weight: 700; color: var(--blue); margin-bottom: 12px; }
.area-type-counts { display: flex; flex-wrap: wrap; gap: 8px; }
.area-type-chip {
  display: flex; align-items: center; gap: 6px;
  background: var(--white); border: 2px solid var(--gray-200);
  border-radius: 20px; padding: 4px 14px; font-size: 0.82rem;
  transition: border-color var(--transition), color var(--transition);
}
.area-type-chip:hover { border-color: var(--gold); color: var(--gold); }
.atc-type { font-weight: 500; }
.atc-count { font-weight: 800; color: var(--gold); }

.results-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.results-count { font-size: 0.9rem; font-weight: 600; color: var(--gray-700); }

/* ── Pagination ─────────────────────────────────────────── */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 32px; flex-wrap: wrap; }
.page-btn {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius); border: 2px solid var(--gray-200);
  font-size: 0.88rem; font-weight: 600; color: var(--gray-700);
  transition: var(--transition);
}
.page-btn:hover, .page-btn.active { background: var(--gold); color: var(--white); border-color: var(--gold); }

/* ── Property Detail ────────────────────────────────────── */
.property-detail-wrap { padding: 40px 0; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--gray-500); margin-bottom: 28px; }
.breadcrumb a { color: var(--gold); }
.property-detail-grid { display: grid; grid-template-columns: 1fr 400px; gap: 40px; }
.gallery-main { border-radius: var(--radius-lg); overflow: hidden; height: 380px; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.gallery-thumb { width: 80px; height: 60px; object-fit: cover; border-radius: var(--radius-sm); cursor: pointer; border: 2px solid transparent; transition: border-color var(--transition); }
.gallery-thumb:hover { border-color: var(--gold); }
.gallery-placeholder { background: var(--gray-100); height: 380px; border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; }
.property-info { display: flex; flex-direction: column; gap: 16px; }
.property-detail-title { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 800; color: var(--blue); line-height: 1.3; }
.property-detail-location { display: flex; align-items: center; gap: 8px; color: var(--gray-500); font-size: 0.9rem; }
.property-price-box { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.property-price { font-size: 1.8rem; font-weight: 900; color: var(--gold); }
.property-price-label { font-size: 0.85rem; color: var(--gray-400); }
.property-deposit { font-size: 0.85rem; color: var(--gray-500); width: 100%; }
.property-features { display: flex; flex-wrap: wrap; gap: 12px; }
.prop-feat { display: flex; align-items: center; gap: 6px; font-size: 0.87rem; color: var(--gray-700); background: var(--gray-100); padding: 6px 12px; border-radius: var(--radius-sm); }
.property-amenities h4, .property-contact-box h4 { font-size: 0.9rem; font-weight: 700; color: var(--blue); margin-bottom: 6px; }
.property-contact-box { background: var(--blue-light); border-radius: var(--radius-lg); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.property-contact-box p { font-size: 0.9rem; }
.property-description { border-top: 2px solid var(--gray-200); padding-top: 24px; }
.property-description h3 { font-size: 1.1rem; font-weight: 700; color: var(--blue); margin-bottom: 12px; }
.property-description p { color: var(--gray-600, #4B5563); line-height: 1.75; }

/* ── Page sections ──────────────────────────────────────── */
.page-hero { background: var(--blue); color: var(--white); padding: 60px 0 50px; }
.about-full-section { padding: 80px 0; }
.about-full-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.about-full-content { display: flex; flex-direction: column; gap: 16px; }
.about-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-stat-card {
  background: var(--blue-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  border: 2px solid var(--gray-200);
}
.about-stat-num { font-size: 2rem; font-weight: 900; display: block; }
.about-features-full { grid-template-columns: 1fr; }
.about-feature > div { display: flex; flex-direction: column; }
.about-feature strong { font-size: 0.9rem; }
.about-feature small { font-size: 0.8rem; color: var(--gray-400); }
.team-section { padding: 60px 0; background: var(--off-white); }
.mission-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 40px; }
.mission-card { background: var(--white); border-radius: var(--radius-lg); padding: 28px; border: 2px solid var(--gray-100); text-align: center; }
.mission-card i { font-size: 2rem; margin-bottom: 12px; }
.mission-card h3 { font-size: 1rem; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
.mission-card p { font-size: 0.87rem; color: var(--gray-500); line-height: 1.6; }

.contact-section { padding: 60px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; }
.contact-info-panel { display: flex; flex-direction: column; gap: 16px; }
.contact-info-panel h3 { font-size: 1.2rem; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
.contact-info-list { display: flex; flex-direction: column; gap: 16px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 14px; }
.contact-info-item i { font-size: 1.1rem; margin-top: 3px; }
.contact-info-item strong { display: block; font-size: 0.85rem; font-weight: 700; color: var(--gray-700); }
.contact-info-item p, .contact-info-item a { font-size: 0.87rem; color: var(--gray-600, #4B5563); }
.contact-social { display: flex; gap: 12px; margin-top: 8px; }
.contact-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--blue-light); color: var(--blue);
  display: flex; align-items: center; justify-content: center; font-size: 0.9rem;
  border: 2px solid var(--gray-200); transition: var(--transition);
}
.contact-social a:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }
.contact-form-panel h3 { font-size: 1.2rem; font-weight: 700; color: var(--blue); margin-bottom: 20px; }

/* ── Empty State ────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 60px 24px;
  color: var(--gray-400);
  grid-column: 1 / -1;
}
.empty-state i { font-size: 3rem; margin-bottom: 16px; }
.empty-state h3 { font-size: 1.1rem; font-weight: 700; color: var(--gray-600, #4B5563); margin-bottom: 8px; }
.empty-state p { font-size: 0.9rem; }

/* ── Error Pages ────────────────────────────────────────── */
.error-page { padding: 100px 20px; }
.error-num { font-family: var(--font-serif); font-size: clamp(5rem, 15vw, 10rem); font-weight: 900; color: var(--gold); line-height: 1; }
.error-page h2 { font-size: 1.5rem; font-weight: 700; color: var(--blue); margin: 16px 0 8px; }
.error-page p { color: var(--gray-500); }

/* ── Badges ─────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 3px 10px; border-radius: 4px;
  font-size: 0.75rem; font-weight: 700;
  text-transform: capitalize;
}
.badge-success { background: #DCFCE7; color: #15803D; }
.badge-danger  { background: #FEE2E2; color: #B91C1C; }
.badge-warning { background: #FEF3C7; color: #B45309; }
.badge-blue    { background: var(--blue-light); color: var(--blue); }
.badge-gold    { background: #FDF9EE; color: var(--gold-dark); }

/* ── Modal ──────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 500;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.modal-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 28px;
  width: 100%; max-width: 500px;
  box-shadow: var(--shadow-lg);
  max-height: 90vh; overflow-y: auto;
}
.modal-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px;
}
.modal-header h3 { font-size: 1.1rem; font-weight: 700; color: var(--blue); }
.modal-header button { color: var(--gray-400); font-size: 1.1rem; }
.modal-header button:hover { color: var(--gray-700); }

/* ── Toggle Switch ──────────────────────────────────────── */
.toggle-switch { position: relative; display: inline-block; width: 44px; height: 24px; cursor: pointer; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-switch span {
  position: absolute; inset: 0;
  background: var(--gray-200); border-radius: 24px;
  transition: background 0.2s;
}
.toggle-switch span::before {
  content: ''; position: absolute;
  width: 18px; height: 18px;
  left: 3px; top: 3px;
  background: var(--white); border-radius: 50%;
  transition: transform 0.2s;
}
.toggle-switch input:checked + span { background: var(--gold); }
.toggle-switch input:checked + span::before { transform: translateX(20px); }

/* ── Notification List ──────────────────────────────────── */
.notif-list { display: flex; flex-direction: column; }
.notif-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--gray-100);
}
.notif-item:last-child { border-bottom: none; }
.notif-unread { background: #FFFDF0; margin: 0 -8px; padding: 14px 8px; border-radius: var(--radius-sm); }
.notif-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--blue-light); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; flex-shrink: 0;
}
.notif-body p { font-size: 0.88rem; color: var(--gray-700); line-height: 1.5; margin-bottom: 3px; }
.notif-body small { font-size: 0.75rem; color: var(--gray-400); }

/* ── Inline Input ───────────────────────────────────────── */
.inline-input {
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);
  padding: 5px 10px; font-size: 0.85rem; width: 140px; outline: none;
}
.inline-input:focus { border-color: var(--gold); }
.flash-success { background: #F0FDF4 !important; transition: background 0.4s; }

/* ── Quick Actions ──────────────────────────────────────── */
.quick-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.quick-action {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 20px 28px; border-radius: var(--radius-lg);
  background: var(--gray-50); border: 2px solid var(--gray-200);
  font-size: 0.85rem; font-weight: 600; color: var(--gray-700);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.quick-action i { font-size: 1.3rem; color: var(--gold); }
.quick-action:hover { border-color: var(--gold); color: var(--gold); background: #FDF9EE; }

/* ── Panel-specific (use panel.css for full panel UI) ───── */
.panel-page { padding: 24px 0; }
.panel-page-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 28px; gap: 16px; }
.panel-page-header h1 { font-size: 1.4rem; font-weight: 800; color: var(--blue); line-height: 1.2; }
.panel-page-header p { font-size: 0.87rem; color: var(--gray-500); margin-top: 4px; }

.panel-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.panel-stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  display: flex; align-items: center; gap: 14px;
  border: 2px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
}
.stat-icon-wrap {
  width: 48px; height: 48px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.stat-icon-wrap.stat-gold { background: #FDF9EE; color: var(--gold); }
.stat-icon-wrap.stat-blue { background: var(--blue-light); color: var(--blue); }
.stat-icon-wrap.stat-white { background: var(--gray-100); color: var(--gray-600, #4B5563); }
.stat-num { font-size: 1.3rem; font-weight: 800; color: var(--gray-900); line-height: 1; }
.stat-label { font-size: 0.78rem; color: var(--gray-500); margin-top: 2px; }

.panel-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 2px solid var(--gray-100);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.panel-card-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-100);
}
.panel-card-header h3 { font-size: 1rem; font-weight: 700; color: var(--blue); }
.link-gold { font-size: 0.85rem; color: var(--gold); font-weight: 600; }
.link-gold:hover { color: var(--gold-dark); }

.panel-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.panel-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.panel-tab {
  padding: 8px 18px; border-radius: var(--radius-sm);
  font-size: 0.87rem; font-weight: 600; color: var(--gray-600, #4B5563);
  background: var(--gray-100); transition: var(--transition);
}
.panel-tab:hover { background: var(--gold); color: var(--white); }
.panel-tab.active { background: var(--blue); color: var(--white); }

.panel-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.panel-table thead tr { background: var(--gray-50); border-bottom: 2px solid var(--gray-200); }
.panel-table th { padding: 11px 16px; text-align: left; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--gray-500); white-space: nowrap; }
.panel-table td { padding: 12px 16px; border-bottom: 1px solid var(--gray-100); vertical-align: middle; }
.panel-table tbody tr:hover { background: var(--gray-50); }
.panel-table tbody tr:last-child td { border-bottom: none; }
.table-scroll { overflow-x: auto; }

.action-btns { display: flex; gap: 6px; }

/* Settings tabs */
.settings-tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 20px; }
.settings-tab {
  padding: 8px 16px; border-radius: var(--radius-sm);
  font-size: 0.85rem; font-weight: 600; color: var(--gray-600, #4B5563);
  background: var(--gray-100); border: 2px solid transparent;
  transition: var(--transition); cursor: pointer;
}
.settings-tab:hover { background: var(--gold); color: var(--white); }
.settings-tab.active { background: var(--blue); color: var(--white); }
.settings-panel { display: none; }
.settings-panel.active { display: flex; flex-direction: column; gap: 16px; }
.settings-preview-img { height: 40px; margin-top: 6px; border-radius: var(--radius-sm); }

/* Toggle settings */
.toggle-settings { display: flex; flex-direction: column; gap: 16px; padding: 16px 0; }
.toggle-setting-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: var(--gray-50); border-radius: var(--radius); border: 1px solid var(--gray-200); }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-grid .about-img-wrap { display: none; }
  .about-full-grid { grid-template-columns: 1fr; }
  .property-detail-grid { grid-template-columns: 1fr; }
  .search-page-layout { grid-template-columns: 1fr; }
  .filter-sidebar { position: fixed; left: 0; top: 0; bottom: 0; z-index: 300; transform: translateX(-110%); transition: transform 0.3s; border-radius: 0; width: 300px; overflow-y: auto; }
  .filter-sidebar.open { transform: translateX(0); }
  .filter-close { display: block; }
  .carousel-item { flex: 0 0 33.33%; }
  .panel-grid-2 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .top-header {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px 0;
  }
  .top-header-inner { flex-direction: column; align-items: stretch; gap: 8px; }
  .top-header-left,
  .top-header-right { flex-wrap: wrap; justify-content: space-between; gap: 8px; }
  .top-header-right .top-header-btn { display: none; }
  .mobile-auth-links { display: flex; }
  .mobile-menu-auth { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
  .mobile-menu-auth .mobile-auth-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.94rem;
    color: var(--gray-700);
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
  }
  .mobile-menu-auth .mobile-auth-btn:hover { background: var(--gold); color: var(--white); }
  .mobile-menu-auth .mobile-auth-btn-gold { background: var(--gold); color: var(--white); border-color: var(--gold); }
  .main-nav {
    display: flex;
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 280px;
    transform: translateX(100%);
    opacity: 0;
    background: var(--white);
    flex-direction: column;
    padding: 80px 24px 24px;
    z-index: 200;
    box-shadow: var(--shadow-lg);
    gap: 4px;
    align-items: stretch;
    overflow-y: auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .main-nav.open { transform: translateX(0); opacity: 1; }
  .mobile-nav-overlay.open { display: block; }
  .hamburger { display: flex; }

  .header-cta { display: none; }
  .nav-dropdown-menu { position: static; box-shadow: none; border: none; border-left: 3px solid var(--gold); margin-left: 12px; display: block; }
  .nav-link { padding: 10px 0; border-bottom: 1px solid var(--gray-100); }
  .form-row { grid-template-columns: 1fr; }
  .payment-options { grid-template-columns: 1fr; }
  .search-input-row { flex-direction: column; }
  .search-input-wrap { min-width: 100%; }
  .area-cta-form { flex-direction: column; }
  .carousel-item { flex: 0 0 50%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .panel-stats { grid-template-columns: 1fr 1fr; }
  .properties-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .carousel-item { flex: 0 0 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .properties-grid { grid-template-columns: 1fr; }
  .panel-stats { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .auth-card { padding: 24px 16px; }
  .payment-checkout-box .payment-amount { font-size: 2.8rem; }
}

@media (min-width: 1536px) {
  .container { max-width: 1440px; }
  .hero-title { font-size: 4rem; }
  .properties-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
}
