.sab-tst {
    --sab-tst-primary: #192238;
    --sab-tst-accent: #A37A5C;
    --sab-tst-soft: #DCDCDB;
    --sab-tst-bg: #F4F5F8;
    --sab-tst-panel-bg: #ffffff;
    --sab-tst-text: #5B6471;
    --sab-tst-white: #ffffff;
    --sab-tst-radius: 0px;
    position: relative;
    width: 100%;
    padding: 118px 0;
    background: linear-gradient(90deg, #ffffff 0%, #f2f3f8 100%);
    overflow: hidden;
    isolation: isolate;
    font-family: "Inter", Arial, sans-serif;
}

.sab-tst-full-bleed {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.sab-tst *,
.sab-tst *::before,
.sab-tst *::after {
    box-sizing: border-box;
}

.sab-tst::before {
    content: "";
    position: absolute;
    width: 760px;
    height: 760px;
    left: -420px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sab-tst-primary) 0%, var(--sab-tst-accent) 100%);
    z-index: 0;
}

.sab-tst::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--sab-tst-primary) 1px, transparent 1px);
    background-size: 26px 26px;
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
}

.sab-tst-orb {
    display: none;
}

.sab-tst-container {
    width: calc(100% - 64px);
    max-width: 1180px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.sab-tst-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(340px, 0.84fr) minmax(420px, 1fr);
    gap: clamp(38px, 6vw, 90px);
    min-height: 455px;
    padding: clamp(42px, 5.5vw, 70px);
    border-radius: var(--sab-tst-radius);
    border: 1px solid rgba(25, 34, 56, 0.08);
    background: var(--sab-tst-panel-bg);
    box-shadow: 0 32px 90px rgba(25, 34, 56, 0.12);
    overflow: hidden;
}

.sab-tst-panel::before {
    content: "";
    position: absolute;
    width: 1px;
    height: 70%;
    left: 49.5%;
    top: 15%;
    background: linear-gradient(180deg, transparent, rgba(25,34,56,0.10), transparent);
    pointer-events: none;
}

.sab-tst-left {
    position: relative;
    z-index: 2;
    min-height: 340px;
}

.sab-tst-eyebrow {
    position: relative;
    display: block;
    width: fit-content;
    margin: 0 0 26px;
    padding-top: 18px;
    color: var(--sab-tst-primary);
    font-size: 18px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-transform: none;
}

.sab-tst-eyebrow::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 42px;
    height: 4px;
    border-radius: 999px;
    background: var(--sab-tst-accent);
}

.sab-tst-heading {
    margin: 0 0 10px;
    max-width: 370px;
    color: var(--sab-tst-primary);
    font-family: "Perpetua Titling MT", "Times New Roman", serif;
    font-size: clamp(28px, 3vw, 44px);
    line-height: 1.06;
    font-weight: 600;
    letter-spacing: -0.04em;
}

.sab-tst-subtext {
    margin: 0 0 16px;
    max-width: 420px;
    color: var(--sab-tst-text);
    font-size: 14px;
    line-height: 1.62;
    font-weight: 600;
}

.sab-tst-nav {
    position: relative;
    width: min(100%, 420px);
    height: 275px;
    margin-top: 10px;
}

.sab-tst-nav::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 10px;
    width: 158px;
    height: 260px;
    border-left: 2px solid rgba(25,34,56,0.16);
    border-radius: 50%;
    transform: rotate(-8deg);
    pointer-events: none;
}

.sab-tst-nav-item {
    position: absolute;
    left: 42px;
    top: 104px;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    width: 335px;
    min-height: 66px;
    padding: 9px 12px 9px 0;
    border: 0;
    border-radius: 18px;
    background: transparent;
    text-align: left;
    cursor: pointer;
    transition:
        top 0.48s cubic-bezier(.2,.8,.2,1),
        left 0.48s cubic-bezier(.2,.8,.2,1),
        transform 0.48s cubic-bezier(.2,.8,.2,1),
        opacity 0.28s ease,
        background 0.28s ease,
        padding 0.28s ease;
    opacity: 0;
    pointer-events: none;
}

