/* ==========================================================================
   Sección: Hero Slider (Banners Principal)
   ========================================================================== */
.hero-section {
    position: relative;
    width: 100%;
    overflow: hidden; /* Ocultamos lo que sobra del slider */
}

/* El carril del slider */
.hero-slider {
    display: flex;
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Oculta barra en Firefox */
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.hero-slider::-webkit-scrollbar {
    display: none; /* Oculta barra en Chrome/Safari */
}

/* Cada Banner (Slide) */
.hero-slide {
    flex: 0 0 100%; /* Cada banner ocupa el 100% de la pantalla */
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px; /* Altura mínima del banner en desktop */
    padding: 40px 0;
}

/* Contenedor interno para que no se pegue a las orillas */
.hero-slide-container {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* Columna Izquierda (Textos) */
.hero-content {
    flex: 1;
    max-width: 500px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 20px;
    color: #ffffff;
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 20px;
    gap: 6px;
}

.hero-badge i {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: #ceaa89; /* Color de la cajita del icono */
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 600;
    color: #111;
    line-height: 1.1;
    margin: 0 0 30px 0;
    letter-spacing: -1px;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    background-color: #00b912;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
    gap: 8px;
}

.btn-hero:hover {
    background-color: #009d0f;
    color: #fff;
}

/* Columna Derecha (Imagen) */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end; /* Alinea la imagen a la derecha */
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px; /* Si la imagen no los trae ya */
    object-fit: contain;
    -webkit-user-drag: none; /* Prevenir arrastre */
    user-drag: none;
}

/* Flechas de Navegación */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.hero-arrow:hover {
    background: #ffffff;
}

.hero-prev { left: 20px; }
.hero-next { right: 20px; }

/* ==========================================================================
   Responsive (Mobile)
   ========================================================================== */
@media screen and (max-width: 991px) {
    .hero-slide {
        padding: 40px 0 40px 0; /* Quitamos padding inferior para que la imagen toque el borde si es necesario */
        min-height: auto;
    }

    .hero-slide-container {
        flex-direction: column;
        padding: 0 20px;
        gap: 30px;
        text-align: center; /* Centramos el texto en móvil */
    }

    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center; /* Centra los elementos (badge, botón) */
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-image {
        justify-content: center;
        width: 100%;
    }
    
    .hero-arrow {
        display: none; /* En móvil usamos el dedo para deslizar */
    }
}