/* ============================================================
   Austin Munday Realty — Master Stylesheet
   Domain: austinmundayrealestate.com
   Brokerage: Roost Realty Group
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Montserrat:wght@600;700;800&display=swap');

/* --- CSS Variables --- */
:root {
  /* Primary — Deep Navy */
  --navy:        #1a2332;
  --navy-light:  #243044;
  --navy-dark:   #111827;

  /* Accent — Warm Gold/Copper */
  --gold:        #c8956c;
  --gold-light:  #d4a882;
  --gold-dark:   #b07d56;
  --gold-glow:   rgba(200, 149, 108, 0.15);

  /* Neutral */
  --white:       #ffffff;
  --gray-50:     #f8fafc;
  --gray-100:    #f1f5f9;
  --gray-200:    #e2e8f0;
  --gray-300:    #cbd5e1;
  --gray-400:    #94a3b8;
  --gray-500:    #64748b;
  --gray-600:    #475569;
  --gray-700:    #334155;
  --gray-800:    #1e293b;
  --gray-900:    #0f172a;

  /* Functional */
  --green:       #22c55e;
  --green-dark:  #16a34a;
  --red:         #ef4444;

  /* Shadows */
  --shadow-sm:   0 1px 2px rgba(0,0,0,0.05);
  --shadow:      0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg:   0 10px 25px -5px rgba(0,0,0,0.15), 0 8px 10px -6px rgba(0,0,0,0.1);
  --shadow-xl:   0 20px 50px -12px rgba(0,0,0,0.25);

  /* Radius */
  --radius:      8px;
  --radius-lg:   12px;
  --radius-xl:   16px;

  /* Transitions */
  --transition:  0.3s ease;
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-dark); }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); margin-bottom: 0.75rem; }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); margin-bottom: 0.5rem; }
h4 { font-size: 1.125rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; color: var(--gray-600); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.bg-navy { background: var(--navy); }
.bg-warm { background: var(--gray-50); }
.bg-cream { background: #faf8f5; }
.section-padding { padding: 5rem 0; }
.section-padding-sm { padding: 3rem 0; }

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  font-family: 'Montserrat', sans-serif;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-500);
  max-width: 650px;
  margin: 0 auto 2.5rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-dark:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-call {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-call:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-sm { padding: 0.625rem 1.25rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.1rem; }

/* --- Top Bar --- */
.top-bar {
  background: var(--navy-dark);
  color: var(--gray-300);
  font-size: 0.8rem;
  padding: 0.5rem 0;
  overflow: visible;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
}
.top-bar a {
  color: var(--gray-300);
  transition: color var(--transition);
  white-space: nowrap;
  font-size: 0.78rem;
}
.top-bar a:hover { color: var(--gold-light); }
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 1;
  min-width: 0;
}
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.73rem;
  flex-shrink: 1;
  min-width: 0;
}
.top-bar-right span { opacity: 0.7; white-space: nowrap; }
@media (max-width: 1100px) {
  .top-bar .container { justify-content: center; text-align: center; }
  .top-bar-left, .top-bar-right { width: 100%; justify-content: center; flex-wrap: wrap; }
}

/* --- Header --- */
.header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.header.scrolled { box-shadow: var(--shadow); }

.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.logo-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.logo-tagline {
  font-size: 0.7rem;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.nav a {
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0.6rem;
  white-space: nowrap;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.nav a:hover,
.nav a.active {
  color: var(--gold);
  background: var(--gold-glow);
}

/* Services dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown > a::after {
  content: ' ▾';
  font-size: 0.7rem;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: 0.5rem 0;
  z-index: 100;
  list-style: none;
}
.dropdown-menu li a {
  display: block;
  padding: 0.625rem 1.25rem;
  font-size: 0.9rem;
  border-radius: 0;
}
.dropdown-menu li a:hover {
  background: var(--gray-50);
}
.nav-dropdown:hover .dropdown-menu { display: block; }

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
.header-phone {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
  white-space: nowrap;
}
.header-phone:hover { color: var(--gold); }

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- Hero Video Section --- */
.hero-video-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy-dark);
}
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(26,35,50,0.85) 0%, rgba(17,24,39,0.70) 50%, rgba(200,149,108,0.20) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-welcome {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}
.hero-headshot {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.hero-welcome-text {
  text-align: left;
}
.hero-welcome-text h1 {
  margin-bottom: 0;
}
.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border: 1px solid rgba(200,149,108,0.5);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
}
.hero-content h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 6vw, 3.75rem);
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  margin-bottom: 1rem;
}
.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Hero Inner (for inner pages) --- */
.hero-inner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 4rem 0 3rem;
  text-align: center;
}
.hero-inner h1 {
  color: var(--white);
  margin-bottom: 0.75rem;
}
.hero-inner p {
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto;
}

