.reviews {
    background: linear-gradient(90deg, #46A6AC 0%, #6AD9DF 100%);
}

.reviews__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 0px;
    gap: 60px;
    overflow: hidden;
}

.reviews__title {
    color: #FFF;
    text-align: center;
    font-family: "Evolventa", sans-serif;
    font-size: 36px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/* Карусель */
.reviews__track {
    width: 100%;
    overflow: hidden;
    cursor: grab;
}

.reviews__track:active {
    cursor: grabbing;
}

.reviews__cards {
    display: flex;
    gap: 30px;
    padding: 0 calc((100% - 1020px) / 2);
    user-select: none;
}

/* Карточка отзыва */
.reviews__card {
    flex-shrink: 0;
    width: 320px;
    height: 349px;
    background: #FFF;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.reviews__card-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.reviews__card-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.reviews__card-name {
    font-family: "Evolventa", sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.3;
    color: #000;
    white-space: nowrap;
}

.reviews__card-stars {
    display: flex;
    align-items: center;
}

.reviews__card-date {
    font-family: "Manrope", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.5;
    color: #000;
}

.reviews__card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.reviews__card-text {
    font-family: "Manrope", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    color: #000;
}

.reviews__card-link a {
    font-family: "Manrope", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.7);
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    padding-bottom: 2px;
}

.reviews__card-link a:hover {
    color: rgba(0, 0, 0, 0.9);
    border-bottom-color: rgba(0, 0, 0, 0.5);
}

/* Кастомный скроллбар */
.reviews__scrollbar {
    width: 268px;
    height: 24px;
    display: flex;
    align-items: center;
}

.reviews__scrollbar-track {
    width: 100%;
    height: 8px;
    background: #FFFFFF;
    position: relative;
    border-radius: 4px;
}

.reviews__scrollbar-thumb {
    position: absolute;
    top: 0.5px;
    left: 0.5px;
    width: 72px;
    height: 7px;
    background: #00959D;;
    border-radius: 3px;
    cursor: grab;
}

.reviews__scrollbar-thumb:active {
    cursor: grabbing;
}

/* ===== Мобильная версия ===== */
@media (max-width: 767px) {
    .reviews__container {
        padding: 40px 0;
        gap: 30px;
    }

    .reviews__title {
        font-size: clamp(24px, 7.5vw, 30px);
        padding: 0 20px;
    }

    .reviews__cards {
        padding: 0 20px;
        gap: 16px;
    }

    .reviews__card {
        width: 280px;
        height: auto;
        min-height: 280px;
        padding: 16px;
        border-radius: 16px;
        gap: 12px;
    }

    .reviews__card-name {
        font-size: 20px;
    }

    .reviews__card-stars svg {
        width: 20px;
        height: 20px;
    }

    .reviews__card-text {
        font-size: 15px;
    }

    .reviews__card-link a {
        font-size: 14px;
    }

    .reviews__scrollbar {
        width: 200px;
    }
}
