/* =============================================
   NASHVILLE LUXURY LIST — MAIN STYLESHEET
   Design System: Dark Luxury + Gold Accents
   ============================================= */

/* ── TOKENS ── */
:root {
  --navy:        #0d1b2a;
  --navy-mid:    #162032;
  --navy-light:  #1e2f45;
  --gold:        #c9a84c;
  --gold-light:  #e8d5a3;
  --gold-dark:   #a07c2e;
  --white:       #ffffff;
  --off-white:   #f7f5f0;
  --gray-100:    #f0eeea;
  --gray-300:    #d0cdc6;
  --gray-500:    #8a877e;
  --gray-700:    #4a4844;
  --text-dark:   #1a1814;
  --text-mid:    #4a4844;

  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Inter', 'Helvetica Neue', Arial, sans-serif;

  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-xl:   24px;

  --shadow-sm:   0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:   0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg:   0 24px 64px rgba(0,0,0,0.18);
  --shadow-gold: 0 4px 24px rgba(201,168,76,0.25);

  --transition:  all 0.3s cubic-bezier(0.4,0,0.2,1);
  --max-w:       1280px;
  --max-w-text:  760px;
  --header-h:    112px;   /* fixed header height — content below is offset by this */
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-dark); }
ul { list-style: none; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  line-height: 1.2;
  font-weight: 700;
}
.serif { font-family: var(--font-serif); }
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
  margin-bottom: 1rem;
}
.section-title.light { color: var(--white); }
.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-500);
  max-width: var(--max-w-text);
  margin: 0 auto 2.5rem;
}
.section-subtitle.light { color: var(--gray-300); }

/* ── LAYOUT UTILITIES ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
}
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-lg { padding: 7rem 0; }
.text-center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  color: var(--white);
}
.btn-dark {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-dark:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--white);
}
.btn-lg { padding: 1.1rem 2.5rem; font-size: 1rem; }
.btn-sm { padding: 0.6rem 1.25rem; font-size: 0.8rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── HEADER ── */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: var(--transition);
}
#site-header.transparent {
  background: transparent;
}
#site-header.scrolled {
  background: var(--navy);
  padding: 0.875rem 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.site-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo .logo-main {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}
.site-logo .logo-sub {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(201,168,76,0.45);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--gold);
  background: rgba(201,168,76,0.08);
}
.nav-cta {
  margin-left: 0.5rem;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--navy);
  z-index: 1001;
  flex-direction: column;
  align-items: center;
  justify-content: safe center;
  gap: clamp(0.75rem, 2.5vh, 1.5rem);
  padding: 5rem 1.5rem 2.5rem;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav .nav-link {
  font-size: clamp(1.25rem, 3.5vh, 1.5rem);
  font-family: var(--font-serif);
}
.mobile-nav-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ── HERO — HOMEPAGE ── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  /* keep content clear of the fixed header, and of the scroll cue at the bottom */
  padding: calc(var(--header-h) + clamp(2rem, 6vh, 4rem)) 0 clamp(4rem, 10vh, 7rem);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--navy);
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero-bg.loaded { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13,27,42,0.92) 0%,
    rgba(13,27,42,0.70) 60%,
    rgba(13,27,42,0.50) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 960px;
}
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
}
.hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.75rem);
  color: var(--white);
  line-height: 1.1;
  /* wide measure so the headline sets in ~3 balanced lines on desktop */
  max-width: 22ch;
  text-wrap: balance;
  margin-bottom: 1.5rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero-description {
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  color: rgba(255,255,255,0.8);
  margin-bottom: 2.5rem;
  max-width: 560px;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: clamp(2.5rem, 6vh, 4rem);
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stat-value {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--gold);
  font-weight: 700;
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.05em;
  margin-top: 4px;
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 1;
  animation: scrollPulse 2s ease-in-out infinite;
}
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) translateY(0); }
  50% { opacity: 1; transform: translateX(-50%) translateY(6px); }
}

/* ── INLINE VALUATION WIDGET (Homepage CTA bar) ── */
.valuation-bar {
  background: var(--gold);
  padding: 1rem 0;
}
.valuation-bar-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.valuation-bar-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--navy);
  font-weight: 700;
  white-space: nowrap;
}
.valuation-bar form {
  display: flex;
  flex: 1;
  gap: 0.75rem;
  min-width: 0;
}
.valuation-bar input {
  flex: 1;
  min-width: 0;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font-sans);
  outline: none;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}
