/*----------- Estilos de ¿Quiénes Somos? Mejorados -----------*/

/*Paleta de colores ajustada para más contraste*/
:root {
  --azul-50: #f1f7fe;
  --azul-100: #e3edfb;
  --azul-200: #c0dbf7;
  --azul-300: #89bef0;
  --azul-400: #4a9ce6;
  --azul-500: #2380d4;
  --azul-600: #1565b7;
  --azul-700: #125092;
  --azul-800: #134479;
  --azul-900: #153b65;
  --azul-950: #0e2543;
  --rojo-acento: red; /* Añadir un color de acento */
}

body {
  font-family: Arial, sans-serif;
  background-color: var(--azul-50);
  color: var(--azul-900);
}

header {
  text-align: center;
  margin: 20px 0;
  color: var(--azul-950);
}

section {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 30px 10%;
  text-align: center;
  gap: 20px;
}

.subtitulo {
  border-bottom: 3px solid var(--rojo-acento);
  display: inline-block;
  color: var(--azul-900);
  padding-bottom: 8px;
  font-weight: bold;
  font-size: 1.8em;
  margin-bottom: 20px;
}

.texto {
  margin: 10px 0 30px;
  text-align: justify;
  font-size: 1.2rem;
  line-height: 1.6;
}

.texto b {
  color: var(--azul-950);
  font-weight: bold;
}

.left-column, .right-column {
  flex-basis: 48%;
}

.section-image img {
  max-width: 85%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4);
}

.section-image img {
  object-fit: cover;
}

.column {
  text-align: justify;
  font-size: 1rem;
}

ul {
  list-style: none;
  padding: 0;
}

.valor i {
  color: var(--azul-100);           
  background-color: var(--azul-950);   
  border-radius: 50%;       
  padding: 8px;             
  margin-right: 8px;        
  display: inline-flex;     
  align-items: center;      
  justify-content: center;  

}


.valores {
  display: flex;
  line-height:40px;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-around;
}

@media (max-width: 768px) {
  section {
      flex-direction: column;
      padding: 20px 5%;
  }

  .left-column, .right-column {
      flex-basis: 100%;
      text-align: center;
  }

  .section-image {
      margin: 15px 0;
  }

  .valores {
    display: flex;
    line-height:40px;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
  }
}
