/* =========================================================
   HOMEPAGE CSS — restored to the theme (Phase 7 reversal)
   Enqueued from inc/assets.php on is_front_page() (+ QA copies) only,
   as bbwab-home, depending on bbwab-site.

   This previously lived in Elementor Page Settings -> Advanced ->
   Custom CSS for the homepage. Moved back into the theme so it is
   version-controlled with the rest of the codebase; the Custom CSS
   box on that page has been cleared to avoid loading it twice.
   ========================================================= */

/*
 * Homepage styles — bbwab-hello-child
 * Enqueued only on the front page / homepage QA copies (see inc/assets.php).
 *
 * SPECIFICITY CONTRACT
 * --------------------
 * Elementor's Kit emits generic widget rules such as
 *   .elementor-widget-heading .elementor-heading-title   (0,2,0)
 *   .elementor-widget-button  .elementor-button          (0,2,0)
 * which set global typography + global colour and outrank plain element
 * rules. Those rules also load *after* this file. So every rule here that
 * has to beat them is written as
 *   .bbwab-home  <custom-class>  <elementor-inner-element>   (0,3,0)
 * `.bbwab-home` is a body class added by bbwab_body_classes() in inc/setup.php.
 * That wins on specificity alone — no !important, no load-order dependency.
 *
 * Custom classes sit on the Elementor *widget wrapper*, never on the inner
 * element, so the inner element must always be named explicitly.
 *
 * Measured targets come from the approved index.html rendered at 1440px in the
 * same Chromium build (see Phase 4C measurement harness).
 */

/* ================================================================
   LAYOUT — content width system
   Reference: .wrap { max-width:1120px; margin:0 auto; padding:0 24px }
   ================================================================ */

/* Elementor gives every container a default 10px padding and a Kit max-width.
   Zero both once, then re-apply deliberately. `.bbwab-home .e-con` (0,2,0)
   outranks Elementor's own `.e-con` (0,1,0), so no !important is needed. */
.bbwab-home .e-con:not(footer):not(footer .e-con) {
  /* The Kit's `--widgets-spacing: 20px` feeds every container's flex gap, which
     adds 20px between every widget. The reference spaces elements with explicit
     margins instead, so the default gap is zeroed and re-declared per grid. */
  flex-wrap: nowrap;
}

/* Elementor ALSO applies `.elementor-widget:not(:last-child){margin-block-end:20px}`
   from frontend.min.css (independent of the container gap above). Zero it so the
   only vertical spacing between widgets is the explicit reference margins below. */
.bbwab-home .elementor-widget:not(:last-child) { margin-block-end: 0; }

/* Reference: .wrap { max-width:1120px; margin:0 auto; padding:0 24px }
   The 1120px INCLUDES the 24px gutters, so usable content is 1072px and the
   box starts at x=160 on a 1440 viewport. */
.bbwab-home .bbwab-wrap {
  width: 100%;
  max-width: var(--bbwab-max);
  margin-inline: auto;
  padding-inline: 24px;
  min-width: 0;
}

/* Defensive: flex/grid children may only shrink to 0, never force their track
   wider than the viewport. Combined with the min() caps on ch-based widths,
   this guarantees no horizontal overflow at any width, even during the brief
   window before web fonts settle (when `ch` is measured against a fallback). */
.bbwab-home .e-con > *,
.bbwab-home .bbwab-home-hero__content,
.bbwab-home .bbwab-home-hero__proof-col,
.bbwab-home .bbwab-home-diff__intro,
.bbwab-home .bbwab-home-diff__cards { min-width: 0; }
.bbwab-home [style*="max-width"] { max-width: min(64ch, 100%); }

/* Section vertical rhythm — reference: section { padding: 96px 0 } */
.bbwab-home .bbwab-section {
  padding-block: 96px;
  width: 100%;
}

/* The Elementor Kit sets `line-height: 1.65em` on the body. An `em` line-height
   is a LENGTH, so every descendant inherits a frozen 26.4px regardless of its
   own font-size — which silently breaks every small-text element on the page.
   Re-declare it unitless so children recompute from their own font-size. */
.bbwab-home { line-height: 1.65; }

/* Elementor re-freezes the em line-height on text-editor widgets, so multi-size
   text inside them (e.g. testimonial attributions with a 13px name over a 12px
   role) still inherits the 26.4px block. Reassert unitless on the widget so its
   descendants scale to their own font-size, matching the reference. */
.bbwab-home .elementor-widget-text-editor,
.bbwab-home .elementor-widget-heading { line-height: 1.65; }

/* Reference: .eyebrow { font-size:12px; line-height:1.65; margin-bottom:18px } */
.bbwab-home .bbwab-eyebrow {
  line-height: 1.65;
  margin-bottom: 18px;
}

/* Per-element margins, transcribed from the reference stylesheet.
   These use `margin-block-end`/`margin-block` — the SAME logical property as the
   widget-spacing reset above — so the cascade resolves purely by source order
   (these come later, so they win). Mixing physical `margin-bottom` with the
   reset's logical `margin-block-end` produced an unreliable result. */
.bbwab-home .bbwab-home-h1 .elementor-heading-title,
.bbwab-home .bbwab-home-h2 .elementor-heading-title,
.bbwab-home .bbwab-home-final-h2 .elementor-heading-title { margin: 0; }

