.works {
    padding-top: 50px;
    padding-bottom: 75px;
    background-color: #ffffff;
}
.works__title {
    color: #2b2e51;
    font-size: 33px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 66px;
    text-align: center;
}
.works__grid {
    display: grid;
    grid-template-columns: 1fr max-content 1fr;
    gap: 28px;
}
.works__grid-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}
.works__grid-item.img {
    justify-content: center;
    align-items: center;
}
.works__grid-item img {
    max-width: 100%;
    height: auto;
}
.works-text__title {
    color: #060606;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    margin-bottom: 10px;
    width: max-content;
}
.work-circle {
    margin-top: 7px;
    margin-right: 7px;
    width: 7px;
    height: 7px;
    background-color: #fc8c01;
    border-radius: 50%;
    flex-shrink: 0;
}
@media(min-width: 992px) {
    .tar .works-text__p {
        text-align: right;
    }
    .tar .works-text__title {
        text-align: right;
        margin-left: auto;
    }
}

.works-text__p {
    margin: 0;
    color: #060606;
    font-size: 15px;
}
.pl15 {
    padding-left: 15px;
}
.ptb20 {
    padding: 20px 0;
}
.works-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding-bottom: 128px;
}
.works-info__text {
    color: #000000;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    margin-top: 0;
    margin-bottom: 8px;
}
.works-info__btn {
    width: 244px;
    height: 50px;
    box-shadow: 0 5px 5px 1px rgba(230, 78, 78, 0.32);
    border-radius: 4px;
    background-color: #fe3131;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 0;
    transition: all .4s ease;
}
.works-info__btn:hover {
    background-color: #b50000;
}
.works-text.bottom {
    display: none;
}
.works__img {
    display: none;
}
@media(max-width: 1199px) {
    .works__grid {
        grid-template-columns: 1fr 2fr 1fr;
    }
    .works-text__title,
    .works-text__p,
    .works-info__text {
        font-size: 14px;
    }
    .works-info {
        bottom: 18px;
    }
    .works-info__btn {
        width: 214px;

    }
    .works-text:not(:last-child) {
        margin-bottom: 10px;
    }
}

@media(max-width: 991px) {
    .works {
        padding-top: 34px;
        padding-bottom: 50px;
    }
    .works__grid {
        display: flex;
        flex-direction: column;
        padding-left: 20px;
        gap: 0;
    }
    .work-circle {
        display: none;
    }
    .works__title {
        font-size: 20px;
        margin-bottom: 25px;
    }
    .pl15 {
        padding: 0;
    }
    .ptb20 {
        padding: 0;
        order: 3;
    }
    .works-text__title {
        margin-bottom: 6px;
    }
    .works__grid-item:not(.img) {
        padding-left: 40px;
        border-left: 1px dashed #fc981c;
    }
    .works__grid-item.img {
        margin-left: -20px;
    }
    .works-text__p br {
        display: none;
    }
    .works-text {
        margin-bottom: 35px!important;
        position: relative;
    }
    .mb0 {
        margin-bottom: 0 !important;
    }
    .dn {
        display: none;
    }
    .works__grid-item.img {
        margin-top: 35px;
    }
    .works-info {
        margin-top: 35px;
        padding-bottom: 0;
        bottom: 10px;
    }
    .works-info__btn {
        width: 244px;
    }
    body .works-info__text {
        font-size: 15px;
    }
    .works__img {
        position: absolute;
        display: block;
        left: -61px;
        top: -14px;
    }
    .works-text.bottom {
        padding-left: 60px;
        margin-top: 40px;
        display: block;
    }
    .works-text.bottom img {
        left: 0;
    }
    .mb0 {
        order: 3;
    }
    .mb0::before {
        content: '';
        width: 3px;
        height: 100%;
        background-color: #fff;
        top: 0;
        left: 0;
        position: absolute;
        left: -43px;
    }
}