/* ASISAFoto 2026 · hoja de estilos principal
   Colores tomados del logotipo 2026: azul #004B93, naranja #E84E0E, gris cálido #A69B95. */

:root {
  --ink: #0d0f13;
  --ink-2: #171b22;
  --ink-3: #232833;
  --navy: #041f3f;
  --paper: #f4f1ec;
  --white: #ffffff;
  --text: #16181d;
  --text-muted: #5b5f6b;
  --on-dark: #f3f1ee;
  --on-dark-muted: #b6b2ad;
  --blue: #004b93;
  --blue-light: #7fa5c9;
  --orange: #e84e0e;
  --orange-strong: #c43f0a;
  --warm-grey: #a69b95;
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-light: rgba(22, 24, 29, 0.14);

  --font-display: "Barlow Condensed", "Avenir Next Condensed", "Roboto Condensed", "Arial Narrow", sans-serif-condensed, sans-serif;
  --font-body: "Barlow", "Avenir Next", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --section-y: clamp(64px, 10vw, 128px);
  --radius: 4px;
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
address { font-style: normal; }
[hidden] { display: none !important; }

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  padding: 12px 18px; background: var(--white); color: var(--text);
  font-weight: 700; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------------------------------------------------------------- tipografía */

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-strong);
  margin-bottom: 14px;
}
.eyebrow--light, .section--dark .eyebrow, .section--navy .eyebrow { color: var(--orange); }

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.section-title--center { text-align: center; }
.section-lead { margin-top: 14px; max-width: 52ch; color: var(--on-dark-muted); }

/* ---------------------------------------------------------------- botones */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px;
  padding: 12px 26px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--small { min-height: 42px; padding: 8px 18px; font-size: 1rem; }
.btn--large { min-height: 56px; padding: 14px 32px; font-size: 1.25rem; }
.btn--primary { background: var(--orange-strong); color: var(--white); }
.btn--primary:hover { background: var(--orange); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.7); color: var(--white); background: transparent; }
.btn--ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--outline { border-color: var(--text); color: var(--text); background: transparent; }
.btn--outline:hover { background: var(--text); color: var(--white); }
.btn__note { font-family: var(--font-body); font-size: 0.8em; letter-spacing: 0; text-transform: none; font-weight: 400; opacity: 0.8; }

.link-button {
  padding: 0; border: 0; background: none; color: inherit; font: inherit;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}

/* ---------------------------------------------------------------- cabecera */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 0 var(--line-light);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12); }
@supports (backdrop-filter: blur(10px)) {
  .site-header { background: rgba(255, 255, 255, 0.94); backdrop-filter: saturate(160%) blur(14px); }
}
.site-header__inner {
  height: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.site-header__logo { width: auto; height: 50px; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav__list { display: flex; gap: 24px; }
.site-nav__list a, .lang-switch a {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  padding: 6px 0;
  background: linear-gradient(var(--orange), var(--orange)) 0 100% / 0 2px no-repeat;
  transition: background-size 0.25s var(--ease), color 0.2s;
}
.site-nav__list a:hover { background-size: 100% 2px; color: var(--blue); }
.lang-switch { display: flex; gap: 4px; padding-left: 20px; border-left: 1px solid var(--line-light); }
.lang-switch a { padding: 6px 8px; color: var(--text-muted); }
.lang-switch a[aria-current="true"] { color: var(--blue); }
.lang-switch a:hover { color: var(--text); }

.nav-toggle {
  display: none; align-items: center; gap: 10px;
  min-height: 44px; padding: 8px 4px;
  border: 0; background: none; cursor: pointer;
  font-family: var(--font-display); font-size: 1rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--text);
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    padding: 8px var(--gutter) 28px;
    background: var(--white);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.18);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s linear 0.2s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__list a { display: block; padding: 14px 0; font-size: 1.375rem; border-bottom: 1px solid var(--line-light); background: none; }
  .lang-switch { border-left: 0; padding: 18px 0; }
  .lang-switch a { font-size: 1.125rem; border: 1px solid var(--line-light); padding: 8px 14px; }
  .lang-switch a[aria-current="true"] { border-color: var(--blue); }
  .site-nav .btn { width: 100%; min-height: 52px; font-size: 1.125rem; }
}
@media (max-width: 420px) {
  .site-header__logo { height: 42px; }
  .nav-toggle__label { display: none; }
}

