.motion-enabled .motion-reveal {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition:
    opacity 460ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 460ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--motion-delay, 0ms);
  will-change: opacity, transform;
}

@media (prefers-reduced-motion: no-preference) {
  .jumbotron .jumbotron-heading,
  .jumbotron .lead,
  .jumbotron .services-intro-text,
  .hero .h-card h1,
  .hero .h-card .lead,
  .hero .h-card .offer-price,
  .hero .h-card .cta-row,
  .hero .side {
    animation: motion-hero-enter 680ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .jumbotron .lead,
  .hero .h-card .lead {
    animation-delay: 80ms;
  }

  .jumbotron .services-intro-text,
  .hero .h-card .offer-price {
    animation-delay: 150ms;
  }

  .hero .h-card .cta-row {
    animation-delay: 220ms;
  }

  .hero .side {
    animation-name: motion-hero-side-enter;
    animation-duration: 760ms;
    animation-delay: 120ms;
  }
}

@keyframes motion-hero-enter {
  from {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes motion-hero-side-enter {
  from {
    opacity: 0;
    transform: translate3d(0, 16px, 0) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.motion-enabled .motion-reveal.motion-soft {
  transform: translate3d(0, 8px, 0) scale(0.992);
  transition-duration: 540ms;
}

.motion-enabled .motion-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  will-change: auto;
}

.motion-enabled .motion-reveal.motion-settled {
  transition-delay: 0ms;
}

.motion-enabled .faq details[open] > p {
  animation: motion-faq-answer 240ms ease-out both;
}

@keyframes motion-faq-answer {
  from {
    opacity: 0;
    transform: translate3d(0, -5px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (hover: hover) and (pointer: fine) {
  .motion-enabled .problem-item,
  .motion-enabled .process-list > li {
    transition:
      opacity 460ms cubic-bezier(0.22, 1, 0.36, 1),
      transform 220ms ease,
      border-color 220ms ease,
      box-shadow 220ms ease;
  }

  .motion-enabled .problem-item.is-visible:hover,
  .motion-enabled .process-list > li.is-visible:hover {
    transform: translate3d(0, -3px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  .motion-reveal,
  .motion-reveal.is-visible,
  .faq details[open] > p {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}
