.tb-testimonial-section,
.tb-testimonial-section * {
    box-sizing: border-box;
}

.tb-testimonial-section {
    background: #0b0b0a;
    padding: 64px 0 56px;
    text-align: center;
    font-family: Inter, Arial, Helvetica, sans-serif;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.tb-testimonial-avatars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 22px;
}

.tb-testimonial-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    padding: 0;
    border: 3px solid transparent;
    background: transparent;
    cursor: pointer;
    overflow: hidden;
    transition: transform .25s ease, border-color .25s ease, opacity .25s ease;
    opacity: .55;
    transform: scale(.82);
}

.tb-testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
    transition: filter .25s ease;
}

.tb-testimonial-avatar.is-active {
    border-color: #d7f23d;
    opacity: 1 !important;
    transform: scale(1);
}

.tb-testimonial-avatar.is-active img {
    filter: grayscale(0%);
}

.tb-testimonial-avatar:hover,
.tb-testimonial-avatar:focus {
    opacity: .85;
}

.tb-testimonial-name {
    color: #f3f3f1;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 4px;
    letter-spacing: -.01em;
}

.tb-testimonial-role {
    color: #8c8c89;
    font-size: 15px;
    line-height: 1.5;
    margin: 0 0 28px;
    font-weight: 400;
}

.tb-testimonial-carousel {
    position: relative;
    width: 100%;
}

.tb-testimonial-track-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.tb-testimonial-track-wrap::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -9px);
    width: 18px;
    height: 18px;
    background: #141413;
    clip-path: polygon(50% 0, 0 100%, 100% 100%);
    z-index: 3;
}

.tb-testimonial-track {
    display: flex;
    align-items: stretch;
    gap: 32px;
    transition: transform .5s cubic-bezier(.4,0,.2,1);
    will-change: transform;
}

.tb-testimonial-slide {
    flex: 0 0 auto;
    width: min(760px, 78vw);
    padding: 40px 50px 44px;
    border-radius: 14px;
    background: transparent;
    opacity: .18;
    transform: scale(.94);
    transition: opacity .5s ease, background-color .5s ease, transform .5s ease, border-color .3s ease, box-shadow .3s ease;
}

.tb-testimonial-slide.is-current {
    opacity: 1 !important;
    background: #141413;
    transform: scale(1);
}

.tb-testimonial-stars {
    color: #d7f23d;
    font-size: 20px;
    line-height: 1;
    letter-spacing: 6px;
    margin-bottom: 22px;
}

.tb-testimonial-quote {
    color: #cfcfcb;
    font-size: 19px;
    line-height: 1.65;
    margin: 0 auto;
    font-weight: 400;
}

.tb-testimonial-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #38382f;
    background: #0b0b0a;
    color: #bdbdb8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease;
    z-index: 5;
    padding: 0;
}

.tb-testimonial-arrow svg {
    width: 18px;
    height: 18px;
    display: block;
}

.tb-testimonial-arrow-left { left: 6%; }
.tb-testimonial-arrow-right { right: 6%; }

.tb-testimonial-arrow:hover,
.tb-testimonial-arrow:focus,
.tb-testimonial-arrow.is-active {
    background: #d7f23d;
    border-color: #d7f23d;
    color: #101009;
}

.tb-testimonial-arrow.is-disabled {
    opacity: .35;
    cursor: not-allowed;
}

.tb-testimonial-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 26px;
}

.tb-testimonial-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4b4b3f;
    cursor: pointer;
    border: none;
    padding: 0;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.tb-testimonial-dot.is-active {
    background: transparent !important;
    width: 16px;
    height: 16px;
    border: 2px solid #d7f23d;
    position: relative;
}

.tb-testimonial-dot.is-active::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    background: #d7f23d;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

@media (max-width: 768px) {
    .tb-testimonial-section { padding: 48px 0 40px; }
    .tb-testimonial-avatar { width: 52px; height: 52px; }
    .tb-testimonial-slide { width: 88vw; padding: 30px 22px 32px; }
    .tb-testimonial-quote { font-size: 15px; }
    .tb-testimonial-arrow { width: 34px; height: 34px; }
    .tb-testimonial-arrow-left { left: 2%; }
    .tb-testimonial-arrow-right { right: 2%; }
    .tb-testimonial-name { font-size: 20px; }
}
