/* ============================================================
   Bryan Cabrera | REALTOR® — Main Stylesheet
   Brand: Navy #0D1B2A | Gold #C9A84C | White #FFFFFF
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,600&family=Jost:wght@300;400;500;600&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --navy: #0D1B2A;
  --navy-light: #162234;
  --navy-mid: #1a2d44;
  --gold: #C9A84C;
  --gold-light: #e0c070;
  --gold-dark: #a8882e;
  --white: #FFFFFF;
  --off-white: #F8F5EF;
  --gray-100: #f0ede6;
  --gray-200: #d8d4cc;
  --gray-400: #9a9690;
  --gray-600: #6b6762;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Jost', sans-serif;
  --transition: 0.3s ease;
  --shadow: 0 4px 24px rgba(13,27,42,0.12);
  --shadow-lg: 0 12px 48px rgba(13,27,42,0.2);
  --radius: 4px;
  --radius-lg: 8px;
}

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

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

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-sans); }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p { font-size: 1rem; color: var(--gray-600); }

.section-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.75rem;
}

/* ---------- Containers ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container--wide { max-width: 1400px; }

/* ---------- Sections ---------- */
section { padding: 5rem 0; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { color: var(--navy); }
.section-header p { max-width: 600px; margin: 1rem auto 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.35);
}

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

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

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

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13,27,42,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  transition: all var(--transition);
  padding: 0 1.5rem;
}

.navbar.scrolled {
  background: rgba(13,27,42,0.99);
  box-shadow: var(--shadow-lg);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  height: 72px;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nav-logo .logo-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.nav-logo .logo-title {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: nowrap;
}

.nav-links a {
  font-size: 0.71rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  padding: 0.5rem 0.42rem;
  white-space: nowrap;
  border-radius: var(--radius);
  transition: all var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0.75rem; right: 0.75rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--gold); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-toggle {
  background: transparent;
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold);
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  transition: all var(--transition);
}
.lang-toggle:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--navy);
  border-top: 1px solid rgba(201,168,76,0.15);
  z-index: 999;
  padding: 1rem 0;
  flex-direction: column;
  animation: slideDown 0.25s ease;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  padding: 0.9rem 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all var(--transition);
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--gold); padding-left: 2.5rem; }
.mobile-nav .mobile-lang {
  padding: 1rem 2rem;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--navy);
}

/* PLACEHOLDER: Replace with real hero-bg.jpg */
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('images/hero-bg.jpg') center/cover no-repeat;
  /* Fallback gradient shown until hero-bg.jpg is added */
  background-color: var(--navy);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13,27,42,0.6) 0%,
    rgba(13,27,42,0.75) 50%,
    rgba(13,27,42,0.9) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 2rem 1.5rem;
  animation: fadeUp 1s ease both;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(201,168,76,0.4);
  padding-bottom: 0.5rem;
}

.hero h1 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 5rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: bounce 2s ease infinite;
}
.hero-scroll svg { width: 20px; height: 20px; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- INTRO SECTION ---------- */
.intro {
  background: var(--off-white);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.intro-image {
  position: relative;
}
.intro-image::before {
  content: '';
  position: absolute;
  top: -1.5rem; left: -1.5rem;
  width: 80%; height: 80%;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  z-index: 0;
}
.intro-image img {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.intro-image .img-placeholder {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--gray-400);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}
.intro-text h2 { color: var(--navy); margin-bottom: 1rem; }
.intro-text p { margin-bottom: 1rem; }
.intro-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.stat-item { text-align: center; }
.stat-item .stat-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
}
.stat-item .stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-600);
}

