/* ==========================================
   HERO
========================================== */

.hero-wrapper {
    background: var(--blanco);
    padding-bottom: 0;
    margin-bottom: 0;
    overflow: hidden;
    width: 100%;
}

.hero {
    width: 100%;
    height: 550px;
    position: relative;
    overflow: hidden;
    padding: 0;
    margin: 0;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== IMAGEN ===== */
.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* ===== CAROUSEL ===== */
.hero--carousel {
    position: relative;
}

.hero-track {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 0.6s ease-in-out;
}

.hero-slide {
    min-width: 100%;
    height: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ===== OVERLAY (contenido sobre la imagen) ===== */

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 var(--hero-padding-left);
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 992px) {
    .hero-overlay {
        padding: 0 5%;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 320px;
    }

    .hero-overlay {
        padding: 0 4%;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 220px;
    }

    .hero-overlay {
        padding: 0 3%;
    }
}
