/* Modo Vuelo Motor Visual 1.6 — una línea temporal compartida para escenas.
   Exclusivamente DOM renderizado y perfil opt-in: no modifica Gutenberg. */
.mvx-scope.mvx-film-live {
  --mvx-film-active:1;--mvx-film-bg:#090f1d;--mvx-film-text:#f7f9ff;
  --mvx-film-accent:#a1c4e6;
  background:var(--mvx-film-bg)!important;overflow:visible!important;
  width:100%!important;max-width:none!important;
}
body:has(.mvx-film-live) .ast-container:has(.mvx-film-live),
body:has(.mvx-film-live) .entry-content:has(.mvx-film-live),
body:has(.mvx-film-live) .site-content:has(.mvx-film-live) {overflow:visible!important;}
body:has(.mvx-film-live) .entry-header:has(.entry-title) {display:none!important;}
.mvx-scope.mvx-film-live > .mvx-film-hero.mvx-section {
  position:relative!important;top:auto!important;z-index:2!important;
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.13fr)!important;
  background:radial-gradient(ellipse at 88% 4%,#2d4561,transparent 59%),var(--mvx-film-bg)!important;
  min-height:100svh!important;width:100vw!important;max-width:none!important;
  overflow:clip!important;margin-left:calc(50% - 50vw)!important;
  padding:clamp(70px,8vw,130px) clamp(28px,6vw,115px)!important;
}
.mvx-scope.mvx-film-live > .mvx-film-hero > figure.wp-block-image {
  grid-column:2!important;grid-row:1/6!important;height:72svh!important;
  max-height:810px;width:100%;overflow:hidden!important;
  border-radius:clamp(24px,3vw,40px)!important;
}
.mvx-scope.mvx-film-live > .mvx-film-hero > h2 {
  max-width:12ch;font-size:clamp(3.2rem,6.7vw,7.4rem)!important;z-index:2;
}
/* Área de desplazamiento: los grupos guardados actúan exclusivamente como
   marcadores temporales. Su contenido se representa en un escenario único. */
