/* =========================================================================
   final-cta.css — Unified high-converting closing CTA  (prefix: .fcta)
   -------------------------------------------------------------------------
   One shared, self-contained closing CTA used SITE-WIDE — on every live page
   except the strategy-session page (contact.html). It is the single primary
   "Book a free consultation" action the whole site closes on.

   Self-contained by design:
     • Depends ONLY on tokens.css (loaded site-wide) for --color-* / fonts
       and the shared .vh-mark heading highlighter.
     • Bakes its own decorative geometry into .fcta__geo, so it needs NO
       home-geo.css and renders identically on pages that don't load it
       (e.g. marketing.html).
     • No JS — pure CSS hover/press, so it behaves the same regardless of
       each page's reveal system.

   Palette: electric-lime-yellow band, navy ink (AAA), dark navy action card.
   To remove: delete this file, its <link> on each page, and each .fcta block.
   ========================================================================= */

.fcta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--color-band);                    /* deep-goldenrod solid fallback */
  /* Premium layered band: top sheen + lower-edge deepen over the metallic gold,
     so the closer reads dimensional and lit, not a flat fill. */
  background:
    radial-gradient(135% 90% at 50% -16%, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0) 56%),
    radial-gradient(120% 80% at 50% 120%, rgba(120, 86, 8, 0.30), rgba(120, 86, 8, 0) 60%),
    var(--gold-band);                               /* rich-gold metallic band (deepened from #E8B400) */
  padding: clamp(80px, 9vw, 116px) 0 clamp(96px, 11vw, 132px);
}

.fcta__inner {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* -------------------------------------------------------------------------
   Head — eyebrow / headline / sub
   ------------------------------------------------------------------------- */
.fcta__head {
  max-width: 760px;
  margin: 0 auto clamp(40px, 5vw, 60px);
  text-align: center;
}

.fcta__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 0 22px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-primary);                     /* navy on yellow */
}
.fcta__eyebrow::before,
.fcta__eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--color-primary);
  opacity: 0.55;
}

