/* ==========================================================================
   BHMS — design tokens
   ========================================================================== */
:root {
  --navy-950: #0a2440;
  --navy-900: #0e2c4a;
  --navy-800: #143a5e;
  --blue: #1f6fae;
  --blue-600: #19609a;
  --gold: #eca93c;
  --gold-600: #dc9a2e;
  --beige: #f4f2ec;
  --ice: #eaf2f8;

  --ink: #10263d;
  --text: #33465a;
  --muted: #55657a;
  --line: #d3dae2;
  --white: #ffffff;

  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --font-sans: "DM Sans", "Helvetica Neue", Arial, sans-serif;

  --container: 1214px;
  --container-wide: 1262px;
  --gutter: 24px;
  --ease: cubic-bezier(.2, .7, .3, 1);
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 115px; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.container,
.container-wide {
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container { max-width: calc(var(--container) + var(--gutter) * 2); }
.container-wide { max-width: calc(var(--container-wide) + var(--gutter) * 2); }

.icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--sm { width: 15px; height: 15px; stroke-width: 2; }
.icon--xs { width: 12px; height: 12px; stroke-width: 2.2; }

/* ==========================================================================
   Typography primitives
   ========================================================================== */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow--gold { color: var(--gold); }
.eyebrow--rule { display: flex; align-items: center; gap: 14px; }
.eyebrow--rule::before {
  content: "";
  width: 30px;
  height: 2px;
  background: currentColor;
}

.display {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 56px;
  line-height: 1.14;
  letter-spacing: -.012em;
  color: var(--ink);
}
.display--light { color: var(--white); }

.title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 50px;
  line-height: 1.12;
  letter-spacing: -.012em;
  color: var(--ink);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }

.btn--sm { height: 46px; padding: 0 24px; }
.btn--md { height: 42px; padding: 0 26px; }

/* Blue buttons hover to gold; gold buttons hover to blue */
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover,
.btn--primary:focus-visible { background: var(--gold); color: var(--navy-900); }

.btn--gold { background: var(--gold); color: var(--navy-900); }
.btn--gold:hover,
.btn--gold:focus-visible { background: var(--blue); color: var(--white); }

.btn--ghost-light { color: var(--white); padding-inline: 12px; }
.btn--ghost-light:hover { color: var(--gold); }
.btn--ghost-light:hover .icon { transform: translateY(2px); }

.btn--outline-light { color: var(--white); border-color: rgba(255, 255, 255, .55); height: 50px; padding: 0 28px; }
.btn--outline-light:hover { background: var(--white); border-color: var(--white); color: var(--navy-900); }

/* ==========================================================================
   Top bar
   ========================================================================== */
.topbar {
  background: var(--navy-950);
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  line-height: 1;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 34px;
}
.topbar__address { display: flex; align-items: center; gap: 7px; font-style: normal; }
.topbar .icon { width: 13px; height: 13px; color: var(--gold); }

/* ==========================================================================
   Header / navigation
   ========================================================================== */
.site-top {
  position: sticky;
  top: 0;
  z-index: 50;
}

.header {
  position: relative;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
/* Logo | centered menu | actions — side columns stay equal so the menu sits at the true center */
.header__inner {
  display: grid;
  grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr);
  align-items: center;
  column-gap: 24px;
  height: 80px;
}

.logo { display: inline-flex; align-items: center; }
.logo img { width: auto; height: 58px; }
/* Official logo is blue; render it white on dark backgrounds */
.logo--light img { filter: brightness(0) invert(1); opacity: .92; }

.nav {
  grid-column: 2 / 4;
  display: grid;
  grid-template-columns: subgrid;
  align-items: center;
}
.nav__list { display: flex; align-items: center; gap: 30px; }
.nav__actions { display: flex; align-items: center; justify-self: end; }
.has-menu { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 0;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  transition: color .2s var(--ease);
}
.nav__link .icon { color: var(--muted); }
.nav__link:hover { color: var(--blue); }

/* Menu underline: grows on hover, stays on the section in view (aria-current is set by main.js) */
.nav__list > li > .nav__link { position: relative; }
.nav__list > li > .nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav__list > li > .nav__link:hover::after,
.nav__list > li > .nav__link:focus-visible::after,
.has-menu:hover > .nav__link::after,
.nav__list > li > .nav__link[aria-current]::after { transform: scaleX(1); }
.nav__list > li > .nav__link[aria-current] { color: var(--blue); }

.nav__divider { width: 1px; height: 28px; margin-right: 26px; background: #9aa6b3; }
.nav__portal { margin-right: 26px; color: var(--gold); font-weight: 600; }

.nav__menu {
  position: absolute;
  top: 100%;
  left: -16px;
  min-width: 190px;
  padding: 8px 0;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px rgba(14, 44, 74, .10);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.nav__menu a { display: block; padding: 8px 16px; font-size: 13.5px; color: var(--ink); }
.nav__menu a:hover { background: var(--beige); color: var(--blue); }
.has-menu:hover .nav__menu,
.has-menu:focus-within .nav__menu { opacity: 1; visibility: visible; transform: none; }


.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 703px;
  overflow: hidden;
  background: var(--navy-900);
  color: var(--white);
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 36, 64, .96) 0%, rgba(10, 36, 64, .92) 35%, rgba(10, 36, 64, .82) 47%, rgba(10, 36, 64, .4) 60%, rgba(10, 36, 64, .1) 72%, rgba(10, 36, 64, 0) 100%),
    linear-gradient(0deg, rgba(10, 36, 64, .35) 0%, rgba(10, 36, 64, 0) 30%),
    url("../assets/bhms-hero.webp") center 20% / cover no-repeat;
}
.hero__content { padding-block: 122px 80px; }
.hero__title {
  margin-top: 24px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 80px;
  line-height: 1.06;
  letter-spacing: -.015em;
  color: var(--white);
}
.hero__title em { font-style: italic; color: var(--gold); }
.hero__lead {
  max-width: 540px;
  margin-top: 20px;
  font-size: 16.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .84);
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 40px; }
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 31px;
  max-width: 672px;
  margin-top: 68px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .28);
  font-size: 12.5px;
  color: rgba(255, 255, 255, .8);
}
.hero__trust li { display: flex; align-items: center; gap: 9px; }
.hero__trust .icon { width: 18px; height: 18px; stroke-width: 2; color: var(--gold); }

