
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 1001;
}

.burger span {
  height: 3px;
  width: 100%;
  background-color: #333;
  border-radius: 2px;
  transition: 0.3s;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nav-mobile a {
  padding: 1rem;
  color: #333;
  text-decoration: none;
  font-weight: 600;
  width: 100%;
  text-align: center;
}

.nav-mobile.active {
  display: flex;
  animation: slideDown 0.3s ease-in-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }
  .burger {
    display: flex;
  }
}


/* Обновлённый бургер справа с белыми полосками */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  cursor: pointer;
  z-index: 1001;
  position: absolute;
  right: 1rem;
  top: 1.2rem;
}

.burger span {
  height: 3px;
  width: 100%;
  background-color: white;
  border-radius: 2px;
  transition: 0.3s;
}

/* Адаптация: скрываем обычное меню, показываем бургер */
@media (max-width: 768px) {
  .nav-desktop {
    display: none !important;
  }
  .burger {
    display: flex;
  }
}

/* Стиль для мобильного меню */
.nav-mobile {
  display: none;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding-top: 2.5rem;
}

.nav-mobile a {
  padding: 1rem;
  color: #333;
  text-decoration: none;
  font-weight: 600;
  width: 100%;
  text-align: center;
}

.nav-mobile.active {
  display: flex;
  animation: slideDown 0.3s ease-in-out;
}

/* Кнопка закрытия */
.close-mobile-menu {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 24px;
  color: #c62828;
  background: transparent;
  border: none;
  cursor: pointer;
}

/* Анимация */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .logo-block .vision-link {
    display: none !important;
  }
}

.vision-link {
  display: inline;
  font-size: 14px;
  text-decoration: none;
  color: #ffffff;
  margin-top: 4px;
}

.vision-link:hover {
  text-decoration: underline;
}


@media (max-width: 768px) {
  .nav-mobile .vision-link {
    display: block !important;
    text-align: center;
    padding: 1rem;
    font-weight: 600;
    color: #333;
    text-decoration: none;
  }

  .nav-mobile .vision-link:hover {
    background-color: #f2f2f2;
  }
}


.logo-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.vision-link {
  margin-top: 4px;
  font-size: 14px;
  color: #2a9d8f;
  text-decoration: none;
}

.vision-link:hover {
  text-decoration: underline;
}


@media (min-width: 769px) {
  .vision-link {
    color: #ffffff;
  }
}
