/* =========================
   PLANES (Página)
========================= */
.plans-head{
  padding-top: 44px;
  text-align: center;
}

.plans-title{
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  font-size: clamp(2rem, 3.2vw, 2.6rem);
}

.plans-subtitle{
  margin: 8px 0 0 0;
  color: rgba(37, 99, 235, 0.65);
  font-size: 0.95rem;
}

.plans-grid{
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

/* Card */
.plan-card{
  position: relative;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 18px 18px 16px;
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
}

/* Icono */
.plan-icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(37,99,235,1);
  background: rgba(37,99,235,0.10);
  margin-bottom: 10px;
}

.plan-icon i{
  font-size: 20px;
}

/* Nombre y precio */
.plan-name{
  margin: 0;
  font-weight: 800;
  color: #0f172a;
  font-size: 1.05rem;
}

.plan-price{
  margin-top: 6px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-direction: column;
  align-items: flex-start; 
}

.plan-amount{
  font-size: 1.9rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.plan-period{
  color: rgba(15, 23, 42, 0.55);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Features */
.plan-features{
  list-style: none;
  padding: 0;
  margin: 14px 0 18px 0;
  display: grid;
  gap: 10px;
  color: rgba(15, 23, 42, 0.78);
  font-size: 0.92rem;
}

.plan-features i{
  color: #22c55e;
  margin-right: 8px;
  font-size: 0.95rem;
}

/* Botones */
.plan-btn{
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  border-radius: 12px;
  padding: 11px 14px;
  font-weight: 800;
  border: 1px solid rgba(15,23,42,0.10);
  margin-top: auto;
}

.plan-btn-soft{
  background: rgba(37,99,235,1);
  color: #fff;
  border-color: rgba(37,99,235,1);
  box-shadow: 0 10px 18px rgba(37, 99, 235, 0.18);
}

.plan-btn-soft:hover{
  transform: translateY(-1px);
  opacity: .95;
  background: rgb(30, 75, 170);
  color: #fff;
  border-color: rgb(30, 75, 170);
  box-shadow: 0 10px 18px rgba(37, 99, 235, 0.20);
}

.plan-btn-primary{
  background: rgba(37,99,235,1);
  color: #fff;
  border-color: rgba(37,99,235,1);
  box-shadow: 0 10px 18px rgba(37, 99, 235, 0.18);
}

.plan-card:hover .plan-btn-primary{
  transform: translateY(-1px);
  opacity: .95;
  background: rgb(30, 75, 170);
  color: #fff;
  border-color: rgb(30, 75, 170);
  box-shadow: 0 10px 18px rgba(37, 99, 235, 0.20);
}

.plan-card:hover .plan-badge{
  background: rgb(30, 75, 170);
}

/* Card destacada (mockup) */
.plan-card-featured{
  border: 2px solid rgba(37,99,235,1);
  box-shadow: 0 18px 30px rgba(37,99,235,0.14);
  transform: translateY(-6px);
}

.plan-badge{
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(37,99,235,1);
  color: #fff;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 999px;
}



/* Responsive */
@media (max-width: 991px){
  .plans-grid{
    grid-template-columns: 1fr;
  }
  .plan-card-featured{
    transform: none;
  }
}

.plan-card-empty {
  grid-column: 1 / -1;
  /* ocupa todo el ancho del grid */
  max-width: 520px;
  margin: 0 auto;
  /* lo centra */
  text-align: center;
}

/* Mantener texto blanco en botón recomendado */
.plan-btn-primary,
.plan-btn-primary:hover,
.plan-btn-primary:focus,
.plan-btn-primary:active,
.plan-btn-primary:visited {
  color: #fff;
}

.plan-btn:hover,
.plan-btn:focus{
  text-decoration: none;
}