.hero {
  background: linear-gradient(160deg, var(--color-blue-400) 0%, var(--color-bg-light-alt) 25%, #ffffff 55%);
  padding-block: var(--space-8);
  position: relative;
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: center;
  text-align: center;
}
.hero__title-img { width: min(100%, 700px); aspect-ratio: 822 / 184; margin-inline: auto; }
.hero__date-img { width: min(60%, 280px); aspect-ratio: 7 / 1; margin: var(--space-2) auto 0; }
.hero__media { display: flex; justify-content: center; }

.hero__content {
  opacity: 0;
  transform: translateX(-30px);
  animation: hero-content-in 800ms ease-out forwards;
}
@keyframes hero-content-in {
  to { opacity: 1; transform: translateX(0); }
}

.hero__trophy-wrap {
  position: relative;
  display: inline-block;
  width: min(100%, 480px);
  opacity: 0;
  transform: translateY(25px) scale(0.92);
  animation:
    hero-trophy-in 1000ms ease-out 200ms forwards,
    hero-trophy-float 5.5s ease-in-out 1400ms infinite;
}
.hero__trophy-img { width: 100%; aspect-ratio: 693 / 778; display: block; }
@keyframes hero-trophy-in {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes hero-trophy-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.hero__trophy-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 42%,
    rgba(255, 255, 255, 0.85) 50%,
    transparent 58%
  );
  background-size: 300% 300%;
  background-repeat: no-repeat;
  mix-blend-mode: screen;
  -webkit-mask-image: url('../img/hero/premios.webp');
  mask-image: url('../img/hero/premios.webp');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  opacity: 0;
  animation: hero-trophy-shine 8s ease-in-out 2.5s infinite backwards;
}
@keyframes hero-trophy-shine {
  0% { background-position: -60% -60%; opacity: 0; }
  2% { opacity: 1; }
  13% { background-position: 160% 160%; opacity: 1; }
  16%, 100% { background-position: 160% 160%; opacity: 0; }
}

.hero-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding-block: var(--space-3);
}
.hero__scroll-cue { display: block; }
.hero__chevron {
  display: block;
  width: 20px;
  height: 20px;
  border-right: 3px solid var(--color-blue-600);
  border-bottom: 3px solid var(--color-blue-600);
  transform: rotate(45deg);
  animation: hero-bounce 1.6s ease-in-out infinite;
}
@keyframes hero-bounce {
  0%, 100% { transform: rotate(45deg) translate(0, 0); }
  50% { transform: rotate(45deg) translate(6px, 6px); }
}

@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: 1.1fr 1fr; text-align: left; }
  .hero__title-img, .hero__date-img { margin-inline: 0; }
  .hero__media { justify-content: flex-end; }
}
