/* Birchwood Health — Styles */
:root {
  --bh-primary: #2D6A4F;
  --bh-primary-dark: #1B4332;
  --bh-primary-light: #52B788;
  --bh-accent: #D4A373;
  --bh-accent-light: #E9C46A;
  --bh-bg: #FAFAF7;
  --bh-bg-alt: #F0EDE6;
  --bh-text: #1A1A1A;
  --bh-text-light: #555;
  --bh-text-muted: #888;
  --bh-white: #fff;
  --bh-border: #E0DDD5;
  --bh-shadow: 0 2px 12px rgba(0,0,0,.08);
  --bh-shadow-lg: 0 8px 32px rgba(0,0,0,.12);
  --bh-radius: 12px;
  --bh-radius-sm: 8px;
  --bh-header-h: 72px;
  --bh-max-w: 1240px;
  --bh-font: 'DM Sans', system-ui, sans-serif;
  --bh-font-display: 'Playfair Display', Georgia, serif;
  --bh-transition: .25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--bh-font);
  color: var(--bh-text);
  background: var(--bh-bg);
  line-height: 1.7;
  font-size: 16px;
  padding-bottom: 70px;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--bh-primary); text-decoration: none; transition: color var(--bh-transition); }
a:hover { color: var(--bh-primary-dark); }

.bh-container { width: min(100%, var(--bh-max-w)); margin: 0 auto; padding: 0 20px; }

/* ===== HEADER ===== */
.bh-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--bh-white);
  border-bottom: 1px solid var(--bh-border);
  height: var(--bh-header-h);
  transition: background var(--bh-transition), box-shadow var(--bh-transition);
}
.bh-header--home { background: transparent; border-bottom-color: transparent; }
.bh-header--home.bh-header--scrolled { background: var(--bh-white); border-bottom-color: var(--bh-border); box-shadow: var(--bh-shadow); }
.bh-header--scrolled .bh-logo__text { color: var(--bh-primary-dark) !important; }
.bh-header__inner {
  max-width: var(--bh-max-w); margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; height: 100%; gap: 24px;
}
.bh-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.bh-logo__icon { width: 36px; height: 36px; flex-shrink: 0; }
.bh-logo__text { font-family: var(--bh-font-display); font-size: 1.25rem; font-weight: 700; color: var(--bh-primary-dark); }
.bh-header--home .bh-logo__text { color: var(--bh-white); }
.bh-nav { display: flex; gap: 6px; margin-left: auto; }
.bh-nav a { padding: 8px 14px; border-radius: var(--bh-radius-sm); font-weight: 500; font-size: .925rem; color: var(--bh-text); transition: all var(--bh-transition); }
.bh-nav a:hover { background: var(--bh-bg-alt); color: var(--bh-primary); }
.bh-header--home .bh-nav a { color: var(--bh-white); }
.bh-header--home.bh-header--scrolled .bh-nav a { color: var(--bh-text); }
.bh-header__cta {
  display: flex; align-items: center; gap: 8px; padding: 10px 18px;
  background: var(--bh-primary); color: var(--bh-white) !important; border-radius: var(--bh-radius-sm);
  font-weight: 600; font-size: .9rem; white-space: nowrap; transition: all var(--bh-transition);
}
.bh-header__cta:hover { background: var(--bh-primary-dark); transform: translateY(-1px); }
.bh-header__cta svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Hamburger */
.bh-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; z-index: 1003; }
.bh-hamburger span { display: block; width: 26px; height: 3px; background: var(--bh-primary-dark); border-radius: 2px; transition: all .3s; }
.bh-header--home .bh-hamburger span { background: var(--bh-white); }
.bh-header--home.bh-header--scrolled .bh-hamburger span { background: var(--bh-primary-dark); }
.bh-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,6px); }
.bh-hamburger.active span:nth-child(2) { opacity: 0; }
.bh-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-6px); }

/* Overlay */
.bh-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 998; opacity: 0; pointer-events: none; transition: opacity .3s; }
.bh-overlay.active { opacity: 1; pointer-events: auto; }

