.works {
    position: relative;
    padding-top: 95px;
    /* padding-bottom: 120px; */
    color: white;
    background-image: url('../../images/fon.svg');
    /* overflow: hidden; */
}

.works .wrapper {
    max-width: 1340px;
}

.works_wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 64px;
    align-self: stretch;
}

.works_container {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.works_arrow {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    position: absolute;
    z-index: 99;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
}

.g_arrow.prev-btn {
    left: 0;
}

.g_arrow.next-btn {
    right: 0;
}

.g_arrow {
    position: absolute;
    z-index: 99;
    top: 50%;
    transform: translateY(-50%);
    width: max-content;
    display: flex;
    padding: 10px;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 100px;
    border: 1px solid var(--P, #676767);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
}

.g_arrow:hover {
    background: rgba(255, 255, 255, 0.1);
}

.swiper {
    width: 100%;
    padding: 0 22px !important;
}

.swiper-slide {
    width: 100%;
    height: auto;
}

/* work block - вместо review_block */
.work_block {
    width: 100%;
    height: auto;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(6px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    border: 1px solid transparent;
    transition: 0.4s;
}

.work_block:hover {
    border-color: rgba(241, 56, 64, 1);
}

/* контент блока с работой */
.work-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px;
}

/* изображение работы */
.work-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.work_block:hover .work-image img {
    transform: scale(1.05);
}

/* информация о работе */
.work-info {
    padding: 20px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.work-title {
    color: #F1F5F9;
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 26px;
}

.work-category {
    display: inline-block;
    color: #F13840;
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 4px 12px;
    background: rgba(241, 56, 64, 0.1);
    border-radius: 100px;
    width: fit-content;
}

.work-description {
    color: #CBD5E1;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
}

/* если нужен блок с заказчиком/клиентом (аналог review_user) */
.work-client {
    position: relative;
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.work-client .client-avatar {
    display: flex;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    border-radius: 9999px;
    border: 1px solid rgba(242, 13, 13, 0.30);
    overflow: hidden;
}

.work-client .client-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-name {
    color: #F1F5F9;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
}

.client-company {
    color: #64748B;
    font-family: Inter;
    font-size: 11px;
    font-style: normal;
    font-weight: 400;
    line-height: 14px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

/* декоративные фоны (аналог bg_review) */
.bg_work {
    position: absolute;
    width: 22px;
    height: 100%;
    z-index: 5;
    top: 0;
}


.bg_work.bg_left {
    left: 0;
    background: linear-gradient(to right, rgba(26, 26, 26, 1), #fff0);
}

.bg_work.bg_right {
    right: 0;
    background: linear-gradient(to right, #fff0, rgba(26, 26, 26, 1));
}

/* svg декоративные элементы */
.svg_bg_top_info_works {
    position: absolute;
    right: 0;
    top: 0;
}

.svg_bg_top_info_works::after {
    content: "";
    position: absolute;
    top: 9%;
    width: 844.664px;
    height: 944.406px;
    transform: rotate(-26deg);
    border-radius: 50%;
    opacity: 0.6;
    background: rgba(255, 43, 64, 0.05);
    filter: blur(200px);
    left: -394px;
}

/* медиа запросы */
@media (max-width: 800px) {
    .works {
        padding-top: 0;
        padding-bottom: 46px;
    }
    .works_wrap {
        gap: 32px;
    }
    .br_left {
        background: linear-gradient(to right, #221010, #fff0);
    }
    .br_right {
        background: linear-gradient(to right, #fff0, #221010);
    }
    .work-block {
        min-height: 340px;
    }
    .work-image {
        height: 180px;
    }
    .work-content {
        padding: 20px;
    }
}