
/* ----------------------------- CARRUSEL INICIO ----------------------------- */
#carrusel-inicio {
    position: relative;
    flex: 0 1 50%;
    width: auto;
    
    aspect-ratio: 1 / 1; /* cuadrado, ajustalo si querés */
    overflow: hidden;
    border-radius: 0.5em;
    box-shadow: var(--sombra-fotos);
    padding: 0.5em;
    align-self: flex-start;
    
    background-color: rgba(2, 2, 2, 0.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

#carrusel-inicio .carrusel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

#carrusel-inicio .carrusel-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5em;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    padding: 0;
    box-shadow: none;
}

#carrusel-inicio .carrusel-img.activa {
    opacity: 1;
}

/* Botones de navegación */
.carrusel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease, background 0.3s ease;
    z-index: 2;
}

#carrusel-inicio:hover .carrusel-btn {
    opacity: 1;
}

.carrusel-btn:hover {
    background: rgba(0, 0, 0, 0.7);
}

.carrusel-prev { left: 14px; }
.carrusel-next { right: 14px; }

/* Indicadores (dots) */
.carrusel-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}

.carrusel-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.carrusel-dots span.activo {
    background: #fff;
}

/* Móvil */
@media (max-width: 600px) {
    #carrusel-inicio {
        flex: 1 1 100%;
        max-width: 350px;
        margin: 0 auto 20px;
    }
}