/* ==========================================================
   TEMPLO PREMIUM V7 — REAL ESTATE
   Colors: Dark #111827 | Blue #1e3a5f | Gold #c9a84c
   ========================================================== */

/* ---- Reset & Base ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #0a0f1a;
  color: #e2e8f0;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 { font-weight: 600; line-height: 1.3; }
a { color: #c9a84c; text-decoration: none; transition: color 0.3s ease; }
a:hover { color: #dfc06a; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---- Gold Accent Utilities ---- */
.gold { color: #c9a84c; }
.gold-border { border-color: #c9a84c; }
.gold-bg { background-color: #c9a84c; }
.gold-bg:hover { background-color: #dfc06a; }
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #c9a84c;
  margin-bottom: 12px;
}
.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem;
  color: #94a3b8;
  max-width: 600px;
}
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-primary {
  background: #c9a84c;
  color: #111827;
}
.btn-primary:hover {
  background: #dfc06a;
  color: #111827;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.25);
}
.btn-outline {
  background: transparent;
  color: #c9a84c;
  border: 2px solid #c9a84c;
}
.btn-outline:hover {
  background: #c9a84c;
  color: #111827;
  transform: translateY(-2px);
}
.btn-dark {
  background: #1e3a5f;
  color: #f1f5f9;
}
.btn-dark:hover {
  background: #2a4f7a;
  transform: translateY(-2px);
}
.btn-sm { padding: 10px 22px; font-size: 0.82rem; }
.btn-lg { padding: 16px 40px; font-size: 1rem; }

/* ---- Header / Nav ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(17,24,39,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.12);
  transition: background 0.3s ease;
}
.header.scrolled {
  background: rgba(10,15,26,0.97);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 700;
  color: #f1f5f9;
}
.logo-icon {
  width: 38px; height: 38px;
  background: #c9a84c;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #111827;
}
.logo span { color: #c9a84c; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: #cbd5e1;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #c9a84c;
  transition: width 0.3s ease;
}
.nav-links a:hover, .nav-links a.active { color: #c9a84c; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { margin-left: 8px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  width: 26px; height: 2px;
  background: #e2e8f0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ---- Hero Section ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a0f1a 0%, #111827 40%, #1e3a5f 100%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(201,168,76,0.06) 0%, transparent 60%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 120px 24px 80px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 50px;
  font-size: 0.8rem;
  color: #c9a84c;
  margin-bottom: 24px;
  letter-spacing: 1px;
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  color: #f1f5f9;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero-title .gold { display: block; }
.hero-text {
  font-size: 1.15rem;
  color: #94a3b8;
  max-width: 560px;
  margin: 0 auto 36px;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- Search Bar ---- */
.search-bar {
  position: relative;
  z-index: 2;
  margin-top: -40px;
  background: #1a2332;
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 12px;
  padding: 28px 32px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: flex-end;
}
.search-bar .field { flex: 1; min-width: 160px; }
.search-bar label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #94a3b8;
  margin-bottom: 6px;
}
.search-bar select,
.search-bar input {
  width: 100%;
  padding: 12px 14px;
  background: #0f1625;
  border: 1px solid #2a3550;
  border-radius: 6px;
  color: #e2e8f0;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border 0.3s ease;
}
.search-bar select:focus,
.search-bar input:focus {
  border-color: #c9a84c;
}
.search-bar .btn { height: 44px; white-space: nowrap; }

/* ---- Sections ---- */
.section { padding: 100px 0; }
.section-dark { background: #0f1625; }
.section-darker { background: #0a0f1a; }
.section-blue { background: #111827; }

/* ---- Property Cards ---- */
.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.property-card {
  background: #141d2b;
  border: 1px solid rgba(201,168,76,0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s ease;
}
.property-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201,168,76,0.25);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.card-image {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: #1a2332;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.property-card:hover .card-image img { transform: scale(1.08); }
.card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 14px;
  background: #c9a84c;
  color: #111827;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.card-status {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 14px;
  background: rgba(17,24,39,0.85);
  color: #e2e8f0;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 4px;
  border: 1px solid rgba(201,168,76,0.2);
}
.card-body { padding: 22px 24px 24px; }
.card-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #c9a84c;
  margin-bottom: 4px;
}
.card-price span { font-size: 0.85rem; color: #64748b; font-weight: 400; }
.card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 4px;
}
.card-location {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 14px;
}
.card-features {
  display: flex;
  gap: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.card-features span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: #94a3b8;
}

/* ---- Why Us (Features) ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.feature-card {
  background: #141d2b;
  border: 1px solid rgba(201,168,76,0.08);
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  transition: all 0.3s ease;
}
.feature-card:hover {
  border-color: rgba(201,168,76,0.2);
  transform: translateY(-4px);
}
.feature-icon {
  width: 60px; height: 60px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #1e3a5f, #2a4f7a);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.feature-card h3 {
  font-size: 1.1rem;
  color: #f1f5f9;
  margin-bottom: 10px;
}
.feature-card p { font-size: 0.9rem; color: #94a3b8; }

/* ---- Testimonials ---- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.testimonial-card {
  background: #141d2b;
  border: 1px solid rgba(201,168,76,0.08);
  border-radius: 12px;
  padding: 32px;
}
.testi-stars { color: #c9a84c; font-size: 1rem; margin-bottom: 14px; }
.testi-text { font-size: 0.92rem; color: #94a3b8; font-style: italic; margin-bottom: 20px; }
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e3a5f, #2a4f7a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #c9a84c;
}
.testi-name { font-weight: 600; color: #f1f5f9; font-size: 0.9rem; }
.testi-role { font-size: 0.8rem; color: #64748b; }

/* ---- Footer ---- */
.footer {
  background: #070b12;
  border-top: 1px solid rgba(201,168,76,0.08);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p { color: #64748b; font-size: 0.88rem; margin-top: 16px; max-width: 320px; }
.footer h4 {
  color: #f1f5f9;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: #64748b; font-size: 0.88rem; transition: color 0.3s ease; }
.footer ul a:hover { color: #c9a84c; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { color: #475569; font-size: 0.82rem; }
.social-links { display: flex; gap: 14px; }
.social-links a {
  width: 38px; height: 38px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}
.social-links a:hover {
  border-color: #c9a84c;
  color: #c9a84c;
  background: rgba(201,168,76,0.08);
}

/* ---- Page Header ---- */
.page-header {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, #0a0f1a 0%, #111827 50%, #1e3a5f 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(201,168,76,0.05) 0%, transparent 60%);
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: 12px;
}
.page-header p { color: #94a3b8; font-size: 1.05rem; max-width: 500px; margin: 0 auto; }

/* ---- Property Detail Page ---- */
.property-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 300px 300px;
  gap: 12px;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 48px;
}
.property-gallery .main-img {
  grid-row: 1 / -1;
  background: #1a2332;
}
.property-gallery .side-img { background: #1a2332; }
.property-gallery > div img {
  width: 100%; height: 100%; object-fit: cover;
}
.property-detail-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  margin-top: 48px;
}
.detail-section { margin-bottom: 40px; }
.detail-section h2 {
  font-size: 1.3rem;
  color: #f1f5f9;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201,168,76,0.1);
}
.detail-section p { color: #94a3b8; font-size: 0.92rem; line-height: 1.8; }
.detail-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}
.detail-features-grid li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  font-size: 0.88rem;
  list-style: none;
  padding: 8px 0;
}
.detail-features-grid li::before {
  content: '✦';
  color: #c9a84c;
  font-size: 0.7rem;
}

/* Sidebar Widget */
.sidebar-widget {
  background: #141d2b;
  border: 1px solid rgba(201,168,76,0.1);
  border-radius: 12px;
  padding: 28px;
  position: sticky;
  top: 100px;
}
.sidebar-widget .price-big {
  font-size: 2rem;
  font-weight: 700;
  color: #c9a84c;
  margin-bottom: 20px;
}
.sidebar-widget .price-big span { font-size: 1rem; color: #64748b; font-weight: 400; }
.sidebar-info { margin-bottom: 20px; }
.sidebar-info .row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.88rem;
}
.sidebar-info .row .label { color: #64748b; }
.sidebar-info .row .value { color: #e2e8f0; font-weight: 500; }
.sidebar-widget .btn { width: 100%; justify-content: center; margin-bottom: 10px; }

/* ---- Agents ---- */
.agents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.agent-card {
  background: #141d2b;
  border: 1px solid rgba(201,168,76,0.08);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
}
.agent-card:hover {
  border-color: rgba(201,168,76,0.2);
  transform: translateY(-4px);
}
.agent-avatar {
  width: 96px; height: 96px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e3a5f, #2a4f7a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 600;
  color: #c9a84c;
  border: 3px solid rgba(201,168,76,0.15);
}
.agent-card h3 { font-size: 1.1rem; color: #f1f5f9; margin-bottom: 4px; }
.agent-role { color: #c9a84c; font-size: 0.82rem; font-weight: 500; margin-bottom: 10px; }
.agent-desc { font-size: 0.85rem; color: #64748b; margin-bottom: 16px; }
.agent-contact { display: flex; justify-content: center; gap: 10px; }
.agent-contact a {
  width: 36px; height: 36px;
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: all 0.3s;
  font-size: 0.85rem;
}
.agent-contact a:hover {
  border-color: #c9a84c;
  color: #c9a84c;
  background: rgba(201,168,76,0.08);
}

/* ---- Contact Form ---- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
}
.contact-form {
  background: #141d2b;
  border: 1px solid rgba(201,168,76,0.08);
  border-radius: 12px;
  padding: 36px;
}
.contact-form .form-group { margin-bottom: 20px; }
.contact-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: #cbd5e1;
  margin-bottom: 6px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  background: #0f1625;
  border: 1px solid #2a3550;
  border-radius: 6px;
  color: #e2e8f0;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border 0.3s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #c9a84c;
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form .btn { width: 100%; justify-content: center; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-card {
  background: #141d2b;
  border: 1px solid rgba(201,168,76,0.08);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-card-icon {
  width: 48px; height: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, #1e3a5f, #2a4f7a);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.contact-card h4 { font-size: 0.95rem; color: #f1f5f9; margin-bottom: 4px; }
.contact-card p { font-size: 0.85rem; color: #94a3b8; }

/* ---- About Page ---- */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 48px;
}
.about-image {
  border-radius: 12px;
  overflow: hidden;
  background: #1a2332;
  aspect-ratio: 4/3;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-text h2 { font-size: 1.8rem; color: #f1f5f9; margin-bottom: 16px; }
.about-text p { color: #94a3b8; margin-bottom: 14px; font-size: 0.95rem; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.stat-item { text-align: center; }
.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #c9a84c;
}
.stat-label { font-size: 0.85rem; color: #64748b; margin-top: 4px; }

/* ---- Filter Bar (Listings) ---- */
.filter-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(201,168,76,0.08);
}
.filter-bar select,
.filter-bar input {
  padding: 10px 14px;
  background: #0f1625;
  border: 1px solid #2a3550;
  border-radius: 6px;
  color: #e2e8f0;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  outline: none;
  transition: border 0.3s ease;
}
.filter-bar select:focus,
.filter-bar input:focus { border-color: #c9a84c; }
.filter-bar .btn { height: 42px; }
.results-count { color: #64748b; font-size: 0.85rem; margin-left: auto; }

/* ---- Breadcrumbs ---- */
.breadcrumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 12px;
}
.breadcrumbs a { color: #94a3b8; }
.breadcrumbs a:hover { color: #c9a84c; }
.breadcrumbs .sep { color: #475569; }

/* ---- Newsletter ---- */
.newsletter {
  background: linear-gradient(135deg, #1e3a5f, #111827);
  border-radius: 12px;
  padding: 60px 40px;
  text-align: center;
  margin-top: 60px;
}
.newsletter h2 { font-size: 1.6rem; color: #f1f5f9; margin-bottom: 10px; }
.newsletter p { color: #94a3b8; margin-bottom: 24px; }
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 6px;
  color: #e2e8f0;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  outline: none;
}
.newsletter-form input:focus { border-color: #c9a84c; }
.newsletter-form input::placeholder { color: #64748b; }

/* ---- CTA Section ---- */
.cta-section {
  background: linear-gradient(135deg, #111827 0%, #1e3a5f 100%);
  border-radius: 12px;
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.06) 0%, transparent 70%);
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { font-size: 1.8rem; color: #f1f5f9; margin-bottom: 12px; }
.cta-section p { color: #94a3b8; margin-bottom: 28px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .property-detail-layout { grid-template-columns: 1fr; }
  .sidebar-widget { position: static; }
  .about-content { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .property-gallery { grid-template-columns: 1fr; grid-template-rows: 300px 200px 200px; }
  .property-gallery .main-img { grid-row: auto; }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(10,15,26,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(201,168,76,0.12);
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .nav-cta { display: none; }
  .hero-title { font-size: 2rem; }
  .search-bar { flex-direction: column; margin-top: -20px; padding: 20px; }
  .search-bar .field { min-width: 100%; }
  .section { padding: 60px 0; }
  .property-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .agents-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-number { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .newsletter { padding: 40px 24px; }
  .newsletter-form { flex-direction: column; }
  .cta-section { padding: 40px 24px; }
  .contact-form { padding: 24px; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .results-count { margin-left: 0; }
}
