/* components/testimonials/testimonials.css */
.testimonials-loved {
    background: #f9fafb;
    padding: 100px 0 80px 0;
    position: relative;
    overflow: hidden;
}

.testimonials-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px auto;
}

.testimonials-header h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    color: var(--text-main, #111);
    margin-bottom: 16px;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.testimonials-header p {
    font-size: 18px;
    color: var(--text-muted, #6b7280);
    line-height: 1.6;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonial-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    padding: 32px 24px;
    border: 1.5px solid #f3f4f6;
    transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-card:hover {
    box-shadow: 0 8px 32px rgba(255, 214, 51, 0.1), 0 2px 16px rgba(139, 92, 246, 0.08);
    border-color: #ffe066;
    transform: translateY(-4px);
}

.testimonial-quote {
    margin-bottom: 24px;
    flex: 1;
}

.testimonial-quote i {
    font-size: 24px;
    color: #ffd633;
    margin-bottom: 12px;
    display: block;
    opacity: 0.8;
}

.testimonial-quote p {
    font-size: 15px;
    color: var(--text-main, #111);
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid #f3f4f6;
    padding-top: 20px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    object-fit: cover;
    background: #eee;
}

.author-info {
    min-width: 0;
}

.author-info h4 {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main, #111);
    margin: 0 0 4px 0;
    letter-spacing: -0.01em;
}

.author-info span {
    font-size: 13px;
    color: var(--text-muted, #6b7280);
    display: block;
}

.testimonials-nav {
    display: none;
}

@media (max-width: 1024px) {
    .testimonials-loved {
        padding: 60px 0;
    }
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .testimonials-loved {
        padding: 50px 0;
    }
    .testimonials-header h2 {
        font-size: 28px;
    }
    .testimonials-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding: 0 20px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .testimonials-grid::-webkit-scrollbar {
        display: none;
    }
    .testimonial-card {
        min-width: calc(100vw - 40px);
        scroll-snap-align: center;
    }
    .testimonials-nav {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 16px;
        margin-top: 30px;
    }
    .testimonials-btn {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: #fff;
        border: 1px solid #e5e7eb;
        color: #111;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        transition: all 0.2s;
    }
    .testimonials-dots {
        display: flex;
        gap: 8px;
    }
    .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #e5e7eb;
        cursor: pointer;
        transition: all 0.3s;
    }
    .dot.active {
        background: #ffd633;
        transform: scale(1.3);
    }
}