.nubol-frontpage-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.hero-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide {
    min-width: 100%;
    flex-shrink: 0;
    position: relative; 
    overflow: hidden;
}

.hero-slide img {
    width: 100vw;
    height: 500px;
    object-fit: cover;
    display: block;
}

/* Botones de Navegación (Flechas) - Solo visibles en Hover */
.carousel-btn {
    position: absolute;
    top: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 20px 15px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 8px;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-btn:hover { 
    background: rgba(255, 255, 255, 0.25);
    border-color: #00f2ff; 
}

.carousel-btn.prev { 
    left: 20px; 
    transform: translate(-20px, -50%); 
}

.carousel-btn.next { 
    right: 20px; 
    transform: translate(20px, -50%); 
}

/* Dots de Navegación */
.carousel-dots {
    position: absolute;
    top: 20px; 
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #00f2ff;
    width: 30px;
}

/* --- LOGICA DE HOVER SOLO PARA FLECHAS --- */
.nubol-frontpage-carousel:hover .carousel-btn {
    opacity: 1;
    visibility: visible;
    transform: translate(0, -50%); 
}

/* --- CONTENEDOR DEL BOTÓN (SIEMPRE VISIBLE) --- */
.slide-overlay {
    position: absolute;
    bottom: 30px; 
    right: 30px;  
    z-index: 20;
    /* Eliminamos opacity 0 y visibility hidden */
    opacity: 1;
    visibility: visible;
    transform: translateY(0); 
    transition: all 0.3s ease;
}

.slide-cta-btn {
    display: inline-block;
    padding: 12px 24px;
    /* Fondo un poco más sólido para que destaque siempre sobre cualquier imagen */
    background: rgba(0, 0, 0, 0.5); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px; 
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.slide-cta-btn:hover {
    background: #00f2ff; /* Cambio a color corporativo en hover para feedback claro */
    border-color: #00f2ff;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.5);
    color: #000; /* Texto oscuro para contraste con el cian */
    transform: scale(1.05);
}

/* Ajustes Responsivos */
@media (max-width: 768px) { 
    .hero-slide img { height: 350px; } 
    .slide-overlay { 
        bottom: 20px; 
        right: 20px; 
    }
    .slide-cta-btn { 
        font-size: 13px; 
        padding: 8px 16px; 
    }
}