/* VibeCMD motion-plus (2026-11-21): sitewide energy layer for inner pages,
   in the homepage's language. Companion to assets/motion-plus.js.
   Hidden pre-motion states exist ONLY under html.mx-motion, which the JS
   adds after observers are armed; no-JS / reduced-motion / JS failure =
   everything simply visible. Transform/opacity only. */

/* ---- fallback section reveal (pages without reveal.js) ---- */
html.mx-motion .mx-reveal{opacity:0;transform:translateY(16px)}
html.mx-motion .mx-reveal.mx-in{opacity:1;transform:none;transition:opacity .7s ease,transform .7s cubic-bezier(.22,.61,.36,1)}

/* ---- staggered children (steps, processes, grids) ---- */
html.mx-motion .mx-kid{opacity:0;transform:translateY(14px)}
html.mx-motion .mx-kid.mx-in{opacity:1;transform:none;transition:opacity .6s ease,transform .6s cubic-bezier(.22,.61,.36,1)}

/* ---- service-area map: nodes sequence in, current city breathes ---- */
html.mx-motion .vc-area-map .vc-map-node{opacity:0;transform:scale(.5);transform-box:fill-box;transform-origin:center}
html.mx-motion .vc-area-map.mx-in .vc-map-node{opacity:1;transform:scale(1);transition:opacity .5s ease,transform .5s cubic-bezier(.34,1.56,.64,1)}
html.mx-motion .vc-area-map.mx-in .vc-map-node:nth-of-type(1){transition-delay:.05s}
html.mx-motion .vc-area-map.mx-in .vc-map-node:nth-of-type(2){transition-delay:.13s}
html.mx-motion .vc-area-map.mx-in .vc-map-node:nth-of-type(3){transition-delay:.21s}
html.mx-motion .vc-area-map.mx-in .vc-map-node:nth-of-type(4){transition-delay:.29s}
html.mx-motion .vc-area-map.mx-in .vc-map-node:nth-of-type(5){transition-delay:.37s}
html.mx-motion .vc-area-map.mx-in .vc-map-node:nth-of-type(6){transition-delay:.45s}
html.mx-motion .vc-area-map.mx-in .vc-map-node:nth-of-type(7){transition-delay:.53s}
html.mx-motion .vc-area-map.mx-in .vc-map-node:nth-of-type(8){transition-delay:.61s}
html.mx-motion .vc-area-map.mx-in .vc-map-node:nth-of-type(9){transition-delay:.69s}
html.mx-motion .vc-area-map.mx-in .vc-map-node:nth-of-type(10){transition-delay:.77s}
html.mx-motion .vc-area-map.mx-in .vc-map-node:nth-of-type(11){transition-delay:.85s}
html.mx-motion .vc-area-map.mx-in .vc-map-node:nth-of-type(12){transition-delay:.93s}
@keyframes mxNodePulse{0%,100%{opacity:1}50%{opacity:.55}}
html.mx-motion .vc-area-map.mx-in .vc-map-node.is-current{animation:mxNodePulse 2.6s ease-in-out 1.2s infinite}
html.mx-motion .vc-area-map.mx-in .vc-map-node.is-base{animation:mxNodePulse 3.4s ease-in-out 1.6s infinite}

/* ---- extra tilt targets (shadow vars consumed by the BOLD 3D rules) ---- */
.mx-tilt{transition:transform .35s ease}
.mx-tilt:hover{box-shadow:0 18px 34px -14px rgba(2,10,20,.45)}

/* ---- product screenshot rail: screens lift on hover ---- */
.vc-screens-rail .vc-screen{transition:transform .35s ease,box-shadow .35s ease}
.vc-screens-rail .vc-screen:hover{transform:translateY(-5px)}

@media (prefers-reduced-motion: reduce){
  html.mx-motion .mx-reveal,html.mx-motion .mx-kid,html.mx-motion .vc-area-map .vc-map-node{opacity:1;transform:none;transition:none;animation:none}
}