@media(max-width:968px) {
  .bh-nav { position: fixed; top: 0; right: -300px; width: 280px; height: 100vh; background: var(--bh-white); flex-direction: column; padding: 80px 24px 24px; z-index: 999; box-shadow: var(--bh-shadow-lg); transition: right .3s; gap: 4px; }
  .bh-nav.active { right: 0; }
  .bh-nav a { color: var(--bh-text) !important; padding: 14px 16px; font-size: 1rem; border-radius: var(--bh-radius-sm); }
  .bh-nav a:hover { background: var(--bh-bg-alt); }
  .bh-hamburger { display: flex; }
  .bh-header__cta span { display: none; }
  .bh-header__cta { padding: 10px; }
}

/* ===== HERO ===== */
.bh-hero {
  min-height: 650px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(27,67,50,.65) 0%, rgba(45,106,79,.6) 50%, rgba(64,145,108,.55) 100%), url('/images/hero-ai.webp') center/cover no-repeat;
  padding: calc(var(--bh-header-h) + 60px) 20px 100px; text-align: center; position: relative; overflow: hidden;
}
.bh-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(149,213,178,.15) 0%, transparent 70%);
}
.bh-hero__content { position: relative; z-index: 2; max-width: 720px; }
.bh-hero__badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; background: rgba(255,255,255,.15); backdrop-filter: blur(8px); border-radius: 40px; color: var(--bh-white); font-size: .85rem; font-weight: 500; margin-bottom: 24px; }
.bh-hero h1 { font-family: var(--bh-font-display); font-size: clamp(2rem, 5vw, 3.2rem); color: var(--bh-white); line-height: 1.2; margin-bottom: 20px; }
.bh-hero p { color: rgba(255,255,255,.9); font-size: 1.15rem; margin-bottom: 32px; line-height: 1.6; }
.bh-hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== BUTTONS ===== */
.bh-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: var(--bh-radius-sm);
  font-weight: 600; font-size: 1rem; cursor: pointer; border: 2px solid transparent; transition: all var(--bh-transition); text-decoration: none;
}
.bh-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.bh-btn--primary { background: var(--bh-accent); color: var(--bh-text); border-color: var(--bh-accent); }
.bh-btn--primary:hover { background: #c4935f; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(212,163,115,.4); }
.bh-btn--outline { background: transparent; color: var(--bh-white); border-color: rgba(255,255,255,.5); }
.bh-btn--outline:hover { background: rgba(255,255,255,.1); border-color: var(--bh-white); color: var(--bh-white); }
.bh-btn--green { background: var(--bh-primary); color: var(--bh-white); border-color: var(--bh-primary); }
.bh-btn--green:hover { background: var(--bh-primary-dark); }

/* ===== SECTIONS ===== */
.bh-section { padding: 80px 20px; }
.bh-section--alt { background: var(--bh-bg-alt); }
.bh-section__header { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.bh-section__header h2 { font-family: var(--bh-font-display); font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--bh-primary-dark); margin-bottom: 12px; }
.bh-section__header p { color: var(--bh-text-light); font-size: 1.05rem; }

/* ===== CARDS GRID ===== */
.bh-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: var(--bh-max-w); margin: 0 auto; }
.bh-grid--4 { grid-template-columns: repeat(4, 1fr); }
.bh-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media(max-width:968px) { .bh-grid, .bh-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media(max-width:600px) { .bh-grid, .bh-grid--4, .bh-grid--2 { grid-template-columns: 1fr; } }

.bh-card {
  background: var(--bh-white); border-radius: var(--bh-radius); overflow: hidden;
  box-shadow: var(--bh-shadow); transition: all var(--bh-transition);
}
.bh-card:hover { transform: translateY(-4px); box-shadow: var(--bh-shadow-lg); }
.bh-card__link { text-decoration: none; color: inherit; display: block; }
.bh-card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--bh-bg-alt); }
.bh-card__img { width: 100%; height: 100%; object-fit: cover; }
.bh-card__img--placeholder { display: flex; align-items: center; justify-content: center; background: var(--bh-primary); color: var(--bh-white); font-size: 2rem; font-family: var(--bh-font-display); }
.bh-card__body { padding: 20px; }
.bh-card__title { font-size: 1.05rem; font-weight: 600; color: var(--bh-primary-dark); margin-bottom: 8px; line-height: 1.3; }
.bh-card__location { display: flex; align-items: center; gap: 6px; color: var(--bh-text-light); font-size: .9rem; margin-bottom: 10px; }
.bh-card__location svg { width: 16px; height: 16px; flex-shrink: 0; }
.bh-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.bh-tag { display: inline-block; padding: 4px 10px; background: var(--bh-bg-alt); border-radius: 20px; font-size: .8rem; color: var(--bh-primary-dark); font-weight: 500; }
.bh-card__insurance { font-size: .85rem; color: var(--bh-text-muted); }

