:root {
  --navy: #0a1628;
  --navy-mid: #112240;
  --blue: #1a56db;
  --blue-light: #3b82f6;
  --sky: #38bdf8;
  --gold: #f59e0b;
  --cream: #faf8f5;
  --white: #ffffff;
  --text: #1e293b;
  --muted: #64748b;
  --border: #e2e8f0;
  --card-shadow: 0 4px 24px rgba(10,22,40,0.10);
  --card-shadow-hover: 0 12px 48px rgba(10,22,40,0.18);
  --radius: 16px;
  --radius-sm: 10px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== HEADER ===== */
header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: background 0.35s, box-shadow 0.35s;
  background: transparent;
}

header.scrolled {
  background: rgba(10,22,40,0.97);
  box-shadow: 0 4px 32px rgba(0,0,0,0.18);
  backdrop-filter: blur(12px);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.3px;
}

.logo-text span { color: var(--sky); }

.menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.menu a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.25s;
}

.menu a:hover { color: #fff; background: rgba(255,255,255,0.12); }

.menu .cta-btn {
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: #fff;
  padding: 9px 20px;
  border-radius: 10px;
  font-weight: 600;
  margin-left: 8px;
  box-shadow: 0 4px 14px rgba(26,86,219,0.4);
}

.menu .cta-btn:hover {
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26,86,219,0.5);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile Nav — Slide-in Drawer */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.3s;
}
.nav-overlay.open { display: block; opacity: 1; }

.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 75%;
  max-width: 320px;
  height: 100%;
  background: var(--navy);
  z-index: 999;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.22,0.68,0,1.1);
  box-shadow: -8px 0 40px rgba(0,0,0,0.35);
  overflow-y: auto;
}

.mobile-nav.open { right: 0; }

/* Drawer Header */
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mobile-nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}

.mobile-nav-logo .logo-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
}

.mobile-nav-logo span {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.mobile-nav-logo span em { font-style: normal; color: var(--sky); }

.mobile-nav .close-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.mobile-nav .close-btn:hover { background: rgba(255,255,255,0.14); color: #fff; }

/* Nav Links */
.mobile-nav-links {
  padding: 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.mobile-nav-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 14px;
  border-radius: 10px;
  transition: all 0.2s;
}

.mobile-nav-links a i {
  width: 18px;
  font-size: 13px;
  color: var(--sky);
  opacity: 0.7;
  text-align: center;
  transition: opacity 0.2s;
}

.mobile-nav-links a:hover {
  background: rgba(56,189,248,0.08);
  color: #fff;
  padding-left: 18px;
}

.mobile-nav-links a:hover i { opacity: 1; }

/* Drawer Footer */
.mobile-nav-footer {
  padding: 16px 20px 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.mobile-nav-footer .mob-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: #fff;
  border-radius: 12px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.3s;
  box-shadow: 0 6px 18px rgba(26,86,219,0.4);
  margin-bottom: 16px;
}

.mobile-nav-footer .mob-cta:hover { transform: translateY(-1px); }

.mob-social {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.mob-social a {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  text-decoration: none;
  transition: all 0.2s;
}

.mob-social a:hover { background: var(--blue); color: #fff; }

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1670589953882-b94c9cb380f5?w=1400&q=80') center/cover no-repeat;
  transform: scale(1.06);
  animation: heroZoom 12s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.06); }
  to { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,22,40,0.55) 0%, rgba(10,22,40,0.35) 50%, rgba(10,22,40,0.80) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
  animation: fadeUp 0.9s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(36px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56,189,248,0.18);
  border: 1px solid rgba(56,189,248,0.35);
  color: var(--sky);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 40px;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero-badge i { font-size: 11px; }

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 18px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.25);
}

.hero h1 em {
  font-style: italic;
  color: var(--sky);
}

.hero p {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,0.82);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.6;
  font-weight: 300;
}

.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: #fff;
  padding: 15px 32px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 8px 28px rgba(26,86,219,0.45);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(26,86,219,0.55);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  padding: 15px 32px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.3s;
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.hero-stats {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: clamp(20px, 5vw, 60px);
  flex-wrap: wrap;
  padding: 0 20px;
}

.stat-item {
  text-align: center;
  color: #fff;
}

.stat-item .num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  color: var(--sky);
  display: block;
}

.stat-item .label {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== SEARCH BAR ===== */
.search-section {
  position: relative;
  margin-top: -56px;
  z-index: 10;
  padding: 0 0 20px;
}

.search-box {
  background: #fff;
  border-radius: 20px;
  padding: 28px 28px;
  box-shadow: 0 20px 60px rgba(10,22,40,0.18);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 16px;
  align-items: end;
}

.search-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.search-field label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--muted);
}

