
.mobile-menu {
  position: fixed;

  top: 60px;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: var(--z-menu);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  clip-path: inset(0 0 100% 0);
  transition:
    opacity 0.3s ease,
    visibility 0.4s ease,
    clip-path 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  clip-path: inset(0 0 0% 0);

  top: 0 !important;
}

/* Hide both generations of floating contact controls behind the mobile menu. */
body.is-mobile-menu-open .fab-container,
body.is-mobile-menu-open .fab-main {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.mobile-menu-inner {
  position: relative;
  width: 100%;
  height: 720px;
  min-height: 100%;
}

.mobile-menu-bg,
.mobile-menu-head {
  position: absolute;
  left: -32px;
  right: -32px;
  display: block;
}

.mobile-menu-bg {
  top: 60px;

  bottom: 0;
  background: var(--c-white);
}

.mobile-menu-head {
  top: 0;
  height: 137px;
  background: var(--c-accent);
}

.mobile-menu-logo {
  position: absolute;
  top: 80px;
  left: 50px;
  width: 76px;
  height: 43.66px;
}

.mobile-menu-logo img {
  width: 100%;
  height: 100%;
}

.mobile-menu-close {
  position: absolute;
  top: 79px;
  left: 866px;
  width: 45px;
  height: 45px;
}

.mobile-menu-close svg {
  width: 100%;
  height: 100%;
}

.mobile-menu-nav {
  position: absolute;
  top: 169px;
  left: 50px;
  display: flex;
  flex-direction: column;
  width: 340px;
}

.mobile-menu-link {
  font-size: 28px;
  font-weight: 500;
  line-height: 28px;
  color: var(--c-ink);
  transition: color 0.25s ease;
}

.mobile-menu-link:hover,
.mobile-menu-link.is-current {
  color: var(--c-accent);
}

.mobile-menu-line {
  display: block;
  height: 1px;
  margin: 13px 0 14px;

  background: var(--c-line);
}

.mobile-menu-banner {
  display: none;
}

.mobile-menu-footer {
  position: absolute;
  top: 634px;
  left: 50px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.mobile-menu-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--c-accent);
}

.icon-wa {
  width: 22px;
  height: 22px;
}

.icon-max {
  width: 32px;
  height: 32px;
}

.icon-tg {
  width: 23px;
  height: 19.5px;
}

.icon-tel {
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1);
}

.mobile-menu-callback {
  width: 116px;
  height: 56px;
  background: var(--c-white);
  font-size: 14px;
  line-height: 14px;
}

@media (max-width: 959px) {
  .mobile-menu-inner {
    height: 820px;
  }

  .mobile-menu-logo {
    left: 30px;
  }

  .mobile-menu-close {
    top: 80px;
    left: 565px;
  }

  .mobile-menu-nav {
    top: 179px;
    left: 30px;
  }

  .mobile-menu-footer {
    top: 586px;
    left: 30px;
  }

  .mobile-menu-callback {
    width: 170px;
    margin-top: 10px;
  }
}

@media (max-width: 639px) {
  .mobile-menu-inner {
    height: 658px;
  }

  .mobile-menu-bg,
  .mobile-menu-head {
    left: 0;
    right: 0;
  }

  .mobile-menu-bg {
    top: 0;
    bottom: 0;
  }

  .mobile-menu-head {

    top: 0;
    height: 70px;
  }

  .mobile-menu-logo {
    top: 18px;
    left: 20px;
    width: 62px;
    height: 35.61px;
  }

  .mobile-menu-close {
    top: 18px;
    left: 304px;
    width: 36px;
    height: 36px;
  }

  .mobile-menu-nav {
    top: 90px;
    left: 20px;
    width: 320px;
  }

  .mobile-menu-link {
    width: 281px;
    font-size: 22px;
    line-height: 25px;
  }

  .mobile-menu-banner {
    position: absolute;

    top: 405px;
    left: 14px;
    display: block;
    width: 330px;
    height: 109.33px;
  }

  .mobile-menu-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .mobile-menu-footer {

    top: 540px;
    left: 14px;
    gap: 9px;
  }

  .mobile-menu-social {
    width: 40px;
    height: 40px;
  }

  .icon-wa {
    width: 20px;
    height: 20px;
  }

  .icon-max {
    width: 27px;
    height: 27px;
  }

  .icon-tg {
    width: 21px;
    height: 17.8px;
  }

  .icon-tel {
    width: 19px;
    height: 19px;
  }

  .mobile-menu-callback {
    width: 131px;
    height: 42px;
    margin-top: 1px;
    margin-left: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu {
    transition: none;
  }
}
