/************ Testimonials ************/
.testimonials {
    background: #f2efe6;
    padding: 80px 20px 70px;
}

.testimonials .section-head {
    text-align: center;
    margin-bottom: 46px;
}

.testimonials .section-tag {
    display: block;
    color: #b67a1c;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.testimonials .section-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 2.8rem;
    font-weight: 600;
    color: #223a59;
    margin: 0;
}

/* Carousel */
.testimonials-carousel {
    max-width: 1140px;
    margin: 0 auto;
}

.testimonials-viewport {
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    gap: 26px;
    align-items: flex-start;
    transition: transform 0.55s ease;
    will-change: transform;
}

.testimonial-card {
    flex: 0 0 calc((100% - 52px) / 3);
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #ece5d8;
    border-radius: 16px;
    padding: 34px 30px 30px;
    position: relative;
    height: 268px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.testimonial-card.expanded {
    height: auto;
}

.testimonial-card .quote-mark {
    font-family: "EB Garamond", serif;
    font-size: 3.4rem;
    line-height: 0.6;
    color: #c5a575;
    opacity: 0.8;
    display: block;
    margin-bottom: 10px;
}

.testimonial-card p {
    color: #4a4a4a;
    line-height: 1.75;
    font-size: 1rem;
    margin-bottom: 14px;
    font-style: italic;
}

.testimonial-card .read-more {
    display: inline;
    background: none;
    border: none;
    padding: 0;
    margin-left: 4px;
    color: #b67a1c;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    font-style: normal;
    cursor: pointer;
    white-space: nowrap;
}

.testimonial-card .read-more:hover {
    text-decoration: underline;
}

.testimonial-card .testimonial-author {
    color: #b67a1c;
    font-weight: 500;
    font-size: 0.95rem;
    align-self: flex-end;
    margin-top: auto;
}

/* Dots */
.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 38px;
}

.testimonials-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #d9cfbd;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.testimonials-dots button:hover {
    background: #c5a575;
}

.testimonials-dots button.active {
    background: #b67a1c;
    transform: scale(1.25);
}

/************ Responsive ************/
@media (max-width: 992px) {
    .testimonial-card {
        flex: 0 0 calc((100% - 26px) / 2);
    }
}

@media (max-width: 640px) {
    .testimonials {
        padding: 60px 20px 50px;
    }

    .testimonials .section-title {
        font-size: 2.2rem;
    }

    .testimonial-card {
        flex: 0 0 100%;
    }
}
