@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

h1 {
    padding: 0;
    margin: 0;
}

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

body, html {
    margin: 0;
    padding: 0;
    font-family: "Inter", 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: 160px;
}

* {
    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: 26px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    font-family: "Montserrat", sans-serif;
}

.logo {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-end;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none
}

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


.header .header__mm {
    margin-top: 14px;
    display: none;
    width: 70px;
    height: 46px;
    align-items: center;
    justify-content: space-between;
}

.header__mm_phone {
    display: none;
}

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

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



.menu-bar {
    width: 29px;
    height: 36px;
    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 .logo {
    position: fixed;
    z-index: 9;
    color: #fff !important;
    top: 17px;
}

.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 {
    font-family: "Montserrat", sans-serif;
}

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

.header2__txt_top {
    font-weight: 600;
    font-size: 70px;
    color: #6276e7;
    line-height: 1.2em;
    text-indent: 6px;
}

.header2__txt_middle {
    margin-top: 25px;
    margin-bottom: 23px;
    font-size: 32px;
    line-height: 1.3em;
}

.header2__txt_bottom {
    font-weight: bold;
    font-size: 20px;
    color: #6276e7;
}

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

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

.items {
    padding-top: 10px;
}

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

.item {
    background: #fff;
    border-radius: 30px;
    border: 1px solid #cdcdcd;
    padding: 36px 38px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    align-content: center;
    margin-bottom: 25px;
}

.item.item_map {
    padding: 0;
    overflow: hidden;
}

.item .item__img {
    width: 151px;
    height: 148px;
    margin-right: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 30px rgba(109, 132, 255, .25);
    border-radius: 30px;
    background: #fff;
}

.item .item__ttl {
    font-weight: 600;
    font-size: 32px;
    padding-bottom: 14px;
    color: #6276e7;
    font-family: "Montserrat", sans-serif;
}

.item .item__map {
    flex-grow: 1;
    margin-left: 43px;
}

.item .item__txt {
    font-size: 16px;
    color: #717070;
    line-height: 1.2em;
}

.item .item__l {
    padding: 33px 0 33px 52px;
}

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

.sub-footer {
    display: flex;
    margin-top: 66px;
}

.sub-footer__left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #4e4e4e;
    font-size: 24px;
    font-family: "Montserrat", sans-serif;
    width: 50%;
    line-height: 1.2em;
}

.sub-footer__img {
    width: 50%;
}

.sub-footer__img img {
    width: 100%;
    height: auto;
    margin-top: -20px;
}

.footer {
    margin-top: -80px;
}

.footer__header {
    font-size: 70px;
    font-family: "Montserrat", sans-serif;
    color: #6276e7;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer__contacts {
    display: flex;
}

.footer__contacts_left {
    display: flex;
    flex-direction: column;
    margin-top: 25px;
}

.footer__contacts_item {
    display: inline-flex;
    flex-flow: wrap;
    margin-bottom: 15px;
    align-items: center;
}

.footer__contacts_item svg {

}

.footer__contacts_item span {
    margin-left: 17px;
    font-weight: bold;
    font-size: 20px;
    width: calc(100% - 21px - 17px);
    line-height: 1.2em;
}

.footer__contacts_map {
    width: 797px;
    height: 261px;
}

.footer__contacts_map iframe{
    width: 100%;
}

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


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

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

    .logo img{
        width: 160px;
    }

    .header .header__menu {
        display: none
    }

    .header .header__mm {
        display: flex;
        width: 75px;
        margin-left: 10px;
        margin-top: 2px;
    }

    .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;
    }

    .header__mm_phone {
        display: block;
    }

    .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: 65px;
    }

    .header2{
        display: flex;
        flex-direction: column;
    }

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

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

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

    .header2__txt_top{
        font-size: 32px;
    }

    .header2__txt_middle{
        font-size: 20px;
        margin-top: 5px;
        margin-bottom: 7px;
    }

    .header2__txt_bottom{
        font-size: 16px;
    }

    .item{
        position: relative;
        padding: 36px 17px;
        margin-bottom: 80px;
    }

    .item .item__img{
        position: absolute;
        top: -50px;
        left: calc(50% - 57px);
        width: 114px;
        height: 112px;
        margin-right: 0px;
    }

    .item .item__ttl{
        padding-top: 50px;
        font-size: 20px;
    }

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

    .item .item__r{
        max-width: unset;
        width: 100%;
    }

    .items{
        padding-top: 75px;
    }

    .sub-footer{
        margin-top: 25px;
    }

    .sub-footer{
        flex-flow: wrap;
    }

    .sub-footer__left{
        width: 100%;
        font-size: 16px;
        text-align: center;
        align-items: center;
    }

    .sub-footer__left img{
        width: 80%;
        max-width: 426px;
        display: block;
        margin: 0 auto 25px;
        height: auto;
    }

    .sub-footer__left_text{
        width: 90%;
    }

    .sub-footer__img{
        width: 100%;
    }

    .sub-footer__img img{
        margin-top: 25px;
        max-width: 600px;
    }

    .footer{
        margin-top: 22px;
    }

    .footer__header{
        font-size: 32px;
    }

    .footer__contacts{
        flex-flow: wrap;
    }

    .footer__contacts_left{
        margin-top: 0px;
        font-size: 16px;
        width: 100%;
    }

    .footer__contacts_map{
        width: calc(100% + 40px);
        height:194px;
        margin: 0 -20px;
    }
}