.home_customer {
    padding: 80px 0;

    .home_customer_title {
        text-align: center;
        font-size: 64px;
        line-height: 64px;
    }

    .customer_slider_section {
        padding: 20px 0;
    }

    .customer_slider_viewport {
        overflow: hidden;
        padding: 20px 0;
        position: relative;
    }

    .customer_slider_track {
        display: flex;
        align-items: stretch;
        transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .review_card {
        flex: 0 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        background-color: #f4a942;
        border-radius: 24px;
        padding: 50px 60px;
        position: relative;
        overflow: hidden;
        opacity: 0.7;
        transition: opacity 0.4s ease;

        &.active {
            opacity: 1;
        }
    }

    .review_quote_open {
        position: absolute;
        bottom: -40px;
        left: 20px;
        font-size: 260px;
        color: rgba(255, 255, 255, 0.2);
        line-height: 1;
        user-select: none;
        pointer-events: none;
    }

    .review_quote_close {
        position: absolute;
        top: 0px;
        right: 20px;
        font-size: 260px;
        color: rgba(255, 255, 255, 0.2);
        line-height: 1;
        user-select: none;
        pointer-events: none;
    }

    .review_text {
        flex: 1;
        text-align: center;
        font-size: 24px;
        line-height: 34px;
        color: #fff;
        font-style: italic;
    }

    .review_card_company {
        display: flex;
        align-items: center;
        gap: 16px;
        margin-top: 30px;
        position: relative;
        z-index: 2;

        .review_logo_wrap {
            width: 64px;
            height: 64px;
            background: #fff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            padding: 8px;

            img {
                width: 100%;
                height: auto;
                object-fit: contain;
            }
        }

        .review_company_name {
            font-size: 20px;
            line-height: 26px;
            font-weight: bold;
            color: #fff;
        }
    }

    .review_nav_btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 4;
        width: 56px;
        height: 56px;
        border-radius: 50%;
        border: 2px solid #ccc;
        background: #fff;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 36px;
        color: #555;
        line-height: 1;
        transition: all 0.2s ease;

        &#prevReview {
            left: 80px;
        }

        &#nextReview {
            right: 80px;
        }

        &:hover:not(:disabled) {
            background: #f4a942;
            color: #fff;
            border-color: #f4a942;
        }

        &:disabled {
            opacity: 0.3;
            cursor: not-allowed;
        }
    }
}

@media (max-width: 1200px) {
    .home_customer {
        .review_text {
            font-size: 20px;
        }
    }
}

@media (max-width: 992px) {
    .home_customer {
        padding: 50px 15px;

        .home_customer_title {
            text-align: start;
            font-size: 46px;
        }

        .review_text {
            font-size: 18px;
            line-height: 28px;
            br {
                display: none;
            }
        }

        .review_card_company {
            .review_company_name {
                font-size: 17px;
            }
        }

        .review_nav_btn {
            width: 44px;
            height: 44px;
            font-size: 28px;

            &#prevReview {
                left: 40px;
            }

            &#nextReview {
                right: 40px;
            }
        }

        .customer_slider_viewport {
            &::before,
            &::after {
                width: 140px;
            }
        }
    }
}

@media (max-width: 768px) {
    .home_customer {
        .review_card {
            min-height: 320px;
            padding: 36px 32px;
        }

        .review_text {
            line-height: 26px;
        }
    }
}

@media (max-width: 445px) {
    .home_customer {
        .review_card {
            min-height: 300px;
            padding: 30px 24px;
        }

        .review_nav_btn {
            width: 36px;
            height: 36px;
            font-size: 24px;

            &#prevReview {
                left: 20px;
            }

            &#nextReview {
                right: 20px;
            }
        }

        .customer_slider_viewport {
            &::before,
            &::after {
                width: 80px;
            }
        }
    }
}
