/* mobile header */

/*#mobileheader {
    height: auto !important;
}

.mobile-header-bmc__wrapper {
    position: relative;
    display: grid;
    grid-template-rows: 1fr 59px;
    grid-template-columns: repeat(auto-fit, minmax(37px, 1fr));
    align-items: center;
    grid-gap: 24px 0;
    padding: 20px 40px 0;
}

.mobile-header-bmc__wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    background: #000000;
    width: 100%;
    height: 59px;
    z-index: -1;
}

.mobile-header-bmc__logo,
.mobile-header-bmc__slogan,
.mobile-header-bmc__social,
.mobile-header-bmc__phone {
    grid-row: 1;
}

.mobile-header-bmc__catalog,
.mobile-header-bmc__search,
.mobile-header-bmc__cab,
.mobile-header-bmc__wclink,
.mobile-header-bmc__regions,
.mobile-header-bmc__burger {
    grid-row: span 1 / -1;
    align-self: stretch;
}

.mobile-header-bmc__logo {
    grid-column: 1 / 6;
}

.mobile-header-bmc__catalog {
    grid-column: 1 / 8;
}

.mobile-header-bmc__slogan {
    grid-column: 7 / -11;
}

.mobile-header-bmc__social {
    grid-column: span 2 / -9;
}

.mobile-header-bmc__regions {
    grid-column: 8 / -10;
}

.mobile-header-bmc__search {
    grid-column: span 2 / -8;
}

.mobile-header-bmc__cab {
    grid-column: span 2 / -6;
}

.mobile-header-bmc__wclink {
    grid-column: span 4 / -2;
}

.mobile-header-bmc__cab a,
.mobile-header-bmc__wclink .wrap_icon,
.mobile-header-bmc__burger {
    border-left: 1px solid #454545;
}


.mobile-header-bmc__logo img {
    width: 100%;
    max-width: 191px;
}

.mobile-header-bmc__social .social-icons ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}

.mobile-header-bmc__social .social-icons li {
    display: block;
    padding: 0;
    margin: 0;
}

.mobile-header-bmc__social .social-icons li a {
    width: 28px;
    height: 28px;
    margin: 0;
    border-radius: 3px;
}

.mobile-header-bmc__social .social-icons li.viber a {
    background: #b9b9b9 url("../images/svg/social/viber-new.svg") no-repeat center;
}

.mobile-header-bmc__social .social-icons li.whats a {
    background: #b9b9b9 url("../images/svg/social/whatsapp-new.svg") no-repeat center;
}

.mobile-header-bmc__wclink {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

#mobileheader .mobile-header-bmc__wclink .wrap_icon {
    display: block;
    height: 100%;
    padding: 0;
    line-height: normal;
}

#mobileheader .mobile-header-bmc__wclink .wrap_icon:nth-child(2) {
    display: none;
}

#mobileheader .mobile-header-bmc__wclink .wrap_icon .svg svg path {
    fill: #fff;
}

.mobile-header-bmc__catalog a {
    display: grid;
    grid-template-columns: 15px 1fr 9px;
    align-items: center;
    grid-gap: 26px;
    height: 100%;
    padding: 0 24px;
    background: #FAAD00;
    font-size: 15px;
    text-transform: uppercase;
    color: white;
    line-height: 0;
}

.mobile-header-bmc__catalog a::after {
    font-family: FontAwesome;
    content: "\f107";
    font-size: 14px;
    text-align: center;
}

#mobileheader .mobile-header-bmc__catalog a .burger {
    width: 15px;
    height: 12px;
    margin-right: 26px;
}

#mobileheader .mobile-header-bmc .burger .svg-burger {
    display: block;
    min-height: 16px;
    min-width: 20px;
    position: relative;
    top: auto;
    left: auto;
    margin: 0;
    background-size: cover;
}

#mobileheader .mobile-header-bmc__catalog .burger .svg-burger {
    width: 15px;
    height: 12px;
    min-width: 100%;
    min-height: 100%;
}


.mobile-header-bmc__regions .region_wrapper {
    display: grid;
    grid-template-columns: 18px max-content 1fr;
    align-items: center;
    grid-gap: 10px;
    max-width: none;
    height: 100%;
}

.mobile-header-bmc__regions .region_wrapper .city_title {
    color: white;
}

.mobile-header-bmc__regions .region_wrapper::before {
    position: relative;
    display: block;
    background: url('/bitrix/templates/aspro_next_so/images/svg/marker-new.svg') center no-repeat;
}

.mobile-header-bmc__regions .region_wrapper .js_city_chooser {
    display: flex;
    align-items: center;
    gap: 5px;
    padding-right: 0;
}

.mobile-header-bmc__regions .region_wrapper .arrow {
    position: relative;
    bottom: auto;
    right: auto;
}

.mobile-header-bmc__regions .region_wrapper .arrow i {
    width: 9px;
    height: 5px;
    background: url(/bitrix/templates/aspro_next_so/images/svg/next.svg) -28px -336px no-repeat;
}

#mobileheader .mobile-header-bmc__search button {
    display: block;
    max-width: 63px;
    width: 100%;
    height: 100%;
    margin-left: auto;
}

#mobileheader .mobile-header-bmc__search button .svg-inline-search {
    top: auto;
}

.mobile-header-bmc__cab a {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 63px;
    width: 100%;
    height: 100%;
    margin-left: auto;
}

.mobile-header-bmc__wclink a .svg,
.mobile-header-bmc__cab a .svg {
    height: 18px;
    top: auto;
    display: block;
    text-rendering: auto;
    vertical-align: middle;
    min-width: auto;
    min-height: auto;
    position: relative;
}

.mobile-header-bmc__cab .wrapp-cabinet-menu {
    height: 100%;
}

.mobile-header-bmc__cab a .svg svg {
    width: 100%;
    height: 100%;
}

#mobileheader .mobile-header-bmc__wclink .wrap_icon .small-block,
#mobileheader .mobile-header-bmc__wclink .wrap_icon .small-block div,
#mobileheader .mobile-header-bmc__wclink .wrap_icon .small-block div a,
#mobileheader .mobile-header-bmc__wclink .wrap_icon.top_basket a {
    height: 100%;
}

#mobileheader .mobile-header-bmc__wclink .wrap_icon div div a,
#mobileheader .mobile-header-bmc__wclink .wrap_icon.top_basket a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
}

#mobileheader .mobile-header-bmc__wclink .wrap_icon a > span {
    display: flex;
    align-items: center;
    gap: 8px;
}

#mobileheader .mobile-header-bmc__wclink .basket-link .count {
    position: relative;
    top: auto;
    left: auto;
    box-shadow: none;
    background: #FAAD00;
    border-radius: 3px;
    font-size: 12px;
}

.mobile-header-bmc__phone {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
    grid-column: span 8 / -1;
}

.mobile-header-bmc__burger {
    grid-column: span 1 / -1;
}

.mobile-header-bmc__phone .schedule {
    font-size: 12px;
    color: #A4A4A4;
}

#mobileheader .mobile-header-bmc__burger .burger {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    justify-content: end;
}

.mobile-header-bmc__phone .callback-block.btn.btn-default.white:not(.grey):hover {
    padding: 17px 20px 18px;
}

#mobilemenu {
    left: 50%;
    bottom: auto !important;
    width: calc(100% - 40px) !important;
    margin-left: 20px;
    margin-right: 20px;
    padding: 19px 23px 0;
    transform: translateX(calc(-50% - 20px));
}

#mobilemenu.dropdown {
    border-radius: 13px;
}

#mobilemenu .bm_close_mobile_menu {
    display: block;
    width: 19px;
    height: 19px;
    margin-left: auto;
    background-image: url("/bitrix/templates/aspro_next_so/images/svg/Close.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#mobilemenu .menu.top ul > li {
    width: auto;
    border-bottom: 1px solid #9D9D9D !important;
}

#mobilemenu .menu ul > li a {
    font-weight: 400 !important;
    text-transform: uppercase;
    text-align: center;
}


#mobilemenu .social-icons {
    padding: 34px 10px 41px;
    border-bottom: 0 !important;
}

#mobilemenu .social-icons ul {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 0 !important;
}

#mobilemenu .social-icons ul li a {
    display: block;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 3px;
    background-color: #B9B9B9;
    background-position: center;
    background-repeat: no-repeat;
    font-size: 0;
}

#mobilemenu .social-icons li.viber a {
    background-image: url("../images/svg/social/viber-white.svg");
}

#mobilemenu .social-icons li.whats a {
    background-image: url("../images/svg/social/whatsapp-white.svg");
}

#mobilemenu .social-icons li.vk a {
    background-image: url("../images/svg/social/vk-white.svg");
}

#mobilemenu .social-icons li.odn a {
    background-image: url("../images/svg/social/ok-white.svg");
}*/

