@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

h1 {
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
    color: #000;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: "Open Sans", sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.4;
    color: #000;
    min-width: 320px;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-bottom: 115px;
}

* {
    outline: 0;
}

.wrap {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    width: 100%;
}

.header-wrap {
    background: #fff;
}

.header {
    padding-top: 24px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    align-content: center;
}

.header__logo {
    margin-top: -5px;
}

.header .header__menu {
    flex-grow: 1;
    font-size: 16px;
    margin-left: 40px;
}


.header .header__mm {
    margin-top: 12px;
    display: none;
    align-items: center;
    justify-content: space-between;
}

.header__phone {
    display: flex;
    margin-left: 70px;
}

.header__phone span {
    font-weight: bold;
    font-size: 16px;
    margin-left: 12px;
}


.menu-bar {
    width: 30px;
    height: 45px;
    cursor: pointer;
    transition: all .3s ease-in-out;
    right: 20px;
    z-index: 200;
    background-image: url(img/menu-bar.svg);
    background-size: contain;
    background-repeat: no-repeat;

}

.body_menu-active .menu_main {
    height: 100% !important;
}

.body_menu-active .header__logo {
    z-index: 9;
    color: #fff !important;
}

.body_menu-active .menu-bar {
    margin-top: 10px;
    background-image: url(img/close.svg);
}

.menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
    align-items: center;
    align-content: center;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.menu ul span {
    cursor: pointer;
}

.header2 {

}

