.fbmo-hero-video-wrap {
  width: min(100%, 752px);
  height: 100%;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(55, 149, 255, 0.34);
  border-radius: 18px;
  background: #020812;
  box-shadow: 0 34px 95px rgba(0, 116, 255, 0.26), 0 14px 42px rgba(0, 0, 0, 0.34);
}

.fbmo-hero-video-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 -40px 70px rgba(1, 6, 16, 0.26);
}

.fbmo-hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #020812;
}

.elementor-element-b626407.h-bg {
  width: min(100%, 980px) !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.elementor-element-b626407.h-bg .elementor-heading-title {
  font-size: clamp(30px, 5vw, 72px) !important;
  line-height: 1.14 !important;
  letter-spacing: 0 !important;
}

.fbmo-hero-title-line {
  display: block;
  white-space: nowrap;
}

.fbmo-hero-title-line--mobile {
  display: none;
}

@media (min-width: 768px) {
  .elementor-element-c1aada9 > .e-con-inner {
    padding-top: 104px !important;
  }

  .tp-inline {
    transform: translateY(-14px);
  }
}

.fbmo-autoplay-box {
  width: min(56%, 336px);
  height: min(53%, 224px);
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px 21px;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 6px;
  background: rgba(57, 116, 255, 0.75);
  color: #fff;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 17px 53px rgba(4, 18, 72, 0.42);
  transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
}

.fbmo-autoplay-box:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.95);
  outline-offset: 4px;
}

.fbmo-hero-video-wrap.fbmo-video-sound-on .fbmo-autoplay-box {
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -50%) scale(0.97);
  pointer-events: none;
}

.fbmo-autoplay-icon {
  width: min(29%, 93px);
  aspect-ratio: 1;
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
}

.fbmo-autoplay-pulse {
  width: min(26%, 87px);
  aspect-ratio: 1;
  position: absolute;
  left: 50%;
  top: 40%;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background: rgba(57, 116, 255, 0.75);
  box-shadow: 0 0 0 0 rgba(57, 116, 255, 0.62);
  animation: fbmo-autoplay-pulse 1.55s ease-out infinite;
}

.fbmo-autoplay-heading {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 3px;
  width: 100%;
  margin-top: 0;
  font-family: Arial, sans-serif;
  font-size: clamp(14px, 2.25vw, 20px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0;
}

.fbmo-autoplay-heading span {
  display: block;
}

.fbmo-autoplay-wave-1 {
  animation: fbmo-autoplay-wave 1.3s ease-in-out infinite;
}

.fbmo-autoplay-wave-2 {
  animation: fbmo-autoplay-wave 1.3s ease-in-out infinite 130ms;
}

@keyframes fbmo-autoplay-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(57, 116, 255, 0.7);
    opacity: 0.92;
  }
  100% {
    box-shadow: 0 0 0 32px rgba(57, 116, 255, 0);
    opacity: 0;
  }
}

@keyframes fbmo-autoplay-wave {
  0%, 100% {
    opacity: 0.58;
  }
  50% {
    opacity: 1;
  }
}

.elementor-element-790175d .elementor-widget-container {
  display: flex;
  justify-content: center;
  height: 100%;
}

.elementor-element-790175d {
  order: 5;
  width: min(100%, 752px) !important;
  max-width: 752px !important;
  aspect-ratio: 16 / 9;
  margin: 24px auto 0 !important;
}

.elementor-element-4af2ed9.b-button {
  order: 6;
  margin-top: 24px;
  transform: none;
}

@media (min-width: 768px) {
  .elementor-element-c1aada9 > .e-con-inner {
    padding-bottom: 48px !important;
  }

  .elementor-element-790175d {
    margin-top: 40px !important;
  }

  .elementor-element-4af2ed9.b-button {
    margin-top: -32px !important;
  }

  .fbmo-works-section {
    margin-top: 48px !important;
  }
}

@media (max-width: 767px) {
  .elementor-10 .elementor-element.elementor-element-c1aada9 {
    --padding-top: 92px !important;
  }

  .elementor-10 .elementor-element.elementor-element-c1aada9 > .e-con-inner {
    padding-top: 92px !important;
  }

  .elementor-10 .elementor-element.elementor-element-790175d,
  .elementor-element-790175d {
    --container-widget-width: 336px !important;
    width: min(100%, 336px) !important;
    max-width: 336px !important;
    margin-top: 10px !important;
  }

  .elementor-element-4af2ed9.b-button {
    margin-top: 0 !important;
  }

  .fbmo-works-section {
    margin-top: 32px !important;
  }

  .elementor-element-b626407.h-bg {
    width: 100% !important;
    padding-inline: 8px;
  }

  .elementor-element-b626407.h-bg .elementor-heading-title {
    font-size: clamp(31px, 8.2vw, 46px) !important;
    line-height: 1.08 !important;
  }

  .elementor-element-3bef6c6.m-para {
    margin-top: 8px !important;
  }

  .fbmo-hero-title-line--desktop {
    display: none;
  }

  .fbmo-hero-title-line--mobile {
    display: block;
  }

  .fbmo-hero-video-wrap {
    border-radius: 14px;
  }

  .fbmo-autoplay-box {
    width: min(62%, 233px);
    height: min(54%, 143px);
    gap: 4px;
    padding: 9px 10px;
    border-radius: 5px;
  }

  .fbmo-autoplay-icon {
    width: min(23%, 44px);
  }

  .fbmo-autoplay-pulse {
    width: min(22%, 42px);
    top: 39%;
  }

  .fbmo-autoplay-heading {
    font-size: clamp(10px, 3vw, 12px);
    line-height: 1.08;
  }
}


/* ===== 24-08-2026: boton propio de silencio, sustituye a los controles nativos del navegador ===== */
.fbmo-video-ctrl{
  position:absolute; z-index:4; right:14px; bottom:14px;
  width:40px; height:40px; display:grid; place-items:center;
  border-radius:999px; border:1px solid rgba(255,255,255,.22);
  background:rgba(2,8,18,.68); -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);
  color:#fff; cursor:pointer; padding:0;
  opacity:0; visibility:hidden; transform:translateY(4px);
  transition-property:opacity, visibility, transform, background-color, border-color;
  transition-duration:180ms; transition-timing-function:ease;
}
.fbmo-hero-video-wrap.fbmo-video-sound-on .fbmo-video-ctrl{
  opacity:1; visibility:visible; transform:translateY(0);
}
.fbmo-video-ctrl:hover, .fbmo-video-ctrl:focus-visible{
  background:rgba(57,116,255,.75); border-color:rgba(255,255,255,.55);
}
.fbmo-video-ctrl:focus-visible{ outline:2px solid rgba(255,255,255,.9); outline-offset:2px }
.fbmo-video-ctrl svg{ width:18px; height:18px }
.fbmo-video-ctrl .fbmo-video-ctrl-wave{ transition:opacity 140ms ease }
.fbmo-video-ctrl.is-muted .fbmo-video-ctrl-wave{ opacity:.28 }
@media (max-width:767px){
  .fbmo-video-ctrl{ width:34px; height:34px; right:10px; bottom:10px }
  .fbmo-video-ctrl svg{ width:16px; height:16px }
}
