.stc-testimonials,
.stc-testimonials * {
    box-sizing: border-box;
}

.stc-testimonials {
    width: 100%;
    background: #f7f7f7;
    padding: 41px 112px 44px;
    overflow: hidden;
}

.stc-carousel {
    width: 100%;
    max-width: 1078px;
    margin: 0 auto;
    position: relative;
}

.stc-viewport {
    width: 100%;
    overflow: hidden;
}

.stc-track {
    display: flex;
    align-items: stretch;
    gap: 28px;
    will-change: transform;
    transition-property: transform;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
}

.stc-slide {
    flex: 0 0 auto;
    min-width: 0;
}

.stc-card {
    height: 100%;
    min-height: 252px;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #dadada;
    border-radius: 6px;
    padding: 32px 15px 18px;
    box-shadow: 0 2px 7px rgba(15, 23, 42, 0.10);
}

.stc-stars {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 22px;
    line-height: 1;
}

.stc-star {
    display: inline-flex;
    flex: 0 0 auto;
    color: #ea7a3e;
}

.stc-star svg {
    display: block;
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.stc-star-muted {
    opacity: 0.22;
}

.stc-review {
    color: #111111;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.18;
    letter-spacing: -0.01em;
    margin: 0 0 19px;
}

.stc-author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
    padding-left: 5px;
}

.stc-avatar {
    flex: 0 0 auto;
}

.stc-avatar img {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    display: block;
    object-fit: cover;
}

.stc-author-info {
    min-width: 0;
}

.stc-name {
    color: #0e0e0e;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 3px;
}

.stc-role {
    color: #111111;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.15;
    margin: 0;
}

.stc-nav {
    position: absolute;
    top: 47.5%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #ea7a3e;
    cursor: pointer;
    transition: color 180ms ease, opacity 180ms ease, transform 180ms ease;
    -webkit-appearance: none;
    appearance: none;
}

.stc-prev {
    left: -73px;
}

.stc-next {
    right: -73px;
}

.stc-nav svg {
    display: block;
    width: 35px;
    height: 35px;
}

.stc-nav:hover,
.stc-nav:focus {
    color: #cc7945;
    outline: none;
}

.stc-nav:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.stc-nav.is-disabled {
    opacity: .32;
    cursor: default;
    pointer-events: none;
}

.stc-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    margin-top: 46px;
    min-height: 12px;
}

.stc-dot {
    position: relative;
    width: 11px;
    height: 11px;
    border: 2px solid #ea7a3e;
    border-radius: 999px;
    background: transparent;
    padding: 0;
    margin: 0;
    cursor: pointer;
    opacity: 1;
    transition: transform 180ms ease, opacity 180ms ease;
    -webkit-appearance: none;
    appearance: none;
}

.stc-dot::before {
    content: '';
    position: absolute;
    inset: 50% auto auto 50%;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #ea7a3e;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 180ms ease;
}

.stc-dot.is-active::before {
    transform: translate(-50%, -50%) scale(1);
}

.stc-dot:not(.is-active) {
    width: 7px;
    height: 7px;
    border-width: 0;
}

.stc-dot:not(.is-active)::before {
    transform: translate(-50%, -50%) scale(1);
}

.stc-dot:hover,
.stc-dot:focus {
    transform: scale(1.08);
    outline: none;
}

.stc-dot:focus-visible {
    outline: 2px solid #ea7a3e;
    outline-offset: 3px;
}

@media (max-width: 1200px) {
    .stc-testimonials {
        padding-left: 70px;
        padding-right: 70px;
    }

    .stc-prev {
        left: -54px;
    }

    .stc-next {
        right: -54px;
    }
}

@media (max-width: 1024px) {
    .stc-testimonials {
        padding: 38px 54px 42px;
    }

    .stc-prev {
        left: -45px;
    }

    .stc-next {
        right: -45px;
    }
}

@media (max-width: 767px) {
    .stc-testimonials {
        padding: 32px 20px 34px;
    }

    .stc-card {
        min-height: 230px;
        padding: 26px 18px 18px;
    }

    .stc-review {
        font-size: 16px;
        line-height: 1.3;
    }

    .stc-nav {
        top: calc(100% + 22px);
        width: 34px;
        height: 34px;
        transform: none;
    }

    .stc-prev {
        left: calc(50% - 76px);
    }

    .stc-next {
        right: calc(50% - 76px);
    }

    .stc-dots {
        margin-top: 28px;
        padding: 0 46px;
    }
}
