/* V11.1 — Hero cinematográfico real a todo el ancho: vídeo 16:9 y texto superpuesto.
   Hoja cargada al final para prevalecer sobre las reglas legadas del hero. */
.hero.hero-cinema {
  position: relative;
  display: block;
  isolation: isolate;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: hidden;
  background: #032634;
}
.hero.hero-cinema .hero-art.hero-video-frame {
  position: absolute;
  inset: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 1;
  transform: none;
  animation: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  isolation: isolate;
  background: #032634 url('assets/hero-v11-poster.webp') center / cover no-repeat;
  z-index: 0;
}
.hero.hero-cinema .hero-art.hero-video-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 0;
  border-radius: 0;
  pointer-events: none;
  /* Escurecimiento local para proteger el texto sin tapar el resto del vídeo. */
  background: linear-gradient(90deg,
    rgba(2,30,42,.94) 0%,
    rgba(2,30,42,.86) 20%,
    rgba(2,30,42,.65) 39%,
    rgba(2,30,42,.27) 61%,
    rgba(2,30,42,.04) 84%),
    linear-gradient(0deg,rgba(2,30,42,.23),transparent 25%);
}
.hero.hero-cinema .hero-video-frame .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  transform: none;
  z-index: 0;
}
.hero.hero-cinema .hero-video:not(.hero-video-ready) { opacity: 0; }
.hero.hero-cinema .hero-video.hero-video-ready {opacity: 1;transition: opacity .5s ease;}
.hero.hero-cinema .hero-content {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: max(7%,calc((100vw - 1400px)/2 + 32px));
  width: min(800px,75%);
  margin: 0;
  padding: 0;
  transform: translateY(-35%);
  animation: none;
  order: initial;
}
.hero.hero-cinema h1 {
  font-size: clamp(64px, 6.6vw, 112px);
  line-height: .91;
  letter-spacing: -2px;
  margin: 0 0 34px;
  text-shadow: 0 2px 18px rgba(0,20,30,.22);
}
.hero.hero-cinema h1>span {white-space: nowrap;}
.hero.hero-cinema .hero-actions {margin-top: 0;gap: 28px;flex-wrap: wrap;}
.hero.hero-cinema .hero-bottom {
  position: absolute;
  z-index: 4;
  bottom: 25px;
  right: max(4%,calc((100vw - 1400px)/2 + 20px));
  left: auto;
  margin: 0;
  display: flex;
  justify-content: flex-end;
}
.hero.hero-cinema .vertical-label {display:none;}
.hero.hero-cinema .hero-light {display:none;}
@media (min-width: 1600px) {
  .hero.hero-cinema .hero-content {transform: translateY(-30%);}
}
@media (max-width: 1199px) {
  .hero.hero-cinema {min-height: 680px; aspect-ratio: auto;}
  .hero.hero-cinema .hero-content {left: 6%;top: 54%;width: 86%;transform: translateY(-35%);}
  .hero.hero-cinema h1 {font-size: clamp(66px,7.5vw,95px);}
}
@media (max-width: 700px) {
  .hero.hero-cinema {min-height: min(790px,100svh);height: max(680px,100svh);aspect-ratio: auto;padding: 0;}
  .hero.hero-cinema .hero-art.hero-video-frame {background-position: 58% center;}
  .hero.hero-cinema .hero-art.hero-video-frame::after {
    background: linear-gradient(0deg,rgba(2,30,42,.93) 0%,rgba(2,30,42,.84) 34%,rgba(2,30,42,.30) 70%,rgba(2,30,42,.14) 100%);
  }
  .hero.hero-cinema .hero-video-frame .hero-video {object-position: 58% center;}
  .hero.hero-cinema .hero-content {
    left: 0;top: auto;bottom: 94px;width: 100%;
    transform: none;
    padding: 0 23px;
  }
  .hero.hero-cinema h1 {font-size:clamp(50px,11.4vw,76px);line-height:.94;letter-spacing:-1.5px;margin-bottom:28px;}
  .hero.hero-cinema .hero-actions {gap:14px;flex-wrap:wrap;align-items:center;}
  .hero.hero-cinema .hero-actions .button {min-height:52px;}
  .hero.hero-cinema .hero-actions .text-link {max-width:145px;}
  .hero.hero-cinema .hero-bottom {bottom:24px;right:22px;}
}
@media (max-width: 380px) {
  .hero.hero-cinema .hero-content {padding: 0 17px;bottom:100px;}
  .hero.hero-cinema h1 {font-size:clamp(46px,11.6vw,58px);}
  .hero.hero-cinema .hero-actions {gap:10px;}
}
@media (prefers-reduced-motion:reduce) {
  .hero.hero-cinema .hero-video-frame .hero-video {display:none!important}
  .hero.hero-cinema .hero-art.hero-video-frame {background-image:url('assets/hero-v11-poster.webp')}
  .hero.hero-cinema h1>span {animation:none!important;opacity:1;transform:none;}
}
