/* Video de portada */
.hero-with-video {
  background: #090a0b;
}
.hero-with-video::before,
.hero-with-video::after {
  display: none;
}
.hero-with-video .hero-copy {
  animation: none;
}
.hero-with-video .hero-film {
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
}
.hero-with-video .hero-film video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 63% center;
}
.hero-with-video .hero-film::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,6,7,.94) 0%, rgba(5,6,7,.78) 35%, rgba(5,6,7,.14) 72%, rgba(5,6,7,.06)),
    linear-gradient(0deg, rgba(5,6,7,.78) 0%, transparent 33%, transparent 72%, rgba(5,6,7,.34));
}
.hero-with-video .hero-film-toggle:not([hidden]) {
  display: grid;
}
.hero-with-video .hero-film-toggle {
  position: absolute;
  z-index: 4;
  right: max(94px, calc((100vw - var(--max)) / 2));
  bottom: 23px;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  color: var(--white);
  background: rgba(5,6,7,.8);
  border: 1px solid rgba(255,255,255,.46);
  cursor: pointer;
  touch-action: manipulation;
}
.hero-with-video .hero-film-toggle:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}
.hero-with-video .hero-film-toggle svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.hero-with-video .hero-film-pause,
.hero-with-video .is-playing .hero-film-play {
  display: none;
}
.hero-with-video .is-playing .hero-film-pause {
  display: block;
}
@media (max-width: 760px) {
  .hero-with-video {
    padding-top: clamp(178px, 49vw, 300px);
  }
  .hero-with-video .hero-film {
    bottom: auto;
    height: clamp(260px, 76vw, 440px);
  }
  .hero-with-video .hero-film::after {
    background: linear-gradient(0deg, #090a0b 2%, rgba(9,10,11,.75) 29%, rgba(9,10,11,.12) 75%, rgba(9,10,11,.35));
  }
  .hero-with-video .hero-film-toggle {
    bottom: 62px;
    right: 86px;
  }
}
