:root {
  --black: #040816;
  --black-soft: #071b49;
  --gold: #ef233c;
  --gold-bright: #ffffff;
  --gold-dim: rgba(21, 88, 214, 0.22);
  --gold-line: rgba(255, 255, 255, 0.22);
  --blue: #073b8e;
  --blue-bright: #1d4ed8;
  --white-soft: rgba(255, 255, 255, 0.82);
  --red-soft: rgba(239, 35, 60, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* Dorado del festival: destacado del menú y borde del país en las fichas de jurado. */
  --festival-gold: #d4af37;
  /* Botones: variables propias para poder cambiarlos desde el Customizer sin
     arrastrar el color de acento del resto del sitio. Los defaults son los
     valores que el botón ya tenía. */
  --btn-bg: var(--gold);
  --btn-text: var(--black);
  --btn-hover-bg: var(--gold-bright);
  --btn-hover-text: var(--gold);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/*
 * El header es position:fixed y se superpone al contenido. Sin esto, al
 * saltar a una sección por ancla (menú/nav) el título queda tapado detrás
 * del header, dando la sensación de que "no avanzó" a la sección.
 */
section[id] {
  scroll-margin-top: clamp(96px, 14vw, 150px);
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 8%, rgba(29, 78, 216, 0.28), transparent 28%),
    radial-gradient(circle at 84% 12%, rgba(239, 35, 60, 0.18), transparent 26%),
    var(--black);
  color: var(--gold);
  font-family: Montserrat, system-ui, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(18px, 4vw, 58px);
  color: var(--gold-bright);
  transition: background 220ms ease, border-color 220ms ease, padding 220ms ease;
}

.site-header.is-scrolled {
  border-bottom: 1px solid var(--gold-line);
  background: rgba(4, 8, 22, 0.86);
  backdrop-filter: blur(12px);
}

/*
 * OJO: is-open NO puede llevar backdrop-filter/transform en .site-header,
 * ni heredado de .is-scrolled (el header queda con AMBAS clases si el menú
 * se abre después de haber hecho scroll). backdrop-filter en un ancestro
 * crea un "containing block" nuevo para los descendientes position:fixed
 * (como .site-nav), asi que el overlay del menú móvil queda encajonado en
 * la altura de la barra del header en vez de cubrir toda la pantalla. Por
 * eso acá se cancelan explícitamente background/backdrop-filter, aunque
 * .is-scrolled los haya puesto — el propio .site-nav ya trae su blur/fondo.
 */
.site-header.is-open {
  border-bottom: 1px solid var(--gold-line);
  background: transparent;
  backdrop-filter: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-transform: uppercase;
}

.brand-symbol {
  position: relative;
  display: grid;
  width: 38px;
  height: 34px;
  place-items: center;
  color: var(--gold-bright);
}

.brand-symbol i {
  position: absolute;
  font-size: 9px;
}

.brand-symbol i:nth-child(1) {
  left: 2px;
  bottom: 4px;
  color: var(--gold);
}

.brand-symbol i:nth-child(2) {
  top: 0;
  font-size: 12px;
  color: var(--gold-bright);
}

.brand-symbol i:nth-child(3) {
  right: 2px;
  bottom: 4px;
  color: var(--blue-bright);
}

.brand-name {
  font-family: "Bebas Neue", sans-serif;
  font-size: 42px;
  line-height: 0.8;
  letter-spacing: 0;
}

.brand-text {
  max-width: 190px;
  font-family: "Bebas Neue", sans-serif;
  font-size: 17px;
  line-height: 0.9;
}

.brand--logo {
  min-width: 0;
}

.brand--logo .custom-logo-link {
  display: block;
}

.brand--logo .custom-logo {
  display: block;
  height: auto;
  max-height: 88px;
  width: auto;
  max-width: 320px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 11px;
  font-weight: 700;
}

.site-nav li,
.footer nav li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  position: relative;
  padding-block: 8px;
  transition: color 180ms ease, transform 180ms ease;
}

/* CTA del menú (Casting 2026): pill dorado en vez de link plano.
   Sirve tanto para wp_nav_menu (<li class="nav-cta"><a>) como para el fallback (<a class="nav-cta">). */
.site-nav .nav-cta > a,
.site-nav a.nav-cta {
  border: 1px solid var(--festival-gold);
  border-radius: 999px;
  padding: 9px 18px;
  background: var(--festival-gold);
  color: var(--black);
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.28);
}

.site-nav .nav-cta > a:hover,
.site-nav a.nav-cta:hover {
  transform: translateY(-2px);
  background: transparent;
  color: var(--festival-gold);
  box-shadow: 0 10px 26px rgba(212, 175, 55, 0.34);
}

/* El subrayado animado del resto de los links no aplica al pill */
.site-nav .nav-cta > a::after,
.site-nav a.nav-cta::after {
  content: none;
}

.site-nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease);
}

.site-nav a:hover {
  color: var(--gold-bright);
  transform: translateY(-2px);
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  cursor: pointer;
}

.hero {
  position: relative;
  display: grid;
  min-height: 91vh;
  place-items: center;
  overflow: hidden;
  background: var(--black);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(1.05) contrast(1.08) hue-rotate(330deg);
  animation: heroDrift 16s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 42% 32%, rgba(239, 35, 60, 0.32), transparent 32%),
    radial-gradient(circle at 70% 50%, rgba(29, 78, 216, 0.48), transparent 40%),
    linear-gradient(180deg, rgba(4, 8, 22, 0.3), rgba(4, 8, 22, 0.56) 46%, rgba(4, 8, 22, 0.98));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  padding-top: 70px;
  text-align: center;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
}

