/* ===================== RESET & BASE ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: #f4f6f9;
  color: #1a1a2e;
  font-size: 15px;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* ===================== ANNOUNCEMENT BAR ===================== */
.announcement-bar {
  background: linear-gradient(90deg, #0d7a5f, #14a37a);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 20px;
  overflow: hidden;
  letter-spacing: 0.5px;
}
.ticker-wrap { flex: 1; overflow: hidden; white-space: nowrap; }
.ticker-text {
  display: inline-block;
  animation: ticker 30s linear infinite;
}
@keyframes ticker {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}
.announcement-right {
  white-space: nowrap;
  margin-left: 30px;
  background: rgba(255,255,255,0.15);
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 11px;
}

/* ===================== HEADER ===================== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  color: #0d7a5f;
  white-space: nowrap;
  flex-shrink: 0;
}
.logo i { font-size: 22px; }
.logo strong { color: #14a37a; }

.city-selector select {
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 13px;
  color: #374151;
  background: #f8fafc;
  cursor: pointer;
  font-family: inherit;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  flex-wrap: wrap;
}
.nav-links a {
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  background: #f0faf6;
  color: #0d7a5f;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.btn-ghost {
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 5px;
}
.btn-ghost:hover { background: #f0faf6; color: #0d7a5f; }
.btn-outline {
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #0d7a5f;
  border: 1.5px solid #0d7a5f;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
}
.btn-outline:hover { background: #0d7a5f; color: #fff; }
.btn-primary {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #0d7a5f, #14a37a);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(13,122,95,0.3);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(13,122,95,0.4); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #374151;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0a2e25 0%, #0d7a5f 40%, #14a37a 100%);
  min-height: 440px;
  display: flex;
  align-items: center;
  
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://via.placeholder.com/1400x500/0a2e25/0a2e25?text=') center/cover no-repeat;
  opacity: 0.06;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(20,163,122,0.15) 0%, transparent 70%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 20px;
  width: 100%;
  text-align: center;
}
.hero-content h1 {
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.2;
}
.hero-subtext {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  margin-bottom: 30px;
}

.search-box {
  background: #fff;
  border-radius: 16px;
  padding: 20px 24px;
  max-width: 880px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.search-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.tab-btn {
  padding: 8px 20px;
  border-radius: 8px;
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.tab-btn.active, .tab-btn:hover { background: #0d7a5f; color: #fff; border-color: #0d7a5f; }

.search-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.search-select, .search-input {
  flex: 1;
  min-width: 150px;
  padding: 10px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: #374151;
  background: #f8fafc;
  outline: none;
  transition: border-color 0.2s;
}
.search-select:focus, .search-input:focus { border-color: #0d7a5f; }
.btn-search {
  padding: 10px 24px;
  background: linear-gradient(135deg, #0d7a5f, #14a37a);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-search:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(13,122,95,0.4); }

.quick-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.quick-tags span { font-size: 12px; color: #6b7280; font-weight: 500; }
.tag-pill {
  padding: 4px 12px;
  border-radius: 20px;
  background: #f0faf6;
  color: #0d7a5f;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid #c6f2e2;
  transition: all 0.2s;
  cursor: pointer;
}
.tag-pill:hover { background: #0d7a5f; color: #fff; }

/* ===================== METRICS BAR ===================== */
.metrics-bar {
  background: #fff;
  border-bottom: 1px solid #e8f0ec;
}
.metrics-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  padding: 20px 0;
  flex-wrap: wrap;
}
.metric-item {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}
.metric-item:last-child { border-right: none; }
.metric-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: #f1f5f9;
  color: #0c6253;
  border-radius: 10px;
  font-size: 18px;
}
.metric-num, .metric-plus {
  font-size: 18px;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.2;
}
.metric-label {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
  margin-top: 2px;
}