/* mobile header end */

/*.inline-search-block {
    left: 50%;
    width: calc(100% - 40px) !important;
    margin-left: 20px;
    margin-right: 20px;
    padding: 50px 0;
    transform: translateX(calc(-50% - 20px));
}

.inline-search-block.with-close .search .search-input-div {
    padding: 0 90px !important;
}

.inline-search-block.fixed.big.show {
    transform: translateX(calc(-50% - 20px)) translateY(102px)
}

.inline-search-block.fixed.big .search .search-button-div {
    top: 0 !important;
}

.inline-search-block.fixed.big .search .btn-search {
    background: url("../images/svg/search-grey.svg") no-repeat center !important;
    font-size: 0 !important;
    border: 0 !important;
}

.inline-search-block.with-close .search .btn-search {
    right: 80px !important;
}


.inline-search-block.fixed.big .search .search-input {
    border-bottom: 1px solid #000 !important;
    padding: 12px 0 !important;
    height: auto !important;
    font-size: 12px !important;
}

.inline-search-block.with-close.fixed.big .search .close-block {
    margin-top: -45px;
    margin-right: -45px;
}*/

.wraps > .wrapper_inner.wide_page > .middle .maxwidth-theme.home_inner_block_wrapper {
    padding-top: 0;
    padding-bottom: 0;
}

