* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

.banner {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
}

.slides {
    display: flex;
    height: 100%;
}

.slide {
    min-width: 100%;
    position: relative;
    display: none;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.caption {
    position: absolute;
    bottom: 20px;
    left: 30px;
    background: rgba(255,255,255,0.85);
    padding: 20px 30px;
    border-radius: 8px;
}

.caption h2 {
    font-size: 32px;
    margin-bottom: 5px;
}

.caption p {
    font-size: 18px;
}

.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    font-size: 15px;
    padding: 10px 15px;
    cursor: pointer;
}

.prev { left: 15px; }
.next { right: 15px; }

.dots {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background: #ccc;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}

.dot.active {
    background: #333;
}

@media (max-width: 768px) {
    .banner {
        height: 260px;
    }

    .slide img {
        height: 260px;
    }

    .caption {
        left: 10px;
        bottom: 10px;
    }

    .caption h2 {
        font-size: 22px;
    }
}

body {
    font-family: Arial, sans-serif;

}

/* Imagen */
.video-thumb {
    width: 30px;
    cursor: pointer;
    transition: transform 0.3s;
}

.video-thumb:hover {
    transform: scale(1.05);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
}

/* Contenido */
.modal-content {
    position: relative;
    width: 80%;
    max-width: 700px;
    margin: 10% auto;
}

.modal-content video {
    width: 100%;
    border-radius: 8px;
}

/* Botón cerrar */
.close {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 35px;
    color: white;
    cursor: pointer;
}

/* Botón flotante WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}
