/* ============================================================
   SPORTIC — scroll story
   Tipografía gigante + bloques a sangre + escenas scrubbing.
   Marca: amarillo #FED709 / tinta #0A0A0A.
   ============================================================ */

/* fuentes auto-alojadas (RGPD: sin llamadas a Google Fonts) */
@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/anton-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}

:root {
  --yellow: #FED709;
  --yellow-soft: #FFF4A1;
  --ink: #0A0A0A;
  --paper: #F7F6F2;
  --muted: #5c5c54;
  --ink-soft: #262626;

  --display: "Anton", "Archivo", sans-serif;
  --text: "Archivo", system-ui, sans-serif;

  /* carril lateral: crece con el viewport y, a partir de ~1780px,
     actúa de container fantasma: el fondo sigue a sangre pero el
     contenido capa a 100rem y se centra */
  --pad: max(clamp(1.25rem, 4vw, 3.5rem), calc((100vw - 100rem) / 2));
  --ease: cubic-bezier(0.2, 0.72, 0.18, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.site-footer :focus-visible,
.talk :focus-visible,
.method :focus-visible { outline-color: var(--paper); }

/* superficies amarillas: el anillo amarillo global sería invisible */
.menu-overlay :focus-visible,
.cta-band :focus-visible,
.claim :focus-visible,
.values :focus-visible,
.checklist :focus-visible,
.page-hero--yellow :focus-visible { outline-color: var(--ink); }

.checklist--ink :focus-visible { outline-color: var(--yellow); }

/* chips del chrome: flotan sobre fondos variables → anillo bicolor */
.chrome :focus-visible {
  outline: 3px solid var(--yellow);
  box-shadow: 0 0 0 6px var(--ink);
}

body {
  font-family: var(--text);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

.display, h1, h2 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.005em;
}

h1 em, h2 em {
  font-style: normal;
  display: inline-block;
  transform: skewX(-10deg);
}

.kicker {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(0.9rem, 1.6vw, 1.3rem);
  letter-spacing: 0.12em;
}

.kicker-ink { color: var(--ink); }
.kicker-yellow { color: var(--yellow); }

/* ============================================================
   CHROME — logo y menú flotantes (funcionan sobre cualquier fondo)
   ============================================================ */

.chrome {
  position: fixed;
  inset: 1rem 1rem auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 90;
  pointer-events: none;
}

.chip {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  transition: transform 0.2s var(--ease);
}

.chip:hover { transform: translateY(-2px); }

.chip-brand img { height: 22px; width: auto; }

.chip-menu {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  color: var(--yellow);
  cursor: pointer;
}

/* ---------- overlay de menú ---------- */

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--yellow);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--pad);
  clip-path: circle(0% at calc(100% - 3rem) 2rem);
  /* cerrado: invisible e infocusable (sus enlaces salen del orden de tabulación) */
  visibility: hidden;
  transition: clip-path 0.55s var(--ease), visibility 0s 0.55s;
}

.menu-overlay.open {
  clip-path: circle(150% at calc(100% - 3rem) 2rem);
  visibility: visible;
  transition: clip-path 0.55s var(--ease), visibility 0s 0s;
}

.menu-overlay[hidden] { display: flex; visibility: hidden; }
.menu-overlay.open[hidden] { visibility: visible; }

.menu-nav { display: flex; flex-direction: column; }

.menu-nav a {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 1.12; /* los acentos de caja alta de Anton necesitan ~1.11em de tinta */
  color: var(--ink);
  text-decoration: none;
  width: max-content;
  max-width: 100%;
}

.menu-nav a:hover { transform: skewX(-10deg); }

.menu-mail { margin-top: 2.5rem; }

.menu-mail a {
  color: var(--ink);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  border-bottom: 3px solid var(--ink);
}

/* ============================================================
   ESCENAS CON SCRUB
   Cada .scene mide más de 100vh; .pin queda pegado y
   JS expone el progreso en --p (0 → 1).
   ============================================================ */

.scene { position: relative; }

.scene .pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ---------- escena 1 · hero ---------- */

.hero { height: 240vh; background: var(--ink); }

.hero .pin { padding: var(--pad); }

.hero .kicker { color: var(--yellow-soft); opacity: 0.7; }

.hero-title {
  font-size: clamp(4.2rem, 17.5vw, 17rem);
  color: var(--yellow);
  display: flex;
  flex-direction: column;
  margin-top: 1rem;
}

.hero-title .line { display: block; white-space: nowrap; will-change: transform; }

.hero-title em { color: transparent; -webkit-text-stroke: 3px var(--yellow); }

.slide-l { transform: translateX(calc(var(--p, 0) * -26vw)); }
.slide-r { transform: translateX(calc(var(--p, 0) * 26vw)); align-self: flex-end; }

.scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: var(--pad);
  color: var(--yellow);
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.9rem;
  opacity: calc(1 - var(--p, 0) * 4);
}

/* ---------- escena 2 · por fin / letras ---------- */

.boring { height: 300vh; background: var(--paper); }

.boring .pin { padding: var(--pad); justify-content: flex-end; }

.boring-copy { padding-bottom: 6vh; }

.split {
  font-size: clamp(3.6rem, 13.5vw, 13rem);
  line-height: 1.02; /* el rabo de la Q no debe tocar la línea siguiente */
  color: var(--ink);
  display: flex;
  flex-direction: column;
}

.split .line { display: block; white-space: nowrap; }

.split .ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.18em);
  transition: opacity 0.25s ease-out, transform 0.3s var(--ease);
}

.split .ch.on { opacity: 1; transform: none; }

.no-js .split .ch { opacity: 1; transform: none; }

