/* ==========================================================================
   Club Atletismo Chapín Jerez — hoja de estilos
   1. Tokens · 2. Base · 3. Utilidades · 4. Botones · 5. Header · 6. Hero
   7. Secciones de portada · 8. Páginas interiores · 9. Noticias/Crónicas
   10. Galería · 11. Footer · 12. Movimiento
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
@font-face {
  font-family: "Big Shoulders Display";
  src: url("../fonts/big-shoulders-display.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --navy-950: #050d1a;
  --navy-900: #081528;
  --navy-800: #0d2040;
  --navy-700: #16305c;
  --blue: #216bff;
  --blue-deep: #1a52c9;
  --blue-light: #6fa3ff;
  --track: #ff5a36;
  --ink: #0b1526;
  --ink-soft: #46536a;
  --paper: #ffffff;
  --mist: #f2f5fa;
  --line: #d9e0ec;
  --line-dark: rgba(255, 255, 255, 0.16);

  --font-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(20px, 4vw, 56px);
  --container: 1360px;
  --section-y: clamp(72px, 10vw, 152px);
  --header-h: 76px;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --cut: 6deg;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
address { font-style: normal; }
::selection { background: var(--blue); color: #fff; }

:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 3px; border-radius: 2px; }
.on-light :focus-visible, .section--light :focus-visible { outline-color: var(--blue); }

.skip-link {
  position: fixed; left: 16px; top: -100px; z-index: 200;
  background: var(--blue); color: #fff; padding: 12px 20px; font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.icon-whatsapp { color: #25d366; }
.btn .icon-whatsapp { color: inherit; }
.contact-card .icon-whatsapp { color: #25d366; }
.site-footer .icon-whatsapp, .drawer .icon-whatsapp { color: #fff; }
.wa-link { display: inline-flex; align-items: center; gap: 8px; }

/* 3. Utilidades ------------------------------------------------------------ */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--section-y); }
.section--mist { background: var(--mist); }
.section--dark { background: var(--navy-900); color: #fff; }
.section--tight { padding-block: clamp(48px, 7vw, 96px); }

.display {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.005em;
}
.h1 { font-size: clamp(3.4rem, 9.2vw, 9rem); }
.h2 { font-size: clamp(2.6rem, 6vw, 5.6rem); }
.h3 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1; }
.accent { color: var(--blue); }
.section--dark .accent, .hero .accent, .page-hero .accent { color: var(--blue-light); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--blue);
}
.eyebrow::before { content: ""; width: 34px; height: 3px; background: currentColor; transform: skewX(-30deg); flex: none; }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--blue-light); }

.lead { font-size: clamp(1.125rem, 1.5vw, 1.35rem); line-height: 1.6; color: var(--ink-soft); max-width: 60ch; }
.section--dark .lead, .hero .lead, .page-hero .lead { color: rgba(255, 255, 255, 0.78); }

.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: clamp(36px, 5vw, 72px); }
.section-head__text { display: grid; gap: 18px; max-width: 46rem; }

.prose { display: grid; gap: 1.25em; max-width: 68ch; }
.prose p { color: var(--ink-soft); }
.prose h2 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1; color: var(--ink); margin-top: 0.8em; }
.prose strong { color: var(--ink); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue); padding-bottom: 4px; border-bottom: 2px solid currentColor;
}
.link-arrow .icon { transition: transform 0.3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(6px); }
.section--dark .link-arrow { color: var(--blue-light); }

/* Imagen con recorte diagonal: el gesto gráfico del proyecto */
.cut { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 32px), calc(100% - 44px) 100%, 0 100%); }
.frame { position: relative; overflow: hidden; background: var(--navy-800); }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
a:hover > .frame img, .frame:hover img { transform: scale(1.04); }

