/* TESTIMONIALS SECTION */

.testimonials-section {
    padding: 110px 7%;
    background: #ffffff;
}

.testimonials-container {
    max-width: 1400px;
    width: 100%;
    margin: auto;
}

/* HEADING */

.testimonials-heading {
    max-width: 650px;
    margin: 0 auto 60px;
    text-align: center;
}

.testimonials-eyebrow {
    color: #a88b61;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
}

.testimonials-heading h2 {
    font-family: 'Playfair Display', serif;
    color: #292822;
    font-size: clamp(38px, 4vw, 55px);
    font-weight: 500;
    margin: 17px 0;
}

.testimonials-heading h2 span {
    color: #a88b61;
    font-style: italic;
}

.testimonials-heading p {
    color: #85837b;
    font-size: 14px;
    line-height: 1.9;
}

/* GRID */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

/* CARDS */

.testimonial-card {
    min-width: 0;
    padding: 35px 28px;
    background: #f8f7f3;
    border: 1px solid #eeece6;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.testimonial-featured {
    background: #292822;
    border-color: #292822;
}

.testimonial-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.quote-mark {
    font-family: 'Playfair Display', serif;
    color: #b59a70;
    font-size: 65px;
    line-height: 0.7;
}

.testimonial-stars {
    color: #b59a70;
    font-size: 13px;
    letter-spacing: 3px;
}

.testimonial-text {
    color: #6f6d65;
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    line-height: 1.8;
    margin: 0 0 35px;
}

.testimonial-featured .testimonial-text {
    color: #e4e0d7;
}

/* CLIENT */

.testimonial-client {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 22px;
    border-top: 1px solid #dedbd3;
}

.testimonial-featured .testimonial-client {
    border-color: #55534a;
}

.client-avatar {
    width: 43px;
    height: 43px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e6dfd1;
    color: #806d4f;
    font-family: 'Playfair Display', serif;
    font-size: 19px;
}

.testimonial-client h3 {
    color: #302f29;
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 5px;
}

.testimonial-client span {
    color: #89877f;
    font-size: 11px;
}

.testimonial-featured .testimonial-client h3 {
    color: #ffffff;
}

.testimonial-featured .testimonial-client span {
    color: #c2bfb5;
}

/* BOTTOM */

.testimonials-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 55px;
    padding-top: 25px;
    border-top: 1px solid #e9e6df;
}

.testimonials-bottom > span {
    color: #85837b;
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 600;
}

.testimonials-bottom a {
    color: #a88b61;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.testimonials-bottom a span {
    margin-left: 8px;
    font-size: 17px;
}

/* TABLET */

@media (max-width: 992px) {
    .testimonials-section {
        padding: 85px 6%;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .testimonial-card:last-child {
        grid-column: 1 / -1;
    }
}

/* MOBILE */

@media (max-width: 600px) {
    .testimonials-section {
        padding: 65px 20px;
    }

    .testimonials-heading {
        margin-bottom: 38px;
    }

    .testimonials-heading h2 {
        font-size: 37px;
    }

    .testimonials-heading p {
        font-size: 13px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .testimonial-card:last-child {
        grid-column: auto;
    }

    .testimonial-card {
        padding: 28px 23px;
    }

    .testimonial-text {
        font-size: 17px;
    }

    .testimonials-bottom {
        display: block;
        margin-top: 38px;
    }

    .testimonials-bottom > span {
        display: block;
        line-height: 1.8;
        margin-bottom: 15px;
    }
}

@media (max-width: 380px) {
    .testimonials-section {
        padding: 55px 16px;
    }

    .testimonials-heading h2 {
        font-size: 32px;
    }
}