.hero h1 {
  color: var(--gold-bright);
  font-size: clamp(56px, 8.6vw, 126px);
  line-height: 0.86;
  text-shadow: 0 10px 44px rgba(0, 0, 0, 0.8), 0 0 34px rgba(239, 35, 60, 0.28);
  animation: titleRise 900ms var(--ease) both;
}

.hero p,
.hero strong {
  display: block;
  margin: 18px 0 0;
  color: var(--gold-bright);
  font-size: 15px;
  font-weight: 900;
  text-shadow: 0 4px 24px rgba(4, 8, 22, 0.8);
}

.hero strong {
  margin-top: 6px;
}

.scroll-cue {
  display: inline-grid;
  width: 36px;
  height: 50px;
  margin-top: 28px;
  place-items: center;
  color: var(--gold-bright);
  font-size: 20px;
  animation: bounceCue 1.6s ease-in-out infinite;
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--gold-line);
  background: var(--gold);
  color: var(--black);
}

.marquee-track:hover,
.final-marquee .marquee-track:hover {
  animation-play-state: paused;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 22s linear infinite;
}

.marquee span {
  padding: 18px 22px;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(26px, 4vw, 48px);
  line-height: 1;
  white-space: nowrap;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.photo-strip {
  padding: clamp(36px, 5vw, 64px) 0;
  background: var(--black);
}

.gallery-card-trigger {
  all: unset;
  display: block;
  cursor: pointer;
}

/* La galería ocupa todo el ancho de la web (el resto de los carruseles va contenido
   a 1280px). El padding lateral evita que las fotos toquen el borde de la pantalla. */
.photo-strip .fics-carousel {
  width: 100%;
  max-width: none;
  padding-inline: clamp(16px, 3vw, 40px);
}

.gallery-carousel .fics-carousel__item {
  width: clamp(220px, 32vw, 340px);
}

.gallery-carousel .fics-carousel__item img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  filter: saturate(1.2) contrast(1.18) brightness(0.82);
  opacity: 0.88;
  transition: transform 420ms var(--ease), filter 420ms var(--ease), opacity 420ms var(--ease);
}

.gallery-card-trigger:hover img {
  transform: scale(1.04);
  filter: saturate(1.4) contrast(1.12) brightness(1);
  opacity: 1;
}

.intro {
  padding: clamp(72px, 9vw, 130px) clamp(20px, 6vw, 86px);
  background:
    linear-gradient(135deg, var(--gold), #b50022),
    var(--gold);
  color: var(--gold-bright);
  text-align: center;
}

.intro h2 {
  width: min(880px, 100%);
  margin-inline: auto;
  font-size: clamp(54px, 8vw, 112px);
  line-height: 0.92;
}

.intro p {
  width: min(560px, 100%);
  margin: 28px auto 0;
  font-size: 13px;
  line-height: 1.65;
  font-weight: 600;
}

.location {
  position: relative;
  min-height: 860px;
  overflow: hidden;
  padding: clamp(78px, 10vw, 140px) clamp(22px, 7vw, 120px);
  background:
    linear-gradient(180deg, rgba(4, 8, 22, 0.62), rgba(4, 8, 22, 0.96)),
    url("../images/hero-black-gold.png") center / cover;
  color: var(--gold-bright);
}

.location::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(0deg, var(--black), transparent);
}

.location-content {
  position: relative;
  z-index: 2;
  width: min(700px, 100%);
  margin-left: 14vw;
}

.location h2 {
  margin-bottom: 340px;
  font-size: clamp(50px, 6vw, 86px);
  line-height: 0.94;
}

.location p {
  max-width: 580px;
  margin: 0 0 14px;
  line-height: 1.5;
}

.location .lead {
  font-weight: 900;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--btn-bg);
  border-radius: 999px;
  margin-top: 12px;
  padding: 12px 20px;
  background: var(--btn-bg);
  color: var(--btn-text);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 0 0 rgba(239, 35, 60, 0);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), background 220ms ease, color 220ms ease;
}

.button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 44px rgba(239, 35, 60, 0.32);
  border-color: var(--btn-hover-bg);
  background: var(--btn-hover-bg);
  color: var(--btn-hover-text);
}

.button:active {
  transform: translateY(-1px) scale(0.99);
}

.accordions {
  width: 100%;
  margin: 0;
  padding: clamp(70px, 8vw, 120px) clamp(20px, 6vw, 86px);
  background:
    linear-gradient(180deg, rgba(7, 27, 73, 0.96), var(--black));
}

details {
  width: min(900px, 100%);
  margin-inline: auto;
  border-bottom: 1px solid var(--gold-line);
  background: transparent;
  transition: background 220ms ease;
}

summary {
  display: flex;
  min-height: 112px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--gold-bright);
  cursor: pointer;
  list-style: none;
  transition: color 180ms ease, padding-left 220ms var(--ease), border-color 220ms ease;
}

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

summary span {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(48px, 6vw, 78px);
  line-height: 0.9;
}

summary i {
  color: var(--gold);
  transition: transform 180ms ease;
}

details[open] summary i {
  transform: rotate(180deg);
}

details[open] {
  background: linear-gradient(90deg, rgba(29, 78, 216, 0.18), rgba(239, 35, 60, 0.05), transparent);
}

summary:hover {
  color: var(--gold);
  padding-left: 10px;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 0 0 34px;
}

.panel-grid article {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--black);
  transition: transform 260ms var(--ease), border-color 260ms ease, background 260ms ease, box-shadow 260ms ease;
}

