@import url("https://fonts.googleapis.com/css?family=Poppins:300,regular,500&disply=swap");


/*=========================*/
body {
    font-family: "Poppins";
    font-weight: 300;
    color: #9C9C9C;
    background: #0D0D11;
}

.wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: clip;
}

[class*="__container"] {
    max-width: 1310px;
    margin: 0 auto;
    padding: 0 15px;
}

/*=================================*/
.page {
    flex: 1 1 auto;
}

.page__main {}

.page__services {}

.page__why {}

.page__advantages {}

.page__testimonials {}

.page__blog {}

.page__start {}

/*===botton==============================*/
.button {
    display: inline-block;
    text-align: center;
    padding: 16px 30px;
    background-color: #3D96F4;
    border-radius: 50px;
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.43;
    transition: background-color 0.3s ease 0s;
    letter-spacing: 2px;
}

.button_dark {
    background: rgba(129, 129, 139, 0.2);
}

.button:hover {
    background-color: #83b5eb;
}

.button_dark:hover {
    background: rgba(129, 129, 139, 0.5);
}

@media(max-width: 991.98px) {
    .button {
        padding: 14px 20px;
    }
}

/*===text==============================*/
.main__header {}

.header-main {}

.header-main__title {
    font-weight: 500;
    font-size: 51.2px;
    line-height: 1.2;
    color: #fff;
    position: relative;
}

.header-main__title:not(:last-child) {
    margin-bottom: 28px;
}

.header-main__text {
    font-weight: 300;
    font-size: 18px;
    line-height: 1.5;
    color: #9C9C9C;
    max-width: 500px;
}

.header-main__text:not(:last-child) {
    margin-bottom: 33px;
}

.header-main__body {
    display: flex;
    justify-content: space-between;
    gap: 32px;
}

.header-main__body .header-main__text {
    margin-bottom: 0;
}

.header-main__body .header-main__actions {
    align-self: flex-end;
    flex: 0 0 auto;
}

.header-main__actions {
    display: flex;
    column-gap: 32px;
    row-gap: 15px;
}

.header-main__body .header-main__title {
    max-width: none;
}

.header-main__body .header-main__text {
    max-width: 740px;
}

.header-main__button {
    align-self: flex-end;
}

@media(max-width: 991.98px) {
    .header-main__title {
        font-size: 44px;
    }
}

/*mobile first*/
@media(min-width: 768px) {
    .header-main__title {
        max-width: 520px;
    }

    .header-main__text {
        max-width: 500px;
    }
}

@media(max-width: 767.98px) {
    .header-main__title {
        font-size: 32px;
    }

    .header-main__title:not(:last-child) {
        margin-bottom: 18px;
    }

    .header-main__text:not(:last-child) {
        margin-bottom: 15px;
    }

    .header-main__body {
        flex-direction: column;
        gap: 0;
    }

    .header-main__body .header-main__actions {
        align-self: flex-start;
    }

}

@media(max-width: 479.98px) {
    .header-main__actions {
        flex-direction: column;

    }
}

/*===label==============================*/
.header-main__label {
    border: 1px solid rgba(129, 129, 139, 0.2);
    border-radius: 12px;
    font-size: 11px;
    line-height: 1.6;
    display: inline-block;
    align-items: center;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #9C9C9C;
    padding: 11px 19px;
    transition: border 0.3s ease 0s;
}

.header-main__label:not(:last-child) {
    margin-bottom: 20px;
}

.header-main__label:hover {
    border: 1px solid rgba(129, 129, 139, 0.4);
}

/*===header==============================*/
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgba(13, 13, 17, 0.5);
    z-index: 50;
}

.header__container {
    display: flex;
    min-height: 116px;
    align-items: center;
    padding-top: 5px;
    padding-bottom: 5px;
    column-gap: 35px;
}

.header__logo {}

.header__menu {
    flex: 1 1 auto;
}


.menu {}

.menu__icon {}

.icon-menu {
    display: none;
}

.header__logo,
.header__cart,
.header__button {
    position: relative;
    z-index: 5;
}

@media(max-width: 991.98px) {

    .header__container,
    .menu__list {
        column-gap: 25px;
    }

    .header__container {
        min-height: 90px;
    }
}

