header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 40px;
      background: #fff;
      border-bottom: 1px solid #eee;
      flex-wrap: wrap;
    }

    .header-menu {
      display: flex;
      align-items: center;
      justify-content: space-between;
      /* раздвигаем левую и правую часть */
      flex: 1;
      gap: 60px;
    }

    .header-left,
    .header-right {
      display: flex;
      align-items: center;
      gap: 30px;
      flex-wrap: wrap;
    }

    .header-left img {
      height: 30px;
      margin-left: 10px;
    }

    .logo.logo-desktop {
      display: flex;
      align-items: center;
      gap: 6px;
      text-decoration: none;
    }

    .logo.logo-desktop img:first-child {
      height: 50px;
      width: auto;
      display: block;
    }

    .logo.logo-desktop img:last-child {
      height: 18px;
      width: auto;
      display: block;
      object-fit: contain;
      position: relative;
      top: 1px;
    }

    .header-nav a {
      font-family: 'Roboto', sans-serif;
      font-weight: 500;
      text-decoration: none;
      color: #000;
      font-size: 16px;
    }

    .header-nav a:hover {
      color: #E20B0B;
    }
    .nav-about,
    .nav-services,
    .nav-investors,
    .nedvizhimost-es {
      text-decoration: none; 
      color: #000; 
      font-family: Roboto; 
      font-size: 15px;
    }

    .header-right .contact-btn {
      border: 1px solid #f57840;
      border-radius: 20px;
      padding: 6px 18px;
      color: #fff;
      text-decoration: none;
      font-weight: 500;
      transition: 0.3s;
      margin-right: 200px;
    }

    .header-right .contact-btn:hover {
      background: #f57840;
      color: #fff;
    }

    .lang-select {
      position: relative;
      font-family: 'Roboto', sans-serif;
    }

    .lang-select button {
      background: #fff;
      border: 1px solid #ccc;
      border-radius: 5px;
      padding: 5px 10px;
      cursor: pointer;
      font-weight: 500;
      color: #333;
    }

    .lang-select ul {
      position: absolute;
      top: 110%;
      left: 0;
      list-style: none;
      background: #fff;
      border: 1px solid #ccc;
      border-radius: 5px;
      padding: 5px 0;
      margin: 0;
      display: none;
      z-index: 10;
    }

    .lang-select ul.active {
      display: block;
    }

    .lang-select ul li {
      padding: 5px 15px;
    }

    .lang-select ul li a {
      color: #000;
      text-decoration: none;
    }

    .lang-select ul li a:hover {
      color: #E20B0B;
    }


    .lang-select {
      position: relative;
      font-family: inherit;
    }

    .lang-btn {
      background: transparent;
      border: none;
      cursor: pointer;
      font-weight: 600;
      text-transform: uppercase;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .lang-arrow {
      font-size: 10px;
    }

    .lang-menu {
      position: absolute;
      top: 100%;
      right: 0;
      list-style: none;
      margin: 0;
      padding: 6px 0;
      background: #fff;
      box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
      border-radius: 8px;
      display: none;
      min-width: 60px;
    }

    .lang-menu li a {
      display: block;
      padding: 6px 14px;
      text-decoration: none;
      color: #000;
      font-weight: 500;
    }

    .lang-menu li a:hover {
      background: #f2f2f2;
    }

    .lang-select:hover .lang-menu {
      display: block;
    }

    .lang-select.is-open .lang-menu {
      display: block;
    }

    .lang-switcher select {
      border: 1px solid #ccc;
      border-radius: 6px;
      padding: 5px 10px;
      font-weight: 600;
      cursor: pointer;
    }


    /* Десктоп узкий (1440px — 1280px) */
    @media (max-width: 1440px) and (min-width: 1280px) {
      .header-menu {
        gap: 40px !important;
        /* уменьшаем расстояние между левым и правым блоком */
      }

      .header-left,
      .header-right {
        gap: 15px !important;
        /* уменьшаем расстояние между пунктами меню */
      }

      .contact-btn {
        margin-right: 100px !important;
        /* убираем лишний отступ */
      }
    }

    /* Десктоп ещё уже (1280px — 1025px) */
    @media (max-width: 1280px) and (min-width: 1025px) {
      .header-menu {
        gap: 20px !important;
      }

      .header-left,
      .header-right {
        gap: 10px !important;
      }

      .contact-btn {
        margin-right: 50px !important;
        font-size: 14px !important;
        /* можно чуть уменьшить размер текста кнопки */
      }
    }

    /* Десктоп широкий (более 1600px) */
    header {
      gap: 100px !important;
      /* расстояние между лого и меню */
    }

    /* Десктоп обычный (1600px — 1441px) */
    @media (max-width: 1600px) and (min-width: 1441px) {
      header {
        gap: 80px !important;
      }
    }

    /* Узкий десктоп (1440px — 1281px) */
    @media (max-width: 1440px) and (min-width: 1281px) {
      header {
        gap: 50px !important;
      }
    }

    /* Ещё уже десктоп (1280px — 1025px) */
    @media (max-width: 1280px) and (min-width: 1025px) {
      header {
        gap: 30px !important;
      }

      nav {
        gap: 20px !important;
      }

      .contact-btn {
        margin-right: 0px !important;
        font-size: 14px !important;
        /* можно чуть уменьшить размер текста кнопки */
      }
    }

    /* Переход к планшету (1024px — 768px) */
    @media (max-width: 1024px) and (min-width: 768px) {
      header {
        gap: 20px !important;
        padding: 10px 30px !important;
      }

      nav {
        gap: 10px !important;
      }
    }



    /* Скрываем мобильный хедер на десктопе */
    @media (min-width: 768px) {
      .mobile-menu {
        display: none !important;
      }
    }

    /* ===== ПЛАНШЕТ (1024px — 768px) ===== */
    @media (max-width: 1024px) and (min-width: 768px) {
      .header-menu {
        flex-direction: row;
        /* оставляем в одну линию */
        align-items: center;
        justify-content: space-between;
        gap: 30px;
        /* чуть меньше, чем на десктопе */
      }

      .header-left,
      .header-right {
        flex-wrap: nowrap;
        /* элементы в одной строке */
        gap: 15px;
        /* уменьшаем расстояние между пунктами меню */
      }

      .contact-btn {
        white-space: nowrap;
        /* кнопка не переносится */
        margin-right: 0 !important;
        /* убираем лишний отступ */
      }

      .logo.logo-desktop img:first-child {
        height: 35px;
      }

      /* картинка логотипа */
      .logo.logo-desktop img:last-child {
        height: 14px;
      }

      /* слово DIVO */
      .logo.logo-desktop {
        max-width: 220px;
        gap: 6px;
      }

      /* уменьшаем ширину контейнера */

    }


    /* ===== МОБИЛЬНЫЕ (до 767px) ===== */
    @media (max-width: 767px) {
      /* Скрываем обычное меню */

      .header-menu {
        display: none !important;
      }

      .logo-desktop {
        display: none !important;
      }


      /* Показываем мобильный хедер */
      .mobile-header {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 10px 20px;
        box-sizing: border-box;
      }

      .burger-btn {
        font-size: 28px;
        background: none;
        border: none;
        cursor: pointer;
      }

      /* Мобильное меню full screen */
      .mobile-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        z-index: 999;
        overflow-y: auto;
      }

      .mobile-menu.active {
        display: flex;
      }

      .mobile-menu .close-btn {
        align-self: flex-end;
        font-size: 32px;
        background: none;
        border: none;
        cursor: pointer;
        margin-bottom: 20px;
      }

      .mobile-menu nav {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 30px;
      }

      .mobile-menu nav a {
        font-size: 18px;
        color: #000;
        text-decoration: none;
      }

      .mobile-menu nav a:hover {
        color: #E20B0B;
      }

      /* Действия внизу мобильного меню */
      .mobile-actions {
        display: flex;
        justify-content: space-between;
        gap: 10px;
      }

      /* Кнопка связаться */
      .mobile-actions .contact-btn {
        white-space: nowrap;
      }

      /* Языки */
      #mobile-lang-menu {
        display: none;
        position: absolute;
        top: 110%;
        left: 0;
        list-style: none;
        background: #fff;
        border: 1px solid #ccc;
        border-radius: 5px;
        padding: 5px 0;
        margin: 0;
        z-index: 10;
      }

      #mobile-lang-menu.active {
        display: block;
      }
    }