.testimonials-slider {
    padding: 2rem 0;
    margin: 3rem 0;
}

.testimonial-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px var(--shadow-color);
    margin: 1rem;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.client-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.client-info h4 {
    color: var(--text-color);
    margin-bottom: 0.3rem;
    font-size: 1.2rem;
}

.client-info p {
    color: #666;
    font-size: 0.9rem;
}

.rating {
    color: #ffd700;
    margin-top: 0.5rem;
}

blockquote {
    font-style: italic;
    color: var(--text-color);
    line-height: 1.6;
    margin: 1.5rem 0;
    padding-left: 1rem;
    border-left: 3px solid var(--primary-color);
}

.testimonial-date {
    color: #666;
    font-size: 0.9rem;
    text-align: right;
}

.testimonials-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(45deg, var(--primary-color), #0052a3);
    border-radius: 15px;
    color: white;
}

.testimonials-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.testimonials-cta p {
    margin-bottom: 2rem;
}

.review-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: white;
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.review-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Swiper Customization */
.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color);
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.2rem;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
}

.testimonials-section {
    padding: 6rem 0;
    background: var(--background-color);
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.testimonials-title {
    text-align: center;
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
    color: var(--text-color);
    margin-bottom: 3rem;
    position: relative;
}

.testimonials-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.client-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.client-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-info h4 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.client-info p {
    font-size: 0.9rem;
    color: #666;
}

.testimonial-text {
    color: var(--text-color);
    font-style: italic;
    line-height: 1.6;
    margin: 1.5rem 0;
}

.testimonial-rating {
    color: #ffc107; /* Color amarillo para las estrellas */
}

[data-theme="dark"] .testimonial-card {
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.1);
}

[data-theme="dark"] .testimonial-text {
    color: rgba(255,255,255,0.9);
}

[data-theme="dark"] .testimonial-header h4 {
    color: rgba(255,255,255,0.95);
}

[data-theme="dark"] .testimonial-header p {
    color: rgba(255,255,255,0.7);
}

@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        padding: 1.5rem;
        margin: 0.5rem;
    }

    .testimonials-cta {
        padding: 2rem;
        margin: 2rem 1rem;
    }

    .client-image {
        width: 50px;
        height: 50px;
    }

    .testimonial-header {
        gap: 1rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-title {
        font-size: 2rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }
}
