/* ============================================================
   BATU ESTATE — Complete Design System
   batu.estate | Batuhan Taylan | Real Broker, LLC
   Built for conversion, compliance, and local SEO
   ============================================================ */

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

/* ── CSS Custom Properties ── */
:root {
  /* Brand Colors — Batu Estate */
  --navy:           #1B2D44;
  --navy-dark:      #0F1E30;
  --navy-light:     #243B5A;
  --navy-subtle:    #E8EEF5;
  --gold:           #C4953A;
  --gold-light:     #E8C785;
  --gold-dark:      #9A7220;
  --gold-subtle:    #FBF5E8;
  --teal:           #0F7B7A;
  --teal-light:     #E0F4F3;

  /* Neutral Palette */
  --white:          #FFFFFF;
  --off-white:      #F8F6F2;
  --light:          #EDE9E3;
  --border:         #DDD9D3;
  --medium-gray:    #B5B0AA;
  --dark-gray:      #5A5550;
  --text:           #1F1C19;
  --text-secondary: #5A5550;

  /* Semantic Colors */
  --success:        #22A06B;
  --error:          #DC3545;
  --warning:        #F59E0B;

  /* Typography */
  --font-heading:   'Poppins', 'Arial', sans-serif;
  --font-body:      'Inter', 'Arial', sans-serif;

  /* Scale */
  --text-xs:    0.75rem;
  --text-sm:    0.875rem;
  --text-base:  1rem;
  --text-lg:    1.125rem;
  --text-xl:    1.25rem;
  --text-2xl:   1.5rem;
  --text-3xl:   1.875rem;
  --text-4xl:   2.25rem;
  --text-5xl:   3rem;
  --text-6xl:   3.75rem;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --container:    1280px;
  --container-sm: 900px;
  --radius-sm:    4px;
  --radius:       8px;
  --radius-lg:    16px;
  --radius-xl:    24px;
  --radius-full:  9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow:     0 4px 16px rgba(27,45,68,0.08), 0 1px 4px rgba(27,45,68,0.04);
  --shadow-md:  0 8px 32px rgba(27,45,68,0.12), 0 2px 8px rgba(27,45,68,0.06);
  --shadow-lg:  0 16px 48px rgba(27,45,68,0.16), 0 4px 16px rgba(27,45,68,0.08);
  --shadow-gold: 0 4px 20px rgba(196,149,58,0.25);

  /* Transitions */
  --transition:      all 0.2s ease;
  --transition-slow: all 0.35s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul, ol { list-style: none; }

button, input, textarea, select {
  font-family: var(--font-body);
  font-size: var(--text-base);
}

button { cursor: pointer; border: none; background: none; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl)); font-weight: 700; }
h2 { font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl)); }
h3 { font-size: clamp(var(--text-xl), 3vw, var(--text-3xl)); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
  line-height: 1.7;
  color: var(--text-secondary);
}

strong { font-weight: 600; color: var(--text); }

.text-white, .text-white h1, .text-white h2, .text-white h3,
.text-white h4, .text-white p { color: var(--white); }

/* ── Layout Utilities ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-sm {
  max-width: var(--container-sm);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section {
  padding: var(--space-20) 0;
}

.section-sm {
  padding: var(--space-12) 0;
}

.section-lg {
  padding: var(--space-32) 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-gap { display: flex; gap: var(--space-4); }
.flex-col { flex-direction: column; }

.text-center { text-align: center; }
.text-left { text-align: left; }

.bg-navy { background-color: var(--navy); }
.bg-navy-dark { background-color: var(--navy-dark); }
.bg-off-white { background-color: var(--off-white); }
.bg-gold-subtle { background-color: var(--gold-subtle); }
.bg-teal-light { background-color: var(--teal-light); }
.bg-light { background-color: var(--light); }
.bg-white { background-color: var(--white); }

/* ── Section Headers ── */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-3);
}

.section-label.light {
  color: var(--gold-light);
}

.section-title {
  margin-bottom: var(--space-4);
}

.section-sub {
  font-size: var(--text-lg);
  max-width: 680px;
  margin-bottom: var(--space-10);
}

.section-title + .section-sub { margin-top: var(--space-3); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
  text-decoration: none;
}

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

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

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

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background-color: rgba(255,255,255,0.12);
  border-color: var(--white);
}

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

.btn-teal {
  background-color: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-teal:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: var(--text-xs);
}

.btn-lg {
  padding: 1.1rem 2.5rem;
  font-size: var(--text-base);
}

.btn-full { width: 100%; }

/* ── Badge ── */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.badge-gold   { background: var(--gold-subtle); color: var(--gold-dark); border: 1px solid var(--gold-light); }
.badge-navy   { background: var(--navy-subtle); color: var(--navy); border: 1px solid rgba(27,45,68,0.15); }
.badge-teal   { background: var(--teal-light); color: var(--teal); }

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 var(--space-6);
  max-width: var(--container);
  margin: 0 auto;
}

/* Logo / Brand Block */
.site-brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-decoration: none;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand-name span { color: var(--gold); }

/* COMPLIANCE: Brokerage must appear adjacent to contact/name areas */
.brand-brokerage {
  font-size: 9px;
  font-weight: 500;
  color: var(--dark-gray);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
}

/* Main Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--navy);
  background-color: var(--navy-subtle);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  cursor: pointer;
}

.nav-dropdown-trigger svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}

.nav-dropdown:hover .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;           /* flush — no gap between trigger and menu */
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-2);
  padding-top: 12px;   /* visual breathing room now lives inside the menu */
  min-width: 200px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  /* delay on HIDE so there's time to move mouse from trigger → menu */
  transition: opacity 0.15s ease, visibility 0.15s ease;
  transition-delay: 120ms;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0ms; /* show instantly on hover */
}

.dropdown-menu a {
  display: block;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  border-radius: var(--radius);
  transition: var(--transition);
}

.dropdown-menu a:hover {
  background-color: var(--navy-subtle);
  color: var(--navy);
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.header-phone {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.header-phone svg { color: var(--gold); }

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
  background: none;
  border: none;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 72px 0 0;
  background: var(--white);
  padding: var(--space-6);
  overflow-y: auto;
  z-index: 999;
  flex-direction: column;
  gap: var(--space-2);
  border-top: 1px solid var(--border);
}

.mobile-nav.open { display: flex; }

.mobile-nav .nav-link {
  padding: var(--space-4);
  font-size: var(--text-base);
  border-radius: var(--radius);
  border-bottom: 1px solid var(--border);
}

.mobile-nav .mobile-cta {
  margin-top: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* Sticky CTA Bar (mobile) */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: var(--navy);
  padding: var(--space-3) var(--space-4);
  gap: var(--space-2);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-dark);
  padding-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center 30%;
  opacity: 0.25;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 30, 48, 0.85) 0%,
    rgba(15, 30, 48, 0.6) 60%,
    rgba(15, 30, 48, 0.4) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: var(--space-20) 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(196,149,58,0.15);
  border: 1px solid rgba(196,149,58,0.4);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.hero h1 {
  color: var(--white);
  margin-bottom: var(--space-5);
  max-width: 800px;
}