/* ---------------------------------------------------------------- portada */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 48px) 0 clamp(64px, 9vh, 112px);
  color: var(--on-dark);
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%;
  animation: hero-zoom 22s var(--ease) both;
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 10, 14, 0.86) 0%, rgba(8, 10, 14, 0.55) 45%, rgba(8, 10, 14, 0.05) 80%),
    linear-gradient(0deg, rgba(8, 10, 14, 0.85) 0%, rgba(8, 10, 14, 0) 45%);
}
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }

.hero__content {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.hero__content > * { max-width: 760px; }
.hero__content > .hero__title { max-width: none; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.5rem, 11vw, 8.5rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--white);
}
.hero__lead {
  margin-top: 22px;
  font-size: clamp(1.25rem, 2.2vw, 1.625rem);
  line-height: 1.35;
  max-width: 34ch;
  color: var(--on-dark);
}
.hero__facts {
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  margin-top: 28px; padding-top: 22px;
  border-top: 1px solid var(--line-dark);
  font-size: 1.0625rem; color: var(--on-dark-muted);
}
.hero__facts strong {
  font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; letter-spacing: 0.02em;
  color: var(--white); margin-right: 4px;
}

.hero__phase { margin-top: 30px; }
.countdown__title, .hero__status {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange);
}
.countdown { display: flex; gap: clamp(10px, 2vw, 18px); margin-top: 12px; }
.countdown__unit {
  min-width: clamp(68px, 9vw, 92px);
  padding: 12px 10px 10px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(8, 10, 14, 0.4);
  text-align: center;
}
@supports (backdrop-filter: blur(6px)) { .countdown__unit { backdrop-filter: blur(6px); } }
.countdown__value {
  display: block;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--white);
}
.countdown__label { display: block; margin-top: 6px; font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-muted); }
.hero__deadline { margin-top: 14px; font-size: 0.975rem; color: var(--on-dark-muted); }
.hero__phase-text { margin-top: 10px; font-size: clamp(1.25rem, 2.4vw, 1.75rem); line-height: 1.3; color: var(--white); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

.photo-credit {
  font-size: 0.8125rem; line-height: 1.4;
  color: var(--on-dark-muted);
}
.photo-credit__label { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.6875rem; margin-right: 6px; color: var(--warm-grey); }
.photo-credit--hero {
  position: absolute; right: var(--gutter); bottom: 22px;
  max-width: min(420px, calc(100% - var(--gutter) * 2));
  text-align: right;
}
.photo-credit--dark { color: var(--text-muted); margin-top: 10px; }

@media (max-width: 700px) {
  .hero { padding-bottom: 84px; }
  .hero__media::after {
    background: linear-gradient(0deg, rgba(8, 10, 14, 0.94) 0%, rgba(8, 10, 14, 0.7) 55%, rgba(8, 10, 14, 0.25) 100%);
  }
  .hero__ctas .btn { flex: 1 1 100%; }
  .photo-credit--hero { left: var(--gutter); text-align: left; bottom: 18px; }
}

/* ---------------------------------------------------------------- secciones */

.section { padding-block: var(--section-y); }
.section--paper { background: var(--paper); color: var(--text); }
.section--white { background: var(--white); color: var(--text); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--navy { background: var(--navy); color: var(--on-dark); }
.section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }

/* intro + cifras */
.intro__grid {
  display: grid; gap: 28px 64px;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
}
.intro__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.5rem, 5.5vw, 4.25rem); line-height: 0.98; letter-spacing: -0.01em;
  color: var(--blue);
}
.intro__body { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.65; }
.intro__highlight {
  margin-top: 22px; padding-left: 18px; border-left: 3px solid var(--orange);
  font-weight: 600;
}
.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(48px, 7vw, 88px);
  border-top: 1px solid var(--line-light);
}
.stat { padding: 28px 20px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line-light); }
.stat__value {
  display: block;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1; letter-spacing: -0.01em;
  color: var(--text);
}
.stat__label { display: block; margin-top: 8px; color: var(--text-muted); }
@media (max-width: 860px) {
  .intro__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-light); margin-top: 28px; }
}

