/* =============================================================================
   SERVICE-AREA PAGE STYLES (shared across every city template)
   Prefix: .hb-* (extracted from template-hillsboro.php on 2026-05-06)
   Loaded by trusted_home_service_area_enqueue() in functions.php
   ============================================================================= */

/* ── CSS VARIABLES & BASE (mirrors homepage) ──────────────────────── */
:root {
  --navy:       #1a2b45;
  --navy-deep:  #0f1e30;
  --gold:       #b8912a;
  --gold-dark:  #8a6b1f;
  --gold-light: #d4a843;
  --white:      #ffffff;
  --cream:      #f8f5f0;
  --gray-50:    #f9fafb;
  --gray-100:   #f3f4f6;
  --gray-200:   #e5e7eb;
  --gray-500:   #6b7280;
  --gray-600:   #4b5563;
  --radius-sm:  8px;
  --radius:     16px;
  --radius-lg:  24px;
  --shadow-sm:  0 1px 2px rgba(26,43,69,0.04);
  --shadow:     0 4px 20px rgba(26,43,69,0.08);
  --shadow-lg:  0 20px 40px rgba(26,43,69,0.12);
  --transition: transform 0.25s cubic-bezier(0.4,0,0.2,1), box-shadow 0.25s cubic-bezier(0.4,0,0.2,1), background-color 0.25s cubic-bezier(0.4,0,0.2,1), border-color 0.25s cubic-bezier(0.4,0,0.2,1), color 0.25s cubic-bezier(0.4,0,0.2,1);
}
body { font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--navy); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.15; letter-spacing: -0.01em; }
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--gold); color: var(--white);
  font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 600;
  padding: 16px 32px; border-radius: 100px; border: none; cursor: pointer;
  transition: var(--transition); box-shadow: 0 4px 14px rgba(184,145,42,0.3);
  min-height: 52px; text-decoration: none;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(184,145,42,0.35); color: var(--white); }
