.testimonials {
    padding: 48px 0 52px;
    background: #f3eeea;
}

.testimonials .titles { max-width: 760px; margin: 0 auto 30px; padding: 0; }
.testimonials .titles h2 { line-height: 1.2; margin-bottom: 12px; }
.testimonials .titles p { margin-bottom: 0; line-height: 1.4; }
.testimonials__eyebrow {
    display: block;
    margin-bottom: 12px;
    color: #34632b;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.testimonials__track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: #a99d91 transparent;
    padding: 4px 0 16px;
}

.testimonial-card {
    flex: 0 0 calc((100% - 48px) / 3);
    min-width: 0;
    overflow: hidden;
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid #e4dcd4;
    border-radius: 18px;
    box-shadow: 0 5px 14px rgb(53 40 26 / 6%);
}

.testimonial-card video {
    display: block;
    width: 100%;
    height: auto;
    max-height: 480px;
    aspect-ratio: 9 / 16;
    object-fit: contain;
    background: #171717;
}

.testimonial-card__content { padding: 20px; }
.testimonial-card h3 { font-size: 21px; line-height: 1.2; font-weight: 600; margin: 0 0 10px; }
.testimonial-card p { font-size: 17px; line-height: 1.45; color: #53504c; margin: 0; }
.testimonials__footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 20px; }
.testimonials__all { color: #315a29; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.testimonials__all:hover { color: #152d10; }
.testimonials__controls:not([hidden]) { display: flex; align-items: center; gap: 16px; }
.testimonials__status { min-width: 70px; text-align: center; font-size: 16px; font-weight: 500; color: #53504c; }
.testimonials__arrow {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid #c7b9a9;
    background: #fff;
    color: #28231d;
    cursor: pointer;
}
.testimonials__arrow span { font-size: 25px; line-height: 1; font-weight: 500; }
.testimonials__arrow:hover:not(:disabled) { background: #315a29; border-color: #315a29; color: #fff; }
.testimonials__arrow:disabled { opacity: .35; cursor: default; }
.testimonials :focus-visible { outline: 3px solid #315a29; outline-offset: 3px; }
.testimonials__track:focus-visible { outline-offset: 0; }

@media (max-width: 991px) {
    .testimonial-card { flex-basis: calc((100% - 24px) / 2); }
}

@media (max-width: 575px) {
    .testimonials { padding: 36px 0; }
    .testimonials__track { gap: 16px; }
    .testimonial-card { flex-basis: 88%; }
    .testimonial-card video { max-height: none; }
    .testimonials__footer { flex-direction: column-reverse; gap: 22px; }
    .testimonials .titles p { font-size: 19px; }
}
