/* ============================================================
   c-cta — the site's ONE closing CTA (CtaSection.astro), unified
   2026-07-25 (Sofia): every page ends on the same aurora card with
   the same type and the same full-bleed → card scroll entrance
   (the shared c-ctafx contract drives the entrance; no-JS and reduced
   motion render the static rounded card).
   ============================================================ */

.c-cta {
  position: relative;
  background: var(--color-background);
  color: var(--color-foreground);
}
.c-cta__inner {
  margin-inline: auto;
  max-width: var(--container-large);
  padding: var(--space-section-sm) var(--space-inline);
}
@media (min-width: 768px) { .c-cta__inner { padding-block: var(--space-section-md); } }
@media (min-width: 1024px) { .c-cta__inner { padding-inline: var(--space-inline-md); } }

/* the aurora card — the gradient + entrance clip come from the shared
   c-ctafx contract (components/cta-fx.css); this file owns layout + type */
.c-cta__card {
  z-index: 1;
  border-radius: 24px;
  padding: var(--space-section-sm) var(--space-inline-md);
  text-align: center;
  color: var(--color-white);
}
@media (min-width: 768px) { .c-cta__card { padding: 96px 48px; } }

.c-cta__label {
  font-size: var(--fs-xs);
  letter-spacing: var(--track-wide);
  color: rgba(255, 255, 255, 0.55);
}
.c-cta__title {
  margin: 16px auto 0;
  max-width: 768px;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: var(--track-tighter);
  font-size: 32px;
  line-height: 1.05;
  text-wrap: balance;
  color: var(--color-white);
}
@media (min-width: 640px) { .c-cta__title { font-size: 40px; } }
@media (min-width: 768px) { .c-cta__title { font-size: 48px; } }
.c-cta__sub {
  margin: 14px auto 0;
  max-width: 52ch;
  font-size: var(--fs-body);
  line-height: var(--leading-body);
  color: rgba(255, 255, 255, 0.7);
}
.c-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}
.c-cta__btn-white {
  height: 44px;
  padding-inline: 24px;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  color: var(--color-black);
}
.c-cta__btn-white:hover { background: rgba(255, 255, 255, 0.9); }
.c-cta__btn-ghost {
  height: 44px;
  padding-inline: 24px;
  border-radius: var(--radius-lg);
  border-color: rgba(255, 255, 255, 0.25);
}
