.inner-hero-block .hero-title,
.inner-hero-block .background-text {
    font-family: var(--main-font);
}

.inner-hero-block .hero-subtext,
.video-client-location,
.video-quote,
.video-soon-badge,
.video-placeholder-label {
    font-family: var(--secondary-font);
}

.inner-hero-block .hero-title,
.inner-hero-block .hero-subtext {
    color: var(--secondarydark);
}

.hero-content {
    position: relative;
    z-index: 5;
}

.inner-hero-block {
    position: relative;
    background: linear-gradient(178.32deg, #1E4566 -47.41%, #FFFFFF 28.78%);
    padding-top: 130px;
}

.inner-hero-block::after {
    content: "";
    z-index: 1;
    position: absolute;
    width: 100%;
    height: 150px;
    left: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(248, 248, 248, 0) 0%, #EBEBEB 100%);
}

.inner-hero-block .background-text {
    position: absolute;
    z-index: 1;
    left: -70px;
    font-weight: 700;
    font-size: 250px;
    line-height: 375px;
    color: transparent;
    -webkit-text-stroke: 2px var(--secondarydark);
    opacity: .15;
}

.inner-hero-block .hero-title {
    font-weight: 700;
    font-size: 56px;
    line-height: 70px;
    text-align: center;
    margin-bottom: 30px;
}

.video-testimonials-hero .hero-subtext {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    font-size: 18px;
    line-height: 30px;
}

.video-testimonials-hero .hero-subtext p {
    margin: 0;
}

.video-testimonials-section {
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, #EBEBEB 0%, #FFFFFF 100%);
    padding: 80px 20px 120px;
}

.video-testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1180px;
    margin: 0 auto;
}

.video-testimonial-card {
    background: #2D2D32;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.video-media {
    padding: 18px 18px 0;
}

.video-frame {
    position: relative;
    aspect-ratio: 16 / 10;
    border-radius: 8px;
    overflow: hidden;
    background: #121214;
}

.video-frame::before,
.video-frame::after {
    content: "";
    position: absolute;
    width: 22px;
    height: 22px;
    border: 2px solid rgba(255, 255, 255, 0.55);
    z-index: 3;
    pointer-events: none;
}

.video-frame::before {
    top: 10px;
    left: 10px;
    border-right: 0;
    border-bottom: 0;
}

.video-frame::after {
    right: 10px;
    bottom: 10px;
    border-left: 0;
    border-top: 0;
}

.video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(13, 153, 255, 0.12), transparent 45%),
        repeating-linear-gradient(
            -45deg,
            #1a1a1f,
            #1a1a1f 12px,
            #151519 12px,
            #151519 24px
        );
}

.video-placeholder-label {
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.video-soon-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 4;
    background: #ffffff;
    color: #181818;
    font-size: 12px;
    line-height: 1;
    padding: 8px 12px;
    border-radius: 999px;
}

.video-play-btn {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 64px;
    height: 64px;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    z-index: 4;
    transition: transform 0.25s ease;
}

.video-play-btn:hover {
    transform: scale(1.08);
}

.video-play-btn.is-disabled {
    pointer-events: none;
    opacity: 0.85;
}

.video-card-body {
    padding: 24px 28px 32px;
}

.video-client-name {
    margin: 0 0 4px;
    font-family: var(--main-font);
    font-weight: 500;
    font-size: 24px;
    line-height: 30px;
    color: #0D99FF;
}

.video-client-location {
    font-size: 16px;
    line-height: 24px;
    color: #B5B5B5;
    margin-bottom: 10px;
}

.video-rating {
    margin-bottom: 16px;
}

.video-quote {
    color: #ffffff;
    font-size: 18px;
    line-height: 30px;
}

.video-quote p {
    margin: 0;
}

.video-quote p::before {
    content: "“";
}

.video-quote p::after {
    content: "”";
}

.video-testimonials-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--grayone);
    font-size: 18px;
}

.video-testimonials-cta {
    text-align: center;
    padding-top: 60px;
}

.video-testimonials-cta .primary-btn a {
    position: relative;
    z-index: 5;
}

/* Modal */
body.video-modal-open {
    overflow: hidden;
}

.video-modal[hidden] {
    display: none !important;
}

.video-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
}

.video-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(960px, 100%);
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.video-modal-close {
    position: absolute;
    top: 8px;
    right: 12px;
    z-index: 2;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
}

.video-modal-frame {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
}

.video-modal-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (min-width: 768px) {
    .video-testimonials-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px 36px;
    }
}

@media (min-width: 1200px) {
    .hero-content {
        max-width: 55%;
        margin: 0 auto;
        text-align: center;
    }

    .inner-hero-block {
        min-height: 700px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .video-testimonials-section {
        padding: 40px 20px 150px;
    }

    .video-testimonials-grid {
        gap: 50px 45px;
    }
}

@media (max-width: 768px) {
    .inner-hero-block .hero-title {
        font-size: 40px;
        line-height: 50px;
    }

    .inner-hero-block .background-text {
        font-size: 120px;
        line-height: 140px;
        left: -20px;
    }

    .video-testimonials-section {
        padding: 40px 15px 80px;
    }

    .video-card-body {
        padding: 20px 18px 24px;
    }

    .video-client-name {
        font-size: 20px;
        line-height: 26px;
    }

    .video-quote {
        font-size: 16px;
        line-height: 26px;
    }

    .video-testimonials-cta {
        padding-top: 40px;
    }
}

@media (prefers-color-scheme: dark) {
    .inner-hero-block {
        background: linear-gradient(178.32deg, #001525 -20%, #0a0c10 55%);
    }

    .inner-hero-block::after {
        background: linear-gradient(180deg, rgba(10, 12, 16, 0) 0%, #0a0c10 100%);
    }

    .inner-hero-block .hero-title,
    .inner-hero-block .hero-subtext {
        color: #ffffff;
    }

    .inner-hero-block .background-text {
        -webkit-text-stroke: 2px rgba(255, 255, 255, 0.35);
    }

    .video-testimonials-section {
        background: #0a0c10;
    }

    .video-testimonial-card {
        background: #1a1a1f;
        border-color: rgba(255, 255, 255, 0.1);
    }
}