/* ===== STATS BAR ===== */
.bh-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  max-width: var(--bh-max-w); margin: -40px auto 0; padding: 40px; position: relative; z-index: 10;
  background: var(--bh-white); border-radius: var(--bh-radius); box-shadow: var(--bh-shadow-lg);
}
.bh-stats__item { text-align: center; }
.bh-stats__num { font-family: var(--bh-font-display); font-size: 2rem; color: var(--bh-primary); font-weight: 700; }
.bh-stats__label { font-size: .9rem; color: var(--bh-text-light); margin-top: 4px; }
@media(max-width:600px) { .bh-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 24px; margin: -30px 16px 0; } .bh-stats__num { font-size: 1.5rem; } }

/* ===== BREADCRUMB ===== */
.bh-breadcrumb { padding: calc(var(--bh-header-h) + 20px) 20px 0; max-width: var(--bh-max-w); margin: 0 auto; }
.bh-breadcrumb ol { display: flex; flex-wrap: wrap; list-style: none; gap: 4px; font-size: .85rem; }
.bh-breadcrumb li::after { content: '/'; margin-left: 8px; color: var(--bh-text-muted); }
.bh-breadcrumb li:last-child::after { display: none; }
.bh-breadcrumb a { color: var(--bh-primary); }
.bh-breadcrumb li:last-child { color: var(--bh-text-muted); }

/* ===== FAQ ===== */
.bh-faq { max-width: 800px; margin: 0 auto; padding: 60px 20px; }
.bh-faq h2 { font-family: var(--bh-font-display); font-size: 1.8rem; color: var(--bh-primary-dark); text-align: center; margin-bottom: 32px; }
.bh-faq__item { border: 1px solid var(--bh-border); border-radius: var(--bh-radius-sm); margin-bottom: 12px; overflow: hidden; }
.bh-faq__item summary { padding: 18px 20px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.bh-faq__item summary::after { content: '+'; font-size: 1.3rem; color: var(--bh-primary); transition: transform .2s; }
.bh-faq__item[open] summary::after { content: '−'; }
.bh-faq__answer { padding: 0 20px 18px; color: var(--bh-text-light); line-height: 1.7; }

/* ===== CTA BLOCK ===== */
.bh-cta-block { padding: 80px 20px; background: linear-gradient(135deg, var(--bh-primary-dark), var(--bh-primary)); text-align: center; }
.bh-cta-block__inner { max-width: 600px; margin: 0 auto; }
.bh-cta-block h2 { font-family: var(--bh-font-display); color: var(--bh-white); font-size: 2rem; margin-bottom: 16px; }
.bh-cta-block p { color: rgba(255,255,255,.85); font-size: 1.1rem; margin-bottom: 32px; }
.bh-cta-block__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== INSURANCE LOGOS ===== */
.bh-insurance-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 20px;
  max-width: var(--bh-max-w); margin: 0 auto; padding: 0 20px;
}
.bh-insurance-item { display: flex; align-items: center; justify-content: center; padding: 16px; background: var(--bh-white); border-radius: var(--bh-radius-sm); border: 1px solid var(--bh-border); transition: all var(--bh-transition); }
.bh-insurance-item:hover { box-shadow: var(--bh-shadow); transform: translateY(-2px); }
.bh-insurance-item img { max-height: 40px; max-width: 100%; filter: grayscale(0); transition: filter var(--bh-transition); }
.bh-insurance-item:hover img { filter: grayscale(0); }

