/* ═══════════════════════════════════════
   ESCENARIO — El excéntrico de la 18
   ═══════════════════════════════════════ */

/* ── Fondo negro base ── */
#escenario {
  position: fixed;
  inset: 0;
  background: #000000;
  z-index: 0;
  overflow: hidden;
}

/* ── Cada slide ocupa toda la pantalla ── */
.slide {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  pointer-events: none;
}

.slide.visible { opacity: 1; }

/* ── La imagen ── */
.slide img {
  display: block;
  max-width: 80vw;
  max-height: 80vh;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

/* ── Foco de color (controlado desde JS) ── */
.slide::after {
  content: '';
  position: absolute;
  inset: -20%;
  opacity: 0;
  mix-blend-mode: screen;
  pointer-events: none;
  transition: opacity 2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: var(--z-foco, 2);
  background: var(--gradiente-foco, none);
  filter: blur(10px);
}

.slide.visible::after { opacity: 0.33; }

/* ── Título y subtítulo ── */
#centro {
  position: fixed;
  top: 0;
  left: 0;
  width: 75%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  pointer-events: none;
  z-index: 10000;
  padding-left: 10%;
}

#titulo {
  font-family: 'Archibrazo-VF-Upright', system-ui, sans-serif;
  font-size: clamp(2.4rem, 7vw, 6.5rem);
  font-weight: 300;
  line-height: 1.0;
  color: #ffffff;
  text-shadow: 0 0 40px rgba(0,0,0,0.8);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 1.5s ease, transform 1.5s ease;
}

#titulo.visible {
  opacity: 1;
  transform: translateY(0);
}

#anio {
  font-family: 'Archibrazo-VF-Upright', system-ui, sans-serif;
  font-size: clamp(0.7rem, 1.1vw, 0.9rem);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 0 20px rgba(0,0,0,0.8);
  margin-top: 1.1rem;
  opacity: 0;
  transition: opacity 2s ease 0.8s;
}

#anio.visible { opacity: 1; }

/* Insets compartidos: banner de cookies alineado al bloque #centro */
body.home {
  --home-banner-inset-left: 2rem;
  --home-banner-inset-right: 2rem;
  --home-banner-inset-bottom: 20px;
}

@media (min-width: 768px) {
  body.home {
    --home-banner-inset-left: 10vw;
    --home-banner-inset-right: 25vw;
  }
}

/* ── Borde perimetral ── */
body.home::after {
  content: '';
  position: fixed;
  inset: 0;
  border: none; /* 0px solid rgba(255,255,255,1); colocar un borde al escenario */
  pointer-events: none;
  z-index: 9998;
}

/* ── Mobile ── */
@media (max-width: 767px) {
  #centro {
    width: 100%;
    padding-left: 2rem;
    padding-right: 2rem;
    align-items: center;
    text-align: center;
  }
}