/* `.bbwab-home-h2` is a WIDGET class, so it collides with the widget-spacing
   reset `.elementor-widget:not(:last-child)` (0,3,0 — the `:not()` counts its
   argument). Matching `.elementor-widget.bbwab-home-h2` reaches 0,3,0 too and
   wins by coming later in source order. The sub/microtrust/final-sub classes
   sit on inner <p> elements the reset never touches, so they stay at 0,2,0. */
.bbwab-home .elementor-widget.bbwab-home-h2 { margin-block-end: 20px; }  /* h2.display */
.bbwab-home .bbwab-home-sub { margin-block: 26px 34px; }               /* .hero .sub  */
.bbwab-home .bbwab-microtrust { margin-block-start: 14px; }            /* .microtrust */
.bbwab-home .bbwab-home-final-sub { margin: 22px auto 36px; }           /* .final .sub */

/* Buttons sit left in flow unless the section is explicitly centred.
   Elementor stretches widgets to the container width in column direction, so
   the inline-flex button would otherwise be centred by inherited text-align. */
/* With `e_optimized_markup` active, Elementor drops `.elementor-widget-container`
   and the button widget holds `a.elementor-button` directly. As a block, the
   widget wraps the inline-flex anchor in a line box that inherits the Kit's
   frozen `1.65em` line-height, adding ~17px of phantom space above and below.
   Making the widget itself a flex row collapses that line box; horizontal
   placement maps from Elementor's own `.elementor-align-*` classes. */
.bbwab-home .elementor-widget-button {
  display: flex;
  line-height: 0;
  /* The `bbwab-btn` hook class also matches site.css's standalone `.bbwab-btn`
     pill rule (built for <a> fallback buttons), which paints 17px vertical
     padding and a 44px min-height onto this WRAPPER div. The visible pill is the
     `.elementor-button` anchor inside, styled separately below, so strip the
     wrapper back to a zero-box positioning shell. */
  padding: 0;
  min-height: 0;
  background: none;
  box-shadow: none;
}
.bbwab-home .elementor-widget-button.elementor-align-left   { justify-content: flex-start; }
.bbwab-home .elementor-widget-button.elementor-align-center { justify-content: center; }
.bbwab-home .elementor-widget-button.elementor-align-right  { justify-content: flex-end; }
/* Justify = full-width button (coaching-track CTAs). */
.bbwab-home .elementor-widget-button.elementor-align-justify .elementor-button {
  width: 100%;
  justify-content: center;
}

/* ================================================================
   TYPOGRAPHY — exact reference values
   ================================================================ */

/* H1 — Bebas 92px max, lh .98, ls .02em, uppercase, white */
.bbwab-home .bbwab-home-h1 .elementor-heading-title {
  font-family: var(--bbwab-font-display);
  font-size: clamp(52px, 7.2vw, 92px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--bbwab-white);
}

/* H2 — Bebas 58px max */
.bbwab-home .bbwab-home-h2 .elementor-heading-title {
  font-family: var(--bbwab-font-display);
  font-size: clamp(38px, 4.6vw, 58px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--bbwab-white);
}

/* Final CTA H2 — Bebas 84px max */
.bbwab-home .bbwab-home-final-h2 .elementor-heading-title {
  font-family: var(--bbwab-font-display);
  font-size: clamp(46px, 6.4vw, 84px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--bbwab-white);
}

/* Orange emphasis span inside headings */
.bbwab-home .elementor-heading-title .bbwab-hl-orange { color: var(--bbwab-orange); }

/* Card / item headings — Montserrat 15.5/1.65 700 white */
.bbwab-home .bbwab-home-method-item .elementor-heading-title,
.bbwab-home .bbwab-home-step .elementor-heading-title {
  font-family: var(--bbwab-font-body);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: normal;
  text-transform: none;
  color: var(--bbwab-white);
  margin-bottom: 6px;
}

/* Coaching track name — Bebas 30, ls .04em, uppercase */
.bbwab-home .bbwab-home-track__name .elementor-heading-title {
  font-family: var(--bbwab-font-display);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bbwab-white);
}

/* Macro calculator heading — Bebas 48 max, synthetic bold as in reference */
.bbwab-home .bbwab-home-magnet .elementor-heading-title {
  font-family: var(--bbwab-font-display);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: normal;
  text-transform: uppercase;
  color: var(--bbwab-white);
  margin-bottom: 14px;
}

/* Macro calculator benefits sub-heading */
.bbwab-home .bbwab-home-magnet__side .elementor-heading-title {
  font-size: 11px;
  font-weight: 700;
  font-family: var(--bbwab-font-body);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 8px;
}

/* ================================================================
   BUTTONS — reference: Montserrat 15/700, ls .02em, white on orange,
   radius 999px, padding 17px 32px, shadow 0 8px 28px rgba(233,79,55,.28)
   ================================================================ */

.bbwab-home .bbwab-btn .elementor-button,
.bbwab-home .bbwab-button--primary .elementor-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--bbwab-orange);
  color: var(--bbwab-white);
  font-family: var(--bbwab-font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: 0.02em;
  text-transform: none;
  padding: 17px 32px;
  border-radius: 999px;
  border: 0;
  box-shadow: 0 8px 28px rgba(233, 79, 55, 0.28);
  transition: background-color var(--bbwab-transition-fast),
              transform var(--bbwab-transition-fast);
}

