/* =====================================================
🔷 1. Configuración base
===================================================== */
html {
  font-size: 16px;
  line-height: 1.2;
}

body {
  font-family: inherit;
  line-height: 1.2;
  font-weight: normal;
  margin: 0;
  padding-top: 100px; /* espacio para encabezado fijo */
  background-size: cover;
}

/* =====================================================
🔷 2. Encabezado institucional
===================================================== */
.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;
}

/* 🔹 Identidad institucional */
.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;
  line-height: 1.2;
}

.bloque-titulo .institucion {
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.2;
}

.bloque-titulo .homenaje {
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 600;
  color: #ffcc00;
  margin-top: 2px;
  line-height: 1.2;
}

.bloque-titulo .sigla {
  font-size: 1.4rem;
  font-weight: bold;
  margin-top: 4px;
  line-height: 1.2;
}

/* 🔹 Botón de regreso */
.enlace-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  padding-right: 40px;
  margin-left: auto;
}

.boton-regreso {
  background-color: #004080;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.boton-regreso:hover {
  background-color: #ffcc00;
  color: #003366;
}

/* =====================================================
🔷 3. Menú institucional
===================================================== */
.menu-institucional {
  position: fixed;
  top: 100px;
  left: 0;
  width: 100%;
  z-index: 999;    
  background-color: #003366;
  padding: 12px 20px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);  
}

.menu-institucional a {
  color: #ffcc00;
  font-weight: bold;
  text-decoration: none;
  margin-right: 16px;
  font-size: 1rem;
}

.menu-institucional a:hover {
  color: #ffffff;
}

main {
  margin-top: 160px; /* ajusta según el alto real del menú */
}

