/* =========================
   HERO EXPERIENCIAS
========================= */

.experiencias-hero {
    position: relative;
    height: 100vh;
    min-height: 780px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.75));
}

.hero-content {
    position: relative;
    z-index: 3;
    color: white;
    text-align: center;
    padding: 140px 20px 40px;
}


/* =========================
   CARRUSEL
========================= */

.video-carousel {
    position: relative;
    max-width: 1100px;
    margin: 30px auto;
    padding: 0 60px; /* 👈 espacio para botones */
}

.video-viewport {
    overflow: hidden;
}

.video-track {
    display: flex;
    gap: 20px;
    transition: transform .4s ease;
}

.video-slide {
    flex: 0 0 calc(25% - 15px);
    background: #000;          /* 👈 fondo negro contenedor */
    border-radius: 16px;
    overflow: hidden;          /* 👈 recorta bordes blancos */
}

/* IFRAME / EMBEDS */
.video-slide iframe,
.video-slide blockquote {
    width: 100%;
    aspect-ratio: 9/16;
    display: block;
    border: 0;
}


/* =========================
   BOTONES HERO
========================= */

.btn-principal {
    background: #25D366;
    color: white;
    padding: 14px 26px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: .3s;
}

.btn-principal:hover {
    background: #1ebe5d;
}

.btn-secundario {
    background: white;
    color: #111;
    padding: 14px 26px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: .3s;
}

.btn-secundario:hover {
    background: #eee;
}

.btn-principal,
.btn-secundario {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}




/* =========================
   BOTONES — FUERA DEL VIDEO
========================= */

.video-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;

    background: rgba(0,0,0,.75);
    color: white;
    border: none;
    font-size: 22px;
    padding: 12px 16px;
    border-radius: 50%;
    cursor: pointer;
}

.video-btn.prev { left: 0; }
.video-btn.next { right: 0; }

.video-btn:hover {
    background: rgba(0,0,0,.95);
}


/* =========================
   HERO BOTONES
========================= */

.hero-botones {
    margin-top: 35px;
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}


/* =========================
   TABLET
========================= */

@media (max-width: 900px) {
    .video-slide {
        flex: 0 0 calc(50% - 10px);
    }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

    .experiencias-hero {
        height: auto;
        min-height: 900px;
    }

    .video-carousel {
        padding: 0 40px;
    }

    .video-slide {
        flex: 0 0 100%;
    }

    .video-track {
        gap: 0;
    }

    .video-btn {
        font-size: 18px;
        padding: 8px 12px;
    }
}
