/* ═══════════════════════════════
   ANIMATIONS
═══════════════════════════════ */

/* Base keyframes */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Scroll reveal */
/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

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

/* Stagger children inside a grid */
.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.40s; }

.pricing-grid .reveal:nth-child(2) { transition-delay: 0.07s; }
.pricing-grid .reveal:nth-child(3) { transition-delay: 0.14s; }
.pricing-grid .reveal:nth-child(4) { transition-delay: 0.21s; }
.pricing-grid .reveal:nth-child(5) { transition-delay: 0.28s; }
.pricing-grid .reveal:nth-child(6) { transition-delay: 0.35s; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.visible,
  .service-card,
  .pricing-card,
  .hero-title,
  .hero-subtitle,
  .hero-tagline,
  .btn-hero {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