.maxwidth-theme.specposhiv-description {
    margin-bottom: 50px;
}

.maxwidth-theme.specposhiv-main {
    padding-top: 50px;
    padding-bottom: 70px;
}

.maxwidth-theme.transparent,
.page-top-wrapper.grey .maxwidth-theme {
    background: none;
}

.specposhiv-description p {
    font-size: 25px;
    font-weight: 400;
}

.specposhiv-main__title {
    text-transform: uppercase;
    font-size: 24px;
    margin-bottom: 50px;
}

.specposhiv-main__title--tc {
    text-align: center;
}

.main_stages_work__list {
    position: relative;
    display: grid;
    grid-template-columns: minmax(490px, 620px) 218px;
    grid-template-rows: repeat(auto-fill, 54px);
    grid-auto-flow: column;
    grid-gap: 52px 10px;
    justify-content: center;
    width: max-content;
    height: 376px;
    margin: 0 auto;
    counter-reset: section;
    list-style-type: none;
}

.main_stages_work__list::before,
.main_stages_work__list::after {
    position: absolute;
    content: '';
    width: 2px;
    background: #FAAD00;
}

.main_stages_work__list::before {
    left: 0;
    height: 90%;
    margin-left: 26px;
}

.main_stages_work__list::after {
    right: 0;
    height: 90%;
    transform: translateX(-190px);
}

.main_stages_work__item {
    display: flex;
    gap: 25px;
    align-items: center;
    padding-left: 0;
    z-index: 2;
}