.legend-grid article {
  border: 1px solid var(--gold-line);
  padding: 22px;
  background: var(--gold-dim);
  transition: transform 260ms var(--ease), border-color 260ms ease, background 260ms ease;
}

.panel-grid article:hover {
  transform: translateY(-6px);
  border-color: rgba(239, 35, 60, 0.44);
  background: var(--gold-bright);
  box-shadow: 0 18px 46px rgba(7, 59, 142, 0.22);
}

.legend-grid article:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.54);
  background: rgba(29, 78, 216, 0.24);
}

.panel-grid h3,
.legend-grid h3 {
  margin-bottom: 10px;
}

.panel-grid h3 {
  color: var(--gold);
  font-size: 30px;
}

.legend-grid h3 {
  color: var(--gold-bright);
  font-size: 30px;
}

.panel-grid p {
  margin: 0;
  color: rgba(4, 8, 22, 0.78);
  font-size: 13px;
  line-height: 1.6;
}

.legend-grid p {
  margin: 0;
  color: var(--gold);
  font-size: 13px;
  line-height: 1.6;
}

.living-legends,
.team,
.jury,
.sponsors,
.program-cards,
.tickets {
  padding: clamp(72px, 9vw, 126px) clamp(20px, 6vw, 86px);
  text-align: center;
}

.team h2,
.jury h2,
.sponsors h2,
.program-cards h2,
.tickets h2 {
  margin-bottom: 44px;
  color: var(--gold-bright);
  font-size: clamp(56px, 8vw, 116px);
  line-height: 0.92;
}

.living-legends > p,
.team > p,
.sponsors > p,
.program-cards > p {
  width: min(720px, 100%);
  margin: 0 auto 48px;
  color: var(--gold);
  font-size: 13px;
  line-height: 1.7;
}

.legend-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: min(1280px, 100%);
  margin-inline: auto;
}

.legend-card {
  text-align: left;
}

.legend-card img {
  width: 100%;
  aspect-ratio: 1.1;
  object-fit: cover;
  filter: saturate(1.12) brightness(0.82) contrast(1.18);
  transition: transform 420ms var(--ease), filter 420ms var(--ease);
}

.legend-card:hover img {
  transform: scale(1.04);
  filter: saturate(1.35) brightness(1) contrast(1.1);
}

.legend-card div {
  padding-top: 18px;
}

.legend-card span,
.team span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-bright);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.legend-card h3 {
  margin-bottom: 12px;
  color: var(--gold-bright);
  font-size: clamp(36px, 4vw, 54px);
  line-height: 0.9;
}

.legend-card strong {
  display: block;
  margin-bottom: 12px;
  font-size: 12px;
}

.legend-card p {
  margin: 0;
  color: var(--gold);
  font-size: 12px;
  line-height: 1.7;
}

.team {
  border-top: 1px solid var(--gold-line);
  background:
    radial-gradient(circle at 16% 10%, rgba(255, 255, 255, 0.18), transparent 26%),
    linear-gradient(135deg, var(--blue), var(--blue-bright));
  color: var(--gold-bright);
}

.team h2 {
  color: var(--gold-bright);
}

.team p {
  color: var(--white-soft);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: min(1100px, 100%);
  margin-inline: auto;
}

.team-grid article {
  text-align: left;
  transition: transform 260ms var(--ease);
}

.team-grid article:hover {
  transform: translateY(-10px) rotate(-0.7deg);
}

.team-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.18);
  transition: filter 260ms ease, transform 420ms var(--ease);
}

.team-grid article:hover img {
  filter: saturate(1.35) contrast(1.05);
  transform: scale(1.025);
}

.team-grid h3 {
  margin-top: 16px;
  color: var(--gold-bright);
  font-size: 34px;
}

.team span {
  color: var(--gold-bright);
}

.jury h2,
.sponsors h2 {
  color: var(--gold-bright);
}

.program-cards {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, #ffffff, #dfe8ff 48%, #ffffff);
  color: var(--black);
}

.program-cards h2 {
  color: var(--gold);
}

.program-cards > p {
  color: var(--black);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: min(800px, 100%);
  margin-inline: auto;
}

.cards article {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  align-items: center;
  border: 3px solid var(--black);
  border-radius: 10px;
  padding: 30px 22px;
  background: rgba(3, 3, 3, 0.92);
  text-align: center;
  transition: transform 280ms var(--ease), box-shadow 280ms ease, border-color 280ms ease;
}

.cards article:hover {
  transform: translateY(-12px);
  border-color: var(--gold);
  box-shadow: 0 26px 70px rgba(7, 59, 142, 0.22);
}

.cards h3 {
  color: var(--gold-bright);
  font-size: 28px;
}

.cards strong {
  margin: 18px 0;
  color: var(--gold-bright);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.5;
  text-transform: uppercase;
}

.cards p {
  flex: 1;
  margin: 0 0 20px;
  color: var(--gold);
  font-size: 12px;
  line-height: 1.55;
}

.cards .button {
  margin-top: auto;
}

.text-link {
  margin-top: 14px;
  color: var(--gold-bright);
  font-size: 11px;
  font-weight: 800;
  text-decoration: underline;
}

.venue {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 380px;
}

.venue-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(54px, 8vw, 90px) clamp(20px, 6vw, 86px);
  background: var(--gold);
  color: var(--gold-bright);
}

.venue-copy > i {
  margin-bottom: 22px;
  font-size: 32px;
}

.venue h2 {
  font-size: clamp(44px, 6vw, 72px);
  line-height: 0.92;
}