/* Breadcrumbs */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
}
.breadcrumb a {
  color: var(--gold-light);
}
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.5); }
.breadcrumb .current { color: rgba(255,255,255,0.7); }

/* --- Service Cards --- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid var(--gray-200);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.service-card-img {
  height: 220px;
  overflow: hidden;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.service-card:hover .service-card-img img { transform: scale(1.05); }
.service-card-img .placeholder-img {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--gold) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
}
.service-card-body {
  padding: 1.5rem;
}
.service-card-body h3 { margin-bottom: 0.75rem; }

/* --- Why / Feature Cards --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.why-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}
.why-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.why-icon {
  width: 56px;
  height: 56px;
  background: var(--gold-glow);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* --- Area Cards --- */
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.area-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  text-decoration: none;
  display: block;
  border: 1px solid var(--gray-200);
}
.area-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.area-card-img {
  height: 160px;
  overflow: hidden;
}
.area-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.area-card:hover .area-card-img img { transform: scale(1.05); }
.area-card-img .placeholder-img {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--gold) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
}
.area-card-body {
  padding: 1.25rem;
}
.area-card-body h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.area-card-body p {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin: 0;
}

/* --- Listing Cards (Phase 2 ready) --- */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.listing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.listing-card-img {
  height: 200px;
  position: relative;
  overflow: hidden;
}
.listing-card-img img,
.listing-card-img .placeholder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.listing-card-img .placeholder-img {
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--gold) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
}
.listing-price {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius);
  font-size: 1.1rem;
}
.listing-card-body {
  padding: 1.25rem;
}
.listing-card-body h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.listing-specs {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 0.5rem;
}
.listing-specs span { display: flex; align-items: center; gap: 0.25rem; }
.listing-address {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin: 0;
}

/* --- Testimonial Cards --- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.testimonial-card-img {
  width: 100%;
  height: 180px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.25rem;
}
.testimonial-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.testimonial-stars {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  letter-spacing: 2px;
}
.testimonial-text {
  font-style: italic;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.testimonial-author {
  font-weight: 600;
  color: var(--navy);
  margin: 0;
}

/* --- Blog Cards --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  text-decoration: none;
  display: block;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.blog-card-img {
  height: 200px;
  overflow: hidden;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-card-img .placeholder-img {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--gold) 100%);
}
.blog-card-body {
  padding: 1.5rem;
}
.blog-card-date {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}
.blog-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}
.blog-card-body h3 a { color: var(--navy); }
.blog-card-body h3 a:hover { color: var(--gold); }
.blog-card-excerpt {
  font-size: 0.9rem;
  color: var(--gray-500);
}

/* --- Blog Content (long-form) --- */
.blog-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
.blog-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.blog-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.blog-content p {
  font-size: 1.05rem;
  line-height: 1.8;
}
.blog-content ul, .blog-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--gray-600);
}
.blog-content li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}
.blog-content img {
  border-radius: var(--radius-lg);
  margin: 2rem 0;
  box-shadow: var(--shadow);
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: var(--gray-500);
}

