:root {
  --fg: #ffffff;
  --side-bg: #fc5e03;
  --mobile-scale: 1.10;

  /* Este valor lo actualiza JS con el ancho REAL del arte en pantalla */
  --stage-w: 1400px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--side-bg);
  color: var(--fg);
}

body {
  min-height: 100dvh;
}

.page {
  width: 100%;
  height: 100dvh;
  overflow: hidden;
}

.hero {
  position: relative;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  isolation: isolate;
  background: var(--side-bg);
}

/* Escenario completo del arte, centrado */
.hero-stage {
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  transform: translateX(-50%);
  z-index: 0;
}

/* Imagen real */
.hero-media {
  display: block;
  height: 100%;
  pointer-events: none;
}

.hero-media img {
  display: block;
  height: 100%;
  width: auto;
  max-width: none;

  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}

.overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* Texto promocional pegado al arte */
.promo-copy {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  top: 1%;
  left: 53.8%;
  width: 72%;
  color: #fff;
}

.promo-row {
  margin: 0;
  font-family: "Anton", "Arial Narrow", "Arial Black", sans-serif;
  text-transform: uppercase;
  white-space: nowrap;
}

.promo-row-1 {
  font-size: clamp(22px, calc(var(--stage-w) * 0.036), 62px);
}

.promo-row-2 {
  margin-top: -0.5em;
  font-size: clamp(18px, calc(var(--stage-w) * 0.0255), 44px);
}

.promo-days {
  display: inline-block;
  margin: 0 0.05em;
  font-size: 1.42em;
  line-height: 0.85;
  color: #ffd84a;
  text-shadow:
    0 3px 0 rgba(138, 43, 0, 0.45),
    0 8px 18px rgba(0, 0, 0, 0.18);
  vertical-align: -0.0em;
}

.promo-date {
  color: #ffd84a;
  text-shadow:
    0 2px 0 rgb(138, 43, 0),
    0 8px 16px rgba(0, 0, 0, 0.11);
}

@media (max-width: 768px) {
  .hero {
    background: #201c1e;
  }

  .hero-stage {
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    transform: none;
    overflow: visible;
  }

  .hero-stage::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 22%;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(
      to bottom,
      rgba(32, 28, 30, 0) 0%,
      rgba(32, 28, 30, 0.18) 28%,
      rgba(32, 28, 30, 0.45) 55%,
      rgba(32, 28, 30, 0.78) 80%,
      #201c1e 100%
    );
  }

  .hero-media {
    position: relative;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
  }

  .hero-media img {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
    object-fit: contain;
    object-position: top center;
    transform: none;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .promo-copy {
    left: 54%;
    top: 3.6%;
    width: 38.5%;
    padding: 1.2vw 1.2vw 1vw;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    color: #fff;
    text-align: center;
    z-index: 4;
    container-type: inline-size;
    background: transparent;
    box-shadow: none;
  }

  .promo-row {
    margin: 0;
    text-align: center;
    font-family: "Anton", "Arial Narrow", "Arial Black", sans-serif;
    text-transform: uppercase;
    white-space: normal;
    line-height: 0.92;
  }

  .promo-row-1 {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: clamp(0px, 3cqw, 15px);
    width: 100%;
    font-size: 0;
    line-height: 1;
    white-space: nowrap;
  }

  .promo-row-1::before {
    content: "EN";
    display: inline-block;
    font-size: clamp(30px, 10cqw, 30px);
    line-height: 1;
    letter-spacing: 0.05em;
    color: #ffffff;
  }

  .promo-days {
    display: inline-block;
    margin: 0;
    font-size: clamp(22px, 22cqw, 46px);
    line-height: 0.88;
    color: #ffd84a;
    letter-spacing: 0.01em;
    text-shadow:
      0 2px 0 rgba(138, 43, 0, 0.55),
      0 6px 14px rgba(0, 0, 0, 0.24);
    vertical-align: -0.03em;
  }

  .promo-row-1::after {
    content: "DÍAS";
    display: inline-block;
    font-size: clamp(30px, 10cqw, 30px);
    line-height: 1;
    letter-spacing: 0.05em;
    color: #ffffff;
  }

  .promo-row-2 {
    display: none;
  }
}