.hero h1 .highlight {
  color: var(--gold-light);
}

.hero .hero-sub {
  font-size: var(--text-xl);
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin-bottom: var(--space-10);
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}

.hero-stats {
  display: flex;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.hero-stat-num {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.hero-stat-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Hero Search Bar (big lead capture) */
.hero-search {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  backdrop-filter: blur(8px);
  margin-top: var(--space-8);
  max-width: 760px;
}

.hero-search h3 {
  color: var(--white);
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
}

.search-tabs {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.search-tab {
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.search-tab.active {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.search-tab:hover:not(.active) {
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}

.search-form {
  display: flex;
  gap: var(--space-3);
}

.search-input {
  flex: 1;
  padding: 0.875rem var(--space-4);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: var(--text-sm);
  outline: none;
  transition: var(--transition);
}

.search-input::placeholder { color: rgba(255,255,255,0.5); }

.search-input:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.15);
}

/* ============================================================
   SERVICES / LEAD FUNNEL CARDS
   ============================================================ */
.service-cards {
  margin-top: -60px;
  position: relative;
  z-index: 10;
  padding-bottom: 0;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-lg);
  text-align: center;
  transition: var(--transition-slow);
  border: 1px solid var(--border);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(27,45,68,0.15);
  border-color: var(--gold-light);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon.gold  { background: var(--gold-subtle); color: var(--gold); }
.service-icon.navy  { background: var(--navy-subtle); color: var(--navy); }
.service-icon.teal  { background: var(--teal-light); color: var(--teal); }
.service-icon.light { background: var(--light); color: var(--dark-gray); }

.service-icon svg { width: 28px; height: 28px; }

.service-card h3 {
  font-size: var(--text-xl);
  margin-bottom: 0;
}

.service-card p {
  font-size: var(--text-sm);
  line-height: 1.6;
  margin: 0;
}

.service-card-cta {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: var(--space-1);
  margin-top: auto;
}

.service-card:hover .service-card-cta { gap: var(--space-2); }

/* ============================================================
   AREA / NEIGHBORHOOD CARDS
   ============================================================ */
.area-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  transition: var(--transition-slow);
}

.area-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.area-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.area-card:hover .area-card-bg { transform: scale(1.04); }

.area-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,30,48,0.9) 0%, rgba(15,30,48,0.2) 60%, transparent 100%);
}

.area-card-content {
  position: relative;
  z-index: 2;
  padding: var(--space-6);
  width: 100%;
}

.area-card-content h3 { color: var(--white); font-size: var(--text-2xl); }
.area-card-content p  { color: rgba(255,255,255,0.75); font-size: var(--text-sm); margin: var(--space-1) 0 var(--space-3); }

.area-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.area-tag {
  padding: 3px 10px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-full);
  font-size: 11px;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  backdrop-filter: blur(4px);
}

/* ============================================================
   ABOUT / AGENT INTRO SECTION
   ============================================================ */
.agent-intro {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: var(--space-16);
  align-items: center;
}

.agent-photo-wrap {
  position: relative;
}

.agent-photo {
  border-radius: var(--radius-xl);
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  color: var(--medium-gray);
}

.agent-photo-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--navy-subtle) 0%, var(--light) 100%);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  color: var(--navy);
}

.agent-badge-float {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  border: 1px solid var(--border);
}

.agent-badge-float .real-logo-sm {
  height: 20px;
  width: auto;
}

/* COMPLIANCE: brokerage identification block */
.brokerage-id-block {
  font-size: var(--text-xs);
  color: var(--dark-gray);
  font-weight: 500;
  line-height: 1.4;
}

.brokerage-id-block strong {
  display: block;
  color: var(--navy);
  font-size: var(--text-sm);
  margin-bottom: 2px;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: var(--off-white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  font-weight: 500;
}

.trust-badge svg { color: var(--gold); }

/* ============================================================
   HOME VALUATION CTA SECTION
   ============================================================ */
.valuation-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  position: relative;
  overflow: hidden;
}

.valuation-cta::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(196,149,58,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.valuation-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   FORMS
   ============================================================ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.form-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text);
}

.form-control {
  padding: 0.875rem var(--space-4);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: var(--transition);
  width: 100%;
}

.form-control::placeholder { color: var(--medium-gray); }

.form-control:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,45,68,0.08);
}

.form-control.error { border-color: var(--error); }
.form-control.success { border-color: var(--success); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  cursor: pointer;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--navy);
}

/* ============================================================
   TESTIMONIALS / SOCIAL PROOF
   ============================================================ */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  position: relative;
  transition: var(--transition);
}

.testimonial-card:hover { box-shadow: var(--shadow-md); }

.testimonial-quote {
  font-size: 48px;
  line-height: 1;
  color: var(--gold-light);
  font-family: Georgia, serif;
  margin-bottom: var(--space-4);
}

.testimonial-text {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: var(--space-5);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--navy);
  font-size: var(--text-base);
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--text);
}

.testimonial-detail {
  font-size: var(--text-xs);
  color: var(--dark-gray);
}

.star-rating {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-3);
}

.star { color: var(--gold); font-size: 16px; }

/* ============================================================
   PROPERTY/LISTING CARDS (IDX Preview)
   ============================================================ */
.listing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-slow);
  text-decoration: none;
}

.listing-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.listing-image {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--light);
  overflow: hidden;
}

.listing-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.listing-card:hover .listing-image img { transform: scale(1.04); }

.listing-badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.listing-badge.new    { background: var(--success); color: var(--white); }
.listing-badge.hot    { background: var(--gold); color: var(--white); }
.listing-badge.reduced { background: var(--teal); color: var(--white); }

.listing-body {
  padding: var(--space-5);
}

.listing-price {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-1);
}

.listing-address {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-3);
}

.listing-details {
  display: flex;
  gap: var(--space-4);
  font-size: var(--text-sm);
  color: var(--dark-gray);
  font-weight: 500;
  padding-top: var(--space-3);
  border-top: 1px solid var(--border);
}

.listing-detail {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.listing-detail svg { width: 14px; height: 14px; color: var(--gold); }

/* IDX Disclaimer - required for MLS listings */
.idx-disclaimer {
  font-size: 10px;
  color: var(--medium-gray);
  line-height: 1.5;
  padding: var(--space-3) 0;
  border-top: 1px solid var(--border);
  margin-top: var(--space-4);
}

/* ============================================================
   BLOG / RESOURCE CARDS
   ============================================================ */
.blog-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-slow);
  background: var(--white);
  text-decoration: none;
  display: block;
}

