/* Estilos compartidos por los tres prototipos. Colores y letras de la marca (src/app/globals.css). */
@font-face { font-family: "Literata"; src: url("/fuentes/Literata%5Bopsz,wght%5D.ttf") format("truetype"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("/fuentes/SchibstedGrotesk%5Bwght%5D.ttf") format("truetype"); font-weight: 400 900; font-display: swap; }

:root {
  --liquen-700: #4A5A14; --liquen-800: #3A4710; --liquen-100: #EDEBCF; --liquen-300: #DCE27A;
  --basalto: #21201D; --piedra-700: #55534E; --piedra-300: #D3D2CC; --piedra-100: #E8E7E2; --piedra-50: #F1F0EC; --papel: #FCFCFA;
  --fondo: var(--piedra-50); --texto: var(--basalto); --texto-2: var(--piedra-700); --acento: var(--liquen-700); --tarjeta: var(--papel);
  --serif: "Literata", Georgia, serif;
  --sans: "Schibsted Grotesk", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--fondo); color: var(--texto); font-family: var(--sans); }

/* Barra superior y controles */
.barra { position: fixed; inset: 0 0 auto; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px clamp(16px, 4vw, 48px); }
.barra img { height: 22px; }
.barra a.volver { color: var(--texto); font-size: .875rem; font-weight: 600; }
.mandos { position: fixed; inset: auto 0 0; z-index: 10; display: flex; align-items: center; gap: 16px; padding: 14px clamp(16px, 4vw, 48px); }
.progreso { flex: 1; height: 3px; background: color-mix(in srgb, var(--texto) 16%, transparent); border-radius: 3px; overflow: hidden; }
.progreso i { display: block; height: 100%; background: var(--acento); transform-origin: left; transform: scaleX(0); }
.pista-texto { font-size: .8125rem; color: var(--texto-2); white-space: nowrap; }

/* Recorrido: se baja con la rueda y el contenido avanza hacia la derecha */
.recorrido { position: relative; }
.ventana { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.pista { position: relative; display: flex; height: 100%; width: max-content; will-change: transform; }
.panel { position: relative; z-index: 2; flex: none; width: 100vw; height: 100%; padding: 14svh clamp(20px, 8vw, 128px) 0; }
.panel > div { max-width: 640px; display: grid; gap: 18px; justify-items: start; }
.num { font: 600 .875rem var(--sans); color: var(--acento); letter-spacing: .08em; text-transform: uppercase; }
h1, h2 { margin: 0; line-height: 1; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.6vw, 5.8rem); font-weight: 800; }
h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); font-weight: 760; }
.panel p { margin: 0; font: 400 clamp(1.05rem, 1.5vw, 1.3rem)/1.55 var(--serif); max-width: 40ch; }
.boton { display: inline-flex; align-items: center; min-height: 52px; padding: 0 28px; border: 0; border-radius: 10px; background: var(--acento); color: #fff; font: 600 1.1rem var(--sans); cursor: pointer; }
.contador { font: 700 clamp(4rem, 10vw, 8rem)/1 var(--serif); color: var(--acento); font-variant-numeric: tabular-nums; }
.contador small { font: 600 1.1rem var(--sans); color: var(--texto-2); margin-left: 12px; }