.search-field input,
.search-field select {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 13px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--cream);
  outline: none;
  transition: all 0.25s;
  appearance: none;
}

.search-field input:focus,
.search-field select:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(26,86,219,0.1);
}

.search-field .input-wrap {
  position: relative;
}

.search-field .input-wrap i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 14px;
}

.search-field .input-wrap input {
  padding-left: 40px;
}

.search-submit {
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: #fff;
  border: none;
  padding: 13px 28px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: all 0.3s;
  box-shadow: 0 6px 20px rgba(26,86,219,0.4);
  font-family: 'DM Sans', sans-serif;
}

.search-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(26,86,219,0.5);
}

/* ===== SECTION HEADERS ===== */
.section-head {
  text-align: center;
  margin-bottom: 50px;
}

.section-tag {
  display: inline-block;
  background: rgba(26,86,219,0.08);
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 40px;
  margin-bottom: 14px;
}

.section-head h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.2;
}

.section-head p {
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.7;
}

/* ===== PROPERTY CARDS ===== */
.featured-section {
  padding: 80px 0;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.property-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all 0.35s cubic-bezier(0.22, 0.68, 0, 1.2);
  position: relative;
}

.property-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-shadow-hover);
}

.card-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.property-card:hover .card-img-wrap img { transform: scale(1.08); }

.card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.badge {
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-sale { background: var(--blue); color: #fff; }
.badge-rent { background: var(--gold); color: #fff; }
.badge-hot { background: #ef4444; color: #fff; }
.badge-new { background: #10b981; color: #fff; }

.card-fav {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  backdrop-filter: blur(6px);
  z-index: 2;
  border: none;
}

.card-fav:hover { background: #fff; transform: scale(1.12); }
.card-fav i { color: #cbd5e1; font-size: 14px; transition: color 0.3s; }
.card-fav:hover i, .card-fav.active i { color: #ef4444; }

.card-body { padding: 20px; }

.card-price {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 8px;
}

.card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.4;
}

.card-location {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 14px;
}

.card-location i { color: var(--blue); font-size: 11px; }

.card-features {
  display: flex;
  gap: 14px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.feat-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

.feat-item i { color: var(--blue-light); font-size: 13px; }

/* ===== ABOUT SECTION ===== */
.about-section {
  background: var(--navy);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(56,189,248,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text .section-tag { background: rgba(56,189,248,0.12); color: var(--sky); }

.about-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 42px);
  color: #fff;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.about-text p {
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 15px;
}

.about-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: linear-gradient(135deg, var(--sky), var(--blue-light));
  color: var(--navy);
  padding: 13px 28px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 10px;
  font-family: 'DM Sans', sans-serif;
}

.about-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(56,189,248,0.3); }

.agent-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
  backdrop-filter: blur(12px);
  position: relative;
}

.agent-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--sky);
  margin: 0 auto 16px;
  display: block;
  box-shadow: 0 8px 24px rgba(56,189,248,0.25);
}

.agent-name {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.agent-role { font-size: 13px; color: var(--sky); margin-bottom: 12px; }

.agent-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.agent-contact a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

.agent-contact a:hover { color: var(--sky); }
.agent-contact i { color: var(--sky); font-size: 13px; }

.agent-stat {
  background: rgba(56,189,248,0.1);
  border: 1px solid rgba(56,189,248,0.2);
  border-radius: 12px;
  padding: 14px;
}

.agent-stat .n {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 700;
  color: var(--sky);
  display: block;
}

.agent-stat .l { font-size: 12px; color: rgba(255,255,255,0.5); letter-spacing: 1px; text-transform: uppercase; }

/* ===== LISTINGS SECTION ===== */
.listings-section {
  padding: 80px 0;
  background: #fff;
}

.listings-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 28px;
  align-items: start;
}

/* Mobile Filter Toggle */
.filter-toggle-btn {
  display: none;
  width: 100%;
  padding: 14px 20px;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.filter-toggle-btn i { transition: transform 0.3s; }
.filter-toggle-btn.open i { transform: rotate(180deg); }

.filter-collapsible {
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}

@media (max-width: 900px) {
  .listings-grid { grid-template-columns: 1fr; }
  .filter-panel { position: static; order: -1; }
  .filter-toggle-btn { display: flex; }
  .filter-collapsible { max-height: 0; opacity: 0; }
  .filter-collapsible.open { max-height: 700px; opacity: 1; }
  .filter-panel { padding: 0; background: transparent; border-radius: 0; }
  .filter-panel h3 { display: none; }
  .filter-inner {
    background: var(--navy);
    border-radius: var(--radius);
    padding: 22px 20px 24px;
  }
  .filter-panel select,
  .filter-panel input[type="range"] { margin-bottom: 12px; }
}

/* Horizontal Cards */
.h-property-card {
  display: flex;
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: var(--card-shadow);
  transition: all 0.3s;
}

.h-property-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.h-card-img {
  width: 220px;
  min-width: 220px;
  position: relative;
  overflow: hidden;
}

.h-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.h-property-card:hover .h-card-img img { transform: scale(1.08); }

.h-card-tags {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.h-card-body {
  padding: 22px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.h-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.h-card-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 10px;
}

.h-card-loc {
  font-size: 12px;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 14px;
}

.h-card-feats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.h-feat { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); font-weight: 500; }
.h-feat i { color: var(--blue-light); font-size: 12px; }

/* Filter Box */
.filter-panel {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: 90px;
}

.filter-panel h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: #fff;
  font-weight: 600;
  margin-bottom: 24px;
  text-align: center;
}

.filter-panel select,
.filter-panel input {
  width: 100%;
  padding: 11px 14px;
  margin-bottom: 14px;
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.85);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  outline: none;
  transition: all 0.25s;
  appearance: none;
}

.filter-panel select:focus,
.filter-panel input:focus {
  border-color: var(--sky);
  background: rgba(255,255,255,0.1);
}

.filter-panel select option { background: var(--navy); color: #fff; }

.price-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

.price-label span { font-weight: 600; color: var(--sky); }

input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  background: transparent;
  margin-bottom: 6px;
}

input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 4px;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  background: var(--sky);
  border-radius: 50%;
  margin-top: -6px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(56,189,248,0.4);
}

.filter-search-btn {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, var(--sky), var(--blue-light));
  color: var(--navy);
  border: none;
  border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 6px;
  letter-spacing: 0.3px;
}