.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.blog-card-img {
  aspect-ratio: 16/9;
  background: var(--light);
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.blog-card:hover .blog-card-img img { transform: scale(1.04); }

.blog-card-body {
  padding: var(--space-5);
}

.blog-card-cat {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2);
}

.blog-card-title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: var(--space-2);
}

.blog-card-excerpt {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-4);
  font-size: var(--text-xs);
  color: var(--medium-gray);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border);
}

/* ============================================================
   STATS / MARKET DATA SECTION
   ============================================================ */
.stat-item {
  text-align: center;
  padding: var(--space-6);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-number.gold { color: var(--gold); }

.stat-label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  font-weight: 500;
}

/* ============================================================
   PROCESS / STEPS
   ============================================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 28px);
  right: calc(12.5% + 28px);
  height: 2px;
  background: linear-gradient(to right, var(--gold-light), var(--gold-light));
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--gold);
}

.process-step h4 {
  font-size: var(--text-base);
  margin-bottom: var(--space-2);
}

.process-step p {
  font-size: var(--text-sm);
}

/* ============================================================
   CONTACT FORM SECTION
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-12);
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.contact-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--navy-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
}

.contact-icon svg { width: 20px; height: 20px; }

.contact-item-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.contact-item-value {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text);
}

.contact-item-sub {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* ============================================================
   COMPLIANCE CONTACT BLOCK
   Required: Brokerage name adjacent to contact information
   ============================================================ */
.compliance-contact-block {
  background: var(--navy-subtle);
  border: 1px solid rgba(27,45,68,0.12);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.compliance-contact-block .real-logo {
  height: 32px;
  width: auto;
  flex-shrink: 0;
}

.compliance-text {
  font-size: var(--text-xs);
  color: var(--dark-gray);
  line-height: 1.5;
}

.compliance-text strong {
  display: block;
  font-size: var(--text-sm);
  color: var(--navy);
  margin-bottom: 2px;
}

/* ============================================================
   FOOTER
   COMPLIANCE: Every page must display Real Broker, LLC + name
   ============================================================ */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding-top: var(--space-16);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-2);
}

.footer-brand-name span { color: var(--gold); }

.footer-tagline {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--space-5);
  line-height: 1.6;
}

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
}

.footer-contact-item a { color: rgba(255,255,255,0.7); }
.footer-contact-item a:hover { color: var(--gold-light); }

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
  flex-shrink: 0;
}

.footer-col h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-5);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-links a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.footer-links a:hover { color: var(--gold-light); }
.footer-links a::before { content: '→'; font-size: 11px; opacity: 0.5; }
.footer-links a:hover::before { opacity: 1; }

/* COMPLIANCE FOOTER BLOCK - REQUIRED */
.footer-compliance {
  background: rgba(0,0,0,0.25);
  padding: var(--space-6) 0;
}

.footer-compliance-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.footer-brokerage-row {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
  padding-bottom: var(--space-5);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: var(--space-4);
}

.footer-real-logo {
  height: 36px;
  width: auto;
}

/* COMPLIANCE: "Real Broker, LLC" must appear in TEXT, not just logo */
.footer-brokerage-text {
  flex: 1;
  min-width: 200px;
}

.footer-brokerage-name {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.03em;
}

.footer-agent-line {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.55);
  margin-top: 2px;
}

.footer-fair-housing {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.fair-housing-icon {
  width: 36px;
  height: 36px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  font-weight: 800;
  font-family: var(--font-heading);
  flex-shrink: 0;
}

.fair-housing-text {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
}

.footer-disclaimer-text {
  font-size: 10.5px;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
}

.footer-legal-links {
  display: flex;
  gap: var(--space-4);
}

.footer-legal-links a {
  color: rgba(255,255,255,0.35);
  font-size: var(--text-xs);
  transition: var(--transition);
}

.footer-legal-links a:hover { color: rgba(255,255,255,0.7); }

/* ============================================================
   PAGE HERO (Interior Pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding: calc(72px + var(--space-16)) 0 var(--space-16);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(196,149,58,0.08) 0%, transparent 70%);
}

.page-hero-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: var(--space-3);
}

.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,0.75); max-width: 600px; font-size: var(--text-lg); margin-top: var(--space-4); }

/* ============================================================
   CTA BANNER (Mid-page conversions)
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  padding: var(--space-12) 0;
  text-align: center;
}

.cta-banner h2 { color: var(--white); }
.cta-banner p  { color: rgba(255,255,255,0.85); max-width: 560px; margin: var(--space-3) auto var(--space-8); font-size: var(--text-lg); }

/* ============================================================
   SOCIAL PROOF BAR
   ============================================================ */
.social-proof-bar {
  background: var(--navy);
  padding: var(--space-4) 0;
  overflow: hidden;
}

.social-proof-items {
  display: flex;
  gap: var(--space-12);
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.social-proof-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.75);
  white-space: nowrap;
}

.social-proof-item svg { color: var(--gold); width: 18px; height: 18px; }

/* ============================================================
   FAQ SECTION (Schema markup support)
   ============================================================ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: var(--space-3);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: var(--space-5) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  font-weight: 600;
  color: var(--navy);
  font-size: var(--text-base);
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover { background: var(--off-white); }

.faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--gold);
  transition: transform 0.2s;
}

.faq-question.open svg { transform: rotate(180deg); }

.faq-answer {
  padding: 0 var(--space-6) var(--space-5);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  background: var(--white);
  display: none;
}

.faq-answer.open { display: block; }

/* ============================================================
   CHECKLIST / VALUE PROP ITEMS
   ============================================================ */
.check-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.check-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.check-icon svg { width: 12px; height: 12px; color: var(--white); }

.check-text {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.6;
}

.check-text strong { color: var(--text); }

/* ============================================================
   PAGE CONTENT / PROSE
   ============================================================ */
.prose h2 { font-size: var(--text-3xl); margin: var(--space-8) 0 var(--space-4); }
.prose h3 { font-size: var(--text-2xl); margin: var(--space-6) 0 var(--space-3); }
.prose p  { margin-bottom: var(--space-4); }
.prose ul { list-style: disc; padding-left: var(--space-6); margin-bottom: var(--space-4); }
.prose ul li { margin-bottom: var(--space-2); color: var(--text-secondary); }
.prose a  { color: var(--gold-dark); text-decoration: underline; }

/* ============================================================
   BREADCRUMB (SEO + UX)
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--space-5);
}

.breadcrumb a {
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}

.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span { color: rgba(255,255,255,0.7); font-weight: 500; }

.breadcrumb-sep { color: rgba(255,255,255,0.3); }

/* ============================================================
   ANNOUNCEMENT BAR (optional top compliance/promo)
   ============================================================ */
