.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.testimonial-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0;
    padding: 32px;
    border: 1px solid #e9e9ec;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 4px 8px -6px #18181b0a, 0 20px 48px -24px #18181b1c;
}

.testimonial-ornament {
    display: flex;
    align-items: center;
    gap: 18px;
    height: 46px;
    margin-bottom: 24px;
    color: #c51010;
}

.testimonial-ornament span {
    height: 46px;
    font: 80px/1 Georgia, serif;
}

.testimonial-ornament::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #eee3e3;
}

.testimonial-quote {
    flex: 1;
    margin: 0 0 32px;
    color: #45454d;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.85;
    letter-spacing: -0.01em;
    text-wrap: pretty;
    overflow-wrap: break-word;
}

.testimonial-quote p {
    margin: 0;
    font: inherit;
    letter-spacing: inherit;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 24px;
    border-top: 1px solid #ededf0;
}

.testimonial-avatar {
    display: grid;
    place-items: center;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    border: 1px solid #c5101014;
    border-radius: 50%;
    background: #fcf0f0;
    color: #b41414;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.testimonial-identity {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.testimonial-name {
    color: #25252b;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.testimonial-company {
    color: #73737d;
    font-size: 12px;
    line-height: 1.5;
}

@media (max-width: 1099px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .testimonial-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}

@media (max-width: 699px) {
    .testimonials-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .testimonial-card {
        padding: 26px;
        border-radius: 20px;
    }

    .testimonial-ornament {
        margin-bottom: 20px;
    }

    .testimonial-quote {
        margin-bottom: 26px;
        font-size: 15px;
    }
}
