.navbar-desktop {
  position: fixed;
  min-height: 60px;
  width: 60%;
  margin: 0 auto;
  padding: 0 20px;
  top: 0;
  left: 0;
  right: 0;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  background-color: rgba(248, 251, 252, 0.5); /* добавим светлый фон */
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  z-index: 1000;
}

.logo {
  height: 30px;
  width: auto; /* сохраняет пропорции */
}

.navbar-brand {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 10px; /* промежуток между логотипом и названием */
  text-decoration: none;
  color: #222222;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.navbar-links {
  display: flex;
  gap: 15px;
  color: #222222; /* базовый цвет можно оставить здесь */
}

/* Базовый стиль ссылок */
.navbar-links a {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  color: inherit; /* наследует от .navbar-links */
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

/* Hover-состояние */
.navbar-links a:hover {
  color: #e9ecef;
  text-decoration: none;
}

/* Активная ссылка (scrollspy) */
.navbar-links a.active {
  color: #e9ecef;
  text-decoration: none;
}

.nav-link.dropdown {
  position: relative;
  cursor: pointer;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%; /* прямо под пунктом меню */
  left: 0;
  background: #949696;
  border: 1px solid #b5b5b5;
  min-width: 160px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  color: #222222;
}

.nav-link.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-item {
  padding: 10px 15px;
  white-space: nowrap;
  display: block;
  text-decoration: none;
}

.dropdown-item:hover {
  color: #000;
}

.dropdown-custom-desktop a:hover,
.dropdown-custom-desktop a.active {
	background: transparent;
}