/* ============================================================
   DELCO HEALTH BASE — Global Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Source+Serif+4:wght@600;700&display=swap');

/* ---- Design Tokens ---- */
:root {
  --navy:         #1B2A4A;
  --navy-dark:    #0F1E36;
  --navy-light:   #243554;
  --gold:         #B8972E;
  --gold-light:   #F5E9C0;
  --gold-dark:    #8F7220;
  --white:        #FFFFFF;
  --off-white:    #F7F8FA;
  --border:       #D6DCE8;
  --text-dark:    #1B2A4A;
  --text-medium:  #3D4F6B;
  --text-light:   #6B7A99;
  --alert-red:    #C0392B;
  --alert-yellow: #7D6008;
  --success:      #1F6E3B;

  /* Legacy aliases so existing HTML classes keep working */
  --primary:        var(--navy);
  --primary-dark:   var(--navy-dark);
  --teal:           var(--navy);
  --accent:         var(--gold);
  --accent-dark:    var(--gold-dark);
  --bg-blue:        var(--gold-light);
  --bg-green:       var(--off-white);
  --danger:         var(--alert-red);
  --danger-bg:      #FDF2F2;
  --warning:        var(--gold);
  --warning-bg:     var(--gold-light);
  --shadow-card:    none;
  --shadow-hover:   0 4px 16px rgba(27,42,74,0.12);
  --shadow-hero:    0 4px 16px rgba(0,0,0,0.2);
  --radius-card:    4px;
  --radius-btn:     4px;
  --radius-sm:      4px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 18px; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--off-white);
  min-width: 320px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: underline; }
a:hover { color: var(--navy-dark); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

/* ---- Typography ---- */
h1, h2 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
h3, h4, h5, h6 {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
h5 { font-size: 1rem; }
body, p, li, td, input, select, textarea {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text-dark);
}
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.5rem; margin-bottom: 1rem; }
li { margin-bottom: 0.3rem; }

/* ---- Layout ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 96px 0; }
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }    .mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }   .mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }   .mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ============================================================
   NAVIGATION — Two-tier government style
   ============================================================ */

.nav-topbar {
  background: var(--navy-dark);
  height: 36px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav-topbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-topbar-text {
  font-size: 11px;
  color: #8899BB;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.01em;
}

.navbar {
  background: var(--navy);
  border-bottom: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 24px;
  height: 68px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo:hover { text-decoration: none; }
.nav-logo-svg { flex-shrink: 0; }
.nav-logo-text { display: flex; flex-direction: column; gap: 1px; }
.nav-logo-name { display: flex; align-items: baseline; }
.logo-delco {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 700;
  color: #FFFFFF;
  font-size: 1.35rem;
  line-height: 1.2;
}
.logo-healthbase {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 500;
  color: #F5E9C0;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.nav-logo-tagline {
  font-size: 10.5px;
  color: #8899BB;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}

/* Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
.nav-links a {
  display: block;
  padding: 7px 10px;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  border-radius: 3px;
  white-space: nowrap;
  letter-spacing: 0.02em;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover,
.nav-links a.active {
  color: #FFFFFF;
  background: rgba(255,255,255,0.11);
  text-decoration: none;
}

.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.lang-toggle {
  background: none;
  border: none;
  color: #8899BB;
  font-size: 10.5px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.15s;
  font-family: inherit;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0;
}
.lang-toggle:hover, .lang-toggle.active { color: var(--gold-light); }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 3px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-menu {
  display: none;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 16px 24px 24px;
}
.nav-mobile-menu.open { display: block; }
.nav-mobile-menu .nav-links { flex-direction: column; align-items: flex-start; gap: 2px; }
.nav-mobile-menu .nav-links a { font-size: 0.95rem; padding: 10px 12px; width: 100%; }
.nav-mobile-menu .nav-actions { margin-top: 16px; gap: 12px; }

/* ============================================================
   BUTTONS — Formal rectangular
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  min-height: 48px;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }

.btn-primary  { background: var(--navy);       color: #FFF; border-color: var(--navy); }
.btn-primary:hover  { background: var(--navy-dark);  border-color: var(--navy-dark); color: #FFF; }

.btn-secondary { background: var(--navy-light); color: #FFF; border-color: var(--navy-light); }
.btn-secondary:hover { background: var(--navy); border-color: var(--navy); color: #FFF; }

.btn-accent   { background: var(--gold);       color: #FFF; border-color: var(--gold); }
.btn-accent:hover   { background: var(--gold-dark);  border-color: var(--gold-dark); color: #FFF; }

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

.btn-outline-white { background: transparent; color: #FFF; border-color: rgba(255,255,255,0.7); }
.btn-outline-white:hover { background: rgba(255,255,255,0.15); color: #FFF; }

.btn-danger   { background: var(--alert-red);  color: #FFF; border-color: var(--alert-red); }
.btn-danger:hover   { background: #9B2A22; border-color: #9B2A22; color: #FFF; }

.btn-sm { padding: 8px 16px; font-size: 0.72rem; min-height: 36px; }
.btn-lg { padding: 14px 32px; font-size: 0.875rem; min-height: 52px; }

/* ============================================================
   CARDS — Flat, authority stripe on top
   ============================================================ */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--navy);
  border-radius: 4px;
  padding: 24px;
  box-shadow: none;
  transition: border-top-color 0.2s;
}
.card:hover { border-top-color: var(--gold); box-shadow: none; transform: none; }

.quick-card { border-top: 4px solid var(--gold); }
.quick-card:hover { border-top-color: var(--navy); }
.quick-card-icon { margin-bottom: 12px; }

.card-icon, .card-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 4px;
  background: var(--gold-light);
  border: 1px solid rgba(184,151,46,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--navy);
  flex-shrink: 0;
}
.card-icon-green, .card-icon-teal { background: var(--off-white); }

