*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.hero{
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}
.hero-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.contenido-encima{
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100vh;
    /*centramos el texto*/
    display:flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 60px 5% 40px;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    font-family: sans-serif;
    box-sizing: border-box;
    z-index: 2;
}
.contenido-encima h1{
    font-size: 4rem;
    line-height: 0.9;
    font-weight: 900;
    margin-bottom: 20px;
    max-width: 500px;
    text-transform: none;
}
.contenido-encima span{
    font-weight: bold;
}
.contacto{
    margin-top: 30px;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
}
.boton-wsp{
    background-color: #7DA453;
    color: white;
    padding: 10px 25px;
    border-radius: 50px; /* bordes redondeados */
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    width: max-content;
}
.etiqueta-gris{
    background-color: #555555;
    color:white;
    display: block;
    width: max-content;
    padding: 5px 15px;
    font-weight: bold;
    margin-bottom: 5px;
    text-transform: uppercase;
}
/*logo inferior izquierdo*/
.hero-footer { 
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
}
.marca-inferior {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-footer {
    width: 80px;
    height: auto;
    filter: brightness(0) invert(1);
}
.nombre-footer {
    font-size: 1.5rem;
    font-weight: bold;
}
.redes-footer {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.2rem;
}

/* AJUSTES PARA CELULARES (Pantallas menores a 768px) */
@media (max-width: 768px) {
    
    .contenido-encima {
        /* Reducimos el padding para ganar espacio */
        padding: 40px 20px 20px;
        justify-content: center; /* Centramos el contenido verticalmente */
        gap: 40px;
    }

    .contenido-encima h1 {
        font-size: 2.2rem; /* Tamaño mucho más real para un celu */
        max-width: 100%;
        text-align: left;
    }

    .boton-wsp {
        font-size: 1rem;
        padding: 10px 20px;
        width: auto; /* Que no se pase del ancho del celu */
    }

    .hero-footer {
        flex-direction: column; /* Apilamos logo y redes */
        align-items: flex-start;
        gap: 20px;
        margin-top: auto; /* Empuja el footer hacia abajo */
    }

    .nombre-footer {
        font-size: 1.2rem;
    }

    .logo-footer {
        width: 60px; /* Logo un poco más chico */
    }

    .redes-footer {
        font-size: 1rem;
        width: 100%;
        justify-content: flex-start;
    }
}
.redes-footer a {
    color: white; /* Mantiene el color blanco */
    text-decoration: none; /* Saca el subrayado */
    transition: 0.3s; /* Para que el efecto de pasar el mouse sea suave */
}

.redes-footer a:hover {
    color: #7DA453; /* Color verde (como tu botón) al pasar el mouse */
    transform: scale(1.1); /* Efecto de agrandado suave */
}