/* ==========================================================================
   LOS AWARDN'TS · Hoja de estilos
   Los colores de la marca están aquí arriba: cambiándolos cambia toda la web.
   ========================================================================== */
/* ── Tipografía Poppins servida desde la propia web (sin Google Fonts) ── */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/poppins-latin-ext-400.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/poppins-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/poppins-latin-ext-500.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/poppins-latin-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/poppins-latin-ext-700.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/poppins-latin-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --tinta: #1D1E20;
  --morado: #AE7CBD;
  --blanco: #FFFFFF;
  --gris-texto: #3a3b3d;
  --boton: #3a3b3d;
  --ancho: 1224px;
  --fuente: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--fuente);
  font-size: 18px;
  line-height: 1.6;
  color: var(--tinta);
  background: var(--blanco);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 500; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 6vw, 5.5rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.4rem); }
p { margin: 0 0 1.1em; }
strong { font-weight: 700; }

.ancho { width: min(100% - 40px, var(--ancho)); margin-inline: auto; }
.centrado { text-align: center; }
.texto-ancho { max-width: 760px; margin-inline: auto; }
.vo { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.saltar {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--tinta); color: #fff; padding: 10px 16px;
}
.saltar:focus { left: 0; }

/* ── Barra superior ─────────────────────────────────────────── */
.barra {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .08);
}
.barra-int {
  width: min(100% - 32px, 1400px); margin-inline: auto;
  display: flex; align-items: center; gap: 24px;
  min-height: 74px;
}
.marca { flex: none; display: block; }
.marca img { height: 46px; width: auto; }
.menu { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.menu ul { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.menu a {
  display: block; padding: 8px 12px; white-space: nowrap;
  font-size: .95rem; text-decoration: none; color: var(--tinta);
  border-radius: 8px;
}
.menu a:hover { background: #f2eef4; }
.menu a.activo { color: var(--morado); text-decoration: underline; text-underline-offset: 6px; }
.idiomas { display: flex; gap: 4px; padding-left: 16px; border-left: 1px solid #e3e3e3; }
.idiomas a {
  font-size: .85rem; padding: 6px 10px; border-radius: 999px;
  text-decoration: none; color: #6d6d6d;
}
.idiomas a.activo { background: var(--tinta); color: #fff; }
.hamburguesa { display: none; }

/* ── Portada de la home ─────────────────────────────────────── */
.hero {
  position: relative;
  background-size: cover; background-position: center;
  color: #fff; text-align: center;
  padding: clamp(50px, 9vw, 110px) 0 clamp(60px, 10vw, 120px);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .55));
}
.hero .ancho { position: relative; }
.hero-logo { width: min(620px, 82%); margin: 0 auto clamp(18px, 3vw, 34px); }
.hero-lema { font-size: clamp(1.05rem, 2.2vw, 1.45rem); font-weight: 700; margin-bottom: .8em; }
.hero-texto { max-width: 720px; margin-inline: auto; font-size: clamp(1rem, 1.5vw, 1.25rem); }

/* ── Portada de página interior ─────────────────────────────── */
.portada {
  position: relative; color: #fff; text-align: center;
  background-size: cover; background-position: center;
  padding: clamp(70px, 11vw, 150px) 0;
}
.portada::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .42); }
.portada .ancho { position: relative; }
.portada h1 { margin: 0; text-shadow: 0 2px 20px rgba(0, 0, 0, .45); }
.portada-corta { padding: clamp(45px, 7vw, 90px) 0; }

/* ── Banda de foto a ancho completo ─────────────────────────── */
.banda-foto img { width: 100%; max-height: 62vh; object-fit: cover; }

/* ── Bloques de contenido ───────────────────────────────────── */
.bloque { padding: clamp(46px, 7vw, 90px) 0; background: var(--blanco); }
.bloque.morado { background: var(--morado); }
.bloque.morado, .bloque.morado h2, .bloque.morado h3 { color: var(--tinta); }
.bloque-int {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px); align-items: center;
}
.bloque.invertido .bloque-media { order: -1; }
.bloque.sin-imagen .bloque-int { grid-template-columns: 1fr; }
.bloque-texto { text-align: center; }
.bloque-texto h2 { margin-bottom: .6em; }
.bloque-texto p:last-child { margin-bottom: 0; }
.bloque-media img { width: 100%; border-radius: 18px; box-shadow: 0 14px 40px rgba(0, 0, 0, .18); }
.logo-titulo { margin: 0 auto .4em; max-width: min(420px, 80%); box-shadow: none; border-radius: 0; }