/* ---------- WHY WORK WITH ME ---------- */
.why-section { background: var(--navy); }
.why-section .section-header h2 { color: var(--white); }
.why-section .section-header p { color: rgba(255,255,255,0.6); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.why-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}
.why-card:hover {
  background: rgba(201,168,76,0.08);
  border-color: rgba(201,168,76,0.5);
  transform: translateY(-4px);
}
.why-icon {
  width: 48px; height: 48px;
  background: rgba(201,168,76,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.why-icon svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 1.5; }
.why-card h3 { color: var(--white); font-size: 1.25rem; margin-bottom: 0.75rem; }
.why-card p { color: rgba(255,255,255,0.6); font-size: 0.9rem; }

/* ---------- TESTIMONIALS SECTION ---------- */
.testimonials-section { background: var(--off-white); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  position: relative;
  transition: all var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem; right: 1.5rem;
  font-family: var(--font-serif);
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.15;
  line-height: 1;
}

.stars { display: flex; gap: 3px; margin-bottom: 1rem; }
.stars svg { width: 16px; height: 16px; fill: var(--gold); }

.testimonial-card blockquote {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid var(--gray-100);
  padding-top: 1rem;
}
.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  flex-shrink: 0;
}
.author-info .name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  display: block;
}
.author-info .label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- FEATURED LISTINGS ---------- */
.featured-section { background: var(--white); }

.listing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  max-width: 420px;
  margin: 0 auto;
}
.listing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.listing-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
/* PLACEHOLDER: Replace with wind-condo-1.jpg */
.listing-img img,
.listing-img .img-ph {
  width: 100%; height: 100%;
  object-fit: cover;
}
.listing-img .img-ph {
  background: linear-gradient(135deg, #1a2d44 0%, #0D1B2A 100%);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 0.5rem;
  color: rgba(255,255,255,0.4); font-size: 0.75rem; letter-spacing: 0.1em;
}
.listing-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
}
.listing-body { padding: 1.5rem; }
.listing-price {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.listing-address {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-bottom: 1rem;
}
.listing-details {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--gray-100);
}
.listing-detail {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--gray-600);
}
.listing-detail svg { width: 14px; height: 14px; stroke: var(--gold); fill: none; stroke-width: 2; }

/* ---------- CTA BANNER ---------- */
.cta-banner {
  background: var(--navy);
  text-align: center;
  padding: 5rem 1.5rem;
}
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.65); max-width: 500px; margin: 0 auto 2rem; }

/* ---------- FOOTER ---------- */
.footer {
  background: #080f18;
  color: rgba(255,255,255,0.7);
  padding: 4rem 1.5rem 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
}
.footer-brand .logo-title {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}
.footer-tagline {
  font-style: italic;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  margin: 0.75rem 0 0.5rem;
  font-family: var(--font-serif);
}
.footer-license {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.3);
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.6rem;
}
.footer-contact p svg { width: 14px; height: 14px; stroke: var(--gold); fill: none; stroke-width: 2; flex-shrink: 0; }

.social-icons {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.social-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.3);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
  color: rgba(255,255,255,0.6);
}
.social-icon:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.1);
  color: var(--gold);
}
.social-icon svg { width: 16px; height: 16px; }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 0;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ---------- PAGE HERO (Inner Pages) ---------- */
.page-hero {
  background: var(--navy);
  padding: 8rem 1.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(201,168,76,0.08) 0%, transparent 70%);
}
.page-hero h1 { color: var(--white); position: relative; }
.page-hero p {
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  margin: 1rem auto 0;
  font-size: 1.05rem;
  position: relative;
}
.page-hero .breadcrumb {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  position: relative;
  margin-bottom: 1rem;
}

