@keyframes st-8c9d7e11-slide {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-50% - 12px)); }
}

.st-8c9d7e11 {
    width: 100%;
    overflow: hidden;
    background: #f7f7f4;
    padding: clamp(64px, 8vw, 112px) 0;
    color: #111111;
}

.st-8c9d7e11-header {
    max-width: 760px;
    margin: 0 auto 48px;
    padding: 0 24px;
    text-align: center;
}

.st-8c9d7e11-eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    color: #004f71;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    line-height: 1.2;
    text-transform: uppercase;
}

.st-8c9d7e11-heading {
    margin: 0;
    color: #111111;
    font-size: clamp(32px, 4.4vw, 56px);
    font-weight: 700;
    letter-spacing: -.05em;
    line-height: 1.04;
}

.st-8c9d7e11-subheading {
    max-width: 560px;
    margin: 18px auto 0;
    color: #666666;
    font-size: 16px;
    line-height: 1.65;
}

.st-8c9d7e11-viewport {
    width: 100%;
    overflow: hidden;
}

.st-8c9d7e11-track {
    display: flex;
    width: max-content;
    gap: 24px;
    padding: 4px 12px;
    animation: st-8c9d7e11-slide var(--st-8c9d7e11-duration, 48s) linear infinite;
    will-change: transform;
}

.st-8c9d7e11[data-pause="yes"]:hover .st-8c9d7e11-track,
.st-8c9d7e11[data-pause="yes"]:focus-within .st-8c9d7e11-track {
    animation-play-state: paused;
}

.st-8c9d7e11-card {
    position: relative;
    display: flex;
    width: min(620px, calc(100vw - 48px));
    min-height: 322px;
    flex: 0 0 min(620px, calc(100vw - 48px));
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #d9d9d4;
    border-radius: 0;
    background: #ffffff;
    color: #111111;
}

.st-8c9d7e11-card::before {
    position: absolute;
    top: -1px;
    left: 0;
    width: 72px;
    height: 2px;
    background: #004f71;
    content: "";
}

.st-8c9d7e11-quote {
    position: relative;
    z-index: 0;
    margin: 0;
    padding: 66px 36px 36px;
    font-size: clamp(21px, 2vw, 29px);
    font-weight: 500;
    letter-spacing: -.032em;
    line-height: 1.32;
}

.st-8c9d7e11-quote::before {
    position: absolute;
    top: 20px;
    left: 32px;
    z-index: -1;
    color: rgba(0, 79, 113, .14);
    content: "“";
    font-family: Georgia, serif;
    font-size: 76px;
    font-weight: 700;
    line-height: 1;
}

.st-8c9d7e11-card-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    border-top: 1px solid #d9d9d4;
    padding: 18px 24px;
}

.st-8c9d7e11-client {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 14px;
}

.st-8c9d7e11-avatar {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 50%;
    object-fit: cover;
}

.st-8c9d7e11-client-meta {
    min-width: 0;
}

.st-8c9d7e11-client-name {
    display: block;
    overflow: hidden;
    color: #111111;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.st-8c9d7e11-client-role {
    margin: 2px 0 0;
    color: #666666;
    font-size: 13px;
    line-height: 1.4;
}

.st-8c9d7e11-proof-line {
    margin: 7px 0 0;
    color: #004f71;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    line-height: 1.35;
    text-transform: uppercase;
}

.st-8c9d7e11-brand {
    width: 104px;
    max-height: 40px;
    object-fit: contain;
    object-position: right center;
}

@media (max-width: 640px) {
    .st-8c9d7e11 {
        padding: 72px 0;
    }

    .st-8c9d7e11-header {
        margin-bottom: 36px;
        padding: 0 20px;
    }

    .st-8c9d7e11-card {
        min-height: 290px;
    }

    .st-8c9d7e11-quote {
        padding: 60px 26px 30px;
    }

    .st-8c9d7e11-quote::before {
        left: 22px;
    }

    .st-8c9d7e11-card-footer {
        gap: 16px;
        padding: 16px;
    }

    .st-8c9d7e11-brand {
        width: 76px;
        max-height: 34px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .st-8c9d7e11-viewport {
        overflow-x: auto;
        scrollbar-width: thin;
    }

    .st-8c9d7e11-track {
        animation: none;
    }

    .st-8c9d7e11-card.is-duplicate {
        display: none;
    }
}


/* Glass testimonial treatment — 2026-10-28 */
.st-8c9d7e11 {
    background: #e8f2f6;
}

.st-8c9d7e11-card {
    overflow: hidden;
    border: 1px solid rgba(0, 79, 113, .16);
    border-radius: 20px;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 14px 34px rgba(0, 79, 113, .08);
    transition: border-color .24s ease, box-shadow .24s ease, transform .24s ease;
}

.st-8c9d7e11-card::before {
    top: 0;
    left: 24px;
    width: 56px;
    height: 2px;
    border-radius: 0 0 2px 2px;
}

.st-8c9d7e11-card:hover {
    border-color: rgba(0, 79, 113, .34);
    box-shadow: 0 18px 42px rgba(0, 79, 113, .12);
    transform: translateY(-3px);
}

.st-8c9d7e11-card-footer {
    border-top-color: rgba(0, 79, 113, .13);
    background: rgba(255, 255, 255, .28);
}

.st-8c9d7e11-avatar {
    border: 2px solid rgba(255, 255, 255, .9);
    box-shadow: 0 3px 10px rgba(0, 79, 113, .12);
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .st-8c9d7e11-card {
        -webkit-backdrop-filter: blur(14px) saturate(125%);
        backdrop-filter: blur(14px) saturate(125%);
    }

    .st-8c9d7e11-card-footer {
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
    }
}

@media (max-width: 640px) {
    .st-8c9d7e11-card {
        border-radius: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .st-8c9d7e11-card {
        transition: none;
    }

    .st-8c9d7e11-card:hover {
        transform: none;
    }
}


/* Simplified testimonial card border — 2026-10-28 */
.st-8c9d7e11-card::before {
    display: none;
}
