/* Capa común de las páginas de Áreas: se carga al final de section_page.html
   para que las guías (Inventarios, Finanzas, Compras…) compartan tipografía,
   etiquetas y botones con el inicio y los módulos. Las maquetas de producto
   (tablas y etiquetas dentro de ventanas simuladas) no se tocan. */

/* La retícula decorativa del contenedor ya no se usa en ninguna página. */
.section-page::before,
.payable-page .pay-header::before,
.payable-page .pay-cta::before,
.cfdi-page .cfdi-hero::before,
.cfdi-page .cfdi-final::before {
  content: none;
}

/* Títulos: peso 600 y espaciado ajustado. Cada guía fija su propio peso con
   selectores más específicos, por eso esta capa usa !important. */
.section-page :is(h1, h2, h3) {
  font-weight: 600 !important;
}

.section-page :is(h1, h2) {
  letter-spacing: -0.03em !important;
}

.section-page h1 {
  line-height: 1.06;
}

/* Etiquetas sobre los títulos: en tipo oración, sin mayúsculas espaciadas. */
.section-page :is(
  .eyebrow, .kicker, .section-label,
  .pay-kicker, .pay-step-badge,
  .bnk-eyebrow, .bnk-sec-badge,
  .cfdi-eyebrow, .cfdi-sec-badge,
  .features-kicker, .features-hub-eyebrow, .finance-module-kicker,
  .cxp-eyebrow, .cxp-sec-badge,
  .fin-eyebrow, .fin-sec-badge,
  .inv-eyebrow,
  .log-eyebrow, .log-sec-label, .log-flow-eyebrow, .log-hero-modules-label,
  .ps-eyebrow, .ps-flow-eyebrow, .ps-step-kicker,
  .ret-stage-kicker, .sc-stage-tag,
  .com-eyebrow, .support-kicker
) {
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

/* Botones: píldora, peso 600 y sin resplandor, igual que en el inicio. */
.section-page :is(
  .btn,
  .pay-cta-btn,
  .bnk-btn, .bnk-cta-btn,
  .cfdi-btn, .cfdi-cta-btn,
  .cxp-btn, .cxp-cta-btn,
  .fin-btn, .fin-cta-btn,
  .inv-btn-fill, .inv-btn-ghost,
  .log-btn-fill, .log-btn-ghost,
  .ps-btn-fill, .ps-btn-ghost, .ps-btn-white,
  .sc-btn, .sc-btn-cta,
  .com-button, .dash-btn
) {
  border-radius: var(--radius-pill, 999px) !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

.section-page :is(.btn, .bnk-btn, .cfdi-btn, .cxp-btn, .fin-btn, .sc-btn, .com-button, .dash-btn,
  .inv-btn-fill, .log-btn-fill, .ps-btn-fill):active {
  transform: translateY(1px);
}

/* Números de métricas y precios con cifras alineadas. */
.section-page :is([class*="metric"], [class*="stat"], [class*="price"], [class*="amount"], [class*="kpi"]) {
  font-variant-numeric: tabular-nums;
}
