.sl-testimonials {
    position: relative;
    overflow: hidden;
}

.sl-testimonials-inner {
    width: min(100%, 72rem);
    margin: 0 auto;
}

.sl-testimonials-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    margin-bottom: 30px;
}

.sl-testimonials-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 34px;
    padding: 7px 14px;
    border: 1px solid rgba(74, 222, 128, 0.32);
    border-radius: 999px;
    background: rgba(74, 222, 128, 0.11);
    color: #4ade80;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
}

.sl-testimonials-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #34d399;
    box-shadow: 0 0 18px rgba(52, 211, 153, 0.8);
}

.sl-testimonials-title {
    margin: 0;
    color: #fafafa;
    font-size: clamp(1.65rem, 3vw, 2.55rem);
    line-height: 1.08;
    font-weight: 850;
    letter-spacing: 0;
}

.sl-testimonials-track-wrap {
    position: relative;
}

.sl-testimonials-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 1px;
    padding: 2px 1px 14px;
    cursor: grab;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.sl-testimonials-track::-webkit-scrollbar {
    display: none;
}

.sl-testimonials-track.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
}

.sl-testimonial-card {
    position: relative;
    flex: 0 0 min(88vw, 360px);
    min-height: 100%;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 24px;
    background:
        radial-gradient(circle at 18% 0%, rgba(74, 222, 128, 0.15), transparent 34%),
        linear-gradient(180deg, rgba(22, 25, 31, 0.72), rgba(10, 12, 15, 0.88));
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
    scroll-snap-align: start;
    overflow: hidden;
}

.sl-testimonial-card::before {
    content: "“";
    position: absolute;
    top: -10px;
    right: 18px;
    color: rgba(74, 222, 128, 0.14);
    font-size: 96px;
    line-height: 1;
    font-weight: 900;
    pointer-events: none;
}

.sl-testimonial-stars {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 3px;
    color: #86efac;
    font-size: 14px;
    line-height: 1;
    margin-bottom: 18px;
}

.sl-testimonial-text {
    position: relative;
    z-index: 1;
    color: rgba(244, 244, 245, 0.88);
    font-size: 15px;
    line-height: 1.72;
    margin: 0;
}

.sl-testimonial-author {
    position: relative;
    z-index: 1;
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.sl-testimonial-name {
    margin: 0;
    color: #fafafa;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 800;
}

.sl-testimonial-role {
    margin: 3px 0 0;
    color: rgba(161, 161, 170, 0.84);
    font-size: 12px;
    line-height: 1.4;
}

.sl-testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

.sl-testimonial-dot {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    padding: 0;
    background: rgba(255, 255, 255, 0.22);
    cursor: pointer;
    transition: width 180ms ease, background 180ms ease, transform 180ms ease;
}

.sl-testimonial-dot[aria-current="true"] {
    width: 26px;
    background: #34d399;
}

.sl-testimonial-dot:focus-visible {
    outline: 2px solid #86efac;
    outline-offset: 4px;
}

@media (min-width: 768px) {
    .sl-testimonial-card {
        flex-basis: calc((100% - 18px) / 2);
    }
}

@media (min-width: 1100px) {
    .sl-testimonial-card {
        flex-basis: calc((100% - 36px) / 3);
    }
}

@media (max-width: 640px) {
    .sl-testimonials-title {
        font-size: 1.65rem;
    }

    .sl-testimonial-card {
        padding: 22px;
    }
}
