.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lang-switch {
  position: fixed;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 40;
}

.lang-switch__select {
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.2;
  color: #121212;
  background-color: rgba(255, 255, 255, 0.92);
  background-image:
    linear-gradient(45deg, transparent 50%, #121212 50%),
    linear-gradient(135deg, #121212 50%, transparent 50%);
  background-position:
    calc(100% - 14px) calc(50% - 2px),
    calc(100% - 9px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  border: 1px solid rgba(18, 18, 18, 0.12);
  border-radius: 999px;
  padding: 0.55rem 2rem 0.55rem 0.9rem;
  box-shadow: 0 8px 24px rgba(18, 18, 18, 0.1);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lang-switch__select:hover {
  border-color: rgba(232, 93, 4, 0.35);
}

.lang-switch__select:focus-visible {
  outline: 3px solid #ff7a18;
  outline-offset: 2px;
}

@media (max-width: 520px) {
  .lang-switch {
    top: 0.65rem;
    right: 0.65rem;
  }

  .lang-switch__select {
    font-size: 0.8125rem;
    padding: 0.5rem 1.85rem 0.5rem 0.8rem;
  }
}
