.mobile-menu-toggle {
  display: none;
}

.topbar__inner {
  min-height: 96px;
  padding: 0.75rem 0;
}

.brand__logo {
  width: 210px;
  height: auto;
  max-height: 64px;
}

@media (max-width: 720px) {
  .topbar__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0.5rem 1rem;
    min-height: 68px;
    padding: 0.5rem 0;
  }

  .brand__logo {
    width: 132px;
    height: auto;
    max-height: 42px;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    width: 46px;
    height: 42px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 0;
    border: 1px solid rgba(60, 60, 60, 0.16);
    border-radius: 12px;
    background: #fff;
    color: #303030;
    cursor: pointer;
  }

  .mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.18s ease, opacity 0.18s ease;
  }

  .topbar--menu-open .mobile-menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .topbar--menu-open .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .topbar--menu-open .mobile-menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .topbar__nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    max-height: calc(100vh - 96px);
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    overflow-y: auto;
    padding: 0.5rem 0 0.85rem;
  }

  .topbar--menu-open .topbar__nav {
    display: flex;
  }

  .topbar__nav-link,
  .topbar__nav-button {
    width: 100%;
    min-height: 44px;
    justify-content: space-between;
    padding: 0.65rem 0.75rem;
    border-radius: 0.75rem;
  }

  .topbar__nav-link:hover,
  .topbar__nav-button:hover {
    background: rgba(60, 60, 60, 0.06);
  }

  .topbar__item {
    width: 100%;
  }

  .topbar__submenu {
    position: static;
    display: none;
    min-width: 100%;
    margin: 0 0 0.35rem;
    padding: 0.35rem 0.5rem 0.35rem 1rem;
    border: 0;
    border-left: 2px solid rgba(60, 60, 60, 0.12);
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .topbar__item[open] .topbar__submenu {
    display: grid;
    transform: none;
  }

  .topbar__submenu-link {
    min-height: 40px;
    padding: 0.55rem 0.65rem;
  }
}
