/* ============================
   Carrusel
=========================== */
.slider-section {
 width: 90%;
  max-width: 1100px;
  height: 560px;
  margin: 20px auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  position: relative;
}

.slider img {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease-in-out;
}

.slide.active {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}



/* ============================
   INTRODUCCIÓN PLANES (MEJORADA)
============================ */
.planes-intro {
  text-align: center;
  margin: 70px auto 80px;
  max-width: 960px;
  padding: 0 24px;
}

.planes-intro h2 {
  font-size: clamp(2.8rem, 4vw, 3.4rem);
  font-weight: 900;
  color: #004080;
  margin-bottom: 26px;
  letter-spacing: 1.4px;
  line-height: 1.15;
  text-shadow:
    1px 2px 6px rgba(0,0,0,0.18),
    0 0 12px rgba(0,114,255,0.18);
}

.planes-intro p {
  font-size: 1.3rem;
  color: #1f1f1f;
  line-height: 1.9;
  max-width: 880px;
  margin: 0 auto;
  font-weight: 500;
  opacity: 0.95;
}

/* ============================
   PLANES (PREMIUM)
============================ */
.plan {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.32),
    rgba(255, 255, 255, 0.16)
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 24px;

  flex: 1 1 320px;
  padding: 46px 36px;

  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.30),
    inset 0 2px 0 rgba(255,255,255,0.35);

  text-align: center;
  position: relative;
  overflow: hidden;

  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease,
    background 0.45s ease;
}

/* Línea superior */
.plan::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 78%;
  height: 5px;
  transform: translateX(-50%);
  border-radius: 0 0 16px 16px;
  background: linear-gradient(90deg, #004080, #0072ff);
}

/* Líneas laterales */
.plan::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 20px;
  pointer-events: none;
  border-left: 2px solid rgba(0, 114, 255, 0.35);
  border-right: 2px solid rgba(0, 114, 255, 0.35);
}

/* Hover */
.plan:hover {
  transform: translateY(-15px) scale(1.035);
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.38),
    inset 0 2px 0 rgba(255,255,255,0.5);
}

/* ============================
   TEXTO DEL PLAN (MEJORADO)
============================ */

/* Título del plan */
.plan h3 {
  color: #004080;
  font-size: 2.55rem;
  margin-bottom: 22px;
  font-weight: 900;
  letter-spacing: 1.2px;
  line-height: 1.15;
  text-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

/* Texto */
.plan p {
  font-size: 1.18rem;
  color: #1e1e1e;
  line-height: 1.9;
  font-weight: 500;
  margin-bottom: 14px;
  opacity: 0.96;
}

/* Precio */
.plan p strong {
  display: inline-block;
  margin-top: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: #004080;
  letter-spacing: 0.5px;
}
/* ============================
   RESPONSIVE DESIGN
============================ */

/* Tablets (≤ 1024px) */
@media (max-width: 1024px) {

  .planes-intro {
    margin: 60px auto 70px;
    padding: 0 20px;
  }

  .planes-intro h2 {
    font-size: clamp(2.4rem, 4vw, 3rem);
  }

  .planes-intro p {
    font-size: 1.18rem;
    line-height: 1.8;
  }

  .plan {
    padding: 40px 30px;
  }

  .plan h3 {
    font-size: 2.2rem;
  }

  .plan p {
    font-size: 1.12rem;
  }

  .plan:hover {
    transform: translateY(-10px) scale(1.02);
  }
}

/* Móviles grandes (≤ 768px) */
@media (max-width: 768px) {

  .planes-intro {
    margin: 50px auto 60px;
    padding: 0 18px;
  }

  .planes-intro h2 {
    font-size: 2.2rem;
    letter-spacing: 1px;
  }

  .planes-intro p {
    font-size: 1.1rem;
    line-height: 1.75;
  }

  .plan {
    flex: 1 1 100%;
    padding: 36px 26px;
  }

  .plan h3 {
    font-size: 2rem;
  }

  .plan p {
    font-size: 1.05rem;
  }

  .plan p strong {
    font-size: 1.25rem;
  }

  .plan:hover {
    transform: translateY(-8px) scale(1.015);
  }
}

/* Móviles pequeños (≤ 480px) */
@media (max-width: 480px) {

  .planes-intro {
    margin: 40px auto 50px;
    padding: 0 14px;
  }

  .planes-intro h2 {
    font-size: 1.9rem;
    letter-spacing: 0.8px;
  }

  .planes-intro p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .plan {
    padding: 30px 22px;
    border-radius: 20px;
  }

  .plan::before {
    height: 4px;
    width: 85%;
  }

  .plan h3 {
    font-size: 1.8rem;
  }

  .plan p {
    font-size: 1rem;
  }

  .plan p strong {
    font-size: 1.15rem;
  }

  .plan:hover {
    transform: translateY(-5px);
  }
}


/* ============================
   Beneficios
=========================== */
.beneficios {
  text-align: center;
  padding: 40px 20px;
}

.beneficios h2 {
  color: #004080;
  margin-bottom: 30px;
  font-size: 2.4rem;
}

.beneficios-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.beneficios-grid div {
  max-width: 220px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.15); /* traslúcido */
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.beneficios-grid div:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0,114,255,0.15);
  background-color: rgba(255,255,255,0.2);
}

