/** ================================
    VARIABLES Y RESET
================================= */
:root {
  --verde-oscuro: #19350b;
  --verde-medio: #365b1f;
  --verde-hover: #2f5949;
  --blanco: #ffffff;
  --fuente: 'Area Normal', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-size: 14px;
  font-family: var(--fuente);
  line-height: 1.6;
  color: var(--blanco);
  background-color: var(--verde-medio);
}

ul {
  list-style: none;
}

/* ================================
   HEADER Y NAVEGACIÓN
================================= */
header {
  background-color: var(--verde-oscuro);
  color: var(--blanco);
  padding: 1rem 2rem;
}

.header-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

header img {
  height: 50px;
  background-color: white;
}

nav ul {
  display: flex;
  gap: 1rem;
}

nav a {
  font-size: 16px;
  text-decoration: none;
  color: var(--blanco);
  font-weight: bold;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: background-color 0.3s;
}

nav a:hover {
  background-color: var(--verde-hover);
}

/* ================================
   HERO / MAIN
================================= */
main {
  padding: 1rem;
}

.hero {
  width: 100%;
  overflow: hidden;
}

.hero .banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 500px;
}

.hero h1 {
  font-size: 25px;
  margin-top: 1rem;
}

/* ================================
   SECCIÓN EQUIPO
================================= */
.equipo {
  padding: 2rem 0;
}

.equipo h2 {
  font-size: 28px;
  margin-bottom: 2rem;
  text-align: center;
  font-weight: bold;
}

.equipo-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.equipo-integrante {
  background-color: #2c4720;
  padding: 1rem;
  border-radius: 10px;
  width: 100%;
  text-align: center;
  transition: transform 0.3s ease;
}

.equipo-integrante:hover {
  transform: scale(1.03);
}

.equipo-integrante img {
  border: solid .4em hsl(90, 100%, 6%);
  width: 160px;
  height: 160px;
  object-fit: cover;
  margin-bottom: 1rem;
}


/* ================================
   SECCIÓN ACADÉMICOS
================================= */
.academicos {
  background-color: #19350b;
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.academicos h2 {
  font-size: 28px;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--blanco);
  font-weight: bold;
}

.academicos-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.academicos article {
  background-color: #2c4720;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  width: 100%;
}

.academicos article:hover {
  transform: scale(1.03);
}

.academicos article img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  background-color: var(--blanco);
  padding: 0.5rem;
  margin-bottom: 1rem;
}

/* ================================
   FOOTER
================================= */
footer p {
  font-size: 10px;
  line-height: 1.6;
  color: var(--blanco);
  background-color: var(--verde-oscuro);
  padding: 1rem;
  text-align: center;
}

.equipo-integrante a,
.academicos article a {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.4rem 1rem;
  background-color: var(--blanco);
  color: var(--verde-oscuro);
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: none;
}

.equipo-integrante a:hover,
.academicos article a:hover {
  background-color: var(--verde-hover);
  color: var(--blanco);
}