/* La letra del sitio: Schibsted Grotesk (elegida por Bryan el 2026-11-24 en la comparación tipográfica, opción C).
   Todo lo de la letra vive en este archivo: las @font-face, los respaldos, los tokens y los pesos, tamaños de interlineado
   y espaciados de titulares, texto y cifras. Lo cargan todas las páginas justo después de site.css (y antes de suave.css),
   también /links, que no usa suave.css.
   - Archivos propios en assets/fonts (licencia OFL, OFL-Schibsted-Grotesk.txt): latino y latino extendido, fuente
     variable recortada a peso 400 a 700. Solo el latino se precarga (cubre tildes, ñ, ¿ y ¡); el extendido llega solo
     si una página usa un carácter de ese rango.
   - En los archivos, las cifras tabulares (tnum) cambian solo los dígitos: la fuente original también ensanchaba coma,
     punto, dos puntos, punto y coma, # y % al ancho de una cifra, y en la tabla de Administración se leía "tú , a".
   - Pesos: 400 texto; 500 menú, etiquetas y datos; 600 titulares y botones; 700 solo cifras grandes.
   - Interlineado: 1.05 en h1, 1.1 en h2, 1.25 en h3, el del sitio en texto corrido.
   - Respaldo sin salto: Arial ajustado a las medidas de Schibsted Grotesk (size-adjust y ascent/descent-override,
     medidos con el mismo texto), uno para texto (400) y otro para titulares (600). */
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-grotesk-latin.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-grotesk-latin-ext.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face { font-family: "Schibsted texto respaldo"; src: local("Arial"), local("ArialMT"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 103.4%; ascent-override: 94.4%; descent-override: 24.9%; line-gap-override: 0%; }
@font-face { font-family: "Schibsted titulares respaldo"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Neue Bold"), local("Helvetica Bold");
  font-weight: 600; size-adjust: 99.7%; ascent-override: 97.9%; descent-override: 25.9%; line-gap-override: 0%; }
:root {
  --font-titulares: "Schibsted Grotesk", "Schibsted titulares respaldo", system-ui, sans-serif;
  --font-text: "Schibsted Grotesk", "Schibsted texto respaldo", system-ui, sans-serif;
  --font-display: var(--font-titulares);
}
body { font-family: var(--font-text); font-kerning: normal; }

/* titles: 600, the final spacing of the comparison page */
html[data-estilo="suave"] :is(h1, h2, h3, .h-display) {
  font-family: var(--font-titulares) !important; font-stretch: 100% !important;
  font-size-adjust: none; font-variation-settings: normal !important;
}
html[data-estilo="suave"] :is(h1, h2) { font-weight: 600 !important; }
html[data-estilo="suave"] h1 { letter-spacing: -0.03em !important; line-height: 1.05; }
html[data-estilo="suave"] h2 { letter-spacing: -0.022em !important; line-height: 1.1; }
html[data-estilo="suave"] h3 { font-weight: 600 !important; letter-spacing: -0.005em !important; line-height: 1.25; }
html[data-estilo="suave"] :is(.faq, .c-faq) summary h3 { font-family: var(--font-text) !important; }
html[data-estilo="suave"] main .legal .legal__texto :is(h1, h2) { font-family: var(--font-titulares) !important; font-weight: 600 !important; }
html[data-estilo="suave"] main .legal .legal__texto h1 { letter-spacing: -0.03em !important; }
html[data-estilo="suave"] main .legal .legal__texto h2 { letter-spacing: -0.022em !important; }
html[data-estilo="suave"] :is(h1, h2, h3) { text-wrap: balance; }
html[data-estilo="suave"] :is(p, li, dd, blockquote, figcaption) { text-wrap: pretty; }

/* menu, labels and small data at 500; buttons at 600 */
html[data-estilo="suave"] :is(.nav__link, .nav__menu a, .footer__legal, .site-foot__links a, label, legend, .t-label) { font-weight: 500; }
html[data-estilo="suave"] .btn { font-weight: 600 !important; letter-spacing: 0 !important; }

/* figures: lining everywhere, tabular where they stand in columns */
html[data-estilo="suave"] body { font-variant-numeric: lining-nums; }
html[data-estilo="suave"] :is(table, .a-tabla, .calc, .tel, .tz__tel, .a-cifras__lista, .rows) { font-variant-numeric: lining-nums tabular-nums; }
/* the big figures (the 1,400 of Inicio, the 20 % and "En cifras" of /administracion): 700, used only here */
html[data-estilo="suave"] :is(#que-es .qe__big .qe__n, .a-fee__cifra strong, .a-cifras__lista dd) {
  font-family: var(--font-titulares) !important; font-weight: 700 !important; letter-spacing: -0.02em !important;
  font-stretch: 100% !important; font-variation-settings: normal !important; font-size-adjust: none; font-variant-numeric: lining-nums; }
/* "Más de" sits above the figure, small, so the big number carries the weight alone */
html[data-estilo="suave"] #que-es .qe__big .qe__mas { font: 500 20px/1.2 var(--font-text); letter-spacing: 0; color: var(--navy); margin-bottom: calc(var(--s-3) * -0.5); }

/* sizes the new face needed (2026-11-24): on a phone the titles of "Así trabajamos" / "How we work" sit in a narrow
   first column (about 91 px at 390), and "unprompted" in Schibsted at 18 px is 102 px wide; at 16 px it fits */
@media (max-width: 639px) { html[data-estilo="suave"] .a-trabajo > div:not(.a-trabajo__head) h3 { font-size: 16px; } }
/* /compramos/, "Qué pasa después de que nos escribes": at 44 px it is 779 px wide in a 760 px heading box and broke into
   two lines on a computer, which left the first column much taller than the second; at 42 px at most it stays on one */
html[data-estilo="suave"] main .c-proc--sin-foto .sec-head h2 { font-size: clamp(28px, 3vw, 42px) !important; }