/* ===== MOBILE CTA ===== */
.bh-mobile-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 997;
  background: var(--bh-primary); padding: 12px 20px; text-align: center;
}
.bh-mobile-cta a { color: var(--bh-white) !important; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: .95rem; }
.bh-mobile-cta svg { width: 20px; height: 20px; flex-shrink: 0; }
@media(max-width:768px) { .bh-mobile-cta { display: block; } }

/* ===== FOOTER ===== */
.bh-footer { background: var(--bh-primary-dark); color: rgba(255,255,255,.8); padding: 60px 20px 0; }
.bh-footer__inner { max-width: var(--bh-max-w); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.15); }
.bh-footer h4 { color: var(--bh-white); font-size: .95rem; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .5px; }
.bh-footer a { display: block; color: rgba(255,255,255,.7); padding: 4px 0; font-size: .9rem; transition: color var(--bh-transition); }
.bh-footer a:hover { color: var(--bh-white); }
.bh-footer__phone { display: flex !important; align-items: center; gap: 8px; color: var(--bh-accent) !important; font-weight: 600; margin-top: 12px; font-size: 1rem !important; }
.bh-footer__phone svg { width: 18px; height: 18px; flex-shrink: 0; }
.bh-footer__disclaimer { font-size: .8rem; opacity: .6; margin-top: 8px; }
.bh-footer__bottom { max-width: var(--bh-max-w); margin: 0 auto; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: .85rem; }
.bh-footer__links { display: flex; gap: 20px; }
.bh-footer__links a { display: inline; }
@media(max-width:768px) { .bh-footer__inner { grid-template-columns: repeat(2, 1fr); gap: 30px; } .bh-footer__bottom { flex-direction: column; text-align: center; } }

/* ===== CENTER DETAIL ===== */
.bh-detail { max-width: var(--bh-max-w); margin: 0 auto; padding: 30px 20px 60px; display: grid; grid-template-columns: 1fr 340px; gap: 40px; }
.bh-detail__main { min-width: 0; }
.bh-detail__sidebar { position: sticky; top: calc(var(--bh-header-h) + 20px); align-self: start; }
.bh-detail__hero { border-radius: var(--bh-radius); overflow: hidden; margin-bottom: 32px; aspect-ratio: 16/9; background: var(--bh-bg-alt); }
.bh-detail__hero img { width: 100%; height: 100%; object-fit: cover; }
.bh-detail h1 { font-family: var(--bh-font-display); font-size: 1.8rem; color: var(--bh-primary-dark); margin-bottom: 12px; }
.bh-detail__meta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; color: var(--bh-text-light); font-size: .9rem; }
.bh-detail__meta span { display: flex; align-items: center; gap: 6px; }
.bh-detail__meta svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Tabs */
.bh-tabs { margin-bottom: 32px; }
.bh-tabs__nav { display: flex; gap: 4px; border-bottom: 2px solid var(--bh-border); margin-bottom: 24px; overflow-x: auto; }
.bh-tabs__btn { padding: 12px 20px; font-weight: 500; cursor: pointer; background: none; border: none; border-bottom: 2px solid transparent; margin-bottom: -2px; color: var(--bh-text-light); transition: all var(--bh-transition); white-space: nowrap; font-family: var(--bh-font); font-size: .95rem; }
.bh-tabs__btn.active { color: var(--bh-primary); border-bottom-color: var(--bh-primary); }
.bh-tabs__panel { display: none; }
.bh-tabs__panel.active { display: block; }
.bh-tabs__panel h3 { font-size: 1.1rem; color: var(--bh-primary-dark); margin: 20px 0 10px; }
.bh-tabs__panel p, .bh-tabs__panel li { color: var(--bh-text-light); line-height: 1.7; }
.bh-tabs__panel ul { padding-left: 20px; margin-bottom: 16px; }
.bh-tabs__panel li { margin-bottom: 6px; }

