/* ---------- CSS CUSTOM PROPERTIES ---------- */
:root {
  --bg:          #0A0F1E;
  --card:        #111827;
  --card-hover:  #141f35;
  --gold:        #C9A84C;
  --gold-light:  #e0c06e;
  --gold-dark:   #a8863a;
  --white:       #FFFFFF;
  --gray:        #9CA3AF;
  --gray-dark:   #6B7280;
  --border:      rgba(201, 168, 76, 0.15);
  --glass:       rgba(17, 24, 39, 0.7);
  --shadow:      0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-gold: 0 8px 32px rgba(201, 168, 76, 0.2);
  --radius:      12px;
  --radius-lg:   20px;
  --transition:  0.3s ease;
  --font-head:   'Playfair Display', serif;
  --font-body:   'Poppins', sans-serif;
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul { list-style: none; }

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
}

input, select, textarea {
  font-family: var(--font-body);
}

/* ---------- UTILITY ---------- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.gold-text { color: var(--gold); }

.glass-card {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0A0F1E;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: transparent;
  color: var(--gold);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 8px;
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-outline:hover {
  background: rgba(201, 168, 76, 0.1);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-header h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--gray);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- SCROLL ANIMATIONS ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.9s ease forwards;
}

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .fade-in { animation: none; opacity: 1; transform: none; }
  .reveal  { transition: none; }
}

/* ================= NAVBAR ================= */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(10, 15, 30, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-container {
  max-width: 1280px;
  margin: auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
}

.logo span { color: var(--gold-light); }

/* Desktop Nav */
.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link {
  color: var(--gray);
  font-size: 0.9rem;
  position: relative;
  transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active { color: var(--white); }

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.nav-cta { padding: 10px 20px; }

/* ================= HAMBURGER ================= */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 2001;
  padding: 4px;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================= MOBILE BACKDROP ================= */
.mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-backdrop.open {
  opacity: 1;
  visibility: visible;
}

/* ================= MOBILE MENU ================= */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(85vw, 340px);
  height: 100vh;
  background: linear-gradient(160deg, #0d1530 0%, #0a0f1e 55%, #0b1622 100%);
  border-left: 1px solid rgba(201, 168, 76, 0.18);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
  transition: right 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2000;
  overflow: hidden;
}

.mobile-menu.open { right: 0; }

/* Decorative gold top bar */
.mobile-menu::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Menu Header */
.mobile-menu-header {
  padding: 28px 28px 22px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
  display: flex;
  align-items: center;
}

.mobile-logo { font-size: 1.4rem; }

/* Nav list */
.mobile-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  padding: 12px 0;
  flex: 1;
}

/* Nav items — stagger animation */
.mobile-nav li {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.mobile-menu.open .mobile-nav li { opacity: 1; transform: translateX(0); }
.mobile-menu.open .mobile-nav li:nth-child(1) { transition-delay: 0.10s; }
.mobile-menu.open .mobile-nav li:nth-child(2) { transition-delay: 0.18s; }
.mobile-menu.open .mobile-nav li:nth-child(3) { transition-delay: 0.26s; }
.mobile-menu.open .mobile-nav li:nth-child(4) { transition-delay: 0.34s; }

/* Nav links */
.mobile-nav a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 17px 28px;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.62);
  border-left: 3px solid transparent;
  transition: all 0.25s ease;
}

.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--white);
  background: rgba(201, 168, 76, 0.07);
  border-left-color: var(--gold);
  padding-left: 32px;
}

/* Number prefix */
.mobile-nav-num {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
  min-width: 22px;
  opacity: 0.8;
}

/* Separator lines */
.mobile-nav li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* Footer CTA */
.mobile-menu-footer {
  padding: 24px 28px 32px;
  border-top: 1px solid rgba(201, 168, 76, 0.12);
}

.mobile-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 15px;
  font-size: 0.95rem;
  border-radius: 10px;
  letter-spacing: 0.3px;
}