/* Reference buttons carry a trailing arrow (`<span class="arr">→</span>`) that
   nudges right on hover. Elementor's button text is plain text, so the glyph is
   added as a flex item via ::after — the 10px gap above spaces it identically. */
.bbwab-home .bbwab-btn .elementor-button::after,
.bbwab-home .bbwab-button--secondary .elementor-button::after {
  content: "\2192";
  display: inline-block;
  transition: transform var(--bbwab-transition-fast);
}
.bbwab-home .bbwab-btn .elementor-button:hover::after,
.bbwab-home .bbwab-button--secondary .elementor-button:hover::after {
  transform: translateX(3px);
}

.bbwab-home .bbwab-btn .elementor-button:hover,
.bbwab-home .bbwab-button--primary .elementor-button:hover {
  background-color: var(--bbwab-orange-deep);
  transform: translateY(-1px);
}

.bbwab-home .bbwab-btn .elementor-button:focus-visible,
.bbwab-home .bbwab-button--secondary .elementor-button:focus-visible {
  outline: 3px solid var(--bbwab-teal);
  outline-offset: 3px;
}

/* Ghost / secondary button — reference .btn-ghost */
.bbwab-home .bbwab-button--secondary .elementor-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: transparent;
  color: var(--bbwab-white);
  border: 1px solid var(--bbwab-color-border);
  box-shadow: none;
  font-family: var(--bbwab-font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: 0.02em;
  text-transform: none;
  padding: 17px 32px;
  border-radius: 999px;
  transition: background-color var(--bbwab-transition-fast),
              border-color var(--bbwab-transition-fast);
}
.bbwab-home .bbwab-button--secondary .elementor-button:hover {
  background-color: var(--bbwab-navy-3);
  border-color: var(--bbwab-steel);
}

/* Large CTA — reference .final .btn { font-size:16px; padding:20px 44px } */
.bbwab-home .bbwab-button--large .elementor-button {
  font-size: 16px;
  padding: 20px 44px;
}

/* Track cards: buttons stretch full width and pin to the card bottom */
.bbwab-home .bbwab-home-track .bbwab-btn,
.bbwab-home .bbwab-home-track .bbwab-button--secondary { margin-top: auto; }
.bbwab-home .bbwab-home-track .elementor-button {
  width: 100%;
  justify-content: center;
}

/* ================================================================
   HERO
   ================================================================ */

.bbwab-home .bbwab-home-hero {
  padding-block: 110px 84px;
}
.bbwab-home .bbwab-home-hero {
  position: relative;
  overflow: hidden;
}

/* Physiology grid overlay — the "lab bench" effect */
.bbwab-home .bbwab-home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--bbwab-color-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--bbwab-color-border) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.35;
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 30% 20%, #000 0%, transparent 70%);
          mask-image: radial-gradient(ellipse 75% 60% at 30% 20%, #000 0%, transparent 70%);
  pointer-events: none;
}
.bbwab-home .bbwab-home-hero > .e-con-inner,
.bbwab-home .bbwab-home-hero > .bbwab-wrap { position: relative; }

/* Reference: grid-template-columns 1.15fr .85fr, gap 64px, align center */
/* Grid, not flex — the reference uses `grid-template-columns: 1.15fr .85fr`,
   and fr units divide the space exactly. Flex-basis:0 + grow gave a slightly
   different split because the proof panel's min-content width interfered. */
.bbwab-home .bbwab-home-hero__row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}
.bbwab-home .bbwab-home-hero__content,
.bbwab-home .bbwab-home-hero__proof-col { min-width: 0; }

.bbwab-home .bbwab-home-sub p,
.bbwab-home .bbwab-home-sub {
  font-size: 18px;
  color: var(--bbwab-steel);
  line-height: 1.65;
  max-width: 56ch;
}
.bbwab-home .bbwab-home-sub strong { color: var(--bbwab-white); font-weight: 600; }

/* Proof panel */
.bbwab-home .bbwab-home-proof {
  background-color: var(--bbwab-navy-2);
  border: 1px solid var(--bbwab-color-border);
  border-radius: var(--bbwab-radius);
  padding: 26px;
  position: relative;
}
/* Elementor gives widget wrappers their own positioning context, which would
   make the absolutely-positioned tag offset from the panel's 26px padding box
   instead of the panel itself. Neutralise it so `left` is panel-relative. */
.bbwab-home .bbwab-home-proof > .elementor-widget-html { position: static; }

.bbwab-home .bbwab-home-proof__tag {
  position: absolute;
  top: -11px;
  left: 22px;
  background: var(--bbwab-teal);
  color: var(--bbwab-navy);
  font-family: var(--bbwab-font-body);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}
.bbwab-home .bbwab-home-proof__row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-block: 16px;
  border-bottom: 1px solid var(--bbwab-color-border);
}
.bbwab-home .bbwab-home-proof__row:last-child { border-bottom: 0; padding-bottom: 0; }
/* The photo column (an Elementor container, not a plain wrapper) had an
   explicit width:87px setting reserving far more space than its 56px
   photo actually needs, pushing the text column ~74px further right than
   intended and reading as a big gap between photo and text. Changing the
   width SETTING alone (87px -> 56px) had no visible effect: Elementor
   resolves container width through its own --width custom property,
   further combined with the legacy _column_size percentage setting via
   an internal min()/clamp chain — confirmed empirically that even an
   inline style override of --width itself only got partway there
   (47.125px, not 56px), so normal specificity/variable overrides can't
   reliably win here. !important on the real `width` property, targeting
   a purpose-added hook class, is used as a deliberate last resort after
   exhausting the specificity approach — it wins regardless of whatever
   Elementor's internal chain computes. */