.btn-outline-white {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: transparent; color: var(--white);
  font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 600;
  padding: 16px 32px; border-radius: 100px; border: 2px solid rgba(255,255,255,0.35); cursor: pointer;
  transition: var(--transition); min-height: 52px; text-decoration: none;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.6); transform: translateY(-2px); color: var(--white); }
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: transparent; color: var(--navy);
  font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 600;
  padding: 16px 32px; border-radius: 100px; border: 2px solid var(--gray-200); cursor: pointer;
  transition: var(--transition); min-height: 52px; text-decoration: none;
}
.btn-outline:hover { border-color: var(--navy); background: var(--gray-50); transform: translateY(-2px); }
.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold-dark); margin-bottom: 16px;
}
.section-label::before { content: ''; width: 24px; height: 2px; background: var(--gold-dark); border-radius: 2px; }
.section-label.centered { justify-content: center; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── HERO ─────────────────────────────────────────────────────────── */
.hb-hero {
  background: var(--navy-deep);
  background-image:
    radial-gradient(ellipse at 65% 45%, rgba(184,145,42,0.13) 0%, transparent 55%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  padding: 50px 24px 80px;
}
.hb-hero-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}
.hb-hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
  padding-left: 14px; border-left: 2px solid var(--gold);
}
.hb-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 52px); color: var(--white);
  line-height: 1.12; margin-bottom: 20px;
}
.hb-hero h1 em { color: var(--gold); font-style: italic; }
.hb-hero-sub {
  font-size: 17px; color: rgba(255,255,255,0.70);
  line-height: 1.72; margin-bottom: 32px;
}
.hb-hero-actions {
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap; margin-bottom: 36px;
}
.hb-hero-trust {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.hb-hero-trust-item {
  display: flex; align-items: center; gap: 7px;
  font-size: 12.5px; color: rgba(255,255,255,0.58); font-weight: 500;
}
.hb-hero-trust-item svg { color: var(--gold); flex-shrink: 0; }

/* Hero right: full-height photo with stat bar overlay */
.hb-hero-russ-photo {
  width: 100%; border-radius: 14px; display: block;
  height: 100%; min-height: 520px;
  object-fit: cover; object-position: top center;
}
.hb-hero-stats-bar {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(26,43,69,0.92);
  backdrop-filter: blur(6px);
  border-radius: 0 0 14px 14px;
  padding: 16px 20px;
  display: flex; align-items: center; justify-content: space-around; gap: 12px;
}
.hb-hero-stat-item { text-align: center; flex: 1; }
.hb-hero-stat-val {
  font-family: 'Playfair Display', serif;
  font-size: 32px; font-weight: 700; color: var(--white);
  line-height: 1; margin-bottom: 5px;
}
.hb-hero-stat-val em { color: var(--gold); font-style: italic; }
.hb-hero-stat-lbl { font-size: 12px; color: rgba(255,255,255,0.70); line-height: 1.3; }
.hb-hero-stat-div { width: 1px; height: 40px; background: rgba(255,255,255,0.15); flex-shrink: 0; }

/* Hero right: stat grid + local badge */
.hb-hero-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px; padding: 36px;
}
.hb-hero-card-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 20px;
}
.hb-stat-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: rgba(255,255,255,0.08);
  border-radius: 12px; overflow: hidden; margin-bottom: 20px;
}
.hb-stat {
  background: rgba(255,255,255,0.04);
  padding: 20px 16px; text-align: center;
}
.hb-stat-val {
  font-family: 'Playfair Display', serif;
  font-size: 28px; font-weight: 700; color: var(--white);
  line-height: 1; margin-bottom: 4px;
}
.hb-stat-val em { color: var(--gold); font-style: italic; }
.hb-stat-lbl { font-size: 12px; color: rgba(255,255,255,0.50); line-height: 1.3; }
.hb-local-badge {
  display: flex; align-items: flex-start; gap: 12px;
  background: rgba(184,145,42,0.12); border: 1px solid rgba(184,145,42,0.25);
  border-radius: 10px; padding: 14px 18px;
}
.hb-local-badge svg { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.hb-local-badge p { font-size: 13px; color: rgba(255,255,255,0.75); line-height: 1.55; margin: 0; }
.hb-local-badge strong { color: var(--white); }

/* ── TRUST BAR ────────────────────────────────────────────────────── */
.hb-trust-bar { background: var(--white); border-bottom: 1px solid var(--gray-200); padding: 0 24px; }
.hb-trust-bar-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; padding: 18px 0;
}
.hb-trust-item { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.hb-trust-item img { width: 40px; height: 40px; object-fit: contain; border-radius: 6px; }
.hb-trust-item-text { font-size: 13px; font-weight: 700; color: var(--navy); line-height: 1.25; }
.hb-trust-item-text span { display: block; font-size: 11px; font-weight: 500; color: var(--gray-600); margin-top: 2px; }
.hb-trust-div { width: 1px; height: 28px; background: var(--gray-200); flex-shrink: 0; }

/* ── SHARED SECTION HEADER ────────────────────────────────────────── */
.hb-section-header { max-width: 700px; margin: 0 auto 56px; text-align: center; }
.hb-section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 44px); color: var(--navy);
  margin-bottom: 16px; line-height: 1.2;
}
.hb-section-header h2 em { color: var(--gold); font-style: italic; }
.hb-section-header p { font-size: 17px; color: var(--gray-600); line-height: 1.7; }

/* ── WHY CHOOSE TRUSTED ───────────────────────────────────────────── */
.why { padding: 96px 24px; background: var(--white); }
.why-header { max-width: 600px; margin: 0 auto 51px; text-align: center; }
.why-header h2 { font-size: clamp(30px, 3.5vw, 44px); margin-bottom: 16px; }
.why-header p { font-size: 18px; color: var(--gray-600); line-height: 1.7; }
.why-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.why-card {
  background: var(--gray-50); border: 1px solid var(--gray-100); border-radius: var(--radius-lg);
  padding: 40px 32px; transition: var(--transition); position: relative; overflow: hidden;
}
.why-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--gold); opacity: 0; transition: opacity 0.3s;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.why-card:hover::before { opacity: 1; }
.why-icon {
  width: 56px; height: 56px; background: white; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 24px;
  box-shadow: var(--shadow-sm); color: var(--gold-dark);
}
.why-card h3 { font-size: 22px; margin-bottom: 12px; }
.why-card p { font-size: 15px; color: var(--gray-600); line-height: 1.7; margin-bottom: 20px; }
.why-tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gold-dark); background: rgba(184,145,42,0.12);
  padding: 6px 12px; border-radius: 100px;
}