/* categorías */
.cat-grid {
  display: grid; gap: clamp(16px, 2vw, 24px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.cat-card { position: relative; display: flex; flex-direction: column; }
.cat-card__link {
  position: relative; display: block; flex: 1;
  border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: var(--white);
  background: var(--ink-2);
  aspect-ratio: 4 / 5;
}
.cat-card__media { position: absolute; inset: 0; }
.cat-card__img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.5s var(--ease);
}
.cat-card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(8, 10, 14, 0.92) 0%, rgba(8, 10, 14, 0.5) 42%, rgba(8, 10, 14, 0.05) 70%);
}
.cat-card__link:hover .cat-card__img, .cat-card__link:focus-visible .cat-card__img { transform: scale(1.05); }
.cat-card__body { position: absolute; inset: auto 0 0 0; padding: 26px; }
.cat-card__code {
  position: absolute; top: -0.85em; right: 22px;
  font-family: var(--font-display); font-weight: 700; font-size: 5.5rem; line-height: 1;
  color: rgba(255, 255, 255, 0.16);
}
.badge {
  display: inline-block; margin-bottom: 10px; padding: 4px 10px;
  border-radius: 2px; background: var(--orange-strong); color: var(--white);
  font-family: var(--font-display); font-size: 0.875rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
}
.cat-card__name {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.75rem, 2.5vw, 2.125rem); line-height: 1.05;
}
.cat-card__text { margin-top: 8px; font-size: 1rem; color: var(--on-dark); }
.cat-card__prize {
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-dark);
  font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; letter-spacing: 0.03em;
  color: var(--orange);
}
.cat-card__credit { margin-top: 8px; font-size: 0.75rem; color: var(--on-dark-muted); }
@media (max-width: 1100px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .cat-grid { grid-template-columns: 1fr; }
  .cat-card__link { aspect-ratio: 4 / 4.2; }
}

.honour-strip {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px 32px;
  margin-top: clamp(28px, 4vw, 44px); padding: 26px 30px;
  border: 1px solid var(--line-dark); border-radius: var(--radius);
  background: var(--ink-2);
}
.honour-strip__title { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: var(--white); }
.honour-strip__text { color: var(--on-dark-muted); }
@media (max-width: 860px) { .honour-strip { grid-template-columns: 1fr; } }

/* cómo participar */
.step-list {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
  margin-top: clamp(40px, 6vw, 64px);
  counter-reset: step;
}
.step {
  position: relative; padding: 34px 28px 30px;
  background: var(--white); border-radius: var(--radius);
  box-shadow: 0 1px 0 var(--line-light);
  font-size: 1.0625rem;
}
.step strong { display: block; margin-bottom: 6px; font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; line-height: 1.15; color: var(--text); }
.step__num {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px; margin-bottom: 18px;
  border-radius: 50%; background: var(--blue); color: var(--white);
  font-family: var(--font-display); font-weight: 600; font-size: 1.375rem;
}
.steps__deadline { margin-top: 36px; text-align: center; font-size: 1.1875rem; }
.steps__deadline strong { color: var(--orange-strong); }
.steps__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 22px; }
@media (max-width: 860px) { .step-list { grid-template-columns: 1fr; } }