/* 4. Botones --------------------------------------------------------------- */
.btn {
  --btn-bg: var(--blue); --btn-fg: #fff; --btn-hover: var(--blue-deep);
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0.7em 2em;
  font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--btn-fg); text-align: center;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-bg); transform: skewX(-14deg);
  transition: background-color 0.25s var(--ease), transform 0.35s var(--ease);
}
.btn:hover::before { background: var(--btn-hover); transform: skewX(-14deg) scaleX(1.03); }
.btn .icon { transition: transform 0.3s var(--ease); }
.btn:hover .icon { transform: translateX(5px); }
.btn--ghost { --btn-bg: transparent; --btn-hover: rgba(255, 255, 255, 0.14); }
.btn--ghost::before { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.85); }
.btn--white { --btn-bg: #fff; --btn-fg: var(--navy-900); --btn-hover: #e7eeff; }
.btn--dark { --btn-bg: var(--navy-900); --btn-hover: var(--navy-700); }
.btn--sm { min-height: 46px; padding: 0.55em 1.5em; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px 20px; }

/* 5. Header ---------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  color: #fff; transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease), height 0.35s var(--ease);
}
.site-header.is-scrolled, body.nav-open .site-header {
  background: rgba(8, 21, 40, 0.94);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-dark);
}
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand img { height: 46px; width: auto; }
.brand__name { display: grid; line-height: 1; font-family: var(--font-display); text-transform: uppercase; }
.brand__name strong { font-size: 1.55rem; font-weight: 900; letter-spacing: 0.04em; }
.brand__name span { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.32em; color: var(--blue-light); margin-top: 3px; }

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 44px); }
.nav__link {
  position: relative; display: inline-block; padding: 8px 0;
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86); transition: color 0.2s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--blue-light);
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: #fff; }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.site-header__cta { display: none; }

.nav-toggle { position: relative; width: 48px; height: 48px; margin-right: -8px; display: grid; place-items: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 26px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.35s var(--ease), background-color 0.2s;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after { top: 8px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(8px) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translateY(-8px) rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 90; padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  background: var(--navy-950); color: #fff; overflow-y: auto;
  visibility: hidden; opacity: 0; transform: translateY(-12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s 0.3s;
}
body.nav-open .drawer { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.drawer__list { display: grid; }
.drawer__link {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 0; min-height: 56px;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 11vw, 4rem); line-height: 1; text-transform: uppercase;
  border-bottom: 1px solid var(--line-dark);
}
.drawer__link small { font-size: 1rem; letter-spacing: 0.2em; color: var(--blue-light); }
.drawer__link[aria-current="page"] { color: var(--blue-light); }
.drawer__foot { display: grid; gap: 20px; font-size: 0.95rem; color: rgba(255, 255, 255, 0.72); }
.drawer__foot a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 1024px) {
  .nav { display: block; }
  .site-header__cta { display: inline-flex; }
  .nav-toggle, .drawer { display: none; }
}

/* 6. Hero (portada) -------------------------------------------------------- */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--navy-950); min-height: min(100svh, 940px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%; will-change: transform; }
.hero::before { /* velo lateral para el texto */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 13, 26, 0.94) 0%, rgba(5, 13, 26, 0.72) 34%, rgba(5, 13, 26, 0.12) 68%, rgba(5, 13, 26, 0) 100%),
    linear-gradient(0deg, rgba(5, 13, 26, 0.92) 0%, rgba(5, 13, 26, 0) 38%),
    linear-gradient(180deg, rgba(5, 13, 26, 0.6) 0%, rgba(5, 13, 26, 0) 22%);
}
.hero__inner { padding-top: calc(var(--header-h) + 56px); padding-bottom: clamp(36px, 5vw, 64px); display: grid; gap: clamp(20px, 2.4vw, 32px); }
.hero__title { font-size: clamp(3.4rem, 7.8vw, 8.2rem); line-height: 0.88; max-width: 7.4em; }
.hero__title .accent { display: inline-block; }
.hero__lead { max-width: 34rem; font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: rgba(255, 255, 255, 0.86); }

.hero__facts { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-dark); }
.hero__fact { padding: 18px 0 20px; display: grid; gap: 2px; }
.hero__fact:nth-child(odd) { padding-right: 16px; }
.hero__fact:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line-dark); }
.hero__fact:nth-child(n + 3) { border-top: 1px solid var(--line-dark); }
.hero__fact dt { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.hero__fact dd { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.25rem, 3.6vw, 1.7rem); text-transform: uppercase; line-height: 1.05; letter-spacing: 0.03em; font-variant-numeric: tabular-nums; }
@media (min-width: 900px) {
  .hero__facts { grid-template-columns: repeat(4, 1fr); }
  .hero__fact, .hero__fact:nth-child(odd), .hero__fact:nth-child(even) { padding: 22px 24px 24px; border-top: 0; border-left: 1px solid var(--line-dark); }
  .hero__fact:first-child { padding-left: 0; border-left: 0; }
}
@media (max-width: 899px) {
  .hero { --media-h: min(54svh, 520px); min-height: 0; justify-content: flex-start; }
  .hero__media { bottom: auto; height: var(--media-h); }
  .hero__img { object-position: 64% 40%; }
  .hero::before { background:
    linear-gradient(180deg, rgba(5, 13, 26, 0.72) 0%, rgba(5, 13, 26, 0) 26%, rgba(5, 13, 26, 0) calc(var(--media-h) - 150px), var(--navy-950) calc(var(--media-h) - 4px)); }
  .hero__inner { padding-top: calc(var(--media-h) - 72px); }
}
@media (max-width: 639px) { .hero .btn-row .btn { flex: 1 1 100%; } }
/* Páginas interiores: cabecera con foto */
.page-hero { position: relative; isolation: isolate; color: #fff; background: var(--navy-950); overflow: hidden; padding: calc(var(--header-h) + clamp(56px, 8vw, 120px)) 0 clamp(48px, 7vw, 96px); }
.page-hero:not(.page-hero--plain) { min-height: clamp(400px, 56vh, 600px); display: flex; align-items: flex-end; }
.page-hero:not(.page-hero--plain) .page-hero__inner { width: 100%; }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 13, 26, 0.94), rgba(5, 13, 26, 0.6) 60%, rgba(5, 13, 26, 0.35)), linear-gradient(0deg, rgba(5, 13, 26, 0.8), rgba(5, 13, 26, 0) 50%); }
.page-hero--plain::before { display: none; }
.page-hero--plain { background: var(--navy-900); padding-bottom: clamp(40px, 5vw, 64px); }
.page-hero__inner { display: grid; gap: 20px; }
.page-hero__title { font-size: clamp(3.4rem, 10vw, 8.6rem); max-width: 11em; }
.page-hero__title--sm { font-size: clamp(2.8rem, 7vw, 6rem); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.85rem; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.7); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.5; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

