/* ============================================================
   MOVIMIENTO — AKDMY (aprobado por Jesús, 2026-11-16)
   Puntero de dos círculos · titulares palabra a palabra · subrayador ·
   inclinación de fotos y tarjetas · parallax · botones imán · barra de lectura.
   Todo se desactiva con «reducir movimiento»; los efectos de puntero no se aplican en táctil.
   ============================================================ */

/* Evita el parpadeo del titular antes de dividirlo en palabras (con salvaguarda si falla el JS) */
html.mv-pre h1,html.mv-pre h2{opacity:0;animation:mvfs .01s 1.6s forwards}
@keyframes mvfs{to{opacity:1}}

/* Titulares que entran palabra a palabra */
.mv-w{display:inline-block;overflow:hidden;vertical-align:top;padding-bottom:.14em;margin-bottom:-.14em}
.mv-wi{display:inline-block}
html.mv-words .mv-wi{transform:translateY(112%);transition:transform .75s cubic-bezier(.2,.75,.2,1) calc(var(--i)*70ms)}
html.mv-words .mv-in .mv-wi{transform:none}

/* Subrayador */
.mv-marca{border-radius:3px;padding:0 .08em}
html.mv-marca .mv-marca{background:linear-gradient(transparent 60%,rgba(246,177,52,.6) 60% 94%,transparent 94%) no-repeat 0 0/0 100%;transition:background-size .9s cubic-bezier(.3,.7,.2,1) .35s}
html.mv-marca .mv-marca.mv-in{background-size:100% 100%}

/* Inclinación y parallax */
[data-mv-tilt]{will-change:transform}
.mv-px{overflow:hidden}
html.mv-parallax .mv-px img{transform:translate3d(0,var(--py,0px),0) scale(1.12);will-change:transform}

/* Barra de lectura */
#mvProgress{position:fixed;top:0;left:0;right:0;height:4px;background:#EE8B3E;transform-origin:0 50%;transform:scaleX(0);z-index:9998;pointer-events:none}

/* Puntero: solo existe con ratón; en móvil y tableta táctil no se aplica ni se carga */
@media (hover:hover) and (pointer:fine){
html{--cur:#121A2A}
html.mv-cur-light{--cur:#fff}
.mv-cur-dot,.mv-cur-ring{position:fixed;left:0;top:0;pointer-events:none;z-index:10001;opacity:0;transition:opacity .25s ease;will-change:transform}
.mv-cur-dot i,.mv-cur-ring i{display:block;border-radius:50%;transition:transform .32s cubic-bezier(.2,.75,.2,1),background-color .25s ease,opacity .25s ease}
.mv-cur-dot i{width:8px;height:8px;margin:-4px 0 0 -4px;background:var(--cur)}
.mv-cur-ring i{width:40px;height:40px;margin:-20px 0 0 -20px;border:1.5px solid var(--cur)}
html.mv-cursor.mv-cur-on .mv-cur-dot,html.mv-cursor.mv-cur-on .mv-cur-ring{opacity:1}
html.mv-cursor.mv-cur-native .mv-cur-dot,html.mv-cursor.mv-cur-native .mv-cur-ring{opacity:0}
html.mv-cursor.mv-cur-link .mv-cur-ring i{transform:scale(1.7);background:rgba(238,139,62,.2)}
html.mv-cursor.mv-cur-link .mv-cur-dot i{transform:scale(.75)}
html.mv-cursor.mv-cur-down .mv-cur-ring i{transform:scale(.7)}
html.mv-cursor.mv-cur-link.mv-cur-down .mv-cur-ring i{transform:scale(1.35)}
html.mv-cursor.mv-cur-on,html.mv-cursor.mv-cur-on *{cursor:none!important}
html.mv-cursor.mv-cur-native,html.mv-cursor.mv-cur-native *{cursor:auto!important}
}

@media (forced-colors:active),print{.mv-cur-dot,.mv-cur-ring,#mvProgress{display:none!important}}
