/* Micrositios del índice: letra y estilo del sitio (24-nov-2026; Rod: «primero los recorridos de España y Chile y letra y estilo
   de los micrositios»; auditoría de armonía del 23-nov). Se carga al final del <head> de los 11 micrositios, después de sus
   estilos y del bloque de noche, así que gana por orden sin tocar sus reglas. Lo instala maquetas/micrositios-estilo-2026-11-24/
   aplicar.py.
   Escala del sitio (cartograma-system.css, «nueve tamaños»): 13 rótulos y cabeceras · 15 apoyo y botones · 17 texto · 20 entrada
   y destacados · 24 conclusión y cifras chicas · 32 cifras · 44 títulos de parte · 60 título de la página (34 en el teléfono).
   Tipografía del sitio: títulos en serif (Source Serif 4), texto en Geist, rótulos en IBM Plex Mono 500.
   Rejilla del sitio: 1320 px, margen lateral clamp(16 px, 4vw, 56 px), barra de 64 px, logo con su punto naranja. */

:root { --max: 1320px; --cg-acc-texto: #b23f1a; --cg-verde: #3c5f54; }
html.cg-noche { --cg-acc-texto: #f08a66; --cg-verde: #7fa999; }

/* — texto en Geist; títulos en serif — */
body { font-family: Geist, "Helvetica Neue", Arial, sans-serif; font-size: 17px; line-height: 1.6; }
h1, h2 { font-family: "Source Serif 4", Georgia, serif; font-weight: 400; letter-spacing: -.025em; text-wrap: balance; }
h3 { font-family: Geist, "Helvetica Neue", Arial, sans-serif; font-size: 20px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.hero h1 { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.04; letter-spacing: -.03em; max-width: none; }
h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; }
.sec h2 { max-width: 26ch; }
.close h2 { max-width: 24ch; }
/* la entrada en tinta y el apoyo (.sub) en gris: así se distinguen las dos voces del texto */
.lead { font-family: Geist, "Helvetica Neue", Arial, sans-serif; font-size: 20px; line-height: 1.5; color: var(--ink); max-width: 44rem; }
.sub, .finds p, .minis .n, .minis .v { font-size: 17px; }
.sub { max-width: 44rem; }
.conc { font-family: "Source Serif 4", Georgia, serif; font-size: 24px; line-height: 1.4; max-width: 44rem; }

/* — rótulos y cabeceras: 13 px, nunca menos — */
.k, .h3s, .metodo figcaption b, .rank .head, .rank .head span, .rank .head em, .legq, .legq span, .cbars h4, .bivleg, .bivleg span,
.heat th, .card .p, .finds li:before, .qtab th, .hmap figcaption, .hmap figcaption span, .cg-metodo > summary .v, figure figcaption b,
table th, table td small {
  font-size: 13px !important; font-weight: 500; }
.k { font-family: "IBM Plex Mono", monospace; letter-spacing: .1em; color: var(--cg-acc-texto); }
.k i { background: var(--cg-acc-texto); }
.metodo figcaption b, .card .p, .rank .row:nth-child(2) em { color: var(--cg-acc-texto); }
.heat, .vbars, .card .r, .cbar span:last-child, .minis .s, .foot { font-size: 13px; }
[style*="font-size:10px"], [style*="font-size: 10px"], [style*="font-size:11px"], [style*="font-size:12px"] { font-size: 13px !important; }
[style*="#3c5f54"] { color: var(--cg-verde) !important; }

/* — apoyo, 15 px — */
.nav, .big2 span, .cbar, .map figcaption, .metodo figcaption, .more, .rank .row, .reads p, .rec span, .dl a span, .qtab, .cg-volver-p a { font-size: 15px; }

/* — destacados y cifras — */
.card h3, .reads h3, .dl a b { font-size: 20px; }
.rec p { font-size: 20px; line-height: 1.4; }
.card .r b { font-size: 24px; }
.reads b { font-size: clamp(24px, 2.6vw, 32px); }
.big2 b { font-size: clamp(32px, 3.6vw, 44px) !important; }

/* — rejilla, barra y logo — */
.shell { padding-left: clamp(16px, 4vw, 56px); padding-right: clamp(16px, 4vw, 56px); }
.top .shell { height: 64px; }
.brand { font: 700 15.5px/1 Geist, sans-serif; letter-spacing: .24em; white-space: nowrap; }
.brand b { display: inline-block; width: 7px; height: 7px; margin-left: 3px; border-radius: 50%; background: var(--acc); color: transparent; font-size: 0; vertical-align: .14em; overflow: hidden; }

/* — ritmo vertical: el del sitio; cada parte abre con su rótulo (raya de tinta), sin raya gris entre partes — */
.sec { padding-top: clamp(44px, 7vh, 72px); padding-bottom: clamp(44px, 7vh, 72px); border-top: 0; }
.sec > .shell > .k:first-child { display: block; padding-top: .9rem; border-top: 2px solid var(--ink); margin-bottom: 18px; }

/* — botones del sitio: tinta con punto naranja; en la franja de cierre, claro — */
.nav .cta, .atools button, .close .btn {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: 0 18px; border: 1px solid var(--ink);
  border-radius: 2px; background: var(--ink); color: var(--bg); font: 600 15px/1 Geist, sans-serif; text-decoration: none; cursor: pointer; }
.nav .cta { min-height: 40px; padding: 0 16px; }
.nav .cta::before, .atools button::before, .close .btn::before {
  content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--acc); transition: transform .2s; }
.nav .cta:hover::before, .atools button:hover::before, .close .btn:hover::before { transform: scale(1.45); }
.atools a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; font: 600 15px/1 Geist, sans-serif; border: 1px solid var(--ink); border-radius: 2px; }
.close .btn { background: #f3f0e8; border-color: #f3f0e8; color: #171816; margin-top: 22px; }
html.cg-noche .nav .cta, html.cg-noche .atools button { color: #121413; }
html.cg-noche .close .btn { background: #f3f0e8; color: #171816; }
.cg-metodo > summary { min-height: 40px; font: 500 13px/1 "IBM Plex Mono", monospace; letter-spacing: .06em; }
.cg-volver-p a span { color: var(--cg-acc-texto); }

@media (max-width: 480px) {
  /* en el teléfono, junto al punto del logo, el botón va sin el suyo */
  .nav .cta::before { content: none; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .lead { font-size: 18px; }
  .conc { font-size: 20px; }
  .card h3, .reads h3, .dl a b, .rec p, h3 { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { .nav .cta::before, .atools button::before, .close .btn::before { transition: none; } }