.valuation-bar .btn {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  flex-shrink: 0;
}
.valuation-bar .btn:hover {
  background: var(--navy-light);
  color: var(--white);
  transform: none;
}

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--navy);
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  font-weight: 500;
}
.trust-item svg { color: var(--gold); flex-shrink: 0; }

/* ── VALUE PROPS ── */
.value-props { background: var(--off-white); }
.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.05);
  text-align: center;
}
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.value-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--gold);
}
.value-card h3 {
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.value-card p {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ── FEATURED LISTINGS ── */
.listings-section { background: var(--white); }
.listing-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.06);
  background: var(--white);
}
.listing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.listing-img {
  display: block;
  position: relative;
  padding-top: 65%;
  overflow: hidden;
  background: var(--gray-100);
}
.listing-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.listing-card:hover .listing-img img { transform: scale(1.05); }
.listing-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
}
.listing-badge.off-market { background: var(--navy); color: var(--white); }
.listing-price {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(13,27,42,0.9);
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
}
.listing-body {
  padding: 1.5rem;
}
.listing-location {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.listing-title {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
  font-family: var(--font-serif);
}
.listing-specs {
  display: flex;
  gap: 1.25rem;
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--gray-100);
}
.listing-spec { display: flex; align-items: center; gap: 0.35rem; }
.listing-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ── NEIGHBORHOOD CARDS ── */
.neighborhoods-section { background: var(--navy); }
.neighborhood-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.neighborhood-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 280px;
  cursor: pointer;
  transition: var(--transition);
}
.neighborhood-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.neighborhood-card-bg {
  position: absolute;
  inset: 0;
  background: var(--navy-mid) center/cover no-repeat;
  transition: transform 0.5s ease;
}
.neighborhood-card:hover .neighborhood-card-bg { transform: scale(1.06); }
.neighborhood-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,0.95) 0%, rgba(13,27,42,0.3) 60%, transparent 100%);
}
.neighborhood-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.75rem 1.5rem;
}
.neighborhood-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.neighborhood-meta {
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.08em;
}
.neighborhood-card-hover {
  position: absolute;
  inset: 0;
  background: rgba(13,27,42,0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  transition: var(--transition);
}
.neighborhood-card:hover .neighborhood-card-hover,
.neighborhood-card:focus-within .neighborhood-card-hover { opacity: 1; }
/* the whole card is clickable through its guide link */
.neighborhood-card-hover .btn::after { content: ''; position: absolute; inset: 0; }

/* ── GUIDES SECTION ── */
.guides-section { background: var(--off-white); }
.guide-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.05);
}
.guide-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.guide-header {
  padding: 2.5rem 2rem 1.5rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  text-align: center;
}
.guide-icon {
  width: 56px; height: 56px;
  background: rgba(201,168,76,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  color: var(--gold);
}
.guide-header h3 { color: var(--white); font-size: 1.3rem; }
.guide-header p { color: rgba(255,255,255,0.65); font-size: 0.9rem; margin-top: 0.5rem; }
.guide-body {
  padding: 1.75rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.guide-features {
  list-style: none;
  margin-bottom: 1.75rem;
  flex: 1;
}
.guide-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.9rem;
  color: var(--gray-700);
}
.guide-features li:last-child { border-bottom: none; }
.guide-features li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── TESTIMONIALS ── */
.testimonials-section { background: var(--navy); }
.testimonial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}
.testimonial-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(201,168,76,0.3);
}
.testimonial-stars {
  display: flex;
  gap: 3px;
  color: var(--gold);
  margin-bottom: 1rem;
  font-size: 1rem;
}
.testimonial-quote {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.5rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy-light);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 600; color: var(--white); font-size: 0.95rem; }
.testimonial-role { font-size: 0.8rem; color: var(--gray-500); }

