.testimonials-page {
    background: #071018;
}

.testimonials-hero {
    min-height: 680px;
    display: grid;
    place-items: center;
    padding: 150px 0 90px;
    color: var(--white);
    background: radial-gradient(circle at 72% 28%, rgba(0, 215, 232, 0.16), transparent 30%), linear-gradient(rgba(7, 16, 24, 0.86), rgba(7, 16, 24, 0.98)), url("assets/redi7-hero.webp") center / cover;
}

.testimonials-hero-inner {
    width: 100%;
    text-align: center;
}

.testimonials-hero .eyebrow {
    justify-content: center;
}

.testimonials-hero h1 {
    max-width: 940px;
    margin: 24px auto 20px;
    font-family: var(--display);
    font-size: 72px;
    line-height: 0.98;
}

.testimonials-hero h1 span {
    color: var(--cyan);
}

.testimonials-hero-inner > p:not(.eyebrow) {
    max-width: 680px;
    margin: 0 auto 30px;
    color: #b8c9ce;
    font-size: 16px;
    line-height: 1.75;
}

.testimonials-gallery {
    background: var(--paper);
}

.testimonials-gallery-heading {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 0.5fr);
    gap: 70px;
    align-items: end;
    margin-bottom: 48px;
}

.testimonials-gallery-heading h2 {
    margin: 0;
    font-family: var(--display);
    font-size: 46px;
}

.testimonials-gallery-heading > p {
    margin: 0;
    color: var(--muted-light);
    font-size: 13px;
    line-height: 1.7;
}

.official-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.official-testimonial {
    position: relative;
    min-width: 0;
    padding: 8px;
    background: #0b1821;
    border: 1px solid rgba(7, 16, 24, 0.14);
    border-radius: 7px;
    box-shadow: 0 18px 44px rgba(7, 16, 24, 0.1);
    overflow: hidden;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.official-testimonial:hover {
    box-shadow: 0 26px 58px rgba(7, 16, 24, 0.17);
    transform: translateY(-5px);
}

.official-testimonial wistia-player {
    width: 100%;
    display: block;
    border-radius: 4px;
    overflow: hidden;
}

.testimonial-index {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    padding: 5px 8px;
    color: var(--white);
    background: rgba(7, 16, 24, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 3px;
    font-family: var(--display);
    font-size: 10px;
    pointer-events: none;
}

.testimonials-disclaimer {
    max-width: 760px;
    margin: 30px auto 0;
    color: #667980;
    font-size: 10px;
    text-align: center;
}

.testimonials-cta {
    padding: 74px 0;
    color: var(--white);
    background: #071018;
}

.testimonials-cta-inner {
    display: grid;
    grid-template-columns: 170px 1fr auto;
    gap: 42px;
    align-items: center;
}

.testimonials-cta-inner > img {
    width: 170px;
    height: auto;
}

.testimonials-cta h2 {
    margin: 8px 0 10px;
    font-family: var(--display);
    font-size: 30px;
}

.testimonials-cta p:not(.eyebrow) {
    margin: 0;
    color: var(--muted-dark);
    font-size: 13px;
}

.testimonials-footer a {
    color: #9eb1b8;
    text-decoration: none;
}

.testimonials-footer a:hover {
    color: var(--cyan);
}

@media (max-width: 900px) {
    .official-testimonials-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .testimonials-cta-inner {
        grid-template-columns: 130px 1fr;
    }

    .testimonials-cta-inner > img {
        width: 130px;
    }

    .testimonials-cta-inner > a {
        grid-column: 2;
        width: fit-content;
    }
}

@media (max-width: 700px) {
    .testimonials-hero {
        min-height: 590px;
        padding: 120px 0 70px;
    }

    .testimonials-hero h1 {
        font-size: 48px;
    }

    .testimonials-gallery-heading,
    .official-testimonials-grid,
    .testimonials-cta-inner {
        grid-template-columns: 1fr;
    }

    .testimonials-gallery-heading {
        gap: 20px;
    }

    .testimonials-gallery-heading h2 {
        font-size: 34px;
    }

    .testimonials-cta-inner {
        text-align: center;
    }

    .testimonials-cta-inner > img,
    .testimonials-cta-inner > a {
        width: min(180px, 100%);
        margin-inline: auto;
        grid-column: auto;
    }
}