.mobile-menu-toggle,
.mobile-nav-panel {
  display: none;
}

.mobile-menu-toggle {
  min-width: 70px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid #9fb0bf;
  border-radius: 7px;
  background: #fff;
  color: var(--deep);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.mobile-nav-panel[hidden] {
  display: none !important;
}

@media (max-width: 780px) {
  .site-head {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
  }

  .site-head .brand {
    min-width: 0;
    margin-right: auto;
  }

  .site-head .brand img {
    display: block;
    width: min(228px, calc(100vw - 118px));
    height: auto;
  }

  .site-head .desktop-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .mobile-nav-panel:not([hidden]) {
    display: block;
    flex: 0 0 100%;
    width: 100%;
  }

  .site-head .mobile-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    width: 100%;
    font-size: 13px;
  }

  .site-head .mobile-nav a,
  .site-head .mobile-nav a:nth-child(2) {
    min-width: 0;
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 9px 11px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fff;
  }

  .site-head .mobile-nav a:last-child {
    grid-column: 1 / -1;
    border-color: var(--blue);
    color: var(--blue);
  }
}
