@media (prefers-reduced-motion: no-preference) {
  .tfm-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 700ms cubic-bezier(.16, 1, .3, 1),
      transform 700ms cubic-bezier(.16, 1, .3, 1);
  }

  .tfm-reveal.tfm-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .tfm-hero-title {
    animation: tfmHeroRise 900ms cubic-bezier(.16, 1, .3, 1) both;
  }

  .tfm-hero-copy {
    animation: tfmFadeRise 850ms cubic-bezier(.16, 1, .3, 1) 180ms both;
  }

  .tfm-hero-actions {
    animation: tfmFadeRise 850ms cubic-bezier(.16, 1, .3, 1) 320ms both;
  }

  .tfm-scroll-line {
    animation: tfmPulseLine 2s ease-in-out infinite;
  }

  @keyframes tfmHeroRise {
    from {
      opacity: 0;
      transform: translateY(34px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes tfmFadeRise {
    from {
      opacity: 0;
      transform: translateY(22px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes tfmPulseLine {
    0%, 100% {
      transform: scaleY(.35);
    }
    50% {
      transform: scaleY(1);
    }
  }
}

@media (max-width: 767px) {
  body.tfm-menu-lock {
    overflow: hidden;
  }

  header .tfm-mobile-nav {
    display: none !important;
    background: white;
    border-bottom: 1px solid #E2E8F0;
    box-shadow: 0 18px 40px rgba(15, 27, 45, .13);
    position: fixed;
    top: 83px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  header .tfm-mobile-nav.tfm-open {
    display: block !important;
  }

  header .tfm-mobile-nav > .container-site {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 18px;
    padding-left: 22px;
    padding-right: 22px;
    padding-bottom: 34px;
    min-height: calc(100vh - 83px);
  }

  header .tfm-mobile-nav a {
    display: block;
    width: 100%;
    margin-left: 0 !important;
    padding: 15px 12px !important;
    border-top: 1px solid #EEF2F6;
    text-align: left;
    font-size: 18px !important;
    line-height: 1.25;
  }

  header .tfm-mobile-nav a.btn {
    box-sizing: border-box;
    width: 100%;
    margin-top: 12px;
    padding: 16px 18px !important;
    text-align: center;
    font-size: 17px !important;
  }

  header .tfm-mobile-nav a[href="/contact"] {
    margin-top: 46px !important;
  }

  header .tfm-mobile-nav a[href="/about"] {
    margin-bottom: 0 !important;
  }

  header .tfm-mobile-nav a[href="/contact"] + a.btn {
    margin-top: 18px !important;
  }

  header.tfm-menu-open button[aria-label="Toggle menu"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  header.tfm-menu-open button[aria-label="Toggle menu"] span:nth-child(2) {
    opacity: 0;
  }

  header.tfm-menu-open button[aria-label="Toggle menu"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  header button[aria-label="Toggle menu"] span {
    transition: transform 180ms ease, opacity 180ms ease;
  }
}

.tfm-flip-card {
  overflow: hidden;
}

.tfm-flip-card > div {
  transition: transform 650ms cubic-bezier(.16, 1, .3, 1);
}

.tfm-flip-card:hover > div,
.tfm-flip-card:focus-within > div,
.tfm-flip-card.tfm-flipped > div {
  transform: rotateY(180deg);
}

.tfm-flip-card [style*="rotateY(180deg)"] {
  box-shadow: 0 18px 45px rgba(15, 27, 45, .18);
}

.tfm-flip-card a {
  position: relative;
  z-index: 2;
}

.tfm-counter-pop {
  animation: tfmCounterPop 420ms cubic-bezier(.16, 1, .3, 1);
}

@keyframes tfmCounterPop {
  0% {
    transform: scale(.94);
  }
  70% {
    transform: scale(1.04);
  }
  100% {
    transform: scale(1);
  }
}