.mvx-scope.mvx-film-live .mvx-film-region {
  position:relative!important;isolation:isolate;width:100vw!important;max-width:none!important;
  margin-left:calc(50% - 50vw)!important;background:var(--mvx-film-bg)!important;
}
.mvx-scope.mvx-film-live .mvx-film-region > .mvx-film-source.mvx-section {
  position:relative!important;top:auto!important;display:block!important;
  visibility:hidden!important;inset:auto!important;z-index:0!important;
  width:100%!important;max-width:none!important;min-height:100svh!important;
  height:100svh!important;margin:0!important;padding:0!important;
  border:0!important;box-shadow:none!important;background:transparent!important;
  overflow:hidden!important;pointer-events:none!important;
}
.mvx-scope.mvx-film-live .mvx-film-region > .mvx-film-source * {visibility:hidden!important;}
.mvx-film-stage {
  position:sticky!important;top:0!important;height:100svh!important;width:100%;
  margin-bottom:-100svh!important;z-index:10!important;
  pointer-events:none;overflow:hidden!important;background:var(--mvx-film-bg);
  isolation:isolate;
}
.mvx-film-copy-stage {position:absolute;inset:0;z-index:2;pointer-events:none;}
.mvx-film-copy {
  position:absolute;top:50%;left:clamp(28px,5.2vw,115px);
  translate:0 -50%;width:min(59vw,930px);max-width:none;
  opacity:0;visibility:hidden;color:var(--mvx-film-text);
  text-align:left;will-change:opacity,transform;
  font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif;
  pointer-events:none;
}
.mvx-film-copy[aria-hidden="false"] {pointer-events:auto;}
.mvx-film-copy > h1,.mvx-film-copy > h2,.mvx-film-copy > h3 {
  position:relative;z-index:2;margin:0 0 clamp(20px,3vh,32px)!important;
  padding:0!important;max-width:11ch!important;width:100%!important;
  font-family:inherit;font-weight:440;font-size:clamp(3.3rem,6.7vw,7.6rem)!important;
  line-height:1.015!important;letter-spacing:-.055em!important;
  color:var(--mvx-film-text)!important;text-wrap:balance;
}
.mvx-film-letters {display:inline;perspective:700px;}
.mvx-film-word {display:inline-block;white-space:nowrap;}
.mvx-film-letter {display:inline-block;white-space:pre;will-change:transform,opacity;}
.mvx-film-space {display:inline;white-space:pre;}
.mvx-film-copy > p,.mvx-film-copy > .wp-block-buttons {
  display:block;position:relative;z-index:2;max-width:41ch!important;
  width:min(88%,520px)!important;margin:0 0 18px!important;
  color:#e5edf7!important;font-size:clamp(.98rem,1.2vw,1.15rem)!important;
  line-height:1.55!important;letter-spacing:0!important;
}
.mvx-film-copy > p:first-of-type {font-size:.78rem!important;letter-spacing:.15em!important;text-transform:uppercase;color:var(--mvx-film-accent)!important;}
.mvx-film-copy > .wp-block-buttons {display:flex!important;justify-content:flex-start;margin-top:24px!important;}
.mvx-film-copy .wp-block-button__link {
  display:inline-flex;align-items:center;border:1px solid rgba(197,225,255,.65)!important;
  border-radius:100px!important;color:#fff!important;
  background:rgba(28,75,119,.65)!important;text-decoration:none!important;
  font-size:.78rem!important;font-weight:600;letter-spacing:.04em;padding:13px 23px!important;
  pointer-events:auto;
}
.mvx-film-copy .wp-block-button__link:focus-visible {outline:2px solid white;outline-offset:3px;}
.mvx-film-frame {
  position:absolute;z-index:5;right:clamp(25px,5vw,110px);top:10svh;
  width:clamp(360px,46vw,850px);height:75svh;
  overflow:hidden;border-radius:clamp(26px,3.8vw,50px);
  background:#26374a;isolation:isolate;pointer-events:none;
  box-shadow:0 32px 94px rgba(0,0,0,.44);
}
.mvx-film-image-layer {position:absolute;inset:-1px;z-index:2;overflow:hidden;will-change:transform;backface-visibility:hidden;}
.mvx-film-image-layer img {display:block!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;will-change:transform;}
.mvx-film-frame-sheen {position:absolute;inset:0;z-index:6;pointer-events:none;background:linear-gradient(130deg,rgba(255,255,255,.13),transparent 30%,transparent 77%,rgba(1,9,21,.2));box-shadow:inset 0 0 0 1px rgba(255,255,255,.17);}
.mvx-film-copy-final {left:12%;width:76%;text-align:center;}
.mvx-film-copy-final > h1,.mvx-film-copy-final > h2,.mvx-film-copy-final > h3 {max-width:19ch!important;margin-inline:auto!important;}
.mvx-film-copy-final > p,.mvx-film-copy-final > .wp-block-buttons {margin-inline:auto!important;text-align:center;justify-content:center!important;}
@media(max-width:900px){
  .mvx-scope.mvx-film-live > .mvx-film-hero.mvx-section {display:flex!important;flex-direction:column;gap:18px;min-height:96svh!important;justify-content:center;align-items:stretch;padding:70px 22px 36px!important;}
  .mvx-scope.mvx-film-live > .mvx-film-hero > figure.wp-block-image {height:44svh!important;max-height:none;order:-1;width:100%;grid-row:auto!important;}
  .mvx-scope.mvx-film-live > .mvx-film-hero > h2 {font-size:clamp(2.6rem,10vw,5rem)!important;max-width:15ch!important;}
  .mvx-film-frame {top:5.5svh;left:5vw;right:5vw;width:90vw;height:43svh;border-radius:26px;}
  .mvx-film-copy {top:53svh;translate:0 0;left:6vw;width:88vw;max-width:none;}
  .mvx-film-copy > h1,.mvx-film-copy > h2,.mvx-film-copy > h3 {font-size:clamp(2.25rem,8.6vw,4.4rem)!important;max-width:19ch!important;margin-bottom:12px!important;}
  .mvx-film-word {white-space:normal;}
  .mvx-film-copy > p,.mvx-film-copy > .wp-block-buttons {font-size:.95rem!important;max-width:46ch!important;width:100%!important;margin-bottom:9px!important;}
  .mvx-film-copy > p:first-of-type {font-size:.72rem!important;}
  .mvx-film-copy > .wp-block-buttons {margin-top:14px!important;}
  .mvx-film-copy-final {top:29svh;left:5vw;width:90vw;}
}
@media(max-height:630px) and (min-width:901px){
  .mvx-film-copy > h1,.mvx-film-copy > h2,.mvx-film-copy > h3 {font-size:clamp(2.7rem,5.4vw,5.5rem)!important;}
  .mvx-film-frame {height:72svh;top:10svh;}
}
@media(prefers-reduced-motion:reduce){
  .mvx-film-letter,.mvx-film-image-layer {transform:none!important;opacity:1!important;}
}

