/**
 * EntregaChef — coherencia visual (contraste, botones, alineación)
 * Carga al final: corrige conflictos entre tema oscuro y superficies claras.
 */

:root {
  --ec-ink-on-light: #0f172a;
  --ec-ink-2-on-light: #1e293b;
  --ec-ink-3-on-light: #334155;
  --ec-slate-on-light: #475569;
  --ec-card-stroke-on-light: 1px solid rgba(15, 23, 42, 0.08);
  --ec-card-shadow-on-light: var(--ec-elev-2);
  --ec-surface-dark-card: #1e293b;
  --ec-surface-dark-card-soft: #263348;
  --ec-btn-min-height: 3.65rem;
  --ec-btn-pad-y: 0.9rem;
  --ec-btn-pad-x: 1.35rem;
  --ec-btn-font: clamp(0.72rem, 1.65vw, 0.95rem);
}

/* ── Superficies claras (solo tema claro) ── */
body.next-light-theme :is(
  .pricing-plans-stack .sc-bf8861a7-0,
  .ec-index-pricing__stack .sc-bf8861a7-0,
  #modulos .kAPVQr,
  #plataforma .kAPVQr,
  .iPKsGD > .kAPVQr,
  .ec-features-grid .kAPVQr,
  .gtWuaL .jpuOME.ec-contact-sidebar,
  .gtWuaL .eStIuS,
  #contacto.iHXKrY .jpuOME,
  #contacto.iHXKrY .eStIuS
) {
  --ec-ink-3: var(--ec-ink-3-on-light);
  --slate: var(--ec-slate-on-light);
  color: var(--ec-ink-on-light);
}

body.next-light-theme :is(
  .pricing-plans-stack .sc-bf8861a7-0,
  .ec-index-pricing__stack .sc-bf8861a7-0,
  #modulos .kAPVQr,
  #modulos .ec-feature-card,
  #plataforma .kAPVQr,
  #plataforma .ec-feature-card,
  .ec-features-grid .kAPVQr,
  .gtWuaL .jpuOME.ec-contact-sidebar,
  .gtWuaL .eStIuS,
  #contacto.iHXKrY .jpuOME,
  #contacto.iHXKrY .eStIuS
) {
  background: #ffffff !important;
  border-color: rgba(148, 163, 184, 0.35) !important;
  box-shadow: var(--ec-card-shadow-on-light) !important;
  color: var(--ec-ink-on-light) !important;
}

