header {
  font-family: Helvetica, Arial, sans-serif !important;
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
}

.header-container {
  position: absolute;
  /* height: 135px; */
  padding: 2rem 0 1rem;
  max-width: 1140px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  max-width: 200px;
}

.logo-text {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
}

.logo-icon {
  min-width: 30px;
  min-height: 30px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #3b82f6;
  line-height: 1;
  /* animation: rotate 4s linear infinite; */
}

.logo-main {
  font-size: 20px;
  color: #ffffff;
  letter-spacing: 1px;
}

.logo-sub {
  font-size: 20px;
  color: #3b82f6;
  letter-spacing: 1px;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.logo-text:hover .logo-main {
  color: #93c5fd;
}

.logo-text:hover .logo-sub {
  color: #1d4ed8;
}

.logo--img {
  width: 100%;
}

.menu-list {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  list-style: none;
}

.menu-item {
  padding: 13px 20px;
  margin-right: 10px;
}

.menu-item a {
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--header-link-color);
}

.menu-item a:hover {
  color: var(--header-link-color-hover) !important;
}

.menu-item-active a {
  color: var(--header-link-color-active) !important;
}

.menu-toggle {
  display: none;
  width: 22px;
  height: 22px;
  fill: var(--white);
  z-index: 999;
}

.header-menu {
  transform: translateY(-10px);
  transition: max-height 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
}

.geo_selected a:after {
  height: 24px;
  display: inline-block;
  position: absolute;
  right: 9px;
  width: 15px;
  background-position: 50%;
  background-size: 11px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 285 285'><path d='M282 76.5l-14.2-14.3a9 9 0 0 0-13.1 0L142.5 174.4 30.3 62.2a9 9 0 0 0-13.2 0L3 76.5a9 9 0 0 0 0 13.1l133 133a9 9 0 0 0 13.1 0l133-133a9 9 0 0 0 0-13z' style='fill:%23f2f2f2'/></svg>");
  background-repeat: no-repeat;
  content: "" !important;
  transition: all 0.2s;
}

.menu-item-geo a:after {
  content: none !important;
}

.menu-item-geo {
  list-style-type: none;
  padding: 13px 20px;
  margin-right: 10px;
}

.geo_selected {
  padding-right: 30px;
}

.geo_selected:hover {
  background-color: #000;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }

  .menu-list {
    flex-direction: column;
  }

  .header-menu {
    width: 100%;
    top: 80px;
    left: 0;
    position: absolute;
    opacity: 0;
  }

  .open-menu {
    display: flex !important;
    background-color: #07141a;
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
  }

  .geo_selected a:after {
    position: static;
  }

  .geo_selected:hover {
    background-color: transparent;
  }

  #lang-dropdown {
    padding: 20px 0px 0px !important;
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    background-color: transparent !important;
  }

  .menu-item-geo {
    padding: 10px 0;
    margin-right: 0;
  }
}

.open-menu .menu-list {
  width: 100%;
}

.menu-toggle svg {
  transition: opacity 0.3s ease;
}

.menu-toggle__icon--close {
  display: none;
}

/* Когда меню открыто — показываем close, прячем open */
.menu-toggle.open .menu-toggle__icon--open {
  display: none;
}

.menu-toggle.open .menu-toggle__icon--close {
  display: block;
}
