.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 7;
    background-color: #FFFFFF;
}
.header__body {
    padding-block: 10px;
}

.header__burger-body {
    width: 100%;
    height: 14px;
    position: relative;
}
body._lock {
    overflow: hidden;
}

@media (orientation: landscape) {
    .header__menu._active {
        overflow-y: auto;
    }
}

.header__elements {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0 15px;
}

.header__box-logo {
    position: relative;
}
.header__logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left;
    max-width: 130px;
   max-height: 69px;
}
.header__logo-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.header__menu {
    position: absolute;
    padding: 0px;
    height: 0;
    background-color: #FFFFFF;
    visibility: hidden;
    top: -10%;
    opacity: 0;

}

.header__menu._active {
    background-color: #FFFFFF;
    padding: 50px 10px;
    visibility: visible;
    height: auto;
    min-width: calc(100% - 20px);
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    top: 89px;
    opacity: 1;
    display: flex;
    flex-direction: column;
    overflow: auto;
    border: 1px solid var(--divider-color);
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.header__list {
    flex: 1 1 auto;
    height: auto;
    display: flex;
    flex-direction: column;
}

.header__list-item {
    color: var(--grey-dark-color);
    font-family: var(--semibold);
    display: block;
    font-size: 20px;
    text-transform: uppercase;
    text-align: center;
    padding-block: 25px;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
}
.header__list > li:first-child >  .header__list-item{
    padding-top: 0;
}
.header__list > li:last-child >  .header__list-item{
    padding-bottom: 0;
}

.header__menu-contact {
    padding-block: 20px 20px;
}

.header__menu-contact {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.header__right{
    display: flex;
    gap: 20px;
}
.header__btn{
    white-space: nowrap;
    padding: 14px 15px;
}




/* ------ */
.burger {
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--grey-dark-color);
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}
.header__burger-body {
    position: relative;
    width: 18px;
    height: 14px;
}




.burger__line {
    width: 18px;
    height: 2px;
    position: absolute;
    background-color: var(--grey-dark-color);
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    border-radius: 1px;
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    -ms-border-radius: 1px;
    -o-border-radius: 1px;
}

.burger__line--1 {
    top: 0;
}

.burger__line--2,
.burger__line--3 {
    top: 50%;
    transform: translateY(-50% );
    -webkit-transform: translateY(-50% );
    -moz-transform: translateY(-50% );
    -ms-transform: translateY(-50% );
    -o-transform: translateY(-50% );
}

.burger__line--4 {
    bottom: 0;
}

.burger._active .burger__line--1,
.burger._active .burger__line--4 {
    opacity: 0;
}

.burger._active .burger__line--2 {
    top: 40%;
    height: 2px;
    transform: translateY(50%) rotate(45deg);
    -webkit-transform: translateY(50%) rotate(45deg);
    -moz-transform: translateY(50%) rotate(45deg);
    -ms-transform: translateY(50%) rotate(45deg);
    -o-transform: translateY(50%) rotate(45deg);
}

.burger._active .burger__line--3 {
    top: 40%;
    background: var(--grey-dark-color);
    height: 2px;
    transform: translateY(50%) rotate(-45deg);
    -webkit-transform: translateY(50%) rotate(-45deg);
    -moz-transform: translateY(50%) rotate(-45deg);
    -ms-transform: translateY(50%) rotate(-45deg);
    -o-transform: translateY(50%) rotate(-45deg);
}
/* ------ */


@media (min-width: 1280px) {
    .burger{
        display: none;
    }
    .header__elements{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 0 ;
    }
    .header__menu{
        position: static;
        flex: none;
        padding: 0;
        opacity: 1;
        visibility: visible;
        min-height: auto;
        display: flex;
        gap: 30px;
        align-items: center;
    }
    .header__list{
        flex-wrap: wrap;
        flex-direction: row;
        gap: 50px;
    }
    .header__list-item{
        font-size: 16px;
    }
    .header__btn{
        display: inline-block;
        width: auto;
    }

    
    /* New */
    .header__list > li{
        margin: 0;
        padding: 0;
        min-height: auto;
    }
    .header__list > li:first-child > .header__list-item {
        padding-top: 4px;
    }
    .header__list > li:last-child > .header__list-item {
        padding-bottom: 4px;
    }
    .header__list-item{
        margin: 0;
        padding: 0;
        background-color: var(--blue-bg);
        color: var(--main-bg);
        display: inline-block;
        padding: 4px 8px;
        padding-top: 4px;
        padding-bottom: 4px;
        border-radius: 6px;
        -webkit-border-radius: 6px;
        -moz-border-radius: 6px;
        -ms-border-radius: 6px;
        -o-border-radius: 6px;
    }
}