/*==============================================
    Testimonios Videos
===============================================*/
.testimonios-videos {
    position: relative;
    padding: 90px 0 100px;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #eef9fb 100%);
}

.testimonios-videos__shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.testimonios-videos__shape--one {
    width: 360px;
    height: 360px;
    top: -120px;
    left: -80px;
    background: rgba(0, 184, 212, 0.1);
}

.testimonios-videos__shape--two {
    width: 280px;
    height: 280px;
    right: -60px;
    bottom: -80px;
    background: rgba(5, 135, 103, 0.1);
}

.testimonios-videos .container {
    position: relative;
    z-index: 1;
}

.testimonios-videos__header {
    max-width: 760px;
    margin: 0 auto 44px;
}

.testimonios-videos__eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.35px;
    text-transform: uppercase;
    color: var(--color2);
    background: rgba(5, 135, 103, 0.1);
    border: 1px solid rgba(5, 135, 103, 0.18);
    border-radius: 999px;
    padding: 8px 16px;
    margin-bottom: 14px;
}

.testimonios-videos__title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--careon-black);
    margin-bottom: 12px;
}

.testimonios-videos__intro {
    font-size: 16px;
    line-height: 1.7;
    color: var(--careon-gray);
    margin: 0;
}

.testimonios-videos__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 240px));
    justify-content: center;
    gap: 20px;
    max-width: 820px;
    margin: 0 auto;
}

.testimonios-videos__card {
    width: 100%;
    max-width: 240px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid var(--careon-bdr-color);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 77, 87, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.testimonios-videos__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 48px rgba(0, 77, 87, 0.14);
}

.testimonios-videos__media {
    position: relative;
    aspect-ratio: 9 / 16;
    background: linear-gradient(145deg, #003d47 0%, #058767 100%);
    overflow: hidden;
}

.testimonios-videos__player {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #000;
}

.testimonios-videos__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.42) 100%);
    cursor: pointer;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 2;
}

.testimonios-videos__play-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    background: linear-gradient(135deg, var(--color1) 0%, var(--color2) 100%);
    box-shadow: 0 12px 28px rgba(5, 135, 103, 0.35);
    transition: transform 0.3s ease;
}

.testimonios-videos__play-icon i {
    margin-left: 4px;
}

.testimonios-videos__card:hover .testimonios-videos__play-icon {
    transform: scale(1.06);
}

.testimonios-videos__card.is-playing .testimonios-videos__play {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@media only screen and (max-width: 991px) {
    .testimonios-videos__grid {
        grid-template-columns: repeat(2, minmax(0, 220px));
        max-width: 480px;
    }

    .testimonios-videos__card {
        max-width: 220px;
    }
}

@media only screen and (max-width: 767px) {
    .testimonios-videos {
        padding: 70px 0 80px;
    }

    .testimonios-videos__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 340px;
        gap: 14px;
    }

    .testimonios-videos__card {
        max-width: 100%;
    }

    .testimonios-videos__play-icon {
        width: 52px;
        height: 52px;
        font-size: 18px;
    }
}