/* ==========================================================================
   Intro
   ========================================================================== */
.intro { padding-block: 93px 134px; }
.intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 483px;
  gap: 48px;
}
.intro__heading { padding-top: 40px; }
.intro__heading .display { margin-top: 18px; }
.intro__body { padding-top: 72px; border-top: 1px solid var(--line); }
.intro__lead { font-size: 17px; line-height: 1.82; color: var(--ink); }
.intro__note { margin-top: 20px; font-size: 14.5px; line-height: 1.85; color: var(--muted); }

/* ==========================================================================
   Continuum
   ========================================================================== */
.continuum { background: var(--beige); padding-block: 130px 128px; }
.section-head { text-align: center; }
.section-head .title { max-width: 700px; margin: 22px auto 0; line-height: 1.22; }
.section-head__sub { margin-top: 12px; font-size: 14.5px; color: var(--muted); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 52px;
  align-items: stretch;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 414px;
  padding: 36px 40px 38px;
  background: var(--white);
  border: 1px solid var(--line);
  transition: background-color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.card + .card { border-left: 0; }

.card__icon {
  position: absolute;
  top: 34px;
  right: 40px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ice);
  color: var(--blue);
}
.card__icon .icon { width: 16px; height: 16px; stroke-width: 1.9; }

.card__num { font-size: 12px; font-weight: 500; letter-spacing: .04em; color: var(--muted); }
.card__rule {
  display: block;
  width: 44px;
  height: 2px;
  margin: 30px 0 0;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.card.is-active .card__rule,
.card:hover .card__rule { transform: scaleX(1); }

.card__title {
  margin-top: 64px;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
}
.card__text { margin-top: 14px; font-size: 13.5px; line-height: 1.7; color: var(--muted); max-width: 320px; }
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
}
.card__link:hover .icon { transform: translateX(3px); }
.card__link .icon { transition: transform .2s var(--ease); }

.card__icon,
.card__num,
.card__title,
.card__text,
.card__link { transition: color .25s var(--ease), background-color .25s var(--ease); }

/* Hover / keyboard focus: gold card */
.card:hover,
.card:focus-within {
  z-index: 1;
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 18px 40px rgba(14, 44, 74, .08);
}
.card:hover .card__icon,
.card:focus-within .card__icon { background: rgba(255, 255, 255, .92); color: var(--gold-600); }
.card:hover .card__num,
.card:focus-within .card__num { color: rgba(255, 255, 255, .85); }
.card:hover .card__rule,
.card:focus-within .card__rule { background: var(--white); transform: scaleX(1); }
.card:hover .card__title,
.card:focus-within .card__title { color: var(--navy-900); }
.card:hover .card__text,
.card:focus-within .card__text { color: rgba(14, 44, 74, .72); }
.card:hover .card__link,
.card:focus-within .card__link { color: var(--navy-900); }