/* ---------- ABOUT PAGE ---------- */
.about-bio {
  background: var(--off-white);
}
.about-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 4rem;
  align-items: start;
}
.about-photo {
  position: sticky;
  top: 5rem;
}
.about-photo .photo-wrap {
  position: relative;
}
.about-photo .photo-wrap::before {
  content: '';
  position: absolute;
  top: -1rem; right: -1rem;
  bottom: 1rem; left: 1rem;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  z-index: 0;
}
/* PLACEHOLDER: Replace src with headshot.jpg */
.about-photo img,
.about-photo .photo-ph {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.about-photo .photo-ph {
  background: var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 0.5rem;
  color: var(--gray-400); font-size: 0.8rem;
}

.about-text h2 { color: var(--navy); margin-bottom: 1rem; }
.about-text p { margin-bottom: 1.25rem; }

.credentials {
  background: var(--white);
}
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.cred-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.cred-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.cred-icon {
  width: 60px; height: 60px;
  background: rgba(201,168,76,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.cred-icon svg { width: 26px; height: 26px; stroke: var(--gold); fill: none; stroke-width: 1.5; }
.cred-card h4 { color: var(--navy); margin-bottom: 0.5rem; }
.cred-card p { font-size: 0.85rem; }

.values-section { background: var(--navy); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.value-card {
  text-align: center;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-lg);
}
.value-num {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: rgba(201,168,76,0.2);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.value-card h3 { color: var(--gold); margin-bottom: 0.75rem; }
.value-card p { color: rgba(255,255,255,0.55); font-size: 0.9rem; }

/* ---------- LISTINGS PAGE ---------- */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}
.listing-card { max-width: 100%; }

.coming-soon-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.coming-soon-img {
  aspect-ratio: 4/3;
  background: var(--navy-mid);
  /* PLACEHOLDER: Replace with coming-soon.jpg */
  background-image: url('images/coming-soon.jpg');
  background-size: cover;
  background-position: center;
  filter: blur(6px);
  transform: scale(1.05);
}
.coming-soon-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,27,42,0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
}
.coming-soon-badge {
  background: var(--gold);
  color: var(--navy);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
}
.coming-soon-overlay h3 { color: var(--white); }
.coming-soon-overlay p { color: rgba(255,255,255,0.7); font-size: 0.9rem; }

/* ---------- MODAL ---------- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13,27,42,0.85);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 480px;
  position: relative;
  animation: fadeUp 0.25s ease;
}
.modal h3 { color: var(--navy); margin-bottom: 0.5rem; }
.modal p { margin-bottom: 1.5rem; font-size: 0.9rem; }
.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--gray-400);
  line-height: 1;
}
.modal-close:hover { color: var(--navy); }

/* ---------- SEARCH PAGE ---------- */
.search-intro { background: var(--off-white); padding: 3rem 0; }
.zillow-embed {
  width: 100%;
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  min-height: 700px;
}

.sticky-cta {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 500;
  box-shadow: var(--shadow-lg);
}

/* ---------- MORTGAGE CALCULATOR ---------- */
.calc-section { background: var(--navy); }
.calc-section .section-header h2 { color: var(--white); }
.calc-section .section-header p { color: rgba(255,255,255,0.6); }

.calc-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 800px;
  margin: 0 auto;
}
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.form-group input:not([type="checkbox"]),
.form-group select {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
}
.form-group select option { background: var(--navy); color: var(--white); }
.form-group input::placeholder { color: rgba(255,255,255,0.3); }

.calc-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.result-item { text-align: center; }
.result-item .result-label {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  display: block;
  margin-bottom: 0.4rem;
}
.result-item .result-value {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
}

/* ---------- CONTACT PAGE ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-left h3 { color: var(--navy); margin-bottom: 1rem; }
.contact-left p { margin-bottom: 1.5rem; }

.calendly-embed {
  width: 100%;
  height: 500px;
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.direct-contact {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: var(--off-white);
  border-radius: var(--radius-lg);
}
.direct-contact h4 { color: var(--navy); margin-bottom: 1rem; font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase; }
.direct-contact a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 0.6rem;
  transition: color var(--transition);
}
.direct-contact a:hover { color: var(--gold); }
.direct-contact a svg { width: 16px; height: 16px; stroke: var(--gold); fill: none; stroke-width: 2; }

/* Contact Form */
.contact-form-section { }
.contact-form-section h3 { color: var(--navy); margin-bottom: 1.5rem; }

.contact-form .form-group label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}
.contact-form .form-group input:not([type="checkbox"]),
.contact-form .form-group select,
.contact-form .form-group textarea {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  width: 100%;
  transition: border-color var(--transition);
  -webkit-appearance: none;
}
.contact-form .form-group input:focus,
.contact-form .form-group select:focus,
.contact-form .form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}
.contact-form .form-group textarea { resize: vertical; min-height: 100px; }

