/* =====================================================================
   Shree Umiya Structure — "Trusted by Clients Worldwide" circular testimonial carousel   v1.1.0
   Markup: testimonial.php · Script: js/suspl-testimonials.js
   Everything is scoped to .suspl-testimonials-section (no clamp / calc / var).
   The carousel is drawn on a fixed 1180 × 600 stage that is scaled per breakpoint, so the
   three-circle composition keeps the reference proportions on every screen.
   ===================================================================== */

section.suspl-testimonials-section {
    position: relative;
    z-index: 1;
    padding: 0;
    overflow: hidden;
    overflow: clip; /* also blocks programmatic/focus scrolling of the clipped area */
    background: #f3f6fa;
    background: linear-gradient(180deg, #f1f4f9 0%, #f5f7fb 55%, #f8fafc 100%);
    font-family: "Inter", "Poppins", Arial, sans-serif;
    color: #0d1f3c;
}
.suspl-testimonials-section *, .suspl-testimonials-section *::before, .suspl-testimonials-section *::after { box-sizing: border-box; }

/* ----------------------------------------------------------- layout (≥1660: 1 : 1 with the reference) */
.stm__wrap {
    position: relative;
    display: flex;
    align-items: flex-start;
    width: 100%;
    max-width: 1640px;
    margin: 0 auto;
    padding: 200px 10px 130px;
}
.stm__intro { position: relative; z-index: 3; flex: 0 0 560px; width: 560px; margin-top: 72px; }
/* the intro column overlaps the stage edge (as in the reference): let clicks through to the prev arrow */
.stm__intro { pointer-events: none; }
.stm__intro > * { pointer-events: auto; }
.stm__box { position: relative; z-index: 2; flex: 0 0 1180px; width: 1180px; height: 600px; margin-left: -120px; }

/* ----------------------------------------------------------- intro */
.suspl-testimonials-section p.stm__label {
    display: flex;
    align-items: center;
    margin: 0 0 36px;
    font-size: 20px;
    line-height: 24px;
    font-weight: 500;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #1f2d4b;
}
.suspl-testimonials-section p.stm__label::after {
    content: "";
    display: block;
    width: 112px;
    height: 2px;
    margin-left: 18px;
    background: #7f8aa0;
    opacity: 0.75;
}
.suspl-testimonials-section h2.stm__title {
    margin: 0;
    font-family: "Inter", "Poppins", Arial, sans-serif;
    font-size: 64px;
    line-height: 72px;
    font-weight: 800;
    letter-spacing: -1.6px;
    color: #0d1f3c;
}
.suspl-testimonials-section p.stm__text {
    max-width: 430px;
    margin: 48px 0 0;
    font-size: 25px;
    line-height: 42px;
    font-weight: 400;
    text-align: left;
    color: #5a6577;
}

/* ----------------------------------------------------------- stage (fixed coordinates, scaled per breakpoint) */
.stm__stage {
    position: absolute;
    left: 50%;
    top: 0;
    width: 1180px;
    height: 600px;
    margin-left: -590px;
    transform-origin: 50% 0;
    touch-action: pan-y;
}
.stm__deco { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
.stm__map {
    position: absolute;
    left: -41px;
    top: -150px;
    width: 1115px;
    max-width: none;
    height: auto;
    opacity: 0.3;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 52%, rgba(0, 0, 0, 0) 86%);
    mask-image: linear-gradient(180deg, #000 0%, #000 52%, rgba(0, 0, 0, 0) 86%);
}
/* the wide curved floor behind the platform */
.stm__floor {
    position: absolute;
    left: -900px;
    top: 428px;
    width: 3200px;
    height: 1040px;
    border-radius: 50%;
    background: linear-gradient(180deg, #e9edf4 0%, #f5f7fa 5%, #fdfdfe 18%, #ffffff 40%);
    box-shadow: 0 -24px 60px -24px rgba(140, 158, 186, 0.28);
}
/* the elliptical platform under the circles */
.stm__base {
    position: absolute;
    left: 160px;
    top: 452px;
    width: 860px;
    height: 106px;
    border-radius: 50%;
    border-bottom: 3px solid #b9c4d4;
    background: radial-gradient(ellipse at 50% 32%, #ffffff 0%, #f5f7fa 46%, #e3e8ef 82%, #d6dde7 100%);
    box-shadow: 0 18px 28px -14px rgba(26, 46, 86, 0.22), inset 0 2px 0 rgba(255, 255, 255, 0.9);
}
.stm__contact {
    position: absolute;
    left: 380px;
    top: 462px;
    width: 420px;
    height: 54px;
    border-radius: 50%;
    background: radial-gradient(ellipse at 50% 50%, rgba(22, 40, 76, 0.2) 0%, rgba(22, 40, 76, 0.08) 45%, rgba(22, 40, 76, 0) 72%);
}

/* ----------------------------------------------------------- circles */
.stm__slides { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.stm-card {
    position: absolute;
    left: 351px;
    top: 18px;
    width: 478px;
    height: 478px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 38%, #ffffff 0%, #ffffff 58%, #f2f4f8 86%, #e8ecf2 100%);
    box-shadow: 0 26px 48px rgba(18, 38, 74, 0.13), 0 6px 14px rgba(18, 38, 74, 0.05);
    transition: transform 0.75s cubic-bezier(0.22, 0.75, 0.2, 1), opacity 0.6s ease, box-shadow 0.6s ease;
    will-change: transform;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}
.stm-card::before { /* thin construction-yellow outline of the featured circle */
    content: "";
    position: absolute;
    left: 9px;
    top: 9px;
    right: 9px;
    bottom: 9px;
    border: 2px solid #f4b400;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.stm-card.is-center { z-index: 3; transform: translate(0, 0) scale(1); background: #ffffff; cursor: default; box-shadow: 0 30px 56px rgba(18, 38, 74, 0.16), 0 8px 18px rgba(18, 38, 74, 0.06); }
.stm-card.is-center::before { opacity: 1; }
.stm-card.is-prev   { z-index: 2; transform: translate(-290px, 11px) scale(0.74); }
.stm-card.is-next   { z-index: 2; transform: translate(298px, 11px) scale(0.74); }
.stm-card.is-before { z-index: 1; transform: translate(-470px, 30px) scale(0.5); opacity: 0; pointer-events: none; }
.stm-card.is-after  { z-index: 1; transform: translate(470px, 30px) scale(0.5); opacity: 0; pointer-events: none; }

.stm-card__front, .stm-card__side {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 60px;
    text-align: center;
    transition: opacity 0.45s ease;
}
.stm-card__front { opacity: 0; }
.stm-card__side  { opacity: 1; }
.stm-card.is-center .stm-card__front { opacity: 1; transition-delay: 0.2s; }
.stm-card.is-center .stm-card__side  { opacity: 0; }

/* featured content */
/* v1.2: client logo in place of the quote mark (same 74px slot, so the text fit is unchanged) */
.stm-card__brand { display: block; flex: none; width: auto; max-width: 210px; height: 74px; margin: 0 auto; object-fit: contain; }
.suspl-testimonials-section .stm-card__quote { margin: 18px 0 0; padding: 0; border: 0; }
.suspl-testimonials-section .stm-card__quote p {
    max-width: 344px;
    margin: 0;
    font-size: 22px;
    line-height: 32px;
    font-weight: 400;
    letter-spacing: -0.1px;
    text-align: center;
    text-wrap: pretty;
    color: #1b2742;
}
.suspl-testimonials-section p.stm-card__name {
    max-width: 300px;
    margin: 16px 0 0;
    font-size: 21px;
    text-wrap: balance;
    line-height: 26px;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    text-align: center;
    color: #0d1f3c;
}
.suspl-testimonials-section p.stm-card__role { margin: 6px 0 0; text-align: center; font-size: 18px; line-height: 22px; font-weight: 400; color: #4b5568; }

.stm-card__body { display: flex; flex-direction: column; align-items: center; max-width: 100%; }
/* only the visible face may catch clicks (clicks on a side circle are handled by the circle itself) */
.stm-card:not(.is-center) .stm-card__front, .stm-card__side { pointer-events: none; }

/* ---- long testimonials: the script measures each circle and adds
        .is-fit-1 (one font step smaller) → .is-clamped (5 lines + "Read full testimonial") → .is-clamp-4 */
.suspl-testimonials-section .stm-card.is-fit-1 .stm-card__quote p { font-size: 19px; line-height: 28px; }
.suspl-testimonials-section .stm-card.is-clamped .stm-card__quote p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    overflow: hidden;
}
.suspl-testimonials-section .stm-card.is-clamp-4 .stm-card__quote p { -webkit-line-clamp: 4; line-clamp: 4; }
.suspl-testimonials-section .stm-card__more {
    display: inline-flex;
    align-items: center;
    flex: none;
    margin: 10px 0 0;
    padding: 8px 4px 5px;
    border: 0;
    border-bottom: 2px solid #f4b400;
    border-radius: 0;
    background: transparent;
    font-family: inherit;
    font-size: 17px;
    line-height: 22px;
    font-weight: 600;
    color: #0d1f3c;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.suspl-testimonials-section .stm-card__more[hidden] { display: none; }
.stm-card__more svg { width: 18px; height: 18px; margin-left: 8px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s ease; }
.suspl-testimonials-section .stm-card__more:hover { color: #9a7000; border-color: #0d1f3c; }
.suspl-testimonials-section .stm-card__more:hover svg { transform: translateX(3px); }
.suspl-testimonials-section .stm-card__more:focus-visible { outline: 3px solid #f4b400; outline-offset: 4px; }

/* side content (drawn at featured size, the circle is scaled to 0.74) */
.stm-card__logo { display: block; flex: none; width: auto; max-width: 224px; height: auto; max-height: 104px; object-fit: contain; }
/* side circles are partly behind the featured one, so their content sits towards the visible side (as in the reference) */
.stm-card.is-prev .stm-card__side { padding: 0 150px 0 10px; }
.stm-card.is-next .stm-card__side { padding: 0 10px 0 100px; }
.suspl-testimonials-section p.stm-card__short {
    max-width: 244px;
    margin: 30px 0 0;
    font-size: 31px;
    line-height: 46px;
    text-align: center;
    font-weight: 400;
    color: #1b2742;
}

/* stars */
.stm-stars { display: flex; flex: none; justify-content: center; }
.stm-stars svg { display: block; fill: #f4b400; }
.stm-stars svg.is-off { fill: #dfe3ea; }
.stm-stars--lg { margin-top: 20px; }
.stm-stars--lg svg { width: 32px; height: 32px; margin: 0 3px; }
.stm-stars--sm { margin-top: 30px; }
.stm-stars--sm svg { width: 30px; height: 30px; margin: 0 1px; }

/* ----------------------------------------------------------- navigation */
.suspl-testimonials-section .stm-nav {
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 74px;
    height: 74px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #0e2650;
    background: radial-gradient(circle at 34% 28%, #23467d 0%, #102b58 52%, #0a1f45 100%);
    box-shadow: 0 12px 22px rgba(10, 31, 69, 0.28);
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.stm-nav svg { width: 30px; height: 30px; fill: none; stroke: #ffffff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.stm-nav--prev { left: 41px; top: 287px; }
.stm-nav--next { left: 1082px; top: 220px; }
.suspl-testimonials-section .stm-nav:hover { transform: scale(1.06); box-shadow: 0 16px 28px rgba(10, 31, 69, 0.34); }
.suspl-testimonials-section .stm-nav:focus-visible,
.suspl-testimonials-section .stm-dot:focus-visible { outline: 3px solid #f4b400; outline-offset: 4px; }

.stm__dots {
    position: absolute;
    z-index: 4;
    left: 0;
    top: 540px;
    width: 100%;
    display: flex;
    justify-content: center;
}
.suspl-testimonials-section .stm-dot {
    position: relative;
    width: 42px;
    height: 34px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.stm-dot::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 8px;
    width: 18px;
    height: 18px;
    border: 3px solid #b5bfcc;
    border-radius: 50%;
    background: #ffffff;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.stm-dot.is-active::before { border-color: #f4b400; background: #f4b400; transform: scale(1.34); }
.stm-dot:hover::before { border-color: #8d99ab; }
.stm-dot.is-active:hover::before { border-color: #f4b400; }

/* wide screens (≥1800px): carousel shifted right, as set by Jigar (left: 58%); centred below that so no arrow is cut off */
@media (min-width: 1800px) { .stm__stage { left: 58%; } }

/* ----------------------------------------------------------- large desktop 1440–1659 (scale 0.86) */
@media (max-width: 1659px) {
    .stm__wrap { max-width: 1440px; padding: 172px 24px 112px; }
    .stm__intro { flex-basis: 482px; width: 482px; margin-top: 62px; }
    .stm__box { flex-basis: 1015px; width: 1015px; height: 516px; margin-left: -106px; }
    .stm__stage { transform: scale(0.86); }
    .suspl-testimonials-section p.stm__label { margin-bottom: 31px; font-size: 17px; line-height: 21px; }
    .suspl-testimonials-section p.stm__label::after { width: 96px; margin-left: 15px; }
    .suspl-testimonials-section h2.stm__title { font-size: 54px; line-height: 61px; letter-spacing: -1.4px; }
    .suspl-testimonials-section p.stm__text { max-width: 370px; margin-top: 41px; font-size: 21.5px; line-height: 36px; }
}
/* ----------------------------------------------------------- laptop 1200–1439 (scale 0.72) */
@media (max-width: 1439px) {
    .stm__wrap { max-width: 1200px; padding: 144px 18px 94px; }
    .stm__intro { flex-basis: 403px; width: 403px; margin-top: 52px; }
    .stm__box { flex-basis: 850px; width: 850px; height: 432px; margin-left: -90px; }
    .stm__stage { transform: scale(0.72); }
    .suspl-testimonials-section p.stm__label { margin-bottom: 26px; font-size: 15px; line-height: 18px; }
    .suspl-testimonials-section p.stm__label::after { width: 80px; margin-left: 13px; }
    .suspl-testimonials-section h2.stm__title { font-size: 46px; line-height: 52px; letter-spacing: -1.2px; }
    .suspl-testimonials-section p.stm__text { max-width: 310px; margin-top: 34px; font-size: 18px; line-height: 30px; }
}
/* ----------------------------------------------------------- tablet landscape 992–1199 (scale 0.6) */
@media (max-width: 1199px) {
    .stm__wrap { max-width: 992px; padding: 120px 10px 78px; }
    .stm__intro { flex-basis: 336px; width: 336px; margin-top: 43px; }
    .stm__box { flex-basis: 708px; width: 708px; height: 360px; margin-left: -76px; }
    .stm__stage { transform: scale(0.6); }
    .suspl-testimonials-section p.stm__label { margin-bottom: 22px; font-size: 13px; line-height: 16px; }
    .suspl-testimonials-section p.stm__label::after { width: 66px; margin-left: 11px; }
    .suspl-testimonials-section h2.stm__title { font-size: 36px; line-height: 42px; letter-spacing: -1px; }
    .suspl-testimonials-section p.stm__text { max-width: 260px; margin-top: 28px; font-size: 16px; line-height: 26px; }
    /* larger text inside the circles so it stays readable at this scale */
    .suspl-testimonials-section .stm-card__quote p { max-width: 356px; font-size: 24px; line-height: 34px; }
    .suspl-testimonials-section p.stm-card__name { max-width: 310px; font-size: 23px; line-height: 28px; }
    .suspl-testimonials-section p.stm-card__role { font-size: 20px; line-height: 24px; }
    .stm-card__brand { height: 64px; max-width: 190px; }
    .stm-stars--lg { margin-top: 16px; }
    .stm-stars--lg svg { width: 30px; height: 30px; }
    .suspl-testimonials-section .stm-card.is-fit-1 .stm-card__quote p { font-size: 21px; line-height: 30px; }
    .suspl-testimonials-section .stm-card__more { font-size: 20px; line-height: 26px; }
    .stm-card__more svg { width: 21px; height: 21px; }
}
/* ----------------------------------------------------------- tablet portrait 768–991: heading above, carousel below (scale 0.64) */
@media (max-width: 991px) {
    .stm__wrap { display: block; max-width: 760px; padding: 72px 0 40px; }
    .stm__intro { width: auto; max-width: 600px; margin: 0 auto; padding: 0 20px; text-align: center; }
    .suspl-testimonials-section p.stm__label { justify-content: center; margin-bottom: 20px; font-size: 14px; line-height: 18px; }
    .suspl-testimonials-section p.stm__label::before { content: ""; display: block; width: 56px; height: 2px; margin-right: 12px; background: #7f8aa0; opacity: 0.75; }
    .suspl-testimonials-section p.stm__label::after { width: 56px; margin-left: 12px; }
    .suspl-testimonials-section h2.stm__title { font-size: 44px; line-height: 50px; }
    .suspl-testimonials-section p.stm__text { max-width: 440px; margin: 20px auto 0; font-size: 17px; line-height: 28px; text-align: center; }
    .stm__box { width: 100%; height: 384px; margin: 70px 0 0; }
    .stm__stage { transform: scale(0.64); }
}
/* ----------------------------------------------------------- mobile 480–767: featured circle in front, arrows beside the dots (scale 0.7) */
@media (max-width: 767px) {
    .stm__wrap { padding: 60px 0 30px; }
    .suspl-testimonials-section h2.stm__title { font-size: 38px; line-height: 44px; letter-spacing: -1px; }
    .suspl-testimonials-section p.stm__text { font-size: 16px; line-height: 26px; }
    .stm__box { height: 420px; margin-top: 96px; }
    .stm__stage { transform: scale(0.7); }
    .stm-nav--prev { left: 293px; top: 520px; }
    .stm-nav--next { left: 813px; top: 520px; }
    .stm__dots { top: 540px; }
    .suspl-testimonials-section .stm-card__quote p { max-width: 360px; font-size: 23px; line-height: 33px; }
    .suspl-testimonials-section p.stm-card__name { max-width: 310px; font-size: 22px; line-height: 27px; }
    .suspl-testimonials-section p.stm-card__role { font-size: 19px; line-height: 23px; }
    .stm-card__brand { height: 58px; max-width: 175px; }
    .stm-stars--lg { margin-top: 14px; }
    .stm-stars--lg svg { width: 28px; height: 28px; }
    .suspl-testimonials-section .stm-card__quote { margin-top: 14px; }
    .stm-card__front { padding: 0 52px; }
    .suspl-testimonials-section .stm-card.is-fit-1 .stm-card__quote p { font-size: 21px; line-height: 30px; }
    .suspl-testimonials-section .stm-card__more { padding: 12px 6px 6px; font-size: 22px; line-height: 28px; }
    .stm-card__more svg { width: 22px; height: 22px; }
}
/* the side circles are cut by the screen edge below 700px: keep them as plain circles (no clipped text) */
@media (max-width: 699px) {
    .stm-card .stm-card__side { opacity: 0; }
}
/* ----------------------------------------------------------- small mobile 320–479 (scale 0.6, side circles partly visible) */
@media (max-width: 479px) {
    .stm__wrap { padding: 52px 0 24px; }
    .stm__intro { padding: 0 16px; }
    .suspl-testimonials-section p.stm__label { font-size: 13px; letter-spacing: 0.3px; }
    .suspl-testimonials-section p.stm__label::before, .suspl-testimonials-section p.stm__label::after { width: 34px; }
    .suspl-testimonials-section h2.stm__title { font-size: 32px; line-height: 38px; letter-spacing: -0.8px; }
    .suspl-testimonials-section p.stm__text { font-size: 15px; line-height: 24px; }
    .stm__box { height: 360px; margin-top: 82px; }
    .stm__stage { transform: scale(0.6); }
    .stm-nav--prev { left: 353px; top: 520px; }
    .stm-nav--next { left: 753px; top: 520px; }
    .stm-card.is-prev { transform: translate(-320px, 11px) scale(0.74); }
    .stm-card.is-next { transform: translate(320px, 11px) scale(0.74); }
}
@media (max-width: 359px) {
    .stm__box { height: 336px; margin-top: 76px; }
    .stm__stage { transform: scale(0.56); }
    .suspl-testimonials-section h2.stm__title { font-size: 29px; line-height: 35px; }
}

/* ----------------------------------------------------------- ultra-wide: same composition, scaled as a whole */
@media (min-width: 2560px) { .stm__wrap { zoom: 1.4; } }
@media (min-width: 3840px) { .stm__wrap { zoom: 2.1; } }
@media (min-width: 5120px) { .stm__wrap { zoom: 2.8; } }
@media (min-width: 7680px) { .stm__wrap { zoom: 4.2; } }

/* ----------------------------------------------------------- full testimonial popup (native <dialog>) */
html.stm-lock { overflow: hidden; }
.stm-dialog {
    width: 92%;
    max-width: 720px;
    max-height: none;
    margin: auto;
    padding: 0;
    border: 0;
    background: transparent;
    overflow: visible;
    color: #0d1f3c;
    font-family: "Inter", "Poppins", Arial, sans-serif;
}
.stm-dialog:not([open]) { display: none; }
.stm-dialog::backdrop { background: rgba(7, 20, 45, 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.stm-dialog.is-fallback { position: fixed; left: 0; right: 0; top: 0; bottom: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; width: 100%; max-width: none; background: rgba(7, 20, 45, 0.55); }
.stm-dialog.is-fallback .stm-dialog__box { width: 92%; max-width: 720px; }
.stm-dialog__box {
    position: relative;
    max-height: 88vh;
    overflow-y: auto;
    padding: 46px 52px 30px;
    border-radius: 28px;
    background: #ffffff;
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 70%, #f6f8fb 100%);
    box-shadow: 0 40px 80px rgba(7, 20, 45, 0.35), 0 0 0 1px rgba(13, 31, 60, 0.06);
    animation: stm-pop 0.35s cubic-bezier(0.22, 0.75, 0.2, 1);
}
.stm-dialog__box::before { /* thin yellow accent, like the featured circle */
    content: "";
    position: absolute;
    left: 52px;
    top: 0;
    width: 90px;
    height: 4px;
    border-radius: 0 0 4px 4px;
    background: #f4b400;
}
@keyframes stm-pop { from { opacity: 0; transform: translateY(18px) scale(0.98); } to { opacity: 1; transform: none; } }
.stm-dialog .stm-dialog__x {
    position: absolute;
    right: 18px;
    top: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f1f4f8;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}
.stm-dialog__x svg { width: 20px; height: 20px; fill: none; stroke: #0d1f3c; stroke-width: 2.4; stroke-linecap: round; }
.stm-dialog .stm-dialog__x:hover { background: #e3e8ef; transform: rotate(90deg); }
.stm-dialog__head { display: flex; align-items: center; padding-right: 50px; }
.stm-dialog__logo {
    display: flex;
    flex: 0 0 132px;
    align-items: center;
    justify-content: center;
    width: 132px;
    height: 72px;
    margin-right: 18px;
    padding: 8px 10px;
    border: 1px solid #e6eaf0;
    border-radius: 16px;
    background: #ffffff;
}
.stm-dialog__logo img { display: block; width: auto; max-width: 100%; height: auto; max-height: 100%; object-fit: contain; }
.stm-dialog__logo.is-empty { display: none; }
.stm-dialog__who { min-width: 0; }
.stm-dialog p.stm-dialog__name { margin: 0; font-size: 19px; line-height: 25px; font-weight: 700; letter-spacing: 0.2px; text-transform: uppercase; color: #0d1f3c; text-align: left; }
.stm-dialog p.stm-dialog__role { margin: 4px 0 0; font-size: 15px; line-height: 20px; color: #5a6577; text-align: left; }
.stm-dialog__mark { display: block; height: 52px; margin: 26px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 112px; line-height: 92px; font-weight: 700; color: #f4b400; opacity: 0.5; overflow: hidden; }
.stm-dialog .stm-dialog__quote { margin: 4px 0 0; padding: 0; border: 0; }
.stm-dialog .stm-dialog__quote p { margin: 0; font-size: 20px; line-height: 34px; font-weight: 400; color: #1b2742; text-align: left; white-space: pre-line; }
.stm-dialog__stars { margin-top: 18px; }
.stm-dialog__stars .stm-stars { justify-content: flex-start; margin: 0; }
.stm-dialog__stars .stm-stars svg { width: 24px; height: 24px; margin: 0 4px 0 0; }
.stm-dialog__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 26px; padding-top: 18px; border-top: 1px solid #e9edf2; }
.stm-dialog .stm-dialog__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 34% 28%, #23467d 0%, #102b58 52%, #0a1f45 100%);
    box-shadow: 0 8px 16px rgba(10, 31, 69, 0.25);
    cursor: pointer;
    transition: transform 0.2s ease;
}
.stm-dialog__nav svg { width: 22px; height: 22px; fill: none; stroke: #ffffff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.stm-dialog .stm-dialog__nav:hover { transform: scale(1.06); }
.stm-dialog__count { font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: 1px; color: #5a6577; }
.stm-dialog .stm-dialog__x:focus-visible, .stm-dialog .stm-dialog__nav:focus-visible { outline: 3px solid #f4b400; outline-offset: 3px; }

@media (max-width: 767px) {
    .stm-dialog__box { padding: 40px 30px 24px; border-radius: 24px; }
    .stm-dialog__box::before { left: 30px; }
    .stm-dialog .stm-dialog__quote p { font-size: 18px; line-height: 30px; }
}
/* phones: bottom sheet */
@media (max-width: 575px) {
    .stm-dialog { width: 100%; max-width: 100%; margin: auto 0 0; }
    .stm-dialog__box { max-height: 86vh; padding: 34px 20px 20px; border-radius: 24px 24px 0 0; animation-name: stm-sheet; }
    .stm-dialog__box::before { left: 50%; width: 56px; margin-left: -28px; }
    .stm-dialog .stm-dialog__x { right: 12px; top: 12px; }
    .stm-dialog__logo { flex-basis: 100px; width: 100px; height: 58px; margin-right: 14px; border-radius: 12px; }
    .stm-dialog p.stm-dialog__name { font-size: 16px; line-height: 21px; }
    .stm-dialog p.stm-dialog__role { font-size: 14px; }
    .stm-dialog__mark { height: 42px; margin-top: 18px; font-size: 92px; line-height: 76px; }
    .stm-dialog .stm-dialog__quote p { font-size: 16.5px; line-height: 28px; }
    .stm-dialog__foot { margin-top: 20px; padding-top: 14px; }
}
@keyframes stm-sheet { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 2560px) { .stm-dialog { width: 60%; zoom: 1.4; } }
@media (min-width: 3840px) { .stm-dialog { zoom: 2.1; } }
@media (min-width: 7680px) { .stm-dialog { zoom: 4.2; } }

/* ----------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
    .stm-card, .stm-card::before, .stm-card__front, .stm-card__side, .stm-dot::before, .suspl-testimonials-section .stm-nav { transition: none; }
    .stm-card.is-center .stm-card__front { transition-delay: 0s; }
    .stm-dialog__box { animation: none; }
    .stm-card__more svg, .stm-dialog .stm-dialog__x, .stm-dialog .stm-dialog__nav { transition: none; }
}

/* =====================================================================
   v1.3 — client logos from upload/clients/ (square files with empty margins).
   Each logo sits in a box with the artwork's own proportions (aspect-ratio set
   inline); the image is positioned inside it, so only the logo itself shows.
   ===================================================================== */
.stm-crop { position: relative; display: block; flex: none; overflow: hidden; margin: 0 auto; }
.suspl-testimonials-section .stm-crop img,
.stm-dialog .stm-crop img {
    position: absolute;
    display: block;
    max-width: none;
    max-height: none;
    height: auto;
    margin: 0;
    object-fit: fill;
}
.stm-crop--brand { height: 74px; }
.stm-crop--brand.is-wide { width: 210px; height: auto; }
.stm-crop--side { height: 104px; }
.stm-crop--side.is-wide { width: 224px; height: auto; }
.stm-dialog__logo .stm-crop { height: 100%; margin: 0; }
.stm-dialog__logo .stm-crop.is-wide { width: 100%; height: auto; }
/* same steps as .stm-card__brand above (74 / 64 / 58 px) */
@media (max-width: 1199px) {
    .stm-crop--brand { height: 64px; }
    .stm-crop--brand.is-wide { width: 190px; height: auto; }
}
@media (max-width: 767px) {
    .stm-crop--brand { height: 58px; }
    .stm-crop--brand.is-wide { width: 175px; height: auto; }
}

/* ---------------------------------------------------------------- heading in the site's standard style (v1.4.0)
   The label and heading now use the same theme classes as every other section heading
   (bg-primary pill + h4.alt-font). These rules only undo the section's own font (Inter) and keep
   the alignment of the intro column, so they render exactly like the rest of the site. */
.suspl-testimonials-section span.stm__pill { font-family: "Space Grotesk", sans-serif; }
.suspl-testimonials-section h4.stm__heading { margin-top: 0; text-align: left; }
.suspl-testimonials-section .stm__heading + p.stm__text { margin-top: 0; }
@media (max-width: 991px) {
    .suspl-testimonials-section h4.stm__heading { text-align: center; }
}
