@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:wght@400;600;700&family=Montserrat:wght@300;400;500;600&display=swap');

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

:root {
  --rojo: #C84031;
  --naranja: #F28C0F;
  --oscuro: #401304;
  --gris: #555;
  --fondo: #fff7f2;
  --beige: #fff0df;
  --crema: #fff8f3;
  --blanco: #ffffff;
}

body {
  font-family: "Montserrat", sans-serif;
  background: var(--fondo);
  color: #000000a6;
  line-height: 1.7;
}

img {
  display: block;
  max-width: 100%;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

section {
  margin-bottom: 4rem;
}

.contenedor {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 2rem 0;
}

header {
  background-color: var(--beige);
  border-bottom: 5px solid var(--naranja);
  box-shadow: 0 3px 12px rgba(0, 0, 0, .08);
  top: 0;
  z-index: 100;
}

.header-contenido {
  width: 90%;
  margin: auto;
  padding: 1rem 0;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

#logo img {
  width: 10rem;
}

.menu-navegacion {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.boton-menu {
  background: white;
  border: 1px solid #e6d2be;
  border-radius: 12px;
  transition: .25s;
}

.boton-menu a {
  display: block;
  padding: .75rem 1.3rem;
  font-weight: 600;
}

.boton-menu:hover {
  background: var(--naranja);
  color: white;
  transform: translateY(-3px);
}

.presentacion {
  background-color: var(--beige);
  border-radius: 20px;
  padding: 3.5rem 2rem;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
}

.presentacion h1 {
  font-family: "Libre Franklin", sans-serif;
  font-size: 3rem;
  color: var(--rojo);
  margin-bottom: 1rem;
}

.presentacion p {
  max-width: 850px;
  margin: auto;
  font-size: 1.1rem;
  line-height: 1.9;
  font-style: italic;
}


.pagina {
  margin: auto;
  background: var(--beige);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .06);
  color: #000000;
}

.pagina p {
  text-align: center;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.imagenes-comitente {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.imagenes-comitente figure {
  background: white;
  border: 2px solid #ffe1bf;
  border-radius: 18px;
  padding: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
  transition: .25s;
}

.imagenes-comitente figure:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, .12);
}

.imagenes-comitente img {
  width: 90px;
}

.Integrantes {
  background: var(--beige);
  border-radius: 20px;
  padding: 3rem 2rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .06);
}

.Integrantes h2 {
  text-align: center;
  color: var(--rojo);
  font-size: 2rem;
  margin-bottom: 2.5rem;
}

.Integrantes-contenedor {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 1em;
}

.caja-integrante {
  text-align: center;
}

.foto-integrante {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 97%;
  border: 6px solid white;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .15);
  margin: auto;
  transition: .3s;
}

.foto-integrante:hover {
  transform: scale(1.04);
}

.info-integrante {
  margin-top: 1rem;
  background: linear-gradient(180deg, #d85647, #bf3c2d);
  color: white;
  padding: 1rem;
  border-radius: 14px;
  min-width: 220px;
  transition: .3s;
}

.info-integrante:hover {
  background: linear-gradient(180deg, #f39b32, #e87f0f);
  transform: translateY(-3px);
}

.info-integrante h3 {
  margin-bottom: .3rem;
  font-size: 1.25rem;
}

.info-integrante p {
  font-size: .95rem;
}

.datos-academicos {
  background: var(--beige);
  border-radius: 20px;
  padding: 3rem 2rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .06);
}

.datos-academicos ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.institucion {
  background: white;
  border-top: 6px solid var(--naranja);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
  transition: .3s;
}

.institucion:hover {
  transform: translateY(-5px);
}

.institucion img {
  max-height: 55px;
  width: auto;
  margin-bottom: 1rem;
}

.institucion h4 {
  color: var(--rojo);
  margin-bottom: .8rem;
  font-size: 1.1rem;
}

.institucion p {
  color: var(--gris);
  margin-bottom: .45rem;
  font-size: .95rem;
}

footer {
  margin-top: 4rem;
  background: #5c2815;
  color: white;
  text-align: center;
  padding: 2.5rem 1.5rem;
}

footer p {
  max-width: 1100px;
  margin: auto;
  color: #f4e7dd;
  font-size: .9rem;
  line-height: 1.8;
}

.imagenes-plan {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 1em;
}

@media (max-width:768px) {

  .header-contenido {
    flex-direction: column;
  }

  .menu-navegacion {
    justify-content: center;
  }

  .presentacion {
    padding: 2.5rem 1.5rem;
  }

  .presentacion h1 {
    font-size: 2.2rem;
  }

  .pagina {
    padding: 1.5rem;
  }

  .Integrantes-contenedor {
    flex-direction: column;
    align-items: center;
  }

  .datos-academicos ul {
    grid-template-columns: 1fr;
  }

}