.main_stages_work__item:not(:last-child)::before {
    counter-increment: section;
    content: counters(section, ".");
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 30px;
    background: #FAAD00;
    font-size: 26px;
    color: white;
}

.main_stages_work__item:last-child::before {
    content: '';
    width: 20px;
    height: 20px;
    margin-left: 17px;
    border-radius: 30px;
    background: #FAAD00;
}

.main_stages_work__text {
    margin-bottom: 0;
    margin-left: 84px;
}

.advantages__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(257px, 376px));
    justify-content: space-between;
    grid-gap: 60px 10px;
}

.advantages__item {
    text-align: center;
}

.advantages__icon {
    margin-bottom: 50px;
}

.service_capabilities__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(343px, 615px));
    grid-auto-rows: 80px;
    grid-gap: 30px 0;
    justify-content: center;
}

.service_capabilities__item {
    position: relative;
    display: flex;
    align-items: center;
}

.service_capabilities__item::after {
    content: '';
    position: absolute;
    right: 0;
    height: 100%;
    border: 40px solid transparent;
    border-left: 40px solid #FAAD00;
}

.service_capabilities__text {
    display: flex;
    align-items: center;
    gap: 18px;
    width: calc(100% - 80px);
    height: 100%;
    padding: 31px 10px 31px 24px;
    background-color: #FAAD00;
}

.service_capabilities__text::before {
    content: '';
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    background: white;
}

.service_capabilities__text p {
    margin-bottom: 0;
    text-transform: uppercase;
    font-size: 15px;
}

.specposhiv-faq__main-title {
    font-size: 25px;
    margin-bottom: 24px;
}

.specposhiv-faq__main-desc {
    font-size: 16px;
    margin-bottom: 50px;
}

.specposhiv-faq__item {
    margin-bottom: 20px;
    padding-right: 30px;
    border-bottom: 1px solid #D2D2D2;
}

.specposhiv-faq__title {
    justify-content: space-between;
    padding-bottom: 20px;
}

.specposhiv-faq__title p {
    font-size: 17px;
    color: #373737;
    transition: all .5s ease;
}

.specposhiv-faq__title:hover p,
.specposhiv-faq__title.active p {
    color: #F9AD00;
}

.specposhiv-faq__desc {
    margin-bottom: 20px;
    font-size: 15px;
}

.bm-spoiler {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.bm-spoiler p {
    margin-bottom: 0;
}

.bm-spoiler::after {
    content: '';
    width: 21px;
    height: 11px;
    background: url("../images/svg/bm-spoiler/arrow-grey.svg") no-repeat center;
    transition: all .5s ease;
}

.bm-spoiler:hover::after,
.bm-spoiler.active::after {
    background: url("../images/svg/bm-spoiler/arrow-yellow.svg") no-repeat center;
}

.bm-spoiler-content {
    display: none;
}

.bm-spoiler-content.active {
    display: block;
}

.help-block {
    max-width: 1056px;
    margin: 60px auto 0;
    text-align: center;
}

.help-block p {
    margin-bottom: 40px;
    color: #373737;
}

.btn.help-block__btn {
    text-transform: uppercase;
}

.free_consultation {
    padding: 70px;
    background: url("../images/free_consultation.jpg") no-repeat center;
}

.free_consultation__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    grid-gap: 420px;
}

.free_consultation__left {
    justify-self: end;
}

.free_consultation__left p {
    font-size: 29px;
    text-transform: uppercase;
    line-height: normal;
}

.free_consultation__right .inline3 {
    width: 100%;
    max-width: 320px;
}

.footer-mobile {
    display: none;
}

.footer-slogan {
    font-size: 15px;
    color: white;
}

.specposhiv-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ind_posiv_frame {
    top: 50% !important;
    transform: translateX(-50%) translateY(-50%) !important;
    left: 50% !important;
    margin-left: 0 !important;
}

