nav .wrap { gap: 18px; }
nav .links, nav .nav-links { gap: 18px; }
nav .lang-switch {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  padding: 3px;
  border: 1px solid #ffffff30;
  border-radius: 9px;
}
nav .lang-switch a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 40px;
  min-height: 48px;
  padding: 5px 7px;
  border-radius: 6px;
  color: #c4d3df;
  font-size: .875rem;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
}
nav .lang-switch a:hover { background: #ffffff12; color: #fff; }
nav .lang-switch a[aria-current="page"] { background: #fff; color: #081829; }
nav .lang-switch a:focus-visible { outline: 3px solid #68c7f5; outline-offset: 2px; }
nav .language-flag {
  display: block;
  width: 20px;
  height: 14px;
  object-fit: cover;
  border: 1px solid #08182925;
  border-radius: 2px;
}
@media (max-width: 560px) {
  nav .wrap {
    height: auto;
    min-height: 0;
    flex-wrap: wrap;
    gap: 6px 12px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  nav .brand { order: 0; }
  nav .links, nav .nav-links { display: none; }
  nav .menu-toggle { order: 1; margin-left: auto; }
  nav .lang-switch {
    order: 2;
    flex-basis: 100%;
    justify-content: center;
    gap: 8px;
    margin-left: 0;
    padding: 0;
    border: 0;
  }
  nav .mobile-menu {
    max-height: calc(100vh - 190px);
    max-height: calc(100dvh - 190px);
  }
}