.bbwab-home .bbwab-home-proof__ph-col {
  width: 56px !important;
  flex: none !important;
}
.bbwab-home .bbwab-home-proof__ph {
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: 10px;
  background: repeating-linear-gradient(
    45deg, var(--bbwab-navy-3), var(--bbwab-navy-3) 6px,
    var(--bbwab-navy-2) 6px, var(--bbwab-navy-2) 12px);
  border: 1px dashed var(--bbwab-color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--bbwab-steel);
  text-align: center;
  line-height: 1.3;
}
.bbwab-home .bbwab-home-proof__row h4 {
  font-family: var(--bbwab-font-body);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: none;
  color: var(--bbwab-white);
  margin-bottom: 3px;
}
.bbwab-home .bbwab-home-proof__row p {
  font-size: 13px;
  color: var(--bbwab-steel);
  line-height: 1.55;
  margin: 0;
}
.bbwab-home .bbwab-home-proof__data {
  color: var(--bbwab-teal);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ================================================================
   CREDENTIALS STRIP
   ================================================================ */

.bbwab-home .bbwab-home-creds { padding-block: 0; }
.bbwab-home .bbwab-home-creds {
  border-top: 1px solid var(--bbwab-color-border);
  border-bottom: 1px solid var(--bbwab-color-border);
}

.bbwab-home .bbwab-home-cred {
  padding: 30px 26px;
  border-left: 1px solid var(--bbwab-color-border);
}
.bbwab-home .bbwab-home-cred:first-child { border-left: 0; }
.bbwab-home .bbwab-home-cred__key {
  font-family: var(--bbwab-font-display);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.65;
  color: var(--bbwab-white);
}
.bbwab-home .bbwab-home-cred__key span { color: var(--bbwab-teal); }
.bbwab-home .bbwab-home-cred__val {
  font-size: 12.5px;
  color: var(--bbwab-steel);
  margin-top: 4px;
  line-height: 1.5;
}

/* ================================================================
   SHARED — eyebrow / lede
   ================================================================ */

.bbwab-home .bbwab-home-lede,
.bbwab-home .bbwab-home-lede p {
  font-size: 17px;
  color: var(--bbwab-steel);
  line-height: 1.65;
}
.bbwab-home .bbwab-home-lede strong { color: var(--bbwab-white); font-weight: 600; }

/* ================================================================
   WHY WITH A BRAIN
   ================================================================ */

/* The reference markup nests an .intro and .cards column inside a .row
   wrapper; the actual Elementor build is flatter — .bbwab-home-diff IS
   the row itself (native flex_direction:row), with the intro content and
   .bbwab-home-method as its two direct children — .bbwab-home-diff__row/
   __intro/__cards never existed as real elements. Targeting the real
   class directly; also missing content_width:"full" caused an e-con-inner
   wrapper that rendered both children at 100% width, overlapping — fixed
   at the settings level, see fix-home-diff-and-creds.php. */
.bbwab-home .bbwab-home-diff { gap: 64px; }
@media (max-width: 900px) {
  .bbwab-home .bbwab-home-diff {
    flex-direction: column;
    gap: 40px;
    padding-inline: 24px;
  }
}

.bbwab-home .bbwab-home-method { display: flex; flex-direction: column; gap: 14px; }
.bbwab-home .bbwab-home-method-item {
  background-color: var(--bbwab-navy-2);
  border: 1px solid var(--bbwab-color-border);
  border-radius: var(--bbwab-radius);
  padding: 22px 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
/* Each method-item's two Elementor column children (icon badge, text
   content) both rendered at ~127px — an even 50/50 split ignoring their
   own width/_column_size settings (15%/85%) entirely — squeezing the text
   into a narrow column that wrapped aggressively while leaving the rest
   of the card empty. Same root cause as the "Real Clients" proof-panel
   fix: Elementor's internal container-width chain doesn't yield to normal
   specificity here, so forced via !important on purpose-added hook
   classes as a deliberate last resort. */
.bbwab-home .bbwab-home-method-icon-col {
  width: 30px !important;
  flex: none !important;
}
.bbwab-home .bbwab-home-method-text-col {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: auto !important;
}
.bbwab-home .bbwab-home-method-no {
  font-family: var(--bbwab-font-display);
  font-size: 15px;
  color: var(--bbwab-navy);
  background: var(--bbwab-teal);
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  margin-top: 2px;
}
.bbwab-home .bbwab-home-method-item p {
  font-size: 14px;
  color: var(--bbwab-steel);
  line-height: 1.65;
  margin: 0;
}
/* CTA sits at the bottom of the cards column, left-aligned, matching the
   reference `.method .btn-ghost { align-self:flex-start; margin-top:6px }`.
   Lives directly inside .bbwab-home-method itself (no separate "cards"
   wrapper exists — see the note above), so retargeted there. */
.bbwab-home .bbwab-home-method .elementor-widget-button { margin-top: 6px; }
.bbwab-home .bbwab-home-method .elementor-widget-button.elementor-align-left { justify-content: flex-start; }

/* ================================================================
   COACHING TRACKS
   ================================================================ */

.bbwab-home .bbwab-home-tracks-head { max-width: 64ch; margin-bottom: 52px; }
@media (max-width: 880px) {
  .bbwab-home .bbwab-home-tracks-head {
    padding-inline: 24px;
  }
}


/* CSS TECHNICAL EXCEPTION: !important needed — Elementor emits its own
   border-style:none default once native background/radius are set on a
   Container, beating a plain class selector at equal specificity. */
.bbwab-home .bbwab-home-track {
  border: 1px solid var(--bbwab-color-border) !important;
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.bbwab-home .bbwab-home-track--featured {
  border-color: rgba(233, 79, 55, 0.55) !important;
  box-shadow: 0 0 0 1px rgba(233, 79, 55, 0.35), 0 24px 60px rgba(0, 0, 0, 0.35);
}
.bbwab-home .bbwab-home-track__flag {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--bbwab-orange);
  color: var(--bbwab-white);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
}
.bbwab-home .bbwab-home-track__for {
  font-size: 13.5px;
  color: var(--bbwab-steel);
  margin: 6px 0 22px;
  min-height: 2.6em;
  line-height: 1.55;
}
.bbwab-home .bbwab-home-track__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--bbwab-color-border);
  margin-bottom: 22px;
}
.bbwab-home .bbwab-home-track__price-n {
  font-family: var(--bbwab-font-display);
  font-size: 52px;
  font-weight: 400;
  line-height: 1;
  color: var(--bbwab-white);
}
.bbwab-home .bbwab-home-track__price-per { font-size: 13px; color: var(--bbwab-steel); }

