footer{
    display: flex;
    flex-direction: column;
    width: 100%;
    background: black;
    color: white;
    justify-content: center;
    align-items: center;
    padding: 60px 20px; /* padding horizontal relativo */
    gap: 80px;
    box-sizing: border-box;
}

.footer-central{
    display: flex;
    flex-wrap: wrap; /* permite que las secciones bajen en móviles */
    width: 100%;
    max-width: 1720px;
    gap: 40px;
    justify-content: space-between;
    box-sizing: border-box;
}

.footer-legal,
.footer-servicio,
.footer-suscribete{
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1 1 250px; /* crece y se encoge según espacio disponible */
    min-width: 200px; /* evita que se encoja demasiado */
}

.servicio-links,
.legal-links{
    display: flex;
    flex-direction: column;
    gap: 7px;
}

footer a{
    text-decoration: none;
    color: white;
}

.logo-footer{
    width: 150px;
    max-width: 100%;
    height: auto;
}

.footer-inferior{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1720px;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

.footer-inferior-left{
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.social-links{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.form-suscribete{
    display: flex;
    width: 100%;
    max-width: 400px;
    height: 40px;
    gap: 20px;
}

.footer-suscribete button{
    width: 100px;
    background: transparent;
    color: white;
    border: 1px solid white;
    cursor: pointer;
}

.footer-suscribete input{
    flex: 1;
    border: none;
    outline: none;
    padding: 8px;
    background: white;
    color: black;
    font-size: 15px;
}
