/* ================================================
   SERVICIOS.CSS
   ================================================ */

/* Se eliminó el override de body.nox-landing para que herede el fondo exacto del index */

/* Se eliminó el override de nav para heredar del index */

/* Hero: nox-landing.css pone fondo transparente — ok, no tocar */

/* CTA section wrapper */
.plans-cta-wrap {
  padding: 0 5% 100px;
}

/* ── Plans section ── */
.plans-section {
  padding: 20px 5% 80px;
  max-width: 1300px;
  margin: 0 auto;
}

.plans-section__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}

/* ── Plan card ── */
.plan-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 32px;
  color: #fff;
  backdrop-filter: blur(12px);
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 107, 44, 0.35);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.plan-card--featured {
  border-color: rgba(255, 107, 44, 0.3);
  box-shadow: 0 0 40px rgba(255, 107, 44, 0.1);
}

.plan-card__popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #FF6B2C;
  color: #fff;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.plan-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.plan-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 107, 44, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #FF6B2C;
  flex-shrink: 0;
}

.plan-card__name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
}

.plan-card__tag {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.plan-card__price {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: #fff;
}

.plan-card__currency {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.6);
}

.plan-card__period {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
}

.plan-card__content {
  margin-bottom: 28px;
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.7);
}

.plan-card__content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.plan-card__content li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
}

.plan-card__content li .fi {
  color: #FF6B2C;
  flex-shrink: 0;
}

.plan-card__btn {
  width: 100% !important;
  justify-content: center !important;
}

/* ── CTA ── */
.svc-cta {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 60px 40px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .plans-section__grid {
    grid-template-columns: 1fr;
  }

  .svc-cta {
    padding: 36px 20px;
  }
}

/* --- OVERRIDES FOR LIGHT THEME TO KEEP PLAN CARDS DARK --- */
body.light-theme .plan-card {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
}

body.light-theme .plan-card:hover {
  border-color: rgba(255, 107, 44, 0.35) !important;
}

body.light-theme .plan-card__name,
body.light-theme .plan-card__currency,
body.light-theme .plan-card__amount {
  color: #fff !important;
}

body.light-theme .plan-card__period,
body.light-theme .plan-card__content li {
  color: rgba(255, 255, 255, 0.7) !important;
}

body.light-theme .plan-card__tag {
  color: rgba(255, 255, 255, 0.5) !important;
}

body.light-theme .plan-card__content i {
  color: #FF6B2C !important;
}

body.light-theme .plan-card__btn {
  background: var(--saas-gradient-primary) !important;
  color: #fff !important;
  border: none !important;
}

body.light-theme .plan-card__btn:hover {
  background: var(--saas-gradient-primary) !important;
  transform: translateY(-2px);
  opacity: 0.9 !important;
}

body.light-theme .plan-card--featured .plan-card__btn {
  background: var(--saas-gradient-primary) !important;
  color: #fff !important;
}

body.light-theme .plan-card--featured .plan-card__btn:hover {
  background: var(--saas-gradient-primary) !important;
  opacity: 0.9 !important;
  transform: translateY(-2px);
}

/* Reducir altura del hero en servicios para que los planes se vean sin scroll */
body.light-theme .nox-hero {
  min-height: auto !important;
  padding-top: 140px !important;
  padding-bottom: 20px !important;
}