/* ── LOCAL EXPERT ─────────────────────────────────────────────────── */
.hb-local { padding: 96px 24px; background: var(--white); }

/* Headline sits above the image in the left column */
.hb-local-above-image {
  margin-bottom: 28px;
}
.hb-local-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.8vw, 52px);
  color: var(--navy); line-height: 1.1; margin: 0;
  letter-spacing: -0.015em;
}
.hb-local-headline em { color: var(--gold); font-style: italic; }
.hb-local-inner-single { max-width: 900px; margin: 0 auto; }
.hb-local-content-full h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 42px); color: var(--navy);
  margin-bottom: 20px; line-height: 1.15;
}
.hb-local-content-full h2 em { color: var(--gold); font-style: italic; }
.hb-local-content-full p { font-size: 16px; color: var(--gray-600); line-height: 1.78; margin-bottom: 18px; }
.hb-expertise-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 36px;
}
.hb-expertise-card {
  background: var(--cream); border: 1px solid var(--gray-200);
  border-left: 4px solid var(--gold); border-radius: 12px; padding: 24px 20px;
}
.hb-expertise-card h4 {
  font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 700;
  color: var(--navy); margin-bottom: 10px; line-height: 1.3;
}
.hb-expertise-card p { font-size: 14px; color: var(--gray-600); line-height: 1.65; margin: 0; }

/* Side-by-side layout: left col (headline + image) / right col (text) */
.hb-local-inner-split {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 56px; align-items: start;
}
.hb-local-inner-split.reverse { direction: rtl; }
.hb-local-inner-split.reverse > * { direction: ltr; }
.hb-local-left { display: flex; flex-direction: column; }
.hb-local-image-wrap {
  position: relative; border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}
.hb-local-image {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.hb-local-image-badge {
  position: absolute; left: 20px; bottom: 20px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(15,30,48,0.92); backdrop-filter: blur(6px);
  border: 1px solid rgba(184,145,42,0.30);
  border-radius: 100px; padding: 8px 14px;
  font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 600;
  color: var(--white); letter-spacing: 0.02em;
}
.hb-local-image-badge svg { color: var(--gold); flex-shrink: 0; }
.hb-local-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 42px); color: var(--navy);
  margin-bottom: 20px; line-height: 1.15;
}
.hb-local-text h2 em { color: var(--gold); font-style: italic; }
.hb-local-text p { font-size: 16px; color: var(--gray-600); line-height: 1.78; margin-bottom: 18px; }
.hb-local-text p:last-child { margin-bottom: 0; }
.hb-local-text .section-label { margin-bottom: 16px; }

