/* ==========================================================================
   HYGI Air — Animations
   ========================================================================== */

/* ----- Reveal on scroll ----- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="100"] { transition-delay: 0.1s; }
.reveal[data-delay="200"] { transition-delay: 0.2s; }
.reveal[data-delay="300"] { transition-delay: 0.3s; }
.reveal[data-delay="400"] { transition-delay: 0.4s; }

/* ----- Hero entrance ----- */
.hero__content > * {
  opacity: 0;
  transform: translateY(20px);
  animation: heroIn .9s cubic-bezier(.2, .8, .2, 1) forwards;
}
.hero__content > *:nth-child(1) { animation-delay: 0.05s; }
.hero__content > *:nth-child(2) { animation-delay: 0.15s; }
.hero__content > *:nth-child(3) { animation-delay: 0.25s; }
.hero__content > *:nth-child(4) { animation-delay: 0.35s; }
.hero__content > *:nth-child(5) { animation-delay: 0.45s; }

.hero__visual {
  opacity: 0;
  transform: translateY(20px) scale(.98);
  animation: heroIn .9s cubic-bezier(.2, .8, .2, 1) .35s forwards;
}

@keyframes heroIn {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ----- Floating banner ----- */
.hero__banner {
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* ----- Glow pulse ----- */
.hero__glow {
  animation: glowPulse 6s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: .55; transform: scale(1); }
  50%      { opacity: .9; transform: scale(1.05); }
}
