/* CTA final. From the Cierre design. Plain forest (not forest-deep) —
   keeps the page's forest/forest-deep alternation going after FAQ. */

.cta-final {
  position: relative;
  background: var(--surface);
  color: var(--on-surface);
  padding-block: 76px 80px;
  scroll-margin-top: calc(var(--header-h) + var(--space-4));
}

/* Dynamic background, mirror half of the pair with the hero (hero.css):
   same tiled pattern-lime.svg (a tiling-only variant of symbol-lime.svg,
   gap between its two halves closed — see that file's comment), same 26s
   speed, drifting left instead of right — closes the page with the
   opposite motion it opened with. See hero.css for the full rationale
   (bookends only, not every section). */
.cta-final.theme-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url(../../assets/brand/pattern-lime.svg);
  background-repeat: repeat;
  background-size: 160px auto;
  opacity: 0.06;
  pointer-events: none;
  animation: cta-final-pattern-drift 26s linear infinite;
}
@keyframes cta-final-pattern-drift {
  to { background-position: -160px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .cta-final.theme-dark::before { animation: none; }
}

.cta-final__inner {
  position: relative; /* paints above the pattern pseudo above */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.cta-final__eyebrow-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cta-final__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-lime);
}
.cta-final__eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: currentColor;
}

.cta-final__title {
  font-size: 2.125rem;
  line-height: 1.1;
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
  color: var(--color-white);
}

.cta-final__lead {
  font-size: var(--text-body);
  line-height: 1.55;
  color: var(--on-surface-muted);
  max-width: 54ch;
}

.cta-final__actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}
.cta-final__actions .btn { width: 100%; }

@media (min-width: 900px) {
  .cta-final { padding-block: 136px 144px; }
  .cta-final__title { font-size: 4rem; line-height: 1.05; letter-spacing: -0.025em; max-width: 22ch; }
  .cta-final__lead { font-size: 1.25rem; }
  .cta-final__actions { width: auto; flex-direction: row; align-items: center; gap: 14px; }
  .cta-final__actions .btn { width: auto; }
}