/* jurado */
.jury { padding-block: 0; }
.jury__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 640px; }
.jury__media { position: relative; background: var(--ink); }
.jury__img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 50%; }
.jury__media .photo-credit {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 40px 24px 18px;
  background: linear-gradient(0deg, rgba(4, 31, 63, 0.9), rgba(4, 31, 63, 0));
}
.jury__content {
  padding: var(--section-y) var(--gutter);
  max-width: calc(var(--container) / 2 + var(--gutter));
}
.jury__intro { margin-top: 18px; font-size: 1.1875rem; color: var(--on-dark); }
.jury__list { margin-top: 30px; border-top: 1px solid var(--line-dark); }
.jury__member { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
.jury__name { font-family: var(--font-display); font-weight: 600; font-size: 1.4375rem; color: var(--white); }
.jury__titles { font-size: 0.875rem; color: var(--blue-light); letter-spacing: 0.02em; }
.jury__chairs { margin-top: 22px; color: var(--on-dark); }
.jury__chairs strong { color: var(--white); font-weight: 600; }
.jury__past { margin: 14px 0 30px; font-size: 0.975rem; color: var(--on-dark-muted); }
@media (max-width: 900px) {
  .jury__grid { grid-template-columns: 1fr; min-height: 0; }
  .jury__media { aspect-ratio: 3 / 2; }
}

/* ganadores: carrusel */
.carousel { position: relative; }
.carousel__track {
  display: flex; gap: clamp(14px, 2vw, 24px);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px max(var(--gutter), calc((100vw - var(--container)) / 2)) 20px;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
  scrollbar-width: thin; scrollbar-color: var(--ink-3) transparent;
}
.carousel__track:focus-visible { outline-offset: -3px; }
.carousel__slide { flex: 0 0 auto; scroll-snap-align: start; }
.carousel__slide figure { width: auto; }
.carousel__img {
  height: clamp(300px, 48vh, 520px); width: auto; max-width: 85vw;
  object-fit: cover; border-radius: var(--radius); background: var(--ink-2);
}
.carousel__slide figcaption { display: grid; gap: 2px; margin-top: 14px; max-width: 420px; }
.carousel__author { font-family: var(--font-display); font-weight: 600; font-size: 1.375rem; color: var(--white); }
.carousel__meta { font-size: 0.9375rem; color: var(--on-dark-muted); }
.carousel__award { font-size: 0.875rem; color: var(--orange); letter-spacing: 0.02em; }
.carousel__controls { display: flex; gap: 10px; flex-shrink: 0; }
.carousel__btn {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4); background: transparent; color: var(--white);
  font-size: 1.375rem; cursor: pointer;
  transition: background-color 0.2s, color 0.2s, opacity 0.2s;
}
.carousel__btn:hover { background: var(--white); color: var(--ink); }
.carousel__btn:disabled { opacity: 0.35; cursor: default; background: transparent; color: var(--white); }
.winners__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
@media (max-width: 640px) {
  .section-head--split { flex-direction: column; align-items: flex-start; }
  .carousel__img { height: 300px; }
}

/* fallo y humanización */
.human__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 72px; align-items: center;
}
.human .section-title { color: var(--blue); }
.human__content p:not(.eyebrow) { margin: 22px 0 30px; font-size: 1.1875rem; line-height: 1.7; }
.human__content strong { font-weight: 700; }
.human__img { width: 100%; border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 900px) { .human__grid { grid-template-columns: 1fr; } .human__media { order: -1; } }