/* 7. Secciones de portada -------------------------------------------------- */
/* Pilares */
.pillars { display: grid; }
.pillar { position: relative; padding: 32px 0 36px; border-top: 1px solid var(--line); display: grid; gap: 14px; align-content: start; }
.pillar__num { font-family: var(--font-display); font-weight: 900; font-size: 4.4rem; line-height: 0.8; color: transparent; -webkit-text-stroke: 1.5px var(--blue); font-variant-numeric: tabular-nums; }
.pillar p { color: var(--ink-soft); max-width: 28ch; }
.pillar::after { content: ""; position: absolute; top: -1px; left: 0; width: 56px; height: 3px; background: var(--blue); transition: width 0.5s var(--ease); }
.pillar:hover::after { width: 100%; }
@media (min-width: 720px) { .pillars { grid-template-columns: repeat(2, 1fr); column-gap: clamp(24px, 4vw, 64px); } }
@media (min-width: 1100px) { .pillars { grid-template-columns: repeat(4, 1fr); } }

/* El club (intro con foto) */
.split { display: grid; gap: clamp(36px, 6vw, 96px); align-items: center; }
.split__text { display: grid; gap: 26px; justify-items: start; }
.split__media { position: relative; }
.split__media .frame { aspect-ratio: 4 / 3; }
.split__ghost {
  position: absolute; z-index: 0; right: -0.04em; bottom: -0.28em; pointer-events: none; user-select: none;
  font-family: var(--font-display); font-weight: 900; font-size: clamp(7rem, 22vw, 20rem); line-height: 0.8; color: transparent; -webkit-text-stroke: 1.5px rgba(33, 107, 255, 0.35);
}
.split__media .frame { position: relative; z-index: 1; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1.08fr 1fr; }
  .split--flip .split__media { order: 2; }
}

/* Cifras (banda diagonal) */
.stats { position: relative; color: #fff; background: var(--navy-900); padding-block: clamp(64px, 9vw, 120px); margin-block: 0; clip-path: polygon(0 var(--cut-y, 28px), 100% 0, 100% calc(100% - var(--cut-y, 28px)), 0 100%); --cut-y: clamp(16px, 3vw, 44px); }
.stats::before { /* calles de pista, muy sutiles */
  content: ""; position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background: repeating-linear-gradient(-6deg, transparent 0 79px, rgba(111, 163, 255, 0.09) 79px 81px);
}
.stats__grid { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
.stat { display: grid; gap: 6px; align-content: start; }
.stat__value { font-family: var(--font-display); font-weight: 900; font-size: clamp(3.4rem, 9vw, 8rem); line-height: 0.85; font-variant-numeric: tabular-nums; letter-spacing: 0.005em; }
.stat__value--text { font-size: clamp(2.2rem, 5.2vw, 4.4rem); line-height: 0.95; }
.stat__label { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue-light); padding-top: 10px; border-top: 3px solid var(--blue); margin-top: 8px; }
@media (min-width: 900px) { .stats__grid { grid-template-columns: repeat(4, 1fr); gap: 24px 40px; } }

/* Palmarés */
.honours { position: relative; isolation: isolate; color: #fff; background: var(--navy-950); overflow: hidden; }
.honours__bg { position: absolute; inset: 0; z-index: -2; }
.honours__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.honours::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--navy-950) 0%, rgba(5, 13, 26, 0.8) 30%, rgba(5, 13, 26, 0.86) 100%); }
.honours__grid { display: grid; gap: 0; margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line-dark); }
.honour { padding: 32px 0; border-bottom: 1px solid var(--line-dark); display: grid; grid-template-columns: max-content 1fr; gap: 8px clamp(20px, 3vw, 40px); align-items: baseline; }
.honour__value { min-width: 2.35em; font-family: var(--font-display); font-weight: 900; font-size: clamp(3.4rem, 7vw, 6rem); line-height: 0.85; color: var(--blue-light); font-variant-numeric: tabular-nums; }
.honour__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem, 2.4vw, 2rem); text-transform: uppercase; line-height: 1.05; }
.honour__text { grid-column: 2; color: rgba(255, 255, 255, 0.72); font-size: 0.98rem; max-width: 48ch; }
@media (min-width: 900px) {
  .honours__grid { grid-template-columns: repeat(2, 1fr); column-gap: clamp(32px, 6vw, 96px); }
}