/* pelota de tenis imposible de tocar (posición por JS) */
.ball {
  position: absolute;
  left: 0;
  top: 0;
  width: clamp(3rem, 6vw, 5.5rem);
  height: clamp(3rem, 6vw, 5.5rem);
  border-radius: 50%;
  background: var(--yellow);
  border: 3px solid var(--ink);
  overflow: hidden;
  will-change: transform;
}

.ball svg {
  width: 100%;
  height: 100%;
  display: block;
  will-change: transform;
}

.ball path {
  stroke: var(--ink);
  stroke-width: 4;
  stroke-linecap: round;
}

.ball-hint {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--muted);
  white-space: nowrap;
  transition: opacity 0.5s;
  will-change: transform;
}

.ball-hint.gone { opacity: 0; }

/* ---------- escena 3 · caos → rayo ---------- */

.pieces { height: 500vh; background: var(--yellow); }

.pieces .pin { align-items: center; }

.pieces-copy {
  position: absolute;
  z-index: 2;
  left: var(--pad);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

.pieces-copy h2 { font-size: clamp(2.8rem, 8.5vw, 8rem); color: var(--ink); }

.pieces-copy em { color: var(--paper); }

.pieces-copy-a { top: clamp(4.5rem, 10vh, 8rem); }

.pieces-copy-c {
  bottom: clamp(3rem, 9vh, 7rem);
  opacity: 0;
  transform: translateY(30px);
}

.pieces-copy-a.out { opacity: 0; transform: translateY(-30px); }
.pieces-copy-c.in { opacity: 1; transform: none; }

.chaos { position: absolute; inset: 0; pointer-events: none; }

.task {
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--display);
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1;
  white-space: nowrap;
  will-change: transform, opacity;
}

.task:nth-child(1)  { font-size: clamp(1.2rem, 2.6vw, 2.4rem); }
.task:nth-child(2)  { font-size: clamp(1.5rem, 3.4vw, 3.2rem); }
.task:nth-child(3)  { font-size: clamp(1.3rem, 3vw, 2.8rem); }
.task:nth-child(4)  { font-size: clamp(1.1rem, 2.2vw, 2rem); }
.task:nth-child(5)  { font-size: clamp(1.6rem, 3.8vw, 3.6rem); }
.task:nth-child(6)  { font-size: clamp(1.2rem, 2.4vw, 2.2rem); }
.task:nth-child(7)  { font-size: clamp(1.4rem, 3.2vw, 3rem); }
.task:nth-child(8)  { font-size: clamp(1.1rem, 2.3vw, 2.1rem); }
.task:nth-child(9)  { font-size: clamp(1.5rem, 3.5vw, 3.3rem); }
.task:nth-child(10) { font-size: clamp(1.3rem, 2.8vw, 2.6rem); }

.bolt {
  position: relative;
  height: min(74vh, 60vw);
  width: auto;
  overflow: visible;
  margin-left: clamp(0px, 22vw, 30rem);
}

.bolt .piece {
  fill: var(--ink);
  will-change: transform;
  transform-origin: 340px 500px;
}

/* ============================================================
   SERVICIOS — filas gigantes
   ============================================================ */

.services { padding: clamp(4rem, 12vh, 8rem) 0 0; background: var(--paper); }

.services-kicker { display: block; padding: 0 var(--pad) 2rem; }

.row {
  display: flex;
  align-items: baseline; /* el dorsal ancla a la 1ª línea del titular */
  gap: clamp(1rem, 3vw, 3rem);
  padding: clamp(1.6rem, 4vh, 3rem) var(--pad);
  border-top: 3px solid var(--ink);
  text-decoration: none;
  color: var(--ink);
  transition: background 0.25s var(--ease);
}

.row:last-of-type { border-bottom: 3px solid var(--ink); }

.num {
  font-family: var(--display);
  font-size: clamp(1rem, 2vw, 1.5rem);
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}

.row-body { flex: 1; min-width: 0; }

.row-title {
  display: block;
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(2.2rem, 7vw, 6rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
  transition: color 0.25s var(--ease);
}

.row-desc {
  display: block;
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 40rem;
}

.arrow {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 4rem);
  transform: translateX(-0.4em);
  opacity: 0;
  transition: transform 0.25s var(--ease), opacity 0.25s;
}

.row .arrow { align-self: center; }

.row:hover { background: var(--yellow); }
.row:hover .row-title { color: var(--ink); -webkit-text-stroke-color: transparent; }
.row:hover .row-desc { color: var(--ink); }
.row:hover .arrow { transform: none; opacity: 1; }

/* ============================================================
   IDEA CLAVE
   ============================================================ */

.claim {
  background: var(--yellow);
  border-block: 3px solid var(--ink);
  text-align: center;
  padding: clamp(5rem, 14vh, 9rem) var(--pad);
}

.claim h2 {
  font-size: clamp(2.4rem, 7.5vw, 7rem);
  line-height: 1.06;
  color: var(--ink);
  margin-top: 1rem;
}

.claim em { color: transparent; -webkit-text-stroke: 2.5px var(--ink); }

.claim-sub {
  margin: 1.8rem auto 0;
  max-width: 36rem;
  color: var(--ink-soft, #262626);
  font-size: 1.05rem;
}

/* internas: la banda amarilla ancla al carril izquierdo como todo lo demás */
.claim--left { text-align: left; }
.claim--left h2 { max-width: 20ch; }
.claim--left .claim-sub,
.claim--left .claim-lead { margin-inline: 0; }

/* ============================================================
   PARA QUIÉN
   ============================================================ */

.audiences {
  background: var(--ink);
  padding: clamp(4rem, 10vh, 7rem) var(--pad);
}

.audiences-kicker { display: block; margin-bottom: 2rem; }

.audiences-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: rgba(247, 246, 242, 0.25);
  border: 2px solid rgba(247, 246, 242, 0.25);
  border-radius: 6px;
  overflow: hidden;
}