.filter-search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(56,189,248,0.4);
}

/* ===== TESTIMONIAL ===== */
.testimonial-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f0f7ff, var(--cream));
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.testimonial-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.25;
}

.testimonial-text p {
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 16px;
  font-size: 15px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.author-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--blue);
}

.author-info h4 { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 2px; }
.author-info span { font-size: 12px; color: var(--muted); }

.stars { color: var(--gold); font-size: 13px; letter-spacing: 2px; margin-top: 4px; }

.testimonial-img-wrap {
  position: relative;
}

.testimonial-img-wrap img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow-hover);
  display: block;
}

.testimonial-img-wrap::before {
  content: '"';
  font-family: 'Playfair Display', serif;
  font-size: 200px;
  color: rgba(26,86,219,0.07);
  position: absolute;
  top: -40px;
  left: -20px;
  line-height: 1;
  pointer-events: none;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand .logo-text { font-size: 20px; }

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  margin-top: 16px;
  margin-bottom: 20px;
}

.social-row {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  transition: all 0.25s;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.social-btn:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }

.footer-col h4 {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  color: #fff;
  font-weight: 600;
  margin-bottom: 18px;
  position: relative;
}

.footer-col h4::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--sky);
  border-radius: 2px;
  margin-top: 8px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--sky);
  border-radius: 50%;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-links a:hover::before { opacity: 1; }

.footer-contact-list { list-style: none; }
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
  line-height: 1.5;
}

.footer-contact-list i { color: var(--sky); margin-top: 2px; font-size: 13px; min-width: 14px; }

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.newsletter-form input {
  padding: 12px 16px;
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  outline: none;
  transition: all 0.25s;
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter-form input:focus { border-color: var(--sky); background: rgba(255,255,255,0.1); }

.newsletter-form button {
  padding: 12px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}

.newsletter-form button:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(26,86,219,0.4); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .menu { display: none; }
  .hamburger { display: flex; }
  .search-box { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial-img-wrap { order: -1; }
  .testimonial-img-wrap img { max-width: 380px; margin: 0 auto; }
}

@media (max-width: 640px) {
  .search-box { grid-template-columns: 1fr; padding: 20px; }
  .search-submit { justify-content: center; }
  .hero-stats { gap: 24px; }
  .cards-grid { grid-template-columns: 1fr; }
  .h-property-card { flex-direction: column; }
  .h-card-img { width: 100%; min-width: 0; height: 200px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* Desktop: filter-inner transparent so panel styles show */
@media (min-width: 901px) {
  .filter-inner { background: transparent; padding: 0; border-radius: 0; }
  .filter-collapsible { max-height: none !important; opacity: 1 !important; }
  .filter-toggle-btn { display: none !important; }
}
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}