/* 9. Tarjetas de noticias -------------------------------------------------- */
.news-grid { display: grid; gap: clamp(20px, 2.4vw, 32px); }
.news-card { position: relative; display: grid; gap: 18px; align-content: start; }
.news-card .frame { aspect-ratio: 3 / 2; }
.news-card__date { position: absolute; z-index: 2; top: 0; left: 0; display: grid; place-items: center; min-width: 68px; padding: 10px 14px 12px; background: var(--blue); color: #fff; font-family: var(--font-display); font-weight: 900; line-height: 0.9; text-transform: uppercase; }
.news-card__date b { font-size: 2rem; font-weight: 900; }
.news-card__date span { font-size: 0.95rem; letter-spacing: 0.16em; font-weight: 700; }
.news-card__tag { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue); }
.news-card__title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.5rem, 2.2vw, 2.1rem); line-height: 1.02; transition: color 0.25s; }
.news-card--lead .news-card__title { font-size: clamp(2rem, 3.4vw, 3.2rem); }
.news-card:hover .news-card__title { color: var(--blue); }
.news-card__excerpt { color: var(--ink-soft); font-size: 0.98rem; max-width: 52ch; }
.news-card__more { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; font-size: 1.05rem; color: var(--blue); }
.news-card__more .icon { transition: transform 0.3s var(--ease); }
.news-card:hover .news-card__more .icon { transform: translateX(6px); }
.news-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* toda la tarjeta clicable */
.news-card__link:focus-visible { outline: none; }
.news-card:has(.news-card__link:focus-visible) { outline: 3px solid var(--blue); outline-offset: 8px; }

@media (min-width: 960px) {
  .news-grid--home { grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; }
  .news-grid--home .news-card--lead { grid-row: 1 / span 2; }
  .news-grid--home .news-card--lead .frame { aspect-ratio: 4 / 3; }
  .news-grid--home .news-card:not(.news-card--lead) { grid-template-columns: 0.9fr 1fr; gap: 24px; align-items: center; }
  .news-grid--home .news-card:not(.news-card--lead) .frame { aspect-ratio: 1 / 1; }
}
@media (min-width: 640px) and (max-width: 959px) { .news-grid--home { grid-template-columns: repeat(2, 1fr); } .news-grid--home .news-card--lead { grid-column: 1 / -1; } }

.news-grid--list { gap: clamp(40px, 5vw, 72px) clamp(20px, 3vw, 40px); }
@media (min-width: 720px) { .news-grid--list { grid-template-columns: repeat(2, 1fr); } }
.news-grid--list .news-card .frame { aspect-ratio: 4 / 3; }


.more-list { margin-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line); }
.more-list__title { padding: 20px 0 8px; font-family: var(--font-display); font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.95rem; color: var(--ink-soft); }
.more-list a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 600; transition: color 0.2s, padding 0.3s var(--ease); }
.more-list a:hover { color: var(--blue); padding-left: 10px; }
.more-list a .icon { color: var(--blue); transition: transform 0.3s var(--ease); }
.more-list a:hover .icon { transform: translateX(6px); }
@media (min-width: 900px) { .more-list ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; } }

/* 10. Galería -------------------------------------------------------------- */
.mosaic { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(140px, 34vw, 210px); }
.mosaic__item { position: relative; overflow: hidden; background: var(--navy-800); }
.mosaic__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease), filter 0.5s; }
.mosaic__item:hover img { transform: scale(1.05); }
.mosaic__item--a { grid-column: span 2; grid-row: span 2; }
.mosaic__item--b { grid-row: span 2; }
@media (min-width: 900px) {
  .mosaic { grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(150px, 15vw, 230px); gap: 16px; }
  .mosaic__item--a { grid-column: 1 / span 6; grid-row: 1 / span 3; }
  .mosaic__item--b { grid-column: 7 / span 3; grid-row: 1 / span 2; }
  .mosaic__item--c { grid-column: 10 / span 3; grid-row: 1 / span 1; }
  .mosaic__item--d { grid-column: 10 / span 3; grid-row: 2 / span 1; }
  .mosaic__item--e { grid-column: 7 / span 3; grid-row: 3 / span 1; }
  .mosaic__item--f { grid-column: 10 / span 3; grid-row: 3 / span 1; }
}

