/*Обнуление*/
*{padding:0;margin:0;border:0;}
*,*:before,*:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;}
:focus,:active{outline:none;}
a:focus,a:active{outline:none;}
nav,footer,header,aside{display:block;}
html,body{height:100%;width:100%;font-size:100%;line-height:1;font-size:14px;-ms-text-size-adjust:100%;-moz-text-size-adjust:100%;-webkit-text-size-adjust:100%;}
input,button,textarea{font-family:inherit;}
input::-ms-clear{display:none;}
button{cursor:pointer;}
button::-moz-focus-inner{padding:0;border:0;}
a,a:visited{text-decoration:none;}
a:hover{text-decoration:none;}
ul li{list-style:none;}
img{vertical-align:top;}
h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit;}
/*--------------------*/

body {
    height: 100%;
    font-family: 'Montserrat', sans-serif;
    height: 100%;
    font-size: 16px;
    color: black;
}
.wrapper {
    min-height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
   
}
[class*="__container"] {
    max-width: 1200px;
    margin: 0px auto;  
    border: 0px solid red;
}
._ibg {
    position: relative;
}
._ibg img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
}
.image__mobile {
    display: none; 
}

/* ------------Header------------- */

.header {
    background-color: #292727;
    position: fixed;
    width: 100%;
    height: 60px;
    left: 0;
    top: 0;
    z-index: 50;
}
.header__container {
    
    
}
.header__row-info {
    display: flex;
    /* min-height: 60px; */
    align-items: center; 
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}
.header__logo {
    width: 200px;
    font-size: 28px;
    letter-spacing: 2px;
    font-weight: 700;
    font-style: normal;
    color: white;
    margin: 0px 30px;
}
.header__info {
    width: 300px;
    font-size: 26px;
    letter-spacing: 2px;
    font-weight: 700;
    font-style: normal;
    color: white;
    padding-bottom: 6px;
}
.header__menu {
    width: 100%;
    height: 60px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

/* ---Новое меню--- */

.menu__list {
    display: flex;
    flex-direction: row;
    justify-content: center;
    /* flex-wrap: wrap; */
    border: 0px solid white;
}
.menu__link {
    color: white;
    font-size: 16px;
    font-weight: 400;
    margin-right: 30px;
    transition-duration: 500ms;
    transition: transform 124ms linear;
}
.menu__link:hover {
    /* text-decoration: underline; */
    transform: scale(1.1);
}
.menu__link:hover {
    
}
.menu__item {
    margin-left: 30px;
    transition: transform 124ms linear;
}
.menu__item:hover {
    transform: scale(1.1);
}

/* ------------Main------------- */

.page {
    flex: 1 1 auto; 
}
.main-block {
    position: relative;
}
.main-block__container {
    position: relative;
    left: 0;
    top: 0;
}
.main-block__body {
    position: relative;
    width: 500px;
    height: 140px;
    background-color: rgba(46, 43, 43, 0.8);
    left: 0px;
    top: 480px;
    padding: 10px 0 0 10px;
    font-weight: 400;
    color: aliceblue;
    font-size: 26px;
    line-height: 34px;
    letter-spacing: -0.02em;
    z-index: 3;
}
.main-block__body-right {
    position: absolute;
    right: 0px;
    top: 350px;
    width: 400px;
    height: 120px;
    background-color: rgba(46, 43, 43, 0.8);
    color: aliceblue;
    padding: 10px 0 0 10px;
    font-weight: 400;
    font-size: 26px;
    line-height: 34px;
    letter-spacing: -0.02em;
    z-index: 5;
}
.main-blok__finish {
    position: relative;
    padding: 500px 0 0 0px;
}
.main-block__img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.main-block__img img {
    object-position: top;
}
/* Блок делителя */

.main-block__title {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 50px 0px;
}
.main-block__title-items {
    font-style: normal;
    font-weight: 700;
    font-size: 26px;
    line-height: 44px;
    border: 0px solid blue;
}

/* Блок гарантии */

.garand__block {

}

.garand__block-row {
   
}
.garand__block-row-section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 50px;
}
.garand__block-row-section:last-child {
    margin-bottom: 0px;
}
.garand__block-items {
    display: flex;
    flex-direction: row;
    width: 470px;
    height: 110px;
    border: 0px solid black;
}
.items__icon {
    padding: 10px 0 0 5px;
    
}
.items__icon img {
    max-width: 90px;
    max-height: 90px;
}
.items__text {
    display: flex;
    align-items: center;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.8;
    margin-left: 20px;
   
}

/* Страница услуг по дизенсекции*/