/* Feature list — Elementor icon-list widget */
.bbwab-home .bbwab-home-track__list .elementor-icon-list-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 0 0 30px;
  list-style: none;
}
.bbwab-home .bbwab-home-track__list .elementor-icon-list-item,
.bbwab-home .bbwab-home-track__list .elementor-icon-list-text {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.55;   /* reference .track li — unitless so multi-line items don't drift */
  color: #d9dee3;
}
.bbwab-home .bbwab-home-track__list .elementor-icon-list-text {
  display: inline;
}
.bbwab-home .bbwab-home-track__list .elementor-icon-list-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  flex: none;
  /* Replicate the reference `.track li::before`: an 18px navy disc with a
     1.5px teal ring and a teal checkmark, rather than a solid fa disc. */
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--bbwab-navy-3);
  border: 1.5px solid var(--bbwab-teal);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300C7B7' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
}
/* Hide the Font-Awesome glyph itself; the ring+check come from the box above. */
.bbwab-home .bbwab-home-track__list .elementor-icon-list-icon svg,
.bbwab-home .bbwab-home-track__list .elementor-icon-list-icon i {
  display: none;
}
.bbwab-home .bbwab-home-track__list .elementor-icon-list-text { color: #d9dee3; }

.bbwab-home .bbwab-home-track__note {
  font-size: 12.5px;
  color: var(--bbwab-steel);
  text-align: center;
  margin-top: 12px;
  line-height: 1.55;
}

/* ================================================================
   APPLICATION PROCESS
   ================================================================ */

.bbwab-home .bbwab-home-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 52px;
  counter-reset: step;
}
@media (max-width: 720px) {
  /* "What Happens Next" heading (eyebrow + h2) had no css_classes hook at
     all (see fix-home-steps-head-magnet-section.php), so it rendered at
     Elementor's default 10px inset instead of the site's 24px, unlike the
     steps grid directly below it which already had matching padding. */
  .bbwab-home .bbwab-home-steps-head { padding-inline: 24px; }
}
.bbwab-home .bbwab-home-step {
  background-color: var(--bbwab-navy-2);
  border: 1px solid var(--bbwab-color-border);
  border-radius: var(--bbwab-radius);
  padding: 28px 24px;
  position: relative;
  counter-increment: step;
}
.bbwab-home .bbwab-home-step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--bbwab-font-display);
  font-size: 44px;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--bbwab-orange);
  display: block;
  /* Elementor reserves `.e-con::before` for background overlays and positions
     it absolutely; the counter must be returned to normal flow or the card
     collapses by the height of the number. */
  position: static;
  inset: auto;
  margin-bottom: 14px;
  line-height: 1;
}
.bbwab-home .bbwab-home-step p {
  font-size: 13.5px;
  color: var(--bbwab-steel);
  line-height: 1.65;
  margin: 0;
}
.bbwab-home .bbwab-home-step__time {
  display: inline-block;
  margin-top: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bbwab-teal);
}

/* ================================================================
   RESULTS / TESTIMONIALS
   ================================================================ */