/* --- Process Steps --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  counter-reset: step;
}
.process-step {
  text-align: center;
  padding: 1.5rem;
}
.process-step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  width: 48px;
  height: 48px;
  background: var(--gold);
  color: var(--white);
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.2rem;
  font-family: 'Montserrat', sans-serif;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.process-step h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.process-step p { font-size: 0.9rem; }

/* --- Service Detail Grid (alternating) --- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }
.service-detail-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.service-detail-img img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}
.service-detail-img img.headshot {
  height: auto;
  object-fit: contain;
}
.service-detail-img .placeholder-img {
  width: 100%;
  height: 350px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--gold) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
}
.service-detail-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.service-detail-content ul {
  list-style: none;
  margin: 1rem 0;
}
.service-detail-content ul li {
  padding: 0.375rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--gray-600);
}
.service-detail-content ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* --- Gallery Grid --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform var(--transition);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-caption {
  padding: 0.75rem 1rem;
  background: var(--white);
  font-size: 0.85rem;
  color: var(--gray-600);
}

/* --- Stats Bar --- */
.stats-bar {
  background: var(--navy);
  padding: 3rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-item h3 {
  color: var(--gold);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.25rem;
}
.stat-item p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin: 0;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, #0d1a2a 100%);
  padding: 5rem 0;
  text-align: center;
}
.cta-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
}
.cta-section p {
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- About Preview Section --- */
.about-preview {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: center;
}
.about-preview-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-preview-img img {
  width: 100%;
  height: auto;
}

/* --- Contact Grid --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}
.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--gray-50);
  border-radius: var(--radius);
}
.contact-info-card .icon {
  width: 44px;
  height: 44px;
  background: var(--gold-glow);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.contact-info-card h4 { margin-bottom: 0.25rem; }
.contact-info-card p { margin: 0; font-size: 0.9rem; }
.contact-info-card a {
  color: var(--gold);
  font-weight: 600;
}
.phone-large {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green);
}
.phone-large:hover { color: var(--green-dark); }

/* --- Forms --- */
.form-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.375rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  color: var(--gray-800);
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-submit {
  width: 100%;
  padding: 1rem;
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 1.05rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all var(--transition);
}
.form-submit:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* --- FAQ Accordion --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: var(--white);
  border: none;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition);
  font-family: 'Inter', sans-serif;
}
.faq-question:hover { background: var(--gray-50); }
.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--gold);
  transition: transform var(--transition);
}
.faq-item.active .faq-question::after {
  content: '−';
}
.faq-item.active .faq-question {
  background: var(--gray-50);
}
.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  color: var(--gray-600);
  line-height: 1.7;
}
.faq-item.active .faq-answer { display: block; }

/* --- Nearby Areas --- */
.nearby-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}
.nearby-areas a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 1rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy);
  transition: all var(--transition);
}
.nearby-areas a:hover {
  background: var(--gold-glow);
  border-color: var(--gold);
  color: var(--gold-dark);
}

/* --- Search Placeholder --- */
.search-placeholder {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  border: 2px dashed var(--gray-300);
  max-width: 700px;
  margin: 0 auto;
}
.search-placeholder h2 {
  margin-bottom: 1rem;
}
.search-placeholder p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* --- Map Embed --- */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 2rem;
}
.map-container iframe {
  width: 100%;
  height: 350px;
  border: none;
}

/* --- Brokerage Disclosure --- */
.brokerage-disclosure {
  font-size: 0.75rem;
  color: var(--gray-400);
  line-height: 1.5;
  margin-top: 0.5rem;
}

/* --- Footer --- */
.footer {
  background: var(--navy);
  color: var(--gray-400);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
.footer-brand p {
  color: var(--gray-400);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.footer-phone {
  color: var(--gold-light);
  font-size: 1.25rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
}
.footer-phone:hover { color: var(--gold); }
.footer-email {
  color: var(--gray-400);
  font-size: 0.9rem;
}
.footer-email:hover { color: var(--white); }
.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
  font-family: 'Montserrat', sans-serif;
}
.footer-links {
  list-style: none;
}
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
  color: var(--gray-400);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray-500);
}
.footer-bottom p { color: var(--gray-500); margin-bottom: 0.25rem; }