.announcement-bar {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  padding: var(--space-2) 0;
  text-align: center;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* ============================================================
   DIVIDERS
   ============================================================ */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: var(--space-8) 0;
}

.divider-gold {
  border-top-color: var(--gold-light);
}

/* ============================================================
   RESPONSIVE — TABLET (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .agent-intro { grid-template-columns: 1fr; }
  .agent-photo-wrap { max-width: 380px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   RESPONSIVE — MOBILE (max 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --text-5xl: 2.5rem;
    --text-4xl: 2rem;
  }

  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .sticky-cta { display: flex; }

  body { padding-bottom: 68px; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }

  .section { padding: var(--space-12) 0; }
  .section-lg { padding: var(--space-16) 0; }

  .hero { min-height: 100svh; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: var(--space-5); }
  .hero-search { display: none; }

  .service-cards { margin-top: var(--space-8); }

  .footer-grid { grid-template-columns: 1fr; gap: var(--space-8); }

  .form-row { grid-template-columns: 1fr; }

  .social-proof-items { justify-content: flex-start; overflow-x: auto; padding: 0 var(--space-4); gap: var(--space-6); }

  .agent-badge-float { position: static; margin-top: var(--space-4); }

  .page-hero { padding: calc(72px + var(--space-10)) 0 var(--space-10); }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--space-4); }
  h1 { font-size: 2rem; }
  .hero-sub { font-size: var(--text-base); }
}

/* ============================================================
   PRINT / ACCESSIBILITY
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Focus styles for keyboard navigation */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Skip to content */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--navy);
  color: var(--white);
  padding: var(--space-2) var(--space-4);
  z-index: 9999;
  border-radius: 0 0 var(--radius) 0;
  font-size: var(--text-sm);
  font-weight: 600;
}

.skip-link:focus { top: 0; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}

.animate-fadeInUp { animation: fadeInUp 0.6s ease forwards; }
.animate-fadeIn   { animation: fadeIn 0.4s ease forwards; }

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* Loading skeleton */
.skeleton {
  background: linear-gradient(90deg, var(--light) 25%, var(--border) 50%, var(--light) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius);
}

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ============================================================
   PATCH v2 — Nav fix, logo fix, readability improvements
   ============================================================ */

/* ── NAV: unify class names (index uses menu-toggle/menuToggle,
         inner pages use nav-toggle + is-open) ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
  background: none;
  border: none;
}
.nav-toggle .hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Open state for inner pages (is-open) AND homepage (open) */
.mobile-nav.is-open { display: flex !important; }

/* .header-actions is used in inner pages; .header-cta in homepage */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* ── LOGO: prevent stretching everywhere ── */
.footer-real-logo,
.agent-badge-float .real-logo-sm,
.compliance-contact-block .real-logo,
img[src*="real-logo"],
img[alt*="Real Broker"] {
  object-fit: contain !important;
  max-height: 40px;
  width: auto !important;
}

/* Agent mini card logo specifically */
.agent-mini-card img[src*="real-logo"],
.agent-mini-brokerage-logo {
  height: 28px;
  width: auto !important;
  object-fit: contain !important;
  display: block;
  margin-top: 4px;
}

/* ── NAV: collapse hamburger at 1080px (fits 7 items) ── */
@media (max-width: 1080px) {
  .main-nav { display: none !important; }
  .header-actions .btn { display: none; }
  .nav-toggle { display: flex !important; }
  .menu-toggle { display: flex !important; }
}
@media (min-width: 1081px) {
  .nav-toggle { display: none !important; }
  .menu-toggle { display: none !important; }
}

/* ── INNER PAGES: breathe — more whitespace, less clutter ── */

/* Page-level content sections: generous padding */
.content-section,
.process-section,
.market-snapshot-section,
.faq-section,
.trust-bar,
.valuation-hero {
  padding: 80px 0;
}

/* Tighter for small utility sections */
.cta-banner { padding: 64px 0; }

/* Inner page hero (non-homepage) */
.valuation-hero {
  padding-top: calc(72px + 64px);
  padding-bottom: 64px;
}

/* Section headers: more breathing room */
.section-header { margin-bottom: 48px; }
.section-header h2 { margin-bottom: 12px; }

/* Body text: better line height and max-width for readability */
.content-section p,
.process-section p,
.faq-answer p {
  max-width: 680px;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* Benefit list items: cleaner spacing */
.valuation-benefits { margin: 28px 0; }
.valuation-benefits li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: var(--text-base);
  line-height: 1.6;
}
.valuation-benefits li:last-child { border-bottom: none; }

/* Process steps: cleaner visual */
.process-steps { gap: 40px; margin: 0; padding: 0; list-style: none; }
.process-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.step-number {
  min-width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-lg);
  flex-shrink: 0;
}
.step-content h3 { margin-bottom: 8px; font-size: var(--text-lg); }
.step-content p { margin: 0; font-size: var(--text-base); }

/* Market stats grid: cleaner cards */
.market-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 40px 0;
}
.market-stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
}
.stat-value {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--navy);
  font-family: var(--font-heading);
  line-height: 1.1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  font-weight: 500;
}
.stat-note {
  font-size: var(--text-xs);
  color: var(--text-muted, #9CA3AF);
  margin-top: 4px;
}

/* Comparison table: cleaner */
.comparison-table-wrapper { overflow-x: auto; margin: 32px 0; }
.comparison-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.comparison-table th, .comparison-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.comparison-table th {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
}
.comparison-table tr:nth-child(even) td { background: var(--off-white); }
.comparison-table .col-highlight { background: rgba(196,149,58,0.06); font-weight: 500; }
.comparison-table th.col-highlight { background: var(--gold); }

/* Trust bar */
.trust-bar { background: var(--navy); padding: 40px 0; }
.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.trust-item { text-align: center; }
.trust-number {
  display: block;
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--gold);
  font-family: var(--font-heading);
  margin-bottom: 6px;
}
.trust-label { font-size: var(--text-sm); color: rgba(255,255,255,0.75); }

/* CTA banner */
.cta-banner { background: var(--navy); color: var(--white); text-align: center; }
.cta-banner h2 { color: var(--white); margin-bottom: 12px; font-size: var(--text-3xl); }
.cta-banner p { color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto 32px; }
.cta-banner-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Agent mini card */
.agent-mini-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  margin-top: 28px;
  max-width: 420px;
}
.agent-mini-avatar { flex-shrink: 0; }
.agent-mini-avatar img,
.avatar-fallback {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}
.avatar-fallback {
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: var(--text-base);
  align-items: center;
  justify-content: center;
}
.agent-mini-info { display: flex; flex-direction: column; gap: 2px; }
.agent-mini-info strong { font-size: var(--text-base); color: var(--navy); }
.agent-mini-info span { font-size: var(--text-xs); color: var(--text-secondary); }
.agent-mini-brokerage { font-weight: 600 !important; color: var(--gold) !important; }
.agent-mini-phone { font-size: var(--text-sm) !important; color: var(--navy) !important; font-weight: 600 !important; margin-top: 4px; }

