/* ============================================
  Archivo: creditos.css
  Descripción: Estilos específicos para la página de créditos del sistema web Ecorut@s.
  Notas:
    - Colores institucionales.
    - Responsividad adaptada a dos columnas o una según el tamaño.
    - Ajustes tipográficos para jerarquía visual clara.
============================================ */

/* =========================
  1. VARIABLES DE COLOR
========================= */
:root {
  --color-negro: black;
  --color-blanco: white;
  --color-marron: #936F2F;
  --color-azul: #29A0BE;
  --color-sombra: #146C84;
}

/* =========================
  2. TÍTULO PRINCIPAL
========================= */
.titulo-principal h1 {
  color: var(--color-negro);
  font-weight: bold;
  font-size: 2.3rem;
  transition: color 0.3s ease;
}

.separador {
  border-color: var(--color-negro) !important;
}

/* =========================
  3. BLOQUES DE CRÉDITOS
========================= */
.creditos-bloque {
  background-color: #fafafa;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 8px var(--color-sombra);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.creditos-bloque:hover {
  transform: translateY(-4px);
}

.bloque-creditos {
  padding: 1rem;
}

/* =========================
  4. TÍTULOS DE SECCIÓN
========================= */
.titulo-equipo {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-azul);
  text-align: left;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* =========================
  5. NOMBRES E INSTITUCIONES
========================= */
.nombre {
  font-size: 0.8rem;
  font-weight: 400;
  text-align: left;
  color: #333;
  margin: 0.2rem 0;
  transition: all 0.3s ease;
  cursor: default;
}

.nombre:hover {
  color: var(--color-sombra);
  transform: scale(1.1);
}

.institucion {
  font-size: 0.8rem;
  font-weight: bold;
  text-align: left;
  color: #666;
  margin-top: 0.2rem;
  margin-bottom: 0.8rem;
}

/* Lista de colaboradores */
.colaboradores .nombre {
  font-size: 0.8rem;
  text-align: left;
  margin-bottom: 0.3rem;
}

/* =========================
  6. RESPONSIVO
========================= */
@media screen and (max-width: 768px) {
  .titulo-principal h1 {
    font-size: 2rem;
  }
}

@media screen and (max-width: 576px) {
  .titulo-principal h1 {
    font-size: 1.8rem;
  }

  .nombre, .institucion {
    font-size: 0.75rem;
  }
}