@import url('https://fonts.googleapis.com/css2?family=Niramit:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');

h1 {
    padding: 0;
    margin: 0;
}

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

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

* {
    outline: 0;
}

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

.header-wrap {
    background: #fff;
}

.header {
    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;
    width: 236px;
}

.logo img {
    width: 100%;
}

.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;
    align-items: center;
    height: 51px;
    border-radius: 35px;
    border: 3px solid #ee2929;
    width: 198px;
}

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

.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;
    text-transform: uppercase;
    font-size: 18px;

}

.menu ul span:hover {
    color: #ee2929;
}

.header2 {
    background-image: url(img/main-img.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

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

.header2__txt_top {
    font-weight: bold;
    font-size: 48px;
    line-height: 1.2em;
}

.header2__txt_middle {
    font-weight: 500;
    margin-top: 40px;
    font-size: 32px;
    line-height: 1.3em;
    width: 85%;
    margin-bottom: 420px;
}

.header2__txt_middle span {
    color: #ee2929;
}

.info {
    margin-top: 50px;
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 500;
}

.info__left {
    margin-left: 30px;
    margin-right: 70px;
}

.info__right {
    padding-right: 30px;
}

.info__right span {
    color: #ee2929;
}

.items {
    padding-top: 35px;
    margin-top: 43px;
    background-image: url(img/central-img.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.items__header {
    font-weight: bold;
    font-size: 48px;
    color: #fff;
    text-align: center;
    margin-bottom: 47px;
}

.items .item:last-child {
    margin-bottom: 78px;
}

.item {
    background: #fff7f7;
    border-radius: 15px;
    padding: 36px 38px;
    box-shadow: 0px 0px 21.1px #000;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    align-content: center;
    height: 318px;
    position: relative;
    overflow: hidden;
    margin-bottom: 45px;
    box-sizing: border-box;
}

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

.item .item__img {
    width: 193px;
    height: 193px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0px 6px 6px rgba(219, 53, 53, 0.3);
    border-radius: 193px;
    background: rgba(219, 53, 53, 0.3);
    position: absolute;
    bottom: -10px;
    right: -10px;
}

.item .item__ttl {
    font-weight: 600;
    font-size: 32px;
    padding-bottom: 20px;
    font-family: "Montserrat", sans-serif;
}

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

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

.item .item__tags {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 44px;
    margin-bottom: 10px;
}

.item .item__tag {
    border-radius: 35px;
    padding: 9px 25px;
    border: 3px solid #ee2929;
    font-size: 24px;
    margin-bottom: 14px;
}

.item__tag + .item__tag {
    margin-left: 10px;
}

#auto .item__tags {
    margin-top: 70px;
}

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

.item .item__r {
    max-width: 760px;
    margin-left: 95px;
    margin-top: 10px;
}

.footer {
    margin-top: 71px;
}

.footer__header {
    font-size: 48px;
    color: #db3535;
    margin-bottom: 45px;
    font-weight: bold;
}

.footer__contacts {

}

.footer__contacts_left {
    display: flex;
    flex-direction: row;
}

.footer__contacts_item {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    margin-right: 30px;
}

.footer__contacts_item_header {
    font-size: 24px;
    margin-bottom: 15px;
}

.footer__contacts_item_text {
    font-size: 20px;
    font-weight: bold;
}

.footer__contacts_map {
    width: 1180px;
    height: 280px;
    margin-top: 35px;
}

.footer__contacts_map iframe {
    width: 100%;
}

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


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

    .header {
        padding-right: 10px;
    }

    .logo {
        width: unset;
    }

    .header__logo {
        margin-left: -23px;
    }

    .logo img {
        width: 141px;
    }

    .header .header__menu {
        display: none
    }

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

    .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;
        background-image: url(img/main-img.small.png);
    }

    .header2__txt {
        order: 2;
        width: 90%;
        padding-top: 40px;
        max-width: 300px;
    }

    .header2__txt_top {
        font-size: 20px;
        font-weight: bold;
    }

    .header2__txt_middle {
        font-size: 14px;
        margin-top: 18px;
        margin-bottom: 172px;
    }

    .info {
        flex-direction: column;
        margin-top: 14px;
    }

    .info__left {
        margin-left: 0px;
        margin-right: 0px;
        width: 227px;
    }

    .info__left img {
        width: 100%;
    }

    .info__right {
        font-size: 15px;
        font-weight: 500;
        text-align: center;
        padding-right: 20px;
        padding-left: 20px;
        margin-top: -10px;
    }

    .info__right span {
        color: #000;
    }

    .item {
        position: relative;
        padding: 36px 17px 20px 17px;
        margin-bottom: 92px;
        height: unset;
        overflow: unset;
    }

    .item .item__img {
        position: absolute;
        top: -50px;
        left: calc(50% - 56px);
        width: 112px;
        height: 112px;
        margin-right: 0px;
        background: #E36666;
        box-shadow: 0px 0px 6px 6px #E36666;
    }

    .item .item__ttl {
        padding-top: 32px;
        font-size: 20px;
        text-align: center;
        padding-bottom: 9px;
        height: 56px;
    }

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

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

    .items {
        margin-top: 30px;
        padding-top: 20px;
        background-image: url(img/central-img.small.png);
    }

    .items__header {
        font-size: 20px;
        margin-bottom: 92px;
    }

    .item .item__tags {
        margin-top: 18px;
        margin-bottom: 0px;
        justify-content: center;
    }

    .item .item__tag {
        padding: 5px 12px;
        font-size: 14px;
        margin-left: 5px;
        margin-right: 5px;
        text-align: center;
    }

    .item__tag + .item__tag {
        margin-left: 5px;
    }

    #auto .item__tags {
        margin-top: 18px;
    }

    .items .item:last-child {
        margin-bottom: 54px;
    }

    .footer {
        margin-top: 22px;
    }

    .footer__header {
        font-size: 32px;
        margin-bottom: 25px;
    }

    .footer__contacts_item{
        margin-bottom: 15px;
    }

    .footer__contacts_item_header {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .footer__contacts_item_text {
        font-size: 16px;
    }

    .footer__contacts {
        flex-flow: wrap;
    }

    .footer__contacts_left {
        margin-top: 0px;
        font-size: 16px;
        width: 100%;
        flex-direction: column;
        margin-left: 15px;
        margin-bottom: 15px;
    }

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