/* ── LEAD CAPTURE SECTION ── */
.lead-capture-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  position: relative;
  overflow: hidden;
}
.lead-capture-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
}
.lead-form-wrapper {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 3rem;
  max-width: 540px;
  margin: 0 auto;
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.5rem;
}
.form-label.dark { color: var(--gray-700); }
.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 0.95rem;
  font-family: var(--font-sans);
  transition: var(--transition);
  outline: none;
}
.form-control::placeholder { color: rgba(255,255,255,0.35); }
.form-control:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}
.form-control.dark-field {
  background: var(--white);
  border: 1.5px solid var(--gray-300);
  color: var(--text-dark);
}
.form-control.dark-field::placeholder { color: var(--gray-500); }
.form-control.dark-field:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}
select.form-control { cursor: pointer; }
select.form-control option { color: var(--text-dark); background: var(--white); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  text-align: center;
  margin-top: 1rem;
}
.form-note.dark { color: var(--gray-500); }
.form-success {
  text-align: center;
  padding: 2rem;
  display: none;
}
.form-success.visible { display: block; }
.form-success h3 { color: var(--gold); font-size: 1.5rem; margin-bottom: 0.75rem; }
.form-success p { color: rgba(255,255,255,0.75); }

/* ── VALUATION PAGE ── */
.valuation-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0a1628 100%);
  padding: 10rem 0 5rem;
  text-align: center;
}
.valuation-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 4rem 0;
}
.val-step {
  text-align: center;
  padding: 2rem;
}
.val-step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.val-step h3 { color: var(--navy); margin-bottom: 0.5rem; font-size: 1.1rem; }
.val-step p { color: var(--gray-500); font-size: 0.9rem; }

/* ── BUYER / SELLER GUIDE PAGE ── */
.guide-page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0a1628 100%);
  padding: 10rem 0 5rem;
  color: var(--white);
}
.guide-step-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.guide-step-grid.reverse { direction: rtl; }
.guide-step-grid.reverse > * { direction: ltr; }
.guide-step-num {
  font-family: var(--font-serif);
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: -0.5rem;
}
.guide-step-content h3 { font-size: 1.5rem; color: var(--navy); margin-bottom: 0.75rem; }
.guide-step-content p { color: var(--gray-500); line-height: 1.75; margin-bottom: 1rem; }
.guide-step-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--gray-100);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.guide-step-divider {
  border: none;
  border-top: 1px solid var(--gray-100);
  margin: 5rem 0;
}

/* ── NEIGHBORHOOD PAGE ── */
.neighborhood-page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0a1628 100%);
  padding: 10rem 0 5rem;
  text-align: center;
}
.neighborhood-filter {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3rem;
}
.filter-btn {
  padding: 0.5rem 1.25rem;
  border: 1.5px solid var(--gray-300);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-700);
  cursor: pointer;
  transition: var(--transition);
  background: var(--white);
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--gold);
  color: var(--gold-dark);
  background: rgba(201,168,76,0.06);
}
.neighborhood-full-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  transition: var(--transition);
}
.neighborhood-full-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.neighborhood-card-img {
  position: relative;
  padding-top: 55%;
  background: var(--navy-mid);
  overflow: hidden;
}
.neighborhood-card-img img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.neighborhood-card-content { padding: 1.75rem; }
.neighborhood-card-title { font-size: 1.35rem; color: var(--navy); margin-bottom: 0.5rem; }
.neighborhood-card-desc { color: var(--gray-500); font-size: 0.9rem; line-height: 1.65; margin-bottom: 1.25rem; }
.neighborhood-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: var(--off-white);
  border-radius: var(--radius-md);
}
.n-stat-value { font-family: var(--font-serif); font-size: 1.2rem; color: var(--navy); font-weight: 700; }
.n-stat-label { font-size: 0.72rem; color: var(--gray-500); margin-top: 2px; }

/* ── CONTACT PAGE ── */
.contact-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0a1628 100%);
  padding: 10rem 0 5rem;
  text-align: center;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h2 { color: var(--navy); margin-bottom: 1.5rem; font-size: 2rem; }