/* sellos */
.recognition { padding-block: clamp(48px, 7vw, 80px); }
.recognition__grid { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 40px; }
.recognition__title, .recognition__label {
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted);
}
.seals { display: flex; flex-wrap: wrap; gap: 36px; margin-top: 22px; }
.seal { display: grid; justify-items: center; gap: 4px; text-align: center; }
.seal__logo { height: 84px; width: auto; }
.seal__name { margin-top: 8px; font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; }
.seal__code { font-size: 0.9375rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.recognition__sponsor { display: grid; gap: 16px; }
.recognition__logo { height: 56px; width: auto; max-width: 100%; object-fit: contain; object-position: left; }

/* ---------------------------------------------------------------- pie */

.site-footer { padding: 64px 0 32px; background: var(--ink); color: var(--on-dark-muted); font-size: 0.975rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.site-footer__name { font-family: var(--font-display); font-weight: 600; font-size: 1.375rem; color: var(--white); margin-bottom: 12px; }
.site-footer__nav, .site-footer__legal ul { display: grid; gap: 10px; }
.site-footer__nav a { font-family: var(--font-display); font-size: 1.125rem; letter-spacing: 0.05em; text-transform: uppercase; }
.site-footer__legal .link-button { color: var(--on-dark); text-decoration: none; }
.site-footer__legal .link-button:hover { color: var(--white); text-decoration: underline; }
.site-footer__langs { margin-top: 20px; }
.site-footer__rights { margin-top: 24px; font-size: 0.8125rem; }
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------------------------------------------------------------- cookies */

.cookie-banner {
  position: fixed; z-index: 150;
  left: 16px; right: 16px; bottom: 16px;
  max-width: 560px; margin-left: auto;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--white); color: var(--text);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.cookie-banner__title { font-family: var(--font-display); font-weight: 600; font-size: 1.375rem; }
.cookie-banner__text { margin-top: 6px; font-size: 0.975rem; line-height: 1.5; }
.cookie-banner__text a { color: var(--blue); }
.cookie-banner__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
/* Aceptar y Rechazar con el mismo peso visual (criterio AEPD) */
.btn--cookie { background: var(--blue); color: var(--white); min-height: 46px; }
.btn--cookie:hover { background: #003a73; }

/* ---------------------------------------------------------------- animación de entrada */

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

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

/* =================================================================
   Páginas interiores
   ================================================================= */

.site-nav__list a[aria-current="page"] { color: var(--blue); background-size: 100% 2px; }

/* cabecera de página */
.page-hero {
  position: relative;
  min-height: min(72vh, 720px);
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 56px) 0 clamp(56px, 8vh, 96px);
  background: var(--ink); color: var(--on-dark);
  overflow: hidden; isolation: isolate;
}
.page-hero--compact { min-height: 0; padding-bottom: clamp(48px, 6vw, 72px); }
.page-hero--compact .page-hero__media::after { background: rgba(8, 10, 14, 0.82); }
.page-hero--404 { min-height: 100vh; min-height: 100svh; }
.page-hero__media { position: absolute; inset: 0; z-index: -1; }
.page-hero__img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 10, 14, 0.82) 0%, rgba(8, 10, 14, 0.45) 55%, rgba(8, 10, 14, 0.1) 100%),
    linear-gradient(0deg, rgba(8, 10, 14, 0.8) 0%, rgba(8, 10, 14, 0) 55%);
}
.page-hero__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.75rem, 7.5vw, 6rem); line-height: 0.95; letter-spacing: -0.015em;
  color: var(--white); max-width: 16ch;
}
.page-hero__lead { margin-top: 20px; max-width: 58ch; font-size: clamp(1.125rem, 1.8vw, 1.375rem); line-height: 1.5; color: var(--on-dark); }

/* texto largo */
.prose { max-width: 760px; font-size: 1.0938rem; line-height: 1.72; color: var(--text); }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose .prose-title {
  margin-top: 2.2em; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.75rem, 3vw, 2.375rem); line-height: 1.1; color: var(--blue);
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.prose > h2:first-child, .prose .about__block:first-child .prose-title { margin-top: 0; }
.prose h3 { margin-top: 1.8em; font-family: var(--font-display); font-weight: 600; font-size: 1.375rem; line-height: 1.2; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.45em; }
.prose li::marker { color: var(--orange-strong); }
.prose a { color: var(--blue); text-underline-offset: 3px; }
.prose strong { font-weight: 700; }
.prose code { font-size: 0.9em; padding: 1px 5px; border-radius: 3px; background: rgba(0, 75, 147, 0.08); }
.prose .callout {
  padding: 18px 22px; border-left: 4px solid var(--orange-strong);
  background: var(--white); border-radius: 0 var(--radius) var(--radius) 0; font-weight: 600;
}
.about .about__block + .about__block { margin-top: 2.4em; }
.about .about__block p + p { margin-top: 1.1em; }
.about { font-size: clamp(1.125rem, 1.5vw, 1.25rem); }

