.mobile-menu-toggle {
  display: none;
}

.mobile-menu {
  display: none;
}

@media (max-width: 1180px) {
  html,
  body {
    overflow-x: hidden;
  }

  header nav {
    width: 100%;
    justify-content: space-between !important;
    gap: 12px !important;
  }

  header nav > a:first-child {
    gap: 8px !important;
    min-width: 0;
    width: 135px !important;
    flex: 0 1 135px !important;
  }

  header nav > a:first-child img {
    width: 42px !important;
    height: 42px !important;
  }

  header nav > a:first-child > span {
    min-width: 0;
  }

  header nav > a:first-child > span > span:first-child {
    font-size: 18px !important;
  }

  header nav > a:first-child > span > span:last-child {
    font-size: 8px !important;
  }

  header nav > div:last-of-type {
    display: block !important;
    min-width: 0;
  }

  header nav > div:last-of-type .lk {
    padding: 10px 12px !important;
    font-size: 13px !important;
    white-space: nowrap;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    padding: 0;
    border: 1px solid #D5D8DD;
    border-radius: 9px;
    background: #fff;
    color: #14171C;
    cursor: pointer;
  }

  .mobile-menu-toggle:focus-visible,
  .mobile-menu a:focus-visible {
    outline: 3px solid rgba(75, 150, 210, .42);
    outline-offset: 3px;
  }

  .mobile-menu-toggle svg {
    width: 21px;
    height: 21px;
  }

  .mobile-menu-toggle .menu-close {
    display: none;
  }

  .mobile-menu-toggle[aria-expanded="true"] .menu-open {
    display: none;
  }

  .mobile-menu-toggle[aria-expanded="true"] .menu-close {
    display: block;
  }

  .mobile-menu.is-open,
  html.mobile-nav-open .mobile-menu {
    display: block;
    border-top: 1px solid #ECEDEF;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 16px 28px -24px rgba(20, 23, 28, .45);
  }

  .mobile-menu-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 12px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 22px 18px;
  }

  .mobile-menu a {
    display: block;
    padding: 12px 8px;
    color: #4A515C;
    font-size: 16px;
    font-weight: 600;
  }

  .mobile-menu .mobile-menu-phone {
    color: #4B96D2;
  }
}

@media (max-width: 480px) {
  .mobile-menu-inner {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu.is-open {
    scroll-behavior: auto;
  }
}