.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.conditional-fields { display: none; }
.conditional-fields.visible { display: contents; }

.thank-you {
  display: none;
  text-align: center;
  padding: 3rem;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gold);
}
.thank-you.visible { display: block; }
.thank-you h3 { color: var(--gold); margin-bottom: 0.75rem; }
.thank-you p { color: var(--gray-600); }

/* ---------- TESTIMONIALS PAGE ---------- */
.testimonials-page { background: var(--off-white); }
.leave-review {
  background: var(--navy);
  text-align: center;
  padding: 5rem 1.5rem;
}
.leave-review h2 { color: var(--white); margin-bottom: 1rem; }
.leave-review p { color: rgba(255,255,255,0.6); max-width: 480px; margin: 0 auto 2rem; }

/* ---------- ANIMATIONS ON SCROLL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ---------- DIVIDER ---------- */
.gold-divider {
  width: 60px; height: 2px;
  background: var(--gold);
  margin: 1rem auto;
}
.gold-divider-left { margin-left: 0; }

/* ---------- UTILITY ---------- */
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-white { color: var(--white); }
.bg-navy { background: var(--navy); }
.bg-off-white { background: var(--off-white); }
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .intro-grid { grid-template-columns: 1fr; gap: 3rem; }
  .intro-image { max-width: 420px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { position: relative; top: 0; max-width: 360px; }
  .contact-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  section { padding: 3.5rem 0; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .why-grid { grid-template-columns: 1fr; }
  .credentials-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .calc-grid { grid-template-columns: 1fr; }
  .calc-results { grid-template-columns: 1fr; gap: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .intro-stats { grid-template-columns: repeat(3, 1fr); }
  .footer-bottom { flex-direction: column; text-align: center; }
  .sticky-cta { right: 1rem; bottom: 1rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.2rem; }
  .hero-cta { flex-direction: column; align-items: center; }
  .intro-stats { grid-template-columns: 1fr; gap: 1rem; }
  .modal { padding: 1.75rem; }
  .calc-results { grid-template-columns: 1fr; }
}

/* ============================================================
   CHATBOT WIDGET  (injected globally via script.js)
   ============================================================ */

/* Launcher */
@keyframes bc-pulse {
  0%   { box-shadow: 0 0 0 0   rgba(201,168,76,0.55), 0 6px 24px rgba(201,168,76,0.4); }
  60%  { box-shadow: 0 0 0 14px rgba(201,168,76,0),   0 6px 24px rgba(201,168,76,0.4); }
  100% { box-shadow: 0 0 0 0   rgba(201,168,76,0),   0 6px 24px rgba(201,168,76,0.4); }
}
@keyframes bc-bounce {
  0%, 100% { transform: translateY(0) scale(1); }
  30%       { transform: translateY(-6px) scale(1.05); }
  60%       { transform: translateY(-2px) scale(1.02); }
}

#bc-chat-launcher {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 1100;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--gold);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  cursor: pointer;
  animation: bc-pulse 2.2s ease infinite, bc-bounce 3.5s ease 1.5s 3;
  transition: transform 0.2s ease;
}
#bc-chat-launcher:hover { transform: scale(1.1); animation: none; box-shadow: 0 8px 32px rgba(201,168,76,0.55); }
#bc-chat-launcher.no-pulse { animation: none; }
#bc-chat-launcher .bc-icon-open,
#bc-chat-launcher .bc-icon-close { display: flex; align-items: center; justify-content: center; }

#bc-unread-dot {
  position: absolute;
  top: 3px; right: 3px;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: #e84d4d;
  border: 2px solid var(--white);
  display: none;
}
#bc-unread-dot.visible { display: block; }

