/* ===== Theme tokens ===== */
:root {
  --bg: #ffffff;
  --bg-alt: #f6f8fb;
  --text: #052c60;
  --text-muted: #3d5a80;
  --border: rgba(5, 44, 96, 0.1);
  --border-strong: rgba(5, 44, 96, 0.12);
  --card-bg: #fbfcfd;
  --header-bg: rgba(255, 255, 255, 0.96);
  --cta-bg: #052c60;
  --cta-text: #ffffff;
  --cta2-border: #052c60;
  --cta2-text: #052c60;
  --input-border: rgba(5, 44, 96, 0.25);
  --accent: #1762ab;
  --link: #1762ab;
  --link-hover: #052c60;
  --toggle-track: rgba(5, 44, 96, 0.06);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a1830;
    --bg-alt: #0f2140;
    --text: #eef2f8;
    --text-muted: #c3d3e8;
    --border: rgba(255, 255, 255, 0.12);
    --border-strong: rgba(255, 255, 255, 0.16);
    --card-bg: #122a4d;
    --header-bg: rgba(10, 24, 48, 0.92);
    --cta-bg: #1762ab;
    --cta-text: #ffffff;
    --cta2-border: rgba(255, 255, 255, 0.5);
    --cta2-text: #ffffff;
    --input-border: rgba(255, 255, 255, 0.3);
    --accent: #9fb8d6;
    --link: #9fb8d6;
    --link-hover: #dce8f5;
    --toggle-track: rgba(255, 255, 255, 0.08);
  }
}

:root[data-theme="dark"] {
  --bg: #0a1830;
  --bg-alt: #0f2140;
  --text: #eef2f8;
  --text-muted: #c3d3e8;
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.16);
  --card-bg: #122a4d;
  --header-bg: rgba(10, 24, 48, 0.92);
  --cta-bg: #1762ab;
  --cta-text: #ffffff;
  --cta2-border: rgba(255, 255, 255, 0.5);
  --cta2-text: #ffffff;
  --input-border: rgba(255, 255, 255, 0.3);
  --accent: #9fb8d6;
  --link: #9fb8d6;
  --link-hover: #dce8f5;
  --toggle-track: rgba(255, 255, 255, 0.08);
}

/* ===== Reset / base ===== */
html, body { margin: 0; background: var(--bg); }
* { box-sizing: border-box; }
body {
  color: var(--text);
  font-family: 'Montserrat', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background 0.2s, color 0.2s;
}
img { max-width: 100%; }
a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid #1762ab; outline-offset: 2px; border-radius: 4px;
}

.bhb-main { flex: 1; }

.theme-light-only { display: block; }
.theme-dark-only { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-light-only { display: none; }
  :root:not([data-theme="light"]) .theme-dark-only { display: block; }
}
:root[data-theme="dark"] .theme-light-only { display: none; }
:root[data-theme="dark"] .theme-dark-only { display: block; }

/* ===== Containers ===== */
.bhb-container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.bhb-container--sm { max-width: 760px; }
.bhb-container--md { max-width: 900px; }
.bhb-container--contact { max-width: 1000px; }

/* ===== Header ===== */
.bhb-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--header-bg);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.bhb-header__inner {
  max-width: 1200px; margin: 0 auto; padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.bhb-logo {
  display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0;
}
.bhb-logo img { height: 38px; width: auto; }
.bhb-logo__word {
  font-weight: 600; font-size: 18px; letter-spacing: 0.02em; color: var(--text); white-space: nowrap;
}

.bhb-nav-desktop { display: flex; align-items: center; gap: 4px; flex-wrap: nowrap; flex-shrink: 0; }
.bhb-nav-link {
  background: none; border: none; cursor: pointer; font-family: inherit; text-decoration: none;
  padding: 12px 16px; font-size: 16px; font-weight: 500; color: var(--text-muted); min-height: 44px;
  display: inline-flex; align-items: center; white-space: nowrap;
}
.bhb-nav-link.active { font-weight: 600; color: var(--text); }
.bhb-nav-cta { margin-left: 4px; }

.bhb-theme-toggle {
  display: flex; align-items: center; gap: 2px; margin-left: 6px; flex-shrink: 0;
  background: var(--toggle-track); border-radius: 999px; padding: 3px;
}
.bhb-theme-btn {
  background: transparent; border: none; border-radius: 999px; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text-muted);
}
.bhb-theme-btn.active { background: var(--cta-bg); color: var(--cta-text); }

