/* ==========================================================================
   Client Testimonials module — 2026 UI/UX redesign
   Featured testimonials only (reviewSplit cards).
   ========================================================================== */

/* --- Reset --- */

.section--clientTestimonials blockquote {
    margin: 0;
    padding: 0;
}

.section--clientTestimonials blockquote footer {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

/* --- section--clientTestimonials --- */

.section--clientTestimonials {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* CSS gradient mesh background */
.section--clientTestimonials::before {
    position: absolute;
    top: 169px;

    content: '';
    display: block;

    max-width: 100%;
    min-width: 100%;
    min-height: 1554px;
    max-height: 1554px;

    background:
        radial-gradient(ellipse 60% 50% at 20% 30%, rgba(75, 125, 225, 0.07), transparent),
        radial-gradient(ellipse 50% 40% at 80% 60%, rgba(32, 56, 206, 0.05), transparent),
        radial-gradient(ellipse 80% 50% at 50% 10%, rgba(238, 240, 244, 0.6), transparent),
        radial-gradient(ellipse 40% 30% at 70% 80%, rgba(75, 125, 225, 0.04), transparent);

    z-index: -1;
}

/* --- Header left-aligned --- */

.section--clientTestimonials .section__header--left .section__header__inner {
    text-align: left;
    align-items: flex-start;
}

.section--clientTestimonials .section__title {
    text-align: left;
    position: relative;
    padding-bottom: 16px;
}

/* Gradient underline accent under title */
.section--clientTestimonials .section__title::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    border-radius: 2px;
    background: radial-gradient(273.03% 142.13% at -1% 0%, rgba(75, 125, 225, 1), rgba(32, 56, 206, 1) 100%);
}

/* --- Subtitle --- */

.section--clientTestimonials .section__subtitle {
    color: rgba(81, 85, 106, 1);
    font-family: Lexend;
    --fontsizeMin: 16;
    --fontsizeMax: 19;
    font-size: clamp(var(--fontsizeMin) * 1px, var(--fontsizeMax) * 1px - (var(--linearInterpolation500x1200) * ((var(--fontsizeMax) - var(--fontsizeMin)) / 100)), var(--fontsizeMax) * 1px);
    font-weight: 400;
    line-height: 150%;
    text-align: left;
    max-width: 600px;
    margin: 12px 0 0;
}

.section--clientTestimonials .section__reviewCount {
    margin: 10px 0 0;
    font-size: 13px;
    font-weight: 400;
    color: rgba(81, 85, 106, 0.55);
    letter-spacing: 0.02em;
}

/* --- reviewsList --- */

.reviewsList {
    width: 100%;
}

.reviewsList__inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* --- reviewSplit (card) --- */

.reviewSplit {
    width: 100%;
    box-sizing: border-box;

    --paddingMin: 12;
    --paddingMax: 48;
    padding: clamp(var(--paddingMin) * 1px, var(--paddingMax) * 1px - (var(--linearInterpolation500x1200) * ((var(--paddingMax) - var(--paddingMin)) / 100)), var(--paddingMax) * 1px);

    border-radius: 24px;
    background:
        linear-gradient(white, white) padding-box,
        linear-gradient(135deg, rgba(238, 240, 244, 1), rgba(238, 240, 244, 1)) border-box;
    border: 1px solid transparent;
    box-shadow: 0px 6px 40px -4px rgba(0, 66, 130, 0.09);

    transition: box-shadow 0.35s ease, background 0.35s ease, transform 0.35s ease;
}

/* Card hover: gradient border + subtle lift */
.reviewSplit:hover {
    background:
        linear-gradient(white, white) padding-box,
        radial-gradient(273.03% 142.13% at -1% 0%, rgba(75, 125, 225, 0.4), rgba(32, 56, 206, 0.25)) border-box;
    box-shadow: 0px 12px 48px -5px rgba(0, 66, 130, 0.12);
    transform: translateY(-2px);
}

:where(.section--ourExpertise) .reviewSplit {
    --paddingMin: 9;
    --paddingMax: 50;
    padding: clamp(var(--paddingMin) * 1px, var(--paddingMax) * 1px - (var(--linearInterpolation500x1200) * ((var(--paddingMax) - var(--paddingMin)) / 100)), var(--paddingMax) * 1px);
}

.reviewSplit__inner {
    display: flex;
    gap: 61px;
    width: 100%;
}

.section--ourExpertise .reviewSplit__inner {
    gap: 20px 35px;
}

.reviewSplit__left {
    flex: 1;
    position: relative;
}

/* "Top Project" CSS badge (replaces SVG) */
.reviewSplit__left .topProject {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    padding: 6px 14px;
    border-radius: 6px;
    background: radial-gradient(273.03% 142.13% at -1% 0%, rgba(75, 125, 225, 1), rgba(32, 56, 206, 1) 100%);
    color: #fff;
    font-family: Space_Grotesk;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(32, 56, 206, 0.25);
}

/* Vertical divider — gradient (transparent → blue → transparent) */
.reviewSplit__left::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    right: -31px;
    width: 2px;
    border-radius: 1px;
    background: linear-gradient(180deg, transparent 0%, rgba(75, 125, 225, 0.4) 25%, rgba(32, 56, 206, 0.35) 75%, transparent 100%);
}