.sab-tst-nav-item.is-prev {
    left: 16px;
    top: 8px;
    opacity: 1;
    pointer-events: auto;
    transform: scale(0.92);
}

.sab-tst-nav-item.is-active {
    left: 58px;
    top: 104px;
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
    background: var(--sab-tst-primary);
    padding: 10px 16px 10px 0;
    box-shadow: 0 18px 42px rgba(25,34,56,0.18);
    z-index: 5;
}

.sab-tst-nav-item.is-next {
    left: 16px;
    top: 202px;
    opacity: 1;
    pointer-events: auto;
    transform: scale(0.92);
}

.sab-tst-nav-item.is-hidden-review {
    left: 16px;
    top: 310px;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.86);
}

.sab-tst-avatar-wrap {
    position: relative;
    z-index: 2;
    display: inline-flex;
}

.sab-tst-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--sab-tst-primary), var(--sab-tst-accent));
    color: var(--sab-tst-white);
    font-size: 15px;
    font-weight: 800;
    border: 4px solid #ffffff;
    box-shadow: 0 12px 26px rgba(25,34,56,0.18);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.sab-tst-nav-item.is-active .sab-tst-avatar {
    transform: scale(1.16);
    box-shadow: 0 16px 34px rgba(25,34,56,0.26);
}

.sab-tst-nav-copy {
    display: block;
    min-width: 0;
    transition: transform 0.28s ease;
}

.sab-tst-client-name {
    display: block;
    color: var(--sab-tst-primary);
    font-size: 14px;
    line-height: 1.3;
    font-weight: 800;
    white-space: normal;
}

.sab-tst-client-meta {
    display: block;
    margin-top: 5px;
    color: #8B94A3;
    font-size: 11.5px;
    line-height: 1.45;
    font-weight: 700;
}

.sab-tst-nav-item.is-active .sab-tst-client-name,
.sab-tst-nav-item.is-active .sab-tst-client-meta,
.sab-tst-nav-item.is-active .sab-tst-rating-star {
    color: #ffffff !important;
}

.sab-tst-rating-star {
    color: var(--sab-tst-accent);
    font-weight: 900;
}

.sab-tst-right {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.sab-tst-quote-card {
    position: relative;
    min-height: 270px;
    padding: 20px 0 20px clamp(28px, 4vw, 60px);
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
}

.sab-tst-quote-mark {
    position: absolute;
    left: 0;
    top: 22px;
    color: var(--sab-tst-primary);
    font-family: Georgia, serif;
    font-size: 48px;
    line-height: 1;
    font-weight: 700;
}

.sab-tst-quote-item {
    display: none;
    opacity: 0;
    transform: translateY(10px);
}

.sab-tst-quote-item.is-active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: sabTstFadeIn 0.45s ease;
}

.sab-tst-quote-text {
    margin: 48px 0 0;
    max-width: 650px;
    color: var(--sab-tst-primary);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(20px, 2.25vw, 30px);
    line-height: 1.72;
    font-weight: 500;
    font-style: italic;
}

.sab-tst-quote-author {
    display: grid;
    gap: 6px;
    margin-top: 22px;
}

.sab-tst-author-name {
    color: var(--sab-tst-primary);
    font-size: 15px;
    font-weight: 800;
}

.sab-tst-author-role {
    color: var(--sab-tst-text);
    font-size: 14px;
    line-height: 1.5;
}

.sab-tst-dots {
    display: flex;
    gap: 10px;
    margin-left: clamp(28px, 4vw, 60px);
    margin-top: 12px;
}

.sab-tst-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(25,34,56,0.18);
    transition: all 0.3s ease;
}

.sab-tst-dot.is-active {
    width: 28px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--sab-tst-primary), var(--sab-tst-accent));
}