/* --- Mobile Sticky CTA --- */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--green);
  padding: 0.875rem 1.5rem;
  text-align: center;
}
.mobile-cta a {
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.mobile-cta a:hover { color: var(--white); }

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .service-detail {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .service-detail.reverse { direction: ltr; }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .about-preview {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-preview-img {
    max-width: 300px;
    margin: 0 auto;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* Top bar */
  .top-bar { display: none; }

  /* Navigation */
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--gray-200);
  }
  .nav.active { display: flex; }
  .nav a {
    width: 100%;
    padding: 0.75rem 1rem;
  }

  /* Dropdown on mobile */
  .nav-dropdown > a::after { content: ''; }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    display: block;
    padding-left: 1rem;
  }
  .dropdown-menu li a {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .nav-toggle { display: flex; }
  .header-cta .btn { display: none; }

  /* Hero */
  .hero-video-section { min-height: 75vh; }
  .hero-content h1 { font-size: clamp(1.75rem, 5vw, 2.5rem); }
  .hero-welcome { flex-direction: column; gap: 1rem; }
  .hero-welcome-text { text-align: center; }
  .hero-headshot { width: 110px; height: 110px; }
  .logo-photo { width: 48px; height: 48px; }

  /* Sections */
  .section-padding { padding: 3rem 0; }
  .service-grid,
  .why-grid,
  .blog-grid { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  /* Mobile CTA */
  .mobile-cta { display: block; }
  body { padding-bottom: 70px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .area-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }
  .gallery-grid { grid-template-columns: 1fr; }
  .listing-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   IDX / MLS Listing Styles — Phase 2
   ============================================================ */

/* --- Property Search Form --- */
.search-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 3rem 0;
}
.search-section h2 {
  color: var(--white);
  text-align: center;
  margin-bottom: 0.5rem;
}
.search-section .section-subtitle {
  color: rgba(255,255,255,0.7);
  text-align: center;
  margin-bottom: 2rem;
}
.search-form {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
  align-items: end;
}
.search-form .form-group {
  display: flex;
  flex-direction: column;
}
.search-form label {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.search-form select {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all var(--transition);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}
.search-form select:focus {
  outline: none;
  border-color: var(--gold);
  background-color: rgba(255,255,255,0.15);
}
.search-form select option {
  background: var(--navy);
  color: var(--white);
}
.search-form .btn-search {
  padding: 0.75rem 2rem;
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  transition: all var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  height: fit-content;
  align-self: end;
}
.search-form .btn-search:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Search page specific (light background version) */
.search-filters {
  background: var(--gray-50);
  padding: 2rem 0;
  border-bottom: 1px solid var(--gray-200);
}
.search-filters .search-form {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
.search-filters label {
  color: var(--gray-600);
}
.search-filters select {
  background: var(--white);
  color: var(--navy);
  border-color: var(--gray-300);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23334155' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
}
.search-filters select:focus {
  border-color: var(--gold);
  background-color: var(--white);
  box-shadow: 0 0 0 3px var(--gold-glow);
}
.search-filters select option {
  background: var(--white);
  color: var(--navy);
}

/* Search toolbar (results count + sort) */
.search-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.search-toolbar .results-count {
  font-size: 0.95rem;
  color: var(--gray-600);
}
.search-toolbar .results-count strong {
  color: var(--navy);
}
.search-toolbar select {
  padding: 0.5rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  color: var(--navy);
  background: var(--white);
}

/* --- Listing Cards Grid --- */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.listing-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.listing-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}
.listing-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--gray-200);
}
.listing-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.listing-card:hover .listing-card-img img {
  transform: scale(1.05);
}
.listing-card-price {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  background: var(--navy);
  color: var(--white);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  font-size: 1.1rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
}
.listing-card-info {
  padding: 1rem 1.25rem;
}
.listing-card-address {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.25rem;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.listing-card-city {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 0.75rem;
}
.listing-card-details {
  display: flex;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}
.listing-card-details span {
  white-space: nowrap;
}
.listing-card-office {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-bottom: 0;
  font-style: italic;
}

/* --- Listing Card Skeleton Loading --- */
.listing-card.skeleton {
  pointer-events: none;
}
.skeleton-img {
  height: 220px;
  background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
  background-size: 200% 100%;
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}
.skeleton-text {
  height: 1rem;
  margin: 0.75rem 1.25rem;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
  background-size: 200% 100%;
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}
.skeleton-text.short {
  width: 60%;
}
.skeleton-text.tiny {
  width: 40%;
  height: 0.75rem;
}
@keyframes skeleton-pulse {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* --- Listings Loading / Empty State --- */
.listings-loading {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--gray-500);
}
.loading-spinner {
  width: 40px;
  height: 40px;
  margin: 0 auto 1rem;
  border: 3px solid var(--gray-200);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.listings-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--gray-500);
}
.listings-empty h3 {
  color: var(--gray-600);
  margin-bottom: 0.5rem;
}
.listings-error {
  text-align: center;
  padding: 3rem 2rem;
  background: #fef2f2;
  border-radius: var(--radius-lg);
  color: var(--red);
}

/* --- Pagination --- */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.pagination button {
  padding: 0.5rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--gray-700);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
}
.pagination button:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.pagination button.active {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.pagination button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.pagination .page-info {
  font-size: 0.85rem;
  color: var(--gray-500);
  padding: 0 0.5rem;
}

/* --- MLS Disclaimer --- */
.mls-disclaimer {
  text-align: center;
  padding: 1.5rem;
  margin-top: 2rem;
  border-top: 1px solid var(--gray-200);
  font-size: 0.75rem;
  color: var(--gray-400);
  line-height: 1.6;
}
.mls-disclaimer p {
  color: var(--gray-400);
  margin-bottom: 0.25rem;
  font-size: 0.75rem;
}
.mls-footer-disclaimer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.7rem;
  color: var(--gray-500);
  line-height: 1.6;
}
.mls-footer-disclaimer p {
  color: var(--gray-500);
  font-size: 0.7rem;
  margin-bottom: 0.25rem;
}