.gallery-grid { columns: 1; column-gap: 16px; }
.gallery-item { display: block; position: relative; break-inside: avoid; margin-bottom: 16px; overflow: hidden; background: var(--navy-800); cursor: zoom-in; width: 100%; }
.gallery-item img { width: 100%; height: auto; transition: transform 0.9s var(--ease); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 13, 26, 0.55), transparent 40%); opacity: 0; transition: opacity 0.4s; }
.gallery-item:hover::after, .gallery-item:focus-visible::after { opacity: 1; }
@media (min-width: 640px) { .gallery-grid { columns: 2; } }
@media (min-width: 1000px) { .gallery-grid { columns: 3; } }

.lightbox { width: min(1200px, 100vw); max-width: 100vw; max-height: 100svh; height: 100svh; margin: auto; padding: 0; border: 0; background: transparent; color: #fff; }
.lightbox::backdrop { background: rgba(5, 13, 26, 0.94); }
.lightbox__inner { height: 100%; display: grid; grid-template-rows: 1fr auto; padding: 56px 16px 20px; gap: 14px; }
.lightbox__figure { min-height: 0; display: grid; place-items: center; }
.lightbox__figure img { max-width: 100%; max-height: calc(100svh - 132px); width: auto; height: auto; object-fit: contain; }
@media (min-width: 720px) { .lightbox__inner { padding-inline: 84px; } }
.lightbox__caption { text-align: center; color: rgba(255, 255, 255, 0.8); font-size: 0.95rem; }
.lightbox__btn { position: absolute; width: 52px; height: 52px; display: grid; place-items: center; background: rgba(5, 13, 26, 0.72); border: 1px solid rgba(255, 255, 255, 0.28); transition: background-color 0.2s; }
.lightbox__btn:hover { background: var(--blue); }
.lightbox__btn--close { top: 12px; right: 12px; }
.lightbox__btn--prev, .lightbox__btn--next { top: 50%; margin-top: -26px; }
.lightbox__btn--prev { left: 8px; } .lightbox__btn--next { right: 8px; }
.lightbox__btn--prev .icon { transform: scaleX(-1); }

/* 8. Páginas interiores ---------------------------------------------------- */
.two-col { display: grid; gap: 28px; }
.two-col__head { display: grid; gap: 18px; align-content: start; }
@media (min-width: 960px) { .two-col { grid-template-columns: 0.9fr 1.1fr; gap: clamp(48px, 7vw, 112px); } .two-col__head { position: sticky; top: calc(var(--header-h) + 32px); } }

/* Valores (club) */
.values { display: grid; border-top: 1px solid var(--line); }
.value { display: grid; grid-template-columns: 64px 1fr; gap: 6px 20px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.value__num { grid-row: span 2; font-family: var(--font-display); font-weight: 900; font-size: 2.6rem; line-height: 0.9; color: var(--blue); font-variant-numeric: tabular-nums; }
.value h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.9rem, 3vw, 2.8rem); line-height: 1; }
.value p { color: var(--ink-soft); max-width: 44ch; }
@media (min-width: 900px) {
  .value { grid-template-columns: 96px 0.9fr 1.2fr; gap: 24px 32px; padding: 36px 0; align-items: center; }
  .value__num { grid-row: auto; font-size: 3.4rem; }
}

.photo-band { padding-inline: var(--gutter); }
.photo-band .frame { max-width: 1370px; margin-inline: auto; aspect-ratio: 1370 / 596; }
.photo-band .frame img { object-position: 50% 45%; }
@media (max-width: 719px) { .photo-band { padding-inline: 0; } .photo-band .frame { aspect-ratio: 4 / 3; } }
.photo-band figcaption { padding: 14px var(--gutter); font-size: 0.85rem; color: var(--ink-soft); }

/* Palmarés en lista cronológica */
.timeline { display: grid; border-top: 1px solid var(--line); }
.timeline__row { display: grid; gap: 8px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.timeline__title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.05; }
.timeline__seasons { color: var(--ink-soft); font-size: 0.98rem; max-width: 60ch; }
.timeline__year { font-family: var(--font-display); font-weight: 900; font-size: 1.6rem; color: var(--blue); line-height: 1; letter-spacing: 0.04em; }
@media (min-width: 800px) { .timeline__row { grid-template-columns: 0.32fr 1fr; gap: 32px; align-items: baseline; } }

.awards { display: grid; gap: 16px; margin-top: 32px; }
.award { position: relative; padding: 28px 28px 30px 34px; background: var(--navy-900); color: #fff; }
.award::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--blue); }
.award__year { font-family: var(--font-display); font-weight: 900; font-size: 1rem; letter-spacing: 0.24em; color: var(--blue-light); }
.award p { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.05; margin-top: 8px; }
@media (min-width: 800px) { .awards { grid-template-columns: 1fr 1fr; } }

