
/* ============================
   CARRUSEL
============================ */
.carousel {
  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;
}

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

.carousel-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}




/* ============================
   QUIÉNES SOMOS
============================ */
.quienes-somos {
  text-align: center;
  padding: 30px 20px;
}

.quienes-somos h2 {
  font-size: 2.8rem;
  color: #004080;
  margin-bottom: 20px;
}

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

/* ============================
   NUESTROS PLANES MEJORADO
============================ */
.planes-section {
  padding: 60px 25px;
  background-color: rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  max-width: 1200px;
  margin: 70px auto;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* Título principal */
.planes-section h2 {
  text-align: center;
  color: #004080;
  font-size: 3.2rem;
  margin-bottom: 50px;
  font-weight: 900;
  letter-spacing: 1px;
  line-height: 1.2;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.15);
}

/* Contenedor */
.planes-container {
  display: flex;
  gap: 35px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================
   TARJETA PLAN
============================ */
.plan {
  background: linear-gradient(
    145deg,
    rgba(255,255,255,0.28),
    rgba(255,255,255,0.14)
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.35);
  padding: 45px 35px;
  flex: 1 1 330px;
  border-radius: 22px;

  box-shadow:
    0 14px 35px rgba(0,0,0,0.2),
    inset 0 2px 0 rgba(255,255,255,0.3);

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

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

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

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

/* Hover premium */
.plan:hover {
  transform: translateY(-14px) scale(1.03);
  box-shadow:
    0 26px 50px rgba(0,0,0,0.3),
    inset 0 2px 0 rgba(255,255,255,0.45);
}

/* Intensificar líneas al hover */
.plan:hover::after {
  border-left-color: rgba(0, 114, 255, 0.7);
  border-right-color: rgba(0, 114, 255, 0.7);
}

/* ============================
   TIPOGRAFÍA
============================ */

/* Título del plan */
.plan h3 {
  color: #004080;
  margin-bottom: 22px;
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: 1px;
  line-height: 1.2;
}

/* Texto descriptivo */
.plan p {
  font-size: 1.15rem;
  color: #222;
  line-height: 1.85;
  margin-bottom: 22px;
  font-weight: 500;
}

/* Lista */
.plan ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.plan ul li {
  margin-bottom: 14px;
  font-size: 1.05rem;
  color: #004080;
  font-weight: 600;
  position: relative;
  padding-left: 30px;
  line-height: 1.6;
}

.plan ul li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: #0072ff;
}

/* ============================
   RESPONSIVE – PLANES
============================ */

/* Laptops pequeñas / Tablets grandes */
@media (max-width: 1024px) {

  .planes-section {
    padding: 55px 22px;
    margin: 60px auto;
  }

  .planes-section h2 {
    font-size: 2.7rem;
    margin-bottom: 40px;
  }

  .planes-container {
    gap: 28px;
  }

  .plan {
    padding: 40px 30px;
  }

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

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

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

  .planes-section {
    padding: 45px 18px;
    margin: 50px auto;
  }

  .planes-section h2 {
    font-size: 2.4rem;
    margin-bottom: 35px;
  }

  .planes-container {
    gap: 24px;
  }

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

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

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

  .plan ul li {
    font-size: 1rem;
    padding-left: 26px;
  }

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

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

  .planes-section {
    padding: 35px 14px;
    margin: 40px auto;
    border-radius: 14px;
  }

  .planes-section h2 {
    font-size: 2rem;
    margin-bottom: 28px;
    letter-spacing: 0.6px;
  }

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

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

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

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

  .plan ul li {
    font-size: 0.95rem;
    padding-left: 24px;
  }

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


/* ============================
   PROMOCIONES
============================ */
.promo-intro {
  text-align: center;
  padding: 30px 20px;
}

.promo-intro h2 {
  font-size: 2.5rem;
  color: #004080;
  margin-bottom: 10px;
}

.promo-intro p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 25px;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.promo-card {
  background-color: rgba(255, 255, 255, 0.15); /* traslúcido */
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  color: #333;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.promo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  background-color: rgba(255, 255, 255, 0.2);
}

.promo-card i {
  font-size: 2rem;
  margin-bottom: 12px;
  color: #004080;
}

.promo-card h3 {
  margin-bottom: 8px;
  color: #004080;
}

.promo-card p {
  margin-bottom: 15px;
  color: #555;
}

.promo-btn {
  display: inline-block;
  padding: 8px 18px;
  background: #004080;
  color: #fff;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
}

.promo-btn:hover {
  background: #003366;
}

/* ============================
   ANIMACIONES
============================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================
   POR QUÉ ELEGIRNOS / MEJOR OPCIÓN
============================ */
.por-que-elegir,
.mejor-opcion {
  padding: 40px 20px;
  max-width: 1100px;
  margin: 40px auto;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.15); /* traslúcido */
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.por-que-elegir h2,
.mejor-opcion h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #004080;
  margin-bottom: 25px;
  font-family: 'Segoe UI Black', 'Arial Black', sans-serif;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.15);
}

.por-que-elegir p,
.mejor-opcion p {
  font-size: 1.1rem;
  color: #333;
  max-width: 900px;
  margin: 0 auto 30px;
  line-height: 1.6;
  text-align: center;
}

.mejor-opcion p {
  font-size: 1.15rem;
  font-weight: 500;
  color: #222;
  background-color: rgba(255, 255, 255, 0.15);
  padding: 15px 20px;
  border-left: 5px solid #004080;
  border-radius: 8px;
  margin-bottom: 30px;
}

/* ============================
   VENTAJAS / BENEFICIOS
============================ */
.ventajas-container,
.beneficios-container {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}

.ventaja,
.beneficio {
  background-color: rgba(255, 255, 255, 0.15); /* traslúcido */
  flex: 0 0 280px;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

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

.ventaja i,
.beneficio i {
  color: #004080;
  margin-bottom: 15px;
}

.ventaja h3,
.beneficio h3 {
  font-size: 1.3rem;
  color: #004080;
  margin-bottom: 10px;
}

.ventaja p,
.beneficio p {
  font-size: 1rem;
  color: #000000;
  line-height: 1.5;
}
