.promo-banner {
  position: relative;
  --sticky-top: 0px;
  --promo-vh: 100vh;
  /* aggiornato via JS */
}

/* Contiene i pannelli in flow normale */
.promo-stage {
  position: relative;
}

/* Ogni pannello è una "slide" full viewport utile */
.story-step {
  position: relative;
  min-height: var(--promo-vh);
  width: 100%;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;

  color: var(--background-alt);
  overflow: hidden;
  background: #000;
}

.story-step::before,
.story-step::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.story-step::before {
  background-image: var(--promo-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.02);
  z-index: 0;
}

.story-step::after {
  background: rgba(0, 0, 0, 0.42);
  z-index: 1;
}

/* Testi sopra overlay */
.story-step h2,
.story-step p {
  position: relative;
  z-index: 3;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  padding-inline: 16px;
}

.story-step h2 {
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.1;
  margin-bottom: 1rem;
  font-weight: 700;
}

.story-step p {
  font-size: clamp(18px, 2vw, 24px);
  max-width: 600px;
  line-height: 1.5;
  opacity: 0.9;
}

/* Skip fisso in viewport, visibile solo dentro promo */
.promo-skip {
  position: fixed;
  right: 40px;
  bottom: 40px;
  z-index: 1000;

  background: transparent;
  border: 0;
  padding: 0;
  color: var(--background-alt);
  cursor: pointer;

  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5));
  animation: promoSkipFloat 2s ease-in-out infinite;

  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

.promo-banner.is-active .promo-skip {
  opacity: 1;
  pointer-events: auto;
}

.promo-skip:focus-visible {
  outline: 2px solid var(--background-alt);
  outline-offset: 6px;
  border-radius: 8px;
}

@keyframes promoSkipFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }
}

@media (max-width: 768px) {
  .promo-banner {
    display: none !important;
  }
}

/*
* SHOW
*/

.show-reveal {
  position: relative;
  --show-vh: 100vh;
  background: var(--background-alt);
  overflow: hidden;
}

.show-reveal__inner {
  position: relative;
  height: var(--show-vh);
  display: grid;
  place-items: center;
  /* centro verticale + orizzontale */
  isolation: isolate;
}

.show-reveal__img {
  width: min(42vw, 520px);
  max-width: 90vw;
  height: auto;
  object-fit: contain;
  z-index: 1;
  will-change: transform;
  transform-origin: center center;
  border-radius: var(--radius-lg);
}

.show-reveal__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px; /* un filo più spazio */
  padding: 0 16px;
  will-change: transform;
}

.show-reveal__title {
  margin: 0;
  color: var(--background-alt);
  text-align: center;
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0.04em;
  font-size: clamp(48px, 11vw, 140px);
  opacity: 0;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.show-reveal__cta {
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  will-change: transform, opacity;

  /* più grande del btn base */
  padding: 14px 32px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
  font-weight: bold;
}

@media (max-width: 768px) {
  .show-reveal {
    display: none !important;
  }
}
