.video-testimonials-section {
    padding: 5.5rem 0;
    background: #f8fafb;
}

.video-testimonials-section .video-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.video-testimonials-section .video-section-head > div { max-width: 720px; }
.video-testimonials-section .video-section-kicker {
    display: block;
    margin-bottom: .6rem;
    color: #00897b;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.video-testimonials-section .video-section-title {
    margin: 0 0 .65rem;
    color: #111827;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    line-height: 1.18;
    letter-spacing: 0;
}

.video-testimonials-section .video-section-intro {
    margin: 0;
    color: #64748b;
    line-height: 1.75;
}

.video-testimonial-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.video-testimonial-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dfe7ee;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .07);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.video-testimonial-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 191, 165, .55);
    box-shadow: 0 16px 34px rgba(15, 23, 42, .12);
}

.video-testimonial-trigger {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
}

.video-testimonial-trigger:focus-visible {
    outline: 3px solid rgba(0, 191, 165, .42);
    outline-offset: -3px;
}

.video-testimonial-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0a1628;
}

.video-testimonial-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.video-testimonial-card:hover .video-testimonial-media img { transform: scale(1.035); }
.video-testimonial-poster {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    background: linear-gradient(145deg, #0a1628, #10324b);
}

.video-testimonial-poster span {
    color: rgba(255, 255, 255, .76);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
}

.video-testimonial-play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 54px;
    height: 54px;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 50%;
    place-items: center;
    background: #00bfa5;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .28);
    transform: translate(-50%, -50%);
    transition: transform .2s ease, background .2s ease;
}

.video-testimonial-play span {
    width: 0;
    height: 0;
    margin-left: 4px;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 13px solid #fff;
}

.video-testimonial-card:hover .video-testimonial-play {
    background: #00897b;
    transform: translate(-50%, -50%) scale(1.07);
}

.video-featured-label {
    position: absolute;
    top: .75rem;
    left: .75rem;
    padding: .38rem .62rem;
    border-radius: 4px;
    background: rgba(10, 22, 40, .88);
    color: #fff;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.video-testimonial-copy { display: block; padding: 1.1rem 1.15rem 1.2rem; }
.video-testimonial-copy strong {
    display: block;
    color: #111827;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.35;
}

.video-testimonial-person {
    display: block;
    margin-top: .45rem;
    color: #00897b;
    font-size: .84rem;
    font-weight: 750;
}

.video-testimonial-person em { color: #64748b; font-style: normal; font-weight: 500; }
.video-testimonial-description {
    display: -webkit-box;
    overflow: hidden;
    margin-top: .7rem;
    color: #64748b;
    font-size: .87rem;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.video-testimonial-empty {
    grid-column: 1 / -1;
    padding: 2rem;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    color: #64748b;
    text-align: center;
}

.video-lightbox {
    position: fixed;
    z-index: 10000;
    inset: 0;
    display: grid;
    padding: 1.25rem;
    place-items: center;
    background: rgba(3, 10, 20, .88);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
}

.video-lightbox.is-open { opacity: 1; visibility: visible; }
.video-lightbox-dialog { width: min(980px, 100%); }
.video-lightbox-toolbar {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .55rem;
    color: #fff;
}

.video-lightbox-title {
    overflow: hidden;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.video-lightbox-close {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 50%;
    place-items: center;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: 1.8rem;
    line-height: 1;
}

.video-lightbox-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}

.video-lightbox-frame iframe,
.video-lightbox-frame video { width: 100%; height: 100%; border: 0; object-fit: contain; }
body.video-lightbox-open { overflow: hidden; }

@media (min-width: 900px) {
    .about-video-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .video-testimonial-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
    .video-testimonials-section { padding: 4rem 0; }
    .video-testimonials-section .video-section-head { align-items: start; flex-direction: column; gap: 1rem; }
    .video-testimonial-gallery {
        grid-template-columns: minmax(260px, 84vw);
        grid-auto-flow: column;
        grid-auto-columns: minmax(260px, 84vw);
        overflow-x: auto;
        padding: 0 0 .8rem;
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
    }
    .video-testimonial-card { scroll-snap-align: start; }
    .video-lightbox { padding: .75rem; }
}
