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

header {
  background-color: #3b197b;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  padding: 1.5rem 1rem;
  position: sticky;
  top: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navegacion {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}


@media (max-width: 600px) {
  .navegacion {
    flex-direction: row !important; /* fuerza la disposición horizontal */
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap; /* si no entran, bajan ordenadamente */
  }

  .navegacion a {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    width: auto; /* evita que sean muy anchos */
  }

}

.menu {
   display: flex;
    justify-content: center;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

.menu li a {
  text-decoration: none;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    display: inline-block;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: auto;
    text-align: center;
  
}
.menu li a.active {
    background-color: #9977e4;
}
.menu li a:hover, 
.menu li a:active, 
menu li a:focus {  background-color:#9977e4 ;
    color: #fff;
    transform: scale(1.05);
}

@media (max-width: 600px) {
  
  .menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: auto;
    margin: 0 auto;
  }

  .menu li a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 85px;
  }

}

.visiona-contenedor {
    display: flex;
    justify-content: center;
    align-items: center;
}
.visiona-gif {
    max-width: 100%;
    object-fit: contain;
}

h1 {
  color: white;
  margin-left: 2rem; 
  font-size: 1.8rem;
}


.descripcion {
  color: white;
  margin: 1rem 2rem; 
  line-height: 1.6rem;
  font-size: 1rem;
  text-align: justify;
}

main h2 { 
    color:white;
    margin-left: 10rem;
}
.contenedor-integrantes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  justify-content: center;
  margin: 0 auto;
  max-width: 1100px;
  width: 100%;
  padding: 2rem;
}

.integrante {
  background-color: #3b197b;
  border-radius: 20px;
  color: white;
  text-align: center;
  padding: 1.5rem 1rem;
}

.integrante img {
  width: 120px;
  height: 120px;
  border-radius: 6px;
  object-fit: cover;
  margin-bottom: 1rem;
}

.integrante h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.integrante p {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.boton-integrantes {
  display: inline-block;
  background-color: #7d5cc6;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  padding: 0.5rem 1rem;
  font-weight: bold;
  width: 80%;
}

.boton-integrantes:hover {
    color:purple;
    text-decoration: underline;
}

@media (max-width: 700px) {
  .contenedor-integrantes {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 700px) {
  .contenedor-integrantes {
    grid-template-columns: 1fr;
  }

  .integrante {
    width: 90%;
    margin: 0 auto;
  }

  .integrante img {
    width: 100px;
    height: 100px;
  }
}


body {
    background-color: black;
}

.mapa-img {
    max-width: 100%;
    width: auto;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 1rem auto;}

.mapa-empatia {  max-width: 70%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 1rem auto;}

.arquetipo-img {
    max-width: 70%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 1rem auto;
}
.mvp-img {
    max-width: 70%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 1rem auto;
} 

.contenedor-datos {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  gap: 70px;
  padding: 40px
  
}

.dato {
    width: 300px;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.logo-datos {
  display: flex;
  align-items: flex-start;
  margin: 20px 0px;
  height: 60px;
}

.logo-datos:hover {
    transform: scale(1.05);
}

.contenedor-datos h3 {
  color: #7d5cc6;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.dato p { 
    color: white;
    margin: 2px 0;
    font-size: 14px;
    line-height: 1.4
}

.texto-datos {
  color: white;
  font-weight: 600;
  display: inline;
  margin-right: 5px;
}
    
footer {
  background-color:#7a59b8;
  color: white
  text-align center;
  padding: 1.25rem 2.5rem;
  font-family: "Georgia", serif;
  font-size: 0.8rem;
  line-height: 1.6;
}

footer p {
  margin: 0.5rem 0;
}

@media (max-width: 700px) {
  footer {
    padding: 1rem 1.25rem;
    font-size: 0.5rem;
  }
}