/* Sidebar */
.bh-sidebar-box { background: var(--bh-white); border-radius: var(--bh-radius); padding: 24px; box-shadow: var(--bh-shadow); margin-bottom: 20px; }
.bh-sidebar-box h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .5px; color: var(--bh-text-muted); margin-bottom: 12px; }
.bh-sidebar-box__phone { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; font-weight: 700; color: var(--bh-primary) !important; margin-bottom: 16px; }
.bh-sidebar-box__phone svg { width: 22px; height: 22px; flex-shrink: 0; }
.bh-sidebar-box p { font-size: .9rem; color: var(--bh-text-light); margin-bottom: 8px; }

@media(max-width:968px) {
  .bh-detail { grid-template-columns: 1fr; }
  .bh-detail__sidebar { position: static; order: -1; }
}

/* ===== STATE MAP GRID ===== */
.bh-state-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; max-width: var(--bh-max-w); margin: 0 auto; }
.bh-state-card { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; background: var(--bh-white); border-radius: var(--bh-radius-sm); border: 1px solid var(--bh-border); transition: all var(--bh-transition); text-decoration: none; color: var(--bh-text); }
.bh-state-card:hover { border-color: var(--bh-primary); background: var(--bh-bg-alt); transform: translateY(-2px); }
.bh-state-card__count { font-size: .8rem; color: var(--bh-text-muted); background: var(--bh-bg-alt); padding: 4px 10px; border-radius: 12px; }

/* ===== CATALOG FILTERS ===== */
.bh-catalog { max-width: var(--bh-max-w); margin: 0 auto; padding: 30px 20px 60px; }
.bh-catalog h1 { font-family: var(--bh-font-display); font-size: 2rem; color: var(--bh-primary-dark); margin-bottom: 8px; }
.bh-catalog__count { color: var(--bh-text-muted); margin-bottom: 24px; }
.bh-catalog__filters { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.bh-filter-input {
  padding: 10px 16px; border: 1px solid var(--bh-border); border-radius: var(--bh-radius-sm);
  font-family: var(--bh-font); font-size: .95rem; background: var(--bh-white); min-width: 180px;
}
.bh-filter-input:focus { outline: none; border-color: var(--bh-primary); }
.bh-load-more {
  display: block; margin: 32px auto; padding: 14px 40px;
  background: var(--bh-white); border: 2px solid var(--bh-primary); color: var(--bh-primary);
  border-radius: var(--bh-radius-sm); font-weight: 600; cursor: pointer; font-family: var(--bh-font); font-size: 1rem;
  transition: all var(--bh-transition);
}
.bh-load-more:hover { background: var(--bh-primary); color: var(--bh-white); }

/* ===== PAGE HERO (INNER) ===== */
.bh-page-hero { background: linear-gradient(135deg, var(--bh-primary-dark), var(--bh-primary)); padding: calc(var(--bh-header-h) + 40px) 20px 50px; text-align: center; position: relative; background-size: cover; background-position: center; }
.bh-page-hero[style*="background-image"]::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.45) 100%); z-index: 1; }
.bh-page-hero[style*="background-image"] h1,
.bh-page-hero[style*="background-image"] p { position: relative; z-index: 2; text-shadow: 0 2px 8px rgba(0,0,0,.5); }
.bh-page-hero h1 { font-family: var(--bh-font-display); color: var(--bh-white); font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 12px; }
.bh-page-hero p { color: rgba(255,255,255,.85); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* ===== ARTICLE/BLOG ===== */
.bh-article { max-width: 800px; margin: 0 auto; padding: 30px 20px 60px; }
.bh-article h1 { font-family: var(--bh-font-display); font-size: 2rem; color: var(--bh-primary-dark); margin-bottom: 12px; line-height: 1.3; }
.bh-article__meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: .85rem; color: var(--bh-text-muted); margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid var(--bh-border); }
.bh-article__body h2 { font-family: var(--bh-font-display); font-size: 1.4rem; color: var(--bh-primary-dark); margin: 32px 0 16px; }
.bh-article__body h3 { font-size: 1.15rem; color: var(--bh-text); margin: 24px 0 12px; }
.bh-article__body p { margin-bottom: 16px; color: var(--bh-text-light); line-height: 1.8; }
.bh-article__body ul, .bh-article__body ol { padding-left: 24px; margin-bottom: 16px; }
.bh-article__body li { margin-bottom: 8px; color: var(--bh-text-light); line-height: 1.7; }
.bh-article__callout { background: var(--bh-bg-alt); border-left: 4px solid var(--bh-primary); padding: 20px; border-radius: 0 var(--bh-radius-sm) var(--bh-radius-sm) 0; margin: 24px 0; }

