
/* Sección general de Planes Especiales 2 */
.planes-especiales2 {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, #fff 50%, #fcdce2 50%);
}

.planes-especiales2 .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  box-sizing: border-box;
  text-align: center;
}

/* 🔹 Grid general */
.planes-especiales2 .planes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  justify-content: center;
  align-items: start;
  margin: 0 auto;
  max-width: 1100px; /* evita desbordes horizontales */
}



/* 🔹 Tarjeta del plan */
.planes-especiales2 .plan-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center; /* centra el contenido */
  text-align: center;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  background: #fff;
  border-radius: 15px;
  padding: 25px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease-in-out;
}





.planes-especiales2 .plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* 🔹 Imagen circular */
.planes-especiales2 .plan-img {
  display: flex;
  justify-content: center;
  margin-bottom: 15px;
}

.planes-especiales2 .plan-img img {
  width: 160px;
  height: 160px;
  margin: 0 auto;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #e91e63;
  transition: transform 0.3s;
}

.planes-especiales2 .plan-card:hover .plan-img img {
  transform: scale(1.05);
}

/* 🔹 Título */
.planes-especiales2 .plan-card h3 {
  font-size: 1.4rem;
  margin: 10px 0;
  font-weight: bold;
  color: #333;
  font-family: "Lato";
}

/* 🔹 Descripción */
.planes-especiales2 .plan-desc {
  font-size: 0.95rem;
  margin-bottom: 15px;
  color: #222;
  line-height: 1.4;
  font-family: "Lato";
  flex-grow: 1;
}

/* 🔹 Botón */
.planes-especiales2 .btn-plan {
  display: inline-block;
  background: linear-gradient(45deg, #e91e63, #f48fb1);
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
  font-family: "Lato";
  margin-top: auto; /* Mantiene el botón abajo */
  align-self: center;
}

.planes-especiales2 .btn-plan:hover {
  background: linear-gradient(45deg, #d81b60, #ec407a);
  transform: scale(1.05);
}

/* 🔹 Animación de entrada */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.9s ease-out forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 🔹 Responsivo */
@media (max-width: 1024px) {
  .planes-especiales2 .container {
    padding: 40px 20px;
    width: 83%;
    margin-left: 5%;
  }
}

@media (max-width: 768px) {
  .planes-especiales2 .planes-grid {
    grid-template-columns: 1fr;
  }

  .planes-especiales2 .plan-card {
    max-width: 100%;
    margin: 0 auto;
  }

  .planes-especiales2 .plan-img img {
    width: 160px;
    height: 160px;
  }

  .planes-especiales2 .plan-card h3 {
    font-size: 1.2rem;
  }

  .planes-especiales2 .plan-desc {
    font-size: 0.9rem;
  }
}


@media (max-width: 768px) {
  .planes-especiales2 .container {
    padding: 40px 15px;
  }

  .planes-especiales2 .planes-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .planes-especiales2 .plan-card {
    max-width: 100%;
    padding: 20px;
  }

  .planes-especiales2 .plan-img img {
    width: 140px;
    height: 140px;
  }
}

