@import url('https://fonts.googleapis.com/css2?family=Noto+Sans&display=swap');

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans', sans-serif;
    font-size: 14px;
    line-height: 19px;
    color: #303030
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

.header {
    height: 100vh;
    background-image: url("imgs/background.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
    text-align: center;
    padding: 70px 10px 38px;    
    margin-bottom: 150px;
}

.header__subtitle {
    font-size: 18px;
    line-height: 25px;
    font-weight: normal;
    margin-top: auto;
    margin-bottom: 0;
}

.header__title {
    margin: 0;
    font-weight: bold;
    font-size: 64px;
    line-height: 87px;
}

.header__title span {
    display: block;
    font-size: 42px;
    line-height: 57px;
}

.button {
    display: flex;
}

.header__button {
    display: flex;
    margin: 0 auto;
    margin-bottom: auto;
    margin-top: 50px;
}

.button__path {
    transition: fill 0.3s;
}

.button:hover .button__path {
    fill: #A9A32A;
}

.button__text {
    display: inline-block;
    margin-top: auto;
    transform: translateY(-14px);
    margin-left: -53px;
    font-size: 18px;
    line-height: 25px;
}

.social {
    display: flex;
    justify-content: center;
    align-items: center;
}

.social__item {
    padding: 0 10px;
    object-fit: cover;
}


.service {
    margin-bottom: 150px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

.service__wrap {
    display: flex;
}

.service__content {
    flex-basis: 510px;
    margin-right: 90px;
}

.service__block {
    margin-bottom: 50px;
}

.service__img {
    object-fit: cover;
}

.title {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 24px;
    line-height: 33px;
    color: #868585;
    margin-bottom: 60px;
}

.service__block-title {
    font-weight: bold;
    font-size: 18px;
    line-height: 25px;
}


.info__wrap {
    display: flex;
    justify-content: space-between;
    margin-bottom: 145px;
}

.info__block {
    flex-basis: 510px;
    margin-right: 90px;
}

.info__content {
    flex-basis: 600px;
}

.info__list {
    padding: 0;
    margin-top: -20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.info__list-item {
    flex-basis: 235px;
}

.info__list-title {
    margin-bottom: 5px;
    font-size: 18px;
    line-height: 25px;
    font-weight: 700;
}

.info__content-text {
    font-size: 18px;
    font-weight: 700;
    line-height: 25px;
    margin-bottom: 17px;
}

.info__tabs {
    margin-bottom: 100px;
}

.tab__items {
    margin-bottom: 120px;
}

.tab__item {
    margin-left: 20px;
    font-size: 18px;
    line-height: 25px;
}

.tab__item:nth-child(1) {
    margin-left: 0;
}

.tab__item--active {
    padding-bottom: 5px;
    border-bottom: 1px solid #303030;
}

.tab__content {
    display: none;
}

.tab__content--active {
    display: block;
}

.info-slider {
    max-width: 510px;
    overflow: hidden;
}

.info-slider__img {
    margin-right: 40px;
    float: left;
}

.slick-arrow {
    position: absolute;
    left: 273px;
    bottom: 0px;
    z-index: 5;
    cursor: pointer;
}

.slick-right {
    left: calc(273px + 62px);
}

.blockquote {
    padding: 128px 10px 144px;
    text-align: center;
    background-image: url("imgs/bq__img.png");
    background-size: cover;
    background-repeat: no-repeat;
    margin-bottom: 150px;
}

.blockquote__text {
    font-size: 42px;
    line-height: 57px;
    color: #fff;
    background-position: center;
    max-width: 673px;
    margin: 0 auto;
}


.clients {
    margin-bottom: 150px;
}

.clients-slider__block {
    display: flex;
}

.clients-slider__block-img {
    flex-basis: 510px;
    margin-right: 90px;
}

.clients-slider__block-title {
    max-width: 478px;
    font-size: 18px;
    line-height: 25px;
    font-weight: 700;
    margin-bottom: 30px;
}

.clients-slider__block-list {
    margin-left: 50px;
}

.clients-slider__block-item {
    margin-top: 15px;
}

.clients-slider .slick-arrow {
    top: 402px;
}

.slick-arrow path {
    transition: fill 0.5s;
}

.slick-arrow:hover path {
    fill: #A9A32A;
}

.clients__button {
    margin-top: 65px;
}

.steps {
    margin-bottom: 150px;
}

.steps__wrap {
    display: flex;
}

.steps__content {
    margin-right: 90px;
    flex-basis: 510px;
}

.steps__list {
    counter-reset: number;
    padding-left: 0;
}

.steps__list-item {
    counter-increment: number;
    margin-bottom: 30px;
}

.steps__list-item::before {
    content: '0' counter(number);
    color: #868585;
}

.steps__list-item:nth-child(n + 10)::before {
    content: counter(number);
}

.steps__list-title {
    margin-bottom: 2px;
    font-size: 18px;
    line-height: 25px;
    font-weight: 700;
}

.steps__img {
    object-fit: cover;
    flex-basis: 600px;
}

.footer {
    background-image: url("imgs/footer-img.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 70px 0 50px;
    color: #fff;
}

.footer__top {
    display: flex;
    margin-bottom: 150px;
}

.footer__form {
    flex-basis: 519px;
    margin-right: 90px;
}

.footer__title {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    line-height: 43px;
    text-transform: uppercase;
    margin-bottom: 60px;
}

.footer__form-input {
    border: none;
    border-bottom: 1px solid #fff;
    display: block;
    width: 100%;
    background-color: transparent;
    padding-bottom: 11px;
    font-family: 'Noto Sans', sans-serif;
    font-size: 14px;
    line-height: 19px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 60px;
}

.footer__form-input::placeholder {
    font-family: 'Noto Sans', sans-serif;
    font-size: 14px;
    line-height: 19px;
    font-weight: 400;
    color: #fff;
}

.footer__form-button {
    background-color: transparent;
    border: none;
    padding: 0;
    color: #fff;
    cursor: pointer;
}

.footer__contacts-item {
    font-size: 18px;
    line-height: 25px;
    margin-bottom: 30px;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer .social {
    margin-right: -10px;
}

@media (max-width: 1240px) {
    .info__wrap {
        flex-wrap: wrap-reverse;
    }
    .info__content {
        flex-basis: 100%;
    }
    .info__content-img {
        display: none;
    }
    .info__block {
        flex-basis: 100%;
        margin-right: 0;
        display: flex;
    }
    .info__list {
        align-self: start;
        margin-left: 40px;
    }
}

@media (max-width: 1024px) {
    .service__wrap {
        flex-wrap: wrap;
    }
    .service__content {
        flex-basis: 100%;
        margin-right: 0;
    }
    .service__img {
        width: 100%;
        height: 400px;
    }
    .steps__wrap {
        flex-wrap: wrap-reverse;
    }
    .steps__content {
        margin-right: 0;
    }
    .steps__img {
        object-fit: cover;
        flex-basis: 100%;
        height: 300px;
        max-width: 100%;
    }
}

@media (max-width: 960px) {
    .clients-slider__block {
        display: block;
    }
    .clients-slider__block-title {
        max-width: 100%;
    }
    .clients-slider__block-img {
        width: 100%;
        height: 300px;
        object-fit: cover;
        margin-bottom: 20px;
    }
    .clients-slider .slick-arrow {
        display: none;
    }
}

@media (max-width: 826px) {
    .info__block {
        display: block;
    }
    .info__list {
        margin-left: 0;
    }
}


@media (max-width: 768px) {
    .header__title {
        font-size: 48px;
        line-height: 56px;
    }
    .header__title span {
        font-size: 32px;
        line-height: 40px;
    }
    .blockquote {
        padding: 60px 10px 80px;
    }
    .blockquote__text {
        font-size: 28px;
        line-height: 32px;
    }
    .footer__bottom {
        flex-wrap: wrap;
        text-align: center;
        justify-content: center;
    }
    .footer__bottom .logo {
        width: 100%;
        margin: 20px 0;
    }
    .footer__top {
        flex-wrap: wrap;
        flex-basis: 100%;
        margin-right: 0;
    }
    .footer__form {
        margin-bottom: 40px;
    }
}

@media (max-width: 640px) {
    .header,
    .service,
    .info,
    .blockquote,
    .clients,
    .steps,
    .footer__top {
        margin-bottom: 75px;
    }
}

@media (max-width: 540px) {
    .header__title {
        font-size: 32px;
        line-height: 38px;
    }
    .header__title span {
        font-size: 22px;
        line-height: 28px;
    }
    .header__subtitle {
        font-size: 16px;
        line-height: 22px;
    }
    .info-slider {
        max-width: 350px;
        margin: 0 auto;
    }
    .info-slider__img {
        width: 100%;
        margin-right: 0;
        margin-bottom: 25px;
        float: none;
        height: 200px;
        object-fit: cover;
    }
    .slick-right {
        left: calc(50% + 10px);
    }
    .slick-left {
        left: calc(50% - 50px);
    }
    .info__list {
        display: block;
    }
    .info-slider__text {
        margin-bottom: 20px;
    }
    .tab__item{
        margin-right: 0;
        padding: 10px;
        display: block;
        text-align: center;
        max-width: 130px;
        margin: 0 auto;
    }
    .tab__item:nth-child(1) {
        margin-left: auto
    }
    .tab__items {
        margin-bottom: 40px;
    }
}

@media (max-width: 375px) {
    .button__text {
        margin-left: -76px;
    }
    .title {
        margin-bottom: 40px;
    }
    .service__block {
        margin-bottom: 30px;
    }
    .blockquote__text {
        font-size: 22px;
        line-height: 28px;
    }
}

@media (max-width: 340px) {
    .info-slider {
        width: 280px;
    }
}
