/* Landing #testimonials — lean quote cards */

#testimonials.testimonials-section-premium {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-bottom: 1px solid #e2e8f0;
}

#testimonials .testimonials-section-bg {
    opacity: 0.5;
}

#testimonials .testimonials-section-head {
    max-width: 40rem;
}

#testimonials .testimonials-section-eyebrow {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #64748b !important;
}

#testimonials .testimonials-section-rule {
    display: none;
}

#testimonials .testimonials-section-title {
    font-size: clamp(1.5rem, 3.2vw, 2.15rem);
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #0f172a !important;
}

#testimonials .testimonials-section-lead {
    font-size: 1.02rem;
    line-height: 1.65;
    color: #64748b;
    max-width: 34rem;
}

#testimonials .testimonials-cards-shell {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
}

#testimonials .ts-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.35rem 1.4rem 1.3rem;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px -8px rgba(15, 23, 42, 0.06);
    transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

#testimonials .ts-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.07);
    transform: translateY(-2px);
}

#testimonials .ts-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    margin-bottom: 0.85rem;
}

#testimonials .ts-rating i {
    font-size: 0.72rem;
    color: #22c55e;
}

#testimonials .ts-quote {
    margin: 0 0 1.15rem;
    padding: 0;
    border: none;
    flex: 1;
}

#testimonials .ts-quote p {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.62;
    color: #475569;
}

#testimonials .ts-card-footer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

#testimonials .ts-avatar {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #fff;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.06), 0 2px 8px rgba(15, 23, 42, 0.08);
}

#testimonials .ts-avatar--js {
    background: linear-gradient(145deg, #166534, #22c55e);
}

#testimonials .ts-avatar--ej {
    background: linear-gradient(145deg, #14532d, #4ade80);
}

#testimonials .ts-avatar--mb {
    background: linear-gradient(145deg, #15803d, #16a34a);
}

#testimonials .ts-meta {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

#testimonials .ts-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

#testimonials .ts-role {
    font-size: 0.75rem;
    font-weight: 500;
    color: #64748b;
    line-height: 1.35;
}

@media (max-width: 575.98px) {
    #testimonials .ts-card {
        padding: 1.15rem 1.2rem 1.1rem;
    }

    #testimonials .ts-quote p {
        font-size: 0.9rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    #testimonials .ts-card {
        transition: none;
    }

    #testimonials .ts-card:hover {
        transform: none;
    }
}
