/* ===============================
   SUBS HERO
================================ */

.subs-hero {
  position: relative;
  padding: 90px 20px 80px;
  background: linear-gradient(135deg, #0b2c47, #1c5f91);
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.subs-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.08) 1px,
    transparent 1px
  );
  background-size: 22px 22px;
  opacity: 0.4;
  pointer-events: none;
}

.subs-hero-content {
  position: relative;
  max-width: 950px;
  margin: auto;
  z-index: 2;
  animation: fadeUp 1s ease forwards;
}

.subs-hero h1 {
  font-size: 2.9rem;
  font-weight: 800;
  margin-bottom: 22px;
  letter-spacing: 0.5px;
}

.subs-hero h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 22px;
  letter-spacing: 0.5px;
}

.subs-hero-lead {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 14px;
  opacity: 0.95;
}

.subs-hero-desc {
  font-size: 1rem;
  line-height: 1.7;
  max-width: 820px;
  margin: 0 auto;
  opacity: 0.9;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===============================
   PLANES
================================ */

.planes {
  background: linear-gradient(180deg, #1b4f78, #2c6fa3);
  padding: 80px 20px 120px;
}

.planes-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.plan {
  background: #fff;
  border-radius: 16px;
  padding: 35px 30px 40px;
  text-align: center;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  transform: translateY(40px);
  opacity: 0;
  transition: 0.7s ease;
}


.plan.visible {
  transform: translateY(0);
  opacity: 1;
}

.plan img {
  width: 70px;
  margin-bottom: 15px;
  margin: 0 auto 15px auto;
  display: block;
}

.plan h3 {
  font-size: 1.4rem;
  color: #174d73;
  margin-bottom: 6px;
}

.plan span {
  display: block;
  font-size: 0.9rem;
  color: #6b7d90;
  margin-bottom: 18px;
}

.precio {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: #0b2c47;
}

.plan ul {
  text-align: left;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
  flex-grow: 1;
}

.plan ul li {
  margin-bottom: 10px;
  font-size: 0.95rem;
  position: relative;
  padding-left: 22px;
}

.plan ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #1aa34a;
  font-weight: 700;
}

.plan a {
  display: inline-block;
  background: #2c6fa3;
  color: #fff;
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;

  align-self: center;
  margin-top: 20px;
}


.plan a:hover {
  background: #174d73;
  transform: translateY(-2px);
}

/* ===============================
   BLOQUE DIFERENCIALES
================================ */

.suscripcion-diferenciales {
  padding: 90px 20px;
  background: linear-gradient(180deg, #f4f7fb, #ffffff);
  text-align: center;
}

.diferenciales-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #123b70;
  position: relative;
  margin-bottom: 60px;
}

.diferenciales-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -14px;
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, #2f80ed, #5faee3);
  border-radius: 10px;
  transform: translateX(-50%);
}

/* ===============================
   TABS
================================ */

.tabs {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.tab {
  background: transparent;
  border: none;
  font-size: 15px;
  font-weight: 500;
  color: #4a5d73;
  cursor: pointer;
  padding: 10px 4px;
  position: relative;
}

.tab.active {
  color: #123b70;
  font-weight: 600;
}

.tab::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #2f80ed, #5faee3);
  transition: 0.3s;
}

.tab.active::after {
  width: 100%;
}

/* ===============================
   TAB CONTENT
================================ */

.tabs-content {
  max-width: 900px;
  margin: auto;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tab-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #4a5d73;
}

/* ===============================
   LISTA TABS
================================ */

.tab-list {
  list-style: none;
  padding: 0;
  margin: 30px auto 0;
  max-width: 800px;
  text-align: left;
}

.tab-list li {
  position: relative;
  padding: 14px 20px 14px 48px;
  margin-bottom: 14px;
  background: #f6f9fc;
  border-radius: 12px;
  font-size: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.tab-list li::before {
  content: "✓";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2f80ed, #5faee3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

/* ===============================
   CTA
================================ */

.cta {
  text-align: center;
  padding: 80px 20px;
  background: #eef3f9;
}

.cta a {
  display: inline-block;
  background: #2c6fa3;
  color: #fff;
  padding: 14px 34px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.cta a:hover {
  background: #174d73;
}

/* ===============================
   RESPONSIVE MOBILE (CLAVE)
================================ */

@media (max-width: 768px) {

  /* HERO */
  .subs-hero {
    padding: 70px 20px 60px;
  }

  .subs-hero h1 {
    font-size: 2.1rem;
  }

  /* PLANES → SLIDER HORIZONTAL */
  .planes {
    padding: 60px 10px 90px;
  }

  .planes-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 10px 10px 20px;
  }

  .planes-grid::-webkit-scrollbar {
    display: none;
  }

  .plan {
    min-width: 85%;
    scroll-snap-align: center;
    opacity: 1;
    transform: none;
  }

  .plan h3 {
    font-size: 1.3rem;
  }

  .precio {
    font-size: 1.45rem;
  }

  /* DIFERENCIALES */
  .diferenciales-title {
    font-size: 1.8rem;
  }

  .tab {
    font-size: 14px;
  }
}

/* ===============================
   FORZAR POPPINS EN ACORDEONES
================================ */

.suscripcion-diferenciales,
.suscripcion-diferenciales * {
  font-family: 'Poppins', sans-serif !important;
}
/* ===============================
   INDICADOR DESLIZAR
================================ */

.planes-swipe-indicator {
  margin-top: 35px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.5px;
  opacity: 0.85;
}

.planes-swipe-indicator span {
  display: inline-block;
}

.swipe-arrow {
  font-size: 20px;
  animation: swipeMove 1.6s infinite ease-in-out;
}

/* Animación sutil hacia la derecha */

@keyframes swipeMove {
  0% {
    transform: translateX(0);
    opacity: 0.6;
  }
  50% {
    transform: translateX(6px);
    opacity: 1;
  }
  100% {
    transform: translateX(0);
    opacity: 0.6;
  }
}

/* ===============================
   RESPONSIVE
================================ */

/* En desktop sigue centrado y elegante */
@media (min-width: 769px) {
  .planes-swipe-indicator {
    margin-top: 50px;
    font-size: 16px;
  }
}

/* En mobile lo dejamos más claro */
@media (max-width: 768px) {
  .planes-swipe-indicator {
    font-size: 14px;
    margin-top: 25px;
  }
}
/* Ocultar indicador en desktop */
@media (min-width: 769px) {
  .planes-swipe-indicator {
    display: none;
  }
}