

@media (max-width: 768px) {
  .bg-m {
    background-image: none; /* Убираем изображение */
    background-color: #fff6fd; /* Пастельно-бирюзовый */
  }
}

  header {
    padding: 15px 0;
  }
  .parent-menu {
    padding-left: 10px;
    padding-right: 10px;
  }

  .item-logo {
    max-height: 100px;
    margin-top: -5px;
    margin-right: 50px;
  }
  /* Оптимизированные стили для меню */
  nav a {
    display: block;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    line-height: 42px;
    height: 42px;
    border-radius: 5px;
    text-decoration: none;
    color: #555;
    background-color: #fff;
    transition: all ease 0.5s;
  }
.lang a {
  color: #bbb;
  font-size: 20px;
  line-height: 30px;
  height: 42px;
  padding: 5px 8px;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

/* Активный язык */
.lang a span.active {
  font-weight: bold;
  color: var(--color-menu-left); /* можно задать свой брендовый цвет */
}

/* При наведении — инверсия */
.lang a:hover span.active,
.lang a:active span.active {
  color: #bbb;
  font-weight: normal;
}

.lang a:hover span:not(.active),
.lang a:active span:not(.active) {
  font-weight: bold;
  color: var(--color-menu-left);
}

  nav a.active {
    background-image: linear-gradient(298deg, var(--color-menu-right), var(--color-menu-left));
    color: #fff;
  }

  nav a:hover {
    background-image: linear-gradient(298deg, var(--color-menu-right), var(--color-menu-left));
    color: #fff;
  }

@media (min-width: 360px) and (max-width: 575px) {
.parent-menu {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-row-gap: 25px;
}
.item-logo {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}    
nav {
  grid-column: 1 / 7;
  grid-row: 2 / 4;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 5px;
}
.item-logo {
    margin-top: 0px;
}
.lang {
  grid-column: 4 / 7;
  grid-row: 1 / 2;
  text-align: right;
} 
nav a {
  font-size: 16px;
}    
}


 @media (min-width: 576px) and (max-width: 991px) {
.parent-menu {
  display: grid;
  grid-template-columns: repeat(6, auto);
  grid-row-gap: 25px;
}
.item-logo {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}    
nav {
  grid-column: 1 / 7;
  grid-row: 2 / 3;
  display: grid;
  grid-template-columns: repeat(6, auto);
  grid-gap: 5px;
}
.lang {
  grid-column: 5 / 7;
  grid-row: 1 / 2;
  text-align: right;
} 
.item-logo {
    margin-top: 0px;
} 
.lang a {
  line-height: 50px;
}
}

@media (min-width: 992px) {
.parent-menu {
   display: grid;
   grid-template-columns: repeat(7, auto) 150px;
   grid-column-gap: 15px;
}
.item-logo {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}
nav {
  grid-column: 2 / 8;
  grid-row: 1 / 2;
  display: grid;
  grid-template-columns: repeat(6, auto);
  grid-gap: 15px;
}
.lang {
  grid-column: 8 / 9;
  grid-row: 1 / 2;
  text-align: right;
  margin-left: 50px;
} 
}