/* Form card */
.valuation-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl, 16px);
  padding: 36px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}
.form-card-header { margin-bottom: 28px; }
.form-card-header h2 { font-size: var(--text-2xl); margin-bottom: 8px; }
.form-card-header p { font-size: var(--text-sm); color: var(--text-secondary); }

/* Form fields */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: var(--text-sm); font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.required-star { color: #e53e3e; }
.form-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.form-input:focus { outline: none; border-color: var(--navy); }
.form-input.is-invalid { border-color: #e53e3e; }
.form-select { appearance: none; cursor: pointer; }
.form-textarea { resize: vertical; min-height: 90px; }
.form-hint { font-size: var(--text-xs); color: var(--text-secondary); margin-top: 4px; display: block; }
.field-error { font-size: var(--text-xs); color: #e53e3e; margin-top: 4px; display: block; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-consent { padding: 14px; background: var(--off-white); border-radius: var(--radius); }
.checkbox-label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: var(--text-xs); color: var(--text-secondary); line-height: 1.5; }
.checkbox-label input { margin-top: 2px; flex-shrink: 0; }
.form-compliance-note { font-size: 10px; color: var(--text-secondary); margin-top: 16px; text-align: center; line-height: 1.5; }
.form-compliance-note a { color: var(--navy); }
.btn-full { width: 100%; justify-content: center; }
.form-success-message {
  text-align: center;
  padding: 36px 24px;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: var(--radius-lg);
}
.form-success-message svg { color: #16a34a; margin-bottom: 12px; }
.form-success-message h3 { color: #15803d; margin-bottom: 8px; }
.form-success-message p { color: var(--text-secondary); font-size: var(--text-sm); }

/* Hero grid (valuation page) */
.valuation-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.valuation-hero-copy h1 { font-size: var(--text-4xl); margin-bottom: 16px; }
.valuation-hero-copy h1 em { color: var(--gold); font-style: normal; }
.hero-lead { font-size: var(--text-lg); color: var(--text-secondary); line-height: 1.7; margin-bottom: 8px; }

/* Benefit icon */
.benefit-icon { color: var(--gold); font-weight: 700; margin-right: 4px; }

/* Market context box */
.market-context { margin-top: 40px; }
.market-context-inner {
  background: var(--off-white);
  border-left: 4px solid var(--gold);
  padding: 28px 32px;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.market-context-inner h3 { margin-bottom: 12px; }
.market-context-inner p { margin-bottom: 12px; font-size: var(--text-base); }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--navy);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-heading);
}
.faq-icon { font-size: 20px; color: var(--gold); flex-shrink: 0; line-height: 1; transition: transform 0.2s; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 0 20px; }
.faq-answer p { font-size: var(--text-base); line-height: 1.75; color: var(--text-secondary); margin: 0; max-width: 100%; }

/* bg-off-white utility */
.bg-off-white { background: var(--off-white); }

/* Buttons */
.btn-gold {
  background: var(--gold);
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: var(--text-base);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  border: 2px solid var(--gold);
  text-decoration: none;
}
.btn-gold:hover { background: #a87d2e; border-color: #a87d2e; }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: var(--text-base);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  text-decoration: none;
}
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

/* Badge */
.badge-gold {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  background: rgba(196,149,58,0.12);
  color: var(--gold);
  border: 1px solid rgba(196,149,58,0.3);
  border-radius: 100px;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* Narrow container for content pages */
.container-narrow { max-width: 800px; }

/* Section lead text */
.section-lead {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* Process CTA */
.process-cta { margin-top: 48px; }
.cta-sub { font-size: var(--text-sm); color: var(--text-secondary); margin-top: 12px; }

/* Mobile CTA bar (inner pages) */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: var(--navy);
  padding: 10px 16px;
  gap: 8px;
}
.mobile-cta-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 4px;
  color: var(--white);
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: var(--transition);
}
.mobile-cta-btn:hover { background: rgba(255,255,255,0.12); }
.mobile-cta-btn svg { flex-shrink: 0; }
.mobile-cta-bar.is-hidden { transform: translateY(100%); }

@media (max-width: 768px) {
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 70px; }
  .valuation-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .market-stats-grid { grid-template-columns: repeat(2,1fr); }
  .trust-bar-grid { grid-template-columns: repeat(2,1fr); }
  .form-row-2 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .valuation-form-card { padding: 24px 18px; }
  .market-stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   PATCH v3 — Fix nav-list layout + fix fixed-header overlap
   on all inner page hero sections
   ============================================================ */

/* ── NAV LIST (inner pages use <ul class="nav-list">) ── */
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-list li { display: flex; align-items: center; }
.nav-list .nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 12px;
  border-radius: 6px;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
  display: block;
}
.nav-list .nav-link:hover,
.nav-list .nav-link.is-active {
  color: var(--navy);
  background-color: rgba(27,45,68,0.07);
}
.nav-list .nav-link.is-active {
  font-weight: 600;
}

/* Mobile nav list */
.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-nav-list li { display: block; }
.mobile-nav-link {
  display: block;
  padding: 14px 16px;
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--navy);
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: background 0.15s;
}
.mobile-nav-link:hover { background: var(--off-white); }
.mobile-nav-link.is-active { color: var(--gold); font-weight: 600; }

