.hero-poster-mobile {
  display: block;
  width: 100%;
  height: auto;
}

.hero-video-desktop,
.newHome__hero .transformacion-video.hero-video-desktop {
  display: none;
  width: 100%;
  height: auto;
}

@media (min-width: 768px) {
  .hero-poster-mobile {
    display: none;
  }

  .hero-video-desktop {
    display: block;
  }
}

.yt-facade {
  position: relative;
  display: block;
  cursor: pointer;
  overflow: hidden;
  background: #000;
}

.yt-facade img {
  display: block;
  width: 100%;
  height: auto;
}

.yt-facade__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 0, 0, 0.9);
  color: #fff;
  font-size: 22px;
  line-height: 48px;
  text-align: center;
  cursor: pointer;
}

.yt-facade__play:hover {
  background: #f00;
}

.video-portada iframe[data-src]:not([src]),
.video-portada:has(.yt-facade) iframe:not([src]) {
  display: none;
}

.video-portada.yt-loaded iframe {
  display: block;
}

.video-portada.yt-loaded .yt-facade,
.video-portada.yt-loaded > img:not(.yt-facade img) {
  display: none;
}

.video-deferred-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
}

.video-deferred-wrap video {
  display: block;
  width: 100%;
  max-width: 100%;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 20px;
  line-height: 56px;
  text-align: center;
  cursor: pointer;
}

.video-deferred-wrap.is-playing .video-play-btn {
  display: none;
}

.service-hero-video {
  width: 100%;
}
