.testimonials-section {
    background-color: #fff;
}

/* Desktop: grid de testimonios */
.testimonials-carousel-wrapper {
    display: block;
}

.testimonials-carousel-wrapper .testimonials-arrow {
    display: none;
}

.testimonials-carousel-wrapper .testimonials-slider {
    overflow: visible;
}

.testimonials-carousel-wrapper .testimonials-track {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    transform: none;
}

/* Mobile: carrusel un testimonio + flechas */
@media (max-width: 768px) {
    .testimonials-carousel-wrapper {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .testimonials-carousel-wrapper .testimonials-arrow {
        display: flex;
        flex: 0 0 auto;
        width: 2.5rem;
        height: 2.5rem;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(var(--primary-rgb), 0.2);
        border-radius: 50%;
        background: white;
        color: var(--primary);
        cursor: pointer;
        transition: background 0.2s, color 0.2s;
    }

    .testimonials-carousel-wrapper .testimonials-arrow:hover {
        background: var(--accent);
        color: white;
        border-color: var(--accent);
    }

    .testimonials-carousel-wrapper .testimonials-slider {
        flex: 1;
        min-width: 0;
        overflow: hidden;
    }

    .testimonials-carousel-wrapper .testimonials-track {
        display: flex;
        grid-template-columns: unset;
        gap: 0;
        width: 300%;
        transition: transform 0.35s ease;
    }

    .testimonials-carousel-wrapper .testimonials-track .testimonial-card {
        flex: 0 0 33.333%;
        min-width: 0;
    }
}

.testimonial-card {
    background: var(--bg-body);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.testimonial-stars {
    color: #FFC107;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-weight: 600;
    color: var(--primary);
}

.author-avatar {
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Playfair Display", serif;
}