body.next-light-theme :is(#plataforma, #modulos) .ec-feature-card .kugkhQ,
body.next-light-theme :is(#plataforma, #modulos) .ec-feature-card .huhnXB,
body.next-light-theme :is(#plataforma, #modulos) .kAPVQr .kugkhQ,
body.next-light-theme :is(#plataforma, #modulos) .kAPVQr .huhnXB {
  color: var(--ec-ink-on-light) !important;
  opacity: 1 !important;
}

body.next-light-theme :is(#plataforma, #modulos) .ec-feature-card .huhnXB,
body.next-light-theme :is(#plataforma, #modulos) .kAPVQr .huhnXB {
  color: var(--ec-slate-on-light) !important;
}

.ec-feature-plan-badge--standard {
  color: var(--ec-slate-on-light) !important;
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
}

.ec-feature-plan-badge--annual {
  color: var(--ec-slate-on-light) !important;
}

/* Pricing — texto legible sobre tarjetas (tema claro) */
body.next-light-theme :is(.pricing-plans-stack, .ec-index-pricing__stack)
  :is(.kpCdUU, .lnguyz, .sc-bf8861a7-0) {
  color: var(--ec-ink-on-light);
}

body.next-light-theme :is(.pricing-plans-stack, .ec-index-pricing__stack)
  :is(.kpCdUU, .lnguyz, .sc-bf8861a7-0)
  :is(.kmXDaL, .hRwyNG) {
  color: var(--ec-ink-on-light) !important;
  opacity: 1 !important;
}

body.next-light-theme :is(.pricing-plans-stack, .ec-index-pricing__stack)
  :is(.kpCdUU, .lnguyz, .sc-bf8861a7-0)
  :is(.jOxIPu, .ec-plan-subtitle) {
  color: var(--ec-slate-on-light) !important;
  opacity: 1 !important;
}

body.next-light-theme :is(.pricing-plans-stack, .ec-index-pricing__stack)
  :is(.kpCdUU, .lnguyz, .sc-bf8861a7-0)
  :is(.jmpCRK, .dBVcrZ, .dBVcrZ li, .ec-pricing-features, .ec-pricing-features li) {
  color: var(--ec-ink-3-on-light) !important;
  opacity: 1 !important;
}

body.next-light-theme :is(.pricing-plans-stack, .ec-index-pricing__stack)
  :is(.kpCdUU, .lnguyz, .sc-bf8861a7-0)
  :is(.ec-plan-annual-detail, .ec-plan-monthly-push) {
  color: var(--ec-slate-on-light) !important;
  opacity: 1 !important;
}

body.next-light-theme :is(.pricing-plans-stack, .ec-index-pricing__stack)
  :is(.kpCdUU, .lnguyz, .sc-bf8861a7-0)
  .ec-plan-annual-savings {
  color: var(--ec-ink-2-on-light) !important;
}

body.next-light-theme :is(.pricing-plans-stack, .ec-index-pricing__stack)
  :is(.kpCdUU, .lnguyz, .sc-bf8861a7-0)
  .ec-plan-roi {
  color: var(--ec-ink-2-on-light) !important;
  background: rgba(249, 115, 22, 0.1) !important;
  opacity: 1 !important;
}

body.next-light-theme :is(.pricing-plans-stack, .ec-index-pricing__stack)
  :is(.kpCdUU, .lnguyz, .sc-bf8861a7-0)
  .ec-plan-calc-note {
  color: #c2410c !important;
  opacity: 1 !important;
}

body.next-light-theme :is(.pricing-plans-stack, .ec-index-pricing__stack)
  :is(.kpCdUU, .lnguyz, .sc-bf8861a7-0)
  :is(.hMuOeF.js-plan-price, .hMuOeF.ec-index-price)
  .js-price-value {
  color: var(--ec-ink-on-light) !important;
}

body.next-light-theme :is(.pricing-plans-stack, .ec-index-pricing__stack)
  :is(.kpCdUU, .lnguyz, .sc-bf8861a7-0).ec-plan--featured
  :is(.hMuOeF.js-plan-price, .hMuOeF.ec-index-price)
  .js-price-value,
body.next-light-theme :is(.pricing-plans-stack, .ec-index-pricing__stack)
  :is(.kpCdUU, .lnguyz, .sc-bf8861a7-0)
  .ec-plan-price--annual-discount
  .js-price-value {
  color: var(--heat, #f97316) !important;
}

body.next-light-theme .pricing-plans-stack .hMuOeF.js-plan-price .js-price-suffix,
body.next-light-theme .pricing-plans-stack .hMuOeF.ec-index-price > span,
body.next-light-theme .ec-index-pricing__stack .hMuOeF.ec-index-price > span,
body.next-light-theme .ec-index-pricing__stack .hMuOeF.js-plan-price .js-price-suffix {
  color: var(--ec-slate-on-light) !important;
  opacity: 1 !important;
}

body.next-light-theme .pricing-plans-stack .ec-pricing-disclaimer__text {
  color: var(--ec-slate-on-light) !important;
}

/* Contacto — sidebar y formulario (tema claro) */
body.next-light-theme .ec-contact-sidebar__text {
  color: var(--ec-slate-on-light) !important;
}

body.next-light-theme .ec-contact-sidebar__text--emphasis {
  color: var(--ec-ink-2-on-light) !important;
}

body.next-light-theme .gtWuaL .jpuOME.ec-contact-sidebar,
body.next-light-theme .gtWuaL .eStIuS,
body.next-light-theme #contacto.iHXKrY .jpuOME,
body.next-light-theme #contacto.iHXKrY .eStIuS {
  background: var(--white) !important;
  border: var(--ec-card-stroke-on-light) !important;
  box-shadow: var(--ec-card-shadow-on-light) !important;
  border-radius: var(--ec-radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-sizing: border-box;
}

/* ═══════════════════════════════════════════════════════════════
   Tema oscuro — true dark: sin superficies blancas en el index
   ═══════════════════════════════════════════════════════════════ */
body.next-dark-theme :is(
  .pricing-plans-stack .sc-bf8861a7-0,
  .ec-index-pricing__stack .sc-bf8861a7-0,
  .pricing-plans-stack .kpCdUU,
  .pricing-plans-stack .lnguyz,
  .ec-index-pricing__stack .kpCdUU,
  .ec-index-pricing__stack .lnguyz,
  #modulos .kAPVQr,
  #modulos .ec-feature-card,
  #plataforma .kAPVQr,
  #plataforma .ec-feature-card,
  .ec-features-grid .kAPVQr,
  .iPKsGD > .kAPVQr,
  .gtWuaL .jpuOME.ec-contact-sidebar,
  .gtWuaL .eStIuS,
  #contacto.iHXKrY .jpuOME,
  #contacto.iHXKrY .eStIuS,
  .ec-landing-section .ec-card:not(.ec-ba-card--after):not(.ec-surface-dark),
  .ec-landing-section .ec-calc-panel,
  .ec-landing-section .ec-calc-mini__fields,
  .ec-landing-section .ec-calc-mini__results,
  .ec-landing-section .ec-ba-card--before.ec-card,
  .ec-impl-included-panel,
  .ec-impl-included-banner,
  .ec-impl-included-compact,
  .wquXK .ec-contact-form.ec-card,
  .ec-scale-item--features,
  .ec-demo-showcase__card,
  .ec-fit-card,
  .ec-why-card,
  .ec-eval-card,
  .ec-scale-item,
  .ec-pain-bar__item,
  .ec-impl-step,
  .ec-compare-table,
  .ec-annual-highlight,
  .ec-social-honest,
  .ec-proof-card,
  .ec-strategic-quote
) {
  background: var(--ec-surface-dark-card) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: var(--ec-card-shadow) !important;
  color: #f8fafc !important;
}

body.next-dark-theme .sc-bf8861a7-0.ec-plan--featured,
body.next-dark-theme .sc-bf8861a7-0.lnguyz.ec-plan--featured,
body.next-dark-theme .pricing-plans-stack .lnguyz,
body.next-dark-theme .ec-index-pricing__stack .lnguyz {
  background: linear-gradient(165deg, #263348 0%, #1e293b 55%, #1a2230 100%) !important;
  border-color: rgba(255, 106, 26, 0.35) !important;
}

body.next-dark-theme .ec-impl-included-panel,
body.next-dark-theme .ec-impl-included-banner {
  background: linear-gradient(135deg, rgba(255, 106, 26, 0.14) 0%, #1e293b 58%) !important;
}

body.next-dark-theme .ec-impl-included-panel__bullets li {
  background: rgba(15, 23, 42, 0.55) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #e2e8f0 !important;
}

body.next-dark-theme .ec-impl-included-panel__note {
  border-top-color: rgba(255, 255, 255, 0.1);
  color: #cbd5e1 !important;
}

/* Texto en tarjetas oscuras */
body.next-dark-theme :is(#plataforma, #modulos) .ec-feature-card .kugkhQ,
body.next-dark-theme :is(#plataforma, #modulos) .kAPVQr .kugkhQ,
body.next-dark-theme :is(.pricing-plans-stack, .ec-index-pricing__stack)
  :is(.kpCdUU, .lnguyz, .sc-bf8861a7-0)
  :is(.kmXDaL, .hRwyNG) {
  color: #f8fafc !important;
  opacity: 1 !important;
}

body.next-dark-theme :is(#plataforma, #modulos) .ec-feature-card .huhnXB,
body.next-dark-theme :is(#plataforma, #modulos) .kAPVQr .huhnXB,
body.next-dark-theme :is(.pricing-plans-stack, .ec-index-pricing__stack)
  :is(.kpCdUU, .lnguyz, .sc-bf8861a7-0)
  :is(.jOxIPu, .ec-plan-subtitle, .ec-plan-annual-detail, .ec-plan-monthly-push) {
  color: #cbd5e1 !important;
  opacity: 1 !important;
}

body.next-dark-theme :is(.pricing-plans-stack, .ec-index-pricing__stack)
  :is(.kpCdUU, .lnguyz, .sc-bf8861a7-0)
  :is(.jmpCRK, .dBVcrZ, .dBVcrZ li, .ec-pricing-features, .ec-pricing-features li),
body.next-dark-theme .ec-landing-section .ec-card:not(.ec-ba-card--after):not(.ec-surface-dark) .jmpCRK,
body.next-dark-theme .ec-landing-section .ec-card:not(.ec-ba-card--after):not(.ec-surface-dark) .jmpCRK li,
body.next-dark-theme .ec-landing-section .ec-ba-card--before .jmpCRK,
body.next-dark-theme .ec-landing-section .ec-ba-card--before .jmpCRK li {
  color: #cbd5e1 !important;
  opacity: 1 !important;
}

body.next-dark-theme :is(.pricing-plans-stack, .ec-index-pricing__stack)
  :is(.kpCdUU, .lnguyz, .sc-bf8861a7-0)
  .ec-plan-roi {
  color: #fde68a !important;
  background: rgba(255, 106, 26, 0.16) !important;
}

body.next-dark-theme :is(.pricing-plans-stack, .ec-index-pricing__stack)
  :is(.kpCdUU, .lnguyz, .sc-bf8861a7-0)
  .ec-plan-calc-note {
  color: #fdba74 !important;
}

body.next-dark-theme :is(.pricing-plans-stack, .ec-index-pricing__stack)
  :is(.kpCdUU, .lnguyz, .sc-bf8861a7-0)
  :is(.hMuOeF.js-plan-price, .hMuOeF.ec-index-price)
  .js-price-value {
  color: #f8fafc !important;
}

body.next-dark-theme :is(.pricing-plans-stack, .ec-index-pricing__stack)
  :is(.kpCdUU, .lnguyz, .sc-bf8861a7-0).ec-plan--featured
  :is(.hMuOeF.js-plan-price, .hMuOeF.ec-index-price)
  .js-price-value,
body.next-dark-theme :is(.pricing-plans-stack, .ec-index-pricing__stack)
  :is(.kpCdUU, .lnguyz, .sc-bf8861a7-0)
  .ec-plan-price--annual-discount
  .js-price-value {
  color: var(--heat, #f97316) !important;
}

body.next-dark-theme .pricing-plans-stack .hMuOeF.js-plan-price .js-price-suffix,
body.next-dark-theme .pricing-plans-stack .hMuOeF.ec-index-price > span,
body.next-dark-theme .ec-index-pricing__stack .hMuOeF.ec-index-price > span,
body.next-dark-theme .ec-index-pricing__stack .hMuOeF.js-plan-price .js-price-suffix {
  color: #94a3b8 !important;
}

body.next-dark-theme .ec-contact-sidebar__text {
  color: #cbd5e1 !important;
}

body.next-dark-theme .ec-contact-sidebar__text--emphasis {
  color: #f8fafc !important;
}

body.next-dark-theme .ec-landing-section .ec-card:not(.ec-ba-card--after):not(.ec-surface-dark) .dlwjbS,
body.next-dark-theme .ec-landing-section .ec-ba-card--before .dlwjbS {
  color: #cbd5e1 !important;
}

body.next-dark-theme .ec-feature-plan-badge--standard,
body.next-dark-theme #modulos .ec-feature-plan-badge {
  background: rgba(255, 106, 26, 0.14) !important;
  color: #fdba74 !important;
  border-color: rgba(255, 106, 26, 0.28) !important;
}

body.next-dark-theme .pricing-plans-stack .ec-plan-cta--secondary.fiSGdP:not(.ec-plan-cta--disabled),
body.next-dark-theme .ec-index-pricing__stack .ec-plan-cta--secondary.fiSGdP {
  background: #1e293b !important;
  color: var(--heat) !important;
  border-color: rgba(255, 106, 26, 0.45) !important;
}

body.next-dark-theme #inicio .cKWTai,
body.next-dark-theme .ec-landing-section .cKWTai,
body.next-dark-theme .ec-landing-section a.cKWTai,
body.next-dark-theme .ec-card .cKWTai,
body.next-dark-theme .ec-index-pricing__cta .cKWTai,
body.next-dark-theme .gtWuaL .cKWTai,
body.next-dark-theme #contacto.iHXKrY .cKWTai {
  background: #1e293b !important;
  color: #f8fafc !important;
}

body.next-dark-theme .ec-landing-section .eTdnKC:focus,
body.next-dark-theme #contacto.iHXKrY .eTdnKC:focus,
body.next-dark-theme .gtWuaL .eTdnKC:focus,
body.next-dark-theme .eTdnKC:focus {
  background: #262626 !important;
}

body.next-dark-theme .ec-mobile-sticky-cta {
  background: rgba(15, 23, 42, 0.96) !important;
  border-top-color: rgba(255, 255, 255, 0.12);
}

body.next-dark-theme .ec-demo-showcase__card--featured {
  background: linear-gradient(
    165deg,
    rgba(255, 106, 26, 0.14) 0%,
    #1e293b 55%
  ) !important;
  border-color: rgba(255, 106, 26, 0.35) !important;
}

body.next-dark-theme .ec-landing-section--mist .ec-scale-band:not(.ec-scale-grid) {
  background: transparent !important;
}

body.next-dark-theme .ec-scale-item--features .ec-scale-item__text {
  color: #cbd5e1 !important;
}

body.next-dark-theme .ec-mobile-sticky-cta__btn--secondary {
  background: #1e293b !important;
  color: #f8fafc !important;
}

.gtWuaL .iHXKrY {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: var(--ec-gap-lg);
  width: 100%;
}

.gtWuaL .iHXKrY .jpuOME.ec-contact-sidebar {
  margin-right: 0;
  margin-bottom: 0;
}

@media (min-width: 769px) {
  .gtWuaL .iHXKrY {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    align-items: stretch;
  }
}

/* Implementación incluida — lista sin doble marcador */
.jmpCRK.ec-list-check,
.jmpCRK.ec-list-check ul,
.jmpCRK.ec-list-check ol {
  list-style: none !important;
  margin: 0;
  padding: 0;
}

.jmpCRK.ec-list-check li {
  list-style: none !important;
}

.jmpCRK.ec-list-check li::before {
  content: "✓" !important;
  transform: none !important;
  font-family: inherit !important;
  color: var(--ec-profit-d, #16a34a) !important;
  font-weight: 700 !important;
  left: 0 !important;
  top: 0.05em !important;
}

.ec-impl-included-banner {
  text-align: center;
}

.ec-impl-included-banner__title,
.ec-impl-included-banner__lead {
  text-align: center;
  margin-inline: auto;
}

.ec-impl-included-panel__bullets {
  align-items: stretch;
}

/* Botones — altura y padding unificados */
.ec-btn-normalize.bDjvej,
.ec-btn-normalize.cKWTai,
.ec-contact-form__actions .bDjvej,
.ec-contact-form__actions .cKWTai,
.ec-contact-form__actions a.cKWTai,
.ec-contact-actions .bDjvej,
.ec-contact-actions .cKWTai,
.ec-contact-actions a.cKWTai,
.ec-contact-actions--funnel .bDjvej,
.ec-contact-actions--funnel .cKWTai,
.ec-contact-actions--funnel a.cKWTai,
.ec-demo-ctas .bDjvej,
.ec-demo-ctas .cKWTai,
.ec-demo-ctas a.cKWTai,
.ec-index-pricing__cta .bDjvej,
.ec-index-pricing__cta .cKWTai,
.ec-index-pricing__cta a.cKWTai {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: var(--ec-btn-min-height) !important;
  padding: var(--ec-btn-pad-y) var(--ec-btn-pad-x) !important;
  font-size: var(--ec-btn-font) !important;
  line-height: 1.25 !important;
  text-align: center !important;
  white-space: normal !important;
  box-sizing: border-box !important;
}

.ec-contact-form__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--ec-gap-sm);
  align-items: stretch;
  margin-top: 1rem;
}

.ec-contact-form__actions .ec-contact-form__submit,
.ec-contact-form__actions .ec-contact-form__wa,
.ec-contact-form__actions .ec-contact-form__guided {
  flex: unset;
  width: 100%;
  margin-top: 0;
}

@media (max-width: 720px) {
  .ec-contact-form__actions {
    grid-template-columns: 1fr;
  }
}

/* CTA final — alineación secundaria */
.ec-contact-actions--funnel {
  width: 100%;
  max-width: 36rem;
  margin-inline: auto;
}

.ec-contact-actions__secondary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem 0.85rem;
  text-align: center;
  line-height: 1.5;
  color: inherit;
}

.ec-contact-actions__secondary .cKWTai,
.ec-contact-actions__secondary a.cKWTai {
  margin: 0;
  min-height: var(--ec-btn-min-height) !important;
  padding: var(--ec-btn-pad-y) var(--ec-btn-pad-x) !important;
}

.ec-contact-actions__secondary a.kKLYha {
  display: inline-flex;
  align-items: center;
}

/* Grillas de CTAs horizontales */
.ec-contact-actions:not(.ec-contact-actions--funnel),
.ec-demo-ctas,
.ec-index-pricing__cta {
  align-items: stretch !important;
}

.ec-contact-actions:not(.ec-contact-actions--funnel) .bDjvej,
.ec-contact-actions:not(.ec-contact-actions--funnel) .cKWTai,
.ec-contact-actions:not(.ec-contact-actions--funnel) a.cKWTai {
  flex: 1 1 12rem;
  max-width: 100%;
}

@media (max-width: 640px) {
  .ec-contact-actions:not(.ec-contact-actions--funnel),
  .ec-demo-ctas,
  .ec-index-pricing__cta {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .ec-contact-actions:not(.ec-contact-actions--funnel) .bDjvej,
  .ec-contact-actions:not(.ec-contact-actions--funnel) .cKWTai,
  .ec-demo-ctas .bDjvej,
  .ec-demo-ctas .cKWTai,
  .ec-index-pricing__cta .bDjvej,
  .ec-index-pricing__cta .cKWTai {
    width: 100%;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Ajustes a11y — contraste y tamaño (jul 2026)
   ═══════════════════════════════════════════════════════════════ */

/* Index precios — CTAs del pie: legibles (anula --ec-btn-font pequeño) */
.ec-index-pricing__cta > a,
.ec-index-pricing__cta > .bDjvej,
.ec-index-pricing__cta > .cKWTai {
  font-size: clamp(1rem, 1.5vw, 1.15rem) !important;
  min-height: 3.75rem !important;
  padding: 0.95rem 1.5rem !important;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: 0.01em !important;
  line-height: 1.25 !important;
}

body.next-dark-theme .ec-index-pricing__cta > .cKWTai,
body.next-dark-theme .ec-index-pricing__cta > a.cKWTai {
  background: #1e293b !important;
  color: #f8fafc !important;
  border: 1.5px solid rgba(249, 115, 22, 0.55) !important;
  box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.12) !important;
}

body.next-dark-theme .ec-index-pricing__cta > .cKWTai span,
body.next-dark-theme .ec-index-pricing__cta > a.cKWTai span {
  color: var(--heat, #f97316) !important;
}

/* Plan Plus — CTA naranja sólido (anula ghost cKWTai en tema oscuro) */
body.next-dark-theme .ec-index-pricing__stack a.ec-plan-cta--featured.fiSGdP,
body.next-dark-theme .pricing-plans-stack a.ec-plan-cta--featured.fiSGdP,
.ec-index-pricing__stack a.ec-plan-cta--featured.fiSGdP,
.pricing-plans-stack a.ec-plan-cta--featured.fiSGdP {
  color: #fff !important;
  background: var(--heat, #f97316) !important;
  border-color: var(--heat, #f97316) !important;
  box-shadow:
    0 8px 22px rgba(249, 115, 22, 0.38),
    0 3px 8px rgba(249, 115, 22, 0.24) !important;
}

body.next-dark-theme .ec-index-pricing__stack a.ec-plan-cta--featured.fiSGdP span,
body.next-dark-theme .pricing-plans-stack a.ec-plan-cta--featured.fiSGdP span {
  color: inherit !important;
}

/* Detalle facturación anual en tarjetas — más legible en oscuro */
body.next-dark-theme :is(.pricing-plans-stack, .ec-index-pricing__stack)
  :is(.kpCdUU, .lnguyz, .sc-bf8861a7-0)
  :is(.ec-plan-annual-detail, .ec-plan-monthly-push, .ec-index-price-note) {
  font-size: 0.9375rem !important;
  color: #e2e8f0 !important;
}

body.next-dark-theme :is(.pricing-plans-stack, .ec-index-pricing__stack)
  :is(.kpCdUU, .lnguyz, .sc-bf8861a7-0)
  .ec-plan-annual-savings {
  color: #f8fafc !important;
}

/* Implementación incluida — banner compacto en precios */
body.next-dark-theme .ec-impl-included-compact {
  background: rgba(22, 163, 74, 0.14) !important;
  border-color: rgba(74, 222, 128, 0.28) !important;
}

body.next-dark-theme .ec-impl-included-compact__title,
body.next-dark-theme .ec-impl-included-compact .hRwyNG {
  color: #f8fafc !important;
}

body.next-dark-theme .ec-impl-included-compact p,
body.next-dark-theme .ec-impl-included-compact .dlwjbS {
  color: #cbd5e1 !important;
}

/* Calculadora / proyección — etiquetas en tema oscuro */
body.next-dark-theme .ec-calc-breakdown__label {
  color: #e2e8f0 !important;
}

body.next-dark-theme .ec-calc-breakdown__row--cost .ec-calc-breakdown__value {
  color: #e2e8f0 !important;
}

body.next-dark-theme .ec-calc-breakdown__suffix {
  color: #94a3b8 !important;
}

/* Contacto — título sidebar */
body.next-dark-theme .gtWuaL .ec-contact-sidebar__title,
body.next-dark-theme #contacto.iHXKrY .ec-contact-sidebar__title {
  color: #f8fafc !important;
}

/* Contacto — botones del formulario */
.ec-contact-form__actions .bDjvej,
.ec-contact-form__actions .cKWTai,
.ec-contact-form__actions a.bDjvej,
.ec-contact-form__actions a.cKWTai {
  font-size: clamp(0.8rem, 1.35vw, 0.92rem) !important;
  min-height: 3.5rem !important;
  padding: 0.85rem 1rem !important;
  text-transform: none !important;
  letter-spacing: 0.02em !important;
  line-height: 1.2 !important;
}

body.next-dark-theme .ec-contact-form__actions .cKWTai,
body.next-dark-theme .ec-contact-form__actions a.cKWTai {
  background: transparent !important;
  color: #f8fafc !important;
  border: 1.5px solid rgba(248, 250, 252, 0.55) !important;
  box-shadow: none !important;
}

body.next-dark-theme .ec-contact-form__actions .cKWTai span,
body.next-dark-theme .ec-contact-form__actions a.cKWTai span {
  color: inherit !important;
}

/* pricing.html — disclaimer legal */
.ec-pricing-disclaimer__text {
  font-size: 0.9375rem !important;
  line-height: 1.6 !important;
  color: #334155 !important;
}

body.next-light-theme .pricing-plans-stack .ec-pricing-disclaimer__text {
  color: #334155 !important;
}

body.next-dark-theme .ec-pricing-disclaimer {
  background: #0f172a !important;
  border-top-color: rgba(255, 255, 255, 0.08) !important;
}

body.next-dark-theme .ec-pricing-disclaimer__text {
  color: #cbd5e1 !important;
}

body.next-dark-theme .ec-pricing-disclaimer__text strong {
  color: #f8fafc !important;
}
