/* 09 — TESTIMONIALS */

.test-banner {
    background: var(--brand-soft);
    border-radius: 24px 24px 0 0;
    padding: 56px 56px 80px;
    position: relative;
    overflow: hidden;
}

.test-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            40% 50% at 10% 50%,

            rgba(93, 46, 222, 0.1) 0%,

            transparent 70%
        ),
        radial-gradient(
            40% 50% at 90% 50%,

            rgba(184, 155, 251, 0.2) 0%,

            transparent 70%
        );
    pointer-events: none;
}

.test-banner-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: end;
}

.test-banner .sec-eyebrow {
    background: var(--ink);
}

.test-banner h2 {
    margin: 18px 0 0;
    font-size: 56px;
    line-height: 1.05;
    letter-spacing: -0.03em;
    font-weight: 600;
    color: var(--ink);
    text-wrap: balance;
}

.test-banner p {
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink-2);
    max-width: 460px;
    justify-self: end;
    margin: 0;
}

.test-cards {
    margin-top: -40px;
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    z-index: 1;
}

.test-card {
    background: #fff;
    border: 1px solid var(--line-2);
    border-radius: 22px;
    padding: 28px 26px 24px;
    transition:
        transform 280ms ease,
        box-shadow 280ms ease;
}

.test-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 40px -28px rgba(11, 11, 20, 0.2);
}

.test-quote {
    flex: 1;
    font-size: 15.5px;
    line-height: 1.55;
    color: var(--ink-2);
    margin: 0;
    font-weight: 400;
}

.test-author {
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.test-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex: 0 0 auto;
}

.test-author b {
    display: block;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.005em;
}

.test-author span {
    display: block;
    font-size: 12.5px;
    color: var(--muted);
    margin-top: 2px;
}

@media (max-width: 1100px) {
    .test-banner {
        padding: 40px 32px 64px;
    }

    .test-banner-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        align-items: start;
    }

    .test-banner p {
        justify-self: start;
    }

    .test-banner h2 {
        font-size: 40px;
    }

    .test-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 720px) {
    .test-cards {
        grid-template-columns: 1fr;
    }
}