@keyframes sabTstFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1024px) {
    .sab-tst {
        padding: 90px 0;
    }

    .sab-tst::before {
        width: 560px;
        height: 560px;
        left: -360px;
    }

    .sab-tst-panel {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .sab-tst-panel::before {
        display: none;
    }

    .sab-tst-quote-card {
        min-height: 240px;
        padding-left: 44px;
    }

    .sab-tst-dots {
        margin-left: 44px;
    }
}

@media (max-width: 767px) {
    .sab-tst {
        padding: 72px 0;
    }

    .sab-tst::before {
        width: 430px;
        height: 430px;
        left: -310px;
        top: 0;
        transform: none;
    }

    .sab-tst-container {
        width: calc(100% - 32px);
    }

    .sab-tst-panel {
        min-height: auto;
        padding: 24px;
        border-radius: 0;
    }

    .sab-tst-heading {
        font-size: clamp(28px, 9vw, 40px);
    }

    .sab-tst-subtext {
        font-size: 15px;
    }

    .sab-tst-nav {
        width: 100%;
        height: auto;
        display: grid;
        gap: 12px;
    }

    .sab-tst-nav::before {
        display: none;
    }

    .sab-tst-nav-item,
    .sab-tst-nav-item.is-prev,
    .sab-tst-nav-item.is-active,
    .sab-tst-nav-item.is-next,
    .sab-tst-nav-item.is-hidden-review {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .sab-tst-nav-item.is-hidden-review {
        display: none;
    }

    .sab-tst-nav-item {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 12px;
    }

    .sab-tst-avatar {
        width: 44px;
        height: 44px;
    }

    .sab-tst-client-meta {
        font-size: 11.5px;
    }

    .sab-tst-quote-card {
        padding-left: 32px;
    }

    .sab-tst-quote-mark {
        font-size: 40px;
        top: 22px;
    }

    .sab-tst-quote-text {
        margin-top: 42px;
        font-size: 18px;
        line-height: 1.68;
    }

    .sab-tst-dots {
        margin-left: 32px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sab-tst *,
    .sab-tst *::before,
    .sab-tst *::after {
        animation: none !important;
        transition: none !important;
    }
}


/* V6.1 testimonial correction: smoother reviewer rotation + correct round images */
.sab-tst-nav-item {
    transition:
        top 0.82s cubic-bezier(.18,.78,.22,1),
        left 0.82s cubic-bezier(.18,.78,.22,1),
        transform 0.82s cubic-bezier(.18,.78,.22,1),
        opacity 0.42s ease,
        background 0.34s ease,
        padding 0.34s ease,
        box-shadow 0.34s ease !important;
}

.sab-tst-avatar-wrap {
    width: 58px !important;
    height: 58px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
    box-shadow: 0 12px 26px rgba(25,34,56,0.16) !important;
}

.sab-tst-avatar {
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    max-width: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
    border: 4px solid #ffffff !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

.sab-tst-avatar-fallback {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, var(--sab-tst-primary), var(--sab-tst-accent)) !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 800 !important;
}

.sab-tst-nav-item.is-active .sab-tst-avatar-wrap {
    transform: scale(1.12) !important;
    box-shadow: 0 18px 38px rgba(25,34,56,0.24) !important;
}

.sab-tst-nav-item.is-active .sab-tst-avatar {
    transform: none !important;
}

.sab-tst-nav-item.is-active {
    background: var(--sab-tst-primary) !important;
}

.sab-tst-nav-item.is-active .sab-tst-client-name,
.sab-tst-nav-item.is-active .sab-tst-client-meta,
.sab-tst-nav-item.is-active .sab-tst-rating-star {
    color: #ffffff !important;
    opacity: 1 !important;
}

.sab-tst-nav-item.is-active .sab-tst-client-meta {
    font-weight: 700 !important;
}

.sab-tst-nav-copy {
    overflow: visible !important;
}

.sab-tst-nav-item.is-prev,
.sab-tst-nav-item.is-next {
    background: transparent !important;
    box-shadow: none !important;
}

.sab-tst-nav-item.is-prev .sab-tst-client-name,
.sab-tst-nav-item.is-next .sab-tst-client-name {
    color: var(--sab-tst-primary) !important;
}

.sab-tst-nav-item.is-prev .sab-tst-client-meta,
.sab-tst-nav-item.is-next .sab-tst-client-meta {
    color: #8B94A3 !important;
}

@media (max-width: 767px) {
    .sab-tst-avatar-wrap,
    .sab-tst-avatar {
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        max-width: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;
    }

    .sab-tst-nav-item.is-active .sab-tst-avatar-wrap {
        transform: none !important;
    }
}