/* ==========================================================================
   Journey
   ========================================================================== */
.journey { background: var(--navy-900); color: var(--white); padding-block: 150px 156px; }
.journey__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 617px;
  gap: 48px;
}
.journey__intro .display { max-width: 390px; margin-top: 18px; }
.journey__lead {
  max-width: 440px;
  margin-top: 22px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, .66);
}
.journey__intro .btn { margin-top: 28px; }

.steps { padding-top: 0; }
.step {
  display: grid;
  grid-template-columns: 87px 1fr;
  padding: 28px 0 30px;
  border-bottom: 1px solid rgba(255, 255, 255, .24);
}
.step__num { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--gold); line-height: 24px; }
.step__title { font-size: 16px; font-weight: 400; line-height: 24px; color: var(--white); }
.step__text { margin-top: 8px; font-size: 13.5px; line-height: 1.6; color: rgba(255, 255, 255, .62); }

/* ==========================================================================
   Clinical
   ========================================================================== */
.clinical { padding-block: 143px 146px; }
.clinical__grid {
  display: grid;
  grid-template-columns: 427px minmax(0, 1fr);
  gap: 146px;
  align-items: center;
}
.clinical__visual {
  position: relative;
  container-type: size;
  aspect-ratio: 427 / 501;
  max-width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, #edf6f5 0%, #eaf2f6 55%, #e2ecf3 100%);
}
/* Circles are sized against the box's shorter side so they stay round and fit at any aspect ratio */
.clinical__circle,
.clinical__icon {
  position: absolute;
  inset: 0;
  margin: auto;
}
.clinical__circle { border-radius: 50%; }
.clinical__circle--halo {
  width: min(131cqw, 112cqh);
  height: min(131cqw, 112cqh);
  background: #f0f6fa;
}
.clinical__circle--outer {
  width: min(89cqw, 76cqh);
  height: min(89cqw, 76cqh);
  background: #e9eff5;
  border: 1px solid #dde6ee;
  animation: clinical-breathe 3.6s ease-in-out infinite;
}
.clinical__circle--inner {
  width: min(55cqw, 47cqh);
  height: min(55cqw, 47cqh);
  background: #ebf1f6;
  border: 1px solid #d6e0e9;
  animation: clinical-breathe 3.6s ease-in-out .3s infinite;
}
.clinical__circle--ripple {
  width: min(55cqw, 47cqh);
  height: min(55cqw, 47cqh);
  border: 1px solid rgba(31, 111, 174, .28);
  animation: clinical-ripple 3.6s cubic-bezier(.2, .6, .35, 1) infinite;
}
.clinical__icon {
  width: min(18cqw, 15.3cqh);
  height: min(18cqw, 15.3cqh);
  stroke-width: 1.2;
  color: var(--blue);
}

@keyframes clinical-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.045); }
}
@keyframes clinical-ripple {
  0% { transform: scale(1); opacity: .9; }
  100% { transform: scale(2.2); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .clinical__circle { animation: none; }
  .clinical__circle--ripple { display: none; }
}

.clinical__body .title { margin-top: 20px; }
.clinical__lead { max-width: 560px; margin-top: 18px; font-size: 15px; line-height: 1.72; color: var(--muted); }
.checklist { margin-top: 26px; display: grid; gap: 16px; }
.checklist li { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 23px; color: var(--text); }
.checklist .icon { width: 18px; height: 18px; color: var(--blue); }

/* ==========================================================================
   Team banner
   ========================================================================== */
.team__panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 304px;
  padding: 60px 83px 60px 80px;
  background: linear-gradient(100deg, var(--navy-900) 0%, #123e66 55%, #1a578a 100%);
  color: var(--white);
}
.team__title {
  margin-top: 18px;
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.01em;
}
.team__text { max-width: 540px; margin-top: 14px; font-size: 14px; line-height: 1.75; color: rgba(255, 255, 255, .7); }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta { padding-block: 136px 141px; }
.cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 456px;
  gap: 48px;
  align-items: center;
}
.cta .title { margin-top: 18px; }
.cta__box {
  padding: 50px 42px 42px;
  background: var(--beige);
  border-left: 3px solid var(--gold);
}
.cta__text { font-size: 14px; line-height: 1.72; color: var(--muted); }
.cta__box .btn { margin-top: 24px; }
.cta__note { margin-top: 20px; font-size: 11.5px; line-height: 1.6; color: var(--muted); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--navy-950); color: rgba(255, 255, 255, .62); }
.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 150px;
}
.footer__links { display: flex; gap: 22px; font-size: 12.5px; }
.footer__links li + li::before { content: "·"; margin-right: 22px; color: rgba(255, 255, 255, .55); }
.footer__links a:hover { color: var(--gold); }
.footer__copy { justify-self: end; font-size: 12.5px; }