table { width: 100%; border-collapse: collapse; font-size: 0.975rem; }
th, td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-light); }
thead th { font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-muted); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.dates-table th { width: 55%; font-weight: 600; }
.dates-table td { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; color: var(--blue); }

mark.pending { background: #fff2cc; color: #6b4b00; padding: 1px 4px; border-radius: 3px; }
.pending-note {
  padding: 12px 16px; border: 1px dashed #c9a13b; border-radius: var(--radius);
  background: #fffaeb; color: #6b4b00; font-size: 0.9375rem;
}

/* banda de llamada a la acción */
.cta-band { background: var(--navy); color: var(--on-dark); }
.cta-band__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px;
  padding-block: clamp(36px, 5vw, 56px);
}
.cta-band__text { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.375rem, 2.4vw, 1.875rem); color: var(--white); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 640px) { .cta-band__actions, .cta-band__actions .btn { width: 100%; } }

/* categorías */
.cat-row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(32px, 5vw, 72px);
  align-items: center; scroll-margin-top: calc(var(--header-h) + 24px);
}
.cat-row + .cat-row { margin-top: clamp(64px, 9vw, 120px); }
.cat-row--reverse .cat-row__media { order: 2; }
.cat-row__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.cat-row__body { position: relative; }
.cat-row__code {
  display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(4.5rem, 9vw, 7.5rem);
  line-height: 0.8; color: var(--orange-strong); opacity: 0.9; margin-bottom: 14px;
}
.cat-row__name { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 3.6vw, 2.875rem); line-height: 1.02; color: var(--blue); }
.cat-row__text { margin-top: 16px; font-size: 1.1875rem; line-height: 1.65; }
.cat-row .badge { margin-bottom: 12px; }
.facts-list { display: grid; gap: 0; margin: 24px 0 0; border-top: 1px solid var(--line-light); }
.facts-list > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-light); }
.facts-list dt { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.facts-list dd { margin: 0; font-weight: 600; }
@media (max-width: 900px) {
  .cat-row { grid-template-columns: 1fr; }
  .cat-row--reverse .cat-row__media { order: 0; }
}
@media (max-width: 480px) { .facts-list > div { grid-template-columns: 1fr; gap: 4px; } }

.definition { margin-top: 20px; border: 1px solid var(--line-light); border-radius: var(--radius); background: var(--white); }
.definition summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--blue);
}
.definition summary::-webkit-details-marker { display: none; }
.definition summary::after, .faq-item summary::after {
  content: "+"; font-family: var(--font-body); font-size: 1.5rem; line-height: 1; color: var(--orange-strong);
  transition: transform 0.2s var(--ease);
}
.definition[open] summary::after, .faq-item[open] summary::after { transform: rotate(45deg); }
.definition__body { padding: 0 18px 18px; font-size: 0.975rem; line-height: 1.65; color: var(--text-muted); }
.definition__body > * + * { margin-top: 0.8em; }
.definition__body ul { list-style: disc; padding-left: 1.2em; }

.prize-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.prize { display: grid; gap: 10px; padding: 24px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: var(--ink-2); }
.prize__place { font-family: var(--font-display); font-weight: 700; font-size: 2.5rem; line-height: 1; color: var(--orange); }
.prize__text { color: var(--on-dark); }
@media (max-width: 1000px) { .prize-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .prize-list { grid-template-columns: 1fr; } }