.audience {
  background: var(--ink);
  padding: clamp(1.6rem, 3.5vw, 3rem);
  transition: background 0.25s var(--ease);
}

.audience h3 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1;
  color: var(--yellow);
  transition: transform 0.25s var(--ease), color 0.25s var(--ease);
}

.audience p {
  margin-top: 0.8rem;
  color: rgba(247, 246, 242, 0.7);
  font-size: 0.98rem;
  max-width: 32rem;
}

.audience:hover { background: var(--yellow); }
.audience:hover h3 { color: var(--ink); transform: skewX(-8deg); }
.audience:hover p { color: var(--ink-soft, #262626); }

.audiences-note {
  margin-top: 1.6rem;
  font-weight: 600;
  color: var(--paper);
}

/* ============================================================
   CÓMO TRABAJAMOS
   ============================================================ */

.method {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(4rem, 10vh, 7rem) var(--pad);
}

.method-kicker { display: block; margin-bottom: 2rem; }

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}

.step-num {
  display: inline-grid;
  place-items: center;
  font-family: var(--display);
  font-size: 1.1rem;
  width: 3rem;
  height: 3rem;
  background: var(--yellow);
  color: var(--ink);
  border-radius: 6px;
  margin-bottom: 1.1rem;
}

.step h3 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.3rem, 1.8vw, 1.7rem);
  color: var(--paper);
}

.step p {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: rgba(247, 246, 242, 0.65);
  text-wrap: pretty;
}

/* ============================================================
   BOTONES
   ============================================================ */

.btn-ink,
.btn-ghost {
  display: inline-block;
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 0.9em 1.7em;
  border-radius: 6px;
  border: 3px solid var(--ink);
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
              background 0.2s var(--ease), color 0.2s var(--ease);
}

.btn-ink { background: var(--ink); color: var(--yellow); }
.btn-ink:hover { transform: translateY(-2px); box-shadow: 4px 4px 0 var(--yellow); }

.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--yellow); transform: translateY(-2px); box-shadow: 4px 4px 0 var(--ink); }

/* sobre bandas amarillas la sombra amarilla del hover sería invisible */
.cta-band .btn-ink:hover,
.claim .btn-ink:hover { box-shadow: 4px 4px 0 var(--paper); }

/* ============================================================
   ESCENA · SPORTIC RUNNING CLUB (circuito de puntos)
   ============================================================ */

.club-scene {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 620px;
  background: var(--paper);
  overflow: hidden;
}

.club-copy {
  position: absolute;
  top: clamp(4.5rem, 10vh, 8rem);
  left: var(--pad);
  z-index: 2;
}

.club-copy h2 {
  font-size: clamp(2.6rem, 7.5vw, 7rem);
  line-height: 1.1; /* la tilde de la Á outline no debe morder la línea superior */
  color: var(--ink);
  margin-top: 0.8rem;
}

.club-copy em { color: transparent; -webkit-text-stroke: 2.5px var(--ink); }

.circuit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.circuit .track {
  fill: none;
  stroke: var(--yellow);
  stroke-width: 10;
  stroke-linecap: round;
}

.circuit .dot-i { fill: var(--ink); }
.circuit .dot-y { fill: var(--yellow); stroke: var(--ink); stroke-width: 3; }
.circuit .dot-d { fill: #C9AA07; }

.club-cta {
  position: absolute;
  bottom: clamp(2.5rem, 8vh, 6rem);
  left: var(--pad);
  z-index: 2;
  max-width: 30rem;
}

.club-cta p { color: var(--muted); margin-bottom: 1.3rem; }

.club-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================================
   CONTACTO
   ============================================================ */

.talk {
  background: var(--ink);
  color: var(--yellow);
  padding: clamp(5rem, 16vh, 10rem) var(--pad);
}

.talk-title {
  font-size: clamp(3rem, 10.5vw, 10rem);
  line-height: 1.02; /* descendentes de ¿/Q sobre el outline de la línea siguiente */
  display: flex;
  flex-direction: column;
  margin-top: 2.5rem; /* aire para el acento de la Ú respecto al kicker */
}

.talk-title em { color: transparent; -webkit-text-stroke: 2.5px var(--yellow); }

.talk-mail {
  display: inline-block;
  margin-top: 3rem;
  font-family: var(--display);
  font-size: clamp(1.4rem, 4.5vw, 3.6rem);
  text-transform: uppercase;
  color: var(--ink);
  background: var(--yellow);
  text-decoration: none;
  padding: 0.35em 0.6em;
  border-radius: 6px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.talk-mail:hover {
  transform: translateY(-3px) rotate(-1deg);
  box-shadow: 6px 6px 0 var(--yellow-soft);
}

.talk-sub { margin-top: 1.6rem; color: var(--yellow-soft); opacity: 0.7; }

.talk-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
  margin-top: 1rem;
}

.talk-form {
  background: #141210;
  border: 2px solid rgba(254, 215, 9, 0.35);
  border-radius: 8px;
  padding: clamp(1.4rem, 2.5vw, 2.2rem);
}

.tf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.tf-field { margin-bottom: 1.1rem; }

.tf-field label {
  display: block;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--yellow-soft);
  margin-bottom: 0.45rem;
}

.tf-field input,
.tf-field select,
.tf-field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.98rem;
  color: var(--paper);
  background: #0A0A0A;
  border: 2px solid rgba(247, 246, 242, 0.2);
  border-radius: 5px;
  padding: 0.7em 0.85em;
  transition: border-color 0.2s;
}

