/* ===============================
   SUBS HERO
================================ */

.subs-hero {
  position: relative;
  padding: 90px 20px 80px;
  background: linear-gradient(135deg, #0b2c47, #1c5f91);
  color: #fff;
  text-align: center;
  overflow: hidden;
}

/* Detalle sutil 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;
}

.subs-hero-content {
  position: relative;
  max-width: 950px;
  margin: auto;
  z-index: 2;
  animation: fadeUp 1s ease forwards;
}

/* TÍTULO */
.subs-hero h1 {
  font-size: 2.9rem;
  font-weight: 800;
  margin-bottom: 22px;
  letter-spacing: 0.5px;
}

/* TEXTO PRINCIPAL */
.subs-hero-lead {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 14px;
  opacity: 0.95;
}

/* TEXTO SECUNDARIO */
.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 */
@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{
      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,.18);
      transform:translateY(40px);
      opacity:0;
      transition:.7s ease;
    }
    .plan.visible{
      transform:translateY(0);
      opacity:1;
    }
    .plan img{
      width:70px;
      margin-bottom:15px;
    }
    .plan h3{
      font-size:1.4rem;
      color:#174d73;
      margin-bottom:6px;
    }
    .plan span{
      display:block;
      font-size:.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;
    }
    .plan ul li{
      margin-bottom:10px;
      font-size:.95rem;
      position:relative;
      padding-left:22px;
    }
    .plan ul li::before{
      content:'✓';
      position:absolute;
      left:0;
      color:#1aa34a;
      font-weight:700;
    }
    .plan a{
      background:#2c6fa3;
      color:#fff;
      border:none;
      padding:10px 22px;
      border-radius:30px;
      font-weight:600;
      cursor:pointer;
      transition:.3s;
    }
    .plan a:hover{
      background:#174d73;
      transform:translateY(-2px);
    }

    /* ================= BLOQUE INFO ================= */
    .info{
      background:#f2f6fb;
      padding:70px 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: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:.3s;
    }
    .cta a:hover{
      background:#174d73;
      transform:translateY(-2px);
    }

    /* ================= RESPONSIVE ================= */
    @media(max-width:1000px){
      .planes-grid{grid-template-columns:1fr 1fr;}
    }
    @media(max-width:650px){
      .planes-grid{grid-template-columns:1fr;}
      .subs-hero h1{font-size:2.2rem;}
    }
    /* ===============================
   BLOQUE DIFERENCIALES
================================ */

.suscripcion-diferenciales {
  padding: 90px 20px;
  background: linear-gradient(180deg, #f4f7fb, #ffffff);
  text-align: center;
}

/* TÍTULO */
.diferenciales-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #123b70;
  display: inline-block;
  position: relative;
  margin-bottom: 60px;
}

/* Subrayado animado */
.diferenciales-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -14px;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, #2f80ed, #5faee3);
  border-radius: 10px;
  transform: translateX(-50%);
  animation: underlineGrow 1.2s ease forwards;
}

@keyframes underlineGrow {
  to {
    width: 120px;
  }
}

/* ===============================
   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%;
}

/* ===============================
   CONTENIDO
================================ */

.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;
}

/* ANIMACIÓN */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .diferenciales-title {
    font-size: 1.8rem;
  }

  .tabs {
    gap: 15px;
  }

  .tab {
    font-size: 14px;
  }
}
/* ===============================
   LISTA DENTRO DE TABS
================================ */

.tab-list {
  list-style: none;
  padding: 0;
  margin: 30px auto 0;
  max-width: 800px;
  text-align: left;
}

/* ITEM */
.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;
}

/* ÍCONO */
.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;
}

/* HOVER */
.tab-list li:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(47, 128, 237, 0.18);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .tab-list li {
    font-size: 14.5px;
    padding-left: 44px;
  }
}
