/* css section header */

.title-logo-stellar {
    opacity: 1;
    font-size: clamp(24px, 3vw, 30px);
    font-weight: bold;
    color: #fff;
}

.title-logo-stellar:hover {
    opacity: 0.8;
}

/* Sincroniza las imágenes principales con la animación inicial de carga. */
body.has-loading-screen #hero .hero__animated-image {
    opacity: 0;
    transform: translateY(1.2rem);
    transition: opacity .6s ease, transform .6s ease;
    transition-delay: .3s;
}

body.has-loading-screen #hero .hero__animated-image.in {
    opacity: 1;
    transform: translateY(0);
}

/* El loader siempre debe cubrir el hero mientras la página está cargando. */
body.has-loading-screen .loading-screen {
    z-index: 9999;
}

textarea {
    height: 100px !important;
}


/* Imágenes del hero adaptables */
#hero .hero__inner-wrapper {
    width: 100%;
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}

#hero .logo-stellar {
    display: block;
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: contain;
    margin-left: auto;
    margin-right: auto;
}

#hero h1,
#hero .hero__title {
    display: block;
    width: 100%;
    max-width: 100%;
}

/* Teléfonos y tablets pequeñas */
@media (max-width: 767px) {
    #hero .hero__inner-wrapper {
        padding-left: 20px;
        padding-right: 20px;
    }

    #hero .logo-stellar {
        width: 100% !important;
        max-width: 100% !important;
        height: auto;
    }

    #hero h1 {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}