.venue p {
  margin: 16px 0 20px;
  font-size: 13px;
  font-weight: 700;
}

.venue .button {
  width: fit-content;
  border-color: var(--black);
  background: var(--blue);
  color: var(--gold-bright);
}

.map-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-height: 380px;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(90deg, rgba(4, 8, 22, 0.88), rgba(7, 59, 142, 0.54)),
    repeating-linear-gradient(35deg, var(--gold-dim) 0 2px, transparent 2px 38px),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.08) 0 2px, transparent 2px 34px),
    var(--black);
  color: var(--gold-bright);
  text-transform: uppercase;
  overflow: hidden;
}

.map-card span {
  font-family: "Bebas Neue", sans-serif;
  font-size: 54px;
  line-height: 0.9;
  text-align: center;
}

.map-card i {
  position: static;
  font-size: 34px;
  color: var(--gold);
  filter: drop-shadow(0 10px 20px rgba(239, 35, 60, 0.35));
  animation: mapPin 1.8s ease-in-out infinite;
}

.tickets {
  border-top: 1px solid var(--gold-line);
}

.tickets p {
  margin: 0 0 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.tickets .button {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--black);
}

.impulse {
  position: relative;
  display: grid;
  min-height: 560px;
  place-items: center;
  overflow: hidden;
  background: var(--black);
  text-align: center;
}

.impulse img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.18) brightness(0.58) contrast(1.22) hue-rotate(330deg);
}

.impulse-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle, rgba(239, 35, 60, 0.25), transparent 32%),
    radial-gradient(circle at 70% 40%, rgba(29, 78, 216, 0.35), transparent 36%),
    linear-gradient(180deg, rgba(4, 8, 22, 0.26), rgba(4, 8, 22, 0.94));
}

.impulse-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

.impulse span {
  position: absolute;
  inset: 50% auto auto 50%;
  color: rgba(239, 35, 60, 0.42);
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(128px, 20vw, 250px);
  line-height: 0.8;
  text-transform: uppercase;
  transform: translate(-50%, -56%);
}

.impulse h2 {
  position: relative;
  color: var(--gold-bright);
  font-family: Montserrat, system-ui, sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.05;
}

.impulse p {
  position: relative;
  width: min(620px, 100%);
  margin: 34px auto 22px;
  color: var(--gold);
  font-size: 14px;
  line-height: 1.75;
}

.impulse .text-link {
  display: block;
  width: fit-content;
  margin: 16px auto 0;
  text-decoration: none;
}

.newsletter {
  padding: clamp(70px, 9vw, 120px) clamp(20px, 6vw, 86px);
  background:
    radial-gradient(circle at 50% 0, rgba(239, 35, 60, 0.18), transparent 24%),
    var(--black);
  text-align: center;
}

.newsletter-icon {
  display: inline-grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border: 2px solid var(--gold);
  border-radius: 50%;
  margin-bottom: 30px;
  color: var(--gold-bright);
  font-size: 30px;
  box-shadow: 0 0 0 12px rgba(239, 35, 60, 0.08);
  animation: pulseRing 2.5s ease-in-out infinite;
}

.newsletter h2 {
  color: var(--gold-bright);
  font-size: clamp(52px, 8vw, 96px);
  line-height: 0.9;
}

.newsletter p {
  width: min(670px, 100%);
  margin: 28px auto 28px;
  color: var(--gold);
  line-height: 1.6;
}

.signup {
  display: flex;
  justify-content: center;
  gap: 12px;
  width: min(680px, 100%);
  margin: 0 auto 18px;
}

.signup input {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold-bright);
  font: inherit;
  outline: 1px solid var(--gold-line);
}

.signup input::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

.signup button {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0 26px;
  background: var(--gold);
  color: var(--black);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 220ms var(--ease), background 220ms ease, color 220ms ease;
}

.signup button:hover {
  transform: translateY(-3px);
  background: var(--gold-bright);
  color: var(--gold);
}

.newsletter small {
  color: rgba(255, 255, 255, 0.58);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.gallery-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  height: 220px;
  overflow: hidden;
}

.gallery-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) brightness(0.82) contrast(1.18);
  transition: transform 420ms var(--ease), filter 420ms var(--ease);
}

.gallery-row img:hover {
  transform: scale(1.08);
  filter: saturate(1.45) brightness(1) contrast(1.06);
}

.social-hero {
  position: relative;
  display: grid;
  min-height: 620px;
  place-items: center;
  overflow: hidden;
  text-align: center;
}

.social-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) brightness(0.46) contrast(1.25) hue-rotate(330deg);
}

.social-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 3, 3, 0.36), rgba(3, 3, 3, 0.78));
}

.social-hero div {
  position: relative;
  z-index: 1;
  /* Sin esto el bloque puede crecer más que el contenedor y desbordar por la derecha. */
  max-width: 100%;
  padding-inline: 18px;
}

.social-hero p {
  margin: 0 0 24px;
  color: var(--gold);
}

.social-hero h2 {
  color: var(--gold-bright);
  /* El mínimo era 58px: un @handle largo no entraba en un teléfono y se salía por
     la derecha, arrastrando consigo el ancho de todo el bloque (por eso también se
     cortaban el texto de arriba y los íconos). */
  font-size: clamp(30px, 9vw, 110px);
  line-height: 0.9;
  overflow-wrap: anywhere;
}

.social-hero nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
  margin-top: 28px;
  color: var(--gold-bright);
  font-size: 28px;
}

.social-hero nav a {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  transition: transform 220ms var(--ease), background 220ms ease, color 220ms ease;
}

