.square-img-wrapper-top {
    position: absolute;
    transition: opacity 0.2s;
    pointer-events: none;
    width: 480px;
    height: 480px;
    top: 0;
    right: 0;
    transform: translate(37%, -50%);
}
.square-img-wrapper-top.hide {
    opacity: 0;
}
@media (max-width: 1439px) {
    .square-img-wrapper-top {
        width: 320px;
        height: 320px;
    }
}
@media (max-width: 767px) {
    .square-img-wrapper-top {
        width: 240px;
        height: 240px;
    }
}
.square-img-wrapper-top img {
    width: 100%;
    height: 100%;
}
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    z-index: 50;
}
.header_scroll {
    background: #FFFFFF;
}
.header .container {
    padding: 30px 40px;
}
@media (max-width: 1250px) {
    .header .container {
        padding: 30px 64px;
    }
}
@media (max-width: 767px) {
    .header .container {
        padding: 20px 20px;
    }
}
.header__contacts {
    display: inline-flex;
    flex-direction: column;
    gap: 24px;
    margin-left: auto;
}
@media (max-width: 1250px) {
    .header__contacts {
        margin-left: 0;
        margin-top: 80px;
    }
}
.header__contacts .btn {
    display: none;
    margin-top: 32px;
    width: fit-content;
}
@media (max-width: 1250px) {
    .header__contacts .btn {
        display: inline-block;
    }
}
@media (max-width: 767px) {
    .header__contacts .btn {
        margin-top: 40px;
    }
}
.header__contacts__contact {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
}
.header__contacts__contact:last-of-type {
    display: none;
}
@media (max-width: 1250px) {
    .header__contacts__contact:last-of-type {
        display: inline-flex;
    }
}
.header__contacts__contact span {
    font-weight: 400;
    font-size: 14px;
    line-height: normal;
    color: #677183;
    display: none;
}
@media (max-width: 1250px) {
    .header__contacts__contact span {
        display: inline-block;
        width: fit-content;
    }
}
.header__contacts__contact a {
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
    color: #2E2D2B;
}
@media (max-width: 1250px) {
    .header__contacts__contact a {
        font-size: 18px;
        line-height: normal;
        width: fit-content;
    }
}
.header__content {
    display: flex;
    align-items: center;
    gap: 48px;
    position: relative;
}
.header__content:after {
    content: '';
    position: absolute;
    width: 100%;
    bottom: -30px;
    border-top: 1px solid #EFF3F7;
}
@media (max-width: 767px) {
    .header__content:after {
        bottom: -20px;
    }
}
@media (max-width: 1250px) {
    .header__content {
        display: block;
    }
}
@media (max-width: 1250px) {
    .header__group {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: calc(100% + 32px);
        z-index: 5;
        padding: 0 16px;
        margin: 0 -16px;
    }
}
.header__logo {
    flex: 0 0 auto;
}
.header__logo img {
    width: 100%;
}
.header__burger {
    display: none;
}
@media (max-width: 1250px) {
    .header__burger {
        display: block;
        flex: 0 0 auto;
        width: 26px;
        height: 26px;
        position: relative;
        cursor: pointer;
    }
    .header__burger span {
        position: absolute;
        right: 2px;
        width: 100%;
        height: 2px;
        border-radius: 150px;
        background: #1B1B1B;
        transition: 0.3s;
    }
    .header__burger span:first-child {
        top: 5px;
        width: 40%;
    }
    .header__burger span:nth-child(2) {
        top: calc(50% - 1px);
    }
    .header__burger span:last-child {
        bottom: 5px;
        width: 60%;
    }
    .header__burger.menu-open span:first-child {
        transform: rotate(45deg);
        top: 11px;
        width: 100%;
    }
    .header__burger.menu-open span:nth-child(2) {
        opacity: 0;
        visibility: hidden;
    }
    .header__burger.menu-open span:last-child {
        transform: rotate(-45deg);
        width: 100%;
        bottom: 13px;
    }
}
.header__nav {
    display: flex;
    width: 100%;
}
@media (max-width: 1250px) {
    .header__nav {
        padding: 80px 64px 0;
        margin-left: -64px;
        flex-direction: column;
        height: 100vh;
        position: absolute;
        background: #ffffff;
        left: 0;
        width: 100vw;
        transition: transform 0.3s, visibility 0.3s;
        visibility: hidden;
        transform: translatex(-120%);
    }
    .header__nav.menu-open {
        visibility: visible;
        transform: none;
    }
}
@media (max-width: 767px) {
    .header__nav {
        margin-left: -20px;
        padding-left: 20px;
    }
}
.header__menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
@media (max-width: 1250px) {
    .header__menu {
        display: block;
        margin-bottom: 0;
        margin-left: 0;
    }
}
.header__menu li:not(:first-child) {
    margin-left: 48px;
}
@media (max-width: 1250px) {
    .header__menu li:not(:first-child) {
        margin-left: 0;
    }
}
@media (max-width: 1250px) {
    .header__menu li {
        padding: 16px 0;
        margin-bottom: 0;
    }
    .header__menu li:first-child {
        padding-top: 0;
    }
    .header__menu li:last-child {
        padding-bottom: 0;
    }
}
.header__menu li a {
    position: relative;
    font-weight: 500;
    font-size: 14px;
    line-height: 17px;
    color: #2E2D2B;
    text-transform: uppercase;
}
.header__menu li a::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #2E2D2B;
    transform: scaleX(0);
    transition: transform 0.25s ease;
}
@media (max-width: 1250px) {
    .header__menu li a {
        font-size: 16px;
        line-height: normal;
    }
}
.header__menu li a:hover::before {
    transform: scaleX(1);
}
.header__menu li a.active {
    transform: scaleX(1);
}