/* ── Presentadores ──────────────────────────────────────────── */
.fila-presentadores {
  list-style: none; margin: 0 0 32px; padding: 0;
  display: grid; grid-template-columns: repeat(7, 1fr); gap: clamp(10px, 1.6vw, 22px);
}
.fila-presentadores li { text-align: center; }
.fila-presentadores img {
  width: 100%; aspect-ratio: 5 / 6; object-fit: cover;
  border-radius: 14px; box-shadow: 0 10px 26px rgba(0, 0, 0, .25);
}
.fila-presentadores span { display: block; margin-top: 10px; font-weight: 700; font-size: clamp(.8rem, 1.3vw, 1.1rem); }

/* ── Anteriores ediciones ───────────────────────────────────── */
.ediciones-cabecera { padding: clamp(40px, 6vw, 80px) 0 clamp(26px, 4vw, 50px); text-align: center; }
.ediciones-cabecera h2 { font-weight: 700; letter-spacing: .02em; margin: 0; }
.edicion {
  position: relative; color: #fff;
  background-size: cover; background-position: center;
  padding: clamp(54px, 8vw, 104px) 0;
}
.edicion::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .46); }
.edicion-int {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(26px, 4vw, 56px); align-items: center;
}
.edicion.der .edicion-panel { order: 2; }
.edicion.der .edicion-video { order: 1; }
.edicion-panel { max-width: 560px; margin-inline: auto; text-align: center; }
.edicion-video { max-width: 560px; margin-inline: auto; width: 100%; }
.edicion-video .video { box-shadow: 0 16px 44px rgba(0, 0, 0, .5); }
.edicion-panel h3 { margin-bottom: .4em; text-shadow: 0 2px 16px rgba(0, 0, 0, .5); }
.edicion-panel p { font-size: 1rem; }
.boton {
  display: inline-block; padding: 12px 34px;
  background: var(--boton); color: #fff; text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .35); border-radius: 4px;
  font-size: .95rem; transition: background .15s, transform .15s;
}
.boton:hover { background: var(--tinta); transform: translateY(-2px); }

