/* ==========================================================================
   CONTRATOEC — PLANES Y PRECIOS (ESTILO APPLE MINIMAL)
   Paleta oficial: Base #0f172a, Tarjetas #1e293b, Acento #f97316
   Sin emojis, tipografía refinada, layout simple y ligero
   ========================================================================== */

/* ─── BASE Y SCROLL FLUIDO ─── */
html, body.pricing-page {
  min-height: 100vh;
  background-color: #0f172a;
  color: #f8fafc;
  font-family: var(--font);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.pricing-page {
  display: flex;
  flex-direction: column;
}

/* ─── CONTENEDOR PRINCIPAL ─── */
.pricing-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  box-sizing: border-box;
}

/* ─── HERO APPLE MINIMAL ─── */
.pricing-hero {
  padding: 52px 0 36px;
  text-align: center;
  position: relative;
}

.pricing-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(249, 115, 22, 0.08);
  border: 1px solid rgba(249, 115, 22, 0.25);
  color: #f97316;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.pricing-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #f97316;
  box-shadow: 0 0 8px rgba(249, 115, 22, 0.6);
}

.pricing-title {
  font-family: var(--font-display);
  font-size: var(--text-editorial-title);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.028em;
  color: #f8fafc;
  max-width: 820px;
  margin: 0 auto 16px;
}

.pricing-title .pricing-highlight {
  background: linear-gradient(135deg, #f8fafc 40%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pricing-sub {
  font-size: var(--text-editorial-sub);
  color: #94a3b8;
  max-width: 68ch;
  margin: 0 auto 20px;
  line-height: 1.58;
  font-weight: 400;
}

.pricing-info-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 5px 14px;
  border-radius: 9999px;
  font-size: 0.78rem;
  color: #94a3b8;
  font-weight: 500;
}

.pricing-info-pill svg {
  color: #f97316;
  flex-shrink: 0;
}

/* ─── GRID DE LOS 3 PLANES ─── */
.plans-section {
  padding: 16px 0 64px;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.plan-card {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.plan-card:hover {
  border-color: rgba(249, 115, 22, 0.35);
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(249, 115, 22, 0.15);
  transform: translateY(-2px);
}

/* Tarjeta destacada (BÁSICO) */
.plan-card.featured {
  border-color: rgba(249, 115, 22, 0.45);
  background: linear-gradient(180deg, #1e293b 0%, #1a2333 100%);
  box-shadow: 0 14px 36px -8px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(249, 115, 22, 0.25);
}

.plan-card-tag-popular {
  display: inline-block;
  align-self: flex-start;
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.35);
  color: #f97316;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 9999px;
  margin-bottom: 14px;
}

.plan-header {
  margin-bottom: 24px;
}

.plan-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 12px;
}

.plan-card.featured .plan-eyebrow {
  color: #f97316;
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 12px;
}

.plan-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f8fafc;
}

.plan-amount {
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 800;
  color: #f8fafc;
  line-height: 1;
  letter-spacing: -0.03em;
}

.plan-period {
  font-size: 0.9rem;
  color: #94a3b8;
  font-weight: 500;
}

.plan-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
  min-height: 44px;
}

/* Lista de características */
.plan-features-list {
  list-style: none;
  padding: 20px 0 0 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex: 1;
}

.plan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  color: #cbd5e1;
  line-height: 1.45;
}

.plan-check-icon {
  width: 15px;
  height: 15px;
  color: #f97316;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Botones de acción */
.pricing-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  box-sizing: border-box;
}

.pricing-btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f8fafc;
}

.pricing-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  transform: translateY(-1px);
}

.pricing-btn-primary {
  background: #f97316;
  border: 1px solid #f97316;
  color: #ffffff;
  box-shadow: 0 2px 14px rgba(249, 115, 22, 0.35);
}

.pricing-btn-primary:hover {
  background: #ea580c;
  border-color: #ea580c;
  box-shadow: 0 4px 18px rgba(249, 115, 22, 0.45);
  transform: translateY(-1px);
}

/* ─── PREGUNTAS FRECUENTES (FAQ) ─── */
.pricing-faq-section {
  padding: 24px 0 64px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-header {
  text-align: center;
  margin-bottom: 36px;
}

.faq-title {
  font-family: var(--font-display);
  font-size: var(--text-section-title);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f8fafc;
  margin: 0 0 10px;
}

.faq-sub {
  font-size: 0.95rem;
  color: #94a3b8;
  max-width: 580px;
  margin: 0 auto;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.faq-card {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px 22px;
  transition: all 0.2s ease;
}

.faq-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.faq-q {
  font-size: 0.96rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 8px 0;
  line-height: 1.35;
}

.faq-a {
  font-size: 0.86rem;
  color: #94a3b8;
  line-height: 1.55;
  margin: 0;
}

/* ─── BANNER CTA FINAL ─── */
.pricing-cta-section {
  padding: 0 0 72px;
}

.pricing-cta-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(249, 115, 22, 0.25);
  border-radius: 20px;
  padding: 40px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px -8px rgba(0, 0, 0, 0.4);
}

.pricing-cta-title {
  font-family: var(--font-display);
  font-size: var(--text-section-title);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f8fafc;
  margin: 0 0 10px;
}

.pricing-cta-sub {
  font-size: 0.95rem;
  color: #94a3b8;
  max-width: 540px;
  margin: 0 auto 24px;
  line-height: 1.5;
}

.pricing-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 980px) {
  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .pricing-hero {
    padding: 48px 0 36px;
  }
  .pricing-cta-card {
    padding: 30px 20px;
  }
  .pricing-cta-title {
    font-size: 1.3rem;
  }
}
