.mobile-menu-link,
.desktop-menu-link {
  display: block;
  padding: var(--spacing-xs) var(--spacing-sm);
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  transition:
    letter-spacing 0.3s ease,
    font-weight 0.3s ease;
}

.mobile-menu-link:hover,
.desktop-menu-link:hover {
  color: var(--primary-color);
  text-decoration: none;
  letter-spacing: 0.02em;
  font-weight: 700;
}

.mobile-menu-link--active,
.desktop-menu-link--active {
  color: var(--primary-color);
  font-weight: 600;
}

.desktop-site-menu {
  display: flex;
  flex: 1;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 10px;
}

.desktop-site-menu .nav-logo {
  flex: none;
  display: block;
}

.desktop-site-menu .nav-logo img {
  max-width: 250px;
  display: block;
}

@media (max-width: 1279px) {
  .desktop-site-menu .nav-logo img {
    max-width: 180px;
  }
}

.desktop-site-menu .desktop-menu-list {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  margin: 0;
}

@media (min-width: 1280px) {
  .desktop-site-menu .desktop-menu-list {
    display: flex;
  }
}

.desktop-site-menu .nav-toggle {
  background-color: var(--primary-color);
  color: white;
  height: 52px;
  width: 52px;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
}

@media (min-width: 1280px) {
  .desktop-site-menu .nav-toggle {
    display: none;
  }
}

.mobile-site-menu {
  width: 100%;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition:
    max-height 0.2s ease,
    opacity 0.2s ease;
}

.mobile-site-menu * {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.mobile-site-menu.menu-open {
  max-height: 100vh;
  opacity: 1;
  transition:
    max-height 0.8s ease,
    opacity 0.6s ease;
}

.mobile-site-menu .mobile-menu-list {
  padding: 0;
  display: block;
}

.mobile-site-menu .mobile-menu-list .mobile-menu-link {
  background-color: var(--secondary-color);
  padding: 0.5rem 2rem;
  display: block;
  border-bottom: 2px solid var(--primary-color);
  color: inherit;
  text-decoration: none;
}

.mobile-site-menu .mobile-menu-list .mobile-menu-link:hover {
  text-decoration: none;
}