/* ============================================================
   AccountIf — animations.css
   ============================================================ */

/* ---- SCROLL REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children inside a grid */
.services-grid .reveal:nth-child(1) { transition-delay: 0s; }
.services-grid .reveal:nth-child(2) { transition-delay: .07s; }
.services-grid .reveal:nth-child(3) { transition-delay: .14s; }
.services-grid .reveal:nth-child(4) { transition-delay: .21s; }
.services-grid .reveal:nth-child(5) { transition-delay: .28s; }
.services-grid .reveal:nth-child(6) { transition-delay: .35s; }

.process-step.reveal:nth-child(1) { transition-delay: 0s; }
.process-step.reveal:nth-child(3) { transition-delay: .12s; }
.process-step.reveal:nth-child(5) { transition-delay: .24s; }
.process-step.reveal:nth-child(7) { transition-delay: .36s; }

.industries-grid .reveal { transition-delay: 0s; }

.testimonials-grid .reveal:nth-child(1) { transition-delay: 0s; }
.testimonials-grid .reveal:nth-child(2) { transition-delay: .1s; }
.testimonials-grid .reveal:nth-child(3) { transition-delay: .2s; }

.insights-grid .reveal:nth-child(1) { transition-delay: 0s; }
.insights-grid .reveal:nth-child(2) { transition-delay: .1s; }
.insights-grid .reveal:nth-child(3) { transition-delay: .2s; }

/* ---- HERO FADE UPS ---- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: hero-fade-up .8s ease forwards;
}
.fade-up--delay { animation-delay: .25s; }
@keyframes hero-fade-up {
  to { opacity: 1; transform: translateY(0); }
}

/* ---- REDUCED MOTION ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .fade-up { opacity: 1; transform: none; }
  .chart-line { stroke-dashoffset: 0; }
  .chart-fill { opacity: 1; }
  .vat-bar-fill { width: 100%; }
  .logo-track { animation: none; }
}
