/* ============================================
   TESTIMONIALS ARCHIVE - PREMIUM STYLE
   Masonry Grid with Quote Cards
   ============================================ */

/* ============================================
   TESTIMONIALS HERO
   ============================================ */
.testimonials-hero-premium {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

/* ============================================
   FILTER BAR
   ============================================ */
.testimonials-filter-bar {
    position: sticky;
    top: 80px;
    z-index: 90;
    background: white;
    border-bottom: 1px solid #e2e8f0;
    padding: 1.5rem 0;
    margin-bottom: 3rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.testimonials-filter-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.rating-filter-pill {
    padding: 0.625rem 1.5rem;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-filter-pill:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

.rating-filter-pill.active {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-color: #f59e0b;
    color: white;
}

/* ============================================
   TESTIMONIALS MASONRY GRID
   ============================================ */
.testimonials-masonry {
    column-count: 3;
    column-gap: 2rem;
}

.testimonial-card-premium {
    break-inside: avoid;
    margin-bottom: 2rem;
    background: white;
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.testimonial-card-premium::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 120px;
    font-family: Georgia, serif;
    color: #f1f5f9;
    line-height: 1;
    z-index: 0;
}

.testimonial-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
    border-color: #f59e0b;
}

/* Rating Stars */
.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-rating svg {
    width: 20px;
    height: 20px;
    fill: #f59e0b;
}

/* Quote Content */
.testimonial-quote {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    font-style: italic;
}

/* Author Info */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 2px solid #f1f5f9;
    position: relative;
    z-index: 1;
}

.testimonial-author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid #f59e0b;
}

.testimonial-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-author-info {
    flex: 1;
}

.testimonial-author-name {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.25rem;
}

.testimonial-author-role {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

/* Verified Badge */
.testimonial-verified {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 20px;
    margin-top: 0.5rem;
}

.testimonial-verified svg {
    width: 14px;
    height: 14px;
}

/* ============================================
   STATS BAR
   ============================================ */
.testimonials-stats {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    margin-bottom: 3rem;
}

.testimonials-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.testimonial-stat-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.testimonial-stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: #f59e0b;
    margin: 0 0 0.5rem;
    line-height: 1;
}

.testimonial-stat-label {
    font-size: 0.9375rem;
    color: #64748b;
    font-weight: 600;
    margin: 0;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .testimonials-masonry {
        column-count: 2;
    }

    .testimonials-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials-filter-bar {
        top: 60px;
        padding: 1rem 0;
    }

    .testimonials-masonry {
        column-count: 1;
    }

    .testimonial-card-premium {
        padding: 1.5rem;
    }

    .testimonial-card-premium::before {
        font-size: 80px;
        top: -10px;
    }

    .testimonials-stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .testimonial-stat-card {
        padding: 1.5rem;
    }

    .testimonial-stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .testimonials-filter-content {
        overflow-x: auto;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .testimonials-filter-content::-webkit-scrollbar {
        display: none;
    }

    .rating-filter-pill {
        flex-shrink: 0;
    }
}