@media screen and (max-width: 1208px) {
    .advantages__list {
        grid-template-columns: repeat(3, 1fr);
    }

    .service_capabilities__list {
        grid-template-columns: repeat(2, 1fr);
    }

    .free_consultation__grid {
        grid-gap: 356px;
    }
}

@media screen and (max-width: 960px) {
    .footer-logo {
        width: 100%;
    }

    .maxwidth-theme.specposhiv-main {
        padding-top: 80px;
    }

    .main_stages_work__list {
        grid-template-columns: 1fr 218px;
    }

    .free_consultation {
        padding: 0 70px 70px;
        background: url("../images/free_consultation-960.jpg") no-repeat bottom;
    }

    .free_consultation__grid {
        grid-template-columns: 1fr;
        grid-gap: 0;
    }


    .free_consultation__left {
        justify-self: center;
    }

    .free_consultation__left p {
        max-width: 365px;
        margin-bottom: 106px;
        text-align: center;
    }

    .free_consultation__left p br {
        display: none;
    }

    .free_consultation__right .inline3 {
        margin-left: auto;
    }

    .service_capabilities__text {
        padding: 16px 10px 16px 24px;
    }

    .service_capabilities__list {
        grid-auto-rows: 1fr;
        grid-gap: 20px;
    }

    .service_capabilities__item {
        overflow: hidden;
    }

    .service_capabilities__text {
        width: calc(100% - 40px);
    }

    .service_capabilities__item::after {
        margin-right: -40px;
    }

    /* footer start */
    .row.bottom-middle {
        display: grid;
        grid-gap: 50px 0;
        grid-template-columns: minmax(200px, 480px) minmax(100px, 280px);
        justify-content: space-between;
        margin: 0;
    }

    .row.bottom-middle::before,
    .row.bottom-middle::after {
        content: none;
    }

    .row.bottom-middle .col-md-5 {
        grid-row: 1;
        grid-column: 1 / span 2;
    }

    .row.bottom-middle .col-md-7 {
        grid-row: 2;
        grid-column: 1;
    }

    .row.bottom-middle .mobile_contacts_block_footer {
        grid-row: 2;
        grid-column: 2;
    }

    .row.bottom-middle .col-md-5 .row {
        margin: 0;
    }

    .row.bottom-middle .row .col-lg-6.col-md-12.col-sm-6 {
        display: grid;
        grid-template-columns: 1fr 340px 1fr;
        grid-gap: 15px 0;
        width: 100%;
        padding: 0 0 30px;
        border-bottom: 1px solid #9D9D9D;
    }

    .row.bottom-middle .subscribe_wrap {
        grid-column: 3;
        grid-row: 1 / span 2;
    }

    .row.bottom-middle .social-block.rounded_block {
        grid-column: span 2;
    }

    .row.bottom-middle .social-icons {
        display: grid;
        grid-template-columns: 1fr 340px;
        align-items: center;
        margin-bottom: 0;
    }

    .row.bottom-middle .social-icons .small_title {
        grid-column: 2;
        grid-row: 1;
        margin-bottom: 0 !important;
        text-align: left;
        font-size: 18px;
    }

    .row.bottom-middle .social-icons ul {
        text-align: left;
    }

    .footer-mobile {
        display: block;
    }

    footer .ext_view .row.bottom-middle .subscribe-form {
        margin: 0;
    }

    footer .ext_view .row.bottom-middle .subscribe-form form.sform {
        margin-top: 30px;
    }

    .info.contacts_block_footer {
        display: none;
    }

    .info.contacts_block_footer.contacts_block_footer--mobile {
        display: block;
    }

    .footer-grey .row.bottom-middle .bottom-menu a {
        font-weight: bold;
        font-size: 15px;
    }

    footer .address.blocks {
        font-weight: bold;
    }

    footer .row.bottom-middle .info .phone.blocks::before {
        background: url("../images/svg/footer/footer_phone.svg") no-repeat;
        background-size: cover;
        width: 20px;
        height: 20px;
    }

    footer .row.bottom-middle .info .email.blocks::before {
        background: url("../images/svg/footer/footer_mail.svg") no-repeat;
        background-size: cover;
        width: 20px;
        height: 18px;
    }

    footer .row.bottom-middle .info .address.blocks::before {
        background: url("../images/svg/footer/footer_address.svg") no-repeat;
        background-size: cover;
        width: 17px;
        height: 20px;
    }

    footer .ext_view .bottom-under .inner-wrapper {
        display: grid;
        grid-template-columns: 1fr 0fr;
        align-items: center;
    }

    footer .ext_view .bottom-under .inner-wrapper::before,
    footer .ext_view .bottom-under .inner-wrapper::after {
        content: none;
    }

    .print-block,
    #bx-composite-banner {
        display: none !important;
    }

    footer#footer .copy-block {
        width: 100%;
    }

    footer .ext_view .bottom-under {
        margin-left: 15px;
        margin-right: 15px;
    }

    footer .bottom-under .inner-wrapper .copy-block > div {
        font-weight: bold;
    }

    .subscribe_wrap .subscribe-form form.sform > div {
        width: 100% !important;
    }

    /*  footer end  */
    /* header mobile start */
    .mobile-header-bmc__wrapper {
        grid-template-columns: repeat(auto-fit, minmax(40px, 1fr));
    }

    /* header mobile end */
}

