/* Обнуление стилей */
*,
*::before *::after {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

ul,
ol,
li {
    list-style: none;
}

a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: inherit;
    font-size: inherit;
}

img {
    vertical-align: top;
}

html,
body {
    height: 100%;
}

/* По умолчанию 16 рх */
html {
    font-size: 16px;
}

body {
    background: #fafafa;
    line-height: 1;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #252b42;
    font-weight: 500;
    font-family: Montserrat;
}

.wrapper {
    min-height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

._container {
    max-width: 1046px;
    padding: 0px 15px;
    margin: 0px auto;
    /* box-sizing: content-box;  padding не будет учитываться в размер контейнера */
    box-sizing: content-box;
}


._ibg {
    position: relative;
}

._ibg img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
}

/* ----------Шапка---------------- */

.header {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 50;
}


.header__container {
    display: flex;
    min-height: 104px;
    align-items: center;
}

/* Уменьшаем размер шапки */
@media (max-width: 479px) {
    .header__container {
        min-height: 70px;
    }
}

.header__logo {
    font-weight: 700;
    font-size: 24px;
    color: inherit;
}

.header__menu {
    margin: 0px 0px 0px 133px;
}


.menu__list {
    display: flex;
    /*flex-wrap: wrap;  позволит пунктам "ломатся" при адаптиве */
    flex-wrap: wrap;
}

/* Добавляем отступы ко всем кроме последнего */
.menu__item:not(:last-child) {
    margin: 0px 21px 0px 0px;
}


/* Уменьшаем отступы при адаптиве: */

@media (max-width:992px) {
    .header__menu {
        margin: 0px 0px 0px 80px;
    }
}

@media (max-width:767px) {
    .header__menu {
        margin: 0px 0px 0px 40px;
    }
}


@media (max-width:479px) {
    .header__menu {
        margin: 0px 0px 0px 20px;
    }
}



.menu__link {
    font-weight: 600;
    font-size: 14px;
    line-height: 171%;
    text-align: center;
    color: #737373;
}

.menu__link:hover {
    text-decoration: underline;
}



/* Увеличиваем шрифт*/
@media (max-width:479px) {
    .menu__link {
        font-size: 18px;
    }
}

/* ---------page------------- */
/* Чтобы footer прижать к низу позволяем увеличиваться main. */
.page {
    flex: 1 1 auto
}

.page__services {
    position: relative;
    z-index: 2;
    margin: -111px 0px 0px 0px;
}

.page__clients {
    margin: 0px 0px 10px 0px;
}

/* ------ header block----- */

/* Это похожие стили, они будут повторяться на странице дальше  */
.header-block {
    text-align: center;
}

.header-block__titile {
    font-weight: 700;
    font-size: 40px;
    line-height: 142%;
    letter-spacing: 0.01em;
    color: #252b42;
}

.header-block__title:not(:last-child) {
    margin: 0px 0px 10px 0px;
}

.header-block__sub-title {
    font-weight: 500;
    font-size: 14px;
    line-height: 143%;
    letter-spacing: 0.01em;
    color: #737373;
}


@media (max-width:992px) {
    .header-block__titile {
        font-size: 38px;
    }
}

@media (max-width:767px) {
    .header-block__titile {
        font-size: 35px;
    }
}


/* --------main-block------- */


.main-block {
    position: relative;
}

.main-block__body {
    padding: 184px 0px 191px 0px;
    position: relative;
    z-index: 2;
    max-width: 400px;
}


/* По мере того как сужается экран нужно постепенно убирать отступы: */
@media (max-width: 992px) {
    .main-block__body {
        padding: 120px 0px 191px 0px;
    }
}

@media (max-width: 479px) {
    .main-block__body {
        padding: 115px 0px 160px 0px;
    }
}


/* Таким образом, данное правило добавляет нижний отступ в 35 пикселей ко всем дочерним элементам внутри 
`main-block__body`, за исключением последнего. */
.main-block__body>*:not(:last-child) {
    margin: 0px 0px 35px 0px;
}

.main-block__title {
    font-size: 58px;
    line-height: 138%;
    font-weight: 800;
    letter-spacing: 0.2px;
}


