.nav {
  background: var(--color-bg-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 1rem;
}

/* old text logo — kept for fallback */
.nav__logo {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
  line-height: 1.2;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.nav__logo span {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-light);
}

/* SVG logo */
.nav__logo-svg {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo-svg svg {
  height: 52px;
  width: auto;
}

.logo-name {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.14em;
  fill: #243041;
}

.logo-sub {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 9px;
  letter-spacing: 0.22em;
  fill: #1F5E9C;
}

.nav__links {
  display: flex;
  list-style: none;
  padding: 0;
  gap: 0.1rem;
  flex: 1;
  justify-content: center;
}

.nav__links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav__links a:hover { color: var(--color-accent); background: var(--color-bg-section); }
.nav__links a.active { color: var(--color-accent); }

.nav__cta {
  font-size: 0.82rem;
  padding: 0.6rem 1.2rem;
  flex-shrink: 0;
}

.nav__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  flex-shrink: 0;
}

.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 780px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }

  .nav--open .nav__inner {
    flex-wrap: wrap;
    padding-bottom: var(--space-sm);
  }

  .nav--open .nav__links {
    display: flex;
    flex-direction: column;
    width: 100%;
    order: 3;
    gap: 0.25rem;
    padding-top: var(--space-sm);
    border-top: 1px solid var(--color-border);
  }

  .nav--open .nav__cta {
    display: flex;
    order: 4;
    width: 100%;
    margin-top: var(--space-xs);
  }
}

/* Language switcher (RU / SR) */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--color-bg-section);
  border-radius: var(--radius-sm);
  padding: 2px;
  flex-shrink: 0;
}

.lang-switch__btn {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--color-text-muted);
  background: transparent;
  border: none;
  padding: 0.35rem 0.6rem;
  border-radius: calc(var(--radius-sm) - 2px);
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.lang-switch__btn:hover { color: var(--color-accent); }

.lang-switch__btn.is-active {
  background: var(--color-bg-white);
  color: var(--color-accent);
  box-shadow: 0 1px 3px rgba(31,94,156,0.12);
}