.bbwab-home .bbwab-home-quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 52px;
}
@media (max-width: 920px) {
  /* "In Their Words" heading (eyebrow + h2) had no css_classes hook at
     all (see fix-home-quotes-head.php) so it rendered flush against the
     viewport edge, unlike the quotes grid below it which already had
     matching padding here. */
  .bbwab-home .bbwab-home-quotes-head,
  .bbwab-home .bbwab-home-quotes-grid { padding-inline: 24px; }
}
.bbwab-home .bbwab-home-quote {
  background-color: var(--bbwab-navy-3);
  border: 1px solid var(--bbwab-color-border);
  border-radius: var(--bbwab-radius);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.bbwab-home .bbwab-home-quote__mark {
  font-family: var(--bbwab-font-display);
  font-size: 52px;
  color: var(--bbwab-orange);
  line-height: 0.6;
  margin-top: 6px;
  display: block;
}
.bbwab-home .bbwab-home-quote__text {
  font-size: 14.5px;
  color: #d9dee3;
  font-style: italic;
  line-height: 1.65;
  flex: 1;
  margin: 0;
}
.bbwab-home .bbwab-home-quote__who { font-size: 13px; font-weight: 700; color: var(--bbwab-white); margin: 0; }
.bbwab-home .bbwab-home-quote__who span {
  display: block;
  color: var(--bbwab-steel);
  font-weight: 500;
  font-size: 12px;
  margin-top: 2px;
}
.bbwab-home .bbwab-muted { color: var(--bbwab-steel); }

/* In the reference (block flow) the results h2's 20px bottom margin COLLAPSES
   with the quotes grid's 52px top margin → 52px total. Elementor flex
   containers don't collapse margins, so here the h2 sits directly before the
   grid and its bottom margin is zeroed; the grid's 52px margin-top alone
   provides the reference gap. (Other sections keep the 20px because their h2 is
   followed by a lede that has no top margin, so nothing collapses.) */
.bbwab-home .bbwab-home-results-section .elementor-widget.bbwab-home-h2 { margin-block-end: 0; }

/* ================================================================
   MACRO CALCULATOR
   ================================================================ */

.bbwab-home .bbwab-home-magnet {
  background: linear-gradient(120deg, var(--bbwab-orange) 0%, var(--bbwab-orange-deep) 100%);
  border-radius: 20px;
  padding: 56px;
  display: flex;
  gap: 44px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.bbwab-home .bbwab-home-magnet::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 44px solid rgba(255, 255, 255, 0.09);
  pointer-events: none;
}
.bbwab-home .bbwab-home-magnet > .e-con-inner > *,
.bbwab-home .bbwab-home-magnet > * { position: relative; z-index: 1; }
.bbwab-home .bbwab-home-magnet__copy { flex: 1.2 1 0; min-width: 0; }
.bbwab-home .bbwab-home-magnet__side { flex: 0.8 1 0; min-width: 0; }

.bbwab-home .bbwab-home-magnet__pre {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: #ffd3ca;
}
.bbwab-home .bbwab-home-magnet__text {
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.92);
  max-width: 52ch;
  line-height: 1.65;
}
/* White CTA on the orange panel */
.bbwab-home .bbwab-home-magnet .bbwab-btn .elementor-button {
  background-color: var(--bbwab-white);
  color: var(--bbwab-navy);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  margin-top: 26px;
}
.bbwab-home .bbwab-home-magnet .bbwab-btn .elementor-button:hover { background-color: #f0f0f0; }

/* Benefits mini-panel */
.bbwab-home .bbwab-home-magnet__side {
  align-self: center;
}
.bbwab-home .bbwab-home-magnet__side {
  background: rgba(2, 1, 34, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: 20px 22px;
}
.bbwab-home .bbwab-home-magnet__side .elementor-icon-list-items {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bbwab-home .bbwab-home-magnet__side .elementor-icon-list-item {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.95);
  display: flex;
  gap: 8px;
  align-items: flex-start;
  min-width: 0;
}
.bbwab-home .bbwab-home-magnet__side .elementor-icon-list-text {
  flex: 1;
  min-width: 0;
}
.bbwab-home .bbwab-home-magnet__side .elementor-icon-list-icon svg,
.bbwab-home .bbwab-home-magnet__side .elementor-icon-list-icon i {
  fill: #ffd3ca;
  color: #ffd3ca;
  width: 14px;
  height: 14px;
  font-size: 14px;
}

/* ================================================================
   FAQ — Elementor Accordion styled to the reference <details> look
   ================================================================ */

.bbwab-home .bbwab-home-faq-head { text-align: center; max-width: 64ch; margin-inline: auto; }
.bbwab-home .bbwab-home-faq-head .bbwab-eyebrow { justify-content: center; }

.bbwab-home .bbwab-home-faq-body { max-width: 780px; margin-inline: auto; margin-top: 52px; }

.bbwab-home .bbwab-home-faq-accordion .elementor-accordion { border: 0; }
.bbwab-home .bbwab-home-faq-accordion .elementor-toggle-item,
.bbwab-home .bbwab-home-faq-accordion .elementor-accordion-item {
  border: 0;
  border-bottom: 1px solid var(--bbwab-color-border);
  background: transparent;
}
.bbwab-home .bbwab-home-faq-accordion .elementor-tab-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 4px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.bbwab-home .bbwab-home-faq-accordion .elementor-toggle-title,
.bbwab-home .bbwab-home-faq-accordion .elementor-accordion-title {
  font-family: var(--bbwab-font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.65;
  color: var(--bbwab-white);
  text-transform: none;
  letter-spacing: normal;
  text-decoration: none;
}
.bbwab-home .bbwab-home-faq-accordion .elementor-tab-content {
  padding: 0 4px 26px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--bbwab-steel);
  max-width: 64ch;
  border: 0;
  background: transparent;
}
.bbwab-home .bbwab-home-faq-accordion .elementor-tab-content strong {
  color: var(--bbwab-white);
  font-weight: 600;
}
/* Circular +/× toggle, matching the reference .ic affordance.
   Toggle and Accordion use different icon class names, so both are covered. */
.bbwab-home .bbwab-home-faq-accordion .elementor-toggle-icon,
.bbwab-home .bbwab-home-faq-accordion .elementor-accordion-icon {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--bbwab-steel);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bbwab-steel);
  transition: transform var(--bbwab-transition-normal),
              border-color var(--bbwab-transition-normal),
              color var(--bbwab-transition-normal);
  order: 2;
  float: none;         /* Elementor floats the toggle icon by default */
  margin: 0;
  width: 26px;
}
.bbwab-home .bbwab-home-faq-accordion .elementor-toggle-icon svg,
.bbwab-home .bbwab-home-faq-accordion .elementor-accordion-icon svg {
  width: 11px;
  height: 11px;
  min-width: 11px;
  fill: currentColor;
  margin: 0;
}
/* Elementor shows separate open/closed icon spans; we rotate one "+" instead. */
.bbwab-home .bbwab-home-faq-accordion .elementor-toggle-icon-opened { display: none; }
.bbwab-home .bbwab-home-faq-accordion .elementor-tab-title.elementor-active .elementor-toggle-icon-closed { display: inline-flex; }
.bbwab-home .bbwab-home-faq-accordion .elementor-tab-title.elementor-active .elementor-toggle-icon,
.bbwab-home .bbwab-home-faq-accordion .elementor-tab-title.elementor-active .elementor-accordion-icon {
  transform: rotate(45deg);
  border-color: var(--bbwab-orange);
  color: var(--bbwab-orange);
}
.bbwab-home .bbwab-home-faq-accordion .elementor-tab-title:focus-visible {
  outline: 3px solid var(--bbwab-teal);
  outline-offset: 2px;
}

