/* África Diáspora Festival 2026 — estilos
   Paleta y tipografía tomadas del dossier del festival (rojo, ocre, amarillo, azul, negro cálido sobre crema). */

:root {
  --ground: #fbf4e8;
  --ground-2: #f3e7d3;
  --ink: #1f1714;
  --ink-soft: #4a3d36;
  --red: #b8341f;
  --red-bright: #d8452e;
  --ochre: #dc922a;
  --yellow: #f4b71e;
  --blue: #13549c;
  --night: #2a201c;
  --night-2: #3a2d27;
  --cream-on-dark: #f6ead6;

  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --text: "Barlow", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --section: clamp(96px, 13vw, 200px);

  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.15rem);
  --step-1: clamp(1.3rem, 1.1rem + 0.8vw, 1.75rem);
  --step-2: clamp(2rem, 1.4rem + 2.6vw, 3.6rem);
  --step-3: clamp(2.8rem, 1.7rem + 4.6vw, 6.2rem);
  --step-4: clamp(3.6rem, 1.6rem + 9.4vw, 11.5rem);

  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--text);
  font-size: var(--step-0);
  line-height: 1.55;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: .92; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.dark :focus-visible, .field-blue :focus-visible, .field-red :focus-visible { outline-color: var(--yellow); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--gutter); top: -60px; background: var(--ink); color: var(--ground); padding: 10px 16px; z-index: 100; }
