/* ============================================
   mortgages-by-tony.com
   Navy/Gold palette · Coastal structure · Mobile-first
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

:root {
  --navy: #1a2744;
  --navy-deep: #0f1a2e;
  --slate: #3a4f6e;
  --gold: #c6943e;
  --gold-light: #dbb06b;
  --gold-pale: #f5ecd8;
  --cream: #faf8f4;
  --white: #ffffff;
  --text-primary: #1a2744;
  --text-secondary: #5a6a82;
  --text-light: #8a96a8;
  --border: #e2ddd4;
  --shadow-sm: 0 1px 3px rgba(26,39,68,0.06);
  --shadow-md: 0 4px 16px rgba(26,39,68,0.08);
  --shadow-lg: 0 12px 40px rgba(26,39,68,0.12);
  --radius: 8px;
  --radius-lg: 14px;
  --max-width: 1200px;
  --header-height: 64px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-weight: 400;
  color: var(--text-primary);
  background: var(--cream);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'DM Serif Display', Georgia, serif;
  line-height: 1.2;
  font-weight: 400;
}
h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.2rem; }

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

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* ── HEADER ──────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy-deep);
  height: var(--header-height);
  display: flex; align-items: center;
  box-shadow: 0 2px 20px rgba(15,26,46,0.2);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 20px;
}
.logo { font-family: 'DM Serif Display', serif; font-size: 1.1rem; color: var(--white); }
.logo span { color: var(--gold); }

/* Nav: hidden on mobile by default */
.nav-links { display: none; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.8); font-size: 0.85rem; font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase; transition: color 0.2s; }
.nav-links a:hover { color: var(--gold); }
.nav-cta { background: var(--gold) !important; color: var(--navy-deep) !important; padding: 8px 20px !important; border-radius: var(--radius); font-weight: 600 !important; font-size: 0.85rem !important; }
.nav-cta:hover { background: var(--gold-light) !important; }

.mobile-toggle { display: block; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: 0.3s; }

.nav-links.active {
  display: flex; flex-direction: column;
  position: absolute; top: var(--header-height); left: 0; right: 0;
  background: var(--navy-deep); padding: 16px 20px; gap: 14px;
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* ── HERO — with ridgeline divider ───────── */
.hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, var(--slate) 100%);
  padding: 60px 0 100px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; bottom: 8%; right: 5%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(198,148,62,0.08) 0%, transparent 60%);
  pointer-events: none;
}
/* Mountain ridgeline divider */
.hero::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 60px;
  background: var(--cream);
  clip-path: polygon(0 65%, 8% 45%, 16% 55%, 25% 35%, 35% 50%, 45% 30%, 55% 45%, 65% 25%, 75% 40%, 85% 30%, 92% 48%, 100% 38%, 100% 100%, 0 100%);
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 24px; position: relative; z-index: 1; align-items: center; }
.hero-content { max-width: 680px; }
.hero-badge {
  display: inline-block; background: rgba(198,148,62,0.15); color: var(--gold-light);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 20px; border: 1px solid rgba(198,148,62,0.25);
  margin-bottom: 20px;
}
.hero h1 { color: var(--white); margin-bottom: 16px; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero p { color: rgba(255,255,255,0.7); font-size: 1rem; margin-bottom: 28px; line-height: 1.75; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; }
.hero-photo { display: none; }

/* ── BUTTONS ─────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: var(--radius); font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem; font-weight: 600; cursor: pointer; border: none;
  transition: all 0.25s; text-decoration: none; text-align: center;
  /* Make buttons full-width on mobile */
  width: 100%;
}
.btn-primary { background: var(--gold); color: var(--navy-deep); }
.btn-primary:hover { background: var(--gold-light); color: var(--navy-deep); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(198,148,62,0.3); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-deep); color: var(--white); }

