/* ==========================================================================
   Animations — Elementor "fadeIn" entrance, hero word rotator, hover motion.
   Content is only hidden when JS is running (html.js), so it never stays
   invisible if scripts fail.
   ========================================================================== */
.js .reveal { opacity: 0; transition: opacity 1.25s ease, transform 1.25s ease; }
.js .reveal[data-reveal="up"] { transform: translateY(30px); }
.js .reveal.is-revealed { opacity: 1; transform: none; }

@keyframes word-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.home-hero__word.is-leaving { animation: word-out .6s ease both; }
@keyframes word-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

/* card / image lift used by Element Pack widgets */
.image-box__img { transition: transform .4s ease, box-shadow .4s ease; }
.image-box:hover .image-box__img { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(0,0,0,.35); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