/* ===== PROGRAMS ===== */
.bh-program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bh-program-card { padding: 24px; background: var(--bh-white); border-radius: var(--bh-radius); border: 1px solid var(--bh-border); transition: all var(--bh-transition); }
.bh-program-card:hover { border-color: var(--bh-primary); transform: translateY(-2px); box-shadow: var(--bh-shadow); }
.bh-program-card h3 { font-size: 1rem; color: var(--bh-primary-dark); margin-bottom: 8px; }
.bh-program-card p { font-size: .9rem; color: var(--bh-text-light); line-height: 1.6; }
.bh-program-card__cat { font-size: .75rem; text-transform: uppercase; letter-spacing: .5px; color: var(--bh-primary); font-weight: 600; margin-bottom: 8px; }
@media(max-width:768px) { .bh-program-grid { grid-template-columns: 1fr; } }

/* ===== HIDDEN (load more) ===== */
.bh-hidden { display: none !important; }

/* ===== BACK TO TOP ===== */
.bh-back-top { position: fixed; bottom: 90px; right: 20px; z-index: 996; width: 44px; height: 44px; border-radius: 50%; background: var(--bh-primary); color: var(--bh-white); border: none; cursor: pointer; display: none; align-items: center; justify-content: center; box-shadow: var(--bh-shadow); transition: all var(--bh-transition); }
.bh-back-top:hover { background: var(--bh-primary-dark); transform: translateY(-2px); }
.bh-back-top svg { width: 20px; height: 20px; flex-shrink: 0; }
.bh-back-top.visible { display: flex; }

/* ===== JS LOADED PATTERN ===== */
.js-loaded .bh-fade-in { opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .6s; }
.js-loaded .bh-fade-in.bh-visible { opacity: 1; transform: translateY(0); }

/* ===== CONTENT ===== */
.bh-content { max-width: 800px; margin: 0 auto; padding: 30px 20px 60px; }
.bh-content h1 { font-family: var(--bh-font-display); font-size: 2rem; color: var(--bh-primary-dark); margin-bottom: 20px; }
.bh-content h2 { font-family: var(--bh-font-display); font-size: 1.4rem; color: var(--bh-primary-dark); margin: 28px 0 14px; }
.bh-content p { margin-bottom: 16px; color: var(--bh-text-light); line-height: 1.8; }
.bh-content ul, .bh-content ol { padding-left: 24px; margin-bottom: 16px; }
.bh-content li { margin-bottom: 8px; color: var(--bh-text-light); }
.bh-content a { color: var(--bh-primary); text-decoration: underline; }

/* ===== NEARBY ===== */
.bh-nearby { margin-top: 40px; }
.bh-nearby h2 { font-family: var(--bh-font-display); font-size: 1.4rem; color: var(--bh-primary-dark); margin-bottom: 20px; }