/* ── SECTIONS ────────────────────────────── */
.section { padding: 56px 0; }
.section-alt { background: var(--white); }
.section-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.section-header { max-width: 640px; margin-bottom: 36px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-header p { color: var(--text-secondary); font-size: 0.98rem; margin-top: 10px; }

/* ── STEPS ───────────────────────────────── */
.steps-row { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.step { text-align: center; padding: 0 16px; max-width: 400px; }
.step-num { width: 48px; height: 48px; background: var(--navy); color: var(--gold); font-family: 'DM Serif Display', serif; font-size: 1.3rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.65; }
.step-arrow { font-size: 1.4rem; color: var(--gold); transform: rotate(90deg); }

/* ── SCHEDULE ────────────────────────────── */
.schedule-layout { display: grid; gap: 32px; }
.schedule-text h2 { margin-bottom: 12px; }
.schedule-text > p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }
.schedule-perks { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.schedule-perk { display: flex; align-items: center; gap: 12px; }
.schedule-perk .sp-icon { font-size: 1.3rem; width: 40px; height: 40px; background: var(--gold-pale); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.schedule-perk div { display: flex; flex-direction: column; }
.schedule-perk strong { font-size: 0.88rem; color: var(--navy); }
.schedule-perk span { font-size: 0.8rem; color: var(--text-secondary); }
.schedule-embed { min-height: 480px; }
.schedule-embed iframe { width: 100%; min-height: 580px; border: none; border-radius: var(--radius-lg); }

/* ── PROGRAMS ────────────────────────────── */
.program-cols { display: grid; gap: 20px; }
.program-col { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: border-color 0.3s; }
.program-col:hover { border-color: var(--gold); }
.program-col-header { padding: 24px 20px 18px; border-bottom: 1px solid var(--border); }
.program-col-icon { font-size: 1.6rem; margin-bottom: 10px; }
.program-col-header h3 { font-size: 1.25rem; margin-bottom: 4px; }
.program-col-header p { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.5; }
.program-item { border-bottom: 1px solid var(--border); }
.program-item:last-child { border-bottom: none; }
.program-trigger { display: flex; justify-content: space-between; align-items: center; padding: 13px 20px; cursor: pointer; font-family: 'DM Sans', sans-serif; font-size: 0.9rem; font-weight: 600; color: var(--navy); transition: background 0.15s; user-select: none; -webkit-tap-highlight-color: transparent; }
.program-trigger:hover, .program-trigger.active { background: var(--gold-pale); }
.program-trigger::after { content: '+'; font-size: 1.2rem; color: var(--gold); transition: transform 0.2s; flex-shrink: 0; width: 20px; text-align: center; }
.program-trigger.active::after { transform: rotate(45deg); }
.program-detail { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.program-trigger.active + .program-detail { max-height: 500px; }
.program-detail-inner { padding: 0 20px 16px; color: var(--text-secondary); font-size: 0.86rem; line-height: 1.65; }
.program-detail-inner a { display: inline-block; margin-top: 8px; font-weight: 600; font-size: 0.85rem; }

/* ── BIO ─────────────────────────────────── */
.bio-section { padding: 56px 0; }
.bio-layout { display: grid; gap: 32px; }
.bio-photo-wrap { max-width: 240px; margin: 0 auto; }
.bio-photo { width: 100%; aspect-ratio: 5/6; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.bio-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.bio-social { margin-top: 12px; text-align: center; }
.bio-social a { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); }
.bio-social a:hover { color: var(--gold); }
.bio-text h2 { margin-bottom: 16px; }
.bio-text p { color: var(--text-secondary); margin-bottom: 14px; font-size: 0.95rem; line-height: 1.8; }
.bio-highlights { display: flex; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.bio-highlight { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 500; color: var(--navy); }
.bio-highlight .bh-dot { width: 8px; height: 8px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }

/* ── AREAS ───────────────────────────────── */
.areas-compact { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 18px; }
.area-chip { display: inline-flex; align-items: center; gap: 5px; padding: 9px 16px; background: var(--white); border: 1px solid var(--border); border-radius: 40px; font-size: 0.88rem; font-weight: 500; color: var(--navy); text-decoration: none; transition: all 0.2s; -webkit-tap-highlight-color: transparent; }
.area-chip:hover { border-color: var(--gold); background: var(--gold-pale); color: var(--navy); transform: translateY(-2px); }

/* ── CTA ─────────────────────────────────── */
.cta-banner { background: linear-gradient(135deg, var(--navy-deep), var(--navy)); padding: 56px 0; text-align: center; position: relative; overflow: hidden; }
.cta-banner h2 { color: var(--white); margin-bottom: 10px; }
.cta-banner p { color: rgba(255,255,255,0.7); font-size: 1rem; margin-bottom: 24px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; max-width: 340px; margin: 0 auto; }

/* ── FAQ ─────────────────────────────────── */
.faq-list { max-width: 720px; }
.faq-item { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq-q { font-family: 'DM Serif Display', serif; font-size: 1rem; color: var(--navy); cursor: pointer; display: flex; justify-content: space-between; align-items: center; -webkit-tap-highlight-color: transparent; }
.faq-q::after { content: '+'; font-family: 'DM Sans', sans-serif; font-size: 1.4rem; color: var(--gold); transition: transform 0.2s; flex-shrink: 0; margin-left: 12px; }
.faq-q.active::after { transform: rotate(45deg); }
.faq-a { color: var(--text-secondary); font-size: 0.92rem; max-height: 0; overflow: hidden; transition: max-height 0.3s, padding 0.3s; }
.faq-q.active + .faq-a { max-height: 500px; padding-top: 10px; }

/* ── FOOTER ──────────────────────────────── */
.site-footer { background: var(--navy-deep); padding: 48px 0 20px; color: rgba(255,255,255,0.6); }
.footer-grid { display: grid; gap: 32px; margin-bottom: 32px; }
.footer-brand .logo { margin-bottom: 10px; }
.footer-brand p { font-size: 0.82rem; line-height: 1.6; }
.footer-col h4 { color: var(--white); font-family: 'DM Sans', sans-serif; font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,0.6); font-size: 0.85rem; }
.footer-col a:hover { color: var(--gold); }
.footer-compliance { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; margin-top: 16px; }
.compliance-text { font-size: 0.68rem; line-height: 1.7; color: rgba(255,255,255,0.3); }
.compliance-text a { color: rgba(255,255,255,0.4); }
.compliance-text a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 16px; margin-top: 16px; font-size: 0.75rem; display: flex; flex-direction: column; gap: 10px; text-align: center; }
.footer-legal { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.footer-legal a { color: rgba(255,255,255,0.4); font-size: 0.75rem; }
.footer-legal a:hover { color: var(--gold); }
.ehl-badge { display: inline-block; font-size: 0.68rem; border: 1px solid rgba(255,255,255,0.2); padding: 3px 8px; border-radius: 3px; color: rgba(255,255,255,0.5); }

/* ── LOCATION PAGES ──────────────────────── */
.loc-hero { background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, var(--slate) 100%); padding: 60px 0 80px; position: relative; }
.loc-hero::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 50px; background: var(--cream); clip-path: polygon(0 65%, 8% 45%, 16% 55%, 25% 35%, 35% 50%, 45% 30%, 55% 45%, 65% 25%, 75% 40%, 85% 30%, 92% 48%, 100% 38%, 100% 100%, 0 100%); }
.loc-hero h1 { color: var(--white); margin-bottom: 14px; }
.loc-hero p { color: rgba(255,255,255,0.7); font-size: 1rem; max-width: 620px; margin-bottom: 24px; }
.loc-content { padding: 48px 0; }
.loc-content h2 { margin-bottom: 14px; color: var(--navy); }
.loc-content p { color: var(--text-secondary); margin-bottom: 14px; max-width: 720px; }
.loc-content .service-list { list-style: none; display: grid; gap: 10px; margin: 20px 0; max-width: 600px; }
.loc-content .service-list li { padding: 10px 14px; background: var(--gold-pale); border-radius: var(--radius); font-weight: 500; font-size: 0.88rem; }
.loc-content .service-list li::before { content: '✓ '; color: var(--gold); font-weight: 700; }

/* ── BLOG ────────────────────────────────── */
.blog-grid { display: grid; gap: 20px; }
.blog-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px 20px; transition: all 0.3s; }
.blog-card:hover { border-color: var(--gold); box-shadow: var(--shadow-md); }
.blog-date { font-size: 0.75rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 8px; }
.blog-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.blog-card h3 a { color: var(--navy); }
.blog-card h3 a:hover { color: var(--gold); }
.blog-card p { color: var(--text-secondary); font-size: 0.88rem; }

/* ── TRUST BAR ───────────────────────────── */
.trust-bar { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 24px 0; }
.trust-items { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; }
.trust-item { text-align: center; }
.trust-item .number { font-family: 'DM Serif Display', serif; font-size: 1.5rem; color: var(--navy); }
.trust-item .label { font-size: 0.75rem; color: var(--text-secondary); margin-top: 2px; text-transform: uppercase; letter-spacing: 0.04em; }

/* ════════════════════════════════════════════
   TABLET (600px+)
   ════════════════════════════════════════════ */
@media (min-width: 600px) {
  h1 { font-size: 2.4rem; }
  h2 { font-size: 2rem; }
  .container { padding: 0 24px; }
  .section { padding: 70px 0; }
  .bio-section { padding: 70px 0; }
  .hero { padding: 80px 0 110px; }
  .hero-actions { flex-direction: row; }
  .btn { width: auto; }
  .cta-actions { flex-direction: row; max-width: none; }
  .loc-content .service-list { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ════════════════════════════════════════════
   DESKTOP (900px+)
   ════════════════════════════════════════════ */
@media (min-width: 900px) {
  h1 { font-size: clamp(2.4rem, 4.5vw, 3.4rem); }
  h2 { font-size: clamp(2rem, 3vw, 2.6rem); }
  .section { padding: 80px 0; }
  .bio-section { padding: 80px 0; }
  .hero { padding: 100px 0 130px; }
  .hero p { font-size: 1.15rem; }

  /* Show desktop nav */
  .nav-links { display: flex; gap: 24px; align-items: center; }
  .mobile-toggle { display: none; }
  .logo { font-size: 1.2rem; }
  --header-height: 72px;

  /* Hero grid with photo */
  .hero-grid { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: center; }
  .hero-photo { display: block; width: 300px; height: 360px; border-radius: var(--radius-lg); overflow: hidden; border: 3px solid rgba(198,148,62,0.3); box-shadow: 0 20px 60px rgba(0,0,0,0.25); }
  .hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

  /* 3-column programs */
  .program-cols { grid-template-columns: repeat(3, 1fr); }
  .program-col-header { padding: 28px 28px 20px; }
  .program-trigger { padding: 14px 28px; }
  .program-detail-inner { padding: 0 28px 16px; }

  /* Side-by-side bio */
  .bio-layout { grid-template-columns: 300px 1fr; gap: 48px; }
  .bio-photo-wrap { position: sticky; top: 100px; max-width: none; }

  /* Side-by-side schedule */
  .schedule-layout { grid-template-columns: 1fr 1.2fr; gap: 48px; }

  /* Steps horizontal */
  .steps-row { flex-direction: row; gap: 0; }
  .step-arrow { transform: none; }

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

/* ════════════════════════════════════════════
   LARGE DESKTOP (1100px+)
   ════════════════════════════════════════════ */
@media (min-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr 340px; gap: 60px; }
}

/* ── TOUCH TARGETS ───────────────────────── */
@media (hover: none) and (pointer: coarse) {
  .program-trigger { min-height: 48px; }
  .faq-q { min-height: 48px; }
  .area-chip { min-height: 44px; }
  .btn { min-height: 48px; }
  .nav-links a { padding: 8px 0; }
}

/* ── TIGHTER BOTTOM HALF ─────────────────── */
.section-alt + .section-alt { padding-top: 0; }
.bio-section + .section-alt { padding-top: 40px; }
.cta-banner { padding: 44px 0; }
#faq { padding-bottom: 40px; }
#schedule .schedule-perks { margin-top: 16px; gap: 12px; }
#schedule { padding-bottom: 40px; }
#areas { padding: 48px 0; }
#process { padding: 48px 0; }

/* ── CALCULATOR ──────────────────────────── */
.calc-wrap { display: grid; gap: 24px; max-width: 680px; margin: 0 auto; }
.calc-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.calc-field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.03em; }
.calc-field input, .calc-field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif; font-size: 1rem; color: var(--text-primary);
  background: var(--white); transition: border-color 0.2s; -webkit-appearance: none;
}
.calc-field input:focus, .calc-field select:focus { outline: none; border-color: var(--gold); }
.calc-result {
  text-align: center; padding: 28px 24px; background: var(--navy); border-radius: var(--radius-lg); color: var(--white);
}
.calc-result-label { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255,255,255,0.6); margin-bottom: 4px; }
.calc-result-amount { font-family: 'DM Serif Display', serif; font-size: 2.8rem; color: var(--gold); line-height: 1.1; margin-bottom: 10px; }
.calc-result-note { font-size: 0.78rem; color: rgba(255,255,255,0.45); line-height: 1.5; max-width: 400px; margin: 0 auto; }

@media (max-width: 480px) { .calc-inputs { grid-template-columns: 1fr; } }

/* ── HERO INLINE STEPS ───────────────────── */
.hero-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 40px;
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 32px;
}
.hero-step {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255,255,255,0.8);
}
.hero-step-num {
  width: 36px;
  height: 36px;
  background: var(--gold);
  color: var(--navy-deep);
  font-family: 'DM Serif Display', serif;
  font-size: 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
}
.hero-step strong {
  display: block;
  color: var(--white);
  font-size: 0.9rem;
}
.hero-step span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}