/* Mobile nav compliance line */
.mobile-nav-compliance {
  padding: 16px;
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.5;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

/* ── FIXED HEADER CLEARANCE ──
   Every inner page hero/top section needs padding-top to clear
   the 72px fixed header. Apply to all known hero classes.       */
.buyer-hero,
.seller-hero,
.rental-hero,
.search-hero,
.about-hero,
.contact-hero,
.guide-hero,
.area-hero,
.valuation-hero,
.page-hero,
.relocation-hero,
.legal-hero {
  padding-top: calc(72px + 56px) !important;
}

/* Pages where the hero has its own dark bg (keep bottom padding too) */
.buyer-hero,
.seller-hero,
.rental-hero,
.search-hero,
.about-hero,
.contact-hero,
.guide-hero,
.area-hero {
  padding-bottom: 56px;
  background: linear-gradient(135deg, var(--navy) 0%, #0d1e30 100%);
  color: var(--white);
}

/* Hero headings and lead text on dark bg */
.buyer-hero h1,
.seller-hero h1,
.rental-hero h1,
.search-hero h1,
.about-hero h1,
.contact-hero h1,
.guide-hero h1,
.area-hero h1 {
  color: var(--white);
}
.buyer-hero .hero-lead,
.seller-hero .hero-lead,
.rental-hero .hero-lead,
.search-hero .hero-lead,
.about-hero .hero-lead,
.contact-hero .hero-lead,
.guide-hero .hero-lead,
.area-hero .hero-lead {
  color: rgba(255,255,255,0.78);
}

/* Hero grid layouts */
.buyer-hero-grid,
.seller-hero-grid,
.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.contact-hero-inner,
.search-hero-content,
.guide-hero-content,
.area-hero-content,
.rental-hero-content {
  max-width: 680px;
}

/* Hero badge spacing */
.buyer-hero .badge-gold,
.seller-hero .badge-gold,
.rental-hero .badge-gold,
.about-hero .badge-gold,
.area-hero .badge-gold,
.guide-hero .badge-gold {
  margin-bottom: 16px;
}

/* Hero CTA buttons */
.hero-cta-buttons,
.hero-cta-group,
.rental-hero-ctas,
.guide-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* Form card in hero grid (sell/home-value) */
.buyer-hero-grid .valuation-form-card,
.seller-hero-grid .valuation-form-card {
  background: var(--white);
  border-radius: 14px;
  padding: 32px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
}

/* About hero image */
.about-hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}
.about-hero-image img {
  width: 100%;
  max-width: 380px;
  border-radius: 16px;
  object-fit: cover;
  aspect-ratio: 3/4;
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

/* ── Responsive: collapse hero grids on mobile ── */
@media (max-width: 768px) {
  .buyer-hero-grid,
  .seller-hero-grid,
  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .buyer-hero,
  .seller-hero,
  .rental-hero,
  .search-hero,
  .about-hero,
  .contact-hero,
  .guide-hero,
  .area-hero,
  .valuation-hero,
  .page-hero {
    padding-top: calc(72px + 36px) !important;
    padding-bottom: 40px;
  }
}

/* ── MOBILE NAV open state (inner pages toggle is-open via JS) ── */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 999;
  overflow-y: auto;
  flex-direction: column;
  border-top: 1px solid var(--border);
  padding: 8px 0 24px;
}
/* Both .open (homepage) and .is-open (inner pages) */
.mobile-nav.open,
.mobile-nav.is-open {
  display: flex !important;
}

/* Prevent body scroll when mobile nav is open */
body.nav-open {
  overflow: hidden;
}

/* ═══════════════════════════════════════════════════════════
   PATCH v4 — Hero outline button visibility fix
   .btn-outline is dark navy by default, invisible on dark hero
   backgrounds. Override to white inside all hero sections.
   ═══════════════════════════════════════════════════════════ */
.buyer-hero .btn-outline,
.seller-hero .btn-outline,
.rental-hero .btn-outline,
.search-hero .btn-outline,
.about-hero .btn-outline,
.guide-hero .btn-outline,
.area-hero .btn-outline,
.valuation-hero .btn-outline,
.page-hero .btn-outline,
.relocation-hero .btn-outline,
.hero .btn-outline,
.hero-section .btn-outline {
  color: var(--white) !important;
  border-color: rgba(255, 255, 255, 0.65) !important;
  background-color: transparent !important;
}
.buyer-hero .btn-outline:hover,
.seller-hero .btn-outline:hover,
.rental-hero .btn-outline:hover,
.search-hero .btn-outline:hover,
.about-hero .btn-outline:hover,
.guide-hero .btn-outline:hover,
.area-hero .btn-outline:hover,
.valuation-hero .btn-outline:hover,
.page-hero .btn-outline:hover,
.relocation-hero .btn-outline:hover,
.hero .btn-outline:hover,
.hero-section .btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.15) !important;
  border-color: var(--white) !important;
  color: var(--white) !important;
}

/* btn-secondary in hero sections also needs to be visible */
.buyer-hero .btn-secondary,
.guide-hero .btn-secondary,
.area-hero .btn-secondary {
  background-color: rgba(255, 255, 255, 0.12) !important;
  color: var(--white) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}
.buyer-hero .btn-secondary:hover,
.guide-hero .btn-secondary:hover,
.area-hero .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.22) !important;
  border-color: var(--white) !important;
}

/* ═══════════════════════════════════════════════════════════
   PATCH v5 — 8 Steps vertical layout + search hero contrast
   ═══════════════════════════════════════════════════════════ */

/* Override 4-col grid for detailed buyer's guide steps */
.content-section .process-steps {
  grid-template-columns: 1fr !important;
  max-width: 760px;
  margin: 0 auto;
  gap: var(--space-6);
}
.content-section .process-steps::before {
  display: none !important;
}
.content-section .process-step {
  text-align: left !important;
  display: grid !important;
  grid-template-columns: 56px 1fr !important;
  gap: var(--space-5) !important;
  align-items: start !important;
  padding: var(--space-6) !important;
  background: var(--white) !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07) !important;
  border: 1px solid rgba(0,0,0,0.06) !important;
}
.content-section .step-number {
  flex-shrink: 0;
  width: 52px !important;
  height: 52px !important;
  line-height: 52px !important;
  font-size: 1.25rem !important;
  margin: 0 !important;
}
.content-section .process-step h3 {
  margin-top: 0.75rem;
  font-size: var(--text-lg) !important;
}
.content-section .step-details {
  margin-top: var(--space-4);
}
.content-section .step-details h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy);
  margin: var(--space-4) 0 var(--space-2);
}
.content-section .step-details ul {
  padding-left: 1.2em;
  margin: 0;
}
.content-section .step-details li {
  font-size: var(--text-sm);
  margin-bottom: 0.35em;
  color: var(--dark-gray);
}

/* Search hero — stronger overlay + ensure all text is white */
.search-hero {
  background: linear-gradient(135deg, #0a1628 0%, #162040 60%, #1a2a4a 100%) !important;
  position: relative;
}
.search-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  pointer-events: none;
  z-index: 0;
}
.search-hero .container {
  position: relative;
  z-index: 1;
}
.search-hero h1,
.search-hero p,
.search-hero label,
.search-hero .search-hero-subtext {
  color: #ffffff !important;
}
.search-hero .filter-pill {
  background: rgba(255,255,255,0.12) !important;
  color: rgba(255,255,255,0.85) !important;
  border: 1px solid rgba(255,255,255,0.25) !important;
}
.search-hero .hero-search-input {
  background: rgba(255,255,255,0.95) !important;
  color: var(--navy) !important;
  border: none !important;
}
.search-hero .hero-search-input::placeholder {
  color: rgba(15,30,60,0.55) !important;
}