.services__block-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 60px;
}
.services__block-row:last-child {
    margin-bottom: 0px;
}
.block__items {
    position: relative;
    top: 0;
    left: 0; 
    box-shadow: 7px 7px 5px rgb(116, 114, 114);
}
.services-image {
    width: 470px;
    height: 600px;
    object-fit: cover;  
}
.block__items-content {
    position: absolute;
    left: 0;
    bottom: 0px;
    width: 100%;
    height: 250px;
    background-color: #000000;
    opacity: 0.9;
}
.block__items-content:hover {
    background-color: #000000;
    opacity: 1;
}
.items__title {
    position: absolute;
    left: 10px;
    bottom: 200px;
    color: aliceblue;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 1.2;
}
.items__description {
    position: absolute;
    left: 10px;
    top: 70px;
    color: aliceblue;
    font-size: 20px;
    line-height: 1.2;
}
/* Блок услуг по канализации */

.page__services-sewage {

}
.services__sewage-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between; 
    flex-wrap: wrap;
    margin-bottom: 0px;
    
}
/* .services__sewage-row:last-child {
    margin-bottom: 0px;
} */

.services__sewage-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 7px 7px 5px rgb(116, 114, 114); 
    margin-bottom: 60px;
    border: 0px solid red;
}

.sewage-image {
    width: 380px;
    height: 380px;
}
.sewage__title {
    margin-top: 10px;
    padding-bottom: 10px;
    font-size: 26px;
    font-weight: 400;
    width: 300px;
    text-align: center; 
}
._ind {
    margin-top: 0px;
}
/* Форма */

.faq__block-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.faq__text {
    color:aliceblue;
    font-size: 26px;
    margin: 10px 10px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    margin-top: 30px;
    margin-bottom: 60px;
    
}
.faq__block-form {
    width: 350px;
    height: 450px;
    background-color: #706E6E;
    padding-left: 34px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    /* justify-content: center; */
    align-self: center;
}
.form-1 {
    width: 250px;
    height: 40px;
    border: 1px solid black;
    margin-top: 30px;
    margin-left: 10px;
    border-radius: 10px;
    padding: 0 0 0 15px; 
}
.faq__img img {
    width: 350px;
    height: 450px;
}
.faq__button {
    width: 120px;
    height: 35px;
    background-color: #444444;
    color: aliceblue;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    margin-top: 30px;
    margin-left: 150px;
    border-radius: 10px;
}
.faq__button:hover{
    border: 1px solid white;
}
.faq__button:active{
    color: red;
}
/* ------------Подвал------------- */

