/* ============ VIDEO TESTIMONIALS SECTION ============ */
.video-testimonials-section {
    position: relative;
    padding: 0 0 45px;
    width: 100vw;
    max-width: none;
    margin-left: calc(-50vw + 50%);
}

.video-testimonials-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--vtc-accent), transparent);
}

.video-testim-subtitle {
    text-align: center;
    font-weight: 500;
    color: white;
    margin-bottom: 32px;
    letter-spacing: 0.3px;
}

/* --- Layout: side grids + video --- */
.video-testim-stage {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    max-width: 100%;
    padding: 0 10px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

/* --- Side photo panels (desktop only) --- */
.vtc-side-panel {
    display: none;
    flex: 1;
    min-width: 0;
    position: relative;
    overflow: hidden;
}

/* Each speaker's 2×2 grid — stacked absolutely, crossfades */
.vtc-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 6px;
    padding: 6px;
    opacity: 0;
    transition: opacity 0.8s ease;
}
.vtc-grid.active {
    opacity: 1;
}
.vtc-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    min-height: 0;
    filter: saturate(1.10);
}

/* --- Video (center) --- */
.video-testim-player {
    width: 380px;
    flex-shrink: 0;
    z-index: 3;
    padding: 0 12px;
}
.video-testim-wrap {
    position: relative;
    aspect-ratio: 9 / 16;
    border-radius: 10px;
    border: 2px solid white;
    overflow: hidden;
    background: #000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4), 0 0 20px var(--vtc-accent-glow);
    cursor: pointer;
}
.video-testim-wrap video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
    border-radius: 10px;
}

/* --- White tint layer (see-thru mode only) --- */
.vtc-lighten {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.25);
    z-index: 2;
    pointer-events: none;
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.8s ease;
}
.vtc-lighten.active { opacity: 1; }
.vtc-lighten.fade-out { opacity: 0; }

/* --- Overlay with text --- */
.vtc-text-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: opacity 0.8s ease;
    pointer-events: none;
    border-radius: 10px;
    opacity: 0;
}
.vtc-text-overlay.see-thru {
    background: #000;
    mix-blend-mode: multiply;
}
.vtc-text-overlay.white-text {
    background: #000;
    mix-blend-mode: normal;
}
.vtc-text-overlay.fade-out {
    opacity: 0 !important;
}
.vtc-text-overlay .vtc-quote {
    font-family: 'Montserrat', sans-serif;
    font-size: 40px;
    font-weight: 700;
    font-style: italic;
    color: #fff;
    text-align: center;
    padding: 0 24px;
    line-height: 1.35;
    letter-spacing: 0.3px;
    text-transform: none;
}
.vtc-text-overlay .vtc-word {
    display: inline-block;
    margin-right: 0.3em;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}
.vtc-text-overlay .vtc-word:last-child {
    margin-right: 0;
}
.vtc-text-overlay .vtc-word.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============ BIG PLAY BUTTON ============ */
.vtc-big-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 15;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: var(--vtc-play-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 24px rgba(0,0,0,0.5);
    transition: transform 0.2s ease, opacity 0.3s ease;
}
.vtc-big-play:hover { transform: translate(-50%, -50%) scale(1.08); }
.vtc-big-play i { color: #001628; font-size: 22px; margin-left: 3px; }
.vtc-big-play.hidden { opacity: 0; pointer-events: none; }

.vtc-intro:not(.hide) ~ .video-testim-player .vtc-big-play {
    opacity: 0;
    pointer-events: none;
}

/* ============ CUSTOM CONTROLS TOOLBAR ============ */
.vtc-toolbar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 20;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 70%, transparent 100%);
    padding: 24px 10px 8px;
    border-radius: 0 0 10px 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.vtc-toolbar.visible {
    opacity: 1;
    pointer-events: auto;
}

.vtc-progress-wrap {
    width: 100%;
    height: 16px;
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 5px 0;
}
.vtc-progress-track {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
    position: relative;
    clip-path: inset(-8px 0 -8px 0);
    transition: height 0.15s ease;
}
.vtc-progress-wrap:hover .vtc-progress-track {
    height: 6px;
}
.vtc-progress-filled {
    height: 100%;
    background: #fff;
    border-radius: 2px;
    width: 0%;
    position: relative;
}
.vtc-progress-filled::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(0,0,0,0.4);
    opacity: 0;
    transition: opacity 0.15s ease;
}
.vtc-progress-wrap:hover .vtc-progress-filled::after {
    opacity: 1;
}

.vtc-btn-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}
.vtc-btn-row button {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 4px;
    font-size: 15px;
    opacity: 0.85;
    transition: opacity 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}
.vtc-btn-row button:hover { opacity: 1; }

.vtc-time {
    font-size: 11px;
    color: rgba(255,255,255,0.8);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    letter-spacing: 0.3px;
    white-space: nowrap;
    user-select: none;
    margin-left: 2px;
}

.vtc-spacer { flex: 1; }

