.header {
    padding-top: 20px;
    padding-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-content: center;
}

.header img {
    width: 170px;
}

.menu {
    display: flex;
    gap: 40px;
    align-content: center;
    align-items: center;
}

.menu-item {
    color: #000;
    font-weight: 600;
    transition: 0.3s ease-in-out color;
}

.menu-item:hover {
    color: var(--primary-color);
}

.menu-tel {
    background: var(--primary-color);
    border-radius: 50px;
    padding: 17px;
    display: flex;
    color: #fff;
    gap: 10px;
    align-items: center;
}

a.menu-item.menu-tel:hover {
    color: #fff !important;
}

.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    width: 35px;
    height: 35px;
    padding: 0;
}

.burger span {
    display: block;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: 0.3s;
}

.burger.open span {
    margin-top: -2px;
}

.burger.open span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}

.burger.open span:nth-child(2) {
    opacity: 0;
}

.burger.open span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
}

/* mobile */
@media (max-width: 768px) {
    .burger {
        display: flex;
        z-index: 11;
    }

    .menu {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        background: #fff;
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        z-index: 10;
    }

    .menu.active {
        opacity: 1;
        pointer-events: all;
        transform: translateY(0);
    }
}