@media (min-width: 600px) {
  .hero-steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}


/* ── CO-BRANDED LOGO ─────────────────────── */
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.barrett-logo { height: 40px; width: auto; }
.footer-brand .barrett-logo { height: 44px; }
.ehl-logo { height: 160px; width: auto; opacity: 0.7; }
.footer-logos { display: flex; align-items: center; gap: 16px; }

/* ════════════════════════════════════════════
   DARK MODE (auto-detects system preference)
   Only affects content sections, NOT the hero/CTA/footer (already dark)
   ════════════════════════════════════════════ */
@media (prefers-color-scheme: dark) {
  /* Page background */
  body { background: #121a24; }

  /* Content section backgrounds */
  .section { background: #121a24; }
  .section-alt { background: #1a2332; }
  .bio-section { background: #121a24; }

  /* Text colors for content areas */
  .section h2, .section h3, .section p,
  .bio-text h2, .bio-text p,
  .section-header h2, .section-header p { color: #e4e8ec; }
  .section p, .bio-text p, .program-detail-inner,
  .calc-result-note, .blog-card p, .blog-date { color: #9eaab6; }
  .section-header p { color: #9eaab6; }

  /* Program columns */
  .program-col { background: #1a2332; border-color: #2a3544; }
  .program-col:hover { border-color: var(--gold); }
  .program-col-header { background: rgba(255,255,255,0.03); border-color: #2a3544; }
  .program-col-header h3 { color: #e4e8ec; }
  .program-col-header p { color: #9eaab6; }
  .program-item { border-color: #2a3544; }
  .program-trigger { color: #e4e8ec; }
  .program-trigger:hover, .program-trigger.active { background: rgba(198,148,62,0.1); }
  .program-detail-inner { color: #9eaab6; }

  /* FAQ */
  .faq-q { color: #e4e8ec; }
  .faq-a { color: #9eaab6; }
  .faq-item { border-color: #2a3544; }

  /* Calculator */
  .calc-field label { color: #9eaab6; }
  .calc-field input, .calc-field select { background: #0f1720; border-color: #2a3544; color: #e4e8ec; }
  .calc-field input:focus, .calc-field select:focus { border-color: var(--gold); }

  /* Area chips */
  .area-chip { background: #1a2332; border-color: #2a3544; color: #e4e8ec; }
  .area-chip:hover { background: rgba(198,148,62,0.1); border-color: var(--gold); color: #e4e8ec; }

  /* Blog cards */
  .blog-card { background: #1a2332; border-color: #2a3544; }
  .blog-card h3 a { color: #e4e8ec; }
  .blog-card h3 a:hover { color: var(--gold); }

  /* Bio */
  .bio-highlight { color: #e4e8ec; }
  .bio-photo { box-shadow: 0 12px 40px rgba(0,0,0,0.5); }

  /* Trust bar */
  .trust-bar { background: #1a2332; border-color: #2a3544; }
  .trust-item .number { color: #e4e8ec; }
  .trust-item .label { color: #9eaab6; }

  /* Location page content */
  .loc-content h2 { color: #e4e8ec; }
  .loc-content p { color: #9eaab6; }
  .loc-content .service-list li { background: rgba(198,148,62,0.1); color: #e4e8ec; }

  /* Schedule perk labels */
  .schedule-perk strong { color: #e4e8ec; }
  .schedule-perk span { color: #9eaab6; }
  .schedule-embed iframe { background: #1a2332; }

  /* Links in content */
  .section a, .bio-text a, .loc-content a { color: var(--gold-light); }

  /* Steps bar below hero */
  .hero-steps { border-color: rgba(255,255,255,0.1); }

  /* Logo variants for dark mode - header/footer already use white versions, no change needed */
  /* But for any light-bg context, swap to white */
}