/* ============================================================
   ALERTS
   ============================================================ */
.alert {
  border-radius: 4px;
  padding: 16px 20px;
  margin-bottom: 24px;
  border-left: 4px solid transparent;
  font-size: 0.9rem;
}
.alert-warning { background: var(--gold-light);  border-left-color: var(--gold);      color: var(--alert-yellow); }
.alert-info    { background: #EEF2F9;             border-left-color: var(--navy);      color: var(--navy-dark); }
.alert-success { background: #EDF7F1;             border-left-color: var(--success);   color: var(--success); }
.alert-danger  { background: #FDF2F2;             border-left-color: var(--alert-red); color: var(--alert-red); }
.alert strong  { display: block; margin-bottom: 4px; }

.alert-label {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-right: 6px;
  vertical-align: middle;
}

/* Resource card inline labels (replace emoji) */
.rc-label {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy);
  background: var(--gold-light);
  border: 1px solid rgba(184,151,46,0.4);
  padding: 1px 5px;
  border-radius: 2px;
  margin-right: 5px;
  vertical-align: middle;
  flex-shrink: 0;
}

/* ============================================================
   HERO — All pages use navy gradient
   ============================================================ */
.hero {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: #FFFFFF;
  text-align: center;
}
.hero h1, .hero h2 { color: #FFFFFF; font-family: 'Source Serif 4', Georgia, serif; }
.hero p  { color: rgba(255,255,255,0.88); font-size: 1.1rem; max-width: 680px; margin: 0 auto 32px; }
.hero .hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }

.hero-blue, .hero-teal, .hero-green, .hero-red, .hero-purple {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
}

.hero-search {
  display: flex;
  max-width: 560px;
  margin: 24px auto 0;
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-hero);
}
.hero-search input {
  flex: 1; border: none; padding: 14px 20px;
  font-size: 1rem; font-family: inherit; color: var(--text-dark); outline: none;
}
.hero-search button {
  background: var(--gold); color: #FFF; border: none; padding: 14px 24px;
  font-size: 0.78rem; font-weight: 700; font-family: inherit; text-transform: uppercase;
  letter-spacing: 0.04em; cursor: pointer; transition: background 0.15s;
}
.hero-search button:hover { background: var(--gold-dark); }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { color: var(--navy); margin-bottom: 12px; }
.section-header p { color: var(--text-medium); font-size: 0.975rem; max-width: 620px; margin: 0 auto; }

.section-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
  margin-bottom: 8px;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}

