.menu {
    display: none;
    flex-direction: column;
    background-color: black;
    border-radius: 10px;
    position: absolute;
    top: 90px;
    right: 22px;
    width: 10%;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 1000;
    /* Добавлено */
}

.logo {
    position: absolute;
    left: 0px;
    /* top: 15px; */
    height: 50px;
}

.menu li {
    font-size: 0.95rem;
    line-height: 1.;
    padding: 10px 0;
    text-transform: uppercase;
}

.menu-button {
    position: absolute;
    border: none;
    cursor: pointer;
    background: none;
}

.menu-button::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;

    border-radius: 5px;
    transition: border-color 0.3s ease-in-out;
}

.menu-button:hover::before,
.menu-button.active::before {

    border: 1px solid white;
}

.burger {
    /* ... */
    transition: transform 0.3s ease-in-out, background 0.3s;
}

.burger:hover {
    background: #666;
}

.menu-button.active+.menu {
    display: block;
}

.menu-button.active .burger:nth-child(1) {
    /* ... */
}

.menu-button.active .burger:nth-child(2) {
    /* ... */
}

.menu-button.active .burger:nth-child(3) {
    /* ... */
}

.menu-button.active+.menu {
    display: flex;
    opacity: 1;
}

@media (max-width: 768px) {
    .menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }
}

.header-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.phone {
    font-size: 20px;
    margin-right: 55px;
    position: absolute;
}


.menu a.active {
    font-weight: bold;
    /* Например, делаем шрифт жирным */
    color: #00b8f7;
    /* Или любой другой желаемый цвет */
}



.menu-icon {
    display: block;
    width: 30px;
    height: 3px;
    background: #d9d9d9;
    margin: 5px auto;
    transition: transform 0.3s ease-in-out;
}



.burger {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    margin: 5px auto;
    transition: transform 0.3s ease-in-out;
}

.menu-button.active .burger:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-button.active .burger:nth-child(2) {
    opacity: 0;
}

.menu-button.active .burger:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.menu-button.active+.menu {
    display: flex;
}