/* Splash de arranque. Estado final = lo que se ve siempre; con .go (primera vez o version nueva) se anima:
   los tres gajos se dibujan de a uno, despues el nombre y "DISTRIBUIDORA", y al final el creador. */
#bootSplash{position:fixed;inset:0;z-index:9999;display:flex;flex-direction:column;align-items:center;justify-content:space-between;background:var(--marca,#284393);color:#fff;transition:opacity .45s ease;padding:env(safe-area-inset-top,0) 0 calc(28px + env(safe-area-inset-bottom,0))}
#bootSplash.hide{opacity:0;pointer-events:none}
#bootSplash .sp-centro{flex:1;display:flex;align-items:center;justify-content:center;width:100%}
/* El logo completo (nombre + gajos) en una caja; los gajos ocupan su lugar de la derecha (viewBox 62 344 482 124). */
#bootSplash .sp-logo{position:relative;width:min(86vw,380px);aspect-ratio:482/124}
#bootSplash .sp-texto{position:absolute;inset:0;width:100%;height:100%}
#bootSplash .sp-iso{position:absolute;left:69.7%;top:.8%;width:30.3%;height:98.4%}
#bootSplash .sp-g{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
#bootSplash .bs-nombre{font-size:20px;font-weight:800;text-align:center;padding:0 24px}
#bootSplash .sp-pie{display:flex;flex-direction:column;align-items:center;gap:1px;opacity:.85;font-size:8px;letter-spacing:.05em;text-transform:lowercase}
#bootSplash .sp-pie img{height:15px;width:auto}
/* Animacion (solo con .go): los gajos nacen centrados y grandes, se dibujan de a uno y se deslizan a su lugar mientras aparece el nombre. */
#bootSplash.go .sp-iso{animation:sp-mover .9s cubic-bezier(.65,0,.25,1) 1.7s both}
#bootSplash.go .sp-g{clip-path:inset(0 100% 0 0);animation:sp-barre .7s cubic-bezier(.22,.8,.3,1) forwards}
#bootSplash.go .sp-g1{animation-delay:.2s}
#bootSplash.go .sp-g2{animation-delay:.6s}
#bootSplash.go .sp-g3{animation-delay:1s}
#bootSplash.go .sp-texto{clip-path:inset(0 100% 0 0);animation:sp-barre .9s ease 2s forwards}
#bootSplash.go .sp-pie{opacity:0;animation:sp-pie .5s ease .1s forwards}
@keyframes sp-barre{to{clip-path:inset(0 0 0 0)}}
@keyframes sp-mover{from{transform:translateX(-115%) scale(1.5)}to{transform:none}}
@keyframes sp-pie{to{opacity:.85}}
@media (prefers-reduced-motion:reduce){#bootSplash.go .sp-iso,#bootSplash.go .sp-g,#bootSplash.go .sp-texto,#bootSplash.go .sp-pie{animation:none;clip-path:none;opacity:1;transform:none}}
#arrMsg{position:fixed;left:16px;right:16px;bottom:24px;z-index:10000;color:#fff;text-align:center;font-size:14px}
#arrMsg button{margin-top:10px;padding:10px 18px;border-radius:12px;border:0;font-weight:700}