/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-block; padding: 3px 10px; border-radius: 2px;
  font-size: 0.67rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; border: 1px solid;
}
.badge-blue, .badge-teal, .badge-green, .badge-purple {
  background: var(--gold-light); color: var(--navy); border-color: rgba(184,151,46,0.35);
}
.badge-red    { background: #FDF2F2; color: var(--alert-red); border-color: rgba(192,57,43,0.3); }
.badge-yellow { background: var(--gold-light); color: var(--alert-yellow); border-color: var(--gold); }

/* ============================================================
   TABLES
   ============================================================ */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 4px;
  border: 1px solid var(--border);
}
table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
th {
  background: var(--navy); color: #FFF; padding: 11px 16px; text-align: left;
  font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em;
}
td { padding: 11px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
tr:last-child td { border-bottom: none; }
tr:nth-child(even) td { background: var(--off-white); }
tr:hover td { background: var(--gold-light); }

/* ============================================================
   FORMS
   ============================================================ */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-weight: 600; margin-bottom: 6px; color: var(--text-dark);
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 16px; border: 1px solid var(--border); border-radius: 4px;
  font-size: 1rem; font-family: inherit; color: var(--text-dark); background: var(--white);
  transition: border-color 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(27,42,74,0.1); }
.form-group textarea { min-height: 120px; resize: vertical; }

/* ============================================================
   ACCORDION
   ============================================================ */