/* Speech bubble */
@keyframes bc-bubble-in  { from { opacity:0; transform:translateY(8px) scale(0.95); } to { opacity:1; transform:translateY(0) scale(1); } }
@keyframes bc-bubble-out { from { opacity:1; } to { opacity:0; pointer-events:none; } }

#bc-chat-bubble {
  position: fixed;
  bottom: 5.25rem;
  right: 1.75rem;
  z-index: 1099;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px 14px 0 14px;
  padding: 0.6rem 0.85rem 0.6rem 1rem;
  box-shadow: 0 6px 24px rgba(13,27,42,0.14);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
#bc-chat-bubble.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
  animation: bc-bubble-in 0.3s ease;
}
#bc-chat-bubble.hidden { opacity: 0; pointer-events: none; transform: translateY(8px); }
#bc-bubble-close {
  background: transparent;
  border: none;
  font-size: 1rem;
  color: var(--gray-400);
  line-height: 1;
  cursor: pointer;
  padding: 0 0 0 0.25rem;
}
#bc-bubble-close:hover { color: var(--navy); }

/* Chat window */
#bc-chat-win {
  position: fixed;
  bottom: 5.25rem;
  right: 1.75rem;
  z-index: 1098;
  width: 340px;
  max-height: 530px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(13,27,42,0.22);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.9) translateY(16px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  transform-origin: bottom right;
}
#bc-chat-win.open {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: all;
}

/* Header */
#bc-chat-head {
  background: var(--navy);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(201,168,76,0.2);
}
#bc-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 1rem; font-weight: 700;
  color: var(--navy); flex-shrink: 0;
}
#bc-head-name {
  display: block;
  font-size: 0.88rem; font-weight: 600;
  color: var(--white);
  font-family: var(--font-sans);
}
#bc-head-status {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-sans);
}
#bc-status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4cdb8a;
  flex-shrink: 0;
  animation: bc-pulse-dot 2s ease infinite;
}
@keyframes bc-pulse-dot {
  0%, 100% { opacity: 1; } 50% { opacity: 0.5; }
}

/* Messages */
#bc-msgs {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  scroll-behavior: smooth;
}
#bc-msgs::-webkit-scrollbar { width: 4px; }
#bc-msgs::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 4px; }

@keyframes bc-msg-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.bc-msg {
  max-width: 84%;
  padding: 0.6rem 0.9rem;
  border-radius: 14px;
  font-size: 0.85rem;
  line-height: 1.55;
  font-family: var(--font-sans);
  animation: bc-msg-in 0.2s ease;
}
.bc-msg.bc-bot {
  background: var(--off-white);
  color: var(--navy);
  align-self: flex-start;
  border-bottom-left-radius: 3px;
}
.bc-msg.bc-user {
  background: var(--navy);
  color: var(--white);
  align-self: flex-end;
  border-bottom-right-radius: 3px;
}
.bc-msg strong { color: var(--gold); }
.bc-msg a { color: var(--gold); text-decoration: underline; }

/* Typing dots */
.bc-typing {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 0.65rem 0.9rem;
  background: var(--off-white);
  border-radius: 14px;
  border-bottom-left-radius: 3px;
  align-self: flex-start;
  width: fit-content;
  animation: bc-msg-in 0.2s ease;
}
.bc-typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gray-400);
  animation: bc-dot 1.2s ease infinite;
}
.bc-typing span:nth-child(2) { animation-delay: 0.2s; }
.bc-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes bc-dot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.35; }
  30% { transform: translateY(-5px); opacity: 1; }
}

/* Input */
#bc-input-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--gray-100);
  flex-shrink: 0;
}
#bc-input {
  flex: 1;
  border: 1px solid var(--gray-200);
  border-radius: 50px;
  padding: 0.55rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--navy);
  background: var(--off-white);
  outline: none;
  transition: border-color 0.2s;
}
#bc-input:focus { border-color: var(--gold); }
#bc-input:disabled { opacity: 0.45; cursor: default; }
#bc-send {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gold);
  border: none;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); flex-shrink: 0;
  transition: background 0.18s, transform 0.15s;
}
#bc-send:hover:not(:disabled) { background: var(--gold-dark); transform: scale(1.1); }
#bc-send:disabled { opacity: 0.4; cursor: default; }

