/* Animaciones visibles — identidad navy intacta */
@keyframes flow-rise {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes flow-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes flow-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(33, 47, 79, 0.25); }
    50% { transform: scale(1.03); box-shadow: 0 0 0 8px rgba(33, 47, 79, 0); }
}

@keyframes flow-chip {
    0%, 70%, 100% { transform: translateY(0); background: #fff; }
    12% { transform: translateY(-4px); background: #e8eefc; }
}

@keyframes flow-cta {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

@keyframes flow-badge {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.55; }
}

@keyframes flow-pop {
    0% { transform: scale(0.86); }
    60% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

@keyframes flow-slide-up {
    from { opacity: 0; transform: translate(-50%, 16px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes flow-wave {
    0% { transform: scale(0.4); opacity: 0.55; }
    100% { transform: scale(2.4); opacity: 0; }
}

@keyframes flow-card-in {
    from { opacity: 0; transform: translateY(18px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes flow-glow {
    0% { box-shadow: 0 0 0 0 rgba(47, 91, 211, 0.45); }
    100% { box-shadow: 0 0 0 16px rgba(47, 91, 211, 0); }
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
}

.reveal.is-in {
    animation: flow-rise 0.7s ease both;
}

.hero-copy {
    animation: flow-rise 0.8s ease both;
}

.stage {
    animation: flow-rise 0.9s 0.15s ease both;
}

.phone {
    animation: flow-float 4.2s ease-in-out infinite;
}

.phone-cta {
    animation: flow-pulse 2.2s ease-in-out infinite;
}

.flow-chip {
    animation: flow-chip 4.8s ease-in-out infinite;
}

.flow-chip:nth-child(1) { animation-delay: 0s; }
.flow-chip:nth-child(2) { animation-delay: 0.35s; }
.flow-chip:nth-child(3) { animation-delay: 0.7s; }
.flow-chip:nth-child(4) { animation-delay: 1.05s; }
.flow-chip:nth-child(5) { animation-delay: 1.4s; }
.flow-chip:nth-child(6) { animation-delay: 1.75s; }

.hero .btn-primary {
    animation: flow-cta 2.4s ease-in-out 1.2s infinite;
}

.order-mini .badge-warn {
    animation: flow-badge 1.6s ease-in-out infinite;
}

.send-fx {
    position: fixed;
    inset: 0;
    background: rgba(22, 30, 53, 0.42);
    display: none;
    place-items: center;
    z-index: 50;
}

.send-fx.is-on {
    display: grid;
}

.send-fx-card {
    position: relative;
    background: #fff;
    color: var(--navy);
    border-radius: 22px;
    padding: 28px 32px;
    text-align: center;
    min-width: 220px;
    animation: flow-pop 0.45s ease;
    box-shadow: var(--shadow);
}

.send-fx-card strong {
    display: block;
    font-size: 20px;
}

.send-fx-card span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 14px;
}

.send-wave {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 90px;
    height: 90px;
    margin: -45px 0 0 -45px;
    border: 3px solid var(--navy);
    border-radius: 50%;
    animation: flow-wave 0.9s ease-out infinite;
    pointer-events: none;
}

.v-item.is-added {
    animation: flow-pop 0.35s ease;
}

.v-dock.is-bump .cart-btn {
    animation: flow-pop 0.35s ease;
}

.toast.is-on {
    display: block;
    animation: flow-slide-up 0.35s ease;
}

.order-card.is-new {
    animation: flow-card-in 0.5s ease, flow-glow 0.9s ease 2;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
