/* =========================================
   KEYFRAMES
   ========================================= */

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: .35; }
}

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

@keyframes typing-bounce {
    0%, 80%, 100% { transform: translateY(0); opacity: .5; }
    40% { transform: translateY(-5px); opacity: 1; }
}

@keyframes wa-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
    70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

@keyframes shimmer {
    0% { background-position: -600px 0; }
    100% { background-position: 600px 0; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-32px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(32px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(.92); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(76,175,130,.2); }
    50%       { box-shadow: 0 0 40px rgba(76,175,130,.45); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* =========================================
   CLASES DE ANIMACIÓN
   ========================================= */

.fade-in-up   { animation: fadeInUp .6s ease-out both; }
.fade-in-down { animation: fadeInDown .6s ease-out both; }
.slide-left   { animation: slideInLeft .6s ease-out both; }
.slide-right  { animation: slideInRight .6s ease-out both; }
.zoom-in      { animation: zoomIn .5s ease-out both; }
.float-badge  { animation: float-anim 3s ease-in-out infinite; }

.shimmer-bg {
    background: linear-gradient(90deg,
        rgba(76,175,130,.04) 0%,
        rgba(76,175,130,.14) 50%,
        rgba(76,175,130,.04) 100%);
    background-size: 600px 100%;
    animation: shimmer 2.5s infinite linear;
}

.glow-loop { animation: glow-pulse 2.5s ease-in-out infinite; }
.spin-loop  { animation: spin 1s linear infinite; }

/* =========================================
   HOVER HELPERS
   ========================================= */

.hover-lift {
    transition: transform .25s cubic-bezier(.4,0,.2,1);
}
.hover-lift:hover { transform: translateY(-5px); }

/* =========================================
   REDUCED MOTION
   ========================================= */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    html { scroll-behavior: auto; }
}