/* ── HOUSING ERAS TAB ─────────────────────────────────────────────── */
.hb-eras { padding: 96px 24px; background: var(--cream); }
.hb-eras-inner { max-width: 1200px; margin: 0 auto; }
.hb-era-tabs {
  display: flex; justify-content: center; gap: 0; margin-bottom: 40px;
  background: var(--white); border: 1px solid var(--gray-200); border-radius: 10px;
  padding: 4px; width: fit-content; margin-left: auto; margin-right: auto;
  box-shadow: 0 2px 8px rgba(26,43,69,0.06); flex-wrap: wrap;
}
.hb-era-tab {
  padding: 10px 22px; border-radius: 7px; font-size: 13.5px; font-weight: 600;
  color: var(--gray-600); cursor: pointer; border: none; background: transparent;
  font-family: 'DM Sans', sans-serif; transition: all 0.2s;
  min-height: 44px; -webkit-tap-highlight-color: transparent; white-space: nowrap;
}
.hb-era-tab.active { background: var(--navy); color: var(--white); }
.hb-era-tab:not(.active):hover { color: var(--navy); background: var(--gray-200); }
.hb-era-panels { max-width: 1100px; margin: 0 auto; }
.hb-era-panel { display: none; }
.hb-era-panel.active {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start;
}
.hb-era-content h3 {
  font-family: 'Playfair Display', serif; font-size: 26px;
  color: var(--navy); margin-bottom: 12px; line-height: 1.2;
}
.hb-era-content p { font-size: 15px; color: var(--gray-600); line-height: 1.78; margin-bottom: 14px; }
.hb-era-findings {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 14px; overflow: hidden;
}
.hb-era-findings-head {
  background: var(--navy); padding: 14px 20px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.10em;
  text-transform: uppercase; color: rgba(255,255,255,0.60);
}
.hb-era-finding {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 20px; border-bottom: 1px solid var(--gray-200);
}
.hb-era-finding:last-child { border-bottom: none; }
.hb-era-finding svg { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.hb-era-finding-name { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.hb-era-finding-desc { font-size: 13px; color: var(--gray-600); line-height: 1.5; }

/* ── NEIGHBORHOOD GRID ────────────────────────────────────────────── */
.hb-hoods { padding: 96px 24px; background: var(--white); }
.hb-hoods-inner { max-width: 1200px; margin: 0 auto; }
.hb-hoods-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hb-hood-card {
  background: var(--gray-100); border: 1px solid var(--gray-200);
  border-radius: 14px; overflow: hidden; transition: box-shadow 0.2s;
}
.hb-hood-card:hover { box-shadow: var(--shadow); }
.hb-hood-head {
  background: var(--navy); padding: 18px 22px;
  display: flex; align-items: center; gap: 12px;
}
.hb-hood-icon {
  width: 36px; height: 36px; background: rgba(184,145,42,0.20);
  border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hb-hood-icon svg { color: var(--gold); }
.hb-hood-name { font-size: 14px; font-weight: 700; color: var(--white); line-height: 1.2; }
.hb-hood-era { font-size: 11px; color: rgba(255,255,255,0.50); margin-top: 2px; }
.hb-hood-body { padding: 18px 22px; }
.hb-hood-body p { font-size: 13.5px; color: var(--gray-600); line-height: 1.72; margin-bottom: 14px; }

/* ── LOCAL RISK CALLOUTS ──────────────────────────────────────────── */
.hb-risks { padding: 96px 24px; background: var(--gray-100); }
.hb-risks-inner { max-width: 1200px; margin: 0 auto; }
.hb-risks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hb-risk-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 14px; padding: 30px 26px; transition: box-shadow 0.2s;
}
.hb-risk-card:hover { box-shadow: var(--shadow); }
.hb-risk-icon {
  width: 48px; height: 48px; background: var(--gray-100);
  border-radius: 12px; display: flex; align-items: center;
  justify-content: center; margin-bottom: 16px;
}
.hb-risk-icon svg { color: var(--gold); }
.hb-risk-card h3 {
  font-family: 'Playfair Display', serif; font-size: 20px;
  color: var(--navy); margin-bottom: 10px; line-height: 1.2;
}
.hb-risk-card p { font-size: 14px; color: var(--gray-600); line-height: 1.75; margin-bottom: 14px; }
.hb-risk-stat {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(184,145,42,0.09); border: 1px solid rgba(184,145,42,0.22);
  border-radius: 20px; padding: 5px 12px;
  font-size: 11px; font-weight: 700; color: var(--gold);
}

/* ── WHAT WE INSPECT ──────────────────────────────────────────────── */
.hb-scope { padding: 96px 24px; background: var(--cream); }
.hb-scope-inner { max-width: 1200px; margin: 0 auto; }
.hb-scope-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; margin-bottom: 40px;
}
.hb-scope-item {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 12px; padding: 22px 20px; text-align: center; transition: box-shadow 0.2s;
}
.hb-scope-item:hover { box-shadow: var(--shadow); }
.hb-scope-icon {
  width: 44px; height: 44px; background: var(--gray-100);
  border-radius: 10px; display: flex; align-items: center;
  justify-content: center; margin: 0 auto 12px;
  box-shadow: 0 2px 8px rgba(26,43,69,0.06);
}
.hb-scope-icon svg { color: var(--gold); }
.hb-scope-item h4 {
  font-family: 'DM Sans', sans-serif; font-size: 14px;
  font-weight: 700; color: var(--navy); margin-bottom: 6px;
}
.hb-scope-item p { font-size: 12px; color: var(--gray-600); line-height: 1.6; }
.hb-thermal-banner {
  background: var(--navy); border-radius: 14px; padding: 32px 40px;
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
}
.hb-thermal-icon {
  width: 56px; height: 56px; background: rgba(184,145,42,0.20);
  border-radius: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hb-thermal-icon svg { color: var(--gold); }
.hb-thermal-text { flex: 1; min-width: 260px; }
.hb-thermal-text h3 {
  font-family: 'Playfair Display', serif; font-size: 22px; color: var(--white); margin-bottom: 6px;
}
.hb-thermal-text p { font-size: 14px; color: rgba(255,255,255,0.60); line-height: 1.65; margin: 0; }

/* ── RADON SECTION ────────────────────────────────────────────────── */
.hb-radon { padding: 80px 24px; background: var(--navy-deep); }
.hb-radon-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.hb-radon-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3vw, 38px); color: var(--white);
  margin-bottom: 16px; line-height: 1.2;
}
.hb-radon-content h2 em { color: var(--gold); font-style: italic; }
.hb-radon-content p {
  font-size: 15px; color: rgba(255,255,255,0.65); line-height: 1.78; margin-bottom: 14px;
}
.hb-radon-content p:last-of-type { margin-bottom: 28px; }
.hb-radon-facts {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px; padding: 28px;
}
.hb-radon-fact-title {
  font-size: 11px; font-weight: 700; letter-spacing: 0.10em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 18px;
}
.hb-radon-fact {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.hb-radon-fact:last-child { border-bottom: none; }
.hb-radon-fact-num {
  font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700;
  color: var(--gold); line-height: 1; min-width: 60px;
}
.hb-radon-fact-text { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.6; }
.hb-radon-fact-text strong { color: var(--white); display: block; margin-bottom: 2px; font-size: 14px; }

/* ── BILINGUAL ────────────────────────────────────────────────────── */
.hb-bilingual { padding: 80px 24px; background: var(--white); }
.hb-bilingual-inner {
  max-width: 900px; margin: 0 auto;
  background: var(--gray-100); border: 1px solid var(--gray-200);
  border-radius: 16px; padding: 48px; display: flex;
  align-items: center; gap: 40px; flex-wrap: wrap;
}
.hb-bilingual-icon {
  width: 72px; height: 72px; background: var(--navy); border-radius: 16px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hb-bilingual-icon svg { color: var(--gold); }
.hb-bilingual-text { flex: 1; min-width: 260px; }
.hb-bilingual-text h3 {
  font-family: 'Playfair Display', serif; font-size: 24px;
  color: var(--navy); margin-bottom: 10px;
}
.hb-bilingual-text p { font-size: 15px; color: var(--gray-600); line-height: 1.72; margin: 0; }

/* ── FAQ (Wilsonville format) ─────────────────────────────────────── */
.hb-faq { padding: 96px 24px; background: var(--gray-100); }
.hb-faq-inner { max-width: 800px; margin: 0 auto; }
.hb-faq-list {
  display: flex; flex-direction: column; gap: 0;
  border: 1px solid var(--gray-200); border-radius: 14px;
  overflow: hidden; background: var(--white);
}
.hb-faq-item { border-bottom: 1px solid var(--gray-200); }
.hb-faq-item:last-child { border-bottom: none; }
.hb-faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; cursor: pointer; background: var(--white);
  font-size: 16px; font-weight: 600; color: var(--navy);
  -webkit-tap-highlight-color: transparent; user-select: none;
  gap: 16px; width: 100%; border: none; font-family: 'DM Sans', sans-serif;
  text-align: left; min-height: 64px;
}
.hb-faq-q:hover { background: var(--gray-100); }
.hb-faq-icon {
  flex-shrink: 0; width: 20px; height: 20px; background: var(--gray-100);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; transition: background 0.2s;
}
.hb-faq-item.open .hb-faq-icon { background: var(--gold); }
.hb-faq-icon svg { color: var(--navy); transition: transform 0.2s; }
.hb-faq-item.open .hb-faq-icon svg { color: var(--white); transform: rotate(45deg); }
.hb-faq-a {
  display: none; padding: 0 24px 20px;
  font-size: 15px; color: var(--gray-600); line-height: 1.75;
}
.hb-faq-a a { color: var(--gold); text-decoration: none; font-weight: 600; }
.hb-faq-item.open .hb-faq-a { display: block; }

/* ── NEARBY AREAS ─────────────────────────────────────────────────── */
.hb-nearby {
  padding: 64px 24px; background: var(--white);
  border-top: 1px solid var(--gray-200);
}
.hb-nearby-inner { max-width: 1000px; margin: 0 auto; text-align: center; }
.hb-nearby h3 {
  font-family: 'Playfair Display', serif; font-size: 22px;
  color: var(--navy); margin-bottom: 8px;
}
.hb-nearby p { font-size: 15px; color: var(--gray-600); margin-bottom: 24px; }
.hb-nearby-links {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 10px;
}
.hb-nearby-link {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gray-100); border: 1px solid var(--gray-200);
  border-radius: 20px; padding: 8px 16px;
  font-size: 13.5px; font-weight: 600; color: var(--navy);
  transition: all 0.18s; min-height: 44px;
}
.hb-nearby-link:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.hb-nearby-link svg { color: var(--gold); transition: color 0.18s; }
.hb-nearby-link:hover svg { color: var(--white); }