.contact-info p { color: var(--gray-500); margin-bottom: 2rem; line-height: 1.75; }
.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-method-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--navy);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.contact-method-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 2px; }
.contact-method-value { font-size: 1rem; color: var(--navy); font-weight: 600; }
.contact-method-value a { color: var(--navy); }
.contact-method-value a:hover { color: var(--gold); }
.contact-form-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.06);
}
.contact-form-box h3 { color: var(--navy); font-size: 1.5rem; margin-bottom: 0.5rem; }
.contact-form-box .sub { color: var(--gray-500); font-size: 0.9rem; margin-bottom: 2rem; }
.tab-buttons { display: flex; gap: 0; margin-bottom: 2rem; border: 1.5px solid var(--gray-300); border-radius: var(--radius-md); overflow: hidden; }
.tab-btn {
  flex: 1;
  padding: 0.75rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: var(--white);
  color: var(--gray-700);
  transition: var(--transition);
}
.tab-btn.active { background: var(--navy); color: var(--white); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ── FAQ ── */
.faq-section { background: var(--off-white); }
.faq-item {
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  margin-bottom: 0.875rem;
  overflow: hidden;
  background: var(--white);
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: var(--transition);
}
.faq-question:hover { color: var(--gold-dark); }
.faq-question.open { color: var(--gold-dark); }
.faq-chevron {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}
.faq-question.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.75;
}
.faq-answer.open {
  max-height: 400px;
  padding: 0 1.5rem 1.25rem;
}

/* ── AGENT SECTION ── */
.agent-section { background: var(--white); }
.agent-card {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}
.agent-photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--gray-100);
  aspect-ratio: 1 / 1;
  max-width: 400px;
  position: relative;
}
.agent-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.agent-photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 5rem;
}
.agent-name { font-size: 2.5rem; color: var(--navy); margin-bottom: 0.25rem; }
.agent-title { color: var(--gold); font-size: 0.85rem; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 1.5rem; }
.agent-bio { color: var(--gray-500); line-height: 1.8; margin-bottom: 2rem; font-size: 0.975rem; }
.agent-credentials {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.credential {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--gray-700);
  font-weight: 500;
}
.credential svg { color: var(--gold); }

/* ── NEWSLETTER SECTION ── */
.newsletter-section {
  background: var(--gold);
  padding: 5rem 0;
}
.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.newsletter-text h2 { color: var(--navy); font-size: 2.25rem; margin-bottom: 0.75rem; }
.newsletter-text p { color: rgba(13,27,42,0.7); font-size: 1rem; line-height: 1.7; }
.newsletter-form { display: flex; gap: 0.75rem; }
.newsletter-form input {
  flex: 1;
  padding: 1rem 1.25rem;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font-sans);
  outline: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.newsletter-form input:focus {
  box-shadow: 0 2px 8px rgba(0,0,0,0.15), 0 0 0 3px rgba(13,27,42,0.15);
}
.newsletter-note {
  font-size: 0.78rem;
  color: rgba(13,27,42,0.55);
  margin-top: 1.25rem;
}

/* ── FOOTER ── */
#site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 2rem;
}
.footer-brand .logo-main { color: var(--white); font-size: 1.2rem; }
.footer-brand p { font-size: 0.875rem; line-height: 1.75; margin: 1rem 0 1.5rem; }
.footer-social { display: flex; gap: 0.75rem; }
.social-link {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  transition: var(--transition);
}
.social-link:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,0.1); }
.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--white); padding-left: 4px; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-disclaimer {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
  max-width: 640px;
}
.footer-legal {
  display: flex;
  gap: 1.25rem;
  font-size: 0.8rem;
}
.footer-legal a { color: rgba(255,255,255,0.5); }
.footer-legal a:hover { color: var(--white); }

/* ── FLOATING CTA ── */
.floating-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}
.floating-cta-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  border: none;
}
.floating-cta-btn:hover { transform: scale(1.1); }
.fcta-phone { background: var(--gold); color: var(--navy); }
.fcta-text { background: #25d366; color: var(--white); }
.fcta-chat { background: var(--navy); color: var(--gold); border: 2px solid var(--gold); }
.floating-label {
  background: var(--navy);
  color: var(--white);
  font-size: 0.72rem;
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: var(--transition);
  pointer-events: none;
}
.floating-cta-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.floating-cta-item:hover .floating-label { opacity: 1; transform: translateX(0); }

/* ── UTILITY CLASSES ── */
.bg-navy { background: var(--navy); }
.bg-off-white { background: var(--off-white); }
.bg-white { background: var(--white); }
.text-gold { color: var(--gold); }
.text-white { color: var(--white); }
.text-navy { color: var(--navy); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.hidden { display: none; }
.divider {
  width: 48px; height: 2px;
  background: var(--gold);
  margin: 1.25rem 0;
}
.divider.center { margin-left: auto; margin-right: auto; }

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }
.fade-up.delay-4 { transition-delay: 0.4s; }

/* ── GUIDE CARD SECONDARY LINK ── */
.guide-secondary-link {
  display: block;
  text-align: center;
  margin-top: 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gold-dark);
}
.guide-secondary-link:hover { color: var(--navy); }

