/* ============================================================
   SECCIÓN CTA INTERMEDIO
   Depende de las variables CSS definidas en home.css (:root)
   ============================================================ */

.cta-banner {
  margin: 0 6vw 80px;
  padding: 64px 72px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 70% 50%, rgba(120, 60, 255, .22), transparent 55%),
    radial-gradient(circle at 30% 50%, rgba(42, 100, 255, .14), transparent 50%),
    rgba(255, 255, 255, .032);
  border: 1px solid rgba(255, 255, 255, .10);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
  position: relative;
  overflow: hidden;
}

/* Línea de brillo superior */
.cta-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(140, 100, 255, .6), transparent);
}

/* Partículas decorativas — pequeños puntos de luz en el fondo */
.cta-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.18) 1px, transparent 1px),
    radial-gradient(circle, rgba(140,100,255,.14) 1px, transparent 1px);
  background-size: 38px 38px, 62px 62px;
  background-position: 0 0, 19px 19px;
  mask-image: radial-gradient(ellipse at 80% 50%, black 20%, transparent 70%);
  pointer-events: none;
}

/* Contenido izquierdo */
.cta-content {
  position: relative;
  z-index: 1;
}

.cta-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 18px;
}

.cta-title {
  margin: 0 0 16px;
  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: var(--text);
}

.cta-title span {
  background: linear-gradient(90deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  color: transparent;
}

.cta-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 480px;
}

/* Lado derecho — botón */
.cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.08) inset,
    0 20px 50px rgba(100, 60, 255, .38);
  transition: transform .25s ease, box-shadow .25s ease;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.12) inset,
    0 28px 60px rgba(100, 60, 255, .52);
}

.cta-btn i {
  font-size: 15px;
}

.cta-note {
  font-size: 12px;
  color: rgba(255,255,255,.38);
  letter-spacing: .02em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .cta-banner {
    grid-template-columns: 1fr;
    padding: 48px 40px;
    gap: 32px;
    text-align: center;
    margin: 0 4vw 60px;
  }

  .cta-desc {
    max-width: 100%;
  }

  .cta-actions {
    align-items: center;
  }
}

@media (max-width: 620px) {
  .cta-banner {
    padding: 40px 28px;
    margin: 0 24px 50px;
    border-radius: 20px;
  }

  .cta-btn {
    width: 100%;
    justify-content: center;
  }
}