/* ================================================================
   FINAL CTA
   ================================================================ */

.bbwab-home .bbwab-home-final { padding-block: 120px; }
.bbwab-home .bbwab-home-faq-section { padding-block: 40px 96px; }
.bbwab-home .bbwab-home-final {
  text-align: center;
  position: relative;
  overflow: hidden;
}
.bbwab-home .bbwab-home-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 55% at 50% 100%, rgba(233, 79, 55, 0.22), transparent 70%);
  pointer-events: none;
}
.bbwab-home .bbwab-home-final > .e-con-inner,
.bbwab-home .bbwab-home-final > .bbwab-wrap { position: relative; }

.bbwab-home .bbwab-home-cap {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 26px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bbwab-teal);
  border: 1px solid rgba(0, 199, 183, 0.4);
  border-radius: 999px;
  padding: 8px 18px;
}
.bbwab-home .bbwab-home-final-sub,
.bbwab-home .bbwab-home-final-sub p {
  max-width: 56ch;
  margin-inline: auto;
  color: var(--bbwab-steel);
  font-size: 17px;
  line-height: 1.65;
}

/* ================================================================
   RESPONSIVE — breakpoints mirror the reference stylesheet
   ================================================================ */

@media (max-width: 960px) {
  .bbwab-home .bbwab-home-hero__row { grid-template-columns: 1fr; gap: 48px; align-items: stretch; }
  .bbwab-home .bbwab-home-steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  .bbwab-home .bbwab-home-creds-grid { grid-template-columns: repeat(2, 1fr); }
  .bbwab-home .bbwab-home-cred:nth-child(3) { border-left: 0; }
  .bbwab-home .bbwab-home-cred:nth-child(n + 3) { border-top: 1px solid var(--bbwab-color-border); }
  .bbwab-home .bbwab-home-quotes-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .bbwab-home .bbwab-home-diff__row { flex-direction: column; gap: 40px; }
}

@media (max-width: 880px) {
  .bbwab-home .bbwab-home-tracks-grid { grid-template-columns: 1fr; }
  .bbwab-home .bbwab-home-magnet { flex-direction: column; padding: 40px 30px; align-items: stretch; }
  /* Phase 7 fix: the magnet container's `bbwab-home-magnet` hook class is not
     present on the live element (it now uses Elementor's own native
     background/padding/border-radius controls instead, set to a fixed
     `flex_direction: row` with no responsive override). That leaves the
     two-column layout un-stacked below this breakpoint, squeezing the icon
     list to ~5px and causing unwrapped text to bleed past the viewport
     (confirmed horizontal overflow at 360/375/430px). Targeting the stable
     Elementor element-id class restores the intended mobile stacking
     without touching the container's manually-configured native settings. */
  .bbwab-home .elementor-element-c832b36 { flex-direction: column; align-items: stretch; }
  /* The magnet card's OUTER section wrapper (elementor-element-ffda93c) had
     no css_classes and no outside padding, so the orange card itself sat
     flush against both viewport edges (rect left:0/right:390 at 390px
     wide) despite already having its own internal 56px padding from
     Elementor's native settings. Hook added via
     fix-home-steps-head-magnet-section.php; padding here pushes the card
     in from the edges without touching that internal padding. */
  .bbwab-home .bbwab-home-magnet-section { padding-inline: 24px; }
}