/* Quick-reply chips */
.bc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-self: flex-start;
  max-width: 100%;
  animation: bc-msg-in 0.2s ease;
}
.bc-chip {
  background: var(--white);
  border: 1.5px solid var(--gold);
  color: var(--navy);
  border-radius: 50px;
  padding: 0.3rem 0.8rem;
  font-size: 0.78rem;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
}
.bc-chip:hover, .bc-chip:focus { background: var(--gold); color: var(--navy); outline: none; }

/* Shake validation */
@keyframes bc-shake {
  0%,100% { transform: translateX(0); }
  25%      { transform: translateX(-5px); }
  75%      { transform: translateX(5px); }
}
.bc-shake { animation: bc-shake 0.35s ease; border-color: #e84d4d !important; }

/* Mobile */
@media (max-width: 440px) {
  #bc-chat-win  { width: calc(100vw - 1.5rem); right: 0.75rem; }
  #bc-chat-launcher { right: 0.75rem; bottom: 0.75rem; }
  #bc-chat-bubble { right: 0.75rem; }
}

/* ── Calculator standalone page extras ── */
.calc-extra-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.result-highlight {
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  text-align: center;
  margin-top: 1rem;
}
.result-highlight .result-label { color: var(--gold); }
.result-highlight .result-value { font-size: 2rem; }
@media (max-width: 768px) { .calc-extra-grid { grid-template-columns: 1fr; } }

/* ── Nav Dropdown ─────────────────────────────────────────── */
.nav-dropdown { position: relative; }
.nav-dropdown-btn {
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; gap: 5px;
  font-family: var(--font-sans); font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--off-white); padding: 0;
  transition: color 0.2s;
}
.nav-dropdown-btn:hover { color: var(--gold); }
.nav-dropdown-btn svg { transition: transform 0.2s; flex-shrink: 0; }
.nav-dropdown.open .nav-dropdown-btn { color: var(--gold); }
.nav-dropdown.open .nav-dropdown-btn svg { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--navy); border: 1px solid rgba(201,168,76,0.25);
  border-radius: 10px; min-width: 180px; list-style: none;
  padding: 6px 0; margin: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 300; box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu li a {
  display: block; padding: 10px 18px;
  color: var(--off-white); text-decoration: none;
  font-family: var(--font-sans); font-size: 0.83rem;
  font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase;
  transition: color 0.15s, background 0.15s;
}
.nav-dropdown-menu li a:hover { color: var(--gold); background: rgba(201,168,76,0.06); }
.nav-dropdown-menu li a.active { color: var(--gold); }

/* ── Process Steps ────────────────────────────────────────── */
.process-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem; margin-top: 3rem;
}
.process-step {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2rem 1.75rem; box-shadow: var(--shadow);
  border-top: 3px solid var(--gold);
  transition: transform 0.25s, box-shadow 0.25s;
}
.process-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step-number {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700;
  margin-bottom: 1rem;
}
.process-step h3 { color: var(--navy); margin-bottom: 0.5rem; font-size: 1.1rem; }
.process-step p { color: var(--gray-600); font-size: 0.92rem; line-height: 1.65; }

/* ── Why-Cards grid (light-background variant for buyers/sellers pages) ── */
.why-grid-4 {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.75rem; margin-top: 2.5rem;
}
.why-grid-4 .why-card {
  background: var(--white);
  border: 1px solid rgba(13,27,42,0.1);
  box-shadow: var(--shadow);
}
.why-grid-4 .why-card:hover {
  background: var(--off-white);
  border-color: var(--gold);
}
.why-grid-4 .why-card h3 { color: var(--navy); }
.why-grid-4 .why-card p { color: var(--gray-600); }