.tf-field input::placeholder,
.tf-field textarea::placeholder { color: rgba(247, 246, 242, 0.35); }

.tf-field input:focus,
.tf-field select:focus,
.tf-field textarea:focus {
  outline: none;
  border-color: var(--yellow);
}

.tf-field textarea { resize: vertical; }

/* el icono nativo del datepicker debe verse sobre el campo oscuro */
.tf-field input[type="date"] { color-scheme: dark; }

.tf-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
  font-size: 0.88rem;
  color: rgba(247, 246, 242, 0.75);
  cursor: pointer;
}

.tf-check input {
  margin-top: 0.2em;
  width: 1.05em;
  height: 1.05em;
  accent-color: var(--yellow);
  cursor: pointer;
}

.tf-check a { color: var(--yellow-soft); }

.tf-submit {
  width: 100%;
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: var(--ink);
  background: var(--yellow);
  border: 0;
  border-radius: 5px;
  padding: 0.9em;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.tf-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(254, 215, 9, 0.35); }

.tf-note {
  margin-top: 0.9rem;
  font-size: 0.92rem;
  color: var(--yellow-soft);
  min-height: 1.3em;
}

/* ============================================================
   PÁGINAS LEGALES
   ============================================================ */

.legal-main {
  max-width: 46rem;
  margin-inline: auto;
  padding: clamp(7rem, 16vh, 10rem) var(--pad) 5rem;
}

.legal-main h1 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1;
}

.legal-main h2 {
  font-size: 1.15rem;
  font-weight: 400; /* Anton solo existe en 400: evita el faux bold sintético */
  text-transform: none;
  letter-spacing: 0;
  font-stretch: normal;
  margin: 2.2rem 0 0.6rem;
}

.legal-main p, .legal-main li { color: var(--ink-soft, #262626); margin-bottom: 0.8rem; }

.legal-main ul { padding-left: 1.2rem; }

.legal-main a { color: var(--ink); }

.legal-updated { font-size: 0.85rem; color: var(--muted); margin-top: 0.8rem; }

.legal-back {
  display: inline-block;
  margin-top: 3rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 3px solid var(--yellow);
}

.legal-back:hover { border-bottom-color: var(--ink); }

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: #14100A;
  color: var(--paper);
  padding: clamp(3rem, 8vh, 5rem) var(--pad) 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-logo { height: 40px; width: auto; }

.footer-head {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.5;
  margin-bottom: 0.9rem;
}

.footer-col { display: flex; flex-direction: column; gap: 0.45rem; align-items: flex-start; }

.footer-col a {
  color: var(--paper);
  text-decoration: none;
  opacity: 0.85;
}

.footer-col a:hover { opacity: 1; color: var(--yellow); }

.footer-base {
  border-top: 1px solid rgba(247, 246, 242, 0.15);
  padding-top: 1.4rem;
  font-size: 0.85rem;
  opacity: 0.55;
}

/* ============================================================
   MOVIMIENTO REDUCIDO + RESPONSIVE
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  .hero, .boring, .pieces { height: auto; }
  .scene .pin { position: static; height: auto; min-height: 100vh; }
  .slide-l, .slide-r { transform: none; }
  .split .ch { opacity: 1; transform: none; transition: none; }
  .chaos { display: none; }
  .pieces-copy-a { display: none; }
  .pieces-copy-c { opacity: 1; transform: none; }
  .scroll-hint { display: none; }
}

@media (max-width: 720px) {
  .hero { height: 200vh; }
  .boring { height: 240vh; }
  .pieces { height: 380vh; }

  /* pelota: el copy centrado en vez de anclado abajo (menos vacío) */
  .boring .pin { justify-content: center; }
  .boring-copy { padding-bottom: 0; }

  /* caos: las palabras no pisan el título */
  .chaos { top: 16vh; }

  /* rayo: menos hueco entre isotipo y copy final */
  .bolt { margin-left: 6vw; height: min(46vh, 66vw); margin-bottom: 8vh; }

  .pieces-copy h2 { font-size: clamp(2.4rem, 11vw, 4rem); }

  .claim h2 { line-height: 1.02; }

  .audiences-grid { grid-template-columns: 1fr; }
  .method-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }

  /* club: flujo vertical sin solapes — copy / circuito / cta */
  .club-scene {
    height: auto;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    padding: 5.5rem var(--pad) 3rem;
  }
  .club-copy { position: static; }
  .circuit { position: relative; inset: auto; flex: 1; min-height: 44vh; margin: 1.2rem 0; }
  .club-cta { position: static; max-width: none; }

  .talk-grid { grid-template-columns: 1fr; }
  .tf-row { grid-template-columns: 1fr; gap: 0; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .row { flex-wrap: wrap; }
  .num { width: 100%; }
  .arrow { display: none; }
}

/* ============================================================
   COMPARTIDO (layout Blade) — accesibilidad y menú ampliado
   ============================================================ */

/* solo visible para tecnología de asistencia */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* enlace "saltar al contenido": aparece solo al recibir foco con teclado */
.skip-link {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translate(-50%, calc(-100% - 1.5rem));
  z-index: 200;
  background: var(--ink);
  color: var(--yellow);
  font-weight: 700;
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  transition: transform 0.25s var(--ease);
}

.skip-link:focus-visible { transform: translate(-50%, 0); }

/* bloque secundario del menú overlay (enlaces a páginas / redes) */
.menu-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.6rem;
  margin-top: 2.2rem;
  padding-top: 1.4rem;
  border-top: 3px solid var(--ink);
  width: min(100%, 34rem);
}