.bhb-menu-btn {
  display: none; align-items: center; justify-content: center; width: 44px; height: 44px;
  background: none; border: none; cursor: pointer; color: var(--text); flex-shrink: 0;
}
.bhb-menu-btn .icon-close { display: none; }
.bhb-menu-btn.open .icon-menu { display: none; }
.bhb-menu-btn.open .icon-close { display: block; }

.bhb-mobile-panel {
  border-top: 1px solid var(--border); padding: 8px 24px 20px;
  display: flex; flex-direction: column; gap: 2px; background: var(--header-bg);
}
.bhb-mobile-panel[hidden] { display: none; }
.bhb-nav-link--mobile {
  text-align: left; border-radius: 4px; padding: 14px 12px; font-size: 17px;
}
.bhb-nav-link--mobile.active { background: var(--bg-alt); }
.bhb-mobile-panel .bhb-nav-cta { margin-top: 10px; text-align: center; }
.bhb-mobile-panel .bhb-theme-toggle { margin-top: 14px; align-self: center; }

@media (max-width: 1018px) {
  .bhb-nav-desktop { display: none !important; }
  .bhb-menu-btn { display: flex !important; }
}

/* ===== Buttons ===== */
.bhb-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 30px; border-radius: 4px; font-weight: 600; font-size: 17px;
  text-decoration: none; border: none; cursor: pointer; font-family: inherit;
  white-space: nowrap; flex-shrink: 0;
}
.bhb-btn--primary { background: var(--cta-bg); color: var(--cta-text); }
.bhb-btn--secondary { border: 2px solid var(--cta2-border); color: var(--cta2-text); background: none; padding: 14px 28px; }
.bhb-btn--sm { padding: 12px 20px; font-size: 16px; }
.bhb-btn[disabled] { opacity: 0.6; cursor: default; }

