/* ==========================================================================
   HERO - Grael (página de inicio)
   Bloque principal: título, descripción, imagen y botones de acción.
   ========================================================================== */

.hero {
    padding: 2rem 0 0 0;
    display: grid;
    gap: 2rem;
}

.hero-texto {
    max-width: 32rem;
    margin: 0 auto;
}

.hero-titulo {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-blanco);
    margin: 0 auto 1rem auto;
    text-align: center;
}

.linea {
    width: 10rem;
    height: 0.5rem;
    background-color: var(--color-celeste);
    border-radius: 1rem;
    margin: 0 auto;
}

.hero-descripcion {
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--color-blanco);
    margin: 3rem auto 2rem auto;
    text-align: center;
}

/* Animación flotante sutil para la imagen del hero */
@keyframes flotar {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.hero-imagen {
    display: none;
    animation: flotar 4s ease-in-out infinite;
}
.hero-imagen-mobile {
    margin: 2rem auto;
    animation: flotar 4s ease-in-out infinite;
}

@media (min-width: 768px) {
    .hero {
        grid-template-columns: 5fr 5fr;
        align-items: center;
        padding: 3rem 0 2rem 0;
        gap: 3rem;
    }
    .hero-columna {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        justify-content: space-between;
    }

    .hero-texto {
        max-width: 70rem;
        margin: 0;
    }

    .hero-titulo {
        font-size: 4.5rem;
        font-weight: 700;
        margin: 0 auto 1rem auto;
        text-align: left;
    }

    .linea {
        width: 15rem;
        margin: 0;
    }

    .hero-descripcion {
        font-size: 2rem;
        text-align: left;
        margin: 3rem 0 2rem 0;
        max-width: 50rem;
    }

    .hero-imagen {
        display: block;
 

    }

    .hero-imagen-mobile {
        display: none;
    }
}

@media (min-width: 1024px) {
    .hero-titulo {
        font-size: 5rem;

    }
}

/* --- Botones de acción (Estado de envío, Sedes, Salidas) --- */
.contenedor-botones-hero {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 0rem auto 3rem auto;
}

.boton-hero {
    background-color: #15467A;
    color: var(--color-blanco);
    padding: 1.2rem 2rem;
    border-radius: 1rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.boton-hero img {
    width: 2.2rem;
    height: 2.2rem;
}

.boton-hero span {
    font-size: 1.6rem;
    font-weight: 400;
}
.hero-subtitulo-titulo{
    font-size: 1.8rem;
    text-align: center;
    color: var(--color-blanco);
    font-style: italic;
    font-weight: 500;
    line-height: 1.5;
    margin: 0 auto 3rem auto;

}

@media (min-width: 768px) {
    .contenedor-botones-hero {
        gap: 2rem;
        margin: 3rem auto 3rem auto;
        flex-direction: row;
        justify-content: center;
       
    }

    .boton-hero {
        justify-content: start;
        padding: 1.5rem 2.5rem;
    }

    .boton-hero img {
        width: 2rem;
        height: 2rem;
    }

    .boton-hero span {
        font-size: 1.6rem;
        font-weight: 400;
    }
    .hero-subtitulo-titulo{
        font-size: 2.2rem;
     
    
    }
}