.fcta__heading {
  margin: 0 0 20px;
  /* Pinned to Inter Display (not var(--font-display)) so the closing CTA is
     pixel-consistent across every page — incl. ones whose #main re-routes the
     --font-display variable to Anybody (custom-websites). Matches services.html. */
  font-family: "Inter Display", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 800;
  font-size: clamp(31px, 4.4vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.026em;
  color: var(--color-primary);                     /* navy — AAA on yellow */
  text-wrap: balance;
}
.fcta__heading em {
  font-style: normal;
  /* subtle ink lift so the emphasis word still reads as accent on yellow */
  color: var(--color-primary-dark, #040D2E);
  position: relative;
  white-space: nowrap;
}
.fcta__heading em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.04em;
  height: 0.10em;
  border-radius: 2px;
  background: rgba(10, 26, 63, 0.28);              /* navy underline accent */
}

/* Inverted navy marker — the highlighted phrase ("In 12 weeks.") sits in a
   deep-navy box on the gold band, with the figure called out in gold for the
   two-tone look. Wraps per-line via box-decoration-break. */
.fcta__mark {
  display: inline;
  background: var(--color-primary);                /* deep navy box */
  color: #f6f3e8;                                  /* warm off-white — AAA on navy */
  font-weight: 900;
  padding: 0.04em 0.22em;
  margin: 0 0.04em;
  border-radius: 6px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  box-shadow: 0 8px 22px -10px rgba(4, 13, 46, 0.55);
}
.fcta__mark-num {
  color: var(--color-accent);                      /* gold figure — AAA on navy */
}

.fcta__sub {
  max-width: 620px;
  margin: 0 auto;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.6;
  color: rgba(10, 26, 63, 0.82);                   /* navy 82% — AA+ on yellow */
  text-wrap: pretty;
}

/* -------------------------------------------------------------------------
   Banner — the dark navy action card (primary CTA)
   ------------------------------------------------------------------------- */
.fcta__banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(38px, 5vw, 68px);
  background: #122348;                              /* deep navy card */
  border: 1px solid rgba(232, 180, 0, 0.30);
  border-radius: 20px;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 28px 60px -28px rgba(4, 13, 46, 0.55),
    0 2px 0 0 rgba(255, 255, 255, 0.04) inset;
  transition:
    transform 260ms var(--ease-out-soft, cubic-bezier(0.16, 1, 0.3, 1)),
    border-color 260ms var(--ease-out-soft, cubic-bezier(0.16, 1, 0.3, 1)),
    box-shadow 260ms var(--ease-out-soft, cubic-bezier(0.16, 1, 0.3, 1));
}
/* lime focus glow wash */
.fcta__banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(720px 400px at 12% 30%, rgba(232, 180, 0, 0.12), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.fcta__banner:hover {
  transform: translateY(-3px);
  border-color: rgba(232, 180, 0, 0.42);
  box-shadow:
    0 38px 76px -30px rgba(4, 13, 46, 0.62),
    0 2px 0 0 rgba(255, 255, 255, 0.06) inset;
}

.fcta__title {
  position: relative;
  z-index: 1;
  margin: 0;
  /* Inter Display pinned (see .fcta__heading) — keeps the banner title one line
     and identical on every page regardless of the page's display-font re-route. */
  font-family: "Inter Display", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 4.2vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.026em;
  color: #fff;
}
/* gold italic emphasis inside the action-card title ("a free"), matching the
   reference banners — keeps the card text-only (no box) so it reads as one line */
.fcta__title em {
  font-style: italic;
  color: var(--color-accent);
}

.fcta__arrow {
  position: relative;
  z-index: 1;
  flex: none;
  overflow: hidden;                                /* clips the shimmer sweep */
  width: clamp(72px, 8vw, 104px);
  height: clamp(72px, 8vw, 104px);
  display: grid;
  place-items: center;
  /* bright-gold square (accent stays luminous so it pops on the deep band),
     now with a soft top sheen so the action reads dimensional at rest */
  background: linear-gradient(180deg, var(--color-accent-hi, #F4C01C), var(--color-accent));
  border-radius: 16px;
  color: var(--color-primary);                     /* navy glyph */
  box-shadow:
    0 12px 28px -10px rgba(190, 142, 18, 0.55),
    0 1px 0 0 rgba(255, 255, 255, 0.28) inset;
  transition:
    transform 240ms var(--ease-out-soft, cubic-bezier(0.16, 1, 0.3, 1)),
    box-shadow 240ms var(--ease-out-soft, cubic-bezier(0.16, 1, 0.3, 1)),
    background 240ms var(--ease-out-soft, cubic-bezier(0.16, 1, 0.3, 1));
}
.fcta__arrow svg {
  position: relative;
  z-index: 1;
  width: 44%;
  height: 44%;
}
/* diagonal light sweep across the gold square on hover */
.fcta__arrow::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    115deg,
    transparent 32%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 68%
  );
  transform: translateX(-130%);
  pointer-events: none;
}
.fcta__banner:hover .fcta__arrow::after {
  animation: fcta-shimmer 900ms var(--ease-out-soft, cubic-bezier(0.16, 1, 0.3, 1)) 1;
}
@keyframes fcta-shimmer {
  to {
    transform: translateX(130%);
  }
}
.fcta__banner:hover .fcta__arrow {
  background: linear-gradient(180deg, var(--color-accent), var(--color-accent-dark, #CC9E00));
  transform: translateX(6px);
  box-shadow:
    0 16px 34px -10px rgba(190, 142, 18, 0.6),
    0 1px 0 0 rgba(255, 255, 255, 0.22) inset;
}
.fcta__banner:active .fcta__arrow {
  transform: translateX(3px) scale(0.97);
}

/* visible keyboard focus ring (a11y) */
.fcta__banner:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 4px;
}

/* -------------------------------------------------------------------------
   Trust row — risk-reversal micro-points beneath the banner
   ------------------------------------------------------------------------- */
.fcta__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px clamp(20px, 4vw, 44px);
  max-width: 920px;
  margin: clamp(26px, 3vw, 34px) auto 0;
  padding: 0;
  list-style: none;
}
.fcta__trust li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-size: clamp(13px, 1.15vw, 15px);
  font-weight: 600;
  line-height: 1.3;
  color: rgba(10, 26, 63, 0.86);                   /* navy on yellow */
}
.fcta__trust svg {
  flex: none;
  width: 18px;
  height: 18px;
  stroke: var(--color-primary);
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  /* sits in a small navy disc so the check reads cleanly on yellow */
  background: rgba(10, 26, 63, 0.10);
  border-radius: 50%;
  padding: 3px;
  box-sizing: content-box;
}