.menu-sub a {
  font-family: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
}

.menu-sub a:hover { text-decoration: underline; }

/* ============================================================
   PÁGINA DE CONTACTO (interna)
   ============================================================ */

.talk-page {
  min-height: 100svh;
  padding-top: clamp(7rem, 18vh, 11rem);
}

.talk-intro {
  max-width: 34rem;
  margin-top: 1.6rem;
  font-size: 1.05rem;
  color: var(--yellow-soft);
  opacity: 0.75;
}

/* pasos de qué pasa tras enviar */
.talk-steps {
  margin-top: 2.4rem;
  list-style: none;
  display: grid;
  gap: 0.55rem;
  color: var(--yellow-soft);
  opacity: 0.8;
  max-width: 26rem;
}

.talk-steps li { display: flex; gap: 0.8rem; align-items: baseline; }

.talk-steps .step-n {
  font-family: var(--display);
  color: var(--yellow);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

/* mensajes del formulario en servidor */
.tf-success {
  border: 2px solid var(--yellow);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  margin-bottom: 1.4rem;
  color: var(--yellow-soft);
}

.tf-success strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--yellow);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.tf-context {
  border: 2px dashed rgba(254, 215, 9, 0.45);
  border-radius: 8px;
  padding: 0.7rem 1rem;
  margin-bottom: 1.1rem;
  color: var(--yellow-soft);
  font-size: 0.9rem;
}

.tf-error {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ff9d9d;
}

.tf-optional { opacity: 0.5; font-weight: 400; text-transform: none; }

/* ============================================================
   PATRONES DE PÁGINAS INTERNAS
   ============================================================ */

/* cabecera interior: bloque tinta con titular gigante */
.page-hero {
  background: var(--ink);
  color: var(--paper);
  min-height: 72svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(7rem, 18vh, 11rem) var(--pad) clamp(2.6rem, 7vh, 4.5rem);
}

.page-hero .kicker { color: var(--yellow); }

.page-hero h1 {
  margin-top: 1rem;
  font-size: clamp(2.7rem, 9.5vw, 9rem);
  line-height: 1.1; /* acentos de los em outline (ESTÁ) sobre la línea anterior */
  max-width: 14ch;
  text-wrap: balance;
}

.page-hero h1 em { color: transparent; -webkit-text-stroke: 2.5px var(--yellow); }

.page-hero-sub {
  margin-top: 1.7rem;
  max-width: 38rem;
  font-size: 1.08rem;
  color: rgba(247, 246, 242, 0.72);
}

.page-hero--yellow {
  background: var(--yellow);
  color: var(--ink);
  border-bottom: 3px solid var(--ink);
}

.page-hero--yellow .kicker { color: var(--ink); }
.page-hero--yellow h1 em { -webkit-text-stroke-color: var(--ink); }
.page-hero--yellow .page-hero-sub { color: var(--ink-soft, #262626); }

/* banda de contenido genérica */
.band { padding: clamp(4rem, 10vh, 7rem) var(--pad); }

.band-head { margin-bottom: clamp(2rem, 5vh, 3.5rem); }

.band-title {
  margin-top: 0.8rem;
  font-size: clamp(2rem, 5.5vw, 4.5rem);
  line-height: 1.08; /* las tildes Í/Á de Anton tocan la línea anterior con 1.02 */
  max-width: 18ch;
  text-wrap: balance;
}

.band-sub {
  margin-top: 1.2rem;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.02rem;
}

.band--ink { background: var(--ink); color: var(--paper); }
.band--ink .band-sub { color: rgba(247, 246, 242, 0.65); }

/* tarjetas numeradas sobre papel */
.tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(10, 10, 10, 0.25);
  border: 2px solid var(--ink);
  border-radius: 6px;
  overflow: hidden;
}

.tile {
  background: var(--paper);
  padding: clamp(1.4rem, 2.5vw, 2.2rem);
  transition: background 0.25s var(--ease);
}

.tile-num {
  font-family: var(--display);
  font-size: 1rem;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--ink);
}

.tile h3 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  line-height: 1.05;
  margin-top: 0.8rem;
}

.tile p { margin-top: 0.6rem; font-size: 0.93rem; color: var(--muted); }

.tile:hover { background: var(--yellow); }
.tile:hover p { color: var(--ink-soft, #262626); }

/* niveles / planes */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.8rem);
}

.plan {
  border: 3px solid var(--ink);
  border-radius: 6px;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: var(--paper);
}

.plan--featured { background: var(--yellow); }

.plan h3 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1;
}

