/* ============================================
   TESTIMONIALS SECTION - Masonry Layout
   ============================================ */

.testimonials-section {
    padding: var(--spacing-2xl) 0;
    background: #f8f9fa;
}

/* Header */
.testimonials-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.testimonials-header .section-title {
    margin-bottom: var(--spacing-sm);
}

.google-rating {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    font-size: 14px;
}

.google-rating img {
    flex-shrink: 0;
}

.rating-stars {
    color: #fbbc05;
    letter-spacing: 2px;
}

.rating-score {
    font-weight: 700;
    color: var(--color-text);
}

.rating-count {
    color: var(--color-text-light);
}

/* Masonry Grid */
.testimonials-masonry {
    column-count: 3;
    column-gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Card Styles */
.testimonial-card {
    break-inside: avoid;
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.testimonial-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

/* Card Header */
.testimonial-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    flex-shrink: 0;
}

.author-info {
    flex: 1;
}

.author-name {
    display: block;
    font-weight: 600;
    font-size: 15px;
    color: var(--color-text);
    line-height: 1.3;
}

.author-meta {
    display: block;
    font-size: 12px;
    color: var(--color-text-light);
}

.google-icon {
    flex-shrink: 0;
    opacity: 0.7;
}

/* Stars */
.testimonial-stars {
    color: #fbbc05;
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

/* Content */
.testimonial-content {
    font-size: 14px;
    line-height: 1.65;
    color: #444;
    margin: 0;
}

/* CTA */
.testimonials-cta {
    text-align: center;
    margin-top: var(--spacing-xl);
}

.testimonials-cta .btn--outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border: 2px solid #ddd;
    border-radius: 8px;
    color: var(--color-text);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    background: #fff;
}

.testimonials-cta .btn--outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* Responsive */
@media (max-width: 900px) {
    .testimonials-masonry {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .testimonials-section {
        padding: var(--spacing-xl) 0;
    }

    .testimonials-masonry {
        column-count: 1;
    }

    .testimonial-card {
        padding: 20px;
    }
}
