
footer {
    background-color: var(--azuloscuro);
    
    padding: 3rem 0;
    border-top: .6rem solid #ffb601;
}
.footer-mapa p {
    color: var(--blanco);
}

.footer-down {
    display: grid;
    grid-template-columns: 30% 40% 30%;
}
.footer-texto {
  
    padding: 0 1rem;
}
.footer-texto p {
    color: var(--blanco);
}
.footer-texto img {
    width: 5rem;
}
.footer-contacto p {
    color: var(--blanco);
    display: flex;
    align-items: center;
    justify-content: left;
    gap: .5rem;
    margin-bottom: 5px;
}
.footer-contacto a {
    color: var(--blanco);
}
.iconowhatsapp {
    width: 30px;
}
.iconocontacto {
    width: 20px;
}

.footer-contacto p:nth-child(5) {
    margin: .5rem 0px;
}

.acreditacion-texto {
    background-color: #e9e9e9;
    padding: 1rem 1rem; 
    margin: 0 auto;
   display: flex;
   align-items: center;
   justify-content: center;
   flex: 1;
   position: relative;
   cursor: pointer;
  padding-top: 20px;
}
.acreditacion-texto:hover {
    background-color: #6e789b;
    color: #e9e9e9;
    text-decoration: none;

}
.acreditacion-texto::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 50%;  

    background: linear-gradient(to right, #ff0000 50%, #002f6c 50%);
  }



.acreditacion-texto-escsof {
    background-color: #e9e9e9;
    padding: 1rem 1rem; 
    margin: 0 auto;
   display: flex;
   align-items: center;
   justify-content: center;
   flex: 1;
   position: relative;
   cursor: pointer;
  padding-top: 20px;
	
}
.acreditacion-texto-escsof:hover {
    background-color: #6e789b;
    color: #e9e9e9;
    text-decoration: none;

}
.acreditacion-texto-escsof::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 50%;  
    background: linear-gradient(to right, #fc0 50%, #fc0 50%);
	/*background-color: #e9e9e9;*/
  }






.footer-acreditacion {
    display: grid;
    grid-template-columns: 3fr 1fr;
    padding: 2rem 0; 
    justify-content: center;
    align-items: center;
    text-align: center;
    
}


.acreditacion {
    display: flex;
    gap: 10px;
    width: 100%;
  
}
.icono-atrevete{
    width: 400px;
    max-width: 400px !important;
    text-align: left;
}
.icono-acreditada {
    width: auto;
    max-width: 350px;
}


@media(max-width:765px){
    /* Ajustes para la sección de acreditación */
    .footer-acreditacion {
        grid-template-columns: 1fr; 
        gap: 0rem; 
        padding: 2rem 0; 
        text-align: center; 
		
		  
		
    }

    .acreditacion {
        flex-direction: column; 
        align-items: center; 
        gap: 1rem; 
    }

    .icono-acreditada,
    .icono-atrevete {
        max-width: 80%; 
        height: auto; 
        margin: 0 auto;
    }

    .acreditacion-texto {
        padding: 0.8rem 1rem; 
        margin: 0.5rem auto; 
        width: 80%;
        max-width: 300px; 
    }
	
	  .acreditacion-texto-escsof{
        padding: 0.8rem 1rem; 
        margin: 0.5rem auto; 
        width: 80%;
        max-width: 300px; 
    }
	
	
	

    /* Ajustes para la sección principal del footer */
    .footer-down {
        grid-template-columns: 1fr; 
        gap: 2rem; 
        padding: 2rem 1rem; 
    }

    .footer-mapa,
    .footer-texto,
    .footer-contacto {
        text-align: center; 
    }

    .footer-texto img {
        width: 5rem; 
        margin: 0 auto 1rem auto; 
    }

    .footer-contacto p {
       flex-direction: row; 
       justify-content: center; 
       gap: .5rem; 
       margin-bottom: 0.5rem; 
    }

    .footer-contacto p:nth-child(5) { 
        margin-top: 1.5rem;
        margin-bottom: 0.5rem;
    }

    iframe {
        height: 150px; 
    }
}

.footer-redessociales {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    max-width: 200px;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}
.footer-redessociales img {
    width: 50px;
}

  .footer-redessociales-general {
    margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  }

.footer-redessociales-general p {
    text-align: center;
}
