/* ===================== LANG SWITCHER (кнопка как бургер) ===================== */
.lang-switcher { position: relative; }
.lang-btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  border-radius:8px;
  border:0;
  background:#0e3a28; /* тёмно-зелёный */
  cursor:pointer;
}
.lang-btn:hover { filter: brightness(1.08); }
.lang-switcher .flag {
  display: inline-block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  overflow: hidden;
}
.lang-switcher .flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}
.lang-switcher .flag .code {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
}

/* выпадающее меню */
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  padding: 6px;
  background: var(--color-bg,#0a0a0a);
  border: 1px solid var(--color-border,#333);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
  z-index: 3000; /* выше hero */
}
.lang-menu[hidden] { display: none; }
.lang-menu li { list-style: none; }
.lang-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--color-text,#fff);
}
.lang-menu a:hover { background: rgba(255,255,255,.06); }
.lang-menu .code-label { font-weight: 700; letter-spacing: .04em; }
.lang-menu .is-current a { opacity: .55; pointer-events: none; }