.sobre-nosotros {
  padding: 30px;
  max-width: 1200px;
  margin: auto;
}


.intro, .mision {
  margin: 50px 0;
  text-align: center;
}

.timeline {
  position: relative;
  margin: 50px 0;
}

.timeline-container {
  position: relative;
  padding: 20px 0;
}

.timeline-item {
  padding: 20px;
  width: 50%;
  position: relative;
}

.timeline-item.left {
  left: 0;
  text-align: right;
}

.timeline-item.right {
  left: 50%;
  text-align: left;
}

.timeline-item .content {
  background: #f3f3f3;
  padding: 20px;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.timeline-item.left .content::after {
  content: '';
  position: absolute;
  top: 20px;
  right: -10px;
  border-width: 10px;
  border-style: solid;
  border-color: transparent transparent transparent #f3f3f3;
}

.timeline-item.right .content::after {
  content: '';
  position: absolute;
  top: 20px;
  left: -10px;
  border-width: 10px;
  border-style: solid;
  border-color: transparent #f3f3f3 transparent transparent;
}

.timeline::before {
  content: '';
  position: absolute;
  width: 4px;
  background-color: #ccc;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
.sobre-nosotros {
  padding: 2rem;
  background-color: #fdfcf9;
  font-family: 'Georgia', serif;
  color: #333;
}


.mision-vision {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.mision-vision > div {
  flex: 1;
  min-width: 280px;
  background: #f1f1f1;
  padding: 1.5rem;
  border-left: 5px solid #9b4dca;
}

.valores ul {
  list-style: none;
  padding-left: 0;
}

.valores li {
  margin-bottom: 1rem;
  padding-left: 1rem;
  position: relative;
}

.valores li::before {
  content: "✓";
  color: #9b4dca;
  position: absolute;
  left: 0;
}

.equipo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 1rem;
}

.miembro {
  background: #fff;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
  width: 220px;
}

.miembro img {
  width: 100%;
  height: auto;
  border-radius: 100px;
  margin-bottom: 0.5rem;
}

.timeline-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline-item {
  padding: 1rem 2rem;
  position: relative;
  width: 50%;
}

.timeline-item.left {
  left: 0;
}

.timeline-item.right {
  left: 50%;
}

.timeline-item .content {
  background: #fff;
  padding: 1rem;
  border-left: 4px solid #9b4dca;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.testimonios {
  background: #f8f4fc;
  padding: 3rem 1rem;
  text-align: center;
  margin-top: 3rem;
  border-top: 3px solid #9b4dca;
}

.testimonios h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #333;
}

.testimonios-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.testimonio {
  background: #fff;
  padding: 1.5rem;
  max-width: 300px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  position: relative;
  font-style: italic;
}

.testimonio blockquote {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: #555;
}

.testimonio .autor {
  font-weight: bold;
  color: #9b4dca;
  margin: 0;
}
.hero-mejorado {
  position: relative;
  background-image: url('img/fondo.jpg'); 
  background-size: cover;
  background-position: center;
  height: 75vh;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-mejorado .overlay {
  background: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 100%;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-contenido {
  text-align: center;
  max-width: 1000px;
}

.hero-contenido h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.hero-contenido .lema {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  font-style: italic;
}

.pilares {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pilar {
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 12px;
}

.pilar h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #ffd27f;
}

.pilar p {
  font-size: 1rem;
  color: #f0f0f0;
}

@media(min-width: 768px) {
  .pilares {
    flex-direction: row;
    justify-content: space-between;
  }

  .pilar {
    flex: 1;
    margin: 0 0.5rem;
  }
}