.plan-fit {
  margin-top: 0.7rem;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.plan--featured .plan-fit { color: var(--ink-soft, #262626); }

.plan p {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 2px solid rgba(10, 10, 10, 0.15);
  color: var(--muted);
  font-size: 0.95rem;
}

.plan--featured p { color: var(--ink-soft, #262626); border-top-color: rgba(10, 10, 10, 0.25); }

/* .plan-fit es <p>: sin este override .plan p le impone un filete no previsto */
.plan .plan-fit { border-top: 0; padding-top: 0; margin-top: 0.7rem; }

/* FAQ con <details> nativo, sin JS */
.faq { border-top: 3px solid var(--ink); }

.faq details { border-bottom: 3px solid var(--ink); }

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.3rem 0;
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(1.15rem, 2.4vw, 1.8rem);
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary:hover {
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 4px;
  text-underline-offset: 0.35em;
}

.faq summary::after { content: "+"; font-family: var(--display); font-size: 1.4em; line-height: 1; }

.faq details[open] summary::after { content: "−"; }

.faq details p { padding: 0 0 1.4rem; max-width: 46rem; color: var(--muted); }

/* banda amarilla de cierre con CTA */
.cta-band {
  background: var(--yellow);
  border-block: 3px solid var(--ink); /* mismo patrón que .claim y .values */
  padding: clamp(4.5rem, 12vh, 8rem) var(--pad);
}

.cta-band h2 {
  font-size: clamp(2.2rem, 6.5vw, 6rem);
  line-height: 1.15; /* el stroke del em suma tinta: con 1.1 la tilde de PRÓXIMO roza */
  max-width: 20ch;
  margin-top: 1.2rem;
  text-wrap: balance;
}

.cta-band em { color: transparent; -webkit-text-stroke: 2.5px var(--ink); }

.claim-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.2rem;
}

.cta-band .claim-actions { justify-content: flex-start; }

/* prosa grande, anclada al carril izquierdo como el resto de módulos */
.prose-band {
  padding: clamp(4rem, 10vh, 7rem) var(--pad);
}

.prose-band .kicker { display: block; margin-bottom: clamp(1.4rem, 3vh, 2.2rem); }

.prose-band p {
  max-width: 46rem;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.55;
  color: var(--ink-soft, #262626);
}

.prose-band p + p { margin-top: 1.4rem; }

@media (max-width: 1000px) {
  .tiles { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .tiles { grid-template-columns: 1fr; }
  .page-hero { min-height: 62svh; }
}

/* celdas de públicos como enlaces (página Para quién) */
a.audience { text-decoration: none; display: block; }

a.audience p strong { color: var(--paper); font-weight: 700; }

a.audience:hover p strong { color: var(--ink); }

.audience-more {
  display: inline-block;
  margin-top: 1.1rem;
  font-weight: 700;
  color: var(--yellow);
}

a.audience:hover .audience-more { color: var(--ink); }

/* variantes de patrones internos */
.tiles--3 { grid-template-columns: repeat(3, 1fr); }

.audiences-grid--compact { grid-template-columns: repeat(3, 1fr); }

.audiences-grid--compact .audience h3 { font-size: clamp(1.3rem, 1.9vw, 1.9rem); }

.audiences-grid--compact .audience p { font-size: 0.92rem; }

@media (max-width: 1000px) {
  .tiles--3 { grid-template-columns: 1fr 1fr; }
  .audiences-grid--compact { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .tiles--3,
  .audiences-grid--compact { grid-template-columns: 1fr; }
}

/* ============================================================
   PATRONES FASE 2 — landings SEO, blog, recursos, eventos
   ============================================================ */

/* hero con H1 largo (títulos SEO) */
.page-hero--seo h1 {
  font-size: clamp(2.1rem, 6vw, 5.6rem);
  max-width: 22ch;
}

/* landings: la banda de necesidades pegada a formatos dejaba 240px muertos */
.band + .services { padding-top: clamp(1.5rem, 4vh, 3rem); }

/* etiquetas de confianza / meta chips */
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.8rem;
}

.tag {
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.45rem 0.85rem;
  border: 2px solid rgba(247, 246, 242, 0.35);
  border-radius: 999px;
  color: rgba(247, 246, 242, 0.85);
}

.tag--ink {
  border-color: rgba(10, 10, 10, 0.35);
  color: var(--ink-soft, #262626);
}

.tag--sun {
  border-color: var(--yellow);
  color: var(--yellow);
}

/* botones sobre fondo tinta */
.btn-sun {
  display: inline-block;
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 0.9rem 1.6rem;
  border-radius: 6px;
  border: 3px solid var(--yellow);
  background: var(--yellow);
  color: var(--ink);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn-sun:hover { transform: translateY(-2px); box-shadow: 4px 4px 0 var(--paper); }

.btn-ghost--light { color: var(--paper); border-color: var(--paper); }
.btn-ghost--light:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); box-shadow: 4px 4px 0 var(--paper); }

/* párrafo destacado en banda amarilla */
.claim-lead {
  margin: 1.4rem auto 0;
  max-width: 46rem;
  font-size: clamp(1.15rem, 2.2vw, 1.7rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
}

/* enlace con subrayado amarillo */
.link-arrow {
  display: inline-block;
  width: max-content;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 3px solid var(--yellow);
}

.link-arrow:hover { border-bottom-color: var(--ink); }

/* tarjetas tipográficas (blog, recursos, eventos) */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.6rem);
}

.cards--2 { grid-template-columns: repeat(2, 1fr); }

/* con un único recurso, la tarjeta ocupa todo el carril (sin celda huérfana) */
.cards--2 > .card:only-child { grid-column: 1 / -1; }

.card {
  display: flex;
  flex-direction: column;
  border: 3px solid var(--ink);
  border-radius: 6px;
  background: var(--paper);
  padding: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--ink);
  text-decoration: none;
  transition: background 0.25s var(--ease), transform 0.2s var(--ease);
}

.card:hover { background: var(--yellow); transform: translateY(-3px); }

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.card:hover .card-meta { color: var(--ink-soft, #262626); }

.card h3 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.1; /* con 1.02 las tildes de la 2ª línea tocan la 1ª */
  margin-top: 0.9rem;
}

.card p { margin-top: 0.7rem; flex: 1; font-size: 0.95rem; color: var(--muted); }

.card:hover p { color: var(--ink-soft, #262626); }

.card-cta {
  margin-top: 1.2rem;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* filas compactas (histórico de eventos) */
.row--compact .row-title { font-size: clamp(1.3rem, 3vw, 2.4rem); -webkit-text-stroke: 0; color: var(--ink); }
.row--compact { padding-block: 1.1rem; }
.row--compact .num { font-size: 0.95rem; flex: 0 0 11rem; /* carril fijo de fecha: los títulos alinean */ }

@media (max-width: 720px) {
  .row--compact .num { flex-basis: auto; } /* la fecha recupera su línea propia */
}

/* prosa de artículo (blog, recursos) */
.article-prose {
  max-width: 46rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink-soft, #262626);
}

.article-prose h2 {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.05;
  margin: 2.4rem 0 0.9rem;
  text-wrap: balance;
}

.article-prose > :first-child { margin-top: 0; }

.article-prose h3 {
  font-weight: 800;
  font-size: 1.15rem;
  margin: 1.8rem 0 0.6rem;
}

.article-prose p { margin-bottom: 1.1rem; }

.article-prose ul, .article-prose ol { padding-left: 1.3rem; margin-bottom: 1.1rem; }

.article-prose li { margin-bottom: 0.45rem; }

.article-prose a { color: var(--ink); text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }

.article-prose blockquote {
  border-left: 4px solid var(--yellow);
  padding-left: 1.2rem;
  margin: 1.6rem 0;
  font-weight: 600;
}

.article-prose strong { color: var(--ink); }

/* ficha de datos (eventos) */
.facts {
  border: 3px solid var(--ink);
  border-radius: 6px;
  background: var(--paper);
  padding: clamp(1.3rem, 2.5vw, 1.8rem);
}

.facts dl { display: grid; gap: 0.75rem; }

.facts div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 0.8rem; align-items: baseline; }

.facts dt {
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.facts dd { font-weight: 600; font-size: 0.95rem; }

.facts .btn-ink, .facts .btn-sun { margin-top: 1.2rem; width: 100%; text-align: center; box-sizing: border-box; }

/* checklist destacada (recursos) */
.checklist {
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 6px;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  margin-top: 2.4rem;
}

.checklist h2 {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.05;
}

.checklist ul { list-style: none; margin-top: 1.2rem; display: grid; gap: 0.6rem; }

.checklist li { padding-left: 1.4rem; position: relative; font-size: 0.98rem; color: var(--ink-soft, #262626); }

.checklist li::before { content: "→"; position: absolute; left: 0; font-weight: 700; }

/* resumen lateral (recursos) */
.takeaways { list-style: none; display: grid; gap: 0.9rem; }

.takeaways li { border-left: 4px solid var(--yellow); padding-left: 1rem; font-size: 0.95rem; color: var(--muted); }

/* aviso de estado (flash / vacío) */
.notice {
  border: 3px solid var(--ink);
  border-radius: 6px;
  background: var(--yellow);
  padding: 1.2rem 1.5rem;
  margin: 0 var(--pad);
}

.notice strong { display: block; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.08em; }

.notice p { margin-top: 0.3rem; color: var(--ink-soft, #262626); font-size: 0.95rem; }

.empty-note { color: var(--muted); font-size: 1.02rem; max-width: 38rem; }

/* paginación */
.pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(2rem, 5vh, 3.5rem);
  font-weight: 700;
}

.pager-info { color: var(--muted); font-size: 0.9rem; }

@media (max-width: 1000px) {
  .cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .cards, .cards--2 { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 5.5rem 1fr; }
}

/* ajustes de patrones fase 2 */
.claim-actions--start { justify-content: flex-start; }

.method-grid--5 { grid-template-columns: repeat(5, 1fr); }

.related-links { display: flex; flex-wrap: wrap; gap: 0.6rem 1.8rem; margin-top: 2.2rem; }

@media (max-width: 1000px) {
  .method-grid--5 { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
}


.checklist--ink { background: var(--ink); color: var(--paper); }
.checklist--ink h2 { color: var(--yellow); }
.checklist--ink p { margin-top: 0.9rem; color: rgba(247, 246, 242, 0.75); }
.checklist--ink .btn-sun { margin-top: 1.3rem; }

.kicker-link { color: inherit; text-decoration: none; }
.kicker-link:hover { text-decoration: underline; text-decoration-thickness: 2px; }

/* ficha de evento: prosa + panel de datos */
.event-grid {
  display: grid;
  grid-template-columns: 1fr minmax(18rem, 22rem);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.article-prose--left { margin-inline: 0; }

.notice--top { margin-top: clamp(5.5rem, 12vh, 7rem); }

@media (max-width: 900px) {
  .event-grid { grid-template-columns: 1fr; }
}

.page-hero--full {
  min-height: 100svh;
  justify-content: center;
  padding-block: clamp(4rem, 8vh, 6rem); /* padding simétrico: centrado real del bloque */
}

/* el em ocupa línea propia: compensa el skew para anclar al carril */
.page-hero--full h1 em { margin-inline-start: 0.1em; }

/* ============================================================
   SOBRE SPORTIC — recorrido de carrera, dorsales y valores
   ============================================================ */

/* el recorrido: línea de ruta discontinua con hitos de km */
.route { padding: clamp(4rem, 10vh, 7rem) var(--pad); }

.route-track {
  --route-gap: clamp(1.8rem, 4.5vw, 4rem);
  margin-top: clamp(2.2rem, 5vh, 3.2rem);
  margin-left: 0.5rem;
  border-left: 3px dashed var(--ink);
  display: grid;
  gap: clamp(2.8rem, 7vh, 5rem);
  padding-left: var(--route-gap);
}

.route-stop { position: relative; max-width: 46rem; }

.route-stop::before {
  content: "";
  position: absolute;
  top: 0.4rem;
  left: calc(-1 * var(--route-gap) - 12px);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--yellow);
  border: 3px solid var(--ink);
}

.route-km {
  display: block;
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}

.route-stop h3 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  margin-top: 0.5rem;
}

.route-stop p { margin-top: 0.7rem; color: var(--muted); }

.route-stop--meta::before { background: var(--ink); }

/* la línea de ruta muere en el punto de Meta (tapa el tramo sobrante) */
.route-stop--meta::after {
  content: "";
  position: absolute;
  left: calc(-1 * var(--route-gap) - 3px);
  width: 3px;
  top: calc(0.4rem + 21px);
  bottom: 0;
  background: var(--paper);
}

.route-stop--meta .route-km {
  color: var(--ink);
  -webkit-text-stroke: 0;
  background: var(--yellow);
  padding: 0.05em 0.18em;
  width: max-content;
}

.route-quote {
  margin-top: 1rem;
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(1.3rem, 2.6vw, 2.1rem);
  line-height: 1.15;
}

/* dorsales del equipo */
.bibs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2.2rem);
  margin-top: clamp(2.2rem, 5vh, 3.2rem);
}

.bib {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 10px;
  padding: 1.5rem 1.3rem 1.4rem;
  text-align: center;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.bib:hover { transform: rotate(-1.2deg) translateY(-4px); box-shadow: 6px 6px 0 var(--yellow); }

/* agujeros troquelados del dorsal */
.bib::before,
.bib::after {
  content: "";
  position: absolute;
  top: 0.8rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--ink);
}

.bib::before { left: 1rem; }
.bib::after { right: 1rem; }

.bib-brand {
  font-weight: 700;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
}

.bib-num {
  display: block;
  font-family: var(--display);
  font-size: clamp(3.2rem, 5.5vw, 5rem);
  line-height: 1;
  margin-top: 0.7rem;
}

.bib h3 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  line-height: 1.05;
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 2px dashed var(--ink);
}

.bib p { margin-top: 0.6rem; font-size: 0.92rem; color: var(--muted); }

/* índice tipográfico de valores */
.values {
  background: var(--yellow);
  border-block: 3px solid var(--ink);
  padding: clamp(4rem, 10vh, 7rem) var(--pad);
}

.values .kicker { display: block; margin-bottom: clamp(1.6rem, 4vh, 2.4rem); }

.value-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 1fr;
  gap: 0.5rem 2.5rem;
  align-items: center;
  border-top: 3px solid var(--ink);
  padding: 1.15rem 0;
}

.value-row:last-of-type { border-bottom: 3px solid var(--ink); }

.value-row h3 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.7rem, 3.8vw, 3.1rem);
  line-height: 1;
}

.value-row p { color: var(--ink-soft, #262626); font-size: 0.98rem; max-width: 34rem; }

.value-row p,
.bib p { text-wrap: pretty; }

@media (max-width: 900px) {
  .bibs { grid-template-columns: 1fr; max-width: 22rem; }
  .value-row { grid-template-columns: 1fr; }
  .value-row p { margin-top: 0.2rem; }
}

/* ============================================================
   GUÍA DE RECURSOS — índice lateral + artículo editorial
   ============================================================ */

.guide {
  display: grid;
  grid-template-columns: minmax(15rem, 19rem) minmax(0, 48rem);
  gap: clamp(2.5rem, 6vw, 6rem);
  padding: clamp(4rem, 10vh, 7rem) var(--pad);
}

.toc { position: sticky; top: 5.5rem; align-self: start; }

.toc .kicker { display: block; margin-bottom: 1.2rem; }

.toc-list { display: grid; }

.toc-list a {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding: 0.6rem 0;
  border-top: 2px solid rgba(10, 10, 10, 0.15);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.toc-list a:last-of-type { border-bottom: 2px solid rgba(10, 10, 10, 0.15); }

.toc-list a:hover { color: var(--ink); }

.toc-num {
  font-family: var(--display);
  font-size: 1.05rem;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--ink);
}

.toc-meta {
  margin-top: 1.6rem;
  display: grid;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.toc-meta strong { color: var(--ink); }

.article-prose h2 { scroll-margin-top: 5.5rem; }

@media (max-width: 1000px) {
  .guide { grid-template-columns: 1fr; }
  .toc { position: static; }
}

/* resumen numerado sobre tinta */
.summary { max-width: 54rem; }

.summary-row {
  display: grid;
  grid-template-columns: clamp(4.5rem, 7vw, 6.5rem) 1fr;
  gap: clamp(1.2rem, 3vw, 2.5rem);
  align-items: center;
  padding: 1.15rem 0;
  border-top: 2px solid rgba(247, 246, 242, 0.25);
}

.summary-row:last-of-type { border-bottom: 2px solid rgba(247, 246, 242, 0.25); }

.summary-num {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--yellow);
}

.summary-row p { color: rgba(247, 246, 242, 0.8); font-size: 1.02rem; max-width: 40rem; }

/* checklist como banda amarilla a sangre */
.checklist-band {
  background: var(--yellow);
  border-block: 3px solid var(--ink);
  padding: clamp(4rem, 10vh, 7rem) var(--pad);
}

.checklist-band .kicker { display: block; margin-bottom: 0.6rem; }

.checklist-band h2 {
  font-size: clamp(1.9rem, 4.5vw, 3.6rem);
  line-height: 1.05;
  max-width: 20ch;
}

.check-grid {
  list-style: none;
  margin-top: clamp(1.6rem, 4vh, 2.4rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 3rem;
  max-width: 62rem;
}

.check-grid li {
  position: relative;
  padding-left: 1.5rem;
  padding-bottom: 0.9rem;
  border-bottom: 2px solid rgba(10, 10, 10, 0.18);
  color: var(--ink-soft, #262626);
}

.check-grid li::before { content: "→"; position: absolute; left: 0; font-weight: 700; }

@media (max-width: 720px) {
  .check-grid { grid-template-columns: 1fr; }
}