.beneficios-grid i {
  font-size: 2rem;
  color: #004080;
  margin-bottom: 10px;
}

.beneficios-grid h4 {
  margin: 10px 0;
  font-size: 1.2rem;
}

.beneficios-grid p {
  font-size: 1rem;
  color: #333;
}

/* ============================
   RESPONSIVE BENEFICIOS
============================ */

/* Tablets */
@media (max-width: 1024px) {
  .beneficios-grid {
    gap: 30px;
  }

  .beneficios-grid div {
    max-width: 200px;
    padding: 18px;
  }
}

/* Celulares */
@media (max-width: 768px) {
  .beneficios {
    padding: 30px 15px;
  }

  .beneficios h2 {
    font-size: 2rem;
  }

  .beneficios-grid {
    gap: 25px;
  }

  .beneficios-grid div {
    max-width: 100%;
    width: 90%;
  }
}

/* Celulares pequeños */
@media (max-width: 480px) {
  .beneficios h2 {
    font-size: 1.7rem;
  }

  .beneficios-grid div {
    padding: 16px;
  }

  .beneficios-grid i {
    font-size: 1.8rem;
  }

  .beneficios-grid h4 {
    font-size: 1.1rem;
  }

  .beneficios-grid p {
    font-size: 0.95rem;
  }
}


/* ============================
   Regiones
=========================== */
.regiones-bg {
  width: 100%;
  padding: 60px 0;
  box-sizing: border-box;
}

.regiones-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.region-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.region {
  width: 140px;
  height: 140px;
  background-color: rgba(255,255,255,0.15); /* traslúcido */
  color: #004080;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.25);
  margin-bottom: 12px;
}

.region:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.35);
  background-color: rgba(255,255,255,0.2);
}

.region-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 8px;
}

.regiones {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
}

/* ============================
   Provincias desplegables
=========================== */
.provincias-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-10px);
  transition: max-height 0.5s ease, opacity 0.5s ease, transform 0.5s ease;
}

.provincias-list.visible {
  max-height: 400px;
  opacity: 1;
  transform: translateY(0);
}

.provincia-bubble {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15); /* traslúcido */
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  padding: 10px 18px;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.provincia-bubble:hover {
  background: #25D366;
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.provincia-bubble i {
  color: #25D366;
  font-size: 1.2rem;
}

.provincia-bubble:hover i {
  color: #fff;
}

/* ============================
   Conéctate con WOW
=========================== */
.connect-wow {
  background-color: rgba(255,255,255,0.15); /* traslúcido */
  color: #004080;
  text-align: center;
  padding: 60px 30px;
  border-radius: 20px;
  margin: 60px auto 100px auto;
  max-width: 1100px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease;
}

.connect-wow h2 {
  font-size: 2.6rem;
  margin-bottom: 20px;
}

.connect-wow p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  line-height: 1.5;
}

.connect-buttons a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  font-size: 1.2rem;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease-in-out;
}

.connect-buttons a:hover {
  background: #1ebe5d;
  transform: scale(1.05);
}

/* ============================
   FAQ
=========================== */
.faq {
  padding: 50px 20px;
  max-width: 900px;
  margin: auto;
}

.faq h2 {
  text-align: center;
  color: #004080;
  margin-bottom: 50px;
  font-size: 2.8rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.faq-item {
  margin-bottom: 15px;
  background-color: rgba(255,255,255,0.15); /* traslúcido */
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  overflow: hidden;
  padding: 20px 25px;
}

.faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  background-color: rgba(255,255,255,0.2);
}

.faq-item h4 {
  font-size: 1.4rem;
  color: #004080;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item h4::after {
  content: '+';
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-item.active h4::after {
  content: '-';
  transform: rotate(180deg);
}

.faq-item p {
  font-size: 1rem;
  color: #333;
  line-height: 1.5;
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  transition: all 0.5s ease;
}

.faq-item.active p {
  max-height: 500px;
  opacity: 1;
  padding-top: 15px;
}

/* ============================
   Texto final
=========================== */
.planes-final {
  text-align: center;
  padding: 40px 20px;
}

.planes-final h2 {
  font-size: 2.4rem;
  color: #004080;
  margin-bottom: 15px;
}

.planes-final p {
  font-size: 1.1rem;
  color: #333;
  max-width: 800px;
  margin: auto;
  line-height: 2.5;
}

/* ============================
   Responsive
=========================== */
@media (max-width: 768px) {
  .planes-container {
    flex-direction: column;
    gap: 20px;
  }

  .region {
    width: 120px;
    height: 120px;
  }

  .region-img {
    width: 80px;
    height: 80px;
  }

  .planes-intro h2 {
    font-size: 2.2rem;
  }

  .planes-final h2 {
    font-size: 2rem;
  }

  .beneficios-grid {
    flex-direction: column;
    gap: 25px;
  }
}