/* Crónicas */
.article-grid { display: grid; gap: 40px; }
.article-aside { order: -1; display: grid; gap: 20px; align-content: start; }
.article-aside .frame { aspect-ratio: auto; }
.article-aside .frame img { height: auto; }
.article-aside figcaption { font-size: 0.85rem; color: var(--ink-soft); padding-top: 10px; }
.article-main { display: grid; gap: clamp(32px, 4vw, 52px); min-width: 0; }
@media (min-width: 960px) {
  .article-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.9fr); gap: clamp(48px, 6vw, 96px); align-items: start; }
  .article-aside { order: 2; position: sticky; top: calc(var(--header-h) + 32px); }
  .article-aside:has(> :nth-child(2)) { position: static; }
}
.results-title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1; margin-bottom: 18px; }
.results { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.result { display: grid; gap: 12px; align-content: start; padding: 22px 24px 24px; background: var(--mist); border-top: 4px solid var(--blue); }
.result__name { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.5rem; line-height: 1; }
.result__lines { display: grid; gap: 8px; }
.result__line { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-top: 8px; border-top: 1px solid var(--line); }
.result__pos { font-family: var(--font-display); font-weight: 900; font-size: 1.7rem; line-height: 1; color: var(--blue); text-transform: uppercase; }
.result__event { font-size: 0.92rem; font-weight: 600; color: var(--ink-soft); text-align: right; }
.result--gold { border-top-color: #f2b705; }
.result--gold .result__pos { color: #a87a00; }
.article-lead { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.7rem, 2.8vw, 2.4rem); line-height: 1.02; color: var(--ink); }
.article-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding-top: 32px; margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }
.link-arrow--back .icon { transform: scaleX(-1); }
.link-arrow--back:hover .icon { transform: scaleX(-1) translateX(6px); }
/* Calendario */
.events { display: grid; border-top: 1px solid var(--line); }
.event { display: grid; grid-template-columns: 84px 1fr; gap: 6px 22px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: start; }
.event__date { display: grid; place-items: center; padding: 10px 6px 12px; background: var(--navy-900); color: #fff; font-family: var(--font-display); text-transform: uppercase; line-height: 0.9; text-align: center; }
.event__date b { font-size: 2.2rem; font-weight: 900; }
.event__date span { font-size: 0.9rem; letter-spacing: 0.16em; font-weight: 700; color: var(--blue-light); }
.event__body { display: grid; gap: 8px; }
.event__title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.02; }
.event__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--ink-soft); font-size: 0.95rem; }
.event__meta .icon { display: inline-block; width: 1.05em; height: 1.05em; margin-right: 6px; vertical-align: -0.15em; color: var(--blue); }
.event .link-arrow { justify-self: start; font-size: 1rem; margin-top: 6px; }
@media (min-width: 800px) { .event { grid-template-columns: 120px 1fr auto; align-items: center; } .event .link-arrow { margin-top: 0; } .event__date b { font-size: 3rem; } }

