/* Testimonials copy kit, using the site's typography and section layout. */
#testimonials {
    position: relative;
    z-index: 2;
    padding: 100px clamp(12px, 5%, 100px) 80px;
}

#testimonials-heading {
    margin: 0 auto 24px;
    color: var(--text-color-dark, #2f3135);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}

#testimonials-heading span {
    color: #560c97;
}

#testimonials-splide.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 0;
    text-align: left;
}

#testimonials-splide .testimonial-card {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0;
    padding: 32px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e8e0f1;
    border-radius: 28px;
    box-shadow: 0 12px 36px rgba(86, 12, 151, 0.06);
    color: #302b38;
}

#testimonials-splide .testimonial-card__logo {
    position: absolute;
    z-index: 0;
    top: 22px;
    right: 28px;
    width: 190px;
    height: 104px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.85;
    pointer-events: none;
    user-select: none;
}

#testimonials-splide .testimonial-card__logo--light {
    filter: brightness(0);
}

#testimonials-splide .testimonial-card__logo--cosmos {
    top: 0;
    right: 10px;
    width: 220px;
    height: 160px;
    clip-path: inset(20% 24%);
}

#testimonials-splide .testimonial-card__quote-mark {
    display: block;
    height: 104px;
    padding-top: 14px;
    font-family: Georgia, serif;
    font-size: 80px;
    line-height: 1;
    color: #560c97;
    opacity: 0.25;
}

#testimonials-splide .testimonial-card__quote {
    flex: 1;
    margin: 16px 0 28px;
    padding: 0;
    border: 0;
    font-family: inherit;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.8;
    color: inherit;
}

#testimonials-splide .testimonial-card__quote p {
    margin: 0;
}

#testimonials-splide .testimonial-card__author {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding-top: 22px;
    border-top: 1px solid #eee8f4;
}

#testimonials-splide .testimonial-card__name {
    font-family: inherit;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: #560c97;
}

#testimonials-splide .testimonial-card__role {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
    color: #746c7d;
}

#testimonials-splide .testimonial-card__service {
    font-weight: 600;
    color: #560c97;
}

@media (max-width: 1024px) {
    #testimonials-splide.testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 720px;
    }
}

@media (max-width: 767px) {
    #testimonials {
        padding-top: 60px;
        padding-bottom: 44px;
    }

    #testimonials-splide.testimonials-grid {
        gap: 20px;
        padding: 16px 0;
    }

    #testimonials-splide .testimonial-card {
        padding: 28px 24px;
        border-radius: 24px;
    }
}
