/* banners-cabeceras.css */

.banner-contacto-contenedor {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%; /* Ancho máximo opcional */
    height: 500px; /* Altura fija */
    margin: 0 auto;
}

.banner-contacto-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.banner-contacto-figura {
    margin: 0;
    height: 100%;
}

.banner-contacto-imagen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.1);
    transition: transform 1s ease-out;
}

.banner-contacto-imagen.loading {
    transform: scale(1);
}

.banner-contacto-texto-contenedor {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    z-index: 2;
    text-align: center;
}

.banner-contacto-texto {
    font-size: 3.5em;
    margin: 0;
    padding: 0 20px;
}