@media screen and (max-width: 870px) {
    /* header mobile start */
    .mobile-header-bmc__wrapper {
        padding: 20px 30px 0;
    }

    .mobile-header-bmc__catalog {
        grid-column: 1 / 6;
    }

    .mobile-header-bmc__regions {
        grid-column: 6 / -7;
    }

    .mobile-header-bmc__search {
        grid-column: span 1 / -6;
    }

    .mobile-header-bmc__cab a {
        width: 100%;
    }

    .mobile-header-bmc__cab {
        grid-column: span 1 / -5;
    }

    .mobile-header-bmc__wclink {
        grid-column: span 2 / -2;
    }

    .mobile-header-bmc__wclink .wrap_icon a {
        padding: 0 8px !important;
    }

    /* header mobile end */
    .row.bottom-middle .row .col-lg-6.col-md-12.col-sm-6 {
        grid-template-columns: 1fr 1.5fr 1fr;
        grid-gap: 15px;
    }

    .row.bottom-middle .social-icons {
        grid-template-columns: 1fr 1.4fr;
    }

    footer .ext_view .row.bottom-middle .subscribe-form form.sform {
        margin-top: 10px;
    }
}

@media screen and (max-width: 720px) {
    /* header mobile start */
    .mobile-header-bmc__wrapper {
        grid-template-rows: 1fr 0fr 59px;
        padding: 25px 15px 0;
    }

    .mobile-header-bmc__social {
        grid-column: span 2 / -1;
        grid-row: 2;
    }

    .mobile-header-bmc__slogan {
        grid-column: 1 / -3;
        grid-row: 2;
    }

    .mobile-header-bmc__burger {
        grid-row: 1;
        grid-column: span 1 / -1;
        border-left: 0;
        align-self: center;
    }

    .mobile-header-bmc__phone {
        grid-column-end: -3;
    }

    #mobileheader .mobile-header-bmc__burger .burger {
        justify-content: center;
        width: 40px;
        height: 40px;
        background: #FAAD00;
        border-radius: 21px;
    }

    .mobile-header-bmc__wclink {
        grid-column: span 2 / -1;
    }

    .mobile-header-bmc__cab {
        grid-column: span 1 / -4;
    }

    .mobile-header-bmc__search {
        grid-column: span 1 / -5;
    }

    .mobile-header-bmc__regions {
        grid-column: 6 / -6;
    }

    /* header mobile end */
    .main_stages_work__list {
        grid-template-columns: 1fr;

    }

    .service_capabilities__text {
        padding: 5px 5px 5px 24px;
    }

    .main_stages_work__list::after {
        right: calc(100% - 510px);
        transform: translateX(0);
    }

    .row.bottom-middle {
        grid-template-columns: repeat(2, 1fr);
    }

    footer .ext_view.footer_inner {
        text-align: left;
    }

    .row.bottom-middle .row .col-lg-6.col-md-12.col-sm-6 {
        grid-template-columns: repeat(2, 1fr);
    }

    .row.bottom-middle .social-block.rounded_block {
        grid-column: 1;
        grid-row: 2;
    }

    .row.bottom-middle .subscribe_wrap {
        grid-column: 2;
        grid-row: 2;
    }

    footer .ext_view .bottom-under .inner-wrapper {
        grid-template-columns: 1fr;
    }

    footer .ext_view .info .blocks {
        margin-left: 0;
    }
}