.social-hero nav a:hover {
  transform: translateY(-6px) rotate(-8deg);
  background: var(--gold);
  color: var(--gold-bright);
}

.final-marquee {
  overflow: hidden;
  border-block: 1px solid var(--gold-line);
  background: var(--gold);
  color: var(--black);
}

.final-marquee .marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 24s linear infinite;
}

.final-marquee span {
  padding: 18px 22px;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(26px, 4vw, 44px);
  white-space: nowrap;
}

.footer {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 38px;
  padding: 70px clamp(20px, 8vw, 120px);
  border-top: 1px solid var(--gold-line);
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.footer strong {
  display: block;
  color: var(--gold-bright);
  font-family: "Bebas Neue", sans-serif;
  font-size: 40px;
  line-height: 1;
}

/* Logos del footer: reemplazan al texto "FICS" y al nombre de la ticketera */
.footer-logo {
  width: auto;
  max-width: 220px;
  max-height: 90px;
  margin-bottom: 4px;
}

.footer-ticketera-logo {
  width: auto;
  max-width: 170px;
  max-height: 52px;
  margin-top: 6px;
}

@media (max-width: 640px) {
  .footer-logo {
    max-width: 180px;
    max-height: 74px;
    margin-inline: auto;
  }

  .footer-ticketera-logo {
    margin-inline: auto;
  }
}

.footer p {
  margin: 10px 0 0;
  line-height: 1.55;
}

.footer nav {
  display: grid;
  gap: 10px;
}

.footer div:last-child {
  display: grid;
  align-content: start;
  gap: 18px;
}

/* ---------------------------------------------------------------- */
/* Carrusel reutilizable (jurados, auspiciadores) — scroll nativo    */
/* con scroll-snap: swipe táctil gratis, botones opcionales, autoplay */
/* opcional vía data-autoplay="true" en .fics-carousel                */
/* ---------------------------------------------------------------- */

.fics-carousel {
  position: relative;
  width: min(1280px, 100%);
  margin-inline: auto;
}

.fics-carousel__viewport {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.fics-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.fics-carousel__item {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.fics-carousel__btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 44px;
  height: 44px;
  transform: translateY(-50%);
  place-items: center;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  background: rgba(4, 8, 22, 0.7);
  color: var(--gold-bright);
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease;
}

.fics-carousel__btn:hover {
  background: var(--gold);
  color: var(--black);
}

.fics-carousel__btn--prev {
  left: -8px;
}

.fics-carousel__btn--next {
  right: -8px;
}

.fics-carousel-empty {
  padding: 24px;
  color: var(--gold);
  font-size: 13px;
}

/* Jurados: grid de columnas (sin carrusel), cada tarjeta abre el lightbox */
.jury-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  width: min(1280px, 100%);
  margin-inline: auto;
}

.jury-card-trigger {
  all: unset;
  display: block;
  box-sizing: border-box;
  flex: 0 1 288px;
  cursor: pointer;
  text-align: left;
  transition: transform 240ms var(--ease);
}

.jury-card-trigger:hover {
  transform: translateY(-6px);
}

.jury-card-trigger:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 4px;
}

.jury-card-photo {
  position: relative;
  display: block;
  aspect-ratio: 0.88;
  overflow: hidden;
}

.jury-card-trigger img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75) brightness(0.85) contrast(1.15);
  transition: filter 260ms ease;
}

.jury-card-trigger:hover img {
  filter: saturate(1.25) brightness(1) contrast(1.08);
}

