/* ══════════════════════════════════════
   SECCIÓN DUAL CTA
   ══════════════════════════════════════ */

.dual-cta-section {
  position: relative;
  padding: clamp(80px, 10vw, 120px) 0;
  background:
    linear-gradient(105deg,
      rgba(39,23,220,0.0) 0%,
      rgba(39,23,220,0.18) 30%,
      rgba(108,92,231,0.22) 55%,
      rgba(144,131,241,0.15) 75%,
      rgba(39,23,220,0.0) 100%
    ),
    #080718;
}

/* Fundido arriba — se mezcla con la sección anterior */
.dual-cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 140px;
  background: linear-gradient(180deg, #080718 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

/* Fundido abajo — se mezcla con la sección siguiente */
.dual-cta-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 140px;
  background: linear-gradient(0deg, #080718 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.dual-cta-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.dual-cta-card {
  position: relative;
  background: rgba(13,10,46,0.75);
  border: 1px solid rgba(144,131,241,0.22);
  border-top: 1.5px solid rgba(144,131,241,0.40);
  border-radius: 24px;
  padding: clamp(28px, 4vw, 48px);
  overflow: hidden;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 8px 40px rgba(0,0,0,0.30);
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.dual-cta-card:hover {
  transform: translateY(-8px);
  border-color: rgba(144,131,241,0.50);
  box-shadow:
    0 0 0 1px rgba(144,131,241,0.25),
    0 0 32px rgba(144,131,241,0.15),
    0 20px 60px rgba(0,0,0,0.45);
}

/* ── Glass pill CTA (regalo) ── */
.pill-scene {
  perspective: 800px;
  align-self: flex-start;
}

.pill-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  font-family: var(--font-body, system-ui);
  color: #ffffff;
  background: linear-gradient(135deg, rgba(144,131,241,0.28), rgba(39,23,220,0.55));
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    inset 0 -1px 0 rgba(0,0,0,0.25),
    0 8px 28px rgba(39,23,220,0.35);
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.15s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
  isolation: isolate;
}

.pill-cta__ripple {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0) 65%);
  transform: scale(0);
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
  animation: pill-ripple 0.6s cubic-bezier(0.22,1,0.36,1) forwards;
}

@keyframes pill-ripple {
  to {
    transform: scale(1);
    opacity: 0;
  }
}

.pill-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0) 55%);
  pointer-events: none;
}

.pill-cta:hover {
  border-color: rgba(255,255,255,0.40);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.45),
    inset 0 -1px 0 rgba(0,0,0,0.25),
    0 12px 36px rgba(39,23,220,0.50);
}

.pill-cta__text {
  position: relative;
  z-index: 1;
  letter-spacing: 0.01em;
}

.dual-cta-card__bg-orb {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  top: -80px;
  right: -80px;
}

.dual-cta-card--diagnostic .dual-cta-card__bg-orb {
  background: radial-gradient(circle, rgba(39,23,220,0.20) 0%, transparent 70%);
}

#regalo {
  scroll-margin-top: 200px;
}

.dual-cta-card--gift .dual-cta-card__bg-orb {
  background: radial-gradient(circle, rgba(144,131,241,0.18) 0%, transparent 70%);
}

.dual-cta-card__emoji {
  position: absolute;
  top: 50%;
  right: clamp(16px, 3vw, 36px);
  transform: translateY(-50%) rotate(-8deg);
  font-size: clamp(70px, 10vw, 130px);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
  filter: drop-shadow(0 12px 32px rgba(144,131,241,0.35));
  opacity: 0.95;
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
}

.dual-cta-card--gift:hover .dual-cta-card__emoji {
  transform: translateY(-50%) rotate(4deg) scale(1.06);
}

@media (max-width: 560px) {
  .dual-cta-card__emoji {
    font-size: 72px;
    top: 20px;
    right: 12px;
    transform: rotate(-8deg);
    opacity: 0.55;
  }
  .dual-cta-card--gift:hover .dual-cta-card__emoji {
    transform: rotate(4deg) scale(1.06);
  }
  .dual-cta-card--gift .dual-cta-card__title {
    font-size: 24px;
    padding-right: 80px;
  }
  .dual-cta-card .pill-cta {
    font-size: 12px;
    padding: 11px 18px;
    white-space: nowrap;
    letter-spacing: 0.01em;
  }
  .dual-cta-card {
    padding: clamp(20px, 5vw, 28px);
  }
}

@media (max-width: 380px) {
  .dual-cta-card .pill-cta {
    font-size: 11px;
    padding: 10px 14px;
  }
}

/* Tipografía ligeramente más grande en ambas cards */
.dual-cta-card__title {
  font-size: clamp(26px, 3.6vw, 40px);
}
.dual-cta-card__desc {
  font-size: 16px;
}
.dual-cta-benefits li {
  font-size: 15px;
}
.dual-cta-card .pill-cta {
  font-size: 16px;
  padding: 16px 36px;
}

.dual-cta-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}

.dual-cta-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #9083F1;
  background: rgba(144,131,241,0.12);
  border: 1px solid rgba(144,131,241,0.28);
  border-radius: 999px;
  padding: 4px 12px;
  letter-spacing: 0.06em;
  align-self: flex-start;
}

.dual-cta-card__title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-display, system-ui);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.dual-cta-highlight {
  background: linear-gradient(135deg, #9083F1 0%, #6C5CE7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dual-cta-card__desc {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

.dual-cta-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.dual-cta-benefits li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.70);
  font-family: var(--font-body, system-ui);
}

.dual-cta-benefits li svg {
  flex-shrink: 0;
  color: #9083F1;
}

.dual-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  font-family: var(--font-body, system-ui);
  transition: all 0.25s ease;
  align-self: flex-start;
  margin-top: auto;
  background: linear-gradient(135deg, #2717DC, #9083F1);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(39,23,220,0.30);
}

.dual-cta-btn:hover:not(.dual-cta-btn--disabled) {
  opacity: 0.88;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(39,23,220,0.45);
}

.dual-cta-btn--disabled {
  opacity: 0.40;
  cursor: not-allowed;
  pointer-events: none;
}

@media (max-width: 768px) {
  .dual-cta-card:hover {
    transform: translateY(-3px);
  }
  .dual-cta-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dual-cta-card { transition: none; }
  .dual-cta-btn { transition: none; }
}
