@media (min-width: 1024px) {
    .header__controls-mobile .logo {
        display: none;
    }
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.03);
}
@media (min-width: 1024px) and (max-width: 1024px) {
    .header {
        padding-top: 49px !important;
    }
}
@media (max-width: 1023px) {
    .header {
        left: 100%;
        height: 100%;
    }
    .header .header__inner {
        display: none;
        position: relative;
    }
    .header .header__controls-mobile {
        position: absolute;
        top: 32px;
        left: -100%;
        padding: 20px 16px;
        width: 100%;
        background: var(--treeapp-white);
        box-shadow: 0 4px 12px rgba(61, 61, 61, 0.05);
    }
}
@media (min-width: 640px) {
    .header .header__controls-mobile {
        padding: 20px 81px;
    }
}
@media (min-width: 768px) {
    .header .header__controls-mobile {
        padding: 20px 50px;
    }
}
@media (min-width: 1024px) {
    .header .header__controls-mobile {
        padding: 0;
    }
}
@media (min-width: 1024px) {
    .header {
        padding: 13px 110px 17px;
        transition: all 0.5s;
        background: var(--treeapp-white);
    }

}
@media (min-width: 1270px) {
    .header {
        padding: 13px 111px 17px;
    }
}
@media (max-width: 1023px) {
    .header .header__toggle-button {
        position: absolute;
        top: 40%;
        right: 50px;
        z-index: 3;
        display: block;
        width: 24px;
        height: 24px;
        background: url(/assets/images/icons/toggle-button.svg) no-repeat;
    }
}
@media (max-width: 639px) {
    .header .header__toggle-button {
        right: 16px;
    }
}
.header .header__inner {
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1050px;
}
@media (max-width: 1023px) {
    .header .header__inner {
        margin-right: -100%;
        display: block;
        padding: 126px 24px 24px;
        width: 360px;
        height: 100%;
        background: var(--treeapp-dark-grey);
        transition: 1s;
        z-index: 2;
    }
    .header .header__inner .logo {
        display: none;
    }
    .header .header__inner .menu {
        align-items: baseline;
        flex-direction: column;
        padding-top: 25%;
    }
    .header .header__inner .menu li {
        margin-bottom: 12px;
        margin-top: 12px;
        color: var(--treeapp-white);
        font-weight: 600;
        font-size: 29px;
        line-height: 40px;
        margin-left: 20px;
    }
}
@media (min-width: 1440px) {
    .header .header__inner {
        max-width: 1072px;
    }
}
.header .menu {
    display: flex;
    align-items: center;
}
@media (min-width: 1024px) {
    .header .menu {
        padding-top: 7px;
    }
}
.header .menu li {
    margin-left: 45px;
    color: #878787;
    font: 500 14px/24px "Work Sans", sans-serif;
}
.header .menu li.active {
    color: var(--treeapp-dark-grey);
    font-weight: 600;
}
.header .menu li.active a {
    color: inherit;
    font-weight: 700;
}
@media (max-width: 1023px) {
    .header .menu li.active {
        color: rgba(255, 255, 255, 0.65);
    }
}
.header .menu li a:hover {
    color: var(--treeapp-dark-grey);
}
@media (max-width: 1023px) {
    .header .menu {
        overflow: scroll;
        height: 96%;
    }
    .header .menu li .button {
        padding: 0;
        color: var(--treeapp-white);
        font-weight: 600;
        font-size: 24px;
        line-height: 32px;
    }
    .header .menu li a {
        color: var(--treeapp-white);
    }
}

.header__inner .list-social {
    display: none;
}

@media (max-width: 1023px) {
    .header__inner .list-social {
        display: flex;
        justify-content: flex-end;
    }

    .header__inner .list-social li {
        margin: 0 0 0 31px;
        width: 16px;
        height: 18px;
        background-repeat: no-repeat;
        background-size: contain;
    }
}


.our-report {
    display: block;
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 1;
    height: 32px;
    font-weight: 500;
    font-size: 13px;
    line-height: 32px;
    background: var(--treeapp-primary);
    text-align: center;
    color: var(--treeapp-white);
}
.our-report:hover {
    color: var(--treeapp-white);
}
@media (max-width: 1024px) {
    .our-report ~ .header {
        padding-top: 30px;
        left: 100%;
        height: 100%;
    }
    .our-report ~ .header .header__inner {
        position: relative;
    }
}
@media (min-width: 1025px) {
    .our-report ~ .header__inner {
        padding-top: 30px;
    }
}
@media (min-width: 1025px) {
    .our-report ~ .header__controls-mobile {
        top: 22px;
    }
}

@media (max-width: 1024px) {
    .our-report ~ .header .header__controls-mobile {
        position: absolute;
        left: -100%;
        padding: 20px 81px;
        width: 100%;
        background: var(--treeapp-white);
        box-shadow: 0 4px 12px rgba(61, 61, 61, 0.05);
    }
}


@media (max-width: 1023px) {
    .header.header--menu-open {
        left: auto;
        bottom: 0;
        background: rgba(0, 0, 0, 0.2);
        transition: 1.5s background ease;
    }

    .header.header--menu-open .header__controls-mobile {
        left: 0;
        box-shadow: none;
    }

    .header.header--menu-open .header__toggle-button {
        left: auto;
        background-image: url(/assets/images/icons/toggle-button-close.svg);
    }

    .header.header--menu-open .header__inner {
        display: block;
        margin-right: 0;
    }
}