/* ── Páginas de edición ─────────────────────────────────────── */
.intro-edicion { text-align: center; }
.logo-edicion { margin: 0 auto clamp(18px, 3vw, 34px); max-width: min(420px, 72%); }
.video-ancho { max-width: 900px; margin: clamp(26px, 4vw, 46px) auto 0; }
.video {
  position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden;
  background: #000; cursor: pointer; box-shadow: 0 14px 40px rgba(0, 0, 0, .22);
}
.video img, .video iframe { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.video-play {
  position: absolute; inset: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, .25); border: 0; cursor: pointer;
  display: grid; place-items: center;
}
.video-play span {
  width: 74px; height: 52px; border-radius: 12px; background: rgba(230, 33, 23, .92);
  position: relative; transition: transform .15s, background .15s;
}
.video-play span::after {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-40%, -50%);
  border-style: solid; border-width: 11px 0 11px 19px; border-color: transparent transparent transparent #fff;
}
.video:hover .video-play span { transform: scale(1.08); background: #e62117; }

.dos-fotos { display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: clamp(20px, 3vw, 44px); align-items: center; }
.dos-fotos img { border-radius: 16px; box-shadow: 0 12px 34px rgba(0, 0, 0, .25); }
.dos-fotos-texto { text-align: center; }
.dos-fotos-texto p:last-child { margin-bottom: 0; }

.institucional { padding-top: 0; }
.institucional img { margin: 26px auto 0; max-width: min(820px, 100%); }

/* ── Galería ────────────────────────────────────────────────── */
.galeria { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.galeria .foto { display: block; overflow: hidden; border-radius: 12px; }
.galeria img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .35s; }
.galeria .foto:hover img { transform: scale(1.06); }

.visor {
  position: fixed; inset: 0; z-index: 90; display: none;
  background: rgba(8, 8, 10, .94); place-items: center; padding: 20px;
}
.visor.abierto { display: grid; }
.visor img { max-width: 94vw; max-height: 86vh; border-radius: 8px; }
.visor button {
  position: absolute; background: rgba(255, 255, 255, .12); color: #fff;
  border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 1.5rem; cursor: pointer;
}
.visor .cerrar { top: 18px; right: 18px; }
.visor .prev { left: 18px; top: 50%; transform: translateY(-50%); }
.visor .sig { right: 18px; top: 50%; transform: translateY(-50%); }
.visor button:hover { background: rgba(255, 255, 255, .25); }

/* ── Colaboradores ──────────────────────────────────────────── */
.logos-fila {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(26px, 5vw, 64px); margin: 0 0 clamp(40px, 6vw, 70px);
}
.logos-fila img { max-height: 110px; width: auto; }
.logos-fila.destacado img { max-height: 170px; }
.institucional-fila img { max-height: 70px; }
.patrocinadores-principales {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(28px, 5vw, 60px); margin-bottom: clamp(40px, 6vw, 70px);
}
.patro { text-align: center; }
.patro img { max-height: 150px; width: auto; margin: 0 auto 14px; }
.patro h3 { font-size: clamp(1.6rem, 3vw, 2.6rem); margin-bottom: .2em; }
.patro p { font-size: 1rem; margin: 0; }

/* ── Contacto y pie ─────────────────────────────────────────── */
.contacto { background: var(--tinta); color: #fff; text-align: center; padding: clamp(50px, 7vw, 90px) 0; }
.contacto h1, .contacto h2 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); margin-bottom: .35em; }
.contacto p { max-width: 640px; margin-inline: auto; }
.correo a { font-weight: 700; color: #fff; }
.banda-final {
  height: clamp(120px, 20vw, 240px);
  background: url("/assets/img/fondos/banner-morado.webp") center/cover;
}
.pie { background: var(--tinta); color: #b9b9bb; padding: 26px 0 32px; }
.pie-int { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.pie img { height: 40px; width: auto; opacity: .9; }
.pie p { margin: 0; font-size: .85rem; }
.redes { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; font-size: .9rem; }

/* ── Página 404 ─────────────────────────────────────────────── */
.error404 { text-align: center; padding: clamp(60px, 10vw, 130px) 0; }
.error404 .codigo { font-size: clamp(4rem, 14vw, 9rem); font-weight: 700; color: var(--morado); line-height: 1; }

/* ── Adaptación a pantallas pequeñas ────────────────────────── */
@media (max-width: 1100px) {
  .fila-presentadores { grid-template-columns: repeat(4, 1fr); row-gap: 20px; }
}
@media (max-width: 1180px) {
  .barra-int { min-height: 64px; flex-wrap: wrap; }
  .marca img { height: 38px; }
  .hamburguesa {
    display: block; margin-left: auto; width: 46px; height: 42px;
    background: none; border: 0; cursor: pointer; padding: 10px 8px;
  }
  .hamburguesa span:not(.vo) {
    display: block; height: 2px; background: var(--tinta); margin: 5px 0;
    transition: transform .2s, opacity .2s;
  }
  .hamburguesa[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburguesa[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .hamburguesa[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .menu {
    display: none; flex-basis: 100%; flex-direction: column; align-items: stretch;
    gap: 10px; padding: 8px 0 18px; margin-left: 0;
  }
  .menu.abierto { display: flex; }
  .menu ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .menu a { padding: 12px 10px; font-size: 1rem; border-bottom: 1px solid #f0f0f0; border-radius: 0; }
  .idiomas { border-left: 0; padding-left: 0; padding-top: 6px; }
}
@media (max-width: 960px) {
  .bloque-int { grid-template-columns: 1fr; }
  .bloque.invertido .bloque-media { order: 0; }
  .dos-fotos { grid-template-columns: 1fr 1fr; }
  .dos-fotos-texto { grid-column: 1 / -1; order: 1; }
  .edicion-int { grid-template-columns: 1fr; }
  .edicion.der .edicion-panel { order: 1; }
  .edicion.der .edicion-video { order: 2; }
  .edicion-panel, .edicion-video { max-width: 100%; }
}
@media (max-width: 620px) {
  body { font-size: 17px; }
  .fila-presentadores { grid-template-columns: repeat(2, 1fr); }
  .galeria { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .banda-foto img { max-height: 42vh; }
  .logos-fila img { max-height: 76px; }
  .logos-fila.destacado img { max-height: 110px; }
  .pie-int { justify-content: center; text-align: center; }
}


/* ══════════════════════════ 2026 · AVÍSAME ══════════════════════════ */
.menu a.nuevo { font-weight: 700; color: var(--morado); }
.menu a.nuevo.activo { color: var(--morado); }

.boton-morado {
  font: inherit; font-size: 1rem; cursor: pointer;
  background: var(--morado); color: var(--tinta); font-weight: 700;
  border: 2px solid var(--tinta); border-radius: 999px; padding: 12px 30px;
}
.boton-morado:hover { background: #c49bd1; color: var(--tinta); }

.avisame {
  position: relative; color: #fff;
  background-color: var(--tinta); background-size: cover; background-position: center;
  padding: clamp(60px, 9vw, 120px) 0;
}
.avisame::before { content: ""; position: absolute; inset: 0; background: rgba(15, 12, 20, .62); }
.avisame .ancho { position: relative; }
.avisame-caja {
  max-width: 680px; margin-inline: auto; text-align: center;
  background: rgba(29, 30, 32, .82); border: 2px solid var(--morado); border-radius: 22px;
  padding: clamp(28px, 5vw, 50px) clamp(20px, 5vw, 46px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
  backdrop-filter: blur(4px);
}
.avisame-caja h2, .avisame-caja h1 {
  font-size: clamp(2.3rem, 6vw, 3.8rem); font-weight: 700; margin-bottom: .35em;
  letter-spacing: .01em;
}
.avisame-texto { font-size: clamp(1rem, 1.6vw, 1.15rem); margin-bottom: 26px; }
.avisame-form { margin: 0; }
.avisame-fila { display: flex; gap: 10px; }
.avisame-fila input {
  flex: 1; min-width: 0;
  font: inherit; font-size: 1rem; color: var(--tinta);
  padding: 14px 18px; border: 2px solid transparent; border-radius: 999px; background: #fff;
}
.avisame-fila input:focus { outline: none; border-color: var(--morado); box-shadow: 0 0 0 4px rgba(174, 124, 189, .45); }
.avisame-fila .boton { flex: none; font-size: 1rem; cursor: pointer; }
.avisame-fila .boton:disabled { opacity: .7; cursor: wait; }
.avisame-check {
  display: flex; gap: 10px; align-items: flex-start; text-align: left;
  margin-top: 16px; font-size: .88rem; line-height: 1.5; color: #e6e1ea; cursor: pointer;
}
.avisame-check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--morado); }
.avisame-check a { color: #fff; font-weight: 700; }
.avisame-check.falta span { color: #ffb4a8; }
.trampa { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.aviso { border-radius: 14px; padding: 14px 18px; margin: 0 0 18px; font-weight: 500; text-align: left; }
.aviso-ok { background: #d9f7e4; color: #0f3d22; }
.aviso-error { background: #ffe1dc; color: #6b1a0f; }

.info-datos { margin-top: 22px; text-align: left; font-size: .82rem; color: #cfc8d6; }
.info-datos summary { cursor: pointer; font-weight: 700; color: #fff; }
.info-datos dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 12px 0 0; }
.info-datos dt { font-weight: 700; color: #fff; }
.info-datos dd { margin: 0; }
.info-datos a { color: #fff; }

/* Página de baja y otras páginas sencillas */
.pagina-simple { background: var(--blanco); }
.avisame-caja.clara { background: #fff; color: var(--tinta); box-shadow: 0 14px 40px rgba(0, 0, 0, .12); backdrop-filter: none; }
.avisame-caja.clara h1 { font-size: clamp(2rem, 5vw, 3rem); }
.avisame-caja.clara form { margin-top: 18px; }
.avisame-caja.clara .boton { border: 0; cursor: pointer; font: inherit; }

/* ══════════════════════════ Textos legales ══════════════════════════ */
.texto-legal { max-width: 820px; font-size: 1rem; line-height: 1.7; }
.texto-legal h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: .2em; }
.texto-legal h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin: 1.8em 0 .5em; }
.texto-legal h3 { font-size: 1.1rem; font-weight: 700; margin: 1.4em 0 .4em; }
.texto-legal ul { padding-left: 1.2em; margin: 0 0 1.1em; }
.texto-legal li { margin-bottom: .45em; }
.texto-legal ul.datos { list-style: none; padding: 18px 22px; background: #f4eff6; border-radius: 14px; }
.texto-legal a { color: #7b4a8c; }
.actualizado { color: #6d6d6d; font-size: .9rem; }
mark.pendiente { background: #ffe066; color: #5a4600; padding: 0 6px; border-radius: 4px; font-size: .9em; }

/* ══════════════════════════ Pie legal ══════════════════════════ */
.pie-legal { background: var(--tinta); color: #a9a6ad; font-size: .85rem; padding: 18px 0; }
.pie-legal .ancho { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; align-items: center; }
.pie-legal a { color: #d8d4dc; text-decoration: none; }
.pie-legal a:hover { color: #fff; text-decoration: underline; }

@media (max-width: 620px) {
  .avisame-fila { flex-direction: column; }
  .avisame-fila .boton { width: 100%; }
  .info-datos dl { grid-template-columns: 1fr; gap: 2px; }
  .info-datos dd { margin-bottom: 8px; }
}
