.header {
    padding: 12px 18px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.header .logo {
    display: flex;
    width: 100%;
    max-width: 160px;

}

.header .contacts {
    align-self: center;
    text-align: right;
}

.header .contacts .phones{
    white-space: nowrap;
}

.header .contacts .phones.mobile {
    display: none;
}

.header .contacts .address {
    font-size: 12px;
}

.header .btn_area{
    display: flex;
    align-items: center;
    gap: 6px;
}

.header .btn_area .social_btn{
    padding: 0;
    height: 38px;
    width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.header .callback {
    padding: 0 35px;
    height: 38px;
    cursor: pointer;
}

.header .callback.mobile {
    display: none;
}

@media screen and (max-width: 767px) {
    .header {
        align-items: center;
        padding: 12px 20px 11px 20px;
    }

    .header .contacts .phones {
        display: none;
    }

    .header .contacts .phones.mobile {
        display: flex;
        flex-direction: column;
        white-space: pre-wrap;
        font-size: 12px;
    }

    .header .contacts > .address {
        display: none;
    }

    .header .contacts .phones.mobile .address {
        white-space: pre-wrap;
    }

    .header .callback {
        display: none;
    }

    .header .callback.mobile {
        display: flex;
    }

    .header .btn_area{
        max-width: 56px;
        width: 100%;
        flex-direction: column;
        gap: 4px;
    }

    .header .btn_area .social_btn{
        height: 41px;
        width: 100%;
    }

    .header .btn_area .social_btn.social_btn_email{
        display: none;
    }
}