/* v1.7.0: marco EN EL CENTRO VERTICAL. Fotografía encima del texto;
   las copias recorren la pantalla entera y atraviesan el marco.
   El CSS no reescribe ni altera ningún bloque de Gutenberg. */
.mvx-scope.mvx-film-live .mvx-film-frame {
  top:25svh!important;left:50%!important;right:auto!important;
  translate:-50% 0!important;width:min(84vw,1180px)!important;
  height:49svh!important;border-radius:clamp(24px,3.2vw,48px)!important;
  z-index:5!important;
}
.mvx-scope.mvx-film-live .mvx-film-copy-stage {
  z-index:2!important;overflow:visible!important;
}
.mvx-scope.mvx-film-live .mvx-film-copy {
  top:0!important;left:50%!important;right:auto!important;
  translate:-50% 0!important;width:min(86vw,1040px)!important;
  max-width:none!important;text-align:center!important;
  /* La posición vertical SIEMPRE la determina JS desde scroll; no usar translate:Y CSS. */
}
.mvx-scope.mvx-film-live .mvx-film-copy > h1,
.mvx-scope.mvx-film-live .mvx-film-copy > h2,
.mvx-scope.mvx-film-live .mvx-film-copy > h3 {
  max-width:21ch!important;margin:0 auto clamp(10px,1.6vh,18px)!important;
  font-size:clamp(2.65rem,4.7vw,5.3rem)!important;line-height:1.05!important;
  text-align:center!important;letter-spacing:-.045em!important;
}
.mvx-scope.mvx-film-live .mvx-film-copy > p,
.mvx-scope.mvx-film-live .mvx-film-copy > .wp-block-buttons {
  max-width:62ch!important;width:min(88%,730px)!important;
  margin:0 auto 11px!important;text-align:center!important;
}
.mvx-scope.mvx-film-live .mvx-film-copy > .wp-block-buttons {
  justify-content:center!important;margin-top:13px!important;
}
.mvx-scope.mvx-film-live .mvx-film-copy-final {
  top:29svh!important;left:50%!important;translate:-50% 0!important;
  width:min(90vw,990px)!important;transform:none;
}
@media(max-width:900px){
  .mvx-scope.mvx-film-live .mvx-film-frame {
    top:28svh!important;left:50%!important;right:auto!important;
    translate:-50% 0!important;width:91vw!important;height:43svh!important;
    border-radius:clamp(20px,5vw,30px)!important;
  }
  .mvx-scope.mvx-film-live .mvx-film-copy {
    top:0!important;left:50%!important;translate:-50% 0!important;
    width:90vw!important;max-width:none!important;
  }
  .mvx-scope.mvx-film-live .mvx-film-copy > h1,
  .mvx-scope.mvx-film-live .mvx-film-copy > h2,
  .mvx-scope.mvx-film-live .mvx-film-copy > h3 {
    max-width:23ch!important;font-size:clamp(1.65rem,7.4vw,3.4rem)!important;
    margin:0 auto 10px!important;line-height:1.09!important;
  }
  .mvx-scope.mvx-film-live .mvx-film-copy > p,
  .mvx-scope.mvx-film-live .mvx-film-copy > .wp-block-buttons {
    width:100%!important;max-width:51ch!important;margin:0 auto 8px!important;
  }
  .mvx-scope.mvx-film-live .mvx-film-copy-final {top:33svh!important;}
}
@media(max-height:680px) and (min-width:901px){
  .mvx-scope.mvx-film-live .mvx-film-frame {top:27svh!important;height:44svh!important;}
  .mvx-scope.mvx-film-live .mvx-film-copy > h2 {font-size:clamp(2.25rem,4vw,4.4rem)!important;}
}
@media(prefers-reduced-motion:reduce){
  .mvx-scope.mvx-film-live .mvx-film-copy,
  .mvx-scope.mvx-film-live .mvx-film-image-layer {transform:none!important;}
}

/* v1.8.0 — calibración responsiva de encuadre y exposición.
   El mismo mecanismo funciona sin reescribir Gutenberg. */