/* ===================== FEATURED SECTION ===================== */
.featured-section {
  padding: 50px 0 30px;
  background: #f4f6f9;
}
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.section-header h2 {
  font-size: 24px;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 4px;
}
.section-header p { color: #6b7280; font-size: 14px; }
.btn-outline-green {
  padding: 8px 18px;
  border-radius: 8px;
  border: 1.5px solid #0d7a5f;
  color: #0d7a5f;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  cursor: pointer;
}
.btn-outline-green:hover { background: #0d7a5f; color: #fff; }

/* ===================== CAROUSEL ===================== */
.carousel-wrapper {
  position: relative;
  overflow: hidden;
}
.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  padding: 8px 4px 16px;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d7a5f;
  font-size: 14px;
  transition: all 0.2s;
}
.carousel-btn:hover { background: #0d7a5f; color: #fff; transform: translateY(-50%) scale(1.05); }
.carousel-btn.prev { left: -6px; }
.carousel-btn.next { right: -6px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: all 0.2s;
}
.dot.active { background: #0d7a5f; width: 20px; border-radius: 4px; }

/* ===================== LISTING CARDS ===================== */
.listing-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: all 0.25s ease;
  flex-shrink: 0;
  width: 300px;
  border: 1.5px solid #f0f4f8;
}
.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  border-color: #c6f2e2;
}
.featured-card { width: 300px; }

.card-img-wrap {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: #e8f0ec;
}
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.listing-card:hover .card-img-wrap img { transform: scale(1.04); }

/* BADGES */
.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.badge-right { left: auto; right: 10px; }
.badge-tl { top: 10px; left: 10px; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; padding: 0; font-size: 12px; }
.badge-featured { background: linear-gradient(135deg, #f59e0b, #f97316); color: #fff; }
.badge-boosted { background: linear-gradient(135deg, #8b5cf6, #6366f1); color: #fff; }
.badge-premium { background: linear-gradient(135deg, #0d7a5f, #14a37a); color: #fff; }
.badge-sale { background: #dc2626; color: #fff; }
.badge-rent { background: #2563eb; color: #fff; }
.badge-verified { background: #dcfce7; color: #16a34a; border: 1px solid #bbf7d0; }

.card-body { padding: 14px; }
.card-price {
  font-size: 18px;
  font-weight: 800;
  color: #0d7a5f;
  margin-bottom: 6px;
}
.card-title {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 6px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-location {
  font-size: 12px;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 10px;
}
.card-location i { color: #0d7a5f; }
.card-specs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f4f8;
}
.card-specs span {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #6b7280;
  font-weight: 500;
}
.card-specs i { color: #0d7a5f; font-size: 11px; }
.card-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.card-views { font-size: 11px; color: #9ca3af; }
.card-date { font-size: 11px; color: #9ca3af; }
.poster-type {
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.poster-type.owner { background: #fef3c7; color: #92400e; }
.poster-type.dealer { background: #ede9fe; color: #4c1d95; }
.poster-type.business { background: #dbeafe; color: #1d4ed8; }

.btn-contact {
  padding: 7px 14px;
  background: linear-gradient(135deg, #0d7a5f, #14a37a);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  white-space: nowrap;
}
.btn-contact:hover { transform: translateY(-1px); box-shadow: 0 3px 10px rgba(13,122,95,0.35); }

/* ===================== PROMO CARD ===================== */
.promo-card {
  background: linear-gradient(135deg, #0a2e25, #0d7a5f);
  border-radius: 14px;
  padding: 24px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  gap: 10px;
  min-height: 220px;
}
.promo-icon { font-size: 36px; }
.promo-card h3 { font-size: 16px; font-weight: 800; }
.promo-card p { font-size: 13px; opacity: 0.9; }
.promo-price { font-size: 18px; font-weight: 800; color: #5efbca; }
.promo-card .btn-primary { background: #fff; color: #0d7a5f; }

/* ===================== LISTINGS SECTION ===================== */
.listings-section { padding: 40px 0 60px; }
.listings-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}

/* FILTER SIDEBAR */
.filter-sidebar {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  position: sticky;
  top: 84px;
  border: 1.5px solid #f0f4f8;
}
.filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f0f4f8;
}
.filter-header h3 { font-size: 15px; font-weight: 700; color: #1a1a2e; display: flex; align-items: center; gap: 6px; }
.filter-header h3 i { color: #0d7a5f; }
.btn-clear-filter {
  font-size: 12px;
  color: #dc2626;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-family: inherit;
}
.filter-group { margin-bottom: 20px; }
.filter-group h4 {
  font-size: 13px;
  font-weight: 700;
  color: #374151;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid #f0f4f8;
}
.filter-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #374151;
  padding: 4px 0;
  cursor: pointer;
  transition: color 0.2s;
}
.filter-check:hover { color: #0d7a5f; }
.filter-check input { accent-color: #0d7a5f; }
.budget-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.budget-inputs input {
  flex: 1;
  padding: 8px 10px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 12px;
  font-family: inherit;
  width: 100%;
}
.budget-inputs span { color: #6b7280; font-size: 12px; }
.budget-presets { display: flex; flex-direction: column; gap: 5px; }
.preset-btn {
  padding: 6px 10px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  font-size: 12px;
  color: #374151;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-weight: 500;
  transition: all 0.2s;
}
.preset-btn:hover { border-color: #0d7a5f; color: #0d7a5f; background: #f0faf6; }

/* LISTINGS MAIN */
.listings-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 10px;
  background: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.listing-count { font-size: 14px; color: #374151; font-weight: 600; }
.listing-count strong { color: #0d7a5f; }
.listings-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.category-tabs { display: flex; gap: 4px; }
.cat-tab {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}
.cat-tab.active, .cat-tab:hover { background: #0d7a5f; color: #fff; border-color: #0d7a5f; }
.sort-select {
  padding: 6px 10px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 12px;
  color: #374151;
  font-family: inherit;
  background: #f8fafc;
}
.view-toggles { display: flex; gap: 4px; }
.view-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
  color: #6b7280;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: all 0.2s;
}
.view-btn.active, .view-btn:hover { background: #0d7a5f; color: #fff; border-color: #0d7a5f; }

/* PROJECT BANNER */
.project-banner {
  background: linear-gradient(135deg, #fef3c7, #fffbeb);
  border: 1.5px solid #fde68a;
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.proj-left { display: flex; align-items: center; gap: 10px; flex: 1; font-size: 14px; font-weight: 600; color: #1a1a2e; }
.proj-badge {
  background: #f59e0b;
  color: #fff;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
}
.proj-right { display: flex; align-items: center; gap: 16px; color: #6b7280; font-size: 13px; }
.proj-price { font-weight: 700; color: #92400e; }
.btn-proj {
  padding: 7px 16px;
  background: #f59e0b;
  color: #fff;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-proj:hover { background: #d97706; }

/* LISTINGS GRID */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.listings-grid .listing-card { width: auto; }

/* PAGINATION */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 32px;
}
.page-btn {
  padding: 8px 14px;
  border-radius: 8px;
  border: 1.5px solid #e2e8f0;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}
.page-btn:hover, .page-btn.active { background: #0d7a5f; color: #fff; border-color: #0d7a5f; }
.next-page { background: #0d7a5f; color: #fff; border-color: #0d7a5f; }

/* ===================== FOOTER ===================== */
.footer {
  background: linear-gradient(180deg, #0a2e25 0%, #061c17 100%);
  color: #a7c5bc;
  padding: 60px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.brand-col { }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}
.footer-logo strong { color: #5efbca; }
.footer-col > p {
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 14px;
  color: #8ab4aa;
}
.footer-email {
  font-size: 13px;
  color: #8ab4aa;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}
.footer-email i { color: #5efbca; }
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a7c5bc;
  font-size: 15px;
  transition: all 0.2s;
}
.footer-social a:hover { background: #0d7a5f; color: #fff; transform: translateY(-2px); }
.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  font-size: 13px;
  color: #8ab4aa;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}
.footer-col ul li a::before { content: '›'; color: #5efbca; font-size: 16px; }
.footer-col ul li a:hover { color: #5efbca; }

.footer-bottom {
  background: rgba(0,0,0,0.2);
  padding: 16px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-copy { font-size: 12px; color: #6b7280; }
.footer-legal {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-legal a {
  font-size: 12px;
  color: #6b7280;
  transition: color 0.2s;
}
.footer-legal a:hover { color: #5efbca; }

/* ===================== MODAL ===================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal-box {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  max-width: 400px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,0.2);
  animation: modalIn 0.3s ease;
}
@keyframes modalIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f0f4f8;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #6b7280;
  transition: all 0.2s;
}
.modal-close:hover { background: #fee2e2; color: #dc2626; }
.modal-box h3 { font-size: 20px; font-weight: 800; color: #1a1a2e; margin-bottom: 10px; }
.modal-box p { font-size: 14px; color: #6b7280; margin-bottom: 20px; }
.modal-actions { display: flex; gap: 10px; justify-content: center; margin-bottom: 14px; }
.modal-whatsapp { }
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: #25d366;
  color: #fff;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s;
}
.btn-whatsapp:hover { background: #128c7e; transform: translateY(-1px); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: #fff; padding: 16px 20px; box-shadow: 0 8px 30px rgba(0,0,0,0.1); z-index: 999; }
  .hamburger { display: flex; }
  .listings-layout { grid-template-columns: 1fr; }
  .filter-sidebar { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 768px) {
  .header-inner { gap: 10px; }
  .city-selector { display: none; }
  .btn-ghost { display: none; }
  .hero { min-height: 340px; }
  .search-form { flex-direction: column; }
  .search-select, .search-input { min-width: auto; }
  .metrics-inner { flex-wrap: wrap; gap: 10px; }
  .metric-item { width: 45%; border-right: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .listings-controls { flex-direction: column; align-items: flex-start; }
  .listings-actions { width: 100%; flex-wrap: wrap; }
}



/* ===================== CARD PRICE OVERLAY ===================== */
.card-price-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 12px 10px;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
}
.card-price-big {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}
.card-price-sub { font-size: 12px; color: rgba(255,255,255,0.85); }

/* badge-verified-sm */
.badge-verified-sm {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255,255,255,0.95);
  color: #16a34a;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
/* when featured badge exists, shift verified badge down */
.badge-featured ~ .badge-verified-sm,
.badge-boosted ~ .badge-verified-sm,
.badge-premium ~ .badge-verified-sm { top: 38px; left: 10px; }

/* Fix header scrolled state */
.site-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important; }

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 35px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  transition: transform 0.3s ease, background-color 0.3s ease;
  text-decoration: none;
}

.floating-whatsapp:hover {
  background-color: #128c7e;
  transform: scale(1.1);
  color: #fff;
}


/* Responsive Grid Utilities */
.grid-2-col { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.grid-contact { display: grid; grid-template-columns: 1fr 340px; gap: 30px; align-items: start; }

@media (max-width: 768px) {
  .grid-2-col, .grid-contact { grid-template-columns: 1fr !important; }
}


@media (max-width: 768px) {
  .hero { height: auto; min-height: auto; padding-top: 40px; padding-bottom: 40px; }
  .search-box { padding: 16px; margin: 0 10px; }
  .search-form { display: flex; flex-direction: column; gap: 12px; }
}