.section--ourExpertise .reviewSplit__left::after {
    display: none;
}

.section--ourExpertise .reviewSplit__left {
    flex: 500;
    max-width: 570px;
}

.reviewsList .reviewSplit:nth-child(2n) .reviewSplit__left {
    order: 2;
}

.reviewSplit__right {
    flex: 1;
}

.section--ourExpertise .reviewSplit__right {
    flex: 300;
}

.reviewsList .reviewSplit:nth-child(2n) .reviewSplit__right {
    order: 1;
}

/* --- reviewSplit__slider --- */

.reviewSplit__slider {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.reviewSplit__slider__container {
    width: 100%;
    position: relative;
    box-sizing: border-box;
    border: 1px solid rgba(238, 240, 244, 1);
    border-radius: 12px;
    overflow: hidden;
    /* Force clip on all children incl. Swiper internals */
    isolation: isolate;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.reviewSplit__slider__controls {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Circular arrows with frosted glass */
.reviewSplit__slider__arrow {
    min-width: 48px;
    max-width: 48px;
    min-height: 48px;
    max-height: 48px;
    box-sizing: border-box;
    border: 1px solid rgba(238, 240, 244, 1);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85) url(../../../img/arrowMiddle_blue_16x14.svg) center / 16px 14px no-repeat;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2;
    cursor: pointer;
    transition: box-shadow 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.reviewSplit__slider__arrow:hover {
    box-shadow: 0 4px 16px rgba(0, 66, 130, 0.18);
    background-color: rgba(255, 255, 255, 1);
    transform: scale(1.08);
}

.reviewSplit__slider__arrow:focus-visible {
    outline: 2px solid rgba(75, 125, 225, 1);
    outline-offset: 2px;
}

.reviewSplit__slider__arrow--prev {
    rotate: 180deg;
    margin-left: 16px;
}

.reviewSplit__slider__arrow--next {
    margin-right: 16px;
}

.reviewSplit__slider__wrapper {}

.reviewSplit__slider__slide {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-height: 331px;
    aspect-ratio: 585/331;
}

.section--ourExpertise .reviewSplit__slider__slide {
    max-height: 400px;
    aspect-ratio: 575/400;
}

.reviewSplit__slider__slide figure {
    margin: 0;
    width: 100%;
    height: 100%;
}

.reviewSplit__slider__slide img {
    display: block;
    object-fit: cover;
    object-position: center center;
    width: 100%;
    height: 100%;
    transition: all .4s;
}

.section--clientTestimonials .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Pagination dots — outside overflow container */
.reviewSplit__slider__dots {
    position: relative !important;
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
    bottom: auto !important;
    left: auto !important;
    width: 100% !important;
}

.reviewSplit__slider__dots .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(238, 240, 244, 1);
    opacity: 1;
    transition: background 0.25s, width 0.25s, border-radius 0.25s;
    cursor: pointer;
}

.reviewSplit__slider__dots .swiper-pagination-bullet:hover {
    background: rgba(75, 125, 225, 0.4);
}

.reviewSplit__slider__dots .swiper-pagination-bullet-active {
    background: rgba(75, 125, 225, 1);
    width: 24px;
    border-radius: 4px;
}

.reviewSplit__slider__dots .swiper-pagination-bullet-active:hover {
    background: rgba(75, 125, 225, 1);
}

/* --- Stats with gradient pill background --- */

.reviewSplit__slider__descList {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 0;
    box-sizing: border-box;
    width: 100%;
    list-style: none;
    margin: 0;
}

/* Stat pill — vertical layout: big number on top, label below */
.reviewSplit__slider__desc {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
    min-width: 0;

    /* Gradient pill background */
    background: linear-gradient(135deg, rgba(75, 125, 225, 0.07), rgba(32, 56, 206, 0.04));
    border: 1px solid rgba(238, 240, 244, 1);
    border-radius: 12px;
    padding: 16px 12px;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.reviewSplit__slider__desc:hover {
    background: linear-gradient(135deg, rgba(75, 125, 225, 0.12), rgba(32, 56, 206, 0.08));
    border-color: rgba(75, 125, 225, 0.2);
}

/* Separator dot between stat pills */
.reviewSplit__slider__desc + .reviewSplit__slider__desc {
    position: relative;
    margin-left: 8px;
}

.reviewSplit__slider__desc + .reviewSplit__slider__desc::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(75, 125, 225, 0.3);
}

/* Stat number — large, centered */
.reviewSplit__slider__desc__num {
    background: radial-gradient(273.03% 142.13% at -1% 0%, rgba(75, 125, 225, 1), rgba(32, 56, 206, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: Space_Grotesk;

    --fontsizeMin: 36;
    --fontsizeMax: 48;
    font-size: clamp(var(--fontsizeMin) * 1px, var(--fontsizeMax) * 1px - (var(--linearInterpolation500x1200) * ((var(--fontsizeMax) - var(--fontsizeMin)) / 100)), var(--fontsizeMax) * 1px);

    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    text-align: center;
    display: block;
}

/* Count-up animation target */
.reviewSplit__slider__desc__num[data-count-target] {
    transition: opacity 0.3s ease;
}

/* Stat label — centered below number */
.reviewSplit__slider__desc__text {
    color: rgba(81, 85, 106, 1);
    font-family: Lexend;

    --fontsizeMin: 12;
    --fontsizeMax: 14;
    font-size: clamp(var(--fontsizeMin) * 1px, var(--fontsizeMax) * 1px - (var(--linearInterpolation940x500) * ((var(--fontsizeMax) - var(--fontsizeMin)) / 100)), var(--fontsizeMax) * 1px);

    font-weight: 400;
    line-height: 130%;
    text-align: center;
    display: block;
}

/* --- reviewShort --- */

.reviewShort {}

.reviewShort--1 {}

.reviewShort--3 {
    height: 100%;
}

.reviewShort__inner {
    width: 100%;
    transform-origin: bottom;
    transition: all .1s;
}

.reviewShort--1 .reviewShort__inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.reviewShort--3 .reviewShort__inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.reviewShort__link {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
}

.reviewShort__header {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

.reviewShort__header__left {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.reviewShort--1 .reviewShort__header__left {
    flex: 1;
}

.reviewShort--3 .reviewShort__header__left {
    width: 100%;
}

/* Author info block — flattened hierarchy (2026) */
.reviewShort__authorInfoblock {
    display: flex;
    width: 100%;
}

.reviewShort--1 .reviewShort__authorInfoblock {
    align-items: center;
    gap: 16px;
}

/* Author photo with gradient accent ring */
.reviewShort__photo {
    overflow: hidden;
}

.reviewShort__photo>img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}

.reviewShort--1 .reviewShort__photo {
    width: 100%;
    aspect-ratio: 1/1;
    max-width: 72px;
    max-height: 72px;
    padding: 2px;
    background: radial-gradient(273.03% 142.13% at -1% 0%, rgba(75, 125, 225, 1), rgba(32, 56, 206, 1) 100%);
    border-radius: 50%;
    flex-shrink: 0;
}

.reviewShort--1 .reviewShort__photo > img {
    border-radius: 50%;
}

/* Verified badge next to author name */
.reviewShort__verified {
    display: inline-block;
    vertical-align: middle;
    margin-left: 6px;
    flex-shrink: 0;
}

.reviewShort__authorInfoblock__right {}

.reviewShort--1 .reviewShort__authorInfoblock__right {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.reviewShort--3 .reviewShort__authorInfoblock__right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}

.reviewShort__authorInfoblock__name {
    color: rgba(37, 39, 45, 1);
    font-family: Space_Grotesk;
    font-weight: 700;
    line-height: 110%;
    letter-spacing: 0%;
    text-align: left;
}

.reviewShort--1 .reviewShort__authorInfoblock__name {
    --fontsizeMin: 20;
    --fontsizeMax: 23;
    font-size: clamp(var(--fontsizeMin) * 1px, var(--fontsizeMax) * 1px - (var(--linearInterpolation940x1200) * ((var(--fontsizeMax) - var(--fontsizeMin)) / 100)), var(--fontsizeMax) * 1px);
}

.reviewShort--3 .reviewShort__authorInfoblock__name {
    --fontsizeMin: 26;
    --fontsizeMax: 30;
    font-size: clamp(var(--fontsizeMin) * 1px, var(--fontsizeMax) * 1px - (var(--linearInterpolation940x1200) * ((var(--fontsizeMax) - var(--fontsizeMin)) / 100)), var(--fontsizeMax) * 1px);
    margin-bottom: 10px;
}

.reviewShort__authorInfoblock__desc {
    color: rgba(138, 141, 152, 1);
    font-family: Lexend;
    font-weight: 400;
    line-height: 110%;
    letter-spacing: 0%;
    text-align: left;
}

.reviewShort--1 .reviewShort__authorInfoblock__desc {
    --fontsizeMin: 13;
    --fontsizeMax: 15;
    font-size: clamp(var(--fontsizeMin) * 1px, var(--fontsizeMax) * 1px - (var(--linearInterpolation940x1200) * ((var(--fontsizeMax) - var(--fontsizeMin)) / 100)), var(--fontsizeMax) * 1px);
}

.reviewShort--3 .reviewShort__authorInfoblock__desc {
    --fontSizeMin: 16;
    --fontSizeMax: 20;
    font-size: clamp(var(--fontsizeMin) * 1px, var(--fontsizeMax) * 1px - (var(--linearInterpolation940x1200) * ((var(--fontsizeMax) - var(--fontsizeMin)) / 100)), var(--fontsizeMax) * 1px);
}

/* Star rating */
.reviewShort__rating {
    display: flex;
    gap: 3px;
    align-items: center;
}

.reviewShort__rating__star {
    display: block;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

/* Company row: logo + visit + socials — pill background */
.reviewShort__companyRow {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    background: linear-gradient(135deg, rgba(75, 125, 225, 0.05), rgba(32, 56, 206, 0.03));
    border: 1px solid rgba(238, 240, 244, 1);
    border-radius: 10px;
    padding: 10px 14px;
}

.reviewShort__authorInfoblock__logo {
    display: flex;
    max-height: 40px;
}

.reviewShort__authorInfoblock__logo img {
    object-fit: contain;
    width: auto;
    height: 100%;
    max-height: 40px;
}

.reviewShort__header__right {}

.reviewShort__header-btn {
    border-radius: 5px;
}

.reviewShort--1 .reviewShort__header-btn {
    font-size: 14px;
    padding: 8px 20px;
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.reviewShort--1 .reviewShort__header-btn:hover {
    box-shadow: 0 2px 8px rgba(0, 66, 130, 0.1);
}

.reviewShort--1 .reviewShort__header-btn:focus-visible {
    outline: 2px solid rgba(75, 125, 225, 1);
    outline-offset: 2px;
}

/* Social icons hover with lift */
.reviewShort .btnsCont {
    display: flex;
    gap: 8px;
}

.reviewShort .btnsCont .btn--icon {
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.reviewShort .btnsCont .btn--icon:hover {
    transform: translateY(-3px);
    opacity: 0.85;
}

.reviewShort .btnsCont .btn--icon:focus-visible {
    outline: 2px solid rgba(75, 125, 225, 1);
    outline-offset: 2px;
}

.reviewShort__main {
    width: 100%;
}

.reviewShort--3 .reviewShort__main {
    flex: 1;
    margin-bottom: 20px;
}

/* Quote text — italic + gradient border-left + large decorative quote (2026) */
.reviewShort__text {
    position: relative;
    color: rgba(70, 73, 83, 1);
    font-family: Lexend;
    font-weight: 300;
    font-style: italic;
    line-height: 160%;
    letter-spacing: 0%;
    text-align: left;
}

.reviewShort--1 .reviewShort__text {
    --fontsizeMin: 15;
    --fontsizeMax: 20;
    font-size: clamp(var(--fontsizeMin) * 1px, var(--fontsizeMax) * 1px - (var(--linearInterpolation500x1200) * ((var(--fontsizeMax) - var(--fontsizeMin)) / 100)), var(--fontsizeMax) * 1px);
    padding-left: 24px;
    padding-bottom: 20px;
    border-left: 3px solid;
    border-image: radial-gradient(273.03% 142.13% at -1% 0%, rgba(75, 125, 225, 1), rgba(32, 56, 206, 1) 100%) 1;
    border-image-width: 0 0 0 3px;
}

.reviewShort--3 .reviewShort__text {
    --fontsizeMin: 16;
    --fontsizeMax: 20;
    font-size: clamp(var(--fontsizeMin) * 1px, var(--fontsizeMax) * 1px - (var(--linearInterpolation940x1200) * ((var(--fontsizeMax) - var(--fontsizeMin)) / 100)), var(--fontsizeMax) * 1px);
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Large decorative opening quote (2026: gradient glyph) */
.reviewShort--1 .reviewShort__text::before {
    content: '\201C';
    display: block;
    position: absolute;
    top: -14px;
    left: -4px;
    font-size: 64px;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    font-style: normal;
    line-height: 1;

    background: radial-gradient(273.03% 142.13% at -1% 0%, rgba(75, 125, 225, 1), rgba(32, 56, 206, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    opacity: 0.25;
    pointer-events: none;
}

/* Closing decorative quote */
.reviewShort--1 .reviewShort__text::after {
    content: '\201D';
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 48px;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    font-style: normal;
    line-height: 1;

    background: radial-gradient(273.03% 142.13% at -1% 0%, rgba(75, 125, 225, 1), rgba(32, 56, 206, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    opacity: 0.12;
    pointer-events: none;
}

.reviewShort__footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.reviewShort--3 .reviewShort__footer {
    flex-direction: column;
    justify-content: flex-start;
    gap: 25px;
}

.reviewShort__footer-btn {
    border-radius: 5px;
    min-width: 191px;
    text-align: center;
    transition: all .4s ease;
}

/* Learn more button: gradient hover + lift */
.reviewShort--1 .reviewShort__footer-btn {
    padding: 16px 30px;
    font-size: 16px;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

.reviewShort--1 .reviewShort__footer-btn:hover {
    background: radial-gradient(273.03% 142.13% at -1% 0%, rgba(75, 125, 225, 1), rgba(32, 56, 206, 1) 100%);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(32, 56, 206, 0.3);
}

.reviewShort__footer-btn:focus-visible {
    outline: 2px solid rgba(75, 125, 225, 1);
    outline-offset: 2px;
}

.reviewShort--3 .reviewShort__footer-btn {
    padding: 16px 50px;
    --fontsizeMin: 13;
    --fontsizeMax: 16;
    font-size: clamp(var(--fontsizeMin) * 1px, var(--fontsizeMax) * 1px - (var(--linearInterpolation940x1200) * ((var(--fontsizeMax) - var(--fontsizeMin)) / 100)), var(--fontsizeMax) * 1px);
    border-radius: 5px;
}

.reviewShort__header__left .reviewShort__footer-btn {
    display: none;
}

.reviewShort__logo {
    width: auto;
    max-width: 202px;
    height: 100px;
}

.reviewShort__logo img {
    object-fit: contain;
    object-position: left;
    height: 100%;
    max-width: 100%;
}

/* Tag — filled pill */
.reviewShort__tag {
    position: relative;
    background: #EBF1FC;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: #4B7DE1;
    background-clip: unset;
    font-family: Lexend;
    font-size: 12px;
    font-weight: 600;
    line-height: 120%;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-align: center;
    padding: 5px 14px;
    box-sizing: border-box;
    border-radius: 50px;
}

.reviewShort__tag>span {
    display: block;
}

.reviewShort__tag::before {
    display: none;
}

.reviewShort__table {
    display: flex;
    flex-direction: column;
    gap: 12px 15px;
    box-sizing: border-box;
    border: 1px solid rgba(238, 240, 244, 1);
    border-radius: 10px;
    background: rgba(245, 245, 247, 1);
    padding: 20px 24px;
    max-width: max-content;
}

.reviewShort__table__row {
    display: flex;
    gap: 12px 15px;
    flex-wrap: wrap;
}

.reviewShort__table__cell {}

.reviewShort__table__title {
    color: rgba(0, 0, 0, 0.35);
    font-family: Space_Grotesk;
    font-size: 11px;
    font-weight: 600;
    line-height: 120%;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-align: left;
}

.reviewShort__table__desc {
    color: rgba(70, 73, 83, 1);
    font-family: Lexend;
    font-size: clamp(14px, 1.2vw, 16px);
    font-weight: 600;
    line-height: 130%;
    letter-spacing: 0%;
    text-align: left;
}

/* --- page-specific overrides (industry / services) --- */

.page-template-page-industry .reviewsList .reviewShort__authorInfoblock__right__top,
.single-services .reviewsList .reviewShort__authorInfoblock__right__top {
    flex-direction: row;
    justify-content: unset;
}

.page-template-page-industry .reviewsList .reviewShort__authorInfoblock__right__bottom,
.single-services .reviewsList .reviewShort__authorInfoblock__right__bottom {
    background: none;
    border: none;
    padding: 0;
}

/* --- Entrance animation on scroll (progressive enhancement) --- */
/* Default: content visible for crawlers and no-JS users */

.section--clientTestimonials.js-animate .reviewSplit {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.section--clientTestimonials.js-animate .reviewSplit.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1200px) {
    .reviewSplit__slider__descList {
        flex-wrap: wrap;
    }
}

@media (max-width: 940px) {
    .reviewSplit {
        padding-bottom: 30px;
    }

    /* Remove hover lift on touch devices */
    .reviewSplit:hover {
        transform: none;
    }

    .reviewSplit__inner {
        flex-direction: column;
        gap: 46px;
    }

    .reviewsList .reviewSplit:nth-child(2n) .reviewSplit__inner {
        flex-direction: column-reverse;
    }

    .reviewSplit__slider {
        flex-direction: row;
        align-items: flex-start;
        gap: 30px;
    }

    .reviewSplit__slider__container {
        flex: 570;
    }

    .reviewSplit__slider__descList {
        flex: 240;
        flex-wrap: wrap;
        flex-direction: column;
        padding: 25px 0px;
        gap: 10px;
    }

    /* On tablet sidebar: switch pills back to horizontal (number left, text right) */
    .reviewSplit__slider__desc {
        flex-direction: row;
        align-items: center;
        gap: 8px;
        padding: 10px 14px;
    }

    .reviewSplit__slider__desc__num {
        text-align: left;
    }

    .reviewSplit__slider__desc__text {
        text-align: left;
    }

    .section--ourExpertise .reviewSplit__left {
        flex: unset;
        max-width: 100%;
    }

    .reviewSplit__left::after {
        content: '';
        display: block;
        position: absolute;
        top: unset;
        bottom: -21px;
        right: unset;
        left: 0;
        width: 100%;
        height: 1px;
        background: linear-gradient(90deg, transparent 0%, rgba(75, 125, 225, 0.2) 30%, rgba(32, 56, 206, 0.15) 70%, transparent 100%);
    }

    .reviewSplit__slider__desc + .reviewSplit__slider__desc {
        margin-left: 0;
    }

    .reviewSplit__slider__desc + .reviewSplit__slider__desc::before {
        display: none;
    }

    .reviewShort__rating {
        gap: 2px;
    }

    .reviewSplit__slider__slide {
        max-height: 380px;
        aspect-ratio: 570/380;
    }

    .reviewSplit__slider__arrow {
        min-width: 36px;
        max-width: 36px;
        min-height: 36px;
        max-height: 36px;
    }

    .reviewSplit__slider__arrow--prev {
        margin-left: 10px;
    }

    .reviewSplit__slider__arrow--next {
        margin-right: 10px;
    }

    .reviewShort--1 .reviewShort__header-btn {
        display: none;
    }

    .reviewShort--1 .reviewShort__inner {
        flex-direction: row;
        gap: 13px;
    }

    .reviewShort--1 .reviewShort__text {
        padding: 10px 0px;
        padding-left: 16px;
    }

    .reviewShort--1 .reviewShort__text::before,
    .reviewShort--1 .reviewShort__text::after {
        display: none;
    }

    .reviewShort--1 .reviewShort__footer {
        display: none;
    }

    .reviewShort--1 .reviewShort__header {
        flex: 335;
    }

    .reviewShort--1 .reviewShort__main {
        flex: 449;
    }

    .reviewShort__header__left .reviewShort__footer-btn {
        display: block;
    }

    .reviewShort--1 .reviewShort__footer-btn {
        max-width: 130px;
        padding: 13px 25px;
        min-width: unset;
        font-size: 14px;
    }

    .reviewShort__companyRow {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 8px 12px;
    }
}

@media (max-width: 800px) {
    .section--clientTestimonials::before {
        top: -924px;
        min-height: 2980px;
        max-height: 2980px;
        background:
            radial-gradient(ellipse 80% 40% at 30% 20%, rgba(75, 125, 225, 0.08), transparent),
            radial-gradient(ellipse 60% 30% at 70% 50%, rgba(32, 56, 206, 0.05), transparent),
            radial-gradient(ellipse 90% 50% at 50% 30%, rgba(238, 240, 244, 0.6), transparent);
    }

    .reviewShort--1 .reviewShort__authorInfoblock {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .reviewShort--1 .reviewShort__authorInfoblock__name {
        margin: 0 !important;
    }

    .reviewSplit__right {
        padding: 0px 10px;
    }
}

@media (max-width: 670px) {
    .reviewSplit__inner {
        gap: 39px;
    }

    .reviewSplit__slider__slide {
        max-height: 270px;
        aspect-ratio: 300/270;
    }

    .reviewSplit__slider {
        flex-direction: column;
        gap: 15px;
    }

    .reviewSplit__slider__descList {
        flex-direction: row;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 8px;
        width: 100%;
        padding: 0px 15px;
        box-sizing: border-box;
    }

    .reviewSplit__slider__desc {
        flex: 1;
        min-width: 0;
        padding: 10px 8px;
    }

    .reviewShort--1 .reviewShort__inner {
        flex-direction: column;
        gap: 15px;
    }

    .reviewShort--1 .reviewShort__authorInfoblock {
        flex-direction: row;
        align-items: center;
        gap: 16px;
    }

    .reviewShort--1 .reviewShort__footer {
        display: block;
        width: 100%;
    }

    .reviewShort--1 .reviewShort__text {
        padding: 0px 0px;
        padding-left: 16px;
    }

    .reviewShort--1 .reviewShort__header__left .reviewShort__footer-btn {
        display: none;
    }

    .reviewShort--1 .reviewShort__footer-btn {
        font-size: 16px;
        padding: 16px 25px;
        max-width: 100%;
        width: 100%;
    }

    .reviewShort__companyRow {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
    }
}

@media (max-width: 500px) {
    .reviewShort--3 .reviewShort__footer-btn {
        padding: 13px 25px;
    }

    .reviewShort__table {
        padding: 15px 15px;
    }
}

/* --- Reduced motion --- */

@media (prefers-reduced-motion: reduce) {
    .section--clientTestimonials.js-animate .reviewSplit {
        opacity: 1;
        transform: none;
        transition: box-shadow 0.35s ease, background 0.35s ease;
    }

    .reviewSplit:hover {
        transform: none;
    }

    .reviewSplit__slider__arrow:hover {
        transform: none;
    }

    .reviewShort .btnsCont .btn--icon:hover {
        transform: none;
    }
}
