/* ===============================
   SUBS HERO
================================ */

.subs-hero {
  position: relative;
  padding: 90px 20px 80px;
  background: linear-gradient(135deg, #0b2c47, #1c5f91);
  color: #fff;
  text-align: center;
  overflow: hidden;
  margin: 0;
  z-index: 1;
}

/* Detalle geométrico */
.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;
  z-index: 0;
}

.subs-hero-content {
  position: relative;
  max-width: 950px;
  margin: auto;
  z-index: 2;
  animation: fadeUp 1s ease forwards;
}

/* TÍTULOS */
.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;
}

/* TEXTOS */
.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;
}

/* ANIMACIÓN */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE HERO */
@media (max-width: 768px) {
  .subs-hero {
    padding: 70px 20px 65px;
  }

  .subs-hero h1 {
    font-size: 2.2rem;
  }

  .subs-hero-lead {
    font-size: 1.05rem;
  }

  .subs-hero-desc {
    font-size: 0.95rem;
  }
}


/* ================= PLANES ================= */

.planes {
  padding: 100px 20px 90px;
  display: flex;
  justify-content: center;

  /* COLOR DISTINTO PARA CORTAR EL HERO */
  background: linear-gradient(180deg, #0f2f4a, #123b5c);

  margin: 0;
  position: relative;
  z-index: 2;
}

/* GRID */
.planes-grid {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
}

/* CARD PLAN */
.plan {
  background: linear-gradient(180deg, #0e253b, #0f2f4a);
  border-radius: 20px;
  padding: 40px 35px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  color: #ffffff;
}

/* LOGO */
.plan img {
  max-width: 160px;
  margin: 0 auto 20px;
  display: block;
}

/* TITULOS */
.plan h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 20px 0 10px;
  color: #ffffff;
}

/* FRASE */
.plan span {
  display: block;
  font-size: 14px;
  color: #9fd6ff;
  margin-bottom: 25px;
}

/* LISTA */
.plan ul {
  list-style: none;
  padding: 0;
  margin: 25px 0;
  text-align: left;
}

/* ITEMS */
.plan ul li {
  font-size: 15px;
  color: #eaf6ff;
  margin-bottom: 12px;
  padding-left: 22px;
  position: relative;
}

.plan ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #3ec5ff;
  font-size: 14px;
}

/* BOTÓN */
.plan a {
  margin-top: 25px;
  padding: 12px 20px;
  border-radius: 30px;
  border: none;
  background: linear-gradient(90deg, #277a9e, #1fa2ff);
  color: #fff;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
}

.plan a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(62, 197, 255, 0.4);
}


/* ================= BLOQUE INFO ================= */

.info {
  background: #f2f6fb;
  padding: 90px 20px;
}

.info h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #0b2c47;
}

.info-box {
  max-width: 1100px;
  margin: auto;
  background: #fff;
  border-radius: 14px;
  padding: 35px 40px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, .1);
}

.info-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-box li {
  margin-bottom: 14px;
  padding-left: 24px;
  position: relative;
  font-size: .95rem;
}

.info-box li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #2c6fa3;
  font-weight: 700;
}


/* ================= CTA ================= */

.cta {
  text-align: center;
  padding: 100px 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: .3s;
}

.cta a:hover {
  background: #174d73;
  transform: translateY(-2px);
}


/* ================= DIFERENCIALES ================= */

.suscripcion-diferenciales {
  padding: 100px 20px;
  background: linear-gradient(180deg, #f4f7fb, #ffffff);
  text-align: center;
}

.diferenciales-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #123b70;
  display: inline-block;
  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-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #4a5d73;
  cursor: pointer;
  position: relative;
  padding: 10px 4px;
  transition: color 0.3s ease;
}

.tab::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #2f80ed, #5faee3);
  border-radius: 6px;
  transition: width 0.3s ease;
}

.tab:hover {
  color: #123b70;
}

.tab.active {
  color: #123b70;
  font-weight: 600;
}

.tab.active::after {
  width: 100%;
}


/* ================= TAB CONTENT ================= */

.tabs-content {
  max-width: 900px;
  margin: auto;
}

.tab-content {
  display: none;
  animation: fadeUp 0.5s ease;
}

.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: 15.5px;
  line-height: 1.6;
  color: #1c2e45;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.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: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.tab-list li:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(47, 128, 237, 0.18);
}


/* ================= RESPONSIVE GLOBAL ================= */

@media (max-width: 768px) {

  .diferenciales-title {
    font-size: 1.8rem;
  }

  .tabs {
    gap: 15px;
  }

  .tab {
    font-size: 14px;
  }

  .tab-list li {
    font-size: 14.5px;
    padding-left: 44px;
  }
}