/* bases */
.rules { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 56px; align-items: start; }
.rules__aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 24px; }
.download-box { padding: 22px; border-radius: var(--radius); background: var(--navy); color: var(--on-dark); }
.download-box__title, .toc__title {
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.16em; text-transform: uppercase;
}
.download-box__title { color: var(--orange); margin-bottom: 12px; }
.download-link {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  padding: 12px 0; border-top: 1px solid var(--line-dark);
  color: var(--white); text-decoration: none; font-weight: 600;
}
.download-link span { font-weight: 400; font-size: 0.8125rem; color: var(--on-dark-muted); white-space: nowrap; }
.download-link:hover { color: var(--orange); }
.toc__title { color: var(--text-muted); margin-bottom: 10px; }
.toc ol { display: grid; gap: 2px; max-height: calc(100vh - 360px); overflow-y: auto; }
.toc a {
  display: block; padding: 6px 0 6px 14px; border-left: 2px solid var(--line-light);
  color: var(--text); text-decoration: none; font-size: 0.9375rem; line-height: 1.35;
}
.toc a:hover, .toc a.is-active { border-left-color: var(--orange-strong); color: var(--blue); }
@media (max-width: 960px) {
  .rules { grid-template-columns: 1fr; gap: 36px; }
  .rules__aside { position: static; }
  .toc ol { max-height: none; }
}

/* jurado */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-top: 36px; }
.person {
  display: grid; align-content: start; gap: 8px; padding: 26px 24px;
  border: 1px solid var(--line-dark); border-radius: var(--radius); background: rgba(255, 255, 255, 0.04);
}
.person__name { font-family: var(--font-display); font-weight: 600; font-size: 1.625rem; line-height: 1.1; color: var(--white); }
.person__titles { font-size: 0.875rem; color: var(--blue-light); }
.people--small { margin-top: 14px; }
.person--small .person__name { font-size: 1.375rem; }
.people-meta { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; margin-top: 48px; }
.people-meta__title { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); }
@media (max-width: 760px) { .people-meta { grid-template-columns: 1fr; } }
.name-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.name-cloud li {
  padding: 10px 18px; border: 1px solid var(--line-dark); border-radius: 999px;
  font-family: var(--font-display); font-size: 1.1875rem; color: var(--on-dark);
}
.name-cloud__more { margin-top: 16px; color: var(--on-dark-muted); }

/* ganadores */
.best-author {
  display: grid; gap: 8px; padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line-dark); border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy), var(--ink-2));
}
.best-author__label { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); }
.best-author__name { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 4.5vw, 3.25rem); line-height: 1; color: var(--white); }
.best-author__name span { font-size: 0.5em; color: var(--on-dark-muted); margin-left: 8px; }
.best-author__award { color: var(--on-dark); }
.best-author__downloads { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }

.chips { position: sticky; top: var(--header-h); z-index: 10; margin: 40px calc(var(--gutter) * -1) 0; padding: 12px var(--gutter); background: rgba(13, 15, 19, 0.94); }
@supports (backdrop-filter: blur(8px)) { .chips { background: rgba(13, 15, 19, 0.8); backdrop-filter: blur(10px); } }
.chips ul { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.chips ul::-webkit-scrollbar { display: none; }
.chips a {
  display: block; white-space: nowrap; padding: 8px 16px; border: 1px solid var(--line-dark); border-radius: 999px;
  color: var(--on-dark); text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: 0.04em;
}
.chips a:hover { background: var(--white); color: var(--ink); }

.winners-cat { padding-top: clamp(48px, 6vw, 72px); scroll-margin-top: calc(var(--header-h) + 70px); }
.winners-cat__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 4vw, 3rem); color: var(--white); margin-bottom: 28px; }
.winner-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; }
.winner--gold { grid-column: span 2; grid-row: span 2; }
.winner__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--ink-2); }
.winner--gold .winner__media { aspect-ratio: auto; height: calc(100% - 0px); min-height: 300px; }
.winner--gold figure { display: grid; grid-template-rows: 1fr auto; height: 100%; }
.winner__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.winner:hover .winner__img { transform: scale(1.03); }
.winner__placeholder {
  display: grid; place-items: center; width: 100%; height: 100%;
  background: repeating-linear-gradient(135deg, var(--ink-2) 0 14px, var(--ink-3) 14px 15px);
  color: var(--on-dark-muted); font-size: 0.875rem;
}
.winner figcaption { display: grid; gap: 2px; margin-top: 12px; }
.winner__award { font-size: 0.8125rem; letter-spacing: 0.04em; color: var(--orange); }
.winner--gold .winner__award { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; }
.winner__author { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; line-height: 1.15; color: var(--white); }
.winner--gold .winner__author { font-size: 1.75rem; }
.winner__country { font-size: 0.875rem; color: var(--on-dark-muted); }
.winner__title { font-size: 0.9375rem; color: var(--on-dark); }
@media (max-width: 1100px) { .winner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .winner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .winner--gold { grid-row: auto; }
  .winner--gold .winner__media { aspect-ratio: 4 / 3; min-height: 0; height: auto; }
}
@media (max-width: 480px) { .winner-grid { grid-template-columns: 1fr; } .winner--gold { grid-column: auto; } }

