/* Page-load and utility animation styles */
.hero [data-animate],
.page-hero [data-animate] {
  opacity: 0;
  transform: translateY(28px);
  animation: fade-up 0.8s var(--easing-luxury) forwards;
}

.nav {
  animation: fade-in 0.6s ease-out both;
}

.hero__scroll,
.whatsapp-float::after {
  animation: gentle-bounce 2.4s ease-in-out infinite;
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  animation: whatsapp-pulse 4s ease-out infinite;
}

[data-delay="0.2"] {
  animation-delay: 0.2s;
}

[data-delay="0.3"] {
  animation-delay: 0.3s;
}

[data-delay="0.5"] {
  animation-delay: 0.5s;
}

[data-delay="0.6"] {
  animation-delay: 0.6s;
}

[data-delay="0.8"] {
  animation-delay: 0.8s;
}

[data-delay="0.9"] {
  animation-delay: 0.9s;
}

[data-delay="1.1"] {
  animation-delay: 1.1s;
}

[data-delay="1.2"] {
  animation-delay: 1.2s;
}

[data-delay="1.8"] {
  animation-delay: 1.8s;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  to {
    opacity: 1;
  }
}

@keyframes gentle-bounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(6px);
  }
}

@keyframes whatsapp-pulse {
  0% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }

  70% {
    transform: scale(1.15);
    opacity: 0;
    box-shadow: 0 0 0 28px rgba(37, 211, 102, 0);
  }

  100% {
    transform: scale(1.15);
    opacity: 0;
    box-shadow: 0 0 0 28px rgba(37, 211, 102, 0);
  }
}