@media (max-width: 479px) {
    .main-block__title {
        font-size: 42px;
    }
}

.main-block__text {
    font-weight: 500;
    font-size: 20px;
    line-height: 150%;
    color: #737373;
    letter-spacing: 0.01em;
}

/* Затемнение шрифта */
@media (max-width: 479px) {
    .main-block__text {
        color: #575555;
    }
}

.main-block__buttons {
    display: flex;
    flex-wrap: wrap;
    margin: -10px 0px;
}


.main-block__button {
    padding: 5px 36px;
    border-radius: 37px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 48px;
    letter-spacing: 0.2px;
    font-weight: 700;
    line-height: 200%;
    margin: 10px 0px;
}


@media (max-width: 479px) {
    .main-block__button {
        flex: 1 1 100%;
    }
}

.main-block__button:not(:last-child) {
    margin-right: 10px;
}

.main-block__button_orange {
    cursor: pointer;
    background: #ff7b47;
    color: #fff;
}

.main-block__button_orange:hover {
    background: #812a08;
    color: #fff;
}

.main-block__button_border {
    cursor: pointer;
    border: 1px solid #0d5c63;
    border-radius: 37px;
}

.main-block__button_border:hover {
    background: #0d5c63;
    color: #fff;
}

.main-block__image {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

/* Картинка при адаптиве центруем по правой стороне*/
@media (max-width: 1300px) {
    .main-block__image img {
        object-position: right;
    }
}

/* Картинку делаем немного прозрачной чтоб при адаптиве текст стал больее читаемый */
@media (max-width: 992px) {
    .main-block__image img {
        opacity: 0.5;
    }
}

/* ------service-------- */

.services__column {
    max-width: 328px;
    flex: 0 1 33.333%;
    margin: 0px 0px 30px 0px;
}

@media (min-width: 670px) {
    .services__column {
        padding: 0px 15px;
    }
}

@media (min-width:670px) {
    .services__body {
        display: flex;
        flex-wrap: wrap;
        margin: 0px -15px -30px;
    }
}

/* @media (max-width: 992px) {
.services__column {
 flex: 1 1 33.333%;
    }
    .services__column:last-child{
        max-width: 100%;
        flex: 1 1 100%;
    }
} */

@media (max-width: 1095px) {
    .services__column {
        max-width: 100%;
        flex: 1 1 33.3333%;
    }
}

.sevices__item {
    height: 100%;
    box-shadow: 0 13px 19px 0 rgba(0, 0, 0, 0.07);
    background: #fff;
    padding: 30px;
}

/* Таким образом, данное правило добавляет нижний отступ в 10px ко всем дочерним элементам внутри 
.item-service , за исключением последнего. */
.item-service>*:not(:last-child) {
    margin: 0px 0px 10px 0px;
}

.item-service__title {
    letter-spacing: 0.1px;
    font-weight: 700;
    font-size: 24px;
    line-height: 133%;
    color: #252b42;
}

.item-service__text {
    font-weight: 500;
    font-size: 14px;
    line-height: 143%;
    color: #737373;
}

.item-service_green {
    box-shadow: 0 13px 19px 0 rgba(0, 0, 0, 0.07);
    background: #0d5c63;
}

.item-service_green .item-service__title {
    color: #fff;
}


.item-service_green .item-service__text {
    color: #fff;
}

/* ------advantages------- */

.advantages {
    padding: 80px 0px;
}

@media (max-width: 992px) {
    .advantages {
        padding: 70px 0px;
    }
}

@media (max-width: 675px) {
    .advantages {
        padding: 5px 0px;
    }
}

/* 
    @media (max-width: 470px){
        .advantages {
            padding: 40px 0px;
        }
        } 
     */

.advantages__header {
    margin: 0px 0px 50px 0px;
}

/* @media (max-width: 767px){
    .advantages__header {
        margin: 0px 0px 25px 0px;
    }
    
} */

.advantages__body {
    display: flex;
    flex-wrap: wrap;
    margin: 0px -15px -30px;
}

.advantages__column {
    max-width: 230px;
    padding: 0px 15px;
    margin: 0px 0px 30px 0px;
    flex: 0 1 25%;
}

@media (max-width: 1020px) {
    .advantages__column {
        max-width: 100%;
        flex: 1 1 33.3333%;
    }
}

@media (max-width: 470px) {
    .advantages__column {
        flex: 1 1 50%;
    }
}

.advantages__item {
    background-color: #fff;
    padding: 30px;
    text-align: center;
    font-weight: 700;
}

.advantages__item>*:not(:last-child) {
    margin: 0px 0px 10px 0px;
}

.advantages__icon {
    height: 48px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.advantages__value {
    font-weight: 700;
    font-size: 40px;
    line-height: 142%;
    letter-spacing: 0.01em;
    color: #252b42;
}

.advantages__text {
    font-weight: 700;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.01em;
    text-align: center;
    color: #737373;
}


/* ------practice------- */


.practice {
    padding: 25px 0px 80px 0px;
}

.practice__header {
    margin: 25px 0px 45px 0px;
}

@media (max-width: 630px) {
    .practice__header {
        margin: 25px 0px 20px 0px;
    }
}

.practice__body {
    margin: 0px 10px;
    display: flex;
    flex-wrap: wrap;
}

.practice__column {
    padding: 0px 10px;
    flex: 0 1 23%;
}

@media(max-width: 1071px) {
    .practice__column {
        flex: 0 1 45%;
        padding: 0px 10px;
    }
}

@media(max-width: 630px) {
    .practice__column {
        flex: 0 1 100%;
        padding: 0px 5px;
    }
}

.item__practice {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.item-practice__content {
    padding: 30px;
    flex: 1 1 auto;
}

.item-practice__link {
    color: inherit;
    display: inline-block;
}

.item-practice__link:hover {
    text-decoration: underline;
}

.item-practice__link:not(:last-child) {
    margin: 0px 0px 15px 0px;
}

.item-practice__title {
    font-weight: 700;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.01em;
    color: #252b42;
}

.item-practice__text {
    font-weight: 500;
    font-size: 14px;
    line-height: 143%;
    letter-spacing: 0.01em;
    color: #737373;
}

.item-practice__image {
    display: flex;
    padding: 0px 0px 60% 0px;
}

/* ------------------ */

.whoweare {
    background: white;
    padding: 80px 0px 130px 0px;
}



.whoweare__header {
    margin: 0px 0px 100px 0px;
}

.whoweare__body {
    display: flex;
    /* align-items: flex-start;  при адаптиве будет прижиматься к верху, будет отзывчивость
    видео */
    align-items: flex-start;
}

.whoweare__video {
    flex: 0 0 57%;
    position: relative;
    padding: 0px 0px 42.25% 0px;
}

.whoweare__video iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
}

.whoweare__content {
    flex: 1 1 auto;
    padding: 20px 0px 0px 121px;
}

.whoweare__title {
    font-weight: 700;
    font-size: 40px;
    line-height: 142%;
    letter-spacing: 0.01em;
    color: #252b42;
}

.whoweare__title:not(:last-child) {
    margin: 0px 0px 10px 0px;
}

.whoweare__text {
    font-weight: 500;
    font-size: 14px;
    line-height: 143%;
    letter-spacing: 0.01em;
    color: #737373;
}

.whoweare__items {
    padding: 50px 0px 0px 0px;
}

.whoweare__item:not(:last-child) {
    margin: 0px 0px 30px 0px;
}

.item-whoweare {
    display: flex;
}

.item-whoweare__icon {
    flex: 0 0 32px;
}

.item-whoweare__body {
    flex: 1 1 auto;
    padding: 0px 0px 0px 20px;
}


.item-whoweare__title {
    font-weight: 700;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.01em;
    color: #252b42;
}

.item-whoweare__title:not(:last-child) {
    margin: 0px 0px 5px 0px;
}

.item-whoweare__text {
    font-weight: 600;
    font-size: 14px;
    line-height: 171%;
    letter-spacing: 0.01em;
    color: #737373;
}

@media (max-width: 1030px) {
    .whoweare__content {
        padding: 0px 0px 0px 50px;
    }
}

@media(max-width:950px) {
    .whoweare {
        padding: 10px 0px 50px 0px;
    }

    .whoweare__header {
        margin: 0px 0px 30px 0px;
    }

    .whoweare__body {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .whoweare__content {
        padding: 0px 0px 0px 0px;
    }

    .whoweare__video {
        padding: 0px 0px 56.25% 0px;
    }

    .whoweare__video:not(:last-child) {
        margin: 50px 0px 0px 0px;
    }

    .whoweare__title {
        font-size: 25px;
    }
}

/* -------clients--------- */

.clients {
    background: #fafafa;
    padding: 50px 0px;
}

.clients__items {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.clients__item {
    padding: 8px 0px;
    flex: 0 1 16.6667%;
    text-align: center;
}

@media (max-width:750px) {
    .clients__item {
        padding: 15px 15px;
    }
}

/* ---------subscribe----------- */

._subscribe {
    position: relative;
    padding-bottom: 20px;
}

._subscribe::before {
    content: "";
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 77px;
    left: 0;
    background: #252b42;

}

.subscribe__body {
    position: relative;
    z-index: 2;
    margin: 0px 30px;
    padding: 30px 50px;
    align-items: center;
    background: #17213c;
    border-radius: 2px;
}

@media(min-width:810px) {
    .subscribe__body {
        margin: 0px 30px;
        display: flex;
        justify-content: space-between;
    }
}

.subscribe__tittle {
    font-weight: 700;
    font-size: 24px;
    line-height: 133%;
    letter-spacing: 0em;
    color: #fff;
}

@media(max-width:810px) {
    .subscribe__tittle {
        margin: 0px 0px 20px 0px;
    }
}

@media (min-width: 810px) {
    .subscribe__tittle {
        max-width: 266px;
    }
}


.subscribe__form {
    flex: 0 1 50%;
    display: flex;
    align-items: center;
}


.subscribe__input {
    width: 100%;
    flex: 1 1 auto;
    min-height: 58px;
    padding: 0px 20px;
    background: #f9f9f9;
    border-radius: 2px;
    box-sizing: border-box;
    color: #737373;
    border-right: 0;
}

.subscribe__input:focus {
    color: black;
}

.subscribe__button {
    cursor: pointer;
    border: 1px solid #e5e5e5;
    border-radius: 0 5px 5px 0;
    padding: 15px 20px;
    width: 117px;
    height: 58px;
    background: #ff7b47;
    display: flex;
    min-height: 58px;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 0px 22px;
}

.subscribe__button:hover {
    background: #75280a;
}

@media(max-width:810px) {
    .subscribe__button {
        padding: 0px 15px;
    }

    .subscribe__input {
        padding: 0px 10px;
    }
}

/* -----------getintouch------- */

.getintouch {
    padding: 80px 0px 136px 0px;
}

@media (max-width:992px) {
    .getintouch {
        padding: 20px 0px 80px 0px;
    }
}

.getintouch__header {
    margin: 0px 0px 80px 0px;
}

@media (max-width:992px) {
    .getintouch__header {
        margin: 0px 0px 50px 0px;
    }
}

@media (max-width:767px) {
    .getintouch__header {
        margin: 0px 0px 30px 0px;
    }
}

.getintouch__items {
    margin: 0px -15px;
}

@media (min-width:992px) {
    .getintouch__items {
        margin: 0px;
        display: flex;
        align-items: center;
    }
}

.getintouch__item {
    flex: 0 1 33.333%;
}

.item-getintouch {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    padding: 50px 15px;
}

.item-getintouch_activ {
    padding: 90px 15px;
    background: #252b42;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.item-getintouch_activ .item-getintouch__button {
    border: 1px solid #fff;
    color: #fff;
}

.item-getintouch>*:not(:last-child) {
    margin: 0px 0px 15px 0px;
}

.item-getintouch__icon:not(:last-child) {
    margin: 0px 0px 15px 0px;
}

.item-getintouch__emails {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.item-getintouch__email {
    color: inherit;
    font-weight: 600;
    font-size: 14px;
    line-height: 171%;
    letter-spacing: 0.01em;
    text-align: center;
}

.item-getintouch__email:hover {
    text-decoration: underline;
}

.item-getintouch__label {
    font-weight: 700;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.01em;
    text-align: center;
    color: #252b42;
}

.item-getintouch__button {
    border: 1px solid #ff7b47;
    border-radius: 5px;
    padding: 10px 20px;
    min-height: 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5px 20px;
    font-weight: 600;
    font-size: 14px;
    line-height: 171%;
    letter-spacing: 0.01em;
    text-align: center;
    color: #ff7b47;
    transition: all 0.3s ease 0s;
}

.item-getintouch__button:hover {
    background-color: #ff7b47;
    color: white;
}

/* -------contact------- */
.contact {
    background-color: #fff;
    padding: 42px 0px;
}

.contact__content {
    padding: 0px 0px 20px 0px;
}

@media (min-width:767px) {
    .contact__body {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .contact__content {
        padding: 0px 20px 0px 0px;
    }

}

.contact__title {
    font-weight: 700;
    font-size: 24px;
    line-height: 133%;
    letter-spacing: 0em;
    color: #252b42;
}

.contact__title:not(:last-child) {
    margin: 0px 0px 10px 0px;
}

.contact__text {
    font-weight: 500;
    font-size: 14px;
    line-height: 143%;
    letter-spacing: 0.01em;
    color: #737373;
}

.contact__button {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 5px;
    padding: 5px 40px;
    background: #ff7b47;
    transition: all 0.3s ease 0s;
    font-weight: 700;
    font-size: 14px;
    line-height: 200%;
    letter-spacing: 0.01em;
    text-align: center;
    color: #fff;
    min-height: 58px;
}

.contact__button:hover {
    background: #97350f;
}


/* -----footer------ */

.footer__top {
    background: #17213c;
    padding: 30px 0px;
}

.footer__row {
    display: flex;
    flex-wrap: wrap;
    margin: 0px -15px;
}

.footer__column {
    padding: 10px 0px;
    flex: 0 1 16.667%;
    min-width: 170px;
}

@media (max-width:992px) {
    .footer__column:last-child {
        flex: 0 1 100%;
    }
}

@media (max-width:992px) {
    .footer__column {
        flex: 0 1 50%;
    }
}

.footer__column:last-child {
    flex: 0 1 33.333%;
}

.footer__label {
    align-items: center;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.01em;
    color: #fff;
    margin: 0px 0px 10px 0px;
}

.footer__label:not(:last-child) {
    padding: 0px 0px 0px 35px;
}

.menu-footer__item:not(:last-child) {
    margin: 0px 0px 10px 0px;
}


.menu-footer__link:hover {
    text-decoration: underline;
}

.menu-footer__link {
    display: flex;
    flex-direction: column;
    align-items: start;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    line-height: 171%;
    letter-spacing: 0.01em;
}

.contacts-footer {
    display: flex;
    flex-direction: column;
}

.contacts-footer__item:not(:last-child) {
    margin: 0px 0px 0px 24px;
}

.contacts-footer__item:hover {
    text-decoration: underline;
}

.contacts-footer__item {
    padding: 0px 0px 0px 34px;
    display: flex;
    align-items: center;
    min-height: 30px;
    color: #fff;
}

.contacts-footer__item:not(:last-child) {
    margin: 0px 0px 15px 0px;
}

.contacts-footer__item_phone {
    background: url("../img/footer/icons/1.svg") left no-repeat;
}

.contacts-footer__item_map {
    background: url("../img/footer/icons/2.svg") left no-repeat;
}

.contacts-footer__item_email {
    background: url("../img/footer/icons/3.svg") left no-repeat;
}

.footer__bottom {
    padding: 25px 0px;
}

.footer__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


@media(max-width:767px) {
    .footer__container {
        flex-direction: column;
    }

    .footer__copy {
        margin: 0px 0px 15px 0px;
        text-align: center;
    }
}

.footer__copy {
    font-weight: 600;
    font-size: 14px;
    line-height: 171%;
    letter-spacing: 0.01em;
    color: #737373;
}

.social {
    display: flex;
    align-items: center;
}

.social__item:not(:last-child) {
    margin: 0px 20px 0px 0px;
}