/* Reviews Section */
.reviews-section-wrapper {
    padding: 80px 20px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background-color: transparent;
}

.reviews-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 60px 0;
    border-radius: 24px;
    background: #faf7f2;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.reviews-grid-wrapper::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    background: linear-gradient(to top, #faf7f2 35%, rgba(248, 249, 250, 0));
    pointer-events: none;
    z-index: 1;
}

.reviews-copy {
    padding: 12px 0;
    text-align: center;
    margin-bottom: 20px;
}

.reviews-title {
    font-size: 42px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.2;
    margin: 0 0 16px 0;
}

.reviews-link {
    font-weight: 600;
    color: #8c7456;
    text-decoration: none;
    display: inline-block;
    margin-top: 8px;
    transition: color 0.3s ease;
}

.reviews-link:hover {
    color: #8c7456;
}

.reviews-grid-wrapper {
    position: relative;
    overflow: hidden;
}

/* Gradient Fade for Bottom (Desktop) */
.desktop-only.reviews-grid-wrapper::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    background: linear-gradient(to top, #faf7f2 35%, rgba(252,235,236,0));
    pointer-events: none;
    z-index: 2;
}

.reviews-grid {
    column-gap: 24px;
    column-count: 3;
    max-height: 600px;
    overflow: hidden;
}

.review-card {
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 24px;
    display: inline-block;
    width: 100%;
    break-inside: avoid-column;
    page-break-inside: avoid;
    -webkit-column-break-inside: avoid;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.review-card-header {
    margin-bottom: 12px;
}

.review-stars {
    color: #8c7456;
    letter-spacing: 1px;
    font-size: 14px;
}

.review-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 4px 0;
}

.review-card span {
    font-size: 12px;
    color: #6c757d;
    display: block;
    margin-bottom: 12px;
}

.review-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

/* Visibility toggles */
.desktop-only { display: block; }
.mobile-only { display: none; }

/* Mobile Animation Styles */
@media (max-width: 768px) {
    .desktop-only { display: none; }
    .mobile-only { display: block; }

    .reviews-section-wrapper {
        padding: 40px 0;
    }

    .reviews-section {
        padding: 40px 0;
        border-radius: 0;
        background: #8c7456;
        max-height: none;
    }

    .reviews-title {
        font-size: 28px;
        padding: 0 20px;
    }

    .reviews-copy {
        margin-bottom: 10px;
    }

    .reviews-mobile-marquee {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 20px 0;
    }

    .marquee-row {
        width: 100%;
        overflow: hidden;
        white-space: nowrap;
        position: relative;
    }

    .marquee-content {
        display: inline-flex;
        gap: 16px;
        padding: 0 8px;
    }

    .marquee-left .marquee-content {
        animation: scrollLeft 30s linear infinite;
    }

    .marquee-right .marquee-content {
        animation: scrollRight 30s linear infinite;
    }

    .review-card {
        flex: 0 0 300px;
        width: 300px;
        margin-bottom: 0;
        white-space: normal;
        display: flex;
        flex-direction: column;
    }

    .marquee-row:hover .marquee-content {
        animation-play-state: paused;
    }
}

@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scrollRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}