@media screen and (max-width: 690px) {
    .main_stages_work__list {
        grid-auto-flow: row;
        grid-auto-rows: 54px;
        grid-template-rows: none;
        width: auto;
        height: auto;
    }

    .main_stages_work__list::before {
        height: 97%;
    }

    .main_stages_work__list::after {
        content: none;
    }
}

@media screen and (max-width: 640px) {
    /* header mobile start */
    .mobile-header-bmc__wrapper {
        grid-gap: 17px 0;
        padding: 20px 15px 20px;
    }

    .mobile-header-bmc__regions .region_wrapper {
        padding: 0 5px;
    }

    .mobile-header-bmc__wrapper::after {
        content: none;
    }

    .mobile-header-bmc__phone {
        grid-row: -1;
        grid-column: 1 / -1;
    }

    .mobile-header-bmc__wclink,
    .mobile-header-bmc__cab,
    .mobile-header-bmc__regions,
    .mobile-header-bmc__search {
        display: none;
    }

    .mobile-header-bmc__slogan,
    .mobile-header-bmc__catalog {
        grid-column: 1 / -1;
    }

    .mobile-header-bmc__social {
        grid-row: -1;
        grid-column: 1 / -9;
    }

    .mobile-header-bmc__social .social-icons ul {
        justify-content: flex-start;
    }

    .mobile-header-bmc__catalog a {
        background: #000000;
    }

    /* header mobile end */
    .maxwidth-theme.specposhiv-description,
    .wraps > .wrapper_inner.wide_page > .middle .maxwidth-theme.home_inner_block_wrapper {
        display: none;
    }

    .maxwidth-theme.specposhiv-main {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .advantages__list {
        grid-template-columns: 1fr;
        grid-auto-columns: 1fr;
        grid-gap: 20px 0;
    }

    .advantages__icon {
        margin-bottom: 16px;
    }

    .specposhiv-main__title {
        margin-bottom: 40px;
        font-size: 20px;
    }

    .service_capabilities__list {
        grid-template-columns: 1fr;
        grid-auto-columns: 1fr;
        grid-auto-rows: 80px;
        grid-gap: 18px;
    }

    .free_consultation__left p {
        font-size: 20px;
    }

    .free_consultation__right .inline3 {
        max-width: 100%;
        margin-left: 0;
    }

    /* footer start */
    .row.bottom-middle {
        grid-template-columns: 1fr;
        justify-items: center;
        grid-gap: 36px;
    }

    .row.bottom-middle .col-md-5 {
        grid-column: auto;
    }

    .row.bottom-middle .row .col-lg-6.col-md-12.col-sm-6 {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    footer .ext_view .subscribe-form .top_blocks .title {
        width: 100% !important;
    }

    .footer-slogan,
    .row.bottom-middle .social-block.rounded_block,
    .row.bottom-middle .col-md-7,
    .row.bottom-middle .subscribe_wrap {
        grid-column: auto;
        grid-row: auto;
    }

    .row.bottom-middle .social-icons {
        grid-template-columns: 1fr;
    }

    .row.bottom-middle .social-icons .small_title {
        grid-column: auto;
    }

    .footer-logo {
        text-align: center;
    }

    .row.bottom-middle .col-md-7,
    .row.bottom-middle .col-md-5 {
        width: 100%;
    }

    .row.bottom-middle .col-md-7 .row {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(147px, 1fr));
    }

    .row.bottom-middle .col-md-7 .row::before,
    .row.bottom-middle .col-md-7 .row::after {
        content: none;
    }

    .info.contacts_block_footer--mobile {
        padding-left: 30px;
        padding-right: 30px;
    }

    footer .footer-grey.ext_view .bottom-under {
        width: auto !important;
        margin-left: 15px !important;
        margin-right: 15px !important;
    }

    footer .ext_view .bottom-under .inner-wrapper {
        margin-top: 26px !important;
    }

    .subscribe_wrap {
        margin-top: 35px;
    }

    footer .bottom-under .inner-wrapper .copy-block > div {
        font-size: 13px;
    }

    /* footer end */
}

@media screen and (max-width: 425px) {
    /* header mobile start */
    /*.mobile-header-bmc__social {
        grid-row: 4;
        grid-column: 1 / -1;
    }

    .mobile-header-bmc__phone {
        grid-row: 5;
        justify-content: space-between;
    }

    .mobile-header-bmc__phone .callback-block.btn.btn-default.white:not(.grey) {
        padding: 20px 31px;
        font-size: 12px;
    }

    #mobilemenu.dropdown {
        top: 50% !important;
        transform: translateX(calc(-50% - 20px)) translateY(-50%);
    }

    #mobilemenu .bm_close_mobile_menu {
        width: 41px;
        height: 41px;
        border-radius: 21px;
        background-color: #FAAD00;
        background-image: url("/bitrix/templates/aspro_next_so/images/svg/Close_white.svg");
        background-size: 14px;
    }*/
    /* header mobile end */
    
    .free_consultation {
        background: url("../images/free_consultation-375.jpg") no-repeat center 115px;
        padding: 0 16px;
    }

    .wraps > .wrapper_inner.wide_page > .middle .free_consultation .maxwidth-theme {
        padding: 0;
    }

    .free_consultation__grid {
        grid-template-rows: 80px 458px max-content;
        grid-gap: 30px;
    }

    .free_consultation__right {
        grid-row: -1;
    }

    .specposhiv-faq__desc,
    .specposhiv-faq__main-desc {
        font-size: 12px;
    }

    .free_consultation__left p {
        margin-bottom: 0;
    }

    .specposhiv-faq__main-desc {
        margin-bottom: 25px;
    }

    .specposhiv-faq__item {
        padding-right: 0;
        margin-bottom: 15px;
    }

    .specposhiv-faq__title {
        padding-bottom: 15px;
    }

    .specposhiv-faq__title p {
        font-size: 14px;
    }

    .specposhiv-faq__desc {
        margin-bottom: 15px;
    }

    .help-block {
        margin-top: 25px;
    }

    footer .info.contacts_block_footer {
        max-width: 100% !important;
    }

    .row.bottom-middle .col-lg-6.col-md-12.col-sm-6 .social-block.rounded_block {
        display: none;
    }

    .row.bottom-middle .col-md-7 .row .col-md-4.col-sm-4:nth-child(2) {
        grid-row: span 2;
    }

    footer .ext_view .info .blocks {
        margin-right: 0;
    }

    footer .ext_view .info .blocks:last-child {
        margin-bottom: 0;
    }

    .footer-slogan,
    .row.bottom-middle .subscribe_wrap {
        text-align: center;
    }

    .row.bottom-middle .subscribe_wrap {
        margin: 35px 35px 0;
    }

    .ind_posiv_frame {
        width: 95%;
    }
}