
/* ==========================================
   SNP GROUP - CLIENT REVIEWS
   Desktop: 3 Cards
   Tablet: 2 Cards
   Mobile: 1 Card + Swipe + Auto Scroll
========================================== */

.snp-reviews-section {
    width: 100%;
    padding: 75px 20px;
    background: #f5f8fc;
    font-family: 'Manrope', sans-serif;
    overflow: hidden;
    box-sizing: border-box;
}

.snp-reviews-section *,
.snp-reviews-section *::before,
.snp-reviews-section *::after {
    box-sizing: border-box;
}

.snp-reviews-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ---------- SECTION HEADING ---------- */

.snp-reviews-heading {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 42px;
}

.snp-reviews-tag {
    display: inline-block;
    color: #1672e8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.snp-reviews-heading h2 {
    color: #10243e;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 12px;
}

.snp-reviews-heading h2 span {
    color: #1672e8;
}

.snp-reviews-heading p {
    color: #68788d;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* ---------- DESKTOP REVIEW GRID ---------- */

.snp-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* ---------- REVIEW CARD ---------- */

.snp-review-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
    padding: 28px 25px;

    background: #ffffff;
    border: 1px solid #e8eef6;
    border-radius: 16px;

    box-shadow: 0 8px 28px rgba(16, 36, 62, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.snp-review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 34px rgba(16, 36, 62, 0.10);
}

/* ---------- CARD TOP ---------- */

.snp-review-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.snp-review-stars {
    color: #f5a623;
    font-size: 18px;
    letter-spacing: 2px;
}

.snp-review-quote {
    color: #dceafa;
    font-family: Georgia, serif;
    font-size: 62px;
    font-weight: 700;
    line-height: 0.8;
    height: 36px;
}

/* ---------- REVIEW TEXT ---------- */

.snp-review-text {
    color: #5b6b80;
    font-size: 14px;
    line-height: 1.85;
    margin: 0 0 25px;
    flex: 1;
}

/* ---------- CLIENT DETAILS ---------- */

.snp-review-client {
    display: flex;
    align-items: center;
    gap: 13px;
    border-top: 1px solid #edf1f6;
    padding-top: 18px;
}

.snp-review-avatar {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: #e8f2ff;
    color: #1672e8;

    font-size: 14px;
    font-weight: 800;
}

.snp-review-info {
    min-width: 0;
}

.snp-review-info h3 {
    color: #10243e;
    font-size: 14px;
    font-weight: 800;
    margin: 0 0 4px;
}

.snp-review-info span {
    color: #8190a3;
    font-size: 12px;
}

/* ---------- TABLET ---------- */

@media (min-width: 601px) and (max-width: 992px) {
    .snp-reviews-section {
        padding: 65px 20px;
    }

    .snp-reviews-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .snp-reviews-heading h2 {
        font-size: 32px;
    }
}

/* ---------- MOBILE CAROUSEL ---------- */


@media (max-width: 600px) {
    .snp-reviews-section {
        width: 100%;
        padding: 50px 0;
        overflow: hidden;
    }

    .snp-reviews-container {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .snp-reviews-heading {
        padding: 0 16px;
        margin: 0 auto 28px;
    }

    .snp-reviews-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        align-items: stretch;

        width: 100% !important;
        box-sizing: border-box;
        gap: 16px !important;
        padding: 0 16px 18px !important;
        margin: 0 !important;

        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory;
        scroll-snap-stop: always;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        overscroll-behavior-x: contain;
    }

    .snp-reviews-grid::-webkit-scrollbar {
        display: none;
    }

    .snp-reviews-grid > .snp-review-card {
        display: flex !important;
        flex: 0 0 calc(100vw - 64px) !important;
        width: calc(100vw - 64px) !important;
        min-width: calc(100vw - 64px) !important;
        max-width: calc(100vw - 64px) !important;

        box-sizing: border-box !important;
        margin: 0 !important;
        padding: 24px 20px;
        border-radius: 16px;

        scroll-snap-align: center;
        scroll-snap-stop: always;
        transform: none;
    }

    .snp-review-card:hover {
        transform: none;
    }

    .snp-review-text {
        font-size: 13px;
        line-height: 1.8;
    }
}

/* View More Button */
.snp-reviews-view-more {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 35px;
    width: 100%;
}

.snp-view-more-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 13px 28px;

    background: #1672e8;
    color: #ffffff;
    border: 2px solid #1672e8;
    border-radius: 8px;

    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;

    transition: all 0.3s ease;
}

.snp-view-more-btn span {
    font-size: 19px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.snp-view-more-btn:hover {
    background: #10243e;
    border-color: #10243e;
    color: #ffffff;
}

.snp-view-more-btn:hover span {
    transform: translateX(5px);
}

@media (max-width: 600px) {
    .snp-reviews-view-more {
        margin-top: 18px;
        padding: 0 16px;
    }

    .snp-view-more-btn {
        padding: 12px 24px;
        font-size: 13px;
    }
}