.video-testimonial-intro {
    padding-bottom: 30px;
}

.video-testimonial-intro .row {
    align-items: center;
}

.video-testimonial-intro .text-area img {
    display: block;
    width: min(100%, 600px);
    height: auto;
}

.client-video-stage {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 0 20px 80px;
    background: radial-gradient(circle at 18% 12%, rgba(198, 31, 169, .2), transparent 28%), radial-gradient(circle at 84% 75%, rgba(40, 71, 191, .2), transparent 32%), #0e0d23;
}

.client-video-stage::before {
    position: absolute;
    inset: auto 0 0;
    z-index: -1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22), transparent);
    content: "";
}

.video-testimonial { width: min(100%, 980px); margin: 0 auto; }

.video-testimonial__viewport {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 24px;
    background: #070616;
    box-shadow: 0 28px 70px rgba(0, 0, 0, .34);
}

.video-testimonial__track { display: flex; transition: transform 420ms cubic-bezier(.22, 1, .36, 1); will-change: transform; }
.video-testimonial__slide { flex: 0 0 100%; min-width: 0; }

.video-testimonial__card {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(13, 18, 57, .3), rgba(79, 15, 86, .35)), radial-gradient(circle at 50% 48%, #34265e 0, #17142f 42%, #080716 100%);
}

.video-testimonial__card::after { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, .46)); content: ""; }

.video-testimonial__video {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #05050b;
    opacity: 0;
    transition: opacity 180ms ease;
}

.video-testimonial__card.is-playing .video-testimonial__video,
.video-testimonial__card.is-ready .video-testimonial__video { opacity: 1; }

.video-testimonial__play {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 32px;
    border: 0;
    color: #fff;
    background: transparent;
    text-align: center;
    cursor: pointer;
}

.video-testimonial__play::before,
.video-testimonial__play::after { position: absolute; border: 1px solid rgba(255, 255, 255, .08); border-radius: 50%; content: ""; }
.video-testimonial__play::before { width: 360px; height: 360px; }
.video-testimonial__play::after { width: 470px; height: 470px; }

.video-testimonial__play-icon {
    position: relative;
    z-index: 1;
    display: grid;
    width: 78px;
    height: 78px;
    margin-bottom: 22px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .64);
    border-radius: 50%;
    background: linear-gradient(135deg, #ff4b21, #c018b8 54%, #16246f);
    box-shadow: 0 14px 34px rgba(192, 24, 184, .3);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.video-testimonial__play:hover .video-testimonial__play-icon,
.video-testimonial__play:focus-visible .video-testimonial__play-icon { transform: scale(1.06); box-shadow: 0 18px 42px rgba(192, 24, 184, .44); }
.video-testimonial__play-icon svg { width: 32px; height: 32px; margin-left: 3px; fill: currentColor; }
.video-testimonial__eyebrow, .video-testimonial__play strong, .video-testimonial__hint { position: relative; z-index: 1; }
.video-testimonial__eyebrow { margin-bottom: 5px; color: #ffb22e; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.video-testimonial__play strong { font-size: clamp(25px, 3vw, 38px); line-height: 1.15; }
.video-testimonial__hint { margin-top: 9px; color: rgba(255, 255, 255, .68); font-size: 14px; }
.video-testimonial__card.is-loading .video-testimonial__hint::after { content: "…"; }

.video-testimonial__card.is-playing .video-testimonial__play,
.video-testimonial__card.is-ready .video-testimonial__play { visibility: hidden; opacity: 0; pointer-events: none; }

.video-testimonial__error { position: absolute; inset: 0; z-index: 4; display: grid; padding: 24px; place-items: center; color: #fff; background: #17142f; text-align: center; }
.video-testimonial__error[hidden] { display: none; }
.video-testimonial__controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 24px; }

.video-testimonial__arrow {
    display: grid;
    width: 48px;
    height: 48px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, .07);
    cursor: pointer;
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.video-testimonial__arrow:hover,
.video-testimonial__arrow:focus-visible { border-color: rgba(255, 255, 255, .55); background: linear-gradient(135deg, #cf272d, #bd1eb2 55%, #152a76); transform: translateY(-2px); }
.video-testimonial__arrow svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.video-testimonial__status { min-width: 52px; margin: 0; color: rgba(255, 255, 255, .76); font-size: 14px; font-variant-numeric: tabular-nums; text-align: center; }
.video-testimonial__noscript { display: block; width: 100%; margin-top: 20px; }

@media (max-width: 767px) {
    .video-testimonial-intro { padding-bottom: 24px; }
    .client-video-stage { padding: 0 15px 55px; }
    .video-testimonial__viewport { border-radius: 16px; }
    .video-testimonial__play { padding: 20px; }
    .video-testimonial__play::before { width: 190px; height: 190px; }
    .video-testimonial__play::after { width: 260px; height: 260px; }
    .video-testimonial__play-icon { width: 58px; height: 58px; margin-bottom: 12px; }
    .video-testimonial__play-icon svg { width: 25px; height: 25px; }
    .video-testimonial__eyebrow { font-size: 10px; }
    .video-testimonial__hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .video-testimonial__track, .video-testimonial__play-icon, .video-testimonial__arrow, .video-testimonial__video { transition: none; }
}
