/* ===== CLIENT TESTIMONIALS - Horizontal Scroll ===== */

.testimonials-section {
    padding: 60px 0 80px;
    overflow: hidden;
}

.testimonials-header {
    padding: 0 var(--container-padding, 40px);
    margin-bottom: 32px;
}

.testimonials-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 0.95;
    margin: 0 0 8px;
}

.testimonials-header .kicker {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    margin: 0;
}

.testimonials-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    padding: 4px var(--container-padding, 40px) 20px;
}

.testimonials-track:active {
    cursor: grabbing;
}

.testimonials-track::-webkit-scrollbar {
    height: 0;
    display: none;
}

.testimonial-card {
    flex: 0 0 auto;
    width: 420px;
    max-width: 85vw;
    scroll-snap-align: start;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 32px 28px 28px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.035);
    transform: translateY(-2px);
}

.testimonial-quote {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    flex: 1;
}

.testimonial-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-author-photo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.testimonial-author-photo--placeholder {
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.3);
}

.testimonial-author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.testimonial-author-name {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.testimonial-author-title {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
}

.testimonial-arrow {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-arrow {
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
}

/* Fade edges */
.testimonials-wrap {
    position: relative;
}

.testimonials-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 80px;
    background: linear-gradient(to right, transparent, var(--bg, #0A0A0A));
    pointer-events: none;
    z-index: 2;
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 40px 0 60px;
    }

    .testimonial-card {
        width: 340px;
        padding: 24px 22px 22px;
    }

    .testimonial-quote {
        font-size: 14px;
    }

    .testimonials-track {
        gap: 14px;
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        width: 300px;
    }
}