.reviews-section {
    padding: var(--section-padding);
    /*background: linear-gradient(180deg, var(--bg-light), var(--bg-section));*/
    background: linear-gradient(135deg, #f8f5f0, #f1e7dc, #e9dccd);
    text-align: center;
}

.reviews-section h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.reviews-wrapper {
    width: min(95%, 650px);
    height: clamp(260px, 40vh, 360px);
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    border-radius: 18px;
    background: var(--white);

    border: 1px solid rgba(255, 138, 92, 0.18);

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.08),
        0 25px 60px rgba(0, 0, 0, 0.10);

    transform: translateZ(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reviews-wrapper:hover {
    transform: translateY(-6px);
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.10),
        0 35px 80px rgba(0, 0, 0, 0.12);
}

.reviews-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    z-index: -1;

    background: linear-gradient(
        135deg,
        rgba(246, 242, 236, 0.9),
        rgba(241, 237, 230, 0.8),
        rgba(235, 230, 221, 0.9)
    );
}

.reviews-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    pointer-events: none;
    animation: glowPulse 4s ease-in-out infinite;
}

.reviews-track {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.review-slide {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    min-height: 100%;
    padding: clamp(1.2rem, 2vw, 2rem);
    justify-content: center;
}

.review-card {
    position: relative;
    background: var(--bg-light);
    border-radius: 16px;
    padding: clamp(1rem, 1.5vw, 1.4rem);
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.review-card.active-bounce {
    animation: bounceSoft 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.review-card.active-bounce::before {
    opacity: 1;
}

.review-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at top left,
        rgba(140, 191, 159, 0.12),
        transparent 65%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.review-stars {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: clamp(0.7rem, 1vw, 0.95rem);
    color: var(--secondary);
    padding: 0.2rem 0.5rem;
    border-radius: 20px;
    background: rgba(255,255,255,0.65);
    backdrop-filter: none;
    transition: all 0.3s ease;
}

.review-card.active-bounce .review-stars {
    color: var(--accent);
    transform: scale(1.05);
    text-shadow: 0 0 8px rgba(140, 191, 159, 0.35);
}

.review-text {
    color: var(--text);
    line-height: 1.6;
    font-size: clamp(0.85rem, 1vw, 0.95rem);
    opacity: 0.9;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.reviews-indicators {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1.4rem;
}

.reviews-indicators span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0,0,0,0.2);
    cursor: pointer;
    transition: all 0.25s ease;
}

.reviews-indicators span:hover {
    transform: scale(1.2);
    background: var(--accent);
}

.reviews-indicators span.active {
    background: var(--primary);
    transform: scale(1.2);
}

@keyframes bounceSoft {
    0% { transform: translateY(0); }
    35% { transform: translateY(-6px); }
    65% { transform: translateY(2px); }
    100% { transform: translateY(0); }
}

@keyframes glowPulse {
    0% { box-shadow: 0 0 0 rgba(0,0,0,0); }
    50% { box-shadow: 0 0 20px rgba(255, 138, 92, 0.2); }
    100% { box-shadow: 0 0 0 rgba(0,0,0,0); }
}