.vtc-vol-wrap {
    display: flex;
    align-items: center;
    gap: 0;
}
.vtc-vol-slider {
    width: 0;
    clip-path: inset(-8px 0 -8px 0);
    transition: width 0.2s ease;
    display: flex;
    align-items: center;
}
.vtc-vol-wrap:hover .vtc-vol-slider {
    width: 60px;
    clip-path: inset(-8px -4px -8px 0);
}
.vtc-vol-slider input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 55px;
    height: 4px;
    background: rgba(255,255,255,0.25);
    border-radius: 2px;
    outline: none;
    margin: 0 4px;
    cursor: pointer;
}
.vtc-vol-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 3px rgba(0,0,0,0.4);
    cursor: pointer;
}
.vtc-vol-slider input[type="range"]::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    border: none;
    box-shadow: 0 0 3px rgba(0,0,0,0.4);
    cursor: pointer;
}

/* ============ OUTRO OVERLAY ============ */
.vtc-outro-desktop {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 30;
    background: #001628;
    opacity: 0;
    transition: opacity 1s ease;
}
.vtc-outro-desktop.visible {
    opacity: 1;
}

.vtc-outro-collage {
    position: absolute;
    inset: 0;
    display: grid;
    gap: 4px;
    padding: 4px;
    z-index: 0;
    overflow: hidden;
}
.vtc-outro-collage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    display: block;
    min-height: 0;
}

.vtc-outro-scrim {
    position: absolute;
    inset: 0;
    background: rgba(0, 22, 40, 0.75);
    z-index: 1;
}

.vtc-outro-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 16px;
}

.vtc-outro-mobile {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 30;
    background: rgba(0, 22, 40, 0.92);
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    transition: opacity 1s ease;
    cursor: pointer;
}
.vtc-outro-mobile.visible {
    opacity: 1;
}

.vtc-outro-title {
    font-family: 'OptimusPrinceps', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-align: center;
    line-height: 1.2;
    background: var(--vtc-outro-title-bg);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}
.vtc-outro-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.5px;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.8s ease 0.7s, transform 0.8s ease 0.7s;
}
.vtc-outro-replay {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.8s ease 1.1s, background 0.2s ease;
    opacity: 0;
    transform: translateY(12px);
}
.vtc-outro-desktop .vtc-outro-replay:hover,
.vtc-outro-mobile .vtc-outro-replay:hover {
    background: #ffcb4c;
    transition: transform 0.2s ease;
}

.vtc-outro-desktop.visible .vtc-outro-title,
.vtc-outro-desktop.visible .vtc-outro-subtitle,
.vtc-outro-desktop.visible .vtc-outro-replay,
.vtc-outro-mobile.visible .vtc-outro-title,
.vtc-outro-mobile.visible .vtc-outro-subtitle,
.vtc-outro-mobile.visible .vtc-outro-replay {
    opacity: 1;
    transform: translateY(0);
}

.vtc-outro-desktop .vtc-outro-title { font-size: 42px; }
.vtc-outro-desktop .vtc-outro-subtitle { font-size: 18px; color: white; }
.vtc-outro-desktop .vtc-outro-replay {
    margin-top: 8px; padding: 10px 28px;
    background: var(--vtc-replay-bg);
    color: #001628;
}

.vtc-outro-mobile .vtc-outro-title { font-size: 27px; padding: 0 20px; }
.vtc-outro-mobile .vtc-outro-subtitle { padding: 0 24px; color: white; }
.vtc-outro-mobile .vtc-outro-replay {
    margin-top: 4px; padding: 8px 22px;
    background: var(--vtc-replay-bg);
    color: #001628;
}

@media (min-width: 900px) {
    .vtc-side-panel { display: block; }
    .vtc-outro-desktop.shown { display: block; }
    .vtc-outro-mobile.shown { display: none !important; }
}

@media (min-width: 900px) and (max-width: 1100px) {
    .vtc-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
    }
    .vtc-grid img:nth-child(n+3) { display: none; }
}

@media (max-width: 899px) {
    .vtc-outro-desktop.shown { display: none !important; }
    .vtc-outro-mobile.shown { display: flex; }
}

.vtc-mobile-br { display: none; }

@media (max-width: 475px) {
    .vtc-mobile-br { display: inline; }
}

@media (max-width: 640px) {
    .video-testim-subtitle { margin-bottom: 24px; }
    .video-testim-player { width: 340px; padding: 0 20px; }
    .video-testim-wrap { border-radius: 6px; }
    .video-testim-wrap video { border-radius: 6px; }
    .vtc-lighten { border-radius: 6px; }
    .vtc-text-overlay { border-radius: 6px; }
    .vtc-toolbar { border-radius: 0 0 6px 6px; }
    .vtc-outro-mobile { border-radius: 6px; }
    .vtc-text-overlay .vtc-quote { font-size: 26px; padding: 0 16px; }
    .vtc-big-play { width: 52px; height: 52px; }
    .vtc-big-play i { font-size: 18px; }
}