/* histórico */
.edition-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
.edition { display: grid; align-content: start; gap: 16px; scroll-margin-top: calc(var(--header-h) + 24px); }
.edition__cover { display: block; aspect-ratio: 26 / 22; overflow: hidden; border-radius: var(--radius); background: var(--ink-2); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); }
.edition__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.edition__cover:hover .edition__img { transform: scale(1.04); }
.edition__cover--empty { display: grid; place-items: center; border: 1px dashed var(--line-dark); box-shadow: none; background: transparent; }
.edition__cover--empty span { font-family: var(--font-display); font-weight: 700; font-size: 3.5rem; color: var(--ink-3); }
.edition__year { font-family: var(--font-display); font-weight: 700; font-size: 2.25rem; line-height: 1; color: var(--white); }
.edition__num { font-size: 0.9375rem; color: var(--on-dark-muted); }
.edition__links { display: grid; gap: 2px; margin-top: 6px; border-top: 1px solid var(--line-dark); }
.edition__link {
  display: flex; justify-content: space-between; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line-dark);
  color: var(--on-dark); text-decoration: none; font-weight: 600; font-size: 0.975rem;
}
.edition__link span { font-weight: 400; font-size: 0.8125rem; color: var(--on-dark-muted); white-space: nowrap; }
.edition__link:hover { color: var(--orange); }
.edition__link--accent { color: var(--orange); }
.edition__na { padding-top: 10px; font-size: 0.9375rem; color: var(--on-dark-muted); }
@media (max-width: 1100px) { .edition-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px) { .edition-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .edition-grid { grid-template-columns: 1fr; } }

/* preguntas frecuentes */
.faq { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.faq__list { border-top: 1px solid var(--line-light); }
.faq-item { border-bottom: 1px solid var(--line-light); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.2; color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--blue); }
.faq-item__a { padding: 0 48px 24px 0; font-size: 1.0938rem; line-height: 1.7; color: var(--text-muted); }
.faq__more { position: sticky; top: calc(var(--header-h) + 24px); padding: 28px; border-radius: var(--radius); background: var(--white); }
.faq__more-title { font-family: var(--font-display); font-weight: 600; font-size: 1.625rem; color: var(--blue); }
.faq__more p { margin-top: 8px; color: var(--text-muted); }
.faq__more-actions { display: grid; gap: 10px; margin-top: 20px; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } .faq__more { position: static; } .faq-item__a { padding-right: 0; } }

/* contacto */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.contact-card { display: grid; align-content: start; gap: 10px; padding: 30px 28px; border-radius: var(--radius); background: var(--white); }
.contact-card__label { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange-strong); }
.contact-card__value {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.2;
  color: var(--text); text-decoration: none; overflow-wrap: anywhere;
}
a.contact-card__value:hover { color: var(--blue); }
.contact-card__value--small { font-size: 1.25rem; }
.text-link { color: var(--blue); font-weight: 600; text-underline-offset: 3px; }
.contact-links { margin-top: 48px; }
.contact-links__title { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); }
.contact-links ul { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 14px; font-size: 1.125rem; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.legal h2 { font-size: clamp(1.5rem, 2.4vw, 1.875rem); }