/* ── NEWSLETTER PAGE ── */
.newsletter-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.newsletter-hero .page-hero-title em { font-style: normal; color: var(--gold); }
.newsletter-lede {
  color: rgba(255,255,255,0.75);
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  line-height: 1.75;
  margin-bottom: 1.75rem;
}
.newsletter-benefits { display: flex; flex-direction: column; gap: 0.875rem; margin-bottom: 2.5rem; }
.newsletter-benefits li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
}
.newsletter-benefits li span { color: var(--gold); font-weight: 700; }
.newsletter-hero { padding-bottom: clamp(4.5rem, 9vw, 7rem); }
.newsletter-card { box-shadow: var(--shadow-lg); margin-bottom: 1rem; }
.newsletter-card .form-note { margin-top: 1.25rem; margin-bottom: 0.5rem; }
.newsletter-card-title { color: var(--white); font-size: 1.5rem; margin-bottom: 0.35rem; }
.newsletter-card-sub { color: rgba(255,255,255,0.55); font-size: 0.875rem; margin-bottom: 1.5rem; }
.newsletter-prefs {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
}
.newsletter-prefs summary {
  cursor: pointer;
  padding: 0.8rem 1rem;
  color: var(--gold);
  font-size: 0.875rem;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.newsletter-prefs summary::-webkit-details-marker { display: none; }
.newsletter-prefs summary::after { content: '+'; font-size: 1.2rem; line-height: 1; }
.newsletter-prefs[open] summary::after { content: '–'; }
.newsletter-prefs summary span { color: rgba(255,255,255,0.45); font-weight: 400; margin-left: 0.35rem; margin-right: auto; }
.newsletter-prefs-body { padding: 0 1rem 0.25rem; }

/* ── BLOG ── */
.blog-index { background: var(--off-white); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-card-img { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--navy); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-body { padding: 1.75rem 1.5rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.blog-card-date { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 0.75rem; }
.blog-card-title { font-size: 1.2rem; line-height: 1.3; margin-bottom: 1rem; }
.blog-card-title a { color: var(--navy); }
.blog-card-title a:hover { color: var(--gold-dark); }
.blog-card-excerpt { color: var(--gray-500); font-size: 0.925rem; line-height: 1.75; margin-bottom: 1.5rem; flex: 1; }
.blog-card-link { font-size: 0.875rem; font-weight: 600; color: var(--gold-dark); }
.blog-card.featured { grid-column: 1 / -1; flex-direction: row; }
.blog-card.featured .blog-card-img { flex: 1.2; aspect-ratio: auto; min-height: 320px; }
.blog-card.featured .blog-card-body { flex: 1; padding: clamp(1.5rem, 4vw, 3rem); justify-content: center; }
.blog-card.featured .blog-card-title { font-size: clamp(1.5rem, 3vw, 2.1rem); }

.blog-container { max-width: 820px; }
.blog-back { display: inline-block; font-size: 0.85rem; font-weight: 500; color: var(--gold); margin-bottom: 1rem; }
.blog-meta { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.blog-article { padding-top: clamp(2rem, 5vw, 3.5rem); }
.blog-cover { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: clamp(2rem, 5vw, 3rem); box-shadow: var(--shadow-md); }
.blog-prose { font-size: clamp(1rem, 1.4vw, 1.06rem); overflow-wrap: break-word; }
.blog-prose p { margin-bottom: 1.25rem; }
.blog-prose h4 { font-size: 1rem; color: var(--navy); margin: 1.75rem 0 0.5rem; letter-spacing: 0.02em; line-height: 1.4; }
.blog-prose h4 + h4 { margin-top: 0.35rem; }
.blog-prose h4 + p, .blog-prose h3 + p, .blog-prose h2 + p { margin-top: 1rem; }
.blog-prose figure + h4, .blog-prose figure + h3 { margin-top: 1.75rem; }
.blog-prose ol { list-style: decimal; padding-left: 1.5rem; margin-bottom: 1rem; }
.blog-prose li p { margin-bottom: 0.25rem; }
.blog-prose figure { margin: 3rem 0 0; }
.blog-prose figure a { display: block; }
.blog-prose figure img, .blog-prose img { width: 100%; height: auto; border-radius: var(--radius-md); }
.blog-prose figcaption { font-size: 0.85rem; color: var(--gray-500); margin-top: 0.5rem; text-align: center; }
.blog-prose blockquote { border-left: 3px solid var(--gold); padding-left: 1.25rem; margin: 1.5rem 0; font-style: italic; }
.blog-video { position: relative; aspect-ratio: 16 / 9; margin: 2rem 0; border-radius: var(--radius-md); overflow: hidden; background: var(--navy); }
.blog-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.blog-cta {
  margin: 3rem 0 2.5rem;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: var(--navy);
  border-radius: var(--radius-lg);
  text-align: center;
}
.blog-cta h2 { color: var(--white); font-size: clamp(1.3rem, 2.6vw, 1.75rem); margin: 0.5rem 0 0.75rem; }
.blog-cta p { color: rgba(255,255,255,0.7); margin-bottom: 1.5rem; }
.blog-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; border-top: 1px solid var(--gray-100); padding-top: 2rem; }
.blog-pager-link { display: flex; flex-direction: column; gap: 0.25rem; color: var(--navy); font-family: var(--font-serif); font-weight: 600; line-height: 1.35; }
.blog-pager-link span { font-family: var(--font-sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-dark); }
.blog-pager-link.next { text-align: right; }
.blog-pager-link:hover { color: var(--gold-dark); }

@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .newsletter-hero-grid { grid-template-columns: 1fr; }
  .newsletter-benefits { display: none; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card.featured { flex-direction: column; }
  .blog-card.featured .blog-card-img { aspect-ratio: 3 / 2; min-height: 0; }
  .blog-pager { grid-template-columns: 1fr; }
  .blog-pager-link.next { text-align: left; }
}

/* ── RESPONSIVE ── */
/* Nav collapses to the hamburger before links start to wrap or crowd the logo */
@media (max-width: 1360px) {
  .nav-link { padding: 0.5rem 0.6rem; font-size: 0.82rem; }
}
@media (max-width: 1200px) {
  .site-nav { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .agent-card { grid-template-columns: 280px 1fr; gap: 2.5rem; }
  .neighborhood-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 98px; }
  #site-header { padding: 1rem 0; }
  .site-logo .logo-main { font-size: 1.1rem; }
  .site-logo .logo-sub { margin-top: 12px; padding-top: 12px; }
  .hero { align-items: flex-start; }
  .hero-scroll { display: none; }
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; }
  .hero-stat-value { font-size: 1.6rem; }
  .flex-between { flex-direction: column; align-items: flex-start; }
  .listing-actions .btn { flex: 1 1 auto; justify-content: center; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .newsletter-inner { grid-template-columns: 1fr; gap: 2rem; }
  .newsletter-form { flex-direction: column; }
  .contact-grid { grid-template-columns: 1fr; }
  .agent-card { grid-template-columns: 1fr; text-align: center; }
  .agent-photo { max-width: 280px; margin: 0 auto; }
  .agent-credentials { justify-content: center; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .valuation-bar-inner { flex-direction: column; align-items: stretch; }
  .valuation-bar form { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .guide-step-grid { grid-template-columns: 1fr; gap: 2rem; }
  .guide-step-grid.reverse { direction: ltr; }
  .valuation-steps-grid { grid-template-columns: 1fr; }
  .neighborhood-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 3.5rem 0; }
  .section-lg { padding: 4rem 0; }
  .lead-form-wrapper { padding: 2rem 1.5rem; }
  .contact-form-box { padding: 2rem 1.5rem; }
  .neighborhood-full-card { grid-column: 1; }
  .neighborhood-stats { grid-template-columns: 1fr 1fr; }
  .floating-cta { bottom: 1.25rem; right: 1.25rem; }
}

@media (max-height: 640px) and (min-width: 769px) {
  .hero-scroll { display: none; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.1rem; }
  .hero-eyebrow { font-size: 0.68rem; letter-spacing: 0.16em; }
  .hero-eyebrow::before { width: 24px; }
  .listing-specs { gap: 0.75rem; flex-wrap: wrap; }
  .hero-stat-value { font-size: 1.5rem; }
  .section-title { font-size: 1.75rem; }
  .hero-stats { justify-content: space-between; }
}

/* ── GRID 4 ── */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .grid-4 { grid-template-columns: 1fr; } }

/* ── GUIDE STEPS (buyer/seller guide pages) ── */
.guide-steps { display: flex; flex-direction: column; gap: 0; }
.guide-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--gray-100);
  align-items: flex-start;
}
.guide-step:last-child { border-bottom: none; }
.guide-step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.25rem;
}
.guide-step-content h3 { color: var(--navy); font-size: 1.35rem; margin-bottom: 0.75rem; }
.guide-step-content p  { color: var(--gray-500); line-height: 1.75; margin-bottom: 1rem; }
.guide-step-tags {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.guide-step-tags span {
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  color: var(--gray-600);
  font-size: 0.8rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}
@media (max-width: 600px) {
  .guide-step { grid-template-columns: 1fr; gap: 1rem; }
  .guide-step-number { width: 52px; height: 52px; }
}

/* ── NEIGHBORHOOD DETAIL CARDS ── */
.neighborhood-detail-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.neighborhood-detail-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ndc-header {
  padding: 2.5rem 2rem 2rem;
  position: relative;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.ndc-header h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 0.25rem; }
.ndc-header p  { color: rgba(255,255,255,0.7); font-size: 0.875rem; }
.ndc-price {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.875rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.ndc-body { padding: 1.75rem 2rem 2rem; }
.ndc-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--gray-100);
}
.ndc-stat { text-align: center; }
.ndc-stat-label { display: block; font-size: 0.7rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.25rem; }
.ndc-stat-value { display: block; font-size: 0.95rem; font-weight: 700; color: var(--navy); }
.ndc-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.ndc-tag {
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  color: var(--gray-600);
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}

