/* ========================= */
/* TESTIMONIALS              */
/* ========================= */

.testimonial-section {
    margin-top: clamp(-7.5rem, -8vw, -4.75rem);
    padding: 0 clamp(1rem, 6vw, 8.125rem);
    background: transparent;
    position: relative;
    z-index: 2;

}

.testimonial-card {
    background: var(--panel);
    overflow: hidden;
    box-shadow: var(--shadow-xxl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    z-index: 3;
    border-radius: var(--card-radius);
}

.testimonial-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-body {
    padding: clamp(1.875rem, 3.5vw, 3.125rem) clamp(1.375rem, 2.8vw, 2.5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-logo {
    width: 300px;
    height: 80px;
    margin-bottom: clamp(0.875rem, 1.5vw, 1.25rem);
}

.testimonial-body h3 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark);
    margin: 0 0 clamp(0.75rem, 1.2vw, 1rem);
}

.testimonial-body p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: var(--muted);
}

.testimonial-author {
    margin-top: clamp(1rem, 1.5vw, 1.5rem);
}

.testimonial-author strong {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}

.testimonial-author span {
    font-size: 14px;
    color: var(--muted-light);
}

@media (max-width: 900px) {
    .testimonial-section {
        margin-top: clamp(-4.75rem, -5vw, -3rem);
        padding: 0 clamp(0.75rem, 1.5vw, 1rem);
    }

    .testimonial-card {
        grid-template-columns: 1fr;
    }

    .testimonial-image {
        aspect-ratio: 16/10;
        height: auto;
    }

    .testimonial-body {
        padding: clamp(1.25rem, 2.2vw, 1.875rem) clamp(1rem, 1.5vw, 1.375rem);
    }

    .testimonial-logo {
        width: 220px;
        height: auto;
        max-width: 100%;
    }
}

@media (max-width: 500px) {
    .testimonial-section {
        margin-top: clamp(-3.25rem, -4vw, -2rem);
        padding: 0 clamp(0.5rem, 1vw, 0.75rem);
    }

    .testimonial-body h3 {
        font-size: 20px;
    }
}