/* =========================================================
   MODAL INFO PREMIUM - STELLA TV
========================================================= */

body.info-modal-open {
  overflow: hidden;
}

/* =========================================================
   BOTÓN INFO EN CARDS
========================================================= */

.plan-actions {
  display: grid;
  grid-template-columns: 1fr 64px;
  gap: 14px;
  align-items: center;
  margin-top: auto;
}

.plan-info-btn {
  width: 64px;
  height: 64px;

  border: none;
  border-radius: 50%;

  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #000;
  background: #fff;

  font-size: 2rem;
  font-weight: 950;

  box-shadow:
    0 22px 55px rgba(255, 255, 255, 0.18),
    inset 0 2px 0 rgba(255, 255, 255, 0.9);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.plan-info-btn:hover {
  transform: translateY(-4px) scale(1.05);
  background: #f4f4f4;
  box-shadow: 0 30px 70px rgba(255, 255, 255, 0.28);
}

/* =========================================================
   CONTENEDOR MODAL
========================================================= */

.plan-info-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;

  display: none;
  place-items: center;

  padding: 28px;
}

.plan-info-modal.is-active {
  display: grid;
}

/* =========================================================
   FONDO OSCURO
========================================================= */

.plan-info-overlay {
  position: absolute;
  inset: 0;

  background:
    radial-gradient(circle at center, rgba(255, 90, 150, 0.13), transparent 38%),
    rgba(3, 3, 8, 0.82);

  backdrop-filter: blur(18px);
}

/* =========================================================
   CARD PRINCIPAL
========================================================= */

.plan-info-card {
  position: relative;
  z-index: 2;

  width: min(100%, 1060px);
  max-height: 84vh;

  display: grid;
  grid-template-columns: 0.9fr 1.1fr;

  overflow: hidden;

  border-radius: 36px;

  background:
    radial-gradient(circle at top right, rgba(255, 120, 70, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(16, 16, 26, 0.98), rgba(8, 8, 14, 0.98));

  border: 1px solid rgba(255, 255, 255, 0.12);

  box-shadow:
    0 45px 130px rgba(0, 0, 0, 0.68),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);

  animation: modalInfoEnter 0.35s ease;
}

/* =========================================================
   BOTÓN CERRAR
========================================================= */

.plan-info-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 5;

  width: 46px;
  height: 46px;

  border: none;
  border-radius: 50%;

  cursor: pointer;

  color: #fff;
  font-size: 30px;
  line-height: 1;

  background: rgba(255, 255, 255, 0.11);

  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.plan-info-close:hover {
  transform: rotate(90deg) scale(1.05);
  background: rgba(255, 255, 255, 0.18);
}

/* =========================================================
   LADO IZQUIERDO - IMAGEN
========================================================= */

.plan-info-image-wrap {
  position: relative;

  min-height: 560px;

  display: grid;
  place-items: center;

  padding: 34px;

  overflow: hidden;

  background:
    radial-gradient(circle at center, rgba(255, 95, 143, 0.18), transparent 42%),
    rgba(255, 255, 255, 0.035);
}

.plan-info-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.05),
      rgba(0, 0, 0, 0.28)
    );

  pointer-events: none;
}

.plan-info-image-wrap img {
  position: relative;
  z-index: 2;

  width: min(100%, 360px);
  max-height: 500px;

  object-fit: contain;

  border-radius: 28px;

  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.08);

  animation: modalImageFloat 2.8s ease-in-out infinite alternate;
}

/* =========================================================
   LADO DERECHO - CONTENIDO
========================================================= */

.plan-info-content {
  padding: 52px 48px 44px;

  overflow-y: auto;
}

.plan-info-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 20px;

  border-radius: 999px;

  color: #fff;

  font-size: 0.92rem;
  font-weight: 900;

  background:
    linear-gradient(135deg, var(--pink), var(--orange));

  box-shadow:
    0 18px 45px rgba(255, 90, 130, 0.24);
}

.plan-info-content h2 {
  margin: 26px 0 12px;

  color: #fff;

  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.05;
  font-weight: 950;
}

.plan-info-content p {
  color: rgba(255, 255, 255, 0.72);

  font-size: 1.02rem;
  line-height: 1.7;
}

.plan-info-price {
  margin: 26px 0;

  color: #ff6d95;

  font-size: 3.2rem;
  font-weight: 950;
}

/* =========================================================
   BENEFICIOS
========================================================= */

.plan-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;

  margin-bottom: 28px;
}

.plan-info-feature {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: center;

  min-height: 82px;

  padding: 16px;

  border-radius: 22px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.075),
      rgba(255, 255, 255, 0.035)
    );

  border: 1px solid rgba(255, 255, 255, 0.08);

  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.22);
}

.plan-info-feature-icon {
  width: 52px;
  height: 52px;

  display: grid;
  place-items: center;

  border-radius: 18px;

  font-size: 1.35rem;

  background:
    rgba(255, 255, 255, 0.09);
}

.plan-info-feature span:last-child {
  color: rgba(255, 255, 255, 0.9);

  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.35;
}

/* =========================================================
   BOTÓN WHATSAPP / COMPRAR
========================================================= */

.plan-info-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 64px;

  border-radius: 18px;

  text-decoration: none;

  color: #fff;

  font-size: 1.05rem;
  font-weight: 950;

  background:
    linear-gradient(135deg, #ff2d8d, #ff8a2b);

  box-shadow:
    0 24px 65px rgba(255, 90, 90, 0.28);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
}

.plan-info-whatsapp:hover {
  transform: translateY(-4px);
  filter: brightness(1.08);
  box-shadow:
    0 30px 80px rgba(255, 90, 90, 0.38);
}

/* =========================================================
   TEXTO DE SEGURIDAD
========================================================= */

.plan-info-secure {
  margin-top: 18px;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;

  color: rgba(255, 255, 255, 0.45);

  font-size: 0.92rem;
  font-weight: 700;
}

/* =========================================================
   ANIMACIONES
========================================================= */

@keyframes modalInfoEnter {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes modalImageFloat {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-12px);
  }
}