.lista #contac a {
    border: 2.5px solid #fff;
}

#headerCont {
    height: 100vh;
    background-image: url("../Recursos/contacto-fondo.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    position: relative;
}

.btn-enviar {
    cursor: pointer;
    margin-top: 40px;
    font-size: 1rem;
    display: inline-block;
    background-color: rgb(61, 61, 61);
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    border-radius: 40px;
    margin-left: 260px;
}

#other1 {
    display: none;
}

.espacio {
    height: 150px;
}

#other2 {
    display: none;
}

#other3 {
    display: none;
}

#other4 {
    display: none;
}

#contenedor_contacto {
    display: none;
}

.correo {
    display: flex;
    justify-content: center;
}

.contendor_secundario {
    margin-bottom: 70px;
}

#contiene_input {
    margin-right: 130px;
}

#contiene_input input {
    width: 500px;
}

#texta {
    max-width: 500px;
    max-height: 225px;
    height: 225px;
    width: 500px;
    padding: 12px;
    margin-top: 10px;
}


#contiene_input .alto_mensaje input {
    height: 300px;
    text-align: start;
}

#contiene_input .alto_original input {
    height: 40px;
    text-align: center;
}

#contiene_input .alto_mensaje input,
#contiene_input .alto_original input {
    margin-top: 10px;
    margin-bottom: 25px;
}

#contiene_contacto .iconos_redes {
    margin-bottom: 10px;
}

#contiene_contacto .iconos_redes img {
    margin-right: 10px;
}

#contiene_contacto .contiene_tecnico h2 {
    margin-bottom: 10px;
}

#contiene_contacto .contiene_tecnico .correo_tec {
    margin-bottom: 15px;
}

#contiene_contacto .contiene_tecnico h4 {
    margin-bottom: 5px;
}

.hero__container {
    display: flex;
    justify-content: center;
}


.centrar--sub {
    color: black;
    display: flex;
    justify-content: center;

}

.hero__cta {
    display: flex;
    justify-content: center;
}

.centrar--b {
    display: flex;
    justify-content: center;
}

/*Para cambiar el color del borde de los input con error
input[type=text] {border-radius: 10px; }
input.erro{ border-color: red; }
input[type=email] {border-radius: 10px; }
input.erro{ border-color: red; }
textarea {border-radius: 10px; }
textarea.erro{ border-color: red; }
*/

/*Para los login*/
#UsuarioCliente {
    border-color: black;
}

#ContraCliente {
    border-color: black;
}

#UsuarioAbogado {
    border-color: black;
}

#ContraAbogado {
    border-color: black;
}

/*Para lo de contactanos*/
#contact_name {
    border-color: black;
}

#contact_email {
    border-color: black;
}

#contact_organization {
    border-color: black;
}

#texta {
    border-color: black;
}

/* Botón "Escribe ahora" personalizado */
.btn {
    display: inline-block;
    background-color: red;
    /* Fondo rojo */
    color: #6a1b9a;
    /* Texto morado (#6a1b9a como "Visión") */
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
    border: 2px solid transparent;
}

.btn:hover {
    background-color: darkred;
    /* Más oscuro al pasar el mouse */
    color: white;
    /* Cambia a blanco al pasar el mouse */
    border-color: #6a1b9a;
    /* Borde morado */
}

/* Espacio extra para bajar el formulario solo en contactanos.html */
#contenedor_contacto {
    margin-top: 80px;
    /* Puedes aumentar este número si deseas más separación */
}

/* Fondo rojo permanente solo en la interfaz de Contactanos */
.contacto-page .hero__cta {
    background-color: red !important;
    /* Fuerza el rojo */
    color: white !important;
    /* Texto blanco */
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    display: inline-block;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
}

#contact_name,
#contact_mobile,
#contact_email,
#contact_nationality {
    pointer-events: auto !important;
    opacity: 1 !important;
    background-color: white !important;
    color: black !important;
    z-index: 10 !important;
    position: relative !important;
}

/* Estilo uniforme para todos los campos */
.input_formulario {
    width: 100%;
    height: 40px;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    resize: none;
    /* Esto evita que se agrande con el mouse */
}

/* Estilo específico para textarea */
.mensaje_ajustada {
    height: 40px;
    /* Igual altura que los inputs */
    line-height: 20px;
}

#contact_nationality {
    pointer-events: auto !important;
    opacity: 1 !important;
    background-color: white !important;
    color: black !important;
    z-index: 10 !important;
    position: relative !important;
}

/* Forzar color negro en el footer solo en contactanos.html */
.contacto-page .footer {
    background-color: #1c1c1c !important;
    color: white !important;
}