/* encabezado */
.encabezado-iutam {
  position: fixed;
  top: 0;
  left: 0;
  height: 100px;
  width: 100%;
  background-color: #003366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  flex-wrap: wrap;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.bloque-identidad {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-grow: 1;
}

.bloque-logo .logo-header {
  height: 100px;
  max-width: 100%;
  display: block;
}

.bloque-titulo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  max-width: 300px;
  margin: 0;
}

.bloque-titulo .institucion {
  font-size: 1.1rem;
  font-weight: 400;
}

.bloque-titulo .homenaje {
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 600;
  color: #ffcc00;
  margin-top: 2px;
}

.bloque-titulo .sigla {
  font-size: 1.4rem;
  font-weight: bold;
  margin-top: 4px;
}
/* fin del encbezado */
/* compartido */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: Arial, sans-serif;
}


@keyframes fadeIn {
  from { opacity: 0; transform: translate(-50%, -60%); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}
/*fin compartido */
.iutam-contacto {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: calc(100vh - 100px); /* ← respeta el encabezado fijo */
  margin-top: 100px;
  box-sizing: border-box;
}
/* bloque cuadros */
.bloque-cuadros {
  width: 50vw;
  background-color: #dbe9f4;
  padding: 60px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.cuadricula-ayuda {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  width: 100%;
  max-width: 100%;
}

.cuadro-ayuda {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: transform 0.2s ease;
  text-align: center;
}

.cuadro-ayuda:hover {
  transform: scale(1.02);
}

.cuadro-ayuda h4 {
  font-size: 16px;
  font-weight: bold;
  color: #003366;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.cuadro-ayuda p {
  font-size: 14px;
  color: #333;
  margin: 0;
  height: 80px;
}

.icono-ayuda {
  height: 40px;
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.icono-ayuda img {
  height: 100%;
  width: auto;
}
.formulario-directo {
  width: 50vw;
  background-color: #003366;
  }
/* contacto formulario*/
/*
.formulario-directo {
  width: 50vw;
  background-color: #003366;
    max-height: calc(100vh - 160px); 
  overflow-y: auto;
  padding: 20px 10px;
}
  */
/*
.formulario-directo {
  position: relative;
  z-index: 1;
  background-color: #003366; 
  max-height: calc(100vh - 160px);
  overflow-y: auto;
  padding: 20px 10px;
}
*/
.formulario-directo h2 {
  font-size: 26px;
  color: #ffcc00;
  font-weight: bold;
  margin-bottom: 30px;
  margin-left: 20px;
}
#nombre {
  margin-left: 40px;
  margin-bottom: 20px;
  width: 560px;
  padding: 6px 10px;
  font-size: 14px;
    line-height: 1.4;
  background-color: #f0f0f0;
  color: #333;
  border: none;
  box-sizing: border-box;
}
label[for="nombre"] {
  display: block;
  margin-left: 40px;
  margin-bottom: 6px;
  font-weight: bold;
  font-size: 14px;
  color: #ffffff;
}
/*
#cedula {
  margin-left: 40px;
  margin-bottom: 20px;
  width: 280px;
  padding: 6px 10px;
  font-size: 14px;
    line-height: 1.4;
  background-color: #f0f0f0;
  color: #333;
  border: none;
  box-sizing: border-box;
}
label[for="cedula"] {
  display: block;
  margin-left: 40px;
  margin-bottom: 6px;
  font-weight: bold;
  font-size: 14px;
  color: #ffffff;
}


#telefono {
  margin-left: 40px;
  margin-bottom: 20px;
  width: 280px;
  padding: 6px 10px;
  font-size: 14px;
    line-height: 1.4;
  background-color: #f0f0f0;
  color: #333;
  border: none;
  box-sizing: border-box;
}
label[for="telefono"] {
  display: block;
  margin-left: 40px;
  margin-bottom: 6px;
  font-weight: bold;
  font-size: 14px;
  color: #ffffff;
}
*/
.fila-doble {
  display: flex;
  gap: 12px;
  margin-left: 40px;
  margin-bottom: 20px;
    max-width: 560px;
}

.fila-doble .campo {
  flex: 1;
}

.fila-doble label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
  font-size: 14px;
  color: #ffffff;
}

.fila-doble input {
  width: 100%;
  padding: 6px 10px;
  font-size: 14px;
  background-color: #f0f0f0;
  color: #333;
  border: none;
  box-sizing: border-box;
  /*  border-radius: 4px; */
}

#correo {
  margin-left: 40px;
  margin-bottom: 20px;
  width: 560px;
  padding: 6px 10px;
  font-size: 14px;
    line-height: 1.4;
  background-color: #f0f0f0;
  color: #333;
  border: none;
  box-sizing: border-box;
}
label[for="correo"] {
  display: block;
  margin-left: 40px;
  margin-bottom: 6px;
  font-weight: bold;
  font-size: 14px;
  color: #ffffff;
}

#motivo {
  margin-left: 40px;
  margin-bottom: 20px;
  width: 560px;
  padding: 6px 10px;
  font-size: 14px;
    line-height: 1.4;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}
label[for="motivo"] {
  display: block;
  margin-left: 40px;
  margin-bottom: 6px;
  font-weight: bold;
  font-size: 14px;
  color: #ffffff;
}

#mensaje {
  margin-left: 40px;
  margin-bottom: 16px;         
  width: 560px;
  padding: 8px 10px;           
  font-size: 14px;             
  background-color: #f0f0f0;
  color: #333;
  border: none;
  box-sizing: border-box;
  border-radius: 4px;          
  resize: vertical;            
}

label[for="mensaje"] {
  display: block;
  margin-left: 40px;
  margin-bottom: 6px;
  font-weight: bold;
  font-size: 14px;
  color: #ffffff;
}
/*
input::placeholder,
textarea::placeholder {
  color: #666;
  font-style: italic;
  opacity: 1;
}
*/
.boton-enviar {
  padding: 10px 20px;
  font-size: 16px;
  background-color: #004080;
  color: white;
  border:  2px solid #ffffff;
  cursor: pointer;
  max-width: 200px;
  margin-top: 10px;
  margin-left: 80px;
  box-sizing: border-box;
}

.boton-enviar:hover {
  background-color: #003060;
  border-color: #ffcc00; /* ← amarillo institucional al pasar el mouse */
}
