/* Base: reset, tipografía y utilidades. Solo lee tokens. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--lienzo); color: var(--tinta);
  font-family: var(--font-texto); font-size: var(--t-cuerpo); line-height: var(--lh-cuerpo);
  font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
a { color: var(--acento); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--acento); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }

h1, h2, h3, h4 { font-family: var(--font-titulo); font-weight: var(--peso-titulo); letter-spacing: var(--tracking-titulo); margin: 0; color: var(--tinta); text-wrap: balance; }
.t-display { font-size: var(--t-display); line-height: var(--lh-display); letter-spacing: -0.03em; }
h1, .t-h1 { font-size: var(--t-h1); line-height: var(--lh-h1); }
h2, .t-h2 { font-size: var(--t-h2); line-height: var(--lh-h2); }
h3, .t-h3 { font-size: var(--t-h3); line-height: var(--lh-h3); letter-spacing: -0.012em; }
h4 { font-size: var(--t-cuerpo); line-height: 1.35; letter-spacing: -0.005em; }
p { margin: 0 0 var(--e-3); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
small, .t-chico { font-size: var(--t-chico); line-height: var(--lh-chico); }
.t-micro { font-size: var(--t-micro); line-height: var(--lh-micro); }
.t-2 { color: var(--tinta-2); } .t-3 { color: var(--tinta-3); }
.t-num { font-variant-numeric: tabular-nums; }
.t-mono { font-family: var(--font-mono); font-size: .92em; }
.t-fuerte { font-weight: 600; }
.rotulo { font-size: var(--t-micro); line-height: var(--lh-micro); font-weight: 600; color: var(--tinta-3); letter-spacing: .02em; }
ul.limpia, ol.limpia { list-style: none; margin: 0; padding: 0; }

/* Pila y fila */
.pila { display: flex; flex-direction: column; gap: var(--e-4); }
.pila-2 { display: flex; flex-direction: column; gap: var(--e-2); }
.pila-3 { display: flex; flex-direction: column; gap: var(--e-3); }
.pila-4 { display: flex; flex-direction: column; gap: var(--e-4); }
.pila-5 { display: flex; flex-direction: column; gap: var(--e-5); }
.pila-6 { display: flex; flex-direction: column; gap: var(--e-6); }
.fila { display: flex; align-items: center; gap: var(--e-3); }
.fila-2 { display: flex; align-items: center; gap: var(--e-2); }
.fila-arriba { align-items: flex-start; }
.envuelve { flex-wrap: wrap; }
.entre { justify-content: space-between; }
.crece { flex: 1 1 auto; min-width: 0; }
.fin { margin-left: auto; }
.grilla { display: grid; gap: var(--e-4); }
.grilla > * { min-width: 0; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-auto { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.g-lado { grid-template-columns: minmax(0, 1fr) 340px; gap: var(--e-5); align-items: start; }
@media (max-width: 1100px) { .g-lado { grid-template-columns: minmax(0, 1fr); } .g-4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 720px) { .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } }
.oculto-movil { } .solo-movil { display: none; }
@media (max-width: 720px) { .oculto-movil { display: none !important; } .solo-movil { display: revert; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.separador { height: 1px; background: var(--hilo); border: 0; margin: var(--e-5) 0; }
