/* ============================================
   Testimonials Section Styles
   ============================================ */

.testimonials {
    padding: 4rem 0;
    background: var(--bg-gray-900);
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.testimonials-subtitle {
    font-size: 1.125rem;
    color: var(--text-gray-400);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background: var(--bg-gray-800);
    padding: 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-gray-700);
    transition: transform 0.2s, box-shadow 0.2s;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.testimonial-rating {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.testimonial-stars {
    display: flex;
    color: var(--primary-yellow);
    font-size: 1.125rem;
}

.testimonial-date {
    margin-left: 0.5rem;
    color: var(--text-gray-300);
    font-size: 0.875rem;
}

.testimonial-text {
    color: var(--text-gray-300);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--primary-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: 700;
    margin-right: 0.75rem;
}

.testimonial-author-info {
    flex: 1;
}

.testimonial-author-name {
    color: white;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.testimonial-author-location {
    color: var(--text-gray-400);
    font-size: 0.875rem;
}

.testimonials-summary {
    text-align: center;
    margin-top: 2rem;
    color: var(--text-gray-400);
    font-size: 0.875rem;
}

.testimonials-summary strong {
    color: var(--text-white);
}

/* Animaciones */
.testimonial-card {
    animation: fadeInUp 0.6s ease-out;
}

.testimonial-card:nth-child(1) {
    animation-delay: 0.1s;
}

.testimonial-card:nth-child(2) {
    animation-delay: 0.2s;
}

.testimonial-card:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .testimonials-title {
        font-size: 1.875rem;
    }
    
    .testimonial-card {
        padding: 1.25rem;
    }
    
    .testimonial-text {
        font-size: 0.875rem;
    }
}