.footer {
    background-color: #292727;
    width: 100%;
    height: 350px;
}
.footer__row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 30px 7px 0 7px;
}
.footer__block {
    width: 50%;
    border-right: 3px solid white;
    text-align: center;
}
.footer__block:last-child {
    border-right: 0px solid white;
}
.footer__block-text {
    color: white;
    font-size: 20px;
    text-transform: uppercase;
    line-height: 1.3;
}
.footer__block-tel {
    margin-top: 30px;
    color: white;
    font-size: 24px;
    transition-duration: 500ms;
    transition: transform 124ms linear;
}
.footer__block-tel:hover {
    color: rgb(207, 200, 200);
    transform: scale(1.1);
}
.footer__info {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.footer__info-title {
    font-size: 28px;
    letter-spacing: 2px;
    font-weight: 700;
    font-style: normal;
    color: white;
    margin-top: 30px;
}
.footer_imfo-other {
    color: white;
    margin-top: 15px;
}

/* Адаптив под планшет <992 */
@media (max-width: 991.8px) {

/* Адаптив под мобилку Блок: меню */

    .menu__list {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;    
        margin-top: 200px;
        margin-left: 0px;
        padding-left: 0px;
    }
  
    .menu__link {
        display: flex;
        color: aliceblue;
        font-size: 28px;
        padding: 20px 0px 20px 0px;
        margin-left: 0px;
    }
    li.menu__item {
        margin-left: 0px;
    } 
    .menu__icon {
        z-index: 5;
        display: block;
        position: relative;
        width: 30px;
        height: 18px;
        cursor: pointer; /*посмотреть что это*/
        margin-right: 30px;
    }
    .menu__icon span,
    .menu__icon::before,
    .menu__icon::after {
        left: 0;
        position: absolute;
        height: 10%;
        width: 100%;
        transition: all 0.3s ease 0s;
        background-color: white;
    }
    .menu__icon::before,
    .menu__icon::after {
        content: "";
    }
    .menu__icon::before {
        top: 0;
    }
    .menu__icon::after {
        bottom: 0;
    }
    .menu__icon span {
        top: 50%;
        transform: scale(1) translate(0px, -50%);
    }
    .menu__icon._active span{
        transform: scale(0) translate(0px, -50%);
    }
    .menu__icon._active::before {
        top: 50%;
        transform: rotate(-45deg) translate(0px, -50%)
    }
    .menu__icon._active::after {
        bottom: 50%;
        transform: rotate(45deg) translate(0px, 50%)
    }
    .menu__body {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(41, 38, 38, 0.9);
        transition: left 0.3s ease 0s;
        overflow: auto;
        left: -100%;
        transition: left 0.3s ease 0s;
    }
    .menu__body._active {
        left: 0;
    }


    .garand__block-row-section {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .garand__block-items {
        width: 600px;
    }
    .services__block-row {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    .block__items {
        position: relative;
        top: 0;
        left: 0; 
        box-shadow: 7px 7px 5px rgb(116, 114, 114);
        margin: 0px 15px;
    }
    .services-image {
        width: 400px;
        height: 600px;
        object-fit: cover;  
    }
    .items__title {
        position: absolute;
        left: 10px;
        bottom: 200px;
        color: aliceblue;
        font-size: 22px;
        font-weight: 600;
        letter-spacing: 1.2;
    }
    .items__description {
        position: absolute;
        left: 10px;
        top: 70px;
        color: aliceblue;
        font-size: 18px;
        line-height: 1.1;
    }
    .services__sewage-row {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
    }
     .services__sewage-block {
        margin: 0px 10px;
        margin-bottom: 60px;
    }
    .sewage-image {
        width: 250px;
        height: 250px;
    }
    .sewage__title {
        margin-top: 10px;
        padding-bottom: 10px;
        font-size: 18px;
        font-weight: 400;
        width: 250px;
        text-align: center; 
    }
    .footer__block-text {
        color: white;
        font-size: 18px;
        text-transform: uppercase;
        line-height: 1.3;
        padding: 0px 10px;
    }
}
/* !Адаптив под планшет < 850 */
@media (max-width: 850.8px) {
    .garand__block-row-section {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .garand__block-items {
        width: 600px;
    }
    .services__block-row {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    .block__items {
        position: relative;
        top: 0;
        left: 0; 
        box-shadow: 7px 7px 5px rgb(116, 114, 114);
        margin: 0px 15px;
    }
    .services-image {
        width: 350px;
        height: 500px;
        object-fit: cover;  
    }
    .items__title {
        position: absolute;
        left: 10px;
        bottom: 200px;
        color: aliceblue;
        font-size: 22px;
        font-weight: 600;
        letter-spacing: 1.2;
    }
    .items__description {
        position: absolute;
        left: 10px;
        top: 70px;
        color: aliceblue;
        font-size: 18px;
        line-height: 1.1;
    }
    .services__sewage-row {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
    }
     .services__sewage-block {
        margin: 0px 10px;
        width: 220px;
        margin-bottom: 60px;
    }
    .sewage-image {
        width: 220px;
        height: 250px;
    }
    .sewage__title {
        margin-top: 10px;
        padding-bottom: 10px;
        font-size: 18px;
        font-weight: 400;
        width: 220px;
        text-align: center; 
    }
    .footer__block-text {
        color: white;
        font-size: 18px;
        text-transform: uppercase;
        line-height: 1.3;
        padding: 0px 10px;
    }
}

/* Адаптив под мобильную версию */
@media (max-width: 767.8px) {
    .garand__block-items {
        width: 400px;
    }
    .services__block-row {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        
    }
    .block__items {
        position: relative;
        top: 0;
        left: 0; 
        box-shadow: 7px 7px 5px rgb(116, 114, 114);
        margin: 0px 15px;
        margin-bottom: 60px;
    }
    .block__items:last-child{
        margin-bottom: 0px;
    }
    .services-image {
        width: 400px;
        height: 550px;
        object-fit: cover;  
    }
    .items__title {
        position: absolute;
        left: 10px;
        bottom: 200px;
        color: aliceblue;
        font-size: 22px;
        font-weight: 600;
        letter-spacing: 1.2;
    }
    .items__description {
        position: absolute;
        left: 10px;
        top: 70px;
        color: aliceblue;
        font-size: 18px;
        line-height: 1.1;
    }
    .services__sewage-row {
        display: flex;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
     .services__sewage-block {
        margin: 0px 10px;
        width: 400px;
        margin-bottom: 60px;
    }
    .sewage-image {
        width: 400px;
        height: 400px;
    }
    .sewage__title {
        margin-top: 10px;
        padding-bottom: 10px;
        font-size: 22px;
        font-weight: 400;
        width: 400px;
        text-align: center; 
    }
    .footer {
        height: 700px;
    }
    .footer__row {
        display: flex;
        flex-direction: column;
        align-items: center;
    } 
    .footer__block {
        margin-bottom: 60px;
    }
    .footer__block-tel {
        margin-top: 10px;
    }
    .footer__block {
        border-right: 0px solid white;
    }
}
/* Адаптив под мобильную версию */
@media (max-width: 680.8px) {
    .services__sewage-row {
        display: flex;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    .services__sewage-block {
        margin: 0px 10px;
        width: 400px;
        margin-bottom: 60px;
    }
    .sewage-image {
        width: 400px;
        height: 400px;
    }
    .sewage__title {
        margin-top: 10px;
        padding-bottom: 10px;
        font-size: 22px;
        font-weight: 400;
        width: 400px;
        text-align: center; 
    }
}