/* Woker · woker.estilobunker.com.uy — HTML y CSS, sin scripts. */
:root {
  --fondo: #faf8f5;
  --superficie: #ffffff;
  --texto: #1a1a1e;
  --texto-suave: #5c5c66;
  --borde: #e6e1da;
  --marca: #ff7e07;          /* naranja de Achievers: siempre con texto oscuro encima */
  --sobre-marca: #111111;
  --enlace: #9a3f00;         /* naranja oscuro: 6,4:1 sobre el fondo */
  --barra: #0e0e10;
  --sobre-barra: #f4f1ec;
  --foco: #ff7e07;
  --medida: 46rem;           /* columna de lectura: 65-75 caracteres a 20 px */
}

@media (prefers-color-scheme: dark) {
  :root {
    --fondo: #121214;
    --superficie: #1b1b1f;
    --texto: #ecebe8;
    --texto-suave: #b8b8c0;
    --borde: #2c2c32;
    --enlace: #ffb066;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--fondo);
  color: var(--texto);
  font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

a { color: var(--enlace); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, .boton:focus-visible { outline: 3px solid var(--foco); outline-offset: 3px; border-radius: 4px; }

.saltar {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--marca); color: var(--sobre-marca);
  padding: .6rem 1rem; border-radius: 6px; font-weight: 600; z-index: 10;
}
.saltar:focus { top: 1rem; }

.contenedor { width: 100%; max-width: 80rem; margin: 0 auto; padding: 0 1.25rem; }

/* ── Barra superior ─────────────────────────────── */
.barra { background: var(--barra); color: var(--sobre-barra); }
.barra .contenedor {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 4.5rem; flex-wrap: wrap;
}
.marca {
  display: inline-flex; align-items: center; gap: .6rem;
  color: var(--sobre-barra); text-decoration: none;
  font-weight: 700; font-size: 1.375rem; letter-spacing: -.01em;
  min-height: 44px;
}
.marca svg { width: 2rem; height: 2rem; flex: none; }
.menu { display: flex; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.menu a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 .75rem;
  color: var(--sobre-barra); text-decoration: none; font-size: 1rem; border-radius: 6px;
}
.menu a:hover { background: rgba(255, 255, 255, .08); }
.menu a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--marca); border-radius: 0; }

/* ── Contenido ──────────────────────────────────── */
main { flex: 1; padding: 3rem 0 4rem; }

h1, h2, h3 { line-height: 1.15; text-wrap: balance; letter-spacing: -.015em; }
h1 { font-size: clamp(2.75rem, 7vw, 4.5rem); margin: .25rem 0 1.25rem; }
h2 { font-size: 1.5rem; margin: 2.5rem 0 .75rem; }
h3 { font-size: 1.1875rem; margin: 2rem 0 .5rem; }
p, li, dd { text-wrap: pretty; }
p { margin: 0 0 1rem; }

.antetitulo {
  margin: 0; color: var(--texto-suave);
  font-size: .9375rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.bajada { font-size: 1.375rem; line-height: 1.5; }

.grilla { display: grid; gap: 2.5rem; }

/* Ficha del titular y canales */
.ficha { display: grid; gap: 1.25rem; align-content: start; }
.tarjeta {
  background: var(--superficie); border: 1px solid var(--borde); border-radius: 12px;
  padding: 1.5rem;
}
.tarjeta h2 { margin-top: 0; font-size: 1.25rem; }
.datos { margin: 0; display: grid; gap: .9rem; }
.datos dt { font-size: .875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--texto-suave); }
.datos dd { margin: .1rem 0 0; }

.boton {
  display: inline-flex; align-items: center; gap: .6rem;
  min-height: 48px; padding: .7rem 1.2rem; border-radius: 10px;
  background: var(--marca); color: var(--sobre-marca);
  font-weight: 600; font-size: 1.125rem; text-decoration: none;
  transition: transform .15s ease-out, box-shadow .15s ease-out;
}
.boton:hover { box-shadow: 0 6px 18px rgba(255, 126, 7, .35); }
.boton:active { transform: scale(.98); }
.boton svg { width: 1.375rem; height: 1.375rem; flex: none; }
.nota { margin: 1rem 0 0; color: var(--texto-suave); font-size: 1rem; }

/* Páginas legales */
.fecha { color: var(--texto-suave); font-size: 1rem; }
.indice { align-self: start; }
.indice h2 { margin-top: 0; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; color: var(--texto-suave); }
.indice ol { margin: 0; padding-left: 1.25rem; display: grid; gap: .35rem; font-size: 1rem; }
.indice a { display: inline-block; padding: .2rem 0; }
.prosa h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); }
.prosa ul { padding-left: 1.25rem; }
.prosa li { margin-bottom: .4rem; }
.prosa section { scroll-margin-top: 1.5rem; }

/* ── Pie ────────────────────────────────────────── */
.pie { border-top: 1px solid var(--borde); padding: 1.75rem 0 2.25rem; color: var(--texto-suave); font-size: 1rem; }
.pie .contenedor { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }
.pie p { margin: 0; }
.pie ul { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin: 0; padding: 0; list-style: none; }

/* ── Escritorio ─────────────────────────────────── */
@media (min-width: 1024px) {
  body { font-size: 1.25rem; }
  .contenedor { padding: 0 2rem; }
  main { padding: 4.5rem 0 5.5rem; }
  .grilla-inicio { grid-template-columns: minmax(0, var(--medida)) minmax(20rem, 1fr); gap: 4rem; }
  .grilla-legal { grid-template-columns: minmax(15rem, 1fr) minmax(0, var(--medida)); gap: 4rem; }
  .indice { position: sticky; top: 2rem; }
  .ficha { padding-top: 2.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