/* ── FILTER BAR ── */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.filter-btn {
  padding: 0.6rem 1.5rem;
  border: 2px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-600);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover  { border-color: var(--gold); color: var(--gold); }
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* ── CONTACT PAGE TABS ── */
.tab-btn {
  padding: 0.6rem 1.25rem;
  border: 2px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-600);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.tab-btn:hover  { border-color: var(--gold); color: var(--gold); }
.tab-btn.active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ── GENERIC PAGE HERO (privacy, terms, etc.) ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0a1628 100%);
  /* header height + breathing room, scaling down on smaller screens */
  padding: calc(var(--header-h) + clamp(2.5rem, 7vw, 5rem)) 0 clamp(3rem, 7vw, 5rem);
  color: var(--white);
}
.page-hero h1 { overflow-wrap: break-word; }
.page-hero p { max-width: 640px; }
.page-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--white);
  margin: 0.5rem 0 0.75rem;
}
.page-hero-sub {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
}

/* ── PROSE (privacy policy, legal pages) ── */
.prose h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--navy);
  margin: 3rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--gray-100);
}
.prose h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin: 1.75rem 0 0.5rem;
}
.prose p {
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.prose ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.prose ul li {
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 0.4rem;
}
.prose address {
  margin-top: 1rem;
  padding: 1.5rem;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--gold);
}
.prose a { color: var(--gold-dark); }
.prose a:hover { color: var(--navy); }

