@charset "utf-8";
/* ===========================
   HERO VIDEO (reutilizable)
   Desktop: 16:9
   Mobile:  9:16 (vertical)
   =========================== */

.w0-hero{ margin-top: 12px; }

.w0-hero-video{
  position: relative;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  background: #000;         /* negro real: “misterio” hasta que cargue */
  overflow: hidden;
  border-radius: 10px;
}

/* Desktop / general: 16:9 */
.w0-hero-video::before{
  content: "";
  display: block;
  padding-top: 56.25%;
}

.w0-hero-video iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;

  display: none;            /* el JS mostrará solo el activo */
  opacity: 0;               /* empieza invisible */
  transform: scale(1.03);   /* leve “zoom” para entrada suave */
  transition: opacity .8s ease, transform 1.2s ease;
  will-change: opacity, transform;
}

/* Cuando el vídeo está listo */
.w0-hero-video.is-ready iframe{
  opacity: 1;
  transform: scale(1);
}

/* Texto / frases */
.w0-hero-diff{
  padding: 18px 12px 0 12px;
  text-align: center;
}

#w0DiffText{
  margin-top: 10px;
  opacity: 1;
  transition: opacity .2s ease;
}

.w0-diff-counter{
  margin-top: 8px;
  font-size: 14px;
  opacity: .8;
}

/* MÓVIL: vertical 9:16 */
@media (max-width: 900px){
  .w0-hero-video{
    max-width: 520px;   /* “reel”, no 100% infinito */
    border-radius: 14px;
  }

  /* 9:16 => padding-top: 177.78% */
  .w0-hero-video::before{
    padding-top: 177.78%;
  }
}

/* Accesibilidad / reduce motion */
@media (prefers-reduced-motion: reduce){
  .w0-hero-video iframe{
    transition: none;
    transform: none;
  }
}



/* (ease más teatral + más distancia + más tiempo */
.w0-reveal{
  opacity: 0;
  transform: translateY(44px) scale(0.985);
  filter: blur(6px);
  transition:
    opacity 1.2s ease,
    transform 1.5s cubic-bezier(.16,1,.3,1),
    filter 1.3s ease;
  will-change: opacity, transform, filter;
}

.w0-reveal.is-visible{
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce){
  .w0-reveal{ opacity:1; transform:none; filter:none; transition:none; }
}
