/* =====================================================================
   Metabolic Health Audit landing pages (.mha-*)
   Loaded after site.css on the audit pages only (via $pageStyles).
   Uses the site tokens: Raleway, --brand-primary orange, --brand-accent
   beige, square corners, the tinted section backgrounds.
   ===================================================================== */
.mha-page { --mha-ink: #1f1f1f; --mha-muted: #5c5c5c; --mha-line: #e4ddd5; --mha-tint: #F5F0EC; --mha-green: #1d6b3a; --mha-green-50: #e7f4ec; }

/* ---------- heroes ---------- */
.mha-hero { position: relative; padding: 2.25rem 0 3rem; }
@media (min-width: 992px) { .mha-hero { padding: 3.35rem 0 4.5rem; } }
/* split hero: top-align the columns so the taller card doesn't push the copy down */
.mha-hero--split .row { align-items: flex-start !important; }
.mha-hero--center,
.mha-hero--hook { background: linear-gradient(180deg, #F5F0EC 0%, #F8F6F3 55%, #fff 100%); }
.mha-hero__title { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.12; color: var(--mha-ink); }
.mha-hero__title--xl { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.05; }
.mha-hero__lead { max-width: 720px; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.65; color: var(--mha-muted); }
.mha-hero__note { max-width: 300px; font-size: 14px; line-height: 1.45; color: var(--mha-muted); }
.mha-accent { color: var(--brand-primary); }
.mha-details-link { font-weight: 700; color: var(--mha-ink); text-decoration: underline; text-decoration-color: var(--brand-primary);
  text-decoration-thickness: 2px; text-underline-offset: 5px; }
.mha-details-link:hover { color: var(--brand-primary); }
.mha-cta { box-shadow: 0 10px 24px -12px rgba(244, 128, 52, .7); }

/* ---------- offer card ---------- */
.mha-offer { background: #fff; border: 1px solid var(--mha-line); border-top: 4px solid var(--brand-primary);
  padding: clamp(22px, 3vw, 34px); text-align: left; box-shadow: 0 24px 48px -32px rgba(0, 0, 0, .35); }
.mha-offer__title { font-size: 20px; font-weight: 700; margin: 0 0 6px; color: var(--mha-ink); }
.mha-offer__price { margin: 0 0 16px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-primary); }
.mha-offer__line { margin: 0 0 10px; color: var(--mha-muted); }
.mha-offer__line--strong { color: var(--mha-ink); font-weight: 600; }
.mha-offer__bonus { margin: 16px 0; padding: 12px 16px; background: var(--mha-green-50); color: var(--mha-green); font-weight: 600; line-height: 1.45; }
.mha-offer__fine { margin: 0 0 10px; padding-top: 14px; border-top: 1px solid var(--mha-line); font-size: 14px; color: var(--mha-muted); }
.mha-offer__scarcity { margin: 0; font-size: 14px; font-weight: 700; color: #a4521b; }
.mha-offer--compact .mha-offer__title { font-size: 19px; }
.mha-offer__price s { margin-right: 6px; color: #a8a29b; font-weight: 500; letter-spacing: .04em; }
.mha-offer__line strong { color: var(--mha-ink); font-weight: 700; }
.mha-offer .mha-doctor--offer { margin: 18px calc(-1 * clamp(22px, 3vw, 34px)) calc(-1 * clamp(22px, 3vw, 34px)); padding-inline: clamp(22px, 3vw, 34px); }

/* ---------- Is This You? / Why Now ---------- */
.mha-fit__list { columns: 1 !important; column-count: 1 !important; max-width: 760px; margin-inline: auto; }
.mha-fit__list li { align-items: center; }

/* ---------- comparison ---------- */
.mha-compare { background: #fff; border: 1px solid var(--mha-line); }
.mha-compare__row { display: grid; grid-template-columns: 1fr 1fr; }
.mha-compare__row + .mha-compare__row { border-top: 1px solid var(--mha-line); }
.mha-compare__row > span { display: flex; gap: 12px; align-items: flex-start; padding: 16px 20px; line-height: 1.5; }
.mha-compare__row--head > span { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mha-muted); background: #F8F6F3; }
.mha-compare__row--head > span + span { background: var(--brand-primary); color: #fff; }
.mha-compare__std { color: var(--mha-muted); }
.mha-compare__std i { color: #b3aca4; margin-top: 2px; }
.mha-compare__ours { background: #fdf6f1; color: var(--mha-ink); font-weight: 600; border-left: 1px solid var(--mha-line); }
.mha-compare__ours i { color: var(--brand-primary); margin-top: 2px; }

/* ---------- process / plan / results / guarantee ---------- */
.mha-noqualify { background: #fff; border-left: 4px solid var(--brand-accent); padding: 20px 24px; color: var(--mha-muted); }
.mha-noqualify h3 { color: var(--mha-ink); }
.mha-simple__lead { font-size: 20px; font-weight: 600; color: var(--mha-ink); }
.mha-results__card { background: #fff; border: 1px solid var(--mha-line); padding: 28px; }
.mha-results__label { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-primary); margin-bottom: 20px; }
.mha-guarantee__closing { font-weight: 700; color: #a4521b; }

/* ---------- split hero (v2) ---------- */
.mha-ratingbar { display: flex; justify-content: center; align-items: center; gap: 10px; padding: 10px 16px;
  background: #F8F6F3; border-bottom: 1px solid var(--mha-line); font-size: 14px; font-weight: 600; color: #7a3f13; }
.mha-stars { color: var(--brand-primary); letter-spacing: 1px; }
.mha-hero--split { background: radial-gradient(60% 70% at 0% 100%, #F5E6D8 0%, rgba(245, 230, 216, 0) 70%), #fff; }
.mha-chips { display: inline-flex; flex-wrap: wrap; gap: 6px 14px; padding: 8px 16px; border: 1px solid var(--mha-line); font-size: 14px; color: var(--mha-muted); }
.mha-chips span + span::before { content: "·"; margin-right: 14px; color: #c4bbb1; }
.mha-howcard { background: #fff; border: 1px solid var(--mha-line); box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .35); }
.mha-howcard__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 24px; border-bottom: 1px solid var(--mha-line); }
.mha-howcard__title { margin: 0; font-size: 17px; font-weight: 700; }
.mha-howcard__title::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; vertical-align: middle; background: var(--brand-primary); }
.mha-howcard__head--offer { display: block; padding: 20px 24px 16px; }
.mha-howcard__head--offer .mha-howcard__title { font-size: 19px; line-height: 1.3; }
.mha-howcard__head--offer .mha-howcard__title::before { margin-top: -3px; }
.mha-howcard__deal { margin: 8px 0 0 18px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-primary); }
.mha-howcard__deal s { margin-left: 6px; color: #a8a29b; font-weight: 500; letter-spacing: .04em; }
.mha-howcard__price { font-weight: 600; color: var(--mha-ink); }
.mha-howcard__price s { color: #a8a29b; font-weight: 400; margin-right: 4px; }
.mha-howcard__list { list-style: none; margin: 0; padding: 4px 24px; }
.mha-howcard__list li { display: grid; grid-template-columns: 32px 1fr auto; gap: 12px; align-items: start; padding: 18px 0; }
.mha-howcard__list li + li { border-top: 1px dashed var(--mha-line); }
.mha-howcard__num { font-size: 13px; font-weight: 700; color: var(--brand-primary); padding-top: 2px; }
.mha-howcard__list h3 { margin: 0 0 4px; font-size: 16px; font-weight: 700; }
.mha-howcard__list p { margin: 0; font-size: 14px; color: var(--mha-muted); line-height: 1.5; }
.mha-tag { padding: 4px 10px; font-size: 12px; font-weight: 700; white-space: nowrap; background: #fbeee3; color: #a4521b; }
.mha-howcard__list li:nth-child(3) .mha-tag { background: var(--mha-green-50); color: var(--mha-green); }
.mha-howcard__note { margin: 0; padding: 14px 24px; background: #fbf3ec; font-size: 14px; font-weight: 700; color: #a4521b; text-align: center; }

/* guarantee callout in the hero (links to #guarantee) */
.mha-hero-guarantee { display: flex; gap: 14px; align-items: flex-start; max-width: 560px; margin-top: 22px; padding: 16px 18px;
  background: #fff; border: 1px solid var(--mha-line); border-left: 4px solid var(--mha-green); color: var(--mha-muted);
  font-size: 15px; line-height: 1.5; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.mha-hero-guarantee:hover { border-color: var(--mha-green); box-shadow: 0 10px 24px -16px rgba(0,0,0,.35); color: var(--mha-muted); }
.mha-hero-guarantee strong { display: block; margin-bottom: 2px; color: var(--mha-ink); }
.mha-hero-guarantee__icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--mha-green-50); color: var(--mha-green); font-size: 20px; }
.mha-hero-guarantee__link { display: block; margin-top: 6px; font-weight: 700; color: var(--mha-green); }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- v2 hero impact: cream band, brand mosaic, Dr. Trey on the card ---------- */
.mha-hero--impact { overflow: hidden; background: linear-gradient(100deg, #F5F0EC 0%, #F5F0EC 55%, #FBF8F5 100%); }
.mha-hero--impact .container { position: relative; z-index: 1; }
.mha-mosaic { position: absolute; z-index: 0; left: -170px; bottom: -230px; width: 560px; height: 560px; transform: rotate(-12deg);
  opacity: .14; pointer-events: none; }
.mha-hero--impact .mha-howcard { position: relative; box-shadow: 0 40px 80px -40px rgba(60, 35, 15, .45); }
@media (min-width: 576px) { .mha-hero--impact .mha-chips { background: #fff; } }
.mha-doctor { display: flex; align-items: center; gap: 14px; padding: 14px 24px; background: #fbf3ec; border-top: 1px solid var(--mha-line);
  font-size: 14px; line-height: 1.45; color: #6b4a33; }
.mha-doctor img { flex: none; width: 72px; height: 72px; border-radius: 50% !important; object-fit: cover; object-position: center;
  border: 3px solid #fff; box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.mha-doctor strong { display: block; color: var(--mha-ink); }
@media (max-width: 991.98px) { .mha-mosaic { width: 380px; height: 380px; left: auto; right: -170px; bottom: -150px; } }

/* card list without numbers (v2) */
.mha-howcard__list.mha-howcard__list--plain li { grid-template-columns: 1fr auto; }
.mha-howcard__deal s { margin: 0 8px 0 0; }

/* tooltip on a tag (hover, keyboard focus, or tap on phones) */
.mha-tip { position: relative; border: 0; font-family: inherit; cursor: help; display: inline-flex; align-items: center; gap: 5px; }
.mha-tip i { font-size: 12px; }
.mha-tip__bubble { position: absolute; z-index: 5; right: 0; bottom: calc(100% + 10px); width: 240px; padding: 10px 12px;
  background: #262422; color: #fff; font-size: 13.5px; font-weight: 500; line-height: 1.45; text-align: left; white-space: normal;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.4); opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity .15s, transform .15s, visibility .15s; pointer-events: none; }
.mha-tip__bubble::after { content: ""; position: absolute; right: 18px; top: 100%; border: 6px solid transparent; border-top-color: #262422; }
.mha-tip:hover .mha-tip__bubble, .mha-tip:focus .mha-tip__bubble { opacity: 1; visibility: visible; transform: none; }
.mha-tip:focus-visible { outline: 2px solid var(--brand-primary); outline-offset: 2px; }
@media (max-width: 575.98px) {
  .mha-howcard__list.mha-howcard__list--plain li { grid-template-columns: 1fr; }
  .mha-howcard__list.mha-howcard__list--plain .mha-tag { grid-column: 1; justify-self: start; }
  .mha-tip__bubble { right: auto; left: 0; }
  .mha-tip__bubble::after { right: auto; left: 18px; }
}

/* ---------- patient videos + reviews ---------- */
.mha-videos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.mha-video, .mha-mainvideo { position: relative; display: grid; place-items: center; background: #26252a; color: #fff; overflow: hidden; }
.mha-video { aspect-ratio: 9 / 16; }
.mha-mainvideo { aspect-ratio: 16 / 9; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
.mha-video video { width: 100%; height: 100%; object-fit: cover; }
.mha-video__play { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--brand-primary); font-size: 26px; }
.mha-video__play--lg { width: 72px; height: 72px; font-size: 40px; }
.mha-video__label { position: absolute; left: 10px; right: 10px; bottom: 14px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-align: center; color: rgba(255, 255, 255, .75); }
.mha-reviews__label { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-weight: 700; }
.mha-reviews__label .google-g { display: inline-grid; place-items: center; width: 22px; height: 22px; font-weight: 700; color: #4285F4; }

/* ---------- dark hero (v3) ---------- */
.mha-hero--dark { background: #262422; color: #fff; }
.mha-hero--dark .mha-hero__title { color: #fff; font-family: inherit; }
.mha-hero--dark .mha-hero__lead { color: rgba(255, 255, 255, .78); }
.mha-dark__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.mha-dark__trust { font-weight: 600; color: rgba(255, 255, 255, .9); }
.mha-dark__trust .mha-stars { margin-right: 8px; }
.mha-dark__stats { display: flex; align-items: center; gap: 18px; }
.mha-dark__stat { display: grid; text-align: center; font-size: 12px; color: rgba(255, 255, 255, .7); }
.mha-dark__stat strong { font-size: 20px; color: #fff; }
.mha-dark__seal { display: grid; place-items: center; width: 64px; height: 64px; padding: 6px; border: 1px solid var(--brand-primary); border-radius: 50%;
  font-size: 8.5px; font-weight: 700; line-height: 1.15; letter-spacing: .06em; text-transform: uppercase; text-align: center; color: var(--brand-primary); }
.mha-dark__chips { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 14px; font-weight: 700; }
.mha-hero--dark .mha-offer { color: var(--mha-ink); }
.mha-badges { background: #F8F6F3; border-bottom: 1px solid var(--mha-line); }
.mha-badges__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; margin: 0; padding: 18px 0; list-style: none; font-weight: 700; }
.mha-badges__list i { margin-right: 8px; color: var(--brand-primary); }

/* ---------- question hook (v4) ---------- */
.mha-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: #26252a; color: #fff;
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.mha-pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-primary); }
.mha-hero--hook .mha-hero__lead strong { color: var(--mha-ink); }
.mha-pillar { border-top: 3px solid var(--brand-primary); padding-top: 18px; font-size: 17px; line-height: 1.6; color: var(--mha-muted); }
.mha-pillar strong { color: var(--mha-ink); }
.mha-pillar__label { font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-primary); margin-bottom: 10px; }
.mha-faq .accordion-button { font-weight: 700; }
.mha-faq .accordion-button:not(.collapsed) { color: var(--mha-ink); background: #fbf3ec; box-shadow: none; }
.mha-faq .accordion-button:focus { box-shadow: 0 0 0 3px rgba(244, 128, 52, .3); }

/* ---------- qualification results ---------- */
.mha-result__icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; font-size: 34px;
  background: var(--mha-green-50); color: var(--mha-green); }
.mha-result--review .mha-result__icon { background: #fbeee3; color: #a4521b; }
.mha-result--rule_out .mha-result__icon { background: #eef1f6; color: #2f4a73; }

/* ---------- responsive ---------- */
@media (max-width: 991.98px) {
  .mha-videos { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .mha-video { flex: 0 0 42%; scroll-snap-align: start; }
}
@media (max-width: 575.98px) {
  /* chips: separate pills instead of one box with "·" separators, so wrapping stays tidy */
  .mha-chips { display: flex; gap: 8px; padding: 0; border: 0; }
  .mha-chips span { padding: 6px 12px; border: 1px solid var(--mha-line); background: #fff; font-size: 13.5px; white-space: nowrap; }
  .mha-chips span + span::before { content: none; }
  .mha-dark__chips { gap: 8px; }
  .mha-dark__chips span { padding: 6px 12px; border: 1px solid rgba(255,255,255,.22); font-size: 13.5px; }
  .mha-compare__row { grid-template-columns: 1fr; }
  .mha-compare__row--head { display: none; }
  .mha-compare__ours { border-left: 0; border-top: 1px dashed var(--mha-line); }
  .mha-howcard__list li { grid-template-columns: 28px 1fr; }
  .mha-howcard__list .mha-tag { grid-column: 2; justify-self: start; }
  .mha-video { flex-basis: 64%; }
  .mha-dark__stats { display: none; }
}

/* ===== v6: plain-language page ===== */
.mha-v6 .mha-hero--v6 { background: linear-gradient(180deg, #F5F0EC 0%, #F8F6F3 100%); padding-bottom: 3.5rem; }
.mha-v6 .mha-hero__lead { font-size: clamp(16px, 1.4vw, 18px); }
.mha-for { margin: 22px 0 0; padding: 0; list-style: none; }
.mha-for li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 10px; color: var(--mha-ink); font-weight: 500; }
.mha-for li i { color: var(--mha-green, #2e8b57); margin-top: 3px; flex: none; }
.mha-for__title { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mha-muted); margin: 26px 0 4px; }
.mha-notfor { margin: 18px 0 0; padding: 12px 16px; border-left: 3px solid #c4bbb1; background: #fff; font-size: 14px; color: var(--mha-muted); }
.mha-card6 { background: #fff; border: 1px solid var(--mha-line); border-top: 4px solid var(--brand-primary); box-shadow: 0 30px 60px -40px rgba(0,0,0,.35); }
.mha-card6__head { padding: 22px 26px 16px; border-bottom: 1px solid var(--mha-line); display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.mha-card6__head h2 { margin: 0; font-size: 19px; font-weight: 700; }
.mha-card6__price { font-size: 28px; font-weight: 800; color: var(--mha-ink); line-height: 1; }
.mha-card6__price s { font-size: 15px; font-weight: 500; color: #a8a29b; margin-right: 6px; }
.mha-card6__price small { display: block; font-size: 12px; font-weight: 600; color: #a4521b; margin-top: 4px; letter-spacing: .04em; }
.mha-card6__list { list-style: none; margin: 0; padding: 6px 26px; }
.mha-card6__list li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--mha-line); }
.mha-card6__list li:last-child { border-bottom: 0; }
.mha-card6__list i { color: var(--brand-primary); margin-top: 2px; flex: none; }
.mha-card6__list strong { display: block; font-size: 15px; color: var(--mha-ink); }
.mha-card6__list span { font-size: 13.5px; color: var(--mha-muted); line-height: 1.4; }
.mha-card6__outcome { margin: 0; padding: 14px 26px; background: #fbf3ec; font-size: 14px; color: var(--mha-ink); }
.mha-card6__form { padding: 22px 26px 26px; background: #F8F6F3; border-top: 1px solid var(--mha-line); }
.mha-card6__form h3 { font-size: 17px; font-weight: 700; margin: 0 0 4px; }
.mha-card6__form .form-text { color: var(--mha-muted); }
.mha-callback .form-control, .mha-callback .form-select { border-color: #d9d2ca; }
.mha-callback .btn-check:checked + .btn { background: var(--brand-primary); border-color: var(--brand-primary); color: #fff; }
.mha-callback .btn-outline-secondary { border-color: #d9d2ca; color: var(--mha-ink); background: #fff; }
.mha-callback__consent { font-size: 12.5px; color: var(--mha-muted); line-height: 1.45; }
.mha-callback__done { padding: 18px; background: var(--mha-green-50, #eef7f1); border: 1px solid #bfe0cc; color: var(--mha-ink); }
.mha-trust6 { background: #fff; border-bottom: 1px solid var(--mha-line); }
.mha-trust6__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; }
.mha-trust6__list li { padding: 20px 18px; text-align: center; border-right: 1px dashed var(--mha-line); }
.mha-trust6__list li:last-child { border-right: 0; }
.mha-trust6__list strong { display: block; font-size: 20px; color: var(--mha-ink); }
.mha-trust6__list span { font-size: 13px; color: var(--mha-muted); }
.mha-team6__photo { border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -40px rgba(0,0,0,.45); }
.mha-team6__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mha-team6__photo--tall { aspect-ratio: 4 / 3.6; }
.mha-team6__caption { font-size: 13px; color: var(--mha-muted); margin-top: 8px; }
.mha-team6__doctor { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.mha-team6__doctor img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.mha-team6__doctor strong { display: block; font-size: 18px; color: var(--mha-ink); }
.mha-team6__doctor span { font-size: 13.5px; color: var(--mha-muted); line-height: 1.4; display: block; }
.mha-quote6 { position: relative; padding: 22px 26px 22px 30px; background: #fff; border-left: 4px solid var(--brand-primary); font-size: 16px; line-height: 1.6; color: var(--mha-ink); }
.mha-quote6__label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mha-muted); margin-bottom: 8px; }
.mha-quote6__note { font-size: 12px; color: #a4521b; margin-top: 10px; }
.mha-tests { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mha-test { background: #fff; border: 1px solid var(--mha-line); padding: 20px 22px; }
.mha-test__head { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.mha-test__head i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #fbf3ec; color: var(--brand-primary); font-size: 18px; flex: none; }
.mha-test__head h3 { margin: 0; font-size: 16px; font-weight: 700; }
.mha-test__why { font-size: 14px; color: var(--mha-muted); margin: 0 0 12px; line-height: 1.45; }
.mha-test__markers { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.mha-test__markers li { font-size: 12.5px; padding: 4px 9px; background: #F8F6F3; border: 1px solid var(--mha-line); border-radius: 999px; color: var(--mha-ink); }
.mha-beyond { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mha-beyond > div { background: #262422; color: #fff; padding: 22px; border-radius: 12px; }
.mha-beyond i { font-size: 24px; color: var(--brand-primary); }
.mha-beyond h3 { font-size: 16px; font-weight: 700; margin: 10px 0 6px; color: #fff; }
.mha-beyond p { margin: 0; font-size: 14px; color: rgba(255,255,255,.78); line-height: 1.5; }
.mha-tests__note { font-size: 13px; color: var(--mha-muted); }
.mha-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.mha-timeline::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; background: var(--mha-line); }
.mha-timeline li { position: relative; display: grid; grid-template-columns: 40px 150px 1fr; gap: 16px; padding: 14px 0; align-items: flex-start; }
.mha-timeline__dot { width: 40px; height: 40px; border-radius: 50%; background: var(--brand-primary); color: #fff; display: grid; place-items: center; font-weight: 700; position: relative; z-index: 1; }
.mha-timeline__when { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #a4521b; padding-top: 10px; }
.mha-timeline h3 { font-size: 17px; font-weight: 700; margin: 6px 0 4px; }
.mha-timeline p { margin: 0; color: var(--mha-muted); font-size: 15px; }
.mha-fork { background: #fff; border: 1px solid var(--mha-line); padding: 20px 22px; height: 100%; }
.mha-fork--yes { border-left: 4px solid var(--mha-green, #2e8b57); }
.mha-fork--no { border-left: 4px solid #c4bbb1; }
.mha-fork h3 { font-size: 15px; font-weight: 700; margin: 0 0 6px; }
.mha-fork p { margin: 0; font-size: 14.5px; color: var(--mha-muted); }
.mha-price6 { background: #fff; border: 1px solid var(--mha-line); }
.mha-price6__row { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 18px 24px; border-bottom: 1px dashed var(--mha-line); align-items: flex-start; }
.mha-price6__row strong { display: block; font-size: 16px; color: var(--mha-ink); }
.mha-price6__row span { font-size: 13.5px; color: var(--mha-muted); line-height: 1.45; }
.mha-price6__amt { font-size: 22px; font-weight: 800; color: var(--mha-ink); white-space: nowrap; }
.mha-price6__amt s { font-size: 14px; font-weight: 500; color: #a8a29b; margin-right: 6px; }
.mha-price6__amt--credit { color: var(--mha-green, #2e8b57); }
.mha-price6__row--total { background: #fbf3ec; border-bottom: 0; }
.mha-price6__row--total .mha-price6__amt { color: var(--brand-primary); }
.mha-price6__foot { padding: 14px 24px; font-size: 13.5px; color: var(--mha-muted); border-top: 1px solid var(--mha-line); }
.mha-tbd { display: inline-block; padding: 2px 10px; background: #fff3cd; border: 1px dashed #d9a400; color: #7a5a00; font-size: 14px; font-weight: 700; border-radius: 6px; }
.mha-v6 .mha-faq .accordion-body { color: var(--mha-muted); }
@media (max-width: 991.98px) {
  .mha-tests, .mha-beyond { grid-template-columns: repeat(2, 1fr); }
  .mha-trust6__list { grid-template-columns: repeat(2, 1fr); }
  .mha-trust6__list li:nth-child(2) { border-right: 0; }
  .mha-trust6__list li:nth-child(-n+2) { border-bottom: 1px dashed var(--mha-line); }
  .mha-timeline li { grid-template-columns: 40px 1fr; }
  .mha-timeline__when { grid-column: 2; padding-top: 0; }
  .mha-timeline h3 { grid-column: 2; }
  .mha-timeline p { grid-column: 2; }
}
@media (max-width: 575.98px) {
  .mha-tests, .mha-beyond { grid-template-columns: 1fr; }
  .mha-price6__row { grid-template-columns: 1fr; }
}

/* ===== Google review slider ===== */
.mha-slider__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 18px; }
.mha-slider__nav { display: flex; gap: 8px; flex: none; }
.mha-slider__btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--mha-line); background: #fff; color: var(--mha-ink); display: grid; place-items: center; font-size: 18px; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.mha-slider__btn:hover, .mha-slider__btn:focus-visible { background: var(--brand-primary); border-color: var(--brand-primary); color: #fff; outline: none; }
.mha-slider__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 12px; margin: -4px -2px 0; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.mha-slider__track::-webkit-scrollbar { display: none; }
.mha-slider__track:focus-visible { outline: 2px solid var(--brand-primary); outline-offset: 4px; border-radius: 8px; }
.mha-slider__card { flex: 0 0 calc((100% - 32px) / 3); max-width: none; scroll-snap-align: start; display: flex; flex-direction: column; }
.mha-slider__card .review-card__body { flex: 1; }
.mha-slider__dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.mha-slider__dots span { width: 8px; height: 8px; border-radius: 50%; background: #d8d1c9; transition: background .15s, transform .15s; }
.mha-slider__dots span.on { background: var(--brand-primary); transform: scale(1.25); }
@media (max-width: 991.98px) { .mha-slider__card { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 575.98px) { .mha-slider__card { flex-basis: 100%; } .mha-slider__head { align-items: flex-start; flex-direction: column; } }
.mha-slider__card { padding: 18px 20px; }
.mha-slider__card .review-card__stars { margin-bottom: 8px; font-size: 13px; }
.mha-slider__card .review-card__body { font-size: 14.5px; line-height: 1.5; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.mha-slider__card .review-card__cite { margin: 0; padding-top: 10px; }

/* Review slider cards: lift off the tinted section background */
.mha-slider__card.review-card { position: relative; background: #fff; border: 1px solid #ebe4dc; border-top: 3px solid var(--brand-primary); border-radius: 14px; box-shadow: 0 14px 30px -18px rgba(60, 40, 20, .35), 0 2px 6px -2px rgba(60, 40, 20, .08); padding: 22px 22px 18px; transition: transform .2s, box-shadow .2s; }
.mha-slider__card.review-card:hover { transform: translateY(-3px); box-shadow: 0 22px 36px -18px rgba(60, 40, 20, .4), 0 3px 8px -2px rgba(60, 40, 20, .1); }
.mha-slider__card.review-card::before { content: "\201C"; position: absolute; top: 6px; right: 18px; font-size: 64px; line-height: 1; font-family: Georgia, "Times New Roman", serif; color: var(--brand-primary); opacity: .14; pointer-events: none; }
.mha-slider__card .review-card__stars { color: #f0a500; font-size: 15px; letter-spacing: .08em; margin-bottom: 10px; }
.mha-slider__card .review-card__body { color: var(--mha-ink); font-size: 15px; line-height: 1.55; }
.mha-slider__card .review-card__cite { border-top: 1px dashed var(--mha-line); padding-top: 12px; }
.mha-slider__card .review-card__name { color: var(--mha-ink); font-weight: 700; }
.mha-slider__card .review-card__cite small { font-size: 12.5px; }
.mha-slider__track { padding: 10px 6px 18px; margin: -10px -6px 0; }

/* ===== Metabolic Reset Program: steps + 10-week timeline ===== */
.mha-program { --tl-ink: #26242A; --tl-brand: var(--brand-primary); --tl-brand-dk: #9A4B12; --tl-green: #166534; --tl-paper: #F5F0EC; }
.mha-step { background: #fff; border: 1px solid var(--mha-line); border-top: 4px solid var(--tl-ink); border-radius: 14px; padding: 26px 28px; box-shadow: 0 14px 30px -22px rgba(60,40,20,.35); }
.mha-step--brand { border-top-color: var(--tl-brand); }
.mha-step__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.mha-step__n { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--tl-ink); }
.mha-step--brand .mha-step__n { color: var(--tl-brand-dk); }
.mha-step__when { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--tl-paper); color: var(--mha-muted); }
.mha-step__title { font-size: 24px; font-weight: 800; letter-spacing: -.01em; margin: 0 0 10px; color: var(--mha-ink); }
.mha-step__text { color: var(--mha-muted); line-height: 1.6; margin: 0 0 14px; }
.mha-step__points { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mha-step__points li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; font-weight: 500; color: var(--mha-ink); }
.mha-step__points i { color: var(--tl-brand); margin-top: 3px; flex: none; }
.mha-step--ink .mha-step__points i { color: var(--tl-ink); }

.mha-tl__phases { display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px; }
.mha-tl__phase { border-radius: 12px; padding: 14px 16px; color: #fff; background: var(--tl-ink); }
.mha-tl__phase--brand { background: var(--tl-brand); color: var(--tl-ink); }
.mha-tl__phase--green { background: var(--tl-green); }
.mha-tl__phase-label { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.mha-tl__phase-title { font-size: 15px; font-weight: 800; line-height: 1.25; margin-top: 4px; }
.mha-tl__track { position: relative; margin-top: 84px; height: 56px; }
.mha-tl__bubble { position: absolute; left: 55%; top: -64px; transform: translateX(-50%); width: 280px; text-align: center; }
.mha-tl__bubble span { display: block; background: var(--tl-ink); color: #fff; border-radius: 10px; padding: 9px 14px; font-size: 12.5px; font-weight: 700; line-height: 1.4; }
.mha-tl__bubble::after { content: ""; display: block; width: 0; height: 0; margin: 0 auto; border-left: 8px solid transparent; border-right: 8px solid transparent; border-top: 9px solid var(--tl-ink); }
.mha-tl__line { position: absolute; left: 5%; right: 5%; top: 26px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--tl-ink) 0 16.6%, var(--tl-brand) 16.6% 61.1%, var(--tl-green) 61.1% 100%); }
.mha-tl__nodes { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(10, 1fr); align-items: center; }
.mha-tl__nodes > div { display: flex; justify-content: center; }
.mha-tl__node { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; border: 3px solid var(--tl-paper); color: #fff; background: var(--tl-ink); }
.mha-tl__node--brand { background: var(--tl-brand); color: var(--tl-ink); }
.mha-tl__node--green { background: var(--tl-green); }
.mha-tl__node.is-ring { box-shadow: 0 0 0 5px rgba(38,36,42,.2); }
.mha-tl__node--brand.is-ring { box-shadow: 0 0 0 5px rgba(244,128,52,.3); }
.mha-tl__node--green.is-ring { box-shadow: 0 0 0 5px rgba(22,101,52,.25); }
.mha-tl__node.is-hot { width: 50px; height: 50px; font-size: 17px; }
.mha-tl__weeks { display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px; margin-top: 22px; }
.mha-tl__week { background: #fff; border: 1px solid #EAE3DC; border-top: 4px solid var(--tl-ink); border-radius: 10px; padding: 14px 12px; display: flex; flex-direction: column; gap: 6px; min-height: 190px; }
.mha-tl__week--brand { border-top-color: var(--tl-brand); }
.mha-tl__week--green { border-top-color: var(--tl-green); }
.mha-tl__week--brand.is-hot { background: #FFF8F0; border-color: var(--tl-brand); box-shadow: 0 10px 24px rgba(244,128,52,.18); }
.mha-tl__week--green.is-hot { background: #F2FBF5; border-color: var(--tl-green); box-shadow: 0 10px 24px rgba(22,101,52,.16); }
.mha-tl__wk { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--tl-ink); }
.mha-tl__week--brand .mha-tl__wk { color: var(--tl-brand-dk); }
.mha-tl__week--green .mha-tl__wk { color: var(--tl-green); }
.mha-tl__wt { font-size: 14.5px; font-weight: 800; line-height: 1.25; color: var(--mha-ink); }
.mha-tl__wx { font-size: 12.5px; line-height: 1.5; color: var(--mha-muted); }
.mha-tl__tag { margin-top: auto; align-self: flex-start; background: var(--tl-paper); color: var(--tl-ink); font-size: 10.5px; font-weight: 800; padding: 4px 9px; border-radius: 999px; }
.mha-tl__week--brand .mha-tl__tag { color: var(--tl-brand-dk); }
.mha-tl__week--brand.is-hot .mha-tl__tag { background: var(--tl-brand); color: var(--tl-ink); }
.mha-tl__week--green .mha-tl__tag { background: #DCFCE7; color: var(--tl-green); }
.mha-tl__week--green.is-hot .mha-tl__tag { background: var(--tl-green); color: #fff; }
.mha-tl__legend { display: flex; justify-content: center; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 24px; font-size: 13px; color: var(--mha-muted); }
.mha-tl__legend span { display: inline-flex; align-items: center; gap: 10px; }
.mha-tl__legend-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--tl-ink); box-shadow: 0 0 0 4px rgba(38,36,42,.2); display: inline-block; }
.mha-tl__legend small { color: #9A9490; font-size: 12px; }

.mha-continuity { display: flex; gap: 20px; align-items: flex-start; background: var(--tl-ink); color: rgba(255,255,255,.85); border-radius: 14px; padding: 26px 28px; }
.mha-continuity__icon { flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--tl-green); color: #fff; font-size: 26px; }
.mha-continuity__label { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--tl-brand); margin-bottom: 4px; }
.mha-continuity__title { color: #fff; font-size: 22px; font-weight: 800; margin: 0 0 8px; }

@media (max-width: 1199.98px) {
  .mha-tl__phases, .mha-tl__nodes { display: none; }
  .mha-tl__track { display: none; }
  .mha-tl__weeks { grid-template-columns: repeat(5, 1fr); margin-top: 0; }
  .mha-tl__week { min-height: 0; }
}
@media (max-width: 767.98px) {
  .mha-tl__weeks { grid-template-columns: repeat(2, 1fr); }
  .mha-step { padding: 22px 20px; }
  .mha-step__title { font-size: 21px; }
  .mha-continuity { flex-direction: column; gap: 14px; padding: 22px 20px; }
}

/* Friendlier palette for the program timeline: teal replaces the near-black
   phase colour, and the continuity band is light instead of dark. */
.mha-program { --tl-teal: #1AA6A0; --tl-teal-dk: #117a76; --tl-teal-50: #e3f5f4; }
.mha-step { border-top-color: var(--tl-teal); }
.mha-step__n { color: var(--tl-teal-dk); }
.mha-step--ink .mha-step__points i { color: var(--tl-teal); }
.mha-tl__phase { background: var(--tl-teal); color: #fff; }
.mha-tl__phase--brand { background: var(--tl-brand); color: #fff; }
.mha-tl__phase--green { background: var(--tl-green); }
.mha-tl__line { background: linear-gradient(90deg, var(--tl-teal) 0 16.6%, var(--tl-brand) 16.6% 61.1%, var(--tl-green) 61.1% 100%); }
.mha-tl__node { background: var(--tl-teal); color: #fff; }
.mha-tl__node--brand { color: #fff; }
.mha-tl__node.is-ring { box-shadow: 0 0 0 5px rgba(26,166,160,.25); }
.mha-tl__node--brand.is-ring { box-shadow: 0 0 0 5px rgba(244,128,52,.3); }
.mha-tl__node--green.is-ring { box-shadow: 0 0 0 5px rgba(22,101,52,.25); }
.mha-tl__week { border-top-color: var(--tl-teal); }
.mha-tl__wk { color: var(--tl-teal-dk); }
.mha-tl__tag { background: var(--tl-teal-50); color: var(--tl-teal-dk); }
.mha-tl__week--brand .mha-tl__tag { background: #fdebdc; color: var(--tl-brand-dk); }
.mha-tl__week--brand.is-hot .mha-tl__tag { background: var(--tl-brand); color: #fff; }
.mha-tl__bubble span { background: var(--tl-brand); color: #fff; }
.mha-tl__bubble::after { border-top-color: var(--tl-brand); }
.mha-tl__legend-dot { background: var(--tl-teal); box-shadow: 0 0 0 4px rgba(26,166,160,.25); }
.mha-continuity { background: #fff; color: var(--mha-muted); border: 1px solid var(--mha-line); border-left: 6px solid var(--tl-green); box-shadow: 0 14px 30px -22px rgba(60,40,20,.3); }
.mha-continuity__label { color: var(--tl-green); }
.mha-continuity__title { color: var(--mha-ink); }

/* ===== Is This You?: pain point -> what we do, in the Why HealthLogicMD table style ===== */
.mha-compare--pains .mha-compare__row > span { align-items: flex-start; padding: 18px 22px; }
.mha-compare--pains .mha-compare__std { font-weight: 400; }
.mha-compare--pains .mha-compare__std strong { display: block; font-weight: 800; color: var(--mha-ink); font-size: 16px; line-height: 1.3; margin-bottom: 4px; }
.mha-compare--pains .mha-compare__std em { display: block; font-style: normal; color: var(--mha-muted); font-size: 14px; line-height: 1.5; }
.mha-compare--pains .mha-compare__ours { font-weight: 500; font-size: 14.5px; line-height: 1.55; }
.mha-compare--pains .mha-compare__std i, .mha-compare--pains .mha-compare__ours i { margin-top: 4px; }
@media (max-width: 767.98px) {
  .mha-compare--pains .mha-compare__row { grid-template-columns: 1fr; }
  .mha-compare--pains .mha-compare__row--head { display: none; }
  .mha-compare--pains .mha-compare__row > span { padding: 16px 18px; }
}

/* Friendlier tags on the hero offer card: soft pastel pills with emoji */
.mha-howcard__list .mha-tag { border-radius: 999px; padding: 5px 12px; font-size: 12.5px; font-weight: 700; letter-spacing: 0; text-transform: none; border: 1px solid transparent; }
.mha-howcard__list li:nth-child(1) .mha-tag { background: #e8f1fb; color: #1d4e89; border-color: #cfe0f5; }
.mha-howcard__list li:nth-child(2) .mha-tag { background: #fff6d6; color: #7a5a00; border-color: #f5e5a3; }
.mha-howcard__list li:nth-child(3) .mha-tag { background: #e6f6ec; color: #1f6b3a; border-color: #c4e8d1; }
.mha-howcard__list li:nth-child(4) .mha-tag { background: #fde9ef; color: #9c2a52; border-color: #f7c9d8; }
.mha-howcard__list .mha-tag.mha-tip { cursor: help; }

/* Why HealthLogicMD: About Us blurb with the team photo (v2) */
.mha-about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(18px, 3vw, 32px); align-items: center; background: #fff; border: 1px solid var(--mha-line); padding: clamp(18px, 2.5vw, 28px); }
.mha-about img { width: 100%; height: auto; border-radius: 8px; object-fit: cover; aspect-ratio: 3 / 2; }
.mha-about__label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-primary); margin-bottom: 6px; }
.mha-about__title { font-size: clamp(19px, 2vw, 23px); font-weight: 700; color: var(--mha-ink); margin-bottom: 10px; line-height: 1.3; }
.mha-about p { color: var(--mha-muted); line-height: 1.65; font-size: 15px; }
@media (max-width: 767.98px) { .mha-about { grid-template-columns: 1fr; } }

/* ---------- on-page apply form (#qualify): uses the site's consult-form-* classes ---------- */
.mha-apply .consult-form-card .form-control:focus,
.mha-apply .consult-form-card .form-control.is-invalid:focus { box-shadow: 0 0 0 .2rem rgba(244, 128, 52, .25); }

/* ---------- mid-page CTA bands (#qualify) ---------- */
.mha-band { padding: 2rem 0; background: var(--mha-ink, #1f1f1f); color: #fff; }
.mha-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.mha-band__title { font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; margin: 0 0 4px; color: #fff; }
.mha-band__text { font-size: 16px; color: rgba(255, 255, 255, .78); max-width: 640px; }
.mha-band__btn { flex: none; }
@media (max-width: 575.98px) { .mha-band__inner { display: grid; } .mha-band__btn { width: 100%; } }