/* ================= HERO SECTION ================= */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('./images/Background.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(10, 15, 30, 0.92) 0%,
    rgba(10, 15, 30, 0.75) 50%,
    rgba(10, 15, 30, 0.88) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 120px 24px 80px;
  animation-delay: 0.2s;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: 50px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-content h1 {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.hero-content > p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 48px;
  line-height: 1.8;
}

/* Hero Search */
.hero-search {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: rgba(17, 24, 39, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.search-field {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 160px;
  padding: 12px 20px;
  gap: 4px;
}

.search-field label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.search-field select {
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 0.95rem;
  font-family: var(--font-body);
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.search-field select option {
  background: #1a2540;
  color: var(--white);
}

.search-divider {
  width: 1px;
  background: var(--border);
  margin: 8px 0;
  align-self: stretch;
}

.hero-search-btn {
  margin: 4px;
  border-radius: 12px;
  padding: 14px 28px;
  flex-shrink: 0;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-sep {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-dot {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  position: relative;
}

.scroll-dot::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%, 100% { top: 6px; opacity: 1; }
  50%       { top: 20px; opacity: 0.3; }
}

/* ---------- FILTER SECTION ---------- */
.filter-section { padding: 80px 0 0; }

.filter-bar {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  padding: 28px;
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 160px;
}

.filter-group label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.filter-select {
  padding: 12px 36px 12px 16px;
  background: rgba(10, 15, 30, 0.7);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--white);
  font-size: 0.9rem;
  font-family: var(--font-body);
  outline: none;
  cursor: pointer;
  transition: border-color var(--transition);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.filter-select option { background: #1a2540; }
.filter-select:focus   { border-color: var(--gold); }

.filter-btn {
  align-self: flex-end;
  padding: 12px 24px;
  font-size: 0.875rem;
  height: 46px;
}

/* ---------- PROPERTIES GRID ---------- */
.properties-section { padding: 48px 0 80px; }

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

/* Property Card */
.property-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
  cursor: pointer;
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(201, 168, 76, 0.12), 0 8px 24px rgba(0, 0, 0, 0.4);
  border-color: rgba(201, 168, 76, 0.3);
}

.property-img-wrap {
  position: relative;
  overflow: hidden;
  height: 240px;
}

.property-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.property-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 14px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0A0F1E;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 50px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.property-badge.new  { background: linear-gradient(135deg, #4ade80, #16a34a); color: white; }
.property-badge.sold { background: linear-gradient(135deg, #f87171, #dc2626); color: white; }

/* Wishlist Heart */
.wishlist-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(10, 15, 30, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  z-index: 2;
}

.wishlist-btn:hover        { background: rgba(201, 168, 76, 0.15); border-color: var(--gold); }
.wishlist-btn svg          { transition: all var(--transition); }
.wishlist-btn.active svg   { fill: #ef4444; stroke: #ef4444; }

.property-body { padding: 24px; }

.property-price {
  font-family: var(--font-head);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}

.property-name {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.property-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gray);
  font-size: 0.875rem;
  margin-bottom: 16px;
}

.property-location svg { flex-shrink: 0; }

.property-meta {
  display: flex;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-bottom: 20px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--gray);
}

.meta-item svg { color: var(--gold); flex-shrink: 0; }

.view-btn {
  width: 100%;
  padding: 12px;
  justify-content: center;
  font-size: 0.875rem;
}

/* No results */
.no-results {
  text-align: center;
  padding: 80px 24px;
  color: var(--gray);
}

.no-results-icon { font-size: 4rem; margin-bottom: 16px; }

.no-results h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 8px;
}

.load-more-wrap { text-align: center; margin-top: 48px; }
.load-more-btn  { padding: 16px 48px; font-size: 1rem; }

/* ---------- WHY CHOOSE US ---------- */
.why-section {
  padding: 100px 0;
  position: relative;
}

.why-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.04) 0%, transparent 70%);
  pointer-events: none;
}

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

.why-card {
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
  border-color: rgba(201, 168, 76, 0.3);
}

.why-icon {
  width: 72px;
  height: 72px;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: all var(--transition);
}

.why-card:hover .why-icon {
  background: rgba(201, 168, 76, 0.14);
  box-shadow: 0 0 24px rgba(201, 168, 76, 0.15);
}

.why-card h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.why-card p { font-size: 0.875rem; color: var(--gray); line-height: 1.7; }

/* ---------- AGENTS SECTION ---------- */
.agents-section { padding: 0 0 100px; }

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

.agent-card {
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}

.agent-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
  border-color: rgba(201, 168, 76, 0.3);
}

.agent-img-wrap {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
}

.agent-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(201, 168, 76, 0.3);
}

.agent-badge {
  position: absolute;
  bottom: 0;
  right: -4px;
  padding: 3px 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0A0F1E;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 50px;
  letter-spacing: 0.3px;
}

.agent-info h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.agent-role {
  font-size: 0.8rem;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}

.agent-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--gray);
  margin-bottom: 20px;
}

