.todo-cont{
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    padding: 5%;
    gap: 2%;
}

.cuadrante{
    width: 40%;
    background-color: white;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
    padding: 4%;
    padding-left: 5%;
}

#info-nosotros{
    width: 40%;
}

.img-cont{
    border-radius: 10%;
    margin-left: 30%;
    
}

.desc-nos{
    width: 90%;
    padding-right: 4%;
}


.mapouter-contact{
    position: relative;
    width: 90%;
    max-width: 600px;
    height: 300px;
    margin: 0 auto;
    margin-left: -0.5%;
    border-radius: 8px;
    overflow: hidden;   
}


.atencion{
    margin-top: 8%;
    text-align: center;
    font-size: 20px;
}

.asesor p{
    width: auto;
    height: inherit;
}

#info-contacto{
    
}

/*-------------------------- form -------------------------------------*/
form {
    width: 80%;
    max-width:700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1%;
}

form label {
    font-size: 1rem;
    font-weight: 600;
    color: #555555;
    margin-bottom: 0.3rem;
}

form input,
form textarea {
    width: 70%;
    padding: 0.5rem;
    border: 1px solid #dddddd;
    border-radius: 8px;
    font-size: 1rem;
    color: #333333;
    margin-bottom: 0.25rem;
}

form input::placeholder,
form textarea::placeholder {
    color: #aaaaaa;
}

form button {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: center; 
    width: auto; 
}

form button:hover {
    background-color: #0056b3;
}



/*--------------------------- Asesores----------------------------------*/

.tarj-asesores{
    width: 90%;
    height: auto;
    display: flex;
    margin-top: 5%;
    margin-bottom: 5%;
    gap:2.5rem;
    justify-content: center;
    padding-left: 2%;
}

.asesor{
    width: 35%;
    height: auto;
    text-align: center;
    border: 1px solid black;
    transition: border-color 0.3s ease;
    transition: box-shadow 0.3s ease;
    border-radius: 10%;
    padding: 4%;
}


.asesor p{
    width: inherit;
    height: inherit;
}


.asesor img{
    margin-left: 0;
}

.asesor:hover{
    cursor: pointer;
    border-color: rgb(182,120,255);
    box-shadow: 0px 10px 5px -1px rgba(84, 82, 179,0.43);
    -webkit-box-shadow: 0px 10px 5px -1px rgba(84, 82, 179,0.43);
    -moz-box-shadow: 0px 10px 5px -1px rgba(84, 82, 179,0.43);
}


@media screen and (max-width: 768px) {
    .cuadrante{
        width: 90%;
        margin-bottom: 2%;
        padding-left: 5%;
        padding-right: 5%;
    }
    
    #info-nosotros{
        width: 90%;
        padding-left: 5%;
        padding-right: 5%;
    }

    .asesor{
        width: 70%;
    }

    .mapouter-contact{
        width: 98%;
        height: 250px;
        max-height: 250px;
        margin: 0 auto;
        margin-left: 2%;
        border-radius: 8px;
        overflow: hidden;   
    }
    
    .contenedor-form{
        padding: 0 !important;
        margin: 0 !important;
    }

    .form{
        width: 95%;
        margin: 0;
    }

    .datos-comp{
        width: 100%;
        margin: 0 !important;
        padding: 0;
    }

    .datos-comp label{
        width: 40%;
        margin: 0;
        padding: 0;
        font-size: 12px;
    }
}










.mensaje-alerta {
    max-width: 700px;
    margin: 20px auto;
    padding: 15px;
    border-radius: 8px;
    background-color: white;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin-bottom: -2%;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}



.mensaje-alerta.fade-in {
    opacity: 0;
    transform: translateY(-10px);
    animation: fadeIn 0.6s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