.mvx-scope.mvx-film-live {--mvx-film-scene-height:128svh;}
.mvx-scope.mvx-film-live .mvx-film-region > .mvx-film-source.mvx-section {
  height:var(--mvx-film-scene-height)!important;
  min-height:var(--mvx-film-scene-height)!important;
}
.mvx-scope.mvx-film-live .mvx-film-frame {
  top:29svh!important;height:42svh!important;
  width:min(78vw,1100px)!important;
  border-radius:clamp(22px,3vw,40px)!important;
}
.mvx-scope.mvx-film-live .mvx-film-copy {
  width:min(84vw,980px)!important;
}
.mvx-scope.mvx-film-live .mvx-film-copy > h1,
.mvx-scope.mvx-film-live .mvx-film-copy > h2,
.mvx-scope.mvx-film-live .mvx-film-copy > h3 {
  font-size:clamp(2.15rem,4.05vw,4.9rem)!important;
  line-height:1.07!important;max-width:23ch!important;
  margin:0 auto clamp(7px,1.1vh,13px)!important;
}
.mvx-scope.mvx-film-live .mvx-film-copy > p {
  font-size:clamp(.92rem,1.04vw,1.04rem)!important;
  line-height:1.38!important;margin-bottom:7px!important;
}
.mvx-scope.mvx-film-live .mvx-film-copy > p:first-of-type {
  font-size:clamp(.68rem,.82vw,.79rem)!important;line-height:1.25!important;
}
.mvx-scope.mvx-film-live .mvx-film-copy > .wp-block-buttons {margin-top:9px!important;}
@media (min-width:901px) and (max-width:1199px){
  .mvx-scope.mvx-film-live {--mvx-film-scene-height:138svh;}
  .mvx-scope.mvx-film-live .mvx-film-frame {top:29svh!important;height:41svh!important;width:82vw!important;}
  .mvx-scope.mvx-film-live .mvx-film-copy > h2 {font-size:clamp(2.1rem,4.5vw,3.6rem)!important;}
}
/* Tablet vertical: reservar espacio visible por encima y debajo de la foto. */
@media (min-width:601px) and (max-width:900px){
  .mvx-scope.mvx-film-live {--mvx-film-scene-height:138svh;}
  .mvx-scope.mvx-film-live .mvx-film-frame {
    top:30svh!important;height:39svh!important;width:85vw!important;
  }
  .mvx-scope.mvx-film-live .mvx-film-copy {width:88vw!important;}
  .mvx-scope.mvx-film-live .mvx-film-copy > h2 {font-size:clamp(2.0rem,5.1vw,3.2rem)!important;}
}
/* Móvil: marco más contenido, textos legibles y tiempo de lectura ampliado. */
@media (max-width:600px){
  .mvx-scope.mvx-film-live {--mvx-film-scene-height:150svh;}
  .mvx-scope.mvx-film-live .mvx-film-frame {
    top:30svh!important;height:37svh!important;width:91vw!important;
    border-radius:clamp(18px,5.5vw,28px)!important;
  }
  .mvx-scope.mvx-film-live .mvx-film-copy {width:91vw!important;}
  .mvx-scope.mvx-film-live .mvx-film-copy > h1,
  .mvx-scope.mvx-film-live .mvx-film-copy > h2,
  .mvx-scope.mvx-film-live .mvx-film-copy > h3 {
    font-size:clamp(1.5rem,6.7vw,2.5rem)!important;
    line-height:1.07!important;max-width:25ch!important;
    margin-bottom:7px!important;
  }
  .mvx-scope.mvx-film-live .mvx-film-copy > p {font-size:.88rem!important;line-height:1.28!important;margin-bottom:5px!important;}
  .mvx-scope.mvx-film-live .mvx-film-copy > p:first-of-type {font-size:.67rem!important;line-height:1.2!important;}
  .mvx-scope.mvx-film-live .mvx-film-copy .wp-block-button__link {font-size:.70rem!important;padding:8px 16px!important;}
  .mvx-scope.mvx-film-live .mvx-film-copy > .wp-block-buttons {margin-top:5px!important;}
}
@media (max-width:600px) and (max-height:700px){
  .mvx-scope.mvx-film-live {--mvx-film-scene-height:170svh;}
  .mvx-scope.mvx-film-live .mvx-film-frame {top:31svh!important;height:34svh!important;}
  .mvx-scope.mvx-film-live .mvx-film-copy > h2 {font-size:clamp(1.35rem,6.1vw,2rem)!important;}
  .mvx-scope.mvx-film-live .mvx-film-copy > p {font-size:.78rem!important;}
  .mvx-scope.mvx-film-live .mvx-film-copy > p:first-of-type {font-size:.62rem!important;}
}
/* En tamaño reducido, los bloques originales siguen accesibles y visibles. */
@media(prefers-reduced-motion:reduce){
  .mvx-scope .mvx-film-source.mvx-section {visibility:visible;}
}