/* -------------------------------------------------------------------------
   Decorative geometry — baked in (navy-toned to read on the yellow band).
   Mirrors the .vh-geo--cta cluster, lower-left, leading the eye to the card.
   ------------------------------------------------------------------------- */
.fcta__geo {
  position: absolute;
  z-index: 0;
  left: -90px;
  bottom: -70px;
  width: 600px;
  height: 480px;
  pointer-events: none;
}
.fcta__geo span { position: absolute; }

.fcta__band {
  border-radius: 6px;
  transform: rotate(-26deg);
  transform-origin: center;
}
.fcta__band--1 { left: -30px; bottom: 200px; width: 540px; height: 58px; background: rgba(10, 26, 63, 0.10); }
.fcta__band--2 { left: 20px;  bottom: 120px; width: 460px; height: 40px; background: rgba(10, 26, 63, 0.16); }
.fcta__band--3 { left: -10px; bottom: 54px;  width: 380px; height: 28px; background: rgba(255, 255, 255, 0.22); }

.fcta__chev {
  left: 70px; bottom: 150px;
  width: 40px; height: 40px;
  border: 3px solid rgba(10, 26, 63, 0.34);
  border-left-color: transparent;
  border-top-color: transparent;
  border-radius: 3px;
  transform: rotate(45deg);
  transform-origin: center;
}
.fcta__plus {
  left: 250px; bottom: 250px;
  width: 18px; height: 18px;
  background:
    linear-gradient(rgba(10, 26, 63, 0.4), rgba(10, 26, 63, 0.4)) center / 100% 2px no-repeat,
    linear-gradient(rgba(10, 26, 63, 0.4), rgba(10, 26, 63, 0.4)) center / 2px 100% no-repeat;
}
.fcta__target {
  left: 470px; bottom: 96px;
  width: 30px; height: 30px;
  border: 2px solid rgba(10, 26, 63, 0.30);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 26, 63, 0.55) 0 3px, transparent 3.8px) center / 100% 100% no-repeat;
}
/* a second reticle on the right gutter, echoing the homepage CTA framing */
.fcta__target--r {
  left: auto; right: -40px; bottom: auto; top: 60px;
  width: 38px; height: 38px;
  opacity: 0.7;
}

/* -------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------- */
@media (max-width: 720px) {
  .fcta__geo { left: -120px; width: 460px; height: 380px; }
  .fcta__target--r { display: none; }
}
@media (max-width: 560px) {
  .fcta { padding: clamp(60px, 14vw, 80px) 0 clamp(72px, 16vw, 92px); }
  .fcta__banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
    border-radius: 16px;
  }
  .fcta__arrow {
    width: 64px;
    height: 64px;
  }
  .fcta__trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
  }
}

/* -------------------------------------------------------------------------
   Scroll-in entrance — pure-CSS, progressive enhancement only.
   Staggered rise as the closer scrolls into view. No JS, so the block stays
   byte-identical across every page; unsupported browsers just show it static.
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .fcta__head,
    .fcta__banner,
    .fcta__trust {
      animation: fcta-rise linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 24%;
    }
    .fcta__banner {
      animation-range: entry 6% cover 30%;
    }
    .fcta__trust {
      animation-range: entry 12% cover 34%;
    }
  }
}
@keyframes fcta-rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* -------------------------------------------------------------------------
   Reduced motion — kill all transitions/transforms/entrance
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .fcta__banner,
  .fcta__arrow {
    transition: none;
  }
  .fcta__banner:hover {
    transform: none;
  }
  .fcta__banner:hover .fcta__arrow {
    transform: none;
  }
  .fcta__banner:hover .fcta__arrow::after {
    animation: none;
  }
  .fcta__head,
  .fcta__trust {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