.agent-btn {
  width: 100%;
  justify-content: center;
  padding: 12px;
  font-size: 0.85rem;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials-section {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent, rgba(201,168,76,0.03), transparent);
}

.testimonials-slider {
  position: relative;
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  flex: 0 0 100%;
  padding: 48px;
  margin: 0 auto;
  max-width: 800px;
  text-align: center;
}

.stars {
  color: var(--gold);
  font-size: 1.3rem;
  letter-spacing: 4px;
  margin-bottom: 24px;
}

.testimonial-text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.9;
  font-style: italic;
  margin-bottom: 32px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.testimonial-author img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
}

.testimonial-author strong { display: block; font-weight: 600; font-size: 1rem; }
.testimonial-author span  { font-size: 0.8rem; color: var(--gold); }

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--glass);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}

.slider-btn:hover {
  background: rgba(201, 168, 76, 0.15);
  border-color: var(--gold);
  color: var(--gold);
}

.slider-dots { display: flex; gap: 8px; align-items: center; }

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-dark);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--gold);
}

/* ---------- CONTACT SECTION ---------- */
.contact-section { padding: 100px 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-form-wrap { padding: 40px; }

.form-group { margin-bottom: 24px; }

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(10, 15, 30, 0.6);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--white);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition);
  resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-dark); }

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.04);
}

.form-group input.error,
.form-group textarea.error { border-color: #ef4444; }

.error-msg {
  display: block;
  color: #ef4444;
  font-size: 0.78rem;
  margin-top: 6px;
  min-height: 18px;
}

.form-submit { width: 100%; justify-content: center; padding: 16px; font-size: 1rem; }

.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px 20px;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: 8px;
  color: #4ade80;
  font-size: 0.9rem;
  text-align: center;
}

.contact-info { display: flex; flex-direction: column; gap: 16px; }

.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
}

.contact-icon {
  width: 46px;
  height: 46px;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.contact-detail span { font-size: 0.9rem; color: var(--gray); }
.contact-detail a    { color: var(--gray); transition: color var(--transition); }
.contact-detail a:hover { color: var(--gold); }

.map-embed { padding: 6px; overflow: hidden; height: 240px; }

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
  filter: grayscale(30%) invert(85%) hue-rotate(180deg);
  opacity: 0.85;
}

/* ---------- FOOTER ---------- */
.footer {
  background: #070c18;
  border-top: 1px solid var(--border);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand .logo {
  font-size: 1.5rem;
  display: inline-block;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 280px;
}

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

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--glass);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  transition: all var(--transition);
}

.social-icon:hover {
  background: rgba(201, 168, 76, 0.12);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--gold);
}

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

.footer-col ul li a {
  font-size: 0.875rem;
  color: var(--gray);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col ul li a:hover { color: var(--gold); padding-left: 6px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p    { font-size: 0.85rem; color: var(--gray-dark); }
.footer-legal       { display: flex; gap: 24px; }

.footer-legal a {
  font-size: 0.8rem;
  color: var(--gray-dark);
  transition: color var(--transition);
}

.footer-legal a:hover { color: var(--gold); }

/* ---------- WHATSAPP BUTTON ---------- */
.whatsapp-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: #25D366;
  color: white;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.35);
  transition: all var(--transition);
  animation: waPulse 3s infinite;
}

