.welcome-h {
    display: flex;
    align-items:  center;
    padding: 20px;
    border-radius: 8px;
    background-color: #ddf3ca;
}
.welcome-h__contant > * {
    text-transform: none;
    font-weight: 600;
    line-height: 1.1;
    color: #000;
}
.welcome-h__title {
    margin-bottom: 18px;
    font-size: 30px;
}
.welcome-h__text {
    text-wrap: balance;
    font-size: 18px;
}

@media (width >= 768px) {
    .welcome-h {
        min-height: 402px;
        padding-left: 70px;
        background-repeat: no-repeat;
        background-position: center top;
        background-size: cover;
        background-image: url(/images/chatbots/ban.jpg);
    }
    .welcome-h__contant {
        margin-right: 30%;
    }
    .welcome-h__title {
        font-size: 42px;
    }
    .welcome-h__text {
        font-size: 26px;
    }
}


.welcome-benefits {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.welcome-benefits__item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background-color: #e5eee8;
    padding: 30px 10px 50px;
}
.welcome-benefits__item-title {
    margin-bottom: 30px;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 800;
    color: var(--main-color);
    line-height: 1.21;
}
.welcome-benefits__item-text {
    max-width: 490px;
    font-size: 12px;
    line-height: 1.2;
    color: #757575;
}
.welcome-benefits__item-image {
    text-align: center;
    margin-top: 30px;
    margin-bottom: -75px;
}

@media (width >= 768px) {
    .welcome-benefits {
        gap: 28px;
    }
    .welcome-benefits__item {
        padding: 55px 40px 0px;
    }
    .welcome-benefits__item-title {
        font-size: 28px;
    }
    .welcome-benefits__item-text {
        font-size: 20px;
    }
}

.tg-description {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 70px;
    margin-bottom: 110px;
    padding: 0 0 20px 0;
}
.tg-description__image {
    flex-shrink: 0;
}
.tg-description__image img {
    max-width: 100%;
    height: auto;
}
.tg-description__text {
    font-size: 16px;
    line-height: 1.5;
    color: #808080;
}
.tg-description__text a {
    color: inherit;
}
.tg-description__text .b {
    font-weight: bold;
    color: #000;
}
@media (width >= 578px) {
    .tg-description {
        flex-direction: row;
        padding: 20px 20px 20px 0;
        gap: 50px;
    }
}
@media (width >= 992px) {
    .tg-description {
        margin-left: 117px;
        padding: 20px 77px 20px 0;
    }
}


