/* ============================================================================
   QSALUD REBRAND · TYPOGRAPHY v1.0
   Fraunces (titulares) + Inter (cuerpo/UI) + IBM Plex Mono (etiquetas).
   Sustituye Montserrat / Instrument Serif / Plus Jakarta Sans / Proxima Nova.
   Sin selectores universales (*) para no romper fuentes de iconos.
   ============================================================================ */

/* ── Cuerpo ──────────────────────────────────────────────────────────────── */
body{
  font-family: var(--qs-font-body);
  font-weight: var(--qs-w-regular);       /* theme-style ponía body en 700 */
  color: var(--qs-ink-soft);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

p, li, td, th, label, legend, figcaption, blockquote{
  font-family: var(--qs-font-body);
}

/* UI: formularios y botones heredan Inter */
button, input, select, textarea, .bricks-button{
  font-family: var(--qs-font-body);
}

/* ── Titulares: Fraunces ─────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6{
  font-family: var(--qs-font-display);
  color: var(--qs-ink);
  letter-spacing: var(--qs-ls-tight);
}
h1, h2{ font-weight: var(--qs-w-regular); line-height: var(--qs-lh-tight); }
h3, h4, h5, h6{ font-weight: var(--qs-w-medium); line-height: var(--qs-lh-head); }

/* Escala fluida (sustituye los 4rem/3.2rem fijos del theme-style) */
h1{ font-size: var(--qs-fs-h1); }
h2{ font-size: var(--qs-fs-h2); }
h3{ font-size: var(--qs-fs-h3); }
h4{ font-size: var(--qs-fs-h4); }

/* Firma editorial: una palabra clave en cursiva azul dentro del titular */
h1 em, h2 em, h3 em, .brxe-heading em{
  font-style: italic;
  color: var(--qs-blue-deep);
}