.skip:focus { top: 8px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: .01em;
  padding: .7em 1.4em; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--red); color: #fff; text-decoration: none;
  transition: transform .25s var(--ease), background-color .25s var(--ease);
}
.btn:hover { background: var(--red-bright); transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px currentColor; }
.btn--ghost:hover { background: var(--ink); color: var(--ground); }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: #ffc93d; }
.btn--light { background: var(--cream-on-dark); color: var(--ink); }
.btn--light:hover { background: #fff; }

/* ---------- Cabecera ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: var(--ground);
  transition: background-color .3s var(--ease);
}
.top__in { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { font-family: var(--display); font-weight: 800; font-size: 1.35rem; text-decoration: none; line-height: 1; display: flex; align-items: center; gap: 10px; }
.brand__sun { width: 22px; height: 22px; border-radius: 50%; background: var(--red); flex: none; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; position: relative; padding: 4px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); }
.lang { display: flex; background: var(--ground-2); border-radius: 999px; padding: 3px; }
.lang button { font: 600 .9rem var(--text); border: 0; background: transparent; padding: 6px 12px; border-radius: 999px; cursor: pointer; color: var(--ink-soft); transition: background-color .2s, color .2s; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--ground); }
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"]:hover { color: var(--ground); }
.top .btn { font-size: 1.05rem; padding: .55em 1.1em; }
.menu-btn { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-bottom: clamp(48px, 6vw, 96px); }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 64px); align-items: end; min-height: calc(100svh - 64px); }
.hero__copy { padding-top: clamp(32px, 6vw, 80px); position: relative; z-index: 2; }
.hero h1 { font-size: var(--step-4); line-height: .84; letter-spacing: -0.02em; text-transform: uppercase; }
.hero h1 span { display: block; }
.hero__when {
  font-family: var(--display); font-weight: 700; font-size: var(--step-2); line-height: 1; color: var(--red);
  margin: clamp(20px, 2.6vw, 36px) 0 0;
}
.hero__lede { max-width: 34ch; font-size: var(--step-1); line-height: 1.35; margin: 20px 0 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__art { position: relative; align-self: stretch; display: flex; align-items: flex-end; justify-content: center; }
.hero__disc { position: absolute; width: 118%; aspect-ratio: 1; border-radius: 50%; background: var(--red); right: -38%; top: -6%; }
.hero__disc--blue { width: 46%; background: var(--blue); right: auto; left: -8%; top: auto; bottom: -14%; }
.hero__photo { position: relative; z-index: 1; width: min(100%, 470px); }
.hero__photo img { width: 100%; transform-origin: 50% 80%; }
.hero__badge {
  position: absolute; z-index: 3; left: -8%; top: 18%;
  width: clamp(110px, 11vw, 150px); aspect-ratio: 1; border-radius: 50%;
  background: var(--yellow); color: var(--ink);
  display: grid; place-content: center; text-align: center;
  font-family: var(--display); font-weight: 800; line-height: .9; font-size: clamp(1.2rem, 1.6vw, 1.6rem);
}
.hero__badge b { display: block; font-size: 2.4em; }

/* Reloj de Dakar (lo vivo) */
.clock {
  margin-top: clamp(28px, 4vw, 48px);
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  background: var(--ground-2); border-radius: 20px; padding: 16px 22px; max-width: 560px;
}
.clock__time { font-family: var(--display); font-weight: 800; font-size: 2.6rem; line-height: 1; font-variant-numeric: tabular-nums; }
.clock__txt { flex: 1 1 220px; line-height: 1.35; }
.clock__txt strong { display: block; }

/* ---------- Secciones genéricas ---------- */
.section { padding-block: var(--section) 0; }
.section:last-child { padding-bottom: var(--section); }
.field { padding-block: var(--section); margin-top: var(--section); }
.field + .section, .field + .field { margin-top: 0; }
.field-blue { background: var(--blue); color: #fff; }
.field-red { background: var(--red); color: #fff; }
.field-yellow { background: var(--yellow); color: var(--ink); }
.dark { background: var(--night); color: var(--cream-on-dark); }
.h2 { font-size: var(--step-3); text-transform: uppercase; max-width: 22ch; }
.h3 { font-size: var(--step-2); }
.lede { font-size: var(--step-1); line-height: 1.4; max-width: 40ch; }

/* Contexto */
.ctx { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 3vw, 48px); }
.ctx__head { grid-column: 1 / -1; }
.ctx__text { grid-column: 1 / 7; columns: 2 18ch; column-gap: 32px; }
.ctx__text p { break-inside: avoid; }
.ctx__photo { grid-column: 7 / -1; grid-row: span 2; margin: 0; }
.ctx__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ctx__dakar { grid-column: 1 / 7; background: var(--night); color: var(--cream-on-dark); padding: clamp(24px, 3vw, 40px); border-radius: 28px; align-self: start; }
.ctx__dakar h3 { color: var(--yellow); font-size: var(--step-2); margin-bottom: 14px; }
.caption { font-size: .9rem; color: var(--ink-soft); margin-top: 10px; }
.dark .caption, .field-blue .caption, .field-red .caption { color: inherit; opacity: .8; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(56px, 7vw, 104px); }
.facts > div { padding: 28px 24px 30px; }
.facts > div:nth-child(1) { background: var(--blue); color: #fff; border-radius: 28px 0 0 28px; }
.facts > div:nth-child(2) { background: var(--yellow); }
.facts > div:nth-child(3) { background: var(--red); color: #fff; }
.facts > div:nth-child(4) { background: var(--night); color: var(--cream-on-dark); border-radius: 0 28px 28px 0; }
.facts dt { font-family: var(--display); font-weight: 800; font-size: var(--step-3); line-height: .9; }
.facts dd { margin: 8px 0 0; font-weight: 500; line-height: 1.3; }

/* 2024 */
.past { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.past h2 { color: var(--yellow); }
.past__intro { font-size: var(--step-1); line-height: 1.4; margin-top: 28px; max-width: 34ch; }
.nums { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 24px; margin-top: 56px; }
.nums dt { font-family: var(--display); font-weight: 800; font-size: clamp(3.2rem, 1.4rem + 5vw, 7rem); line-height: .85; color: var(--yellow); font-variant-numeric: tabular-nums; }
.nums dd { margin: 10px 0 0; font-size: 1.05rem; max-width: 20ch; }
.past__photo { margin: 0; }
.past__photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 999px 999px 0 0; }
.grow { margin-top: clamp(64px, 8vw, 120px); }
.grow h3 { font-size: var(--step-2); color: var(--cream-on-dark); margin-bottom: 28px; }
.grow ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.grow li { display: grid; grid-template-columns: 22px 1fr; gap: 18px; align-items: baseline; padding: 14px 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.4rem); line-height: 1.05; transition: color .3s var(--ease); }
.grow li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--yellow); transform: translateY(-2px); transition: transform .3s var(--ease); }
.grow li:hover { color: var(--yellow); }
.grow li:hover::before { transform: translateY(-2px) scale(1.4); }

/* Objetivos */
.goals__head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: end; }
.goals__head .lede { margin: 0; }
.goals { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: clamp(48px, 6vw, 88px); }
.goal { padding: clamp(28px, 3.4vw, 52px); min-height: 300px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.goal h3 { font-size: var(--step-2); text-transform: uppercase; }
.goal p { margin: 0; font-size: 1.1rem; max-width: 42ch; }
.goal:nth-child(1) { background: #fff; border-radius: 32px 0 0 0; }
.goal:nth-child(2) { background: var(--blue); color: #fff; border-radius: 0 32px 0 0; }
.goal:nth-child(3) { background: var(--red); color: #fff; border-radius: 0 0 0 32px; }
.goal:nth-child(4) { background: var(--yellow); border-radius: 0 0 32px 0; }
.goal__tag { font-family: var(--display); font-weight: 700; font-size: 1.1rem; }

.axes { margin-top: clamp(72px, 9vw, 140px); }
.axes h3 { font-size: var(--step-2); margin-bottom: 8px; }
.axes__list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 32px; }
.axes__list li { padding: 0 24px 0 0; }
.axes__list strong { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 3.4vw, 3.4rem); line-height: .95; color: var(--red); margin-bottom: 12px; }
.axes__list li:nth-child(2) strong { color: var(--blue); }
.axes__list li:nth-child(3) strong { color: var(--ochre); }
.axes__list li:nth-child(4) strong { color: var(--ink); }
.axes__list li:nth-child(5) strong { color: var(--red-bright); }
.axes__list span { display: block; max-width: 22ch; line-height: 1.35; }
.axes__close { font-family: var(--display); font-weight: 700; font-size: var(--step-2); line-height: 1.02; margin-top: clamp(56px, 7vw, 96px); max-width: 30ch; color: var(--blue); }

/* Programa */
.prog__head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; }
.prog__head h2 { color: #fff; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.filters button {
  font: 600 1rem var(--text); color: #fff; background: rgba(255,255,255,.12);
  border: 0; border-radius: 999px; padding: 10px 18px; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.filters button:hover { background: rgba(255,255,255,.24); }
.filters button:active { transform: scale(.97); }
.filters button[aria-pressed="true"] { background: var(--yellow); color: var(--ink); }
.prog__status { margin-top: 18px; min-height: 1.5em; font-weight: 500; }
.days { display: grid; gap: 16px; margin-top: 40px; }
.day { display: grid; grid-template-columns: minmax(180px, 280px) 1fr; background: var(--ground); color: var(--ink); border-radius: 28px; overflow: hidden; }
.day__label { padding: 28px; color: #fff; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.day__label b { font-family: var(--display); font-weight: 800; font-size: clamp(4.4rem, 8vw, 8rem); line-height: .8; }
.day__label span { font-family: var(--display); font-weight: 700; font-size: 1.7rem; line-height: 1; text-transform: uppercase; }
.day--17 .day__label { background: var(--red-bright); }
.day--18 .day__label { background: var(--night); }
.day--19 .day__label { background: var(--yellow); color: var(--ink); }
.day--20 .day__label { background: var(--red); }
.slots { padding: 10px 0; }
.slot { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 28px; transition: opacity .3s var(--ease), background-color .3s var(--ease); }
.slot + .slot { box-shadow: inset 0 1px 0 rgba(31, 23, 20, .08); }
.slot time { font-family: var(--display); font-weight: 700; font-size: 1.35rem; color: var(--red); font-variant-numeric: tabular-nums; }
.slot h3 { font-family: var(--text); font-weight: 600; font-size: 1.15rem; line-height: 1.35; letter-spacing: 0; }
.slot p { margin: 4px 0 0; color: var(--ink-soft); font-size: 1rem; }
.slot.is-dim { opacity: .28; }
.slot.is-now { background: var(--ground-2); }
.slot__flag { display: inline-block; font: 700 .85rem var(--text); background: var(--red); color: #fff; padding: 2px 10px; border-radius: 999px; margin-left: 8px; vertical-align: 2px; }
.prog__note { margin-top: 28px; opacity: .85; max-width: 60ch; }

/* Domingo en la ciudad */
.city__head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: end; }
.city__head p { margin: 0; }
.city__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px; margin-top: clamp(40px, 5vw, 72px); }
.city__grid figure { margin: 0; position: relative; overflow: hidden; border-radius: 24px; }
.city__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.city__grid figure:hover img { transform: scale(1.04); }
.city__grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 20px 18px; color: #fff; background: linear-gradient(to top, rgba(0,0,0,.62), rgba(0,0,0,0)); font-family: var(--display); font-weight: 700; font-size: 1.6rem; line-height: 1; }
.city__grid figcaption small { display: block; font-family: var(--text); font-weight: 500; font-size: .95rem; margin-top: 6px; line-height: 1.3; }
.city__a { grid-row: span 2; min-height: 560px; }
.city__b { grid-column: 2 / 4; aspect-ratio: 16 / 8; }
.city__c, .city__d { aspect-ratio: 4 / 3.4; }

/* España */
.spain { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.spain__lede { font-size: var(--step-1); line-height: 1.4; margin: 28px 0 0; max-width: 34ch; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 40px; }
.pair > div { padding: 26px; border-radius: 26px; }
.pair h3 { font-size: var(--step-2); text-transform: uppercase; margin-bottom: 10px; }
.pair p { margin: 0; }
.pair__es { background: #fff; color: var(--ink); }
.pair__es h3 { color: var(--blue); }
.pair__ca { background: var(--yellow); color: var(--ink); }
.pair__ca h3 { color: var(--red); }
.route { margin: 0; background: rgba(255,255,255,.08); border-radius: 28px; padding: clamp(18px, 2.4vw, 32px); }
.route svg { width: 100%; height: auto; display: block; }
.route figcaption { margin-top: 8px; }
.transversal { margin-top: clamp(56px, 7vw, 104px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.transversal h3 { font-size: 1.9rem; text-transform: uppercase; color: var(--yellow); margin-bottom: 10px; }
.transversal p { margin: 0; }
.alliance { margin-top: clamp(56px, 7vw, 104px); display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; background: var(--night); color: var(--cream-on-dark); border-radius: 32px; overflow: hidden; }
.alliance__txt { padding: clamp(28px, 4vw, 56px); }
.alliance h3 { color: var(--yellow); font-size: var(--step-2); text-transform: uppercase; margin-bottom: 18px; }
.alliance__cities { font-family: var(--display); font-weight: 800; font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.8rem); line-height: 1; margin-top: 24px; color: #fff; }
.alliance img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }

/* Artistas */
.cast__head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: end; }
.cast__head p { margin: 0; }
.wall { margin-top: clamp(40px, 5vw, 72px); font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: 1.02; font-size: clamp(1.9rem, 1rem + 3.4vw, 4.6rem); letter-spacing: -0.01em; }
.wall li { display: inline; }
.wall li::after { content: " / "; color: var(--ochre); font-weight: 600; }
.wall li:last-child::after { content: ""; }
.wall li:nth-child(4n+1) { color: var(--ink); }
.wall li:nth-child(4n+2) { color: var(--red); }
.wall li:nth-child(4n+3) { color: var(--blue); }
.wall li:nth-child(4n+4) { color: var(--ink-soft); }
.wall__spain { color: var(--ochre) !important; }
.cast__band { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 64px); margin-top: clamp(56px, 7vw, 104px); align-items: start; }
.cast__band figure { margin: 0; }
.cast__band img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 28px; }
.thinkers h3 { font-size: var(--step-2); margin-bottom: 20px; }
.thinkers li { padding: 14px 0; box-shadow: inset 0 -1px 0 rgba(31, 23, 20, .1); }
.thinkers strong { display: block; font-size: 1.15rem; }
.thinkers span { color: var(--ink-soft); }
.countries { margin-top: clamp(56px, 7vw, 104px); background: var(--ground-2); border-radius: 32px; padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.countries b { font-family: var(--display); font-weight: 800; font-size: var(--step-4); line-height: .8; color: var(--red); }
.countries h3 { font-size: var(--step-1); margin-bottom: 14px; }
.countries ul { display: flex; flex-wrap: wrap; gap: 8px; }
.countries li { background: var(--ground); padding: 6px 14px; border-radius: 999px; font-weight: 500; }

/* Marquesina */
.marquee { overflow: hidden; background: var(--yellow); color: var(--ink); padding: 18px 0; margin-top: var(--section); }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee__track span { font-family: var(--display); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.8rem); text-transform: uppercase; white-space: nowrap; padding-right: 1.2em; }
.marquee__track span i { font-style: normal; color: var(--red); padding-left: 1.2em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Para quién */
.who { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.who figure { margin: 0; position: sticky; top: 96px; }
.who figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 0 0 999px 999px; }
.who__intro { font-size: var(--step-1); line-height: 1.4; margin: 24px 0 40px; }
.who__list li { display: grid; grid-template-columns: 18px 1fr; gap: 18px; padding: 20px 0; }
.who__list li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--red); margin-top: 8px; }
.who__list li:nth-child(2)::before { background: var(--yellow); }
.who__list li:nth-child(3)::before { background: var(--blue); }
.who__list li:nth-child(4)::before { background: var(--ochre); }
.who__list li:nth-child(5)::before { background: var(--ink); }
.who__list li:nth-child(6)::before { background: var(--red-bright); }
.who__list h3 { font-size: 1.9rem; margin-bottom: 4px; }
.who__list p { margin: 0; }

/* Impacto */
.impact { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.impact h2 { color: var(--yellow); }
.impact__intro { font-size: var(--step-1); line-height: 1.4; margin-top: 28px; max-width: 30ch; }
.dims li { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; padding: 22px 0; box-shadow: inset 0 -1px 0 rgba(255,255,255,.2); align-items: baseline; }
.dims h3 { font-size: clamp(1.8rem, 2.6vw, 2.6rem); text-transform: uppercase; }
.dims p { margin: 0; }
.goalnums dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0 0; }
.goalnums { margin-top: clamp(56px, 7vw, 104px); background: var(--night); color: var(--cream-on-dark); border-radius: 32px; padding: clamp(28px, 4vw, 56px); }
.goalnums h3 { color: var(--yellow); font-size: var(--step-2); }
.goalnums dt { font-family: var(--display); font-weight: 800; font-size: var(--step-4); line-height: .85; color: #fff; font-variant-numeric: tabular-nums; }
.goalnums dd { margin: 8px 0 0; }

/* Contacto */
.org { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(40px, 5vw, 72px); }
.org__card { border-radius: 32px; padding: clamp(28px, 3.6vw, 52px); display: flex; flex-direction: column; gap: 18px; }
.org__card h3 { font-size: var(--step-2); text-transform: uppercase; }
.org__card p { margin: 0; max-width: 44ch; }
.org__card img { width: auto; height: 72px; border-radius: 10px; background: #fff; padding: 6px; }
.org__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.org__where { font-weight: 600; }
.org__card .btn { align-self: flex-start; margin-top: auto; }
.org--baobab { background: var(--red); color: #fff; }
.org--voces { background: var(--blue); color: #fff; }
.join { margin-top: clamp(56px, 7vw, 104px); display: grid; grid-template-columns: 1.6fr .4fr; gap: clamp(24px, 4vw, 64px); align-items: end; }
.join p { font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 1.1rem + 1.5vw, 2.5rem); line-height: 1.08; color: var(--yellow); margin: 0; max-width: 40ch; }
.allies { margin-top: clamp(56px, 7vw, 104px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); }
.allies h3 { font-size: var(--step-1); color: var(--yellow); margin-bottom: 16px; }
.allies li { padding: 12px 0; box-shadow: inset 0 -1px 0 rgba(246, 234, 214, .15); font-weight: 500; }
.logos { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(40px, 5vw, 72px); align-items: center; }
.logos img { height: 84px; width: auto; background: #fff; border-radius: 12px; padding: 8px; }

/* Pie */
.foot { background: var(--night); color: var(--cream-on-dark); padding-top: clamp(64px, 8vw, 120px); padding-bottom: 40px; }
.foot__name { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(3rem, 12.4vw, 13rem); line-height: .82; letter-spacing: -0.02em; color: var(--yellow); margin: 0; }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; margin-top: 40px; }
.foot__row p { margin: 0; font-weight: 600; }
.credits { margin-top: 48px; font-size: .85rem; opacity: .78; line-height: 1.5; }
.credits h2 { font-family: var(--text); font-size: .95rem; font-weight: 700; letter-spacing: 0; margin-bottom: 6px; }
.credits a { text-underline-offset: 2px; }

/* ---------- Movimiento ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.hero__photo img { animation: breathe 14s ease-in-out infinite alternate; }
@keyframes breathe { from { transform: scale(1); } to { transform: scale(1.045); } }
.hero__disc { animation: drift 20s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(-3%, 4%); } }
.js .hero h1 span { display: block; overflow: hidden; }
.js .hero h1 span i { display: block; font-style: normal; transform: translateY(105%); animation: rise 1s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 120ms + 100ms); }
@keyframes rise { to { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .hero h1 span i { transform: none; }
}

/* ---------- Tableta ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; margin-left: auto; font: 600 1rem var(--text); background: var(--ground-2); border: 0; border-radius: 999px; padding: 8px 16px; cursor: pointer; color: var(--ink); }
  .top.is-open .nav { display: flex; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--ground); padding: 8px var(--gutter) 20px; }
  .top.is-open .nav a { padding: 12px 0; font-size: 1.2rem; }
  .top .btn { display: none; }
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__art { min-height: 520px; margin-inline: calc(var(--gutter) * -1); overflow: hidden; }
  .hero__disc { width: 90%; right: -20%; top: -10%; }
  .hero__photo { width: min(70%, 420px); }
  .hero__badge { left: 6%; top: 10%; }
  .ctx__text, .ctx__dakar { grid-column: 1 / -1; }
  .ctx__photo { grid-column: 1 / -1; grid-row: auto; }
  .ctx__photo img { aspect-ratio: 16 / 10; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts > div:nth-child(1) { border-radius: 28px 0 0 0; }
  .facts > div:nth-child(2) { border-radius: 0 28px 0 0; }
  .facts > div:nth-child(3) { border-radius: 0 0 0 28px; }
  .facts > div:nth-child(4) { border-radius: 0 0 28px 0; }
  .past, .spain, .impact, .who, .cast__band, .goals__head, .city__head, .cast__head, .join, .alliance { grid-template-columns: 1fr; }
  .past__photo img { aspect-ratio: 16 / 11; border-radius: 28px; }
  .axes__list { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .transversal { grid-template-columns: repeat(2, 1fr); }
  .who figure { position: static; }
  .who figure img { aspect-ratio: 16 / 11; border-radius: 28px; }
  .city__grid { grid-template-columns: 1fr 1fr; }
  .city__a { grid-row: auto; grid-column: 1 / -1; min-height: 0; aspect-ratio: 16 / 10; }
  .city__b { grid-column: 1 / -1; }
}

/* ---------- Móvil ---------- */
@media (max-width: 640px) {
  .brand { font-size: 1rem; gap: 8px; }
  .brand__sun { width: 16px; height: 16px; }
  .top__in { gap: 10px; }
  .menu-btn { padding: 8px 12px; }
  .lang button { padding: 6px 10px; }
  .hero__art { min-height: 420px; }
  .hero__photo { width: 76%; }
  .hero__badge { width: 96px; font-size: 1rem; }
  .clock { padding: 14px 16px; }
  .clock__time { font-size: 2.1rem; }
  .ctx__text { columns: 1; }
  .facts dt { font-size: 3rem; }
  .goals { grid-template-columns: 1fr; }
  .goal { min-height: 0; }
  .goal:nth-child(1) { border-radius: 28px 28px 0 0; }
  .goal:nth-child(2), .goal:nth-child(3) { border-radius: 0; }
  .goal:nth-child(4) { border-radius: 0 0 28px 28px; }
  .grow ul { grid-template-columns: 1fr; }
  .axes__list { grid-template-columns: 1fr; }
  .prog__head { grid-template-columns: 1fr; }
  .day { grid-template-columns: 1fr; }
  .day__label { flex-direction: row; align-items: flex-end; padding: 20px 22px; }
  .day__label b { font-size: 4.4rem; }
  .slot { grid-template-columns: 1fr; gap: 4px; padding: 14px 22px; }
  .city__grid { grid-template-columns: 1fr; }
  .city__a, .city__b, .city__c, .city__d { grid-column: auto; aspect-ratio: 4 / 3.2; }
  .pair { grid-template-columns: 1fr; }
  .transversal { grid-template-columns: 1fr; gap: 24px; }
  .dims li { grid-template-columns: 1fr; gap: 6px; }
  .goalnums dl { grid-template-columns: 1fr; }
  .countries { grid-template-columns: 1fr; }
  .org { grid-template-columns: 1fr; }
  .allies { grid-template-columns: 1fr; }
  .nums { gap: 28px 16px; }
}