.areas-of-application {
    margin-bottom: 100px;
}
.areas-of-application__title {
    margin-top: 0;
    margin-bottom: 30px;
    padding: 0;
}
.areas-of-application__text {
    margin-bottom: 45px;
    font-size: 16px;
    color: #808080;
}
.areas-of-application__grid {
    display: grid;
    grid-template-areas: 'b1' 'b2' 'b3' 'b4' 'b5';
    gap: 10px;
}
.areas-of-application__item {
    padding: 20px 10px;
    border-radius: 8px;
    background-color: #ddf3ca;
}
.areas-of-application__item:nth-child(1) {
    grid-area: b1;
}
.areas-of-application__item:nth-child(2) {
    grid-area: b2;
}
.areas-of-application__item:nth-child(3) {
    grid-area: b3;
}
.areas-of-application__item:nth-child(4) {
    grid-area: b4;
}
.areas-of-application__item:nth-child(5) {
    grid-area: b5;
}
.areas-of-application__item-title {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 700;
}
.areas-of-application__item-text {
    line-height: 1.5;
    font-size: 12px;
    color: #484848;
}
@media (width >= 480px) {
    .areas-of-application__grid {
        grid-template-areas: 'b1 b2' 
                             'b3 b4' 
                             'b5 b5';
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}
@media (width >= 768px) {
    .areas-of-application__item {
        padding: 35px 35px 30px;
    }
    .areas-of-application__item-title {
        font-size: 24px;
    }
    .areas-of-application__item-text {
        font-size: 16px;
    }
}
@media (width >= 992px) {
    .areas-of-application__grid {
        grid-template-columns: 2fr 1fr 1fr 2fr;
        grid-template-areas: 'b1 b2 b2 b3'
                             'b4 b4 b5 b5';
        gap: 28px;
    }
}


.how-to-create {
    margin-bottom: 100px;
}
.how-to-create__title {
    margin-bottom: 25px;
    padding: 0;
}
.how-to-create__text {
    margin-bottom: 35px;
    font-size: 16px;
    color: #808080;
}
.how-to-create__item {
    margin-bottom: 20px;
    border: solid 1px #e6d4e0;
    padding: 30px 20px;
    border-radius: 8px;
    counter-increment: num;
}
.how-to-create__item-title {
    position: relative;
    margin-bottom: 24px;
    font-size: 24px;
    font-weight: 700;
    color: var(--main-color);
}
.how-to-create__item-title::before {
    margin-right: 20px;
    content: counter(num);
}
.how-to-create__item-text {
    font-size: 14px;
    color: #808080;
    line-height: 1.33;
}
.how-to-create__item-card {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 20px 60px;
}
.how-to-create__item-card-title {
    margin-bottom: 20px;
    font-size: 24px;
    color: #000;
}
.how-to-create__item-card-img-wrapp {
    flex-shrink: 0;
}
.how-to-create__item-card-text {
    font-size: 14px;
    color: #808080;
}
@media (width >= 768px) {
    .how-to-create__item {
        padding: 40px 50px 60px 100px;
    }
    .how-to-create__item-title::before {
        position: absolute;
        left: -55px;
    }
    .how-to-create__item-card {
        flex-direction: row;
    }
    .how-to-create__item-text {
        font-size: 18px;
    }
    .how-to-create__item-card-text {
        font-size: 16px;
    }
}


.tarif-tg-bots {
    margin-bottom: 146px;
}
.tarif-tg-bots__title {
    margin-top: 0;
    margin-bottom: 25px;
    padding: 0;
}
.tarif-tg-bots__text {
    margin-bottom: 40px;
    font-size: 16px;
    color: #808080;
}
.tarif-tg-bots__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px 28px;
}
.tarif-tg-bots__item {
    min-height: 406px;
    display: flex;
    flex-direction: column;
    padding: 40px 35px 35px;
    border-radius: 8px;
    background-color: #f5f5f5;
}
.tarif-tg-bots__item-title {
    margin-bottom: 40px;
    font-size: 24px;
    font-weight: 700;
    color: #000;
}
.tarif-tg-bots__item-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 40px;
    font-size: 34px;
    font-weight: 700;
    color: #000;
}
.tarif-tg-bots__item-price-before {
    display: inline-block;
    margin-right: 10px;
    font-size: 14px;
    font-weight: 700;
}
.tarif-tg-bots__item-text {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.6;
    color: #808080;
}
.tarif-tg-bots__item-btn-wrapp {
    margin-top: auto;
}
.tarif-tg-bots__item-btn-wrapp .btn {
    display: block;
    width: 100%;
    font-size: 22px;
    font-weight: 600;
    border-radius: 8px;
}
@media (width >= 568px) {
    .tarif-tg-bots__row {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (width >= 768px) {
    .tarif-tg-bots__row {
        grid-template-columns: repeat(3, 1fr);
    }
}


.chat-bots-example {
    margin-bottom: 190px;
}
.chat-bots-example__title {
    margin-bottom: 65px;
    text-align: center;
}
.chat-bots-example__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 90px;
}
.chat-bots-example__item {
    position: relative;
    max-width: 354px;
    width: 100%;
    height: auto;
    background: no-repeat url(/images/chatbots/iph.png);
    background-size: 100%;
}
.chat-bots-example__item::after {
    content: "";
    display: block;
    padding-bottom: 204%;
}
.chat-bots-example__item-chat-wrapp {
    position: absolute;
    top: 14.8%;
    left: 5.1%;
    right: 5.1%;
    bottom: 2.1%;
    overflow: hidden;
    border-radius: 0 0 45px 45px;
}
.chat-bots-example__item-chat {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    overflow-y: scroll;
    scrollbar-width: none;

    display: flex;
    flex-direction: column;
    background-color: #eee;
    font-size: 12px;
    height: 100%;
    padding-top: 15px;
}
.chat-bots-example__item-chat * {
    font-size: inherit;
    text-align: left;
}
.chat-bots-example__item-chat-r {
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 20px;
    padding: 7px 18px;
    max-width: 240px;
    background-color: #fff;
    color: #000;
    align-self: flex-end;
    border-radius: 12px;
}
.chat-bots-example__item-chat-l {
    display: inline-block;
    margin-left: 10px;
    margin-bottom: 20px;
    padding: 10px 18px;
    max-width: 200px;
    background-color: #cddef9;
    color: #000;
    align-self: flex-start;
    border-radius: 12px;
}


.advice-for-bot__title {
    margin-top: 0;
    margin-bottom: 25px;
    padding: 0;
}
.advice-for-bot__text {
    margin-bottom: 52px;
    font-size: 16px;
    font-weight: normal;
    color: #808080;
}
.advice-for-bot__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px 28px;
}
.advice-for-bot__item {
    padding-left: 55px;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.26;
    color: #000;
    background: no-repeat left top url(/images/chatbots/check.png);
}

@media (width >= 768px) {
    .advice-for-bot__row {
        grid-template-columns: repeat(3, 1fr);
    }
}