/* Chiro.leadgenbud - Animations
   Calm, organic motion: gentle reveals, slow drifts, breathing orbs.
*/

@keyframes chiro-reveal-up {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes chiro-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes chiro-orb-drift {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(20px, -16px, 0) scale(1.04); }
}

@keyframes chiro-breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.015); }
}

@keyframes chiro-underline {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 700ms var(--ease, ease), transform 700ms var(--ease, ease);
    will-change: opacity, transform;
}
.reveal.is-in {
    opacity: 1;
    transform: translateY(0);
}

.hero-orb--a {
    animation: chiro-orb-drift 22s ease-in-out infinite;
}
.hero-orb--b {
    animation: chiro-orb-drift 28s ease-in-out -8s infinite reverse;
}

.hero-card-inner {
    animation: chiro-breathe 6s ease-in-out infinite;
}

/* Counter fade-in */
.hero-card-value,
.result-num {
    transition: color 600ms var(--ease, ease);
}

/* Smooth reduced-motion respect */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}