@media(max-width: 767.98px) {

    .header__container,
    .menu__list {
        column-gap: 12px;
    }

    .icon-menu {
        display: block;
        flex: 0 0 30px;
        height: 18px;
        position: relative;
        z-index: 5;
    }

    .icon-menu span,
    .icon-menu::before,
    .icon-menu::after {
        content: "";
        right: 0;
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: #fff;
        transition: all 0.3s ease 0s;
    }

    .icon-menu::before {
        top: 0;
    }

    .icon-menu::after {
        bottom: 0;
    }

    .icon-menu span {
        top: calc(50% - 1px);
    }

    .menu-open .icon-menu span {
        width: 0;
    }

    .menu-open .icon-menu::before {
        top: calc(50% - 1px);
        transform: rotate(-45deg);
    }

    .menu-open .icon-menu::after {
        bottom: calc(50% - 1px);
        transform: rotate(45deg);
    }


    .menu__body {
        position: fixed;
        width: 100%;
        height: 100%;
        background-color: #08080a;
        left: -100%;
        top: 0;
        padding: 100px 15px 30px 15px;
        overflow: auto;
        transition: left 0.3s ease 0s;
    }

    .menu__body::before {
        content: "";
        width: 100%;
        position: fixed;
        top: 0;
        left: -100%;
        transition: left 0.3s ease 0s;
        height: 70px;
        background-color: #08080a;
        z-index: 2;
    }

    .menu__list {
        row-gap: 10px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .menu__link {
        font-size: 32px;
    }

    .header__container {
        min-height: 70px;
    }
}


.menu__list {
    display: flex;
    flex-wrap: wrap;
    column-gap: 35px;
    row-gap: 3px;
    justify-content: flex-end;
}

.menu__item {}

.menu__link {
    display: block;
    line-height: 1.6;
    color: #fff;
}

.menu__link:hover {
    text-decoration: underline;
}

.header__cart {}

.cart-header {
    color: #fff;
    display: flex;
    gap: 5px;
    align-items: center;
}

.cart-header:hover .cart-header__text {
    text-decoration: underline;
}

.cart-header__text {
    font-size: 18px;
    line-height: 1.5;
}

.cart-header__quantity {
    background: rgba(129, 129, 139, 0.3);
    border-radius: 50%;
    height: 30px;
    width: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
}

.header__button {
    flex: 0 0 auto;
}

.menu-open .menu__body,
.menu-open .menu__body::before {
    left: 0;
}

@media(max-width: 560px) {
    .header__logo {
        width: 32px;
        flex: 0 0 32px;
        overflow: hidden;
    }

    .cart-header__text {
        display: none;
    }

    .cart-header__quantity {
        background: url("../img/icons/cart.svg") center / auto 100% no-repeat;
        width: 33px;
        height: 42px;
        border-radius: 0;
        padding-top: 3px;
    }
}

/*====main=============================*/

.main {
    padding-top: 160px;
    padding-bottom: 160px;
}

.main__container {
    display: flex;
    gap: 32px;
}

@media(max-width: 767.98px) {}

.main__content {
    flex: 0 1 50%;
    align-self: center;
}

.main__header {
    position: relative;
}

.main__header::before {
    content: "";
    background: url('../img/decor.svg') 0 0 no-repeat;
    width: 122px;
    height: 122px;
    position: absolute;
    top: -10px;
    left: -34px;
}

.main__actions {}

.main__button {}

.main__images {
    flex: 0 1 50%;
}

.images-main {
    display: flex;
    gap: 9%;
    /* 60/624 ширина картинок*/
    justify-content: center;
}

.images-main__column {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.images-main__item {
    overflow: hidden;
}

.images-main__item_1,
.images-main__item_4 {
    border-radius: 50% / 30%;

}

.images-main__item_2 {
    border-radius: 50% 50% 0 50%;
}

.images-main__item_3 {
    border-radius: 50% 0 50% 50%;
}

.images-main__item img {
    max-width: 100%;
}

@media(max-width: 991.98px) {
    .main {
        padding-top: 120px;
    }
}

@media(max-width: 767.98px) {
    .main {
        padding-top: 90px;
    }

    .main__container {
        flex-direction: column;
    }

    .main__content {
        align-self: stretch;
    }
}

/*====clients=============================*/
.page__clients {}

.clients {
    padding-top: 100px;
    padding-bottom: 70px;
}

.clients__container {}

.clients__title {
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #FFFFFF;
    margin-bottom: 44px;
}

.clients__items {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.clients__item img {
    max-width: 100%;
}

@media(max-width:991.98px) {
    .clients {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

@media(max-width:767.98px) {
    .clients {
        padding-top: 30px;
        padding-bottom: 30px;
    }
}

/*====services=============================*/

.services {
    padding-top: 70px;
    padding-bottom: 100px;
}

.services__container {
    display: flex;
    gap: 32px;
}

.services__content {
    flex: 0 1 50%;
    align-self: center;
}

.services__header {}

.services__items {
    display: flex;
    flex: 0 1 50%;
    gap: 32px;
    justify-content: center;
}

.services__column {}

.services__column:first-child {
    padding-top: 48px;
}

.services__item {}

.services__item:not(:last-child) {
    margin-bottom: 32px;
}

.item-service {
    background: rgba(129, 129, 139, 0.1);
    border-radius: 30px;
    display: block;
    padding: 55px 25px;
}

.item-service__icon {}

.item-service__icon:not(:last-child) {
    margin-bottom: 16px;
}

.item-service__title {
    font-weight: 400;
    font-size: 19px;
    line-height: 1.4;
    align-items: center;
    color: #FFFFFF;
}

.item-service__title:not(:last-child) {
    margin-bottom: 10px;
}

.item-service__text {}

@media(max-width:991.98px) {
    .services {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

@media(max-width:767.98px) {
    .services {
        padding-top: 30px;
        padding-bottom: 30px;
    }
}

@media(max-width:1100px) {
    .services__container {
        flex-direction: column;
    }

    .services__header .header-main__title,
    .services__header .header-main__text {
        max-width: none;
    }
}

@media(max-width:620px) {
    .services__items {
        flex-direction: column;
    }

    .services__column:first-child {
        padding-top: 0px;
    }
}

/*=====why============================*/
.why {
    padding-top: 100px;
    padding-bottom: 100px;
}

.why__container {
    display: flex;
    column-gap: 64px;
    row-gap: 32px;
}

.why__images {
    flex: 0 1 50%;
}

.images-why {
    display: flex;
    position: relative;
    align-self: flex-end;
}

.images-why__item {
    overflow: hidden;
}

.images-why__item img {
    max-width: 100%;
}

.images-why__item_1 {
    position: relative;
    z-index: 2;
    border-radius: 90% 0 50% 50% / 50% 0 31% 31%;
}

.images-why__item_2 {
    align-self: flex-end;
    border-radius: 50% 50% 50% 0;
}

.why__content {
    flex: 0 1 50%;
    align-self: center;
}

.why__header {}

/*=====================================*/
.header-main__list {}

.header-main__list li {
    position: relative;
    min-height: 32px;
    padding-left: 40px;
    line-height: 1.5;
    color: #9C9C9C;
    padding-top: 5px;
}

.header-main__list li:not(:last-child) {
    margin-bottom: 16px;
}

.header-main__list li::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    background: rgba(129, 129, 139, 0.1) url('../img/icons/Vector.svg') center no-repeat;
}

/*=====================================*/
.images-why::before {
    content: "";
    background: url('../img/decor.svg') 0 0 no-repeat;
    width: 122px;
    height: 122px;
    position: absolute;
    bottom: -10px;
    left: -34px;
}

@media(max-width:991.98px) {
    .why {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

@media(max-width:767.98px) {
    .why {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .why__container {
        flex-direction: column-reverse;
    }
}

/*====advantages=============================*/

.advantages {
    padding-top: 100px;
    padding-bottom: 100px;
}

.advantages__container {
    display: flex;
    row-gap: 32px;
}

.advantages__items {
    flex: 1 1 auto;
    padding-right: 32px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 32px;
}

.advantages__item {
    padding: 40px;
    background-color: rgba(129, 129, 139, 0.1);
    border-radius: 30px;
}

.advantages__value {
    font-weight: 500;
    font-size: 51.2px;
    line-height: 1.2;
    color: #fff;
}

.advantages__value:not(:last-child) {
    margin-bottom: 32px;
}

.advantages__text {
    font-size: 18px;
    line-height: 1.5;
    color: #9C9C9C;
}

.advantages__image {
    align-self: center;
    flex: 0 0 38%;
    /*38.167939%; /* 500/1310 */
    overflow: hidden;
    border-radius: 0 67% 59% 59% / 0 67% 51% 52%;
}

.advantages__image img {
    max-width: 100%;
    transform: scale(1.007);
    /*немного увеличить изображение, чтобы не было белого фона видно*/
}

@media(max-width:991.98px) {
    .advantages {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .advantages__container {
        flex-direction: column;
    }

    .advantages__items {
        padding-right: 0;
    }
}

@media(max-width:767.98px) {
    .advantages {
        padding-top: 30px;
        padding-bottom: 30px;
    }
}

@media(max-width:650px) {
    .advantages__items {
        grid-template-columns: auto;
    }
}

/*=====testimonials============================*/

.testimonials {
    padding-top: 100px;
    padding-bottom: 100px;
}

.testimonials__container {}

.testimonials__header {
    margin-bottom: 64px;
}

.testimonials__items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.testimonials__item {}

.item-testimonials {
    padding: 64px 40px;
    background: rgba(129, 129, 139, 0.1);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.item-testimonials__user {}

.user-testimonials {
    display: flex;
    gap: 16px;
    align-items: center;
}

.user-testimonials__avatar {
    flex: 0 0 68px;
    overflow: hidden;
}

.user-testimonials__avatar img {
    max-width: 100%;
    transform: scale(1.05);
}

.user-testimonials__avatar_1 {
    border-radius: 0 50% 50% 50%;
}

.user-testimonials__avatar_2 {
    border-radius: 50% 0 50% 50%;
}

.user-testimonials__avatar_3 {
    border-radius: 50% 50% 0 50%;
}

.user-testimonials__body {}

.user-testimonials__title {
    line-height: 1.5;
    color: #fff;
}

.user-testimonials__title:not(:last-child) {
    margin-bottom: 7px;
}

.user-testimonials__company {
    color: #9C9C9C;
    font-size: 14px;
    line-height: 1.6;
}

.item-testimonials__title {
    font-weight: 400;
    font-size: 32px;
    line-height: 1.4;
    color: #fff;
}

.item-testimonials__text {
    color: #9C9C9C;
    line-height: 1.5;
    flex: 1 1 auto;
}

@media(max-width:1100px) {
    .testimonials__items {
        grid-template-columns: auto;
    }
}

@media(max-width:991.98px) {
    .testimonials {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .testimonials__header {
        margin-bottom: 40px;
    }
}

@media(max-width:767.98px) {
    .testimonials {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .item-testimonials {
        padding: 30px 15px;
    }
}

/*====blog=============================*/

.blog {
    padding-top: 100px;
    padding-bottom: 100px;
}

.blog__container {}

.blog__header {
    margin-bottom: 64px;
}

.blog__items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.blog__item {}

.item-blog {
    background: rgba(129, 129, 139, 0.1);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.item-blog__header {
    position: relative;
}

.item-blog__category {
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgba(129, 129, 139, 0.5);
    border-radius: 0px 10px 0px 0px;
    color: #fff;
    font-size: 14px;
    line-height: 1.6;
    padding: 10px;
}

.item-blog__image {
    display: block;
    position: relative;
    padding-bottom: 49.238579%;
    /* 194/394 */
}

.item-blog__image img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
}

.item-blog__body {
    padding: 36px 26px;
}

.item-blog__date {
    color: rgba(129, 129, 139, 0.9);
    line-height: 1.6;
}

.item-blog__date:not(:last-child) {
    margin-bottom: 20px;
}

.item-blog__title {
    font-size: 19px;
    line-height: 1.4;
    color: #fff;
}

.item-blog__title:hover {
    text-decoration: underline;
}

.item-blog__title:not(:last-child) {
    margin-bottom: 30px;
}

.item-blog__link-title {}

.item-blog__text {
    line-height: 1.5;
}

.item-blog__text:not(:last-child) {
    margin-bottom: 20px;
}

.item-blog__link {
    color: #3D96F4;
    font-size: 14px;
    line-height: 1.6;
}

.item-blog__link:hover {
    text-decoration: underline;
}

@media(max-width:1110px) {
    .blog__items {
        gap: 20px;
    }

    .item-blog__body {
        padding: 25px 15px;
    }
}

@media(max-width:991.98px) {
    .blog {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .blog__header {
        margin-bottom: 44px;
    }
}

@media(max-width:767.98px) {
    .blog {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .blog__items {
        grid-template-columns: auto;
    }

    .blog__header {
        margin-bottom: 24px;
    }
}

/*====start=============================*/

.start {
    padding-top: 100px;
    padding-bottom: 100px;
}

.start__container {}

.start__body {
    display: flex;
    background: rgba(129, 129, 139, 0.1);
    border-radius: 30px;
    align-items: center;
    padding: 52px 40px;
}

.start__column {
    flex: 0 1 50%;
    text-align: center;

}

.start__title {
    font-size: 32px;
    line-height: 1.4;
    color: #fff;
}

.start__title:not(:last-child) {
    margin-bottom: 16px;
}

.start__text {
    line-height: 1.5;
    color: #9C9C9C;
    max-width: 340px;
    display: inline-block;
}

.start__actions {
    display: flex;
    column-gap: 32px;
    row-gap: 20px;
    justify-content: center;

}

.start__button {}

@media(max-width:991.98px) {
    .start__body {
        flex-direction: column;
        align-items: stretch;
        row-gap: 30px;
    }

    .start {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

@media(max-width:767.98px) {
    .start__title {
        font-size: 24px;
    }

    .start {
        padding-top: 30px;
        padding-bottom: 30px;
    }
}

@media(max-width:479.98px) {
    .start__actions {
        flex-direction: column;
    }
}

/*=====footer============================*/
.footer {}

.footer__main {
    padding-top: 100px;
    padding-bottom: 160px;
}

.main-footer {}

.main-footer__container {
    display: grid;
    gap: 64px;
    grid-template-columns: minmax(auto, 378px) auto auto minmax(auto, 378px);
}

@media(max-width:1100px) {
    .main-footer__container {
        gap: 45px;
        grid-template-columns: minmax(auto, 378px) auto auto;
    }

    .main-footer__column:nth-child(1) {
        grid-column: span 3;
    }
}

@media(max-width:767.98px) {
    .main-footer__container {
        gap: 35px;
        grid-template-columns: auto auto;
    }

    .main-footer__column:nth-child(1) {
        grid-column: span 2;
    }

    .main-footer__column:nth-child(4) {
        grid-column: span 2;
    }
}


.main-footer__column {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.main-footer__logo {}

.main-footer__text {}

.main-footer__text:not(:last-child) {
    margin-bottom: 34px;
}

.main-footer__social {}

.social {
    display: flex;
    gap: 16px;
}

.social__link {
    flex: 0 0 36px;
    height: 36px;
    border: 1px solid rgba(129, 129, 139, 0.9);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: border 0.3s ease 0s;
}

.social__link:hover {
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.main-footer__label {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 1px;
    color: #FFFFFF;
}

.main-footer__menu {}

.menu-footer {}

.menu-footer__list {
    display: grid;
    gap: 24px;
}

.menu-footer__item {}

.menu-footer__link {}

.menu-footer__link:hover {
    color: #fff;
}

.subscribe {
    display: flex;
    gap: 16px;
}

@media(max-width:479.98px) {
    .subscribe {
        flex-direction: column;
    }
}

.subscribe__text {}

.subscribe__form {}

.subscribe__input {
    width: 100%;
    border: 1px solid rgba(129, 129, 139, 0.3);
    border-radius: 50px;
    padding: 15px 30px;
    background-color: transparent;
}

.subscribe__input ::placeholder {
    color: #999999;
}

.subscribe__button {}

.footer__bottom {}

.bottom-footer {
    border-top: 1px solid rgba(129, 129, 139, 0.3);
    padding-top: 45px;
    padding-bottom: 45px;
}

.bottom-footer__container {}

.bottom-footer__copy {
    text-align: center;
    color: #9C9C9C;
    font-size: 14px;
    line-height: 1.6;
}

@media(max-width:991.98px) {
    .footer__main {
        padding-top: 50px;
        padding-bottom: 70px;
    }
}

@media(max-width:767.98px) {
    .footer__main {
        padding-top: 30px;
        padding-bottom: 50px;
    }

    .bottom-footer {
        padding-top: 25px;
        padding-bottom: 25px;
    }
}

/*=================================*/