.header2__txt {
    padding-top: 62px;
    float: left;
    width: 60%;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.header2__txt_top {
    font-weight: bold;
    font-size: 48px;
    color: #8292a9;
    line-height: 1.3em;
    width: 90%;
}

.header2__txt_middle {
    margin-top: 16px;
    margin-bottom: 23px;
    font-size: 32px;
    line-height: 1.3em;
    font-weight: bold;
    color: #fff;
    background: #f9c36d;
    border-radius: 15px;
    width: 68%;
    padding: 4px 19px;
    box-sizing: border-box;
}

.header2__txt_bottom {
    font-size: 24px;
    width: 83%;
    letter-spacing: 0.7px;
}

.header2__img {
    max-width: 605px;
    width: 40%;
    float: right;
    position: relative;
    z-index: 1;
    padding-top: 20px;
}

.header2__img img {
    top: -33px;
    left: -120px;
    width: calc(100% + 95px);
    height: auto;
    position: relative;
}

.advances {
    margin-top: -64px;
    display: flex;
    flex-flow: wrap;
    justify-content: space-between;
}

.advances > .advance:last-child {
    margin-bottom: 0;
}

.advance {
    background: #f8f8f8;
    border-radius: 15px;
    padding: 36px 17px 18px 30px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 25px;
    max-width: 380px;
    width: 100%;
    box-sizing: border-box;
    height: 323px;
}

.advance .advance__img {
    width: 95px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: #f9c36d;
}

.advance .advance__ttl {
    font-weight: bold;
    font-size: 24px;
    padding-bottom: 14px;
    color: #8494ab;
}

.advance .advance__txt {
    font-size: 16px;
    line-height: 1.3em;
}

.advance .advance__r {
    max-width: 880px;
    margin-top: 22px;
}

.advances__title {
    font-size: 48px;
    font-weight: bold;
    color: #8292a9;
    margin-bottom: 58px;
    width: 100%;
}

.items {
    padding-top: 27px;
    display: flex;
    justify-content: space-between;
    flex-flow: wrap;
}

.items > .item:last-child {
    margin-bottom: 0;
}

.item {
    background: #fff;
    border-radius: 15px;
    border: 1px solid #c3c3c3;
    padding: 16px 40px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    align-content: center;
    margin-bottom: 25px;
    max-width: 580px;
    width: 100%;
    box-sizing: border-box;
    height: 318px;
}

.item .item__img {
    width: 91px;
    height: 91px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item .item__ttl {
    font-weight: 600;
    font-size: 32px;
    padding-bottom: 14px;
    color: #8292a9;
    line-height: 1.3;
}

.item .item__txt {
    font-size: 16px;
    line-height: 1.4em;
}

.item .item__r {
    max-width: 880px;
    margin-top: 8px;
}

.footer {
    margin-top: 60px;
}

.footer__header {
    font-size: 48px;
    color: #8292a9;
    margin-bottom: 20px;
    font-weight: bold;
}

.footer__contacts {
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin-bottom: 15px;
}

.footer__contacts_item {
    display: inline-flex;
    align-items: center;
}

.footer__contacts_item svg {
    margin-right: 17px;
}

.footer__contacts_item span {
    font-weight: bold;
    font-size: 20px;
    line-height: 1.2em;
    flex-shrink: 0;
    white-space: nowrap;
}

.footer__contacts_map {
    width: 100%;
}

.footer__contacts_map iframe {
    width: 100%;
    border: none;
}

.develop-png {
    position: absolute;
    top: 0px;
    left: 0px;
    opacity: 0.3;
    z-index: 100000;
    pointer-events: none;
}


/* Мобильная верстка */
@media screen and (max-width: 1240px) {
    .wrap {
        padding: 0 15px 0 15px;
    }

    body {
        padding-bottom: 0px;
    }

    .header {
        padding-top: 15px;
        padding-right: 10px;
    }

    .header__logo {
        margin-top: 0px;
    }

    .header__logo img {
        width: 160px;
    }

    .header .header__menu {
        display: none
    }

    .header .header__mm {
        display: flex;
    }

    .menu.menu_main {
        transition: .3s;
        overflow: hidden;
        overflow-y: auto;
        display: block;
        position: fixed;
        background: #fff;
        width: 100%;
        height: 0;
        top: 0;
        left: 0;
        bottom: 0;
        padding: 0;
        font-size: 22px;
        text-align: left;
        z-index: 8;
        margin-left: 0px;
    }

    .menu.menu_main a {
        color: #000;
    }

    .menu.menu_main a:hover {
        color: #000;
        font-weight: 500;
    }

    .menu.menu_main ul {
        margin: 182px 0 0 40px;
    }

    .menu.menu_main ul li {
        padding: 10px 0;
    }

    .menu {
        padding: 4px 0;
    }

    .menu ul {
        display: block;
    }

    .header__phone {
        display: none;
    }

    .body_scroll .header-wrap {
        top: 0;
        position: fixed;
        left: 0;
        right: 0;
        z-index: 30;
        padding-top: 0;
    }

    .body_scroll .header {
        padding-top: 17px;
    }

    .body_scroll .header2 {
        padding-top: 74px;
    }

    .header2 {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .header2__img {
        order: 1;
        width: 74%;
        max-width: unset;
        float: none;
        padding-top: 12px;
    }

    .header2__img img {
        position: static;
        width: 100%;
        max-width: 600px;
    }

    .header2__txt {
        order: 2;
        width: 100%;
        padding-top: 5px;
    }

    .header2__txt_top {
        font-size: 24px;
        width: 100%;
        text-indent: 0px;
        letter-spacing: -0.2px;
    }

    .header2__txt_middle {
        font-size: 16px;
        margin-top: 5px;
        margin-bottom: 16px;
        width: 85%;
    }

    .header2__txt_bottom {
        font-size: 12px;
        width: 100%;
    }

    .advances__title {
        font-size: 24px;
        margin-bottom: 35px;
    }


    .advance {
        padding: 19px 13px 23px 22px;
        height: unset;
        margin-bottom: 17px;
        max-width: 700px;
    }

    .advance .advance__img {
        width: 72px;
        height: 67px;
        flex-shrink: 0;
    }

    .advance .advance__img img {
        width: 80%;
    }

    .advance .advance__ttl {
        padding-bottom: 5px;
    }

    .advance .advance__txt {
        font-size: 14px;
        line-height: 1.4;
    }

    .advance .advance__r {
        margin-top: 13px;
    }

    .advances {
        padding-top: 100px;
        flex-direction: column;
    }

    .item {
        padding: 19px 13px 23px 22px;
        height: unset;
        margin-bottom: 20px;
        max-width: 700px;
    }

    .item .item__img {
        width: 85px;
        height: 85px;
        flex-shrink: 0;
    }

    .item .item__img img {
        width: 80%;
    }

    .item .item__ttl {
        padding-bottom: 5px;
        font-size: 24px;
    }

    .item .item__txt {
        font-size: 14px;
        line-height: 1.4;
    }

    .item .item__r {
        margin-top: 13px;
    }

    .items {
        padding-top: 75px;
        flex-direction: column;
    }

    .footer {
        margin-top: 22px;
    }

    .footer__header {
        font-size: 36px;
        text-align: center;
    }

    .footer__contacts {
        flex-flow: wrap;
        justify-content: center;
        align-items: center;
    }

    .footer__contacts_item{
        margin-bottom: 15px;

    }

    .footer__contacts_item span{
        font-size: 16px;
        flex-shrink: 1;
        white-space: normal;
        text-align: center;
    }

    .footer__contacts_map {
        width: calc(100% + 30px);
        height: 369px;
        margin: 0 -15px;
    }

    .footer__contacts_map iframe{
        height: 369px;
    }
}