/* ============ INTRO OVERLAY ============ */
.vtc-intro {
    position: absolute;
    inset: 0;
    z-index: 20;
    overflow: hidden;
    cursor: pointer;
    border-radius: 8px;
    transition: opacity 0.5s ease;
    background: #001628;
}
.vtc-intro.hide {
    opacity: 0;
    pointer-events: none;
}

/* --- Desktop/Mobile toggle --- */
.vtc-intro-desktop { display: block; }
.vtc-intro-mobile  { display: none; }

@media (max-width: 640px) {
    .vtc-intro { border-radius: 6px; }
    .vtc-intro-desktop { display: none; }
    .vtc-intro-mobile  { display: block; position: absolute; inset: 0; }
}

/* ============ DESKTOP: POLAROID GRID ============ */
.vtc-intro-grid {
    position: absolute;
    inset: 0;
    display: grid;
    gap: 6px;
    padding: 6px;
    overflow: hidden;
}
.vtc-intro-grid::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgb(0 22 40 / .15);
    pointer-events: none;
}

.vtc-polaroid {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 3px;
    padding: 3px 3px 0 3px;
    overflow: hidden;
    min-height: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.vtc-polaroid.no-label { padding-bottom: 3px; }
.vtc-polaroid img {
    width: 100%;
    flex: 1;
    object-fit: cover;
    display: block;
    min-height: 0;
    border-radius: 2px 2px 0 0;
}
.vtc-polaroid.no-label img { border-radius: 2px; }
.vtc-polaroid-name {
    display: block;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    padding: 5px 4px 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
    flex-shrink: 0;
}

.vtc-intro-center {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: radial-gradient(ellipse 35% 30% at center, rgb(0 22 40 / .85), rgb(0 22 40 / .4) 65%, transparent 100%);
}

.vtc-intro-play {
    width: 80px;
    height: 56px;
    background: rgba(255, 0, 0, 0.88);
    border: none;
    border-radius: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease, background 0.15s ease;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.55);
}
.vtc-intro-play::after {
    content: '';
    display: block;
    border-style: solid;
    border-width: 12px 0 12px 21px;
    border-color: transparent transparent transparent #fff;
    margin-left: 4px;
}
.vtc-intro:hover .vtc-intro-play {
    transform: scale(1.1);
    background: rgba(204, 0, 0, 0.95);
}

.vtc-intro-cta {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
    margin: 0;
    text-align: center;
}

/* Responsive grid: reduce columns, hide extras to stay symmetrical */
@media (max-width: 1024px) {
    .vtc-intro-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        grid-template-rows: repeat(2, 1fr) !important;
    }
    .vtc-intro-grid .vtc-polaroid:nth-child(n+7) { display: none; }
    .vtc-polaroid-name { font-size: 14px; }
}

@media (max-width: 768px) {
    .vtc-intro-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: repeat(2, 1fr) !important;
    }
    .vtc-intro-grid .vtc-polaroid:nth-child(n+5) { display: none; }
    .vtc-polaroid-name { font-size: 13px; padding: 4px 3px 3px; }
    .vtc-polaroid { padding: 2px 2px 0 2px; }
    .vtc-polaroid.no-label { padding-bottom: 2px; }
}

/* ============ MOBILE: HERO SPEAKER CTA (Version C) ============ */
.vtc-vc-split {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
}
.vtc-vc-hero {
    flex: 1;
    position: relative;
    overflow: hidden;
}
.vtc-vc-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.vtc-vc-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 20%, rgb(0 22 40 / .95) 100%);
}

.vtc-vc-panel {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    gap: 10px;
    z-index: 2;
}
.vtc-vc-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(219,177,102,0.15);
    border: 1px solid rgba(219,177,102,0.3);
    border-radius: 20px;
    padding: 5px 14px;
}
.vtc-vc-stars { color: #dbb166; font-size: 13px; letter-spacing: 1px; }
.vtc-vc-review-count { color: #dbb166; font-size: 12px; font-weight: 600; }

.vtc-vc-title {
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
    margin: 0;
}
.vtc-vc-title span { color: #dbb166; }

.vtc-vc-play-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,0,0,0.88);
    border-radius: 30px;
    padding: 10px 24px;
    transition: transform 0.15s ease, background 0.15s ease;
    cursor: pointer;
}
.vtc-intro:hover .vtc-vc-play-btn {
    transform: scale(1.05);
    background: rgba(204,0,0,0.95);
}
.vtc-vc-tri {
    border-style: solid;
    border-width: 7px 0 7px 13px;
    border-color: transparent transparent transparent #fff;
}
.vtc-vc-btn-text {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.vtc-vc-avatars {
    display: flex;
    align-items: center;
}
.vtc-vc-av {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #001628;
    margin-left: -6px;
}
.vtc-vc-av:first-child { margin-left: 0; }
.vtc-vc-av img { width: 100%; height: 100%; object-fit: cover; }
.vtc-vc-av-more {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #dbb166;
    color: #001628;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #001628;
    margin-left: -6px;
}
.vtc-vc-vouch {
    color: rgba(255,255,255,0.55);
    font-size: 11px;
    text-align: center;
}