/* ==========================================================================
   Utilities
   ========================================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Current subpage inside the Solutions dropdown */
.nav__menu a[aria-current="page"] { color: var(--blue); font-weight: 600; }

/* ==========================================================================
   Subpages — hero
   ========================================================================== */
.page-hero { background: var(--navy-900); color: var(--white); padding-block: 72px 96px; }
.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 427px;
  gap: 96px;
  align-items: center;
}
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .78); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: rgba(255, 255, 255, .6); }
.breadcrumb a { color: rgba(255, 255, 255, .88); transition: color .2s var(--ease); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb [aria-current] { color: var(--white); }
.page-hero .eyebrow { margin-top: 40px; }
.page-hero__title {
  margin-top: 22px;
  font-family: var(--font-serif);
  font-size: 64px;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.015em;
  color: var(--white);
}
.page-hero__lead { max-width: 560px; margin-top: 22px; font-size: 16.5px; line-height: 1.7; color: rgba(255, 255, 255, .84); }
.page-hero__media {
  margin: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--navy-800);
}
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Subpages — features
   ========================================================================== */
.features { background: var(--beige); padding-block: 120px; }
.features .section-head .title,
.related .section-head .title { text-wrap: balance; }
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 52px;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.feature { padding: 36px 36px 40px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ice);
  color: var(--blue);
}
.feature__icon .icon { width: 18px; height: 18px; }
.feature__title {
  margin-top: 22px;
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--ink);
}
.feature__text { margin-top: 10px; font-size: 14px; line-height: 1.7; color: var(--muted); }

/* ==========================================================================
   Subpages — request form
   ========================================================================== */