.whatsapp-btn:hover {
  background: #1ebe5d;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.5);
  animation: none;
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(37, 211, 102, 0.35); }
  50%       { box-shadow: 0 8px 48px rgba(37, 211, 102, 0.55); }
}

/* ---------- BACK TO TOP ---------- */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 32px;
  z-index: 900;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--gold);
  color: #0A0F1E;
  transform: translateY(-2px);
}

/* ---------- MODAL ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 30, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.open { opacity: 1; visibility: visible; }

.modal {
  background: #111827;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.modal-overlay.open .modal { transform: scale(1); }

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}

.modal-close:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: #ef4444;
  color: #ef4444;
}

.modal-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.modal-body { padding: 36px; }

.modal-price {
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 8px;
}

.modal-name { font-size: 1.4rem; font-weight: 600; margin-bottom: 12px; }

.modal-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gray);
  margin-bottom: 24px;
}

.modal-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.modal-stat-item {
  background: rgba(201, 168, 76, 0.06);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
}

.modal-stat-item .value {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold);
  display: block;
}

.modal-stat-item .label {
  font-size: 0.75rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
  display: block;
}

.modal-desc { color: var(--gray); font-size: 0.9rem; line-height: 1.8; margin-bottom: 28px; }

.modal-features { margin-bottom: 28px; }

.modal-features h4 {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.modal-features ul { display: flex; flex-wrap: wrap; gap: 10px; }

.modal-features li {
  padding: 6px 16px;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.82rem;
  color: var(--gray);
}

.modal-actions { display: flex; gap: 16px; }

.modal-actions .btn-gold,
.modal-actions .btn-outline { flex: 1; justify-content: center; padding: 14px; }

/* ---------- RESPONSIVE ---------- */

/* Large Desktop */
@media (max-width: 1200px) {
  .properties-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid        { grid-template-columns: repeat(2, 1fr); }
  .agents-grid     { grid-template-columns: repeat(2, 1fr); }
  .footer-grid     { grid-template-columns: 1fr 1fr; gap: 36px; }
}

/* Tablet */
@media (max-width: 900px) {
  .nav-links  { display: none; }
  .hamburger  { display: flex; }

  .hero { background-attachment: scroll; }

  .hero-search {
    flex-direction: column;
    gap: 0;
    padding: 12px;
  }

  .search-field { min-width: auto; }
  .search-divider { width: auto; height: 1px; margin: 0; }

  .hero-search-btn {
    width: calc(100% - 8px);
    justify-content: center;
  }

  .contact-grid  { grid-template-columns: 1fr; }
  .modal-stats   { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 640px) {
  .properties-grid { grid-template-columns: 1fr; }
  .why-grid        { grid-template-columns: 1fr; }
  .agents-grid     { grid-template-columns: 1fr; }

  .filter-bar    { flex-direction: column; gap: 16px; }
  .filter-group  { min-width: 100%; }
  .filter-btn    { width: 100%; justify-content: center; }

  .hero-stats    { gap: 16px; }
  .stat-sep      { display: none; }

  .footer-grid   { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .testimonial-card  { padding: 28px 20px; }
  .testimonial-text  { font-size: 0.95rem; }

  .modal-stats   { grid-template-columns: repeat(2, 1fr); }
  .modal-actions { flex-direction: column; }

  .whatsapp-btn span { display: none; }
  .whatsapp-btn { padding: 14px; border-radius: 50%; }

  .back-to-top { bottom: 88px; right: 20px; }

  .hero-content h1     { font-size: 2.2rem; }
  .contact-form-wrap   { padding: 24px; }
}

@media (max-width: 400px) {
  .hero-content h1 { font-size: 1.9rem; }
  .modal-body      { padding: 20px; }
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--gold), var(--gold-dark));
  border-radius: 3px;
}