/* ToC */
.bh-toc { background: var(--bh-cream, #f5f0e8); border-radius: 12px; padding: 20px 24px; margin: 24px 0 32px; }
.bh-toc__title { font-size: 1rem; font-weight: 700; margin-bottom: 12px; }
.bh-toc__list { counter-reset: toc; padding-left: 0; list-style: none; }
.bh-toc__list li { counter-increment: toc; margin-bottom: 8px; }
.bh-toc__list li::before { content: counter(toc) ". "; font-weight: 600; color: var(--bh-primary); }
.bh-toc__link { color: var(--bh-dark); text-decoration: none; font-size: .95rem; }
.bh-toc__link:hover { color: var(--bh-primary); text-decoration: underline; }

/* Share */
.bh-share { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 32px 0; padding: 20px; background: var(--bh-cream, #f5f0e8); border-radius: 12px; }
.bh-share__label { font-weight: 600; font-size: .9rem; }
.bh-share__btn { padding: 8px 16px; border-radius: 8px; background: var(--bh-primary); color: var(--bh-white); text-decoration: none; font-size: .85rem; font-weight: 500; transition: .2s; }
.bh-share__btn:hover { opacity: .85; }

/* Reading progress bar */
.bh-progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--bh-primary); z-index: 9999; transition: width .1s; width: 0; }



/* Article hero — clean typography, NO text on images/gradients */
.bh-page-hero--gradient {
  background: var(--bh-white, #fff);
  padding: calc(var(--bh-header-h) + 16px) 20px 32px;
  text-align: center;
  position: relative;
  border-bottom: 4px solid var(--bh-primary);
}
.bh-page-hero--gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--bh-primary-dark), var(--bh-primary), var(--bh-accent, #8fbc8f));
}
.bh-page-hero--gradient h1 {
  font-family: var(--bh-font-display);
  color: var(--bh-dark);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 12px;
  line-height: 1.25;
}
.bh-page-hero--gradient p,
.bh-page-hero--gradient .bh-article__meta {
  color: var(--bh-muted);
  font-size: .95rem;
}

/* Fix: mobile CTA when used as <a> directly */
a.bh-mobile-cta { color: var(--bh-white) !important; font-weight: 600; display: none; align-items: center; justify-content: center; gap: 10px; font-size: .95rem; text-decoration: none; }
a.bh-mobile-cta svg { width: 20px; height: 20px; flex-shrink: 0; }
@media(max-width:768px) { a.bh-mobile-cta { display: flex; } }

/* Home header CTA - white on dark hero */
.bh-header--home .bh-header__cta { background: rgba(255,255,255,.15); border: 2px solid rgba(255,255,255,.6); }
.bh-header--home .bh-header__cta:hover { background: rgba(255,255,255,.25); }
.bh-header--home.bh-header--scrolled .bh-header__cta { background: var(--bh-primary); border-color: var(--bh-primary); }

/* Stats section - richer, more compact */
.bh-stats { gap: 24px; padding: 32px 48px; border-radius: 16px; max-width: 800px; }
.bh-stats__item { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.bh-stats__icon { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: #f0fdf4; color: var(--bh-primary); }
.bh-stats__num { font-size: 1.8rem; }

/* Insurance logos bigger */
.bh-insurance-item { min-height: 72px; padding: 20px 24px; }
.bh-insurance-item img { max-height: 48px; }

/* ===== UNIFIED HEADER/FOOTER IMPROVEMENTS ===== */

/* Nav active state */
.bh-nav a.active,
.bh-nav a[aria-current="page"] {
  color: var(--bh-primary) !important;
  background: var(--bh-bg-alt);
  font-weight: 600;
}

/* Footer mobile - single column on very small screens */
@media(max-width:480px) {
  .bh-footer__inner { grid-template-columns: 1fr; gap: 24px; }
  .bh-footer { padding: 40px 16px 0; }
  .bh-footer h4 { margin-bottom: 10px; }
  .bh-footer a { padding: 3px 0; }
}

/* Footer links spacing */
.bh-footer__col { min-width: 0; }

/* Header CTA button - better mobile */
@media(max-width:480px) {
  .bh-header__cta {
    padding: 8px 12px;
    font-size: .82rem;
  }
}

/* Hamburger menu close button inside nav */
.bh-nav-close {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--bh-text);
}
@media(max-width:968px) {
  .bh-nav-close { display: block; }
}

/* Footer bottom links gap */
.bh-footer__bottom div { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.bh-footer__bottom a { color: rgba(255,255,255,.6); font-size: .82rem; padding: 0; }
.bh-footer__bottom a:hover { color: #fff; }

/* Skip to content link for accessibility */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--bh-primary);
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  z-index: 10000;
  font-weight: 600;
  transition: top .2s;
}
.skip-to-content:focus { top: 16px; }

/* Nav overlay z-index fix */
.bh-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 998;
}
.bh-overlay.active { display: block; }

/* Mobile nav close button */
.bh-nav-close {
  display: none;
  position: absolute;
  top: 16px;
  right: 16px;
  background: #f5f5f5;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  color: #333;
  line-height: 0;
  transition: background .2s;
}
.bh-nav-close:hover { background: #eee; }
@media(max-width:968px) {
  .bh-nav-close { display: flex; align-items: center; justify-content: center; }
}

/* Mobile nav phone link */
.bh-nav-phone {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 14px 16px !important;
  background: #2D6A4F !important;
  color: #fff !important;
  border-radius: 8px;
  font-weight: 700 !important;
  font-size: .95rem !important;
  text-decoration: none;
  margin-top: 16px;
}
.bh-nav-phone svg { flex-shrink: 0; }
@media(max-width:968px) {
  .bh-nav-phone { display: flex; }
  .bh-nav { display: flex; flex-direction: column; }
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */

/* GPU acceleration for animated elements */
.bh-card, .bh-insurance-item, .bh-program-card, .bh-blog-card {
  will-change: transform;
}

/* Content visibility for off-screen sections */
.bh-section:not(:first-of-type),
.bh-insurance,
.bh-testimonials,
.bh-blog-preview {
  content-visibility: auto;
  contain-intrinsic-size: 0 400px;
}

/* Optimize font rendering */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Prevent layout shift on images */
img {
  max-width: 100%;
  height: auto;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .bh-fade-in { opacity: 1 !important; transform: none !important; }
}

/* Print styles */
@media print {
  .bh-header, .bh-footer, .bh-mobile-cta, .bh-hamburger, #scroll-progress { display: none !important; }
  body { font-size: 12pt; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 10pt; }
}

/* Hide hamburger when nav is open */
.bh-hamburger.active {
  z-index: 990;
  pointer-events: none;
  opacity: 0;
}

/* ===== CONTRAST FIXES (Lighthouse) ===== */
.bh-state-card__count { color: #1B4332 !important; font-weight: 700; }
.bh-card__insurance { color: #374151 !important; }
.bh-nav-phone { color: #fff !important; }

/* LCP optimization - preload hero font */
.bh-hero h1, .bh-hero__content h1 { font-display: swap; }

/* ===== ACCESSIBILITY CONTRAST FIXES ===== */
/* Fix 1: nav phone in mobile menu */
.bh-nav-phone { background: #2D6A4F !important; color: #ffffff !important; }

/* Fix 2: small gray text */
[style*="color:#888"] { color: #6b7280 !important; }  

/* Fix 3: footer disclaimer - improve opacity */
.bh-footer__col p[style*="rgba(255,255,255,.5)"],
.bh-footer p { color: rgba(255,255,255,.7) !important; }

/* ===== ACCESSIBILITY FIXES ===== */
/* Skip link focusable */
.skip-to-content {
  position: absolute !important;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 10000;
}
.skip-to-content:focus {
  position: fixed !important;
  top: 10px !important;
  left: 10px !important;
  width: auto !important;
  height: auto !important;
  padding: 12px 20px;
  background: #1B4332;
  color: #fff;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  font-size: .95rem;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
}

/* Nav phone contrast fix */
.bh-nav-phone {
  background: #1B4332 !important;
  color: #ffffff !important;
  text-decoration: none !important;
}