/* ── CTA BANNER ───────────────────────────────────────────────────── */
.hb-cta { background: var(--navy-deep); padding: 80px 24px; }
.hb-cta-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.hb-cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 44px); color: var(--white);
  margin-bottom: 16px; line-height: 1.2;
}
.hb-cta h2 em { color: var(--gold); font-style: italic; }
.hb-cta p { font-size: 17px; color: rgba(255,255,255,0.65); line-height: 1.65; margin-bottom: 36px; }
.hb-cta-actions {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap; margin-bottom: 28px;
}
.hb-cta-reassurance {
  display: flex; align-items: center; justify-content: center;
  gap: 24px; flex-wrap: wrap;
}
.hb-cta-re-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: rgba(255,255,255,0.50);
}
.hb-cta-re-item svg { color: var(--gold); }

/* ── FADE-IN ON SCROLL ────────────────────────────────────────────── */
.hb-fade-in { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.hb-fade-in.hb-visible { opacity: 1; transform: none; }

/* ── HERO PHOTO LINK ANIMATION ────────────────────────────────────── */
.hb-hero-photo-link {
  display: block; position: relative; border-radius: 14px; overflow: hidden;
  text-decoration: none;
}
@keyframes hb-pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(184,145,42,0.55); }
  70%  { box-shadow: 0 0 0 14px rgba(184,145,42,0); }
  100% { box-shadow: 0 0 0 0 rgba(184,145,42,0); }
}
.hb-hero-photo-link { animation: hb-pulse-ring 2.8s ease-out infinite; }
.hb-hero-photo-link:hover { animation: none; box-shadow: 0 0 0 4px rgba(184,145,42,0.5); }