/* listing spec separators (text only, no icons) */
.listing-spec + .listing-spec::before { content: '·'; color: var(--gold); margin-right: 0.6rem; font-weight: 700; }
.listing-specs { gap: 0.6rem; }

/* ── FAQ PAGE (/faq/) ── */
.faqp-container { max-width: 920px; }
.faqp-lede { color: rgba(247,243,236,0.82); font-size: clamp(1rem, 1.6vw, 1.15rem); line-height: 1.75; max-width: 760px !important; }
.faqp-updated { margin-top: 1.25rem; font-size: 0.875rem; color: var(--ivory-muted, #A9A397); }
.faqp-updated strong { color: var(--gold-light); font-weight: 600; }
.faqp-toc {
  position: sticky; top: var(--header-h); z-index: 50;
  background: var(--gray-100); border-bottom: 1px solid var(--gray-300);
}
.faqp-toc ul { display: flex; gap: 0.5rem 1.5rem; padding: 0.9rem 0; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.faqp-toc ul::-webkit-scrollbar { display: none; }
.faqp-toc a { color: var(--navy); font-size: 0.875rem; font-weight: 500; }
.faqp-toc a:hover { color: var(--gold-dark); }
.faqp { background: var(--off-white); }
.faqp section { padding: clamp(2.5rem, 6vw, 3.5rem) 0 1rem; border-bottom: 1px solid var(--gray-300); scroll-margin-top: calc(var(--header-h) + 3.5rem); }
.faqp h2 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); color: var(--navy); margin-bottom: 1rem; }
.faqp .answer { font-size: clamp(1rem, 1.6vw, 1.12rem); line-height: 1.75; background: var(--white); border-left: 3px solid var(--gold); padding: 1.1rem 1.4rem; margin-bottom: 1.75rem; color: var(--text-dark); }
.faqp h3.sub { font-family: var(--font-sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-dark); margin: 2rem 0 0.75rem; }
.faqp p { color: var(--text-mid); line-height: 1.75; margin-bottom: 1rem; }
.faqp .tbl { overflow-x: auto; margin-bottom: 0.4rem; -webkit-overflow-scrolling: touch; }
.faqp table { width: 100%; border-collapse: collapse; background: var(--white); font-size: 0.94rem; min-width: 520px; }
.faqp th, .faqp td { padding: 0.65rem 0.8rem; border-bottom: 1px solid var(--gray-300); text-align: left; vertical-align: top; }
.faqp thead th { background: var(--navy); color: var(--off-white); font-weight: 500; font-family: var(--font-sans); }
.faqp tbody th { font-weight: 600; color: var(--navy); font-family: var(--font-sans); }
.faqp .src { font-size: 0.82rem; color: var(--gray-500); margin: 0.4rem 0 0; }
.faqp ul.sales { list-style: disc; padding-left: 1.25rem; margin-bottom: 0.5rem; }
.faqp ul.sales li { color: var(--text-mid); margin: 0.25rem 0; }
.faqp .tag { display: inline-block; font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; background: var(--gray-100); color: var(--gold-dark); padding: 0.1rem 0.5rem; margin-left: 0.4rem; border-radius: 2px; }
.faqp-item { background: var(--white); border: 1px solid var(--gray-300); padding: 1.1rem 1.35rem; margin-bottom: 0.75rem; border-radius: var(--radius-sm); }
.faqp-item h3 { font-size: 1.12rem; color: var(--navy); margin-bottom: 0.4rem; }
.faqp-item p { margin: 0; }
.faqp-author { display: flex; gap: 1.5rem; align-items: center; background: var(--navy); padding: clamp(1.5rem, 4vw, 2rem); margin: 3rem 0; border-radius: var(--radius-md); }
.faqp-author img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold-light); flex: none; }
.faqp-author h2 { color: var(--off-white); font-size: 1.5rem; margin: 0 0 0.4rem; }
.faqp-author p { color: rgba(247,243,236,0.78); margin: 0.25rem 0; }
.faqp-author a { color: var(--gold-light); }
.faqp-author strong { color: var(--off-white); }
.faqp-compliance { background: var(--gray-100); border-top: 1px solid var(--gray-300); padding: 1.75rem 0 2.25rem; }
.faqp-compliance p { font-size: 0.85rem; color: var(--gray-500); margin: 0.35rem 0; }
.faqp-eho { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--text-dark) !important; }
.faqp-eho svg { width: 24px; height: 24px; }
@media (max-width: 600px) {
  .faqp-author { flex-direction: column; text-align: center; }
}

/* Links into the FAQ from other pages */
.faq-more { text-align: center; margin-top: 2.25rem; }