/* Agent photo on home page — make it fill the container properly */
.agent-photo-placeholder {
  overflow: hidden;
  border-radius: 16px;
}
.agent-photo-placeholder img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  border-radius: 16px;
  display: block !important;
}
/* About page headshot — larger display */
.about-hero .agent-headshot-container {
  width: 100% !important;
  max-width: 420px !important;
  aspect-ratio: 3/4 !important;
  overflow: hidden;
  border-radius: 16px;
  margin: 0 auto;
}
.about-hero .agent-headshot {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  display: block !important;
}

/* ═══════════════════════════════════════════════════════════
   PATCH v6 — IDX embed + search contact CTA + mini form
   ═══════════════════════════════════════════════════════════ */

/* IDX iframe wrapper */
.idx-embed-section {
  background: #f8f9fb;
  padding: 0;
}
.idx-embed-wrapper {
  width: 100%;
  min-height: 900px;
  overflow: hidden;
  background: #fff;
}
.idx-embed-wrapper iframe {
  display: block;
  width: 100%;
  min-height: 900px;
  border: none;
}
.idx-disclaimer {
  font-size: 0.72rem;
  color: var(--medium-gray);
  text-align: center;
  padding: var(--space-3) var(--space-6);
  background: #f0f2f5;
  border-top: 1px solid rgba(0,0,0,0.06);
  line-height: 1.5;
}