/* Contacto / únete */
.join { position: relative; isolation: isolate; color: #fff; background: var(--blue); overflow: hidden; }
.join::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(-6deg, transparent 0 79px, rgba(255, 255, 255, 0.09) 79px 81px); }
.join__grid { display: grid; gap: clamp(36px, 6vw, 96px); align-items: center; }
.join__text { display: grid; gap: 24px; justify-items: start; }
.join__text .eyebrow { color: #fff; }
.join__text .lead { color: rgba(255, 255, 255, 0.92); }
.join__media .frame { aspect-ratio: 4 / 3; }
@media (min-width: 960px) { .join__grid { grid-template-columns: 1fr 0.9fr; } .join__media { order: 2; } }

.contact-cards { display: grid; gap: 0; margin-top: clamp(48px, 7vw, 96px); border-top: 1px solid var(--line); }
.contact-card { display: grid; grid-template-columns: 52px 1fr; gap: 4px 18px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: center; }
.contact-card .icon { width: 30px; height: 30px; color: var(--blue); grid-row: span 2; }
.contact-card__label { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.contact-card__value { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.35rem, 2.6vw, 2rem); line-height: 1.1; word-break: break-word; }
a.contact-card:hover .contact-card__value { color: var(--blue); }
@media (min-width: 1100px) {
  .contact-cards { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
  .contact-card { padding: 34px 28px 36px 0; border-bottom: 0; grid-template-columns: 1fr; align-content: start; }
  .contact-card + .contact-card { padding-left: 28px; border-left: 1px solid var(--line); }
  .contact-card .icon { grid-row: auto; margin-bottom: 10px; }
}
.map-link { margin-top: 20px; }

/* Textos legales */
.legal { max-width: 74ch; display: grid; gap: 28px; }
.legal dl { display: grid; gap: 22px; }
.legal dt { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.5rem; line-height: 1; color: var(--ink); }
.legal dd { color: var(--ink-soft); margin-top: 6px; }
.legal a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

/* 404 */
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; background: var(--navy-900); color: #fff; padding: 120px var(--gutter) 60px; }
.notfound__inner { display: grid; gap: 24px; justify-items: center; }
.notfound__num { font-family: var(--font-display); font-weight: 900; font-size: clamp(8rem, 30vw, 20rem); line-height: 0.8; color: transparent; -webkit-text-stroke: 2px var(--blue-light); }

/* Novedades (redes) */
.updates { margin-bottom: clamp(40px, 5vw, 72px); padding: clamp(24px, 3vw, 40px); background: var(--navy-900); color: #fff; }
.updates__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; margin-bottom: 20px; }
.updates__list { display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.update { display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
.updates__list .update:last-child { border-bottom: 0; padding-bottom: 0; }
.update__date { display: grid; place-items: center; padding: 8px 4px 10px; background: var(--blue); color: #fff; font-family: var(--font-display); text-transform: uppercase; line-height: 0.9; text-align: center; }
.update__date b { font-size: 1.8rem; font-weight: 900; }
.update__date span { font-size: 0.85rem; letter-spacing: 0.16em; font-weight: 700; }
.update__title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.05; }
.update__title a:hover { color: var(--blue-light); }
@media (min-width: 900px) { .updates__list { grid-template-columns: repeat(3, 1fr); column-gap: 32px; border-top: 1px solid var(--line-dark); } .update { border-bottom: 0; padding-bottom: 0; } .updates__list .update { padding-top: 24px; } }
.contact-card__note { grid-column: 2; font-size: 0.92rem; color: var(--ink-soft); }
@media (min-width: 900px) { .contact-card__note { grid-column: auto; } }
/* Horarios */
.schedule-grid { display: grid; gap: clamp(32px, 5vw, 80px); align-items: center; }
.schedule-grid__text { display: grid; gap: 22px; justify-items: start; }
.schedule-grid__note { color: var(--ink-soft); font-size: 0.98rem; max-width: 52ch; }
.schedule { display: grid; gap: 16px; }
.schedule__day { background: var(--navy-900); color: #fff; }
.schedule__title { padding: 16px 24px; background: var(--blue); font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1; }
.schedule__title--alt { background: #1f9bd6; color: var(--navy-950); }
.schedule__rows { padding: 6px 24px 10px; }
.schedule__row { display: grid; grid-template-columns: 7rem 1fr; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
.schedule__row:last-child { border-bottom: 0; }
.schedule__row dt { font-family: var(--font-display); font-weight: 900; font-size: clamp(2rem, 4vw, 3rem); line-height: 0.9; font-variant-numeric: tabular-nums; color: var(--blue-light); }
.schedule__row dd { margin: 0; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.2rem, 2vw, 1.6rem); letter-spacing: 0.04em; }
@media (min-width: 960px) { .schedule-grid { grid-template-columns: 0.9fr 1.1fr; } }

/* Tarjetas de novedades (mismo lenguaje que las crónicas) */
.news-grid--list { align-items: start; }
.frame--brand { display: grid; place-items: center; aspect-ratio: 4 / 3; background: var(--navy-900); }
.frame--brand::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-6deg, transparent 0 39px, rgba(111, 163, 255, 0.1) 39px 41px); }
.frame--brand .brand-mark { position: relative; width: auto; height: 52%; object-fit: contain; }
a:hover > .frame--brand img, .frame--brand:hover .brand-mark { transform: none; }
.news-card__details { margin-top: 2px; }
.news-card__details summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; font-size: 1.05rem; color: var(--blue); }
.news-card__details summary::-webkit-details-marker { display: none; }
.news-card__details summary .icon { transition: transform 0.3s var(--ease); }
.news-card__details[open] summary .icon { transform: rotate(90deg); }
.news-card__details .prose { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); gap: 1em; font-size: 0.98rem; }
.news-card__details .prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.card-photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.card-photos .frame { aspect-ratio: 4 / 5; }
/* Paginación */
.news-card[hidden] { display: none; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: clamp(40px, 5vw, 72px); }
.pagination__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination__page, .pagination__arrow { min-width: 52px; height: 52px; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; line-height: 1; color: var(--ink); transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.pagination__page:hover, .pagination__arrow:hover:not(:disabled) { border-color: var(--blue); color: var(--blue); }
.pagination__page[aria-current="page"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.pagination__arrow:disabled { opacity: 0.35; cursor: default; }
.pagination__arrow--prev .icon { transform: scaleX(-1); }
/* Distintivos de medalla y logros */
.medal { position: absolute; left: 0; bottom: 0; z-index: 2; display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 12px; background: rgba(5, 13, 26, 0.9); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; letter-spacing: 0.1em; line-height: 1; text-transform: uppercase; }
.medal i { --m: #e6b422; flex: none; width: 24px; height: 24px; border-radius: 50%; background: radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.75) 0, transparent 42%), var(--m); box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.28), 0 0 0 2px var(--m); }
.medal--silver i { --m: #b9c2cf; }
.medal--bronze i { --m: #c47a3a; }
.medal--mark i { --m: var(--blue-light); border-radius: 4px; background: var(--m); box-shadow: none; transform: skewX(-14deg); width: 18px; }
.medal--gold { box-shadow: inset 4px 0 0 #e6b422; }
.medal--silver { box-shadow: inset 4px 0 0 #b9c2cf; }
.medal--bronze { box-shadow: inset 4px 0 0 #c47a3a; }
.medal--mark { box-shadow: inset 4px 0 0 var(--blue-light); }
/* Cuadro de resultados dentro de las noticias */
.results-box { margin-top: 6px; padding: 18px 20px 6px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); }
.results-box__title { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); margin-bottom: 6px; }
.res-list { display: grid; }
.res { display: grid; grid-template-columns: 44px 1fr; gap: 2px 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.res__pos { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--mist); color: var(--ink); font-family: var(--font-display); font-weight: 900; font-size: 1.1rem; line-height: 1; box-shadow: inset 0 0 0 2px var(--line); }
.res__who { display: grid; line-height: 1.2; }
.res__who b { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.02em; }
.res__who small { color: var(--ink-soft); font-size: 0.9rem; }
.res em { grid-column: 2; font-style: normal; font-size: 0.85rem; font-weight: 600; color: var(--blue-deep); }
.res--silver .res__pos { background: radial-gradient(circle at 34% 28%, #fff 0, transparent 45%), #b9c2cf; box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.15); }
.res--bronze .res__pos { background: radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.7) 0, transparent 45%), #c47a3a; color: #fff; box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.18); }
.res--gold .res__pos { background: radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.8) 0, transparent 45%), #e6b422; box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.15); }
.res--choc .res__pos { background: #6b4a3a; color: #fff; }
.res--silver, .res--bronze, .res--gold { background: linear-gradient(90deg, rgba(33, 107, 255, 0.07), transparent 70%); }
.results-note { font-size: 0.85rem; color: var(--ink-soft); }
/* 11. Footer --------------------------------------------------------------- */
.site-footer { position: relative; overflow: hidden; background: var(--navy-950); color: rgba(255, 255, 255, 0.78); padding-top: clamp(56px, 8vw, 104px); font-size: 0.98rem; }
.site-footer__ghost { position: absolute; left: 0; right: 0; bottom: -0.16em; text-align: center; font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(5rem, 21vw, 24rem); line-height: 0.8; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px rgba(111, 163, 255, 0.13); pointer-events: none; user-select: none; }
.site-footer__grid { position: relative; display: grid; gap: 40px; padding-bottom: clamp(48px, 6vw, 72px); }
.site-footer__brand { display: grid; gap: 18px; align-content: start; max-width: 30ch; }
.site-footer__brand img { height: 84px; width: auto; }
.site-footer h2 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: 0.2em; font-size: 1.05rem; color: #fff; margin-bottom: 16px; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { display: inline-block; padding: 4px 0; transition: color 0.2s, transform 0.3s var(--ease); }
.footer-links a:hover { color: #fff; transform: translateX(4px); }
.site-footer address { display: grid; gap: 10px; }
.site-footer address a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line-dark); transition: background-color 0.25s, border-color 0.25s, transform 0.3s var(--ease); }
.social a:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-3px); color: #fff; }
.site-footer__legal { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-block: 22px clamp(72px, 12vw, 140px); border-top: 1px solid var(--line-dark); font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }
.site-footer__legal ul { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.site-footer__legal a:hover { color: #fff; text-decoration: underline; }
.credit { display: block; margin-top: 4px; }
.credit a { color: rgba(255, 255, 255, 0.85); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .site-footer__grid { grid-template-columns: 1.3fr 0.7fr 1.2fr 0.8fr; gap: 56px; } }

/* 12. Movimiento ----------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="left"] { transform: translateX(-32px); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@keyframes hero-in { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }
.hero__inner > *, .page-hero__inner > * { animation: hero-in 1s var(--ease) both; }
.hero__inner > *:nth-child(2), .page-hero__inner > *:nth-child(2) { animation-delay: 0.08s; }
.hero__inner > *:nth-child(3), .page-hero__inner > *:nth-child(3) { animation-delay: 0.18s; }
.hero__inner > *:nth-child(4), .page-hero__inner > *:nth-child(4) { animation-delay: 0.28s; }
.hero__inner > *:nth-child(5) { animation-delay: 0.38s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
@media print {
  .site-header, .drawer, .site-footer__ghost, .skip-link { display: none !important; }
  body { color: #000; }
}