/* ── Valuation Form ───────────────────────────────────────── */
.valuation-card {
  background: var(--navy); color: var(--off-white);
  border-radius: var(--radius-lg); padding: 3rem; max-width: 680px; margin: 0 auto;
  box-shadow: var(--shadow-lg);
}
.valuation-card .form-group { margin-bottom: 1.25rem; }
.valuation-card label { display: block; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.4rem; }
.valuation-card input {
  width: 100%; padding: 0.75rem 1rem; border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.06);
  color: var(--off-white); font-family: var(--font-sans); font-size: 0.95rem;
}
.valuation-card input::placeholder { color: rgba(255,255,255,0.35); }
.valuation-card input:focus { outline: none; border-color: var(--gold); }
#valuation-thanks { display: none; text-align: center; padding: 2rem 0; }
#valuation-thanks h3 { color: var(--gold); font-size: 1.6rem; margin-bottom: 0.5rem; }

/* ── Neighborhood Cards ───────────────────────────────────── */
.nbhd-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem; margin-top: 3rem;
}
.nbhd-card {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); background: var(--white);
  transition: transform 0.25s, box-shadow 0.25s;
}
.nbhd-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.nbhd-img {
  height: 200px; background: var(--navy-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 1rem; color: rgba(255,255,255,0.4);
  letter-spacing: 0.08em;
}
.nbhd-body { padding: 1.5rem; }
.nbhd-body h3 { color: var(--navy); margin-bottom: 0.5rem; }
.nbhd-body p { color: var(--gray-600); font-size: 0.9rem; line-height: 1.65; margin-bottom: 1.25rem; }

/* ── Market Updates ───────────────────────────────────────── */
.market-list { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2.5rem; }
.market-entry {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 1.75rem 2rem; box-shadow: var(--shadow);
  border-left: 4px solid var(--gold);
}
.market-entry-date { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.4rem; }
.market-entry h3 { color: var(--navy); margin-bottom: 0.5rem; font-size: 1.1rem; }
.market-entry p { color: var(--gray-600); font-size: 0.9rem; line-height: 1.65; }

/* ── Search/Calc CTA row ──────────────────────────────────── */
.action-card-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; margin-top: 2.5rem;
}
.action-card {
  background: var(--navy); border-radius: var(--radius-lg); padding: 2rem;
  text-align: center; color: var(--off-white);
}
.action-card h3 { color: var(--gold); margin-bottom: 0.5rem; }
.action-card p { font-size: 0.9rem; color: rgba(255,255,255,0.65); margin-bottom: 1.25rem; }
@media (max-width: 600px) { .action-card-grid { grid-template-columns: 1fr; } }

/* ============================================================
   FAIR HOUSING FOOTER
   ============================================================ */
.footer-fair-housing {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.fair-housing-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--gold);
  opacity: 0.85;
  margin-top: 1px;
}
.footer-fair-housing p {
  font-size: 0.72rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

/* ============================================================
   FOOTER LEGAL LINKS
   ============================================================ */
.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
}
.footer-legal-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-legal-links a:hover { color: var(--gold); }
.footer-legal-links span { color: rgba(255,255,255,0.3); }

/* ============================================================
   SMS CONSENT CHECKBOX
   ============================================================ */
.consent-group {
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
}
.consent-label input[type="checkbox"] {
  -webkit-appearance: checkbox !important;
  appearance: checkbox !important;
  padding: 0 !important;
  width: 16px !important;
  height: 16px !important;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--gold);
  cursor: pointer;
}
.consent-label span {
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--gray-600);
}
.consent-error {
  margin-top: 0.4rem;
  font-size: 0.78rem;
  color: #c0392b;
  font-weight: 500;
}

/* ============================================================
   CHATBOT CONSENT AGREE BUTTON
   ============================================================ */
.bc-chip-agree {
  background: var(--gold) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
}