.request { padding-block: 130px; }
.request__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 560px;
  gap: 96px;
  align-items: start;
}
.request__intro .title { margin-top: 18px; }
.request__lead { max-width: 460px; margin-top: 20px; font-size: 16px; line-height: 1.75; color: var(--text); }
.request__meta { display: grid; gap: 14px; margin-top: 32px; font-size: 14px; line-height: 1.6; color: var(--text); }
.request__meta li { display: flex; align-items: flex-start; gap: 12px; }
.request__meta .icon { margin-top: 2px; color: var(--blue); }
.request__note {
  max-width: 460px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.form-panel { padding: 44px 44px 40px; background: var(--beige); border-left: 3px solid var(--gold); }
.form { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field__label { font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.field__hint { font-weight: 400; color: var(--muted); }
.req { margin-left: 2px; color: #b42318; }
.field__control {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid #7d8b9b;
  border-radius: 2px;
  background-color: var(--white);
  font: inherit;
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
textarea.field__control { height: auto; min-height: 118px; padding: 12px 14px; line-height: 1.6; resize: vertical; }
select.field__control {
  appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2355657a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}
.field__control::placeholder { color: #5f6c7c; }
.field__control:hover { border-color: var(--muted); }
.field__control:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 111, 174, .22); }
.field__control[aria-invalid="true"] { border-color: #b42318; }
.field__error { font-size: 12.5px; line-height: 1.4; color: #b42318; }

.consent { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.6; color: var(--text); }
.consent input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--blue); }
.form > .field__error { grid-column: 1 / -1; margin-top: -12px; }
.form__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 4px; }
.form__required { font-size: 12.5px; color: var(--muted); }
.form__status { grid-column: 1 / -1; padding: 12px 14px; border-left: 3px solid; font-size: 14px; line-height: 1.55; }
.form__status--success { background: #ecfdf3; border-color: #067647; color: #05603a; }
.form__status--error { background: #fef3f2; border-color: #b42318; color: #912018; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn[disabled] { opacity: .7; cursor: progress; }

/* ==========================================================================
   Subpages — external CTA and related pathways
   ========================================================================== */
.cta-band { padding-block: 120px; }
.related { background: var(--beige); padding-block: 120px; }
.cards--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--two .card { min-height: 360px; }

@media (max-width: 1024px) {
  .page-hero__grid,
  .request__grid { grid-template-columns: 1fr; gap: 56px; }
  .page-hero__media { aspect-ratio: 16 / 10; }
  .page-hero__title { font-size: 52px; }
  .features__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .page-hero { padding-block: 48px 64px; }
  .page-hero__title { font-size: 40px; }
  .features,
  .request,
  .related,
  .cta-band { padding-block: 72px; }
  .features__grid,
  .form { grid-template-columns: 1fr; }
  .feature { padding: 28px 24px 32px; }
  .form-panel { padding: 32px 22px; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav__list { gap: 22px; }
  .nav__divider { margin-right: 18px; }
  .nav__portal { margin-right: 18px; }

  .intro__grid,
  .cta__grid { grid-template-columns: minmax(0, 1fr) 420px; }
  .journey__grid { grid-template-columns: minmax(0, 1fr) 520px; }
  .clinical__grid { grid-template-columns: 380px minmax(0, 1fr); gap: 72px; }
  .card { padding-inline: 30px; }
  .card__icon { right: 30px; }
}

@media (max-width: 1024px) {
  .header__inner { display: flex; justify-content: space-between; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 12px var(--gutter) 24px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(14, 44, 74, .08);
    display: none;
  }
  .header.is-open .nav { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav__list > li > .nav__link::after { bottom: -1px; }
  .nav__menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 8px 14px; }
  .nav__actions { flex-direction: column; align-items: stretch; }
  .nav__divider { display: none; }
  .nav__portal { margin: 0; }
  .nav .btn { margin-top: 18px; }

  .hero__media {
    background:
      linear-gradient(90deg, rgba(10, 36, 64, .97) 0%, rgba(10, 36, 64, .9) 45%, rgba(10, 36, 64, .45) 75%, rgba(10, 36, 64, .2) 100%),
      url("../assets/bhms-hero.webp") 78% 20% / cover no-repeat;
  }
  .hero__title { font-size: 64px; }
  .display { font-size: 48px; }
  .title { font-size: 42px; }

  .intro__grid,
  .journey__grid,
  .cta__grid { grid-template-columns: 1fr; gap: 48px; }
  .intro__heading { padding-top: 0; }
  .intro__body { padding-top: 40px; max-width: 640px; }
  .journey__intro .display { max-width: 560px; }
  .clinical__grid { grid-template-columns: 1fr 1fr; gap: 56px; }

  .cards { grid-template-columns: 1fr; gap: 16px; }
  .card { min-height: 0; padding: 36px 32px; }
  .card + .card { border-left: 1px solid var(--line); }
  .card__title { margin-top: 28px; }
  .card__text { max-width: 520px; }
  .card__link { margin-top: 28px; }

  .team__panel { flex-direction: column; align-items: flex-start; padding: 56px 48px; }
  .cta__box { max-width: 560px; }
}

@media (max-width: 900px) {
  .clinical__grid { grid-template-columns: 1fr; gap: 48px; }
  .clinical__visual { aspect-ratio: 16 / 9; }
}

@media (max-width: 760px) {
  :root { --gutter: 20px; }
  html { scroll-padding-top: 103px; }
  .topbar__inner { justify-content: center; }
  .topbar__inner > p:first-child { display: none; }
  .header__inner { height: 68px; }
  .logo img { height: 48px; }

  .hero { min-height: 0; }
  .hero__media {
    background:
      linear-gradient(0deg, rgba(10, 36, 64, .97) 0%, rgba(10, 36, 64, .90) 55%, rgba(10, 36, 64, .55) 100%),
      url("../assets/bhms-hero.webp") 80% 20% / cover no-repeat;
  }
  .hero__content { padding-block: 72px 56px; }
  .hero__title { font-size: 46px; }
  .hero__lead { font-size: 16px; }
  .hero__actions { margin-top: 32px; }
  .hero__trust { margin-top: 48px; flex-direction: column; }

  .intro, .continuum, .journey, .clinical, .cta { padding-block: 72px; }
  .display { font-size: 38px; }
  .title { font-size: 34px; }
  .section-head .title br { display: none; }

  .clinical__grid { grid-template-columns: 1fr; gap: 40px; }
  .clinical__visual { aspect-ratio: 4 / 3; }
  .step { grid-template-columns: 56px 1fr; }

  .team__panel { padding: 44px 28px; min-height: 0; }
  .team__title { font-size: 30px; }
  .cta__box { padding: 36px 28px; }

  .footer__inner { grid-template-columns: 1fr; justify-items: start; padding-block: 40px; }
  .footer__copy { justify-self: start; }
  .footer__links { flex-wrap: wrap; }
}