/* ── RESPONSIVE ───────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hb-hero-inner   { grid-template-columns: 1fr; gap: 48px; }
  .hb-hoods-grid   { grid-template-columns: 1fr 1fr; }
  .hb-risks-grid   { grid-template-columns: 1fr 1fr; }
  .hb-scope-grid   { grid-template-columns: repeat(2, 1fr); }
  .hb-era-panel.active { grid-template-columns: 1fr; gap: 28px; }
  .hb-radon-inner  { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 880px) {
  .hb-local-inner-split { grid-template-columns: 1fr; gap: 32px; direction: ltr; }
  .hb-local-inner-split.reverse { direction: ltr; }
  .hb-local-image-wrap { aspect-ratio: 4 / 3; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .hb-hero          { padding: 40px 20px 64px; }
  .hb-hero-actions  { flex-direction: column; }
  .hb-hero-actions a { width: 100%; justify-content: center; }
  .hb-trust-bar-inner { justify-content: center; }
  .hb-trust-div     { display: none; }
  .hb-hoods-grid    { grid-template-columns: 1fr; }
  .hb-risks-grid    { grid-template-columns: 1fr; }
  .hb-scope-grid    { grid-template-columns: 1fr 1fr; }
  .hb-thermal-banner { flex-direction: column; text-align: center; }
  .hb-bilingual-inner { flex-direction: column; text-align: center; padding: 32px 24px; }
  .hb-expertise-cards { grid-template-columns: 1fr; }
  .hb-cta-actions   { flex-direction: column; }
  .hb-cta-actions a { width: 100%; justify-content: center; }
  .hb-era-tabs      { width: 100%; }
  .hb-era-tab       { flex: 1; text-align: center; font-size: 12px; padding: 9px 10px; }
  .hb-local    { padding: 64px 20px; }
  .hb-eras     { padding: 64px 20px; }
  .hb-hoods    { padding: 64px 20px; }
  .hb-risks    { padding: 64px 20px; }
  .hb-scope    { padding: 64px 20px; }
  .hb-radon    { padding: 64px 20px; }
  .hb-bilingual { padding: 48px 20px; }
  .hb-faq      { padding: 64px 20px; }
  .hb-cta      { padding: 64px 20px; }
}
@media (max-width: 480px) {
  .hb-scope-grid  { grid-template-columns: 1fr; }
  .hb-stat-grid   { grid-template-columns: 1fr 1fr; }
}
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* =============================================================================
   MARKET STATS BLOCK  (.thi-market-*)
   Rendered by partials/market-stats.php between hero and trust bar.
   Data sourced monthly from Redfin via the thi-market-data GitHub Action.
   ============================================================================= */
