/* ==========================================================================
   Sezione 8 — CTA finale "Inizia un progetto con Movesion" (Figma 1070:4731)
   Banner gradiente verde su foto network con sfumatura bianca dall'alto;
   copy a sinistra, card early-bird con bottone e validità a destra.
   ========================================================================== */

.cta {
  position: relative;
  background:
    linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0) 38.45%),
    url("../../img/cta/cta-bg.webp") center / cover no-repeat;
}

.cta__inner { padding-block: var(--space-section); }

.cta__banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: var(--space-card);
  border-radius: 36px;
  background: linear-gradient(173.12deg, #5ee38d 0%, #00a86b 100%);
  color: #fff;
}

.cta__copy {
  flex: 1 1 0;
  min-width: 0;
  max-width: 611px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cta__title {
  font-size: var(--fs-h2); /* 48px */
  font-weight: var(--fw-light);
  line-height: var(--lh-h2);
  color: #fff;
}
.cta__title strong { font-weight: var(--fw-bold); }
.cta__subtitle {
  font-size: var(--fs-p22);
  line-height: 1.2;
  color: #fff;
}

/* ---- Early bird (destra) ---- */
.cta__right {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: 100%;
}
.cta__earlybird {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 600px;
  max-width: 100%;
  padding: 40px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.2);
  text-align: center;
}
.cta__eb-head { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cta__eb-head svg { width: 40px; height: 40px; }
.cta__eb-caption { font-size: var(--fs-p22); font-weight: var(--fw-bold); line-height: 1.55; }
.cta__eb-caption strong { display: block; font-size: var(--fs-p28); }
.cta__validity { font-size: var(--fs-p20); line-height: 1.2; text-align: center; }
.cta__validity strong { font-size: var(--fs-p22); font-weight: var(--fw-bold); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .cta__banner { flex-direction: column; align-items: stretch; }
  .cta__copy { max-width: none; }
  .cta__right { width: 100%; }
  .cta__earlybird { width: 100%; }
}

@media (max-width: 720px) {
  .cta__banner { padding: 24px; gap: 32px; }
  .cta__subtitle { line-height: 1.4; }
  .cta__earlybird { padding: 32px 20px; }
  .cta__eb-caption { line-height: 1.4; }
}