/* --- Photo Gallery (Listing Detail) --- */
.gallery-container {
  position: relative;
  margin-bottom: 2rem;
}
.gallery-main {
  position: relative;
  height: 500px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--gray-200);
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-nav:hover {
  background: rgba(0,0,0,0.8);
}
.gallery-nav.prev { left: 1rem; }
.gallery-nav.next { right: 1rem; }
.gallery-counter {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(0,0,0,0.6);
  color: white;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}
.gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-behavior: smooth;
}
.gallery-thumbs img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.6;
  transition: all var(--transition);
  flex-shrink: 0;
}
.gallery-thumbs img:hover,
.gallery-thumbs img.active {
  opacity: 1;
  border-color: var(--gold);
}

/* --- Listing Detail Layout --- */
.listing-detail-header {
  padding: 2rem 0;
}
.listing-price {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.5rem;
  font-family: 'Montserrat', sans-serif;
}
.listing-address {
  font-size: 1.25rem;
  color: var(--gray-700);
  margin-bottom: 0.25rem;
}
.listing-city-state {
  font-size: 1rem;
  color: var(--gray-500);
  margin-bottom: 1rem;
}
.listing-quick-facts {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.listing-quick-facts .fact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  color: var(--gray-700);
}
.listing-quick-facts .fact strong {
  font-weight: 700;
  color: var(--navy);
}
.listing-office-badge {
  font-size: 0.85rem;
  color: var(--gray-500);
  font-style: italic;
  margin-bottom: 0.5rem;
}
.listing-dom-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--gold-glow);
  color: var(--gold-dark);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Listing detail sections */
.listing-section {
  padding: 2rem 0;
  border-top: 1px solid var(--gray-200);
}
.listing-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.listing-description {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray-600);
}
.listing-description .read-more-btn {
  background: none;
  border: none;
  color: var(--gold);
  font-weight: 600;
  cursor: pointer;
  font-size: 0.95rem;
  padding: 0;
  margin-top: 0.5rem;
}

/* Property details grid */
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 0.75rem;
}
.detail-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: var(--gray-50);
  border-radius: var(--radius);
}
.detail-item .detail-label {
  font-size: 0.85rem;
  color: var(--gray-500);
}
.detail-item .detail-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

/* Features list */
.features-section {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.feature-group h4 {
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.feature-group ul {
  list-style: none;
  padding: 0;
}
.feature-group li {
  padding: 0.3rem 0;
  font-size: 0.9rem;
  color: var(--gray-600);
  padding-left: 1.25rem;
  position: relative;
}
.feature-group li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* Map container */
.listing-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 400px;
}
.listing-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Listing CTA */
.listing-cta {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  margin: 2rem 0;
}
.listing-cta h3 {
  margin-bottom: 0.5rem;
}
.listing-cta p {
  margin-bottom: 1.5rem;
}
.listing-cta .cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Listing detail disclaimer */
.listing-disclaimer {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--gray-50);
  border-radius: var(--radius);
  font-size: 0.8rem;
  color: var(--gray-500);
  line-height: 1.6;
}
.listing-disclaimer p {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 0.3rem;
}
.listing-disclaimer a {
  color: var(--gold);
}

/* --- Responsive: Listings --- */
@media (max-width: 992px) {
  .listings-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-main { height: 400px; }
  .search-form { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .listings-grid { grid-template-columns: repeat(2, 1fr); }
  .listing-card-img { height: 180px; }
  .gallery-main { height: 300px; }
  .gallery-thumbs img { width: 60px; height: 45px; }
  .search-form { grid-template-columns: repeat(2, 1fr); }
  .search-toolbar { flex-direction: column; align-items: flex-start; }
  .listing-quick-facts { gap: 1rem; }
  .details-grid { grid-template-columns: 1fr; }
  .features-section { grid-template-columns: 1fr; }
  .listing-map { height: 300px; }
}
@media (max-width: 480px) {
  .listings-grid { grid-template-columns: 1fr; }
  .listing-card-img { height: 200px; }
  .gallery-main { height: 250px; }
  .search-form { grid-template-columns: 1fr; }
  .gallery-nav { width: 36px; height: 36px; font-size: 1.1rem; }
}