@media (max-width: 720px) {
  .bbwab-home .bbwab-section { padding-block: 64px; }
  .bbwab-home .bbwab-home-hero { padding-block: 72px 56px; }
  .bbwab-home .bbwab-home-final { padding-block: 80px; }
  .bbwab-home .bbwab-home-faq-section { padding-block: 40px 64px; }
  .bbwab-home .bbwab-home-creds { padding-block: 0; }
  /* Full-width CTA on small screens (hero only — the Final CTA button
     below was also stretched to 100% here, reading as oversized against
     its own centered text/heading; sized to its content instead). */
  .bbwab-home .bbwab-home-hero__content .elementor-button { width: 100%; justify-content: center; }
  .bbwab-home .bbwab-home-final .elementor-button { width: auto; justify-content: center; }
  /* Everything from "What Happens Next" through the FAQ and Final CTA was
     rendering flush against the viewport edges (confirmed: 0px computed
     padding on .bbwab-home-final; .bbwab-home-steps-grid/.bbwab-home-faq-*
     only had ~10px, well under the site's usual 24px). Bringing all of it
     up to the standard 24px so nothing between here and the footer touches
     the edges. */
  .bbwab-home .bbwab-home-steps-grid,
  .bbwab-home .bbwab-home-faq-head,
  .bbwab-home .bbwab-home-faq-body,
  .bbwab-home .bbwab-home-final {
    padding-inline: 24px;
  }
}

@media (max-width: 560px) {
  .bbwab-home .bbwab-home-steps-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .bbwab-home .bbwab-home-final::before { background: none; }
  .bbwab-home .bbwab-btn .elementor-button,
.bbwab-home .bbwab-button--secondary .elementor-button { transition: none; }
}

/* ================================================================
   FAQ ACCORDION — hook-class fix (added under Custom CSS, not home.css)
   The accordion widget's own `css_classes` setting is "bbwab-home-faq-
   accordion" (confirmed in its stored Elementor settings), but that
   class is not rendering on the live element — same missing-hook-class
   pattern found earlier on the magnet section. Rather than edit
   Elementor's widget data, these rules duplicate the FAQ accordion
   styling above using the widget's own stable element-ID class
   (elementor-element-3e262bc), which is always present regardless of
   the css_classes rendering issue. This restores the box model (26px
   circular icon, dividers, 780px max-width, title/content font sizes
   and padding) that was silently not applying because none of the
   .bbwab-home-faq-accordion-scoped rules were matching anything. Icon
   colors (orange closed / teal open, rotated to look like an "x") are
   kept matching what was already rendering — that part happened to
   look correct by coincidence via Elementor's raw Kit global colors,
   so it's preserved intentionally rather than reverted.
   ================================================================ */
.bbwab-home .elementor-element-3e262bc.elementor-accordion { border: 0; }
.bbwab-home .elementor-element-3e262bc .elementor-toggle-item,
.bbwab-home .elementor-element-3e262bc .elementor-accordion-item {
  border: 0;
  border-bottom: 1px solid var(--bbwab-color-border);
  background: transparent;
}
.bbwab-home .elementor-element-3e262bc .elementor-tab-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 4px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.bbwab-home .elementor-element-3e262bc .elementor-toggle-title,
.bbwab-home .elementor-element-3e262bc .elementor-accordion-title {
  font-family: var(--bbwab-font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.65;
  color: var(--bbwab-white);
  text-transform: none;
  letter-spacing: normal;
  text-decoration: none;
}
.bbwab-home .elementor-element-3e262bc .elementor-tab-content {
  padding: 0 4px 26px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--bbwab-steel);
  max-width: 64ch;
  border: 0;
  background: transparent;
}
.bbwab-home .elementor-element-3e262bc .elementor-tab-content strong {
  color: var(--bbwab-white);
  font-weight: 600;
}
.bbwab-home .elementor-element-3e262bc .elementor-toggle-icon,
.bbwab-home .elementor-element-3e262bc .elementor-accordion-icon {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--bbwab-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bbwab-orange);
  transition: transform var(--bbwab-transition-normal),
              border-color var(--bbwab-transition-normal),
              color var(--bbwab-transition-normal);
  order: 2;
  float: none;
  margin: 0;
}
.bbwab-home .elementor-element-3e262bc .elementor-toggle-icon svg,
.bbwab-home .elementor-element-3e262bc .elementor-accordion-icon svg {
  width: 11px;
  height: 11px;
  min-width: 11px;
  fill: currentColor;
  margin: 0;
}
.bbwab-home .elementor-element-3e262bc .elementor-toggle-icon-opened { display: none; }
.bbwab-home .elementor-element-3e262bc .elementor-tab-title.elementor-active .elementor-toggle-icon-closed { display: inline-flex; }
.bbwab-home .elementor-element-3e262bc .elementor-tab-title.elementor-active .elementor-toggle-icon,
.bbwab-home .elementor-element-3e262bc .elementor-tab-title.elementor-active .elementor-accordion-icon {
  width: 26px;
  height: 26px;
  transform: rotate(45deg);
  border-color: var(--bbwab-teal);
  color: var(--bbwab-teal);
}
.bbwab-home .elementor-element-3e262bc .elementor-tab-title:focus-visible {
  outline: 3px solid var(--bbwab-teal);
  outline-offset: 2px;
}