.accordion { border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.accordion-item { border-top: 1px solid var(--border); }
.accordion-item:first-child { border-top: none; }
.accordion-toggle {
  width: 100%; background: none; border: none; padding: 15px 20px; text-align: left;
  font-size: 0.95rem; font-weight: 600; color: var(--navy); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  transition: background 0.15s; font-family: inherit;
}
.accordion-toggle:hover { background: var(--off-white); }
.accordion-toggle[aria-expanded="true"] { background: var(--gold-light); color: var(--navy); }
.accordion-icon { font-size: 1rem; transition: transform 0.25s; flex-shrink: 0; font-weight: 400; }
.accordion-toggle[aria-expanded="true"] .accordion-icon { transform: rotate(45deg); }
.accordion-body { display: none; padding: 0 20px 20px; color: var(--text-medium); font-size: 0.9rem; }
.accordion-body.open { display: block; }

/* ============================================================
   STEPPER
   ============================================================ */
.stepper { position: relative; }
.stepper-item { display: flex; gap: 20px; margin-bottom: 32px; position: relative; }
.stepper-item:not(:last-child)::before {
  content: ''; position: absolute; left: 23px; top: 48px;
  width: 2px; height: calc(100% - 8px); background: var(--border);
}
.stepper-num {
  width: 48px; height: 48px; border-radius: 4px; background: var(--navy); color: #FFF;
  font-weight: 700; font-size: 1rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.stepper-content { padding-top: 10px; }
.stepper-content h4 { color: var(--navy); margin-bottom: 4px; }

/* ============================================================
   STATS
   ============================================================ */
.stat-card {
  text-align: center; padding: 32px 24px; background: var(--white);
  border-radius: 4px; border: 1px solid var(--border); border-top: 3px solid var(--navy);
}
.stat-num   { font-family: 'Source Serif 4', Georgia, serif; font-size: 2.8rem; font-weight: 700; color: var(--navy); line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 0.78rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.06em; }
.stat-note  { font-size: 0.82rem; color: var(--text-light); margin: 0; }

/* Navy stat strip */
.stat-strip { background: var(--navy); padding: 56px 0; }
.stat-strip .stat-card { background: transparent; border: none; border-top: none; }
.stat-strip .stat-num   { color: var(--gold); font-size: 3.5rem; }
.stat-strip .stat-label { color: #FFFFFF; }
.stat-strip .stat-note  { color: rgba(255,255,255,0.5); }
.stat-strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.stat-strip-item { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.stat-strip-label { font-size: 0.9rem; color: rgba(255,255,255,0.8); max-width: 220px; }

/* ============================================================
   TESTIMONIALS (legacy — hidden on index by HTML removal)
   ============================================================ */
.testimonial {
  background: var(--white); border-radius: 4px; padding: 28px;
  border: 1px solid var(--border); border-top: 3px solid var(--gold);
}
.testimonial p { font-style: italic; color: var(--text-medium); }
.testimonial-attr { font-size: 0.82rem; font-weight: 600; color: var(--text-light); margin-top: 12px; }

/* ============================================================
   MISSION QUOTE
   ============================================================ */
.mission-quote {
  border-left: 4px solid var(--gold);
  padding: 24px 32px;
  background: var(--gold-light);
  border-radius: 0 4px 4px 0;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.1rem;
  color: var(--navy);
  font-style: normal;
  font-weight: 600;
  line-height: 1.8;
}

/* ============================================================
   HIGHLIGHT BOXES
   ============================================================ */
.box-blue   { background: var(--gold-light);  border-radius: 4px; padding: 32px; border: 1px solid rgba(184,151,46,0.25); }
.box-green  { background: var(--off-white);   border-radius: 4px; padding: 32px; border: 1px solid var(--border); }
.box-yellow { background: var(--gold-light);  border-radius: 4px; padding: 32px; border: 1px solid var(--gold); }
.box-red    { background: #FDF2F2;            border-radius: 4px; padding: 32px; border: 1px solid rgba(192,57,43,0.25); }

/* ============================================================
   FILTER BAR
   ============================================================ */
.filter-bar {
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 16px 0; position: sticky; top: 68px; z-index: 900;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.filter-bar-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.filter-search { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.filter-search input {
  flex: 1; max-width: 400px; padding: 9px 16px; border: 1px solid var(--border);
  border-radius: 4px; font-size: 0.875rem; font-family: inherit; outline: none;
}
.filter-search input:focus { border-color: var(--navy); }
.filter-pills { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.filter-pill {
  padding: 5px 13px; border-radius: 3px; border: 1px solid var(--border);
  background: var(--white); color: var(--text-medium); font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.04em; cursor: pointer; transition: all 0.15s; font-family: inherit;
}
.filter-pill:hover { border-color: var(--navy); color: var(--navy); }
.filter-pill.active { background: var(--navy); border-color: var(--navy); color: #FFF; }
.results-count { font-size: 0.82rem; color: var(--text-light); margin-left: auto; white-space: nowrap; }

/* ============================================================
   RESOURCE CARDS
   ============================================================ */
.resource-card {
  background: var(--white); border-radius: 4px; padding: 24px;
  border: 1px solid var(--border); border-top: 3px solid var(--navy);
  display: flex; flex-direction: column; gap: 12px; transition: border-top-color 0.2s;
}
.resource-card:hover { border-top-color: var(--gold); }
.resource-card .resource-name { font-size: 1rem; font-weight: 700; color: var(--navy); margin: 0; }
.resource-card .resource-meta { display: flex; flex-direction: column; gap: 5px; font-size: 0.875rem; color: var(--text-medium); }
.resource-card .resource-meta a { color: var(--navy); }
.resource-card .resource-services ul { margin: 4px 0 0; padding-left: 1.25rem; font-size: 0.85rem; color: var(--text-medium); }
.resource-card .resource-cost { font-size: 0.875rem; }
.resource-card .resource-cost strong { color: var(--success); }
.resource-card .resource-verified { font-size: 0.75rem; color: var(--text-light); margin-top: auto; border-top: 1px solid var(--border); padding-top: 10px; }
.resource-card .resource-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }

/* ============================================================
   QUIZ
   ============================================================ */
.quiz-container { max-width: 640px; margin: 0 auto; }
.quiz-progress { height: 4px; background: var(--border); border-radius: 2px; margin-bottom: 32px; overflow: hidden; }
.quiz-progress-bar { height: 100%; background: var(--gold); border-radius: 2px; transition: width 0.4s ease; }
.quiz-step { display: none; }
.quiz-step.active { display: block; }
.quiz-question {
  font-family: 'Source Serif 4', Georgia, serif; font-size: 1.15rem; font-weight: 700;
  color: var(--navy); margin-bottom: 24px; line-height: 1.4;
}
.quiz-options { display: flex; flex-direction: column; gap: 8px; }
.quiz-option {
  display: flex; align-items: center; gap: 12px; padding: 12px 18px;
  border: 1px solid var(--border); border-radius: 4px; cursor: pointer;
  transition: border-color 0.15s, background 0.15s; font-size: 0.95rem; font-weight: 400;
  color: var(--text-dark); background: var(--white); font-family: inherit; text-align: left; width: 100%;
}
.quiz-option:hover   { border-color: var(--navy); background: var(--off-white); }
.quiz-option.selected { border-color: var(--navy); background: var(--gold-light); font-weight: 600; color: var(--navy); }
.quiz-option input { display: none; }
.quiz-nav { display: flex; gap: 12px; margin-top: 28px; }
.quiz-step-label { font-size: 0.72rem; color: var(--text-light); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.06em; }

.result-card {
  background: var(--white); border-radius: 4px; padding: 20px 24px;
  border: 1px solid var(--border); border-left: 4px solid var(--navy); margin-bottom: 16px;
}
.result-card.priority { border-left-color: var(--gold); }
.result-card h4 { margin-bottom: 6px; color: var(--navy); }
.result-card p  { font-size: 0.875rem; color: var(--text-medium); margin-bottom: 8px; }
.result-card .result-meta { font-size: 0.82rem; color: var(--text-light); }

/* ============================================================
   BLOG CARDS
   ============================================================ */
.blog-card {
  background: var(--white); border-radius: 4px; border: 1px solid var(--border);
  border-top: 3px solid var(--navy); overflow: hidden; transition: border-top-color 0.2s;
  display: flex; flex-direction: column;
}
.blog-card:hover { border-top-color: var(--gold); box-shadow: none; transform: none; }
.blog-card-img {
  height: 120px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex; align-items: center; justify-content: center;
}
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card-body h3 { font-size: 1rem; margin-bottom: 8px; color: var(--navy); }
.blog-card-body p  { font-size: 0.875rem; color: var(--text-medium); flex: 1; }
.blog-card-meta { font-size: 0.75rem; color: var(--text-light); margin-top: 12px; display: flex; justify-content: space-between; align-items: center; }

/* ============================================================
   CARE CARDS (Where to Go)
   ============================================================ */
.care-card {
  background: var(--white); border-radius: 4px; padding: 24px;
  border: 1px solid var(--border); border-top: 4px solid var(--navy);
}
.care-card.er    { border-top-color: var(--alert-red); }
.care-card.uc    { border-top-color: var(--gold); }
.care-card.fqhc  { border-top-color: var(--success); }
.care-card.tele  { border-top-color: var(--navy-light); }
.care-card h3 { margin-bottom: 16px; font-size: 1rem; }
.care-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.care-meta-item { background: var(--off-white); border-radius: 3px; padding: 9px 14px; border: 1px solid var(--border); }
.care-meta-item strong { display: block; font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-light); margin-bottom: 2px; }
.care-meta-item span { font-weight: 700; font-size: 0.875rem; color: var(--navy); }
.care-card ul { font-size: 0.875rem; color: var(--text-medium); margin-bottom: 0; }

/* ============================================================
   COMPARE GRID
   ============================================================ */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare-card { border-radius: 4px; padding: 24px; }
.compare-card.eob  { background: #EEF2F9;      border: 2px solid var(--navy); }
.compare-card.bill { background: var(--gold-light); border: 2px solid var(--gold); }
.compare-card h4 { margin-bottom: 12px; }
.compare-card ul { font-size: 0.875rem; padding-left: 1.2rem; }

/* ============================================================
   CHECKLIST & STEP LIST
   ============================================================ */
.checklist { list-style: none; padding: 0; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.checklist li:last-child { border-bottom: none; }
.checklist-icon { font-size: 0.95rem; flex-shrink: 0; margin-top: 3px; color: var(--gold-dark); }

.step-list { list-style: none; padding: 0; }
.step-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 10px; font-size: 0.9rem; color: var(--text-medium); }
.step-list li::before { content: ''; display: block; width: 8px; height: 8px; background: var(--gold); margin-top: 8px; flex-shrink: 0; }

/* ============================================================
   ABOUT PAGE — Who We Serve grid
   ============================================================ */
.serve-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.serve-item {
  background: var(--white);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
}
.serve-item-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-light); display: block; margin-bottom: 2px; }

/* Stat callout boxes (about page healthcare-confusion section) */
.stat-callout {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--alert-red);
  border-radius: 4px;
  padding: 20px 24px;
}
.stat-callout-num { font-family: 'Source Serif 4', Georgia, serif; font-size: 2rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.stat-callout-text { font-size: 0.875rem; font-weight: 600; color: var(--text-dark); margin-bottom: 4px; }
.stat-callout-source { font-size: 0.75rem; color: var(--text-light); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy-dark); color: rgba(255,255,255,0.75); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; margin-bottom: 48px; }
.footer h4 {
  color: #FFF; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.12); padding-bottom: 8px;
}
.footer p, .footer li { font-size: 0.85rem; color: rgba(255,255,255,0.6); line-height: 1.8; }
.footer a { color: rgba(255,255,255,0.6); text-decoration: none; }
.footer a:hover { color: var(--gold-light); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 6px; }
.footer-disclaimer {
  background: rgba(192,57,43,0.15); border: 1px solid rgba(192,57,43,0.3); border-radius: 4px;
  padding: 16px 20px; font-size: 0.82rem; margin-bottom: 32px; color: #F5A49A;
}
.footer-emergency { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.footer-emergency a {
  background: rgba(255,255,255,0.07); border-radius: 3px; padding: 6px 14px;
  font-size: 0.78rem; font-weight: 600; color: #FFF; border: 1px solid rgba(255,255,255,0.14);
}
.footer-newsletter { display: flex; gap: 6px; margin-top: 12px; }
.footer-newsletter input {
  flex: 1; padding: 9px 13px; border-radius: 3px; border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.07); color: #FFF; font-size: 0.85rem; font-family: inherit;
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,0.35); }
.footer-newsletter button {
  padding: 9px 16px; background: var(--gold); color: #FFF; border: none; border-radius: 3px;
  font-weight: 700; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.04em;
  cursor: pointer; font-family: inherit; transition: background 0.15s;
}
.footer-newsletter button:hover { background: var(--gold-dark); }
.footer-social { display: flex; gap: 8px; margin-top: 12px; }
.footer-social a {
  width: 32px; height: 32px; background: rgba(255,255,255,0.07); border-radius: 3px;
  border: 1px solid rgba(255,255,255,0.14); display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 700; color: rgba(255,255,255,0.55); transition: background 0.15s; text-decoration: none;
}
.footer-social a:hover { background: rgba(255,255,255,0.18); color: #FFF; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0;
  text-align: center; font-size: 0.78rem; color: rgba(255,255,255,0.35);
}
.footer-bottom a { color: rgba(255,255,255,0.45); }
.footer-bottom a:hover { color: var(--gold-light); }

/* ============================================================
   LANGUAGE
   ============================================================ */
.es { display: none; }
body.lang-es .en { display: none; }
body.lang-es .es { display: inline; }
body.lang-es .es-block { display: block; }
.es-block { display: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  html { font-size: 16px; }
  h1 { font-size: 1.85rem; } h2 { font-size: 1.5rem; } h3 { font-size: 1.2rem; }
  .section { padding: 48px 0; } .section-lg { padding: 64px 0; }
  .container { padding: 0 16px; }
  .hamburger { display: flex; }
  .nav-links { display: none; }
  .nav-actions .btn-accent { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .care-meta { grid-template-columns: 1fr; }
  .hero { padding: 48px 0; } .hero h1 { font-size: 1.7rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .filter-bar { top: 68px; }
  .filter-search { flex-direction: column; align-items: stretch; }
  .filter-search input { max-width: 100%; }
  .results-count { margin-left: 0; }
  .stat-strip .stat-num { font-size: 2.4rem; }
  .stat-strip-grid { grid-template-columns: 1fr; gap: 24px; }
  .serve-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .nav-topbar-text { display: none; }
  .btn { padding: 10px 16px; }
  .hero .hero-actions { flex-direction: column; align-items: center; }
  .quiz-nav { flex-direction: column; }
}

@media print {
  .nav-topbar, .navbar, .footer, .filter-bar, .btn, .hero-search { display: none !important; }
  body { font-size: 12pt; color: #000; background: #fff; }
  a[href]::after { content: " (" attr(href) ")"; }
}
