/* Animaciones del hero de portada (FraVEO → Aspecto del sitio → Animación). La del avión usa estilos.css + portada.js.
   Todas quedan quietas (estado final) si el visitante pide menos movimiento. */

/* Mapa de rutas: arcos punteados que se dibujan y destinos que se encienden */
.hero-anim--rutas .rutas-arcos path{stroke-dasharray:.012 .02;opacity:.9}
.hero-anim--rutas .pin .pin-halo{opacity:1;transform:scale(1)}
.hero-anim--rutas .pin .pin-label{opacity:1;transform:none}
@media (prefers-reduced-motion:no-preference){
	.hero-anim--rutas .rutas-arcos path{stroke-dasharray:1;stroke-dashoffset:1;animation:rutas-dibujo 12s ease-in-out infinite}
	.hero-anim--rutas .rutas-arcos path:nth-child(2){animation-delay:.8s}
	.hero-anim--rutas .rutas-arcos path:nth-child(3){animation-delay:1.6s}
	.hero-anim--rutas .rutas-arcos path:nth-child(4){animation-delay:2.4s}
	.hero-anim--rutas .pin .pin-halo,.hero-anim--rutas .pin .pin-label{opacity:0;animation:rutas-pin 12s ease-out infinite;animation-delay:calc(var(--i) * .8s + .6s)}
}
@keyframes rutas-dibujo{0%{stroke-dashoffset:1;opacity:.9}35%,80%{stroke-dashoffset:0;opacity:.9}95%,100%{stroke-dashoffset:0;opacity:0}}
@keyframes rutas-pin{0%{opacity:0;transform:scale(.6)}10%,78%{opacity:1;transform:none}92%,100%{opacity:0}}
.hero-anim--rutas .rutas-arcos{filter:drop-shadow(0 4px 6px #07003a40)}

/* Globos: suben despacio desde abajo de la foto */
.hero-anim--globos .globo{position:absolute;left:var(--x);bottom:-120px;width:calc(64px * var(--s));transform:translateY(calc(-60vh + 120px));opacity:.95}
.hero-anim--globos .globo svg{position:static;width:100%;height:auto;filter:drop-shadow(0 8px 10px #07003a40)}
.globo-tela{fill:var(--red)}
.globo-franja{fill:#fff;opacity:.85}
.globo-canasta{fill:#8a5a2b}
.globo-1 .globo-tela,.globo-4 .globo-tela{fill:var(--navy)}
.globo-1 .globo-franja,.globo-4 .globo-franja{fill:var(--red);opacity:.9}
.globo-2 .globo-tela{fill:#ffb703}
@media (prefers-reduced-motion:no-preference){
	.hero-anim--globos .globo{transform:none;animation:globo-sube var(--d) linear infinite;animation-delay:var(--t)}
	.hero-anim--globos .globo svg{animation:globo-vaiven 6s ease-in-out infinite alternate}
}
@keyframes globo-sube{0%{transform:translateY(0);opacity:0}6%{opacity:.95}85%{opacity:.95}100%{transform:translateY(-820px);opacity:0}}
@keyframes globo-vaiven{to{transform:translateX(26px) rotate(3deg)}}

/* Olas: tres capas que se mueven a distinta velocidad en la parte baja */
.hero-anim--olas .olas{top:auto;bottom:0;width:200%;height:210px}
.ola{fill:#fff}
.ola-1{opacity:.28}.ola-2{opacity:.45}.ola-3{fill:var(--papel,var(--fondo,#f6f6fd))}
@media (prefers-reduced-motion:no-preference){
	.hero-anim--olas .olas{animation:olas-mover 18s linear infinite}
	.hero-anim--olas .ola-1{animation:olas-subir 5s ease-in-out infinite alternate}
	.hero-anim--olas .ola-2{animation:olas-subir 7s ease-in-out infinite alternate-reverse}
}
@keyframes olas-mover{to{transform:translateX(-50%)}}
@keyframes olas-subir{to{transform:translateY(12px)}}

@media (max-width:720px){
	.hero-anim--globos .globo{width:calc(44px * var(--s))}
	.hero-anim--olas .olas{height:150px}
}
