/* ============================================
   ANIMATIONS — Reveal & motion styles
   ============================================ */

/* Scroll-reveal base state */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal="left"] {
  transform: translateX(-30px);
}

[data-reveal="right"] {
  transform: translateX(30px);
}

[data-reveal="scale"] {
  transform: scale(0.95);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Stagger children */
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }
[data-reveal-delay="5"] { transition-delay: 0.5s; }


/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--orange);
  color: var(--white);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 900;
  box-shadow: var(--shadow-md);
  cursor: pointer;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--orange-dark);
  transform: translateY(-3px);
}


/* WhatsApp sticky button */
.whatsapp-btn {
  position: fixed;
  bottom: 90px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #25D366;
  color: var(--white);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s, transform 0.3s;
  z-index: 999;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.whatsapp-btn:hover {
  background-color: #1ebe57;
  transform: translateY(-3px);
}

/* Pulse animation for CTAs */
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232, 101, 10, 0.4); }
  50%      { box-shadow: 0 0 0 12px rgba(232, 101, 10, 0); }
}

.btn--pulse {
  animation: pulse 2s infinite;
}


/* Gradient text utility */
.gradient-text {
  background: linear-gradient(135deg, var(--orange) 0%, var(--amber) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