/* Search contact CTA */
.search-contact-cta {
  padding: var(--space-16) 0;
  background: var(--white);
}
.search-cta-inner {
  background: var(--off-white);
  border-radius: 16px;
  padding: var(--space-10) var(--space-8);
  text-align: center;
  border: 1px solid rgba(0,0,0,0.06);
}
.search-cta-inner h2 {
  margin-bottom: var(--space-3);
}
.search-cta-inner > p {
  color: var(--dark-gray);
  margin-bottom: var(--space-8);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.search-mini-form {
  text-align: left;
  max-width: 580px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════
   PATCH v7 — Hero 4-tab search panels + agent photo fix
   ═══════════════════════════════════════════════════════════ */

/* Multi-row search form inside hero tabs */
.search-form-lead {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.search-form-lead .search-input {
  width: 100%;
  flex: none;
}
.search-tab-panel {
  animation: fadeInPanel 0.18s ease;
}
@keyframes fadeInPanel {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.search-tab-hint {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
  margin: 6px 0 0;
  text-align: center;
}
.search-success-msg {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  padding: 12px 16px;
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 8px;
  text-align: center;
}

/* Agent photo on homepage — fill container properly */
.agent-photo-wrap {
  position: relative;
}
.agent-photo-placeholder {
  width: 100%;
  min-height: 400px;
  border-radius: 16px;
  overflow: hidden;
  background: #e8ecf0;
  display: flex;
  align-items: stretch;
}
.agent-photo-placeholder img {
  width: 100% !important;
  height: 100% !important;
  min-height: 400px;
  object-fit: cover !important;
  object-position: center top !important;
  border-radius: 16px;
  display: block !important;
}

/* About hero photo — taller, fills column */
.about-hero .agent-headshot-container {
  width: 100% !important;
  max-width: 440px !important;
  min-height: 520px !important;
  border-radius: 16px;
  overflow: hidden;
  margin: 0 auto;
}
.about-hero .agent-headshot {
  width: 100% !important;
  height: 100% !important;
  min-height: 520px !important;
  object-fit: cover !important;
  object-position: center top !important;
  display: block !important;
}

/* ═══════════════════════════════════════════════════════════
   PATCH v8 — Footer legibility + polish
   ═══════════════════════════════════════════════════════════ */

/* Boost base footer text so nothing bleeds into background */
.site-footer {
  background: #0d1b2e !important;
  color: rgba(255,255,255,0.82) !important;
}

/* Brand name clearly visible */
.footer-brand-name {
  color: #ffffff !important;
  font-size: 1.4rem !important;
}
.footer-brand-name span { color: var(--gold) !important; }

/* Agent identity block */
.footer-agent-identity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.75rem 0 0.5rem;
}
.footer-brokerage-name {
  color: rgba(255,255,255,0.9) !important;
  font-weight: 600;
  font-size: 0.9rem;
}
.footer-agent-name {
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0.5rem 0 0.15rem !important;
}
.footer-license {
  color: rgba(255,255,255,0.65) !important;
  font-size: 0.8rem !important;
  line-height: 1.5;
  margin: 0 !important;
}
.footer-agent-line {
  color: rgba(255,255,255,0.65) !important;
  font-size: 0.8rem;
  line-height: 1.6;
}

/* Column headings — bright white */
.footer-col h4,
.footer-col-heading {
  color: #ffffff !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  margin-bottom: 1rem !important;
}

/* Links — more readable, golden on hover */
.footer-links a {
  color: rgba(255,255,255,0.72) !important;
  font-size: 0.88rem !important;
  text-decoration: none;
  transition: color 0.18s;
}
.footer-links a:hover { color: var(--gold) !important; }
.footer-links a::before { display: none !important; }

/* Footer contact (address block) */
.footer-contact p,
.footer-contact a {
  color: rgba(255,255,255,0.75) !important;
  font-size: 0.88rem;
  text-decoration: none;
}
.footer-contact a:hover { color: var(--gold) !important; }

/* Contact links (brand col) */
.footer-contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-top: 0.75rem;
}
.footer-contact-link {
  color: rgba(255,255,255,0.72) !important;
  font-size: 0.85rem;
  text-decoration: none;
}
.footer-contact-link:hover { color: var(--gold) !important; }

/* Divider line */
.footer-grid {
  padding-bottom: 2.5rem !important;
  border-bottom: 1px solid rgba(255,255,255,0.1) !important;
}

/* Bottom strip */
.footer-bottom {
  padding: 1.5rem 0 !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-bottom p,
.footer-bottom a {
  font-size: 0.78rem !important;
  color: rgba(255,255,255,0.45) !important;
  text-decoration: none;
}
.footer-bottom a:hover { color: rgba(255,255,255,0.75) !important; }
.footer-bottom nav { display: flex; gap: 1rem; }

/* Real logo in footer */
.footer-real-logo {
  width: 36px !important;
  height: 36px !important;
  object-fit: contain !important;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  padding: 3px;
  background: rgba(255,255,255,0.06);
}

/* Responsive: stack contact cards on small screens */
@media (max-width: 640px) {
  .contact-methods-section [style*="grid-template-columns:repeat(3"] {
    grid-template-columns: 1fr !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   PATCH v9 — Rental page body sections (tenant + landlord)
   ═══════════════════════════════════════════════════════════ */

/* Section wrapper */
.rental-section {
  padding: var(--space-20) 0;
}
.landlord-section {
  background: var(--off-white);
}

/* Two-column layout: info col + form col */
.rental-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 3rem;
}
@media (max-width: 860px) {
  .rental-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Benefits list — clean, no browser bullets */
.rental-benefits {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.rental-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.55;
}
.rental-benefits .benefit-icon {
  color: var(--gold);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* WEF callout block */
.wef-callout {
  background: linear-gradient(135deg, #0a1628 0%, #162040 100%);
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
  margin-top: 0.5rem;
}
.wef-callout h4 {
  color: var(--gold) !important;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.6rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.wef-callout > p {
  color: rgba(255,255,255,0.82) !important;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0 0 1.25rem;
}

/* WEF highlight cards — 3 across */
.wef-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
@media (max-width: 600px) {
  .wef-highlights {
    grid-template-columns: 1fr;
  }
}
.wef-highlight {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75) !important;
  line-height: 1.5;
}
.wef-highlight strong {
  display: block;
  color: #ffffff !important;
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
}

/* Form card — matches valuation-form-card style */
.form-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(10,22,40,0.10);
  padding: 2rem 1.75rem;
  border: 1px solid rgba(0,0,0,0.06);
}
.form-card-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.form-card-header h3 {
  font-size: 1.25rem;
  color: var(--navy);
  margin: 0 0 0.4rem;
}
.form-card-header p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Compliance callout */
.compliance-callout {
  background: #fffbec;
  border: 1px solid #e8c44a;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 1.1rem 1.25rem;
  margin-top: 1.5rem;
}
.compliance-callout h4 {
  color: #8a6200 !important;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 0.5rem;
}
.compliance-callout p {
  font-size: 0.87rem;
  color: #5a4200 !important;
  line-height: 1.6;
  margin: 0;
}

/* Rental info column headings */
.rental-grid-col > h3 {
  font-size: 1.3rem;
  color: var(--navy);
  margin: 0 0 1.1rem;
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════
   PATCH v10 — Autocomplete dropdowns (buy tab + address fields)
   ═══════════════════════════════════════════════════════════ */

/* Wrapper must stretch like the input it contains */
.autocomplete-wrapper {
  flex: 1;
  position: relative;
}

/* Dropdown list */
.autocomplete-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(10,22,40,0.14);
  z-index: 9999;
  max-height: 296px;
  overflow-y: auto;
  list-style: none;
  padding: 4px 0;
  margin: 0;
}
.autocomplete-dropdown.is-open {
  display: block;
}

/* Individual suggestion row */
.autocomplete-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 9px 14px;
  cursor: pointer;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: background 0.12s;
}
.autocomplete-item:last-child { border-bottom: none; }
.autocomplete-item:hover,
.autocomplete-item.is-active {
  background: #f0f5fb;
}

/* Label text — left side */
.autocomplete-item .item-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #0d1b2e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Sub-text — right side (zip, city) */
.autocomplete-item .item-sub {
  font-size: 0.75rem;
  color: #7a8fa8;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Google Places pac-container — override default styles to match site */
.pac-container {
  border-radius: 10px !important;
  border: 1px solid rgba(0,0,0,0.12) !important;
  box-shadow: 0 8px 28px rgba(10,22,40,0.14) !important;
  font-family: 'Inter', sans-serif !important;
  margin-top: 4px !important;
  overflow: hidden;
}
.pac-item {
  padding: 9px 14px !important;
  font-size: 0.88rem !important;
  border-top: 1px solid rgba(0,0,0,0.05) !important;
  cursor: pointer !important;
  color: #0d1b2e !important;
}
.pac-item:first-child { border-top: none !important; }
.pac-item:hover,
.pac-item-selected {
  background: #f0f5fb !important;
}
.pac-item-query {
  font-size: 0.88rem !important;
  color: #0d1b2e !important;
  font-weight: 500 !important;
}
.pac-matched { font-weight: 700 !important; color: #c4a052 !important; }
.pac-icon { display: none !important; }

/* Fix: search-input inside autocomplete-wrapper no longer has a flex parent
   so flex:1 doesn't apply — force full width instead */
.autocomplete-wrapper .search-input {
  width: 100% !important;
  flex: none !important;
}

/* ============================================================
   PATCH V11 — AREA PAGE STYLES
   ============================================================ */

/* Area Hero Section */
.area-hero {
  background-color: var(--navy);
  color: var(--white);
  padding: 7rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.area-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.area-hero-content h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.area-hero-content .hero-lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

/* Content Section Utilities */
.content-section {
  padding: 5rem 0;
}

.content-section.bg-off-white {
  background-color: var(--off-white);
}

/* Area Stats Grid */
.area-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .area-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

/* Area Stat Card */
.area-stat-card {
  background-color: var(--white);
  padding: 2rem 1.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.area-stat-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.area-stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.area-stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
}

/* Area Neighborhoods Grid */
.area-neighborhoods-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .area-neighborhoods-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* Area Neighborhood Card */
.area-neighborhood-card {
  background-color: var(--white);
  border: 1px solid rgba(27, 45, 68, 0.08);
  border-radius: 12px;
  padding: 1.75rem;
  transition: var(--transition);
}

.area-neighborhood-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.area-neighborhood-card h3 {
  color: var(--navy);
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.area-neighborhood-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Area Community Card (with link) */
.area-community-card {
  background-color: var(--white);
  border: 1px solid rgba(27, 45, 68, 0.08);
  border-radius: 12px;
  padding: 1.75rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.area-community-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.area-community-card h3 {
  color: var(--navy);
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.area-community-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1;
}

/* Area CTA Section */
.area-cta-section {
  background-color: var(--navy);
  padding: 5rem 0;
  text-align: center;
}

/* Area Form Card */
.area-form-card {
  background-color: var(--white);
  max-width: 560px;
  margin: 0 auto;
  padding: 2.5rem 3rem;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

@media (max-width: 640px) {
  .area-form-card {
    padding: 2rem 1.5rem;
    margin: 0 1rem;
  }
}

.area-form-card h2 {
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.form-success-message {
  background-color: var(--off-white);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  color: var(--text);
}

.form-success-message svg {
  color: var(--gold);
  margin-bottom: 1rem;
}

/* ═══════════════════════════════════════════════════════════════
   CSS PATCH v12 — Guide page process-step layout fix + hero images
   ─────────────────────────────────────────────────────────────── */

/* Fix: process-step has 4 direct children (number, h3, p, step-details).
   CSS grid auto-placement was cramming <p> into the narrow 56px column 1.
   Solution: force step-number to span all rows, everything else into col 2. */
.content-section .step-number {
  grid-row: 1 / -1 !important;
  align-self: start !important;
}
.content-section .process-step > h3,
.content-section .process-step > p,
.content-section .process-step > .step-details {
  grid-column: 2 !important;
}

/* Guide hero: support background photo + dark overlay via inline style */
.guide-hero {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* Market report blog card image */
.blog-card-market-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  display: block;
}

.form-success-message h3 {
  color: var(--navy);
  margin: 1rem 0 0.5rem 0;
}

