/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered reveals */
.services__grid .reveal:nth-child(1) { transition-delay: 0s; }
.services__grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.services__grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.services__grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.services__grid .reveal:nth-child(5) { transition-delay: 0.32s; }
.services__grid .reveal:nth-child(6) { transition-delay: 0.4s; }

/* Stagger cycles per row (3-col), so delay never accumulates past 0.2s */
.portfolio__grid .reveal:nth-child(3n+1) { transition-delay: 0s; }
.portfolio__grid .reveal:nth-child(3n+2) { transition-delay: 0.1s; }
.portfolio__grid .reveal:nth-child(3n+3) { transition-delay: 0.2s; }

.testimonials__grid .reveal:nth-child(1) { transition-delay: 0s; }
.testimonials__grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.testimonials__grid .reveal:nth-child(3) { transition-delay: 0.2s; }

.pricing__grid .reveal:nth-child(1) { transition-delay: 0s; }
.pricing__grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.pricing__grid .reveal:nth-child(3) { transition-delay: 0.2s; }

.about__stats .reveal:nth-child(1) { transition-delay: 0s; }
.about__stats .reveal:nth-child(2) { transition-delay: 0.1s; }
.about__stats .reveal:nth-child(3) { transition-delay: 0.2s; }

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

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