/* ===== Hero ===== */
.bhb-hero { position: relative; overflow: hidden; background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.bhb-hero__inner { max-width: 1160px; margin: 0 auto; padding: 96px 24px 88px; position: relative; }
.bhb-hero__content { max-width: 660px; }
.bhb-hero__eyebrow { font-size: 15px; font-weight: 600; letter-spacing: 0.08em; color: var(--accent); margin: 0 0 16px; }
.bhb-hero__title { font-size: clamp(34px, 5vw, 52px); font-weight: 700; line-height: 1.15; margin: 0 0 22px; color: var(--text); }
.bhb-hero__lead { font-size: 20px; line-height: 1.6; color: var(--text-muted); margin: 0 0 32px; }
.bhb-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.bhb-hero__deco { position: absolute; right: -60px; top: -40px; width: 380px; height: auto; pointer-events: none; }
.bhb-hero__deco.theme-light-only { opacity: 0.1; }
.bhb-hero__deco.theme-dark-only { opacity: 0.08; }

/* ===== Page header (About/Services/FAQ/Contact banner) ===== */
.bhb-page-header { background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.bhb-page-header__inner { max-width: 1160px; margin: 0 auto; padding: 72px 24px 56px; }
.bhb-page-header__eyebrow { font-size: 15px; font-weight: 600; letter-spacing: 0.08em; color: var(--accent); margin: 0 0 14px; }
.bhb-page-header__title { font-size: clamp(30px, 4vw, 42px); font-weight: 700; margin: 0; color: var(--text); }
.bhb-page-header__title--tight { margin: 0 0 16px; }
.bhb-page-header__lead { font-size: 18px; line-height: 1.6; color: var(--text-muted); max-width: 640px; margin: 0; }

/* ===== Sections ===== */
.bhb-section { background: var(--bg); }
.bhb-section--alt { background: var(--bg-alt); }
.bhb-section--border-y { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.bhb-section--border-t { border-top: 1px solid var(--border); }
.bhb-section__pad { padding: 80px 24px; }
.bhb-section__title { font-size: 34px; font-weight: 700; margin: 0 0 12px; color: var(--text); }
.bhb-section__lead { font-size: 18px; color: var(--text-muted); margin: 0 0 44px; max-width: 560px; }

/* ===== Trust / founder strip (always navy) ===== */
.bhb-trust { background: #052c60; color: #ffffff; }
.bhb-trust__inner {
  max-width: 1160px; margin: 0 auto; padding: 64px 24px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; align-items: center;
}
.bhb-trust__stat-num { font-size: 56px; font-weight: 700; line-height: 1; }
.bhb-trust__stat-label { font-size: 17px; color: rgba(255, 255, 255, 0.85); margin-top: 8px; }
.bhb-trust__quote { font-size: 20px; line-height: 1.65; margin: 0 0 16px; color: rgba(255, 255, 255, 0.95); }
.bhb-trust__link { color: #b7cce6; font-weight: 600; font-size: 16px; text-decoration: underline; }
.bhb-trust__link:hover { color: #ffffff; }

/* ===== Grids / cards ===== */
.bhb-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.bhb-grid--260 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.bhb-card { border: 1px solid var(--border); border-radius: 6px; padding: 28px; background: var(--card-bg); }
.bhb-card__swatch {
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px;
  width: 28px; height: 28px; margin-bottom: 18px;
}
.bhb-card__title { font-size: 19px; font-weight: 600; margin: 0 0 8px; color: var(--text); }
.bhb-card__text { font-size: 16px; line-height: 1.55; color: var(--text-muted); margin: 0; }

.bhb-service-row { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 24px; }
.bhb-service-row__swatch {
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; width: 40px; height: 40px;
}
.bhb-service-row__title { font-size: 22px; font-weight: 600; margin: 0 0 10px; color: var(--text); }
.bhb-service-row__text { font-size: 17px; line-height: 1.65; color: var(--text-muted); margin: 0; }
.bhb-service-list { display: flex; flex-direction: column; gap: 48px; }

.bhb-package-card { background: var(--card-bg); border: 1px solid var(--border-strong); border-radius: 6px; padding: 32px; display: flex; flex-direction: column; }
.bhb-package-card__title { font-size: 20px; font-weight: 600; margin: 0 0 8px; color: var(--text); }
.bhb-package-card__desc { font-size: 16px; color: var(--text-muted); margin: 0 0 20px; line-height: 1.5; }
.bhb-package-card__features { margin: 0 0 24px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.bhb-package-card__features li { font-size: 16px; color: var(--text-muted); padding-left: 20px; position: relative; }
.bhb-package-card__features li::before {
  content: ''; position: absolute; left: 0; top: 8px; width: 9px; height: 9px; background: #6a9ed2;
}
.bhb-package-card__link { color: var(--link); font-weight: 600; font-size: 16px; text-decoration: underline; }
.bhb-package-card__link:hover { color: var(--link-hover); }

.bhb-county-chips { display: flex; gap: 14px; flex-wrap: wrap; }
.bhb-county-chip {
  background: var(--card-bg); border: 1px solid var(--border-strong); border-radius: 4px;
  padding: 16px 24px; font-weight: 600; font-size: 16px; color: var(--text);
}

.bhb-service-area {
  display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: space-between;
}
.bhb-service-area__title { font-size: 27px; font-weight: 700; margin: 0 0 10px; color: var(--text); }
.bhb-service-area__text { font-size: 17px; line-height: 1.6; color: var(--text-muted); margin: 0; max-width: 480px; }

.bhb-cta-banner { text-align: center; padding: 72px 24px; }
.bhb-cta-banner__title { font-size: 29px; font-weight: 700; margin: 0 0 12px; color: var(--text); }
.bhb-cta-banner__text { font-size: 17px; color: var(--text-muted); margin: 0 0 28px; }

/* ===== About ===== */
.bhb-prose { font-size: 18px; line-height: 1.75; color: var(--text-muted); margin: 0 0 24px; }
.bhb-prose--tight { margin: 24px 0 0; }
.bhb-about__subhead { font-size: 23px; font-weight: 600; margin: 40px 0 16px; color: var(--text); }
.bhb-credentials { display: flex; flex-direction: column; gap: 16px; margin: 32px 0; padding: 28px; background: var(--bg-alt); border-radius: 6px; }
.bhb-credential { display: flex; gap: 12px; align-items: flex-start; }
.bhb-credential::before { content: ''; width: 9px; height: 9px; background: #1762ab; margin-top: 8px; flex-shrink: 0; }
.bhb-credential span { font-size: 17px; line-height: 1.5; color: var(--text); }

/* ===== FAQ (native <details>) ===== */
.bhb-faq-list { display: flex; flex-direction: column; gap: 4px; }
.bhb-faq-item { border-bottom: 1px solid var(--border); }
.bhb-faq-item summary {
  list-style: none; width: 100%; padding: 22px 4px; display: flex; justify-content: space-between;
  align-items: center; gap: 16px; cursor: pointer; min-height: 44px;
}
.bhb-faq-item summary::-webkit-details-marker { display: none; }
.bhb-faq-item summary::marker { content: ''; }
.bhb-faq-q { font-size: 18px; font-weight: 600; color: var(--text); }
.bhb-faq-icon { font-size: 24px; color: var(--accent); flex-shrink: 0; }
.bhb-faq-icon::before { content: '+'; }
.bhb-faq-item[open] .bhb-faq-icon::before { content: '\2212'; }
.bhb-faq-a { font-size: 17px; line-height: 1.65; color: var(--text-muted); margin: 0 0 22px; padding-right: 30px; }

/* ===== Contact ===== */
.bhb-contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 48px; }
.bhb-form { display: flex; flex-direction: column; gap: 20px; }
.bhb-field label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.bhb-input {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--input-border); border-radius: 4px;
  font-size: 17px; font-family: inherit; background: var(--bg); color: var(--text);
}
textarea.bhb-input { resize: vertical; }
.bhb-form-error {
  margin: 0; padding: 12px 16px; border-radius: 4px; background: rgba(176, 0, 32, 0.08);
  border: 1px solid rgba(176, 0, 32, 0.3); color: #b00020; font-size: 15px;
}
.bhb-form-success { background: var(--bg-alt); border-radius: 6px; padding: 36px; border: 1px solid var(--border); }
.bhb-form-success h3 { font-size: 21px; font-weight: 600; margin: 0 0 10px; color: var(--text); }
.bhb-form-success p { font-size: 17px; color: var(--text-muted); line-height: 1.6; margin: 0; }

.bhb-contact-info { display: flex; flex-direction: column; gap: 28px; }
.bhb-contact-info__label { font-size: 15px; font-weight: 600; letter-spacing: 0.06em; color: var(--text-muted); margin: 0 0 8px; }
.bhb-contact-info__value { font-size: 17px; margin: 0; line-height: 1.6; color: var(--text); }
.bhb-contact-info__email { color: var(--link); font-size: 18px; font-weight: 600; text-decoration: underline; }
.bhb-contact-info__email:hover { color: var(--link-hover); }

/* ===== Footer (always navy) ===== */
.bhb-footer { background: #052c60; }
.bhb-footer__inner {
  max-width: 1160px; margin: 0 auto; padding: 48px 24px;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px;
}
.bhb-footer__logo { height: 46px; width: auto; }
.bhb-footer__nav { display: flex; gap: 24px; flex-wrap: wrap; }
.bhb-footer__nav a { color: rgba(255, 255, 255, 0.85); font-size: 16px; text-decoration: none; padding: 4px; }
.bhb-footer__nav a:hover { color: #ffffff; }
.bhb-footer__copy { font-size: 15px; color: rgba(255, 255, 255, 0.55); margin: 0; }
