body {
  font-family: 'Poppins', sans-serif;
  background: #f5f7fa;
  margin: 0;
  padding: 0;
  color: #333;
}

section.container {
  width: 100%;
  padding: 40px 15px;
  box-sizing: border-box;
}

.plan-container.swiper {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  position: relative;
  padding-bottom: 50px;
}

.swiper-slide {
  display: flex;
  justify-content: center;
}

.card__articulo {
  width: 100%;
  display: flex;
  justify-content: center;
}

.plan {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  padding: 20px;
  width: 330px;
  height: 580px;
  transition: all .3s ease;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.plan:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

/* HEADER */
.plan-header {
  background: linear-gradient(135deg, #e60000, #ff5a5a);
  color: #fff;
  border-radius: 15px;
  padding: 20px;
}

.plan-header h2 {
  font-size: 1.1rem;
  margin: 0;
  font-weight: 600;
}

.plan-header h1 {
  font-size: 2.5rem;
  margin: 5px 0;
  font-weight: 700;
}

.plan-header h3 {
  font-size: 1rem;
  margin: 0;
  opacity: 0.9;
}

/* BODY */
.plan-body {
  border: 1px solid #000;
  border-radius: 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.destacado {
  font-weight: 600;
  color: #444;
}

.precio-destacado {
  font-size: 1.8rem;
  font-weight: 700;
  color: #e60000;
}

.plan-app {
  border: 1px solid #000;
  border-radius: 10px;
  margin-top: 10px;
}

.incluye {
  background-color: #e60000;
  border-radius: 10px;
  color: white;
  font-size: 1em;
  margin-top: -20px;

  margin-bottom: 8px;
  color: #ffffff;
}

.apps img {
  width: 50px;
  height: 50px;
  margin: 0 5px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.deco-img {
  max-width: 35px;
  margin: 5px;
}

/* FOOTER */
.plan-footer {
  margin-top: 15px;
}

.btn {
  padding: 12px 24px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: all .3s ease;
}

.btn-danger {
  background: linear-gradient(135deg, #e60000, #ff4d4d);
  color: #fff;
  box-shadow: 0 6px 18px rgba(230,0,0,0.3);
}

.btn-danger:hover {
  background: linear-gradient(135deg, #ff1a1a, #ff6666);
  box-shadow: 0 8px 22px rgba(230,0,0,0.4);
  transform: translateY(-3px);
}

/* Swiper Nav */
.swiper-button-next, .swiper-button-prev {
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  color: #e60000;
  transition: all .3s ease;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
  background: #e60000;
  color: #fff;
}

.swiper-pagination-bullet {
  background: #ccc;
  opacity: 1;
}
.swiper-pagination-bullet-active {
  background: #e60000;
}

/* Responsive */
@media (max-width: 767px) {
.plan {
width: calc(100% - -30px);
max-width: 400px;
height: auto; /* ✅ Permite que se ajuste al contenido */
min-height: 500px; /* opcional, para mantener proporción mínima */
margin-top: 1px;
}
}

@media (min-width: 768px) and (max-width: 1023px) {
  .plan { width: 300px; }
}