.thi-market {
  background: var(--navy-deep);
  background-image:
    radial-gradient(ellipse at 80% 50%, rgba(184,145,42,0.10) 0%, transparent 60%);
  color: var(--white);
  padding: 28px 24px 40px;
  border-top: 1px solid rgba(184,145,42,0.35);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.thi-market-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* ── Header ──────────────────────────────────────────────────────── */
.thi-market-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 28px;
}
.thi-market-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold-light);
}
.thi-market-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #6dd170;
  box-shadow: 0 0 0 4px rgba(109,209,112,0.18);
  display: inline-block;
}
.thi-market-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--white);
  flex: 1 1 auto;
}
.thi-market-title em { color: var(--gold-light); font-style: italic; }
.thi-market-source-note {
  flex: 0 0 100%;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
}

/* ── Stat grid ───────────────────────────────────────────────────── */
.thi-market-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}
.thi-stat {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: var(--transition);
}
.thi-stat:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); }
.thi-stat-headline {
  background: linear-gradient(135deg, rgba(184,145,42,0.12), rgba(184,145,42,0.04));
  border-color: rgba(184,145,42,0.25);
}
.thi-stat-headline:hover { border-color: rgba(184,145,42,0.4); }

.thi-stat-val {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--white);
  letter-spacing: -0.02em;
}
.thi-stat-headline .thi-stat-val { color: var(--gold-light); }
.thi-stat-unit {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  margin-left: 4px;
  letter-spacing: 0;
}
.thi-stat-lbl {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  margin-top: 8px;
  line-height: 1.4;
}

/* ── MoM trend pill ──────────────────────────────────────────────── */
.thi-stat-trend {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px 4px 8px;
  border-radius: 100px;
  margin-top: 12px;
  width: max-content;
}
.thi-stat-up    { background: rgba(109,209,112,0.14); color: #9be99e; }
.thi-stat-down  { background: rgba(232,90,90,0.14);  color: #f1a3a3; }
.thi-stat-flat  { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.65); }
.thi-stat-arrow { font-weight: 700; line-height: 1; }

/* ── Sparkline ───────────────────────────────────────────────────── */
.thi-stat-spark {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.5);
}
.thi-spark { display: block; color: var(--gold-light); }
.thi-spark-lbl {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── Footer ──────────────────────────────────────────────────────── */
.thi-market-foot {
  margin-top: 24px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.thi-market-foot .thi-market-eyebrow { font-size: 11px; }
.thi-market-foot strong { color: rgba(255,255,255,0.85); font-weight: 600; }
.thi-market-foot a {
  color: rgba(255,255,255,0.7);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.25);
  text-underline-offset: 3px;
}
.thi-market-foot a:hover { color: var(--gold-light); text-decoration-color: var(--gold-light); }
.thi-market-foot-sep { opacity: 0.4; }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .thi-market-grid { grid-template-columns: 1fr 1fr 1fr; }
  .thi-stat-headline { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .thi-market { padding: 36px 20px; }
  .thi-market-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .thi-stat-headline { grid-column: 1 / -1; }
  .thi-stat { padding: 18px; }
  .thi-stat-val { font-size: 26px; }
  .thi-market-head { margin-bottom: 22px; }
}