.jury-card-country {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 1px solid var(--festival-gold);
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(4, 8, 22, 0.72);
  backdrop-filter: blur(4px);
  color: var(--gold-bright);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.jury-card-trigger h3 {
  margin-top: 14px;
  color: var(--gold-bright);
  font-size: 24px;
}

.jury-card-role {
  display: block;
  margin-top: 2px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.jury-card-teaser {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

/* Postulacion: formulario de casting para artistas */
.postulacion {
  padding: clamp(72px, 9vw, 126px) clamp(20px, 6vw, 86px);
  background: var(--black);
  text-align: center;
}

.postulacion h2 {
  margin-bottom: 16px;
  color: var(--gold-bright);
  font-size: clamp(56px, 8vw, 116px);
  line-height: 0.92;
}

.postulacion > p {
  width: min(680px, 100%);
  margin: 0 auto 32px;
  color: var(--gold);
  font-size: 13px;
  line-height: 1.7;
}

.postulacion-banner {
  width: min(680px, 100%);
  margin: 0 auto 24px;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}

/* Verde: el aviso de "postulación enviada" tiene que leerse como éxito,
   no como el azul del resto de la interfaz. */
.postulacion-banner--ok {
  border: 1px solid rgba(34, 197, 94, 0.55);
  background: rgba(34, 197, 94, 0.16);
  color: #d7f7e3;
}

.postulacion-banner--ok::before {
  content: "✓";
  margin-right: 8px;
  font-weight: 900;
  color: #22c55e;
}

.postulacion-banner--error {
  border: 1px solid rgba(239, 35, 60, 0.5);
  background: rgba(239, 35, 60, 0.14);
  color: var(--gold-bright);
}

.postulacion-form {
  display: grid;
  gap: 18px;
  width: min(680px, 100%);
  margin: 0 auto;
  text-align: left;
}

.postulacion-row--two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.postulacion-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-bright);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.postulacion-form input,
.postulacion-form textarea {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold-bright);
  font: inherit;
  font-size: 13px;
  outline: 1px solid var(--gold-line);
}

.postulacion-form textarea {
  min-height: 120px;
  resize: vertical;
}

.postulacion-form input::placeholder,
.postulacion-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.postulacion-form .button {
  justify-self: start;
  border: 0;
  cursor: pointer;
}

/* Formulario largo: cada sección del PDF es un fieldset */
.postulacion-fieldset {
  border: 1px solid var(--gold-line);
  border-radius: 10px;
  margin: 0;
  padding: 22px;
  background: rgba(255, 255, 255, 0.04);
}

.postulacion-fieldset legend {
  padding: 0 10px;
  color: var(--gold);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 22px;
  letter-spacing: 0.06em;
}

.postulacion-fieldset__intro {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  line-height: 1.6;
}

.postulacion-fieldset .postulacion-row + .postulacion-row {
  margin-top: 16px;
}

/* Tipo de participación: solista / dúo / grupo */
.postulacion-legend {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-bright);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.postulacion-required {
  color: var(--accent);
  font-weight: 900;
}

.postulacion-nota {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.postulacion-radios {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.postulacion-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
}

.postulacion-radio:hover {
  border-color: var(--gold);
}

/* Anula el input{width:100%} global del formulario */
.postulacion-form .postulacion-radio input[type="radio"] {
  width: 16px;
  min-height: 0;
  height: 16px;
  margin: 0;
  padding: 0;
  accent-color: var(--gold);
}

.postulacion-form .postulacion-radio span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  text-transform: none;
}

/* Tabla de integrantes con filas que se agregan y quitan */
.integrantes__head,
.integrantes__row {
  display: grid;
  grid-template-columns: 1fr 1fr 90px 44px;
  gap: 10px;
  align-items: center;
}

.integrantes__head {
  margin-bottom: 8px;
}

.integrantes__head span {
  color: var(--gold-bright);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.integrantes__row + .integrantes__row {
  margin-top: 10px;
}

.integrantes__remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold-line);
  border-radius: 8px;
  background: transparent;
  color: var(--gold-bright);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.integrantes__remove:hover:not(:disabled) {
  border-color: var(--gold);
  background: var(--red-soft);
}

.integrantes__remove:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.integrantes__add {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  border: 1px dashed var(--gold-line);
  border-radius: 999px;
  padding: 10px 18px;
  background: transparent;
  color: var(--gold-bright);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

.integrantes__add:hover {
  border-color: var(--gold);
  border-style: solid;
  color: var(--gold);
}

@media (max-width: 640px) {
  /* En móvil la grilla de 4 columnas no entra: cada campo pasa a fila completa
     y el botón de quitar queda al final, alineado a la derecha. */
  .integrantes__head {
    display: none;
  }

  .integrantes__row {
    grid-template-columns: 1fr;
    gap: 8px;
    border: 1px solid var(--gold-line);
    border-radius: 10px;
    padding: 14px;
  }

  .integrantes__row + .integrantes__row {
    margin-top: 14px;
  }

  .integrantes__remove {
    justify-self: end;
  }
}

/* Bases de la postulación: recuadro con scroll + checkbox de aceptación */
.postulacion-bases {
  border: 1px solid var(--gold-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.postulacion-bases__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 18px;
  border-bottom: 1px solid var(--gold-line);
  background: rgba(255, 255, 255, 0.06);
}

.postulacion-bases__head h3 {
  margin: 0;
  color: var(--gold-bright);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.postulacion-bases__link {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.postulacion-bases__link:hover,
.postulacion-bases__link:focus-visible {
  text-decoration: underline;
}

.postulacion-bases__body {
  max-height: 260px;
  overflow-y: auto;
  padding: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.7;
  text-align: left;
  /* iOS: momentum scroll dentro del recuadro sin arrastrar la página */
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.postulacion-bases__body:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

.postulacion-bases__body > *:first-child {
  margin-top: 0;
}

.postulacion-bases__body > *:last-child {
  margin-bottom: 0;
}

.postulacion-bases__body h2,
.postulacion-bases__body h3,
.postulacion-bases__body h4 {
  color: var(--gold-bright);
  font-size: 14px;
  text-transform: none;
}

.postulacion-bases__body a {
  color: var(--gold);
}

.postulacion-bases__body ul,
.postulacion-bases__body ol {
  margin: 0 0 1em;
  padding-left: 1.4em;
}

.postulacion-bases__body li {
  margin-bottom: 0.4em;
}

/* Anula el label block/uppercase y el input width:100% del resto del formulario */
.postulacion-acepto {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.postulacion-form .postulacion-acepto input[type="checkbox"] {
  flex: 0 0 auto;
  width: 20px;
  min-height: 0;
  height: 20px;
  margin-top: 2px;
  padding: 0;
  border-radius: 4px;
  accent-color: var(--gold);
  cursor: pointer;
}

.postulacion-form .postulacion-acepto label {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  text-transform: none;
  cursor: pointer;
}

/* Honeypot anti-spam: oculto para humanos, visible para bots */
.fics-hp-wrap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .postulacion-row--two {
    grid-template-columns: 1fr;
  }
}

/* Auspiciadores: nuevo, franja de logos al final */
.sponsors {
  border-top: 1px solid var(--gold-line);
  background: var(--black);
}

/* Auspiciadores: grilla centrada de tarjetas (reemplazó al carrusel) */
.sponsor-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 28px;
  width: min(1100px, 100%);
  margin-inline: auto;
}

.sponsor-tile {
  display: grid;
  place-items: center;
  flex: 0 1 268px;
  min-height: 180px;
  padding: 28px 34px;
  border: 1px solid var(--gold-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 240ms ease, transform 240ms ease, background 240ms ease;
}

.sponsor-tile:hover {
  border-color: var(--festival-gold);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-4px);
}

.sponsor-tile a,
.sponsor-tile .sponsor-static {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
}

.sponsor-tile img {
  max-width: 100%;
  max-height: 120px;
  object-fit: contain;
  transition: transform 260ms ease;
}

.sponsor-tile:hover img {
  transform: scale(1.04);
}

/* Lightbox de jurado: se abre al hacer clic en una tarjeta del carrusel */
.fics-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 220ms ease;
}

.fics-lightbox[hidden] {
  display: none;
}

.fics-lightbox.is-open {
  opacity: 1;
}

.fics-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 22, 0.86);
  backdrop-filter: blur(4px);
}

.fics-lightbox__panel {
  position: relative;
  width: min(880px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  border-radius: 16px;
  border: 1px solid rgba(212, 175, 55, 0.38);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(21, 88, 214, 0.3), transparent 60%),
    linear-gradient(165deg, #071b49 0%, #040816 72%);
  color: rgba(255, 255, 255, 0.9);
  padding: clamp(26px, 4.5vw, 52px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  transform: translateY(24px) scale(0.98);
  transition: transform 240ms var(--ease);
}

.fics-lightbox.is-open .fics-lightbox__panel {
  transform: translateY(0) scale(1);
}

.fics-lightbox__close {
  display: grid;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 17px;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.fics-lightbox__close:hover {
  background: var(--festival-gold);
  border-color: var(--festival-gold);
  color: var(--black);
}

.fics-lightbox__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--festival-gold);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/*
 * El botón de cerrar va DENTRO de este grupo (con el país), no con
 * position:absolute flotando encima — así nunca se superpone con el país
 * sin importar cuán largo sea el nombre (ej. "Estados Unidos" + bandera).
 */
.fics-lightbox__header-right {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
}

/* Mismo pill con borde dorado que la tarjeta del jurado */
.fics-lightbox__country {
  border: 1px solid var(--festival-gold);
  border-radius: 999px;
  padding: 4px 12px;
  color: var(--festival-gold);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.fics-lightbox__country:empty {
  display: none;
}

.fics-lightbox__name {
  margin: 18px 0 6px;
  color: #fff;
  font-size: clamp(34px, 5.5vw, 58px);
  line-height: 0.98;
}

.fics-lightbox__role {
  margin: 0;
  color: var(--festival-gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fics-lightbox__role:empty {
  display: none;
}

.fics-lightbox__body {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 34px;
  align-items: start;
  margin-top: 24px;
  padding-top: 30px;
  border-top: 1px solid rgba(212, 175, 55, 0.22);
}

.fics-lightbox__photo {
  width: 100%;
  aspect-ratio: 0.82;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  filter: saturate(1.05) contrast(1.05);
}

.fics-lightbox__bio {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14.5px;
  line-height: 1.85;
  white-space: pre-line;
}

/* Lightbox de fotos de la galería: imagen grande + flechas prev/next */
.fics-photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 220ms ease;
}

.fics-photo-lightbox[hidden] {
  display: none;
}

.fics-photo-lightbox.is-open {
  opacity: 1;
}

.fics-photo-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 22, 0.92);
  backdrop-filter: blur(6px);
}

.fics-photo-lightbox__figure {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  justify-items: center;
  max-width: min(1100px, 92vw);
  margin: 0;
}

.fics-photo-lightbox__image {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.fics-photo-lightbox__caption {
  color: var(--gold-bright);
  font-size: 13px;
  text-align: center;
}

.fics-photo-lightbox__close,
.fics-photo-lightbox__nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  background: rgba(4, 8, 22, 0.7);
  color: var(--gold-bright);
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.fics-photo-lightbox__close:hover,
.fics-photo-lightbox__nav:hover {
  background: var(--gold);
  color: var(--black);
}

.fics-photo-lightbox__close {
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  font-size: 18px;
}

.fics-photo-lightbox__nav {
  top: 50%;
  width: 52px;
  height: 52px;
  transform: translateY(-50%);
  font-size: 20px;
}

.fics-photo-lightbox__nav--prev {
  left: 20px;
}

.fics-photo-lightbox__nav--next {
  right: 20px;
}

@media (max-width: 640px) {
  .fics-photo-lightbox__nav {
    width: 40px;
    height: 40px;
    font-size: 15px;
  }

  .fics-photo-lightbox__nav--prev {
    left: 8px;
  }

  .fics-photo-lightbox__nav--next {
    right: 8px;
  }

  .fics-photo-lightbox__close {
    top: 12px;
    right: 12px;
  }
}

body.fics-lightbox-open,
body.site-nav-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .fics-lightbox__body {
    grid-template-columns: 1fr;
  }

  .fics-lightbox__photo {
    max-width: 240px;
    margin: 0 auto;
  }
}

@media (max-width: 980px) {
  .menu-toggle {
    position: relative;
    z-index: 26;
    display: inline-grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border: 2px solid var(--gold-bright);
    border-radius: 50%;
    background: transparent;
    color: var(--gold-bright);
    font-size: 22px;
    transition: transform 220ms var(--ease), background 220ms ease, color 220ms ease;
  }

  .site-header.is-open .menu-toggle {
    transform: rotate(90deg);
    background: var(--gold-bright);
    color: var(--black);
    border-color: var(--gold-bright);
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 25;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding-block: 100px 48px;
    overflow-y: auto;
    border: 0;
    background:
      radial-gradient(circle at 82% 14%, rgba(239, 35, 60, 0.24), transparent 42%),
      radial-gradient(circle at 12% 86%, rgba(29, 78, 216, 0.32), transparent 46%),
      rgba(4, 8, 22, 0.98);
    backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 320ms var(--ease), visibility 320ms;
  }

  .site-header.is-open .site-nav {
    opacity: 1;
    visibility: visible;
  }

  .site-nav::before {
    content: attr(data-site-name);
    width: min(260px, 70vw);
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.4);
    font-family: Montserrat, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-align: center;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 260ms var(--ease), transform 260ms var(--ease);
  }

  .site-header.is-open .site-nav::before {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 20ms;
  }

  .site-nav > li,
  .site-nav > a {
    list-style: none;
    margin: 0;
    padding: 0;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 260ms var(--ease), transform 260ms var(--ease);
  }

  .site-header.is-open .site-nav > li,
  .site-header.is-open .site-nav > a {
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav > li:nth-child(1),
  .site-nav > a:nth-child(1) {
    transition-delay: 70ms;
  }

  .site-nav > li:nth-child(2),
  .site-nav > a:nth-child(2) {
    transition-delay: 110ms;
  }

  .site-nav > li:nth-child(3),
  .site-nav > a:nth-child(3) {
    transition-delay: 150ms;
  }

  .site-nav > li:nth-child(4),
  .site-nav > a:nth-child(4) {
    transition-delay: 190ms;
  }

  .site-nav > li:nth-child(5),
  .site-nav > a:nth-child(5) {
    transition-delay: 230ms;
  }

  .site-nav > li:nth-child(6),
  .site-nav > a:nth-child(6) {
    transition-delay: 270ms;
  }

  .site-nav > li:nth-child(7),
  .site-nav > a:nth-child(7) {
    transition-delay: 310ms;
  }

  .site-nav a {
    position: relative;
    display: inline-block;
    padding: 8px 0;
    border: 0;
    color: var(--gold-bright);
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(30px, 8vw, 42px);
    line-height: 1.15;
    text-transform: uppercase;
  }

  .site-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 2px;
    height: 2px;
    width: 0;
    background: var(--gold);
    transform: translateX(-50%);
    transition: width 220ms var(--ease);
  }

  .site-nav a:hover::after,
  .site-nav a:focus-visible::after {
    width: 44px;
  }

  /* En el overlay móvil el CTA mantiene el pill dorado, pero con el tamaño
     de los links gigantes del menú. */
  .site-nav .nav-cta > a,
  .site-nav a.nav-cta {
    margin-top: 8px;
    padding: 10px 28px;
    font-size: clamp(26px, 7vw, 38px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
  }

  /* En escritorio este bloque va corrido a la derecha (margin-left: 14vw). En pantallas
     chicas hay que anularlo Y centrarlo: sólo con margin-left:0 quedaba pegado al borde. */
  .location-content {
    margin-left: 0;
    margin-inline: auto;
    text-align: center;
  }

  .location h2 {
    margin-bottom: 260px;
  }

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

  .venue {
    grid-template-columns: 1fr;
  }

  .gallery-row {
    grid-template-columns: repeat(3, 1fr);
    height: 320px;
  }

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

  .fics-carousel__btn {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 18px;
  }

  .brand-name {
    font-size: 34px;
  }

  .brand-text {
    max-width: 130px;
    font-size: 13px;
  }

  .brand--logo .custom-logo {
    max-height: 60px;
    max-width: 220px;
  }

  .hero {
    min-height: 820px;
  }

  .hero-content {
    padding-top: 150px;
  }

  .hero h1 {
    font-size: 56px;
  }

  .intro h2,
  .living-legends h2,
  .tickets h2 {
    font-size: 54px;
  }

  .location {
    min-height: 720px;
  }

  .location h2 {
    margin-bottom: 220px;
    font-size: 48px;
  }

  .legend-grid,
  .team-grid,
  .jury-grid,
  .cards,
  .panel-grid {
    grid-template-columns: 1fr;
  }

  .signup {
    flex-direction: column;
  }

  .gallery-row {
    grid-template-columns: repeat(2, 1fr);
    height: 420px;
  }

  .map-card span {
    font-size: 44px;
  }

  summary {
    min-height: 94px;
  }

  summary span {
    font-size: 48px;
  }
}

@media (max-width: 640px) {
  /* Galería en móvil: una sola foto por pantalla, a lo ancho del viewport. */
  .gallery-carousel .fics-carousel__item {
    width: 100%;
  }

  .gallery-carousel .fics-carousel__item img {
    height: 300px;
  }

  .photo-strip .fics-carousel {
    padding-inline: 16px;
  }

  .fics-carousel__viewport {
    gap: 12px;
  }
}

/* Ancla de compatibilidad (#premiados): no ocupa espacio, pero al saltar hacia ella
   deja el mismo margen que las secciones para no quedar tapada por el header fijo. */
.fics-anchor-legacy {
  display: block;
  height: 0;
  scroll-margin-top: clamp(96px, 14vw, 150px);
}

.fics-section-hidden {
  display: none !important;
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 760ms var(--ease), transform 760ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroDrift {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.055) translate3d(0, -1.5%, 0);
  }
}

@keyframes titleRise {
  from {
    opacity: 0;
    transform: translateY(34px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes bounceCue {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

@keyframes pulseRing {
  0%,
  100% {
    box-shadow: 0 0 0 10px rgba(239, 35, 60, 0.08);
  }
  50% {
    box-shadow: 0 0 0 18px rgba(29, 78, 216, 0.14);
  }
}

@keyframes mapPin {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
