footer{
    background: #414141;
    padding: 60px 0 30px 0;
    margin: auto;
    overflow: hidden;
}

.contenedor-footer{
    display: flex;
    width: 90%;
    justify-content: space-evenly;
    margin: auto;
    padding-bottom: 50px;
    border-bottom: 1px solid #ccc;
}

.content-foo{
    text-align: center;
}

.content-foo h4{
    color: #fff;
    border-bottom: 3px solid #FF5000;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.content-foo p{
    color: #ccc;
    text-align: justify;
}

.content-foo a{
    color: #ccc;
    display: block;
    text-align: justify;
}

.content-foo a:hover {
    text-decoration: underline 3px #FF5000;
}

.boton {
    display: inline-block;       /* para poder darle padding */
    background-color: #0d1b2a;   /* color de fondo */
    color: #fff;                 /* color del texto */
    padding: 0.7rem 1.2rem;      /* espacio interno */
    border-radius: 8px;          /* bordes redondeados */
    text-decoration: none;       /* quitar subrayado */
    font-weight: bold;           /* texto más grueso */
    transition: background 0.3s; /* animación suave */
}

.boton:hover {
    background-color: #FF5000;  
}

.content-foo .a .boton{
    padding-bottom: 60px;
}

.titulo-final{
    text-align: center;
    font-size: 24px;
    margin: 20px 0 0 0;
    color: #9e9797;
}


/* BOTONES DE REDES */
footer .redes {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

footer .btn-red {
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  color: #fff;
  transition: background 0.3s ease;
  width: 50px;
  height: 50px;
}

footer .btn-red img {
    width: 99%;
    height: 99%;
}

/* Colores específicos para cada red */
.social-ig {
  background: #ffffff;
}

.social-ig:hover {
  background: #c42a5e;
}

.social-fb {
  background: #ffffff;
}

.social-fb:hover {
  background: #145dbf;
}

@media screen and (max-width:500px) {
    .contenedor-footer{
        flex-direction: column;
        border: none;
    }

    .content-foo{
        margin-bottom: 20px;
        text-align: center;
    }

    .content-foo h4{
        border: none;
    }

    .content-foo p{
        color: #ccc;
        text-align: center;
    }

    .content-foo a{
        text-align: center;
    }

    .titulo-final{
        font-size: 20px;
        border-top: 1px solid #f2f2f2;
        padding-top: 50px;
    }
}