/*===================*/
/* sección videos    */
/*===================*/
._videos-section {
    background-color: #0d1f2d;
    padding: 60px 0 70px;
}

._videos-titulo {
    color: #fff !important;
}

._videos-subtitulo {
    text-align: center;
    color: #9bb8cc;
    margin-top: 10px;
    font-size: 15px;
}

/*===================*/
/* carrusel          */
/*===================*/
.video-carousel {
    position: relative;
}

.video-carousel .slick-slide {
    padding: 0 7px;
}

.video-carousel .slick-list {
    margin: 0 -7px;
}

/* dots */
.video-carousel .slick-dots {
    bottom: -36px;
}

.video-carousel .slick-dots li button:before {
    color: #9bb8cc;
    opacity: 0.5;
    font-size: 8px;
}

.video-carousel .slick-dots li.slick-active button:before {
    color: #35bab1;
    opacity: 1;
}

/* flechas personalizadas */
.video-slick-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.video-slick-btn:hover {
    background: #35bab1;
}

.video-slick-btn svg {
    fill: none;
    stroke: #fff;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.video-slick-prev { left: -20px; }
.video-slick-next { right: -20px; }

@media (max-width: 767px) {
    .video-slick-prev { left: -10px; }
    .video-slick-next { right: -10px; }
}

/*===================*/
/* tarjeta de video  */
/*===================*/
.video-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 9 / 16;
    cursor: pointer;
    background: #1a2d3e;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.video-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.7);
}

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

/*===================*/
/* overlay           */
/*===================*/
.video-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.05) 0%,
        rgba(0, 0, 0, 0.1) 40%,
        rgba(0, 0, 0, 0.75) 100%
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 14px 12px;
    transition: background 0.3s;
}

.video-card:hover .video-card-overlay {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.15) 0%,
        rgba(0, 0, 0, 0.2) 40%,
        rgba(0, 0, 0, 0.88) 100%
    );
}

/*===================*/
/* botón play        */
/*===================*/
.video-play-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    align-self: center;
    margin: auto 0;
    color: #0d1f2d;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.video-play-btn svg {
    margin-left: 3px;
}

.video-card:hover .video-play-btn {
    transform: scale(1.12);
    background: #35bab1;
    color: #fff;
    box-shadow: 0 4px 16px rgba(53, 186, 177, 0.5);
}

/*===================*/
/* título de tarjeta */
/*===================*/
.video-card-title {
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
    line-height: 1.3;
    align-self: flex-end;
    width: 100%;
}

@media (max-width: 767px) {
    .video-card-title {
        font-size: 0.72rem;
    }
    .video-play-btn {
        width: 42px;
        height: 42px;
    }
}

/*===================*/
/* modal             */
/*===================*/
.video-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(6px);
}

.video-modal.is-open {
    display: flex;
}

.video-modal-inner {
    position: relative;
    width: 100%;
    max-width: 400px;
    animation: modalIn 0.25s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.video-modal-close {
    position: absolute;
    top: -44px;
    right: 0;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.video-modal-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

#modalVideo {
    width: 100%;
    border-radius: 14px;
    max-height: 80vh;
    background: #000;
    display: block;
}

.video-modal-title {
    color: #fff;
    text-align: center;
    margin-top: 14px;
    font-weight: 600;
    font-size: 0.95rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
