@import url("../fonts.css");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  /* Fuentes cargadas previamente: “Montserrat-Bold” y “Poppins-Regular” */
  --color-principal: #143da5;
  --color-texto: #333333;

  /* Fondos de secciones: las puedes ajustar o usar otras clases */
  --bg-odd: #ffffff;
  --bg-even: #ededed;
  /* Si deseas colores más vivos o personalizar: define aquí y asigna a .bg-odd/.bg-even o nuevas clases */

  --padding-vertical: 60px;
  --padding-horizontal: 20px;
  --gap: 40px;
  --max-content-width: 1440px;
  --border-radius-img: 12px;
}

/* Contenedor principal */
.nosotros-secciones {
  width: 100%;
  box-sizing: border-box;
}

/* Cada sección ocupa el ancho completo para fondo */
.section {
  width: 100%;
  padding: var(--padding-vertical) var(--padding-horizontal);
  box-sizing: border-box;
}

/* Clases para background full-width */
.bg-odd {
  background-color: var(--bg-odd);
}
.bg-even {
  background-color: var(--bg-even);
}

/* Contenido centrado y limitado a 1440px */
.section-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-content-width);
  margin: 0 auto;
  gap: var(--gap);
  flex-wrap: wrap;
}

/* Invertir orden de imagen/texto en secciones pares en pantallas amplias */
.nosotros-secciones .bg-even .section-content {
  flex-direction: row-reverse;
}

/* Bloque de texto */
.text {
  flex: 1 1 300px;
  box-sizing: border-box;
}

/* Título */
.title {
  font-family: "Montserrat-Bold";
  font-size: 2rem;
  color: var(--color-principal);
  margin-bottom: 1rem;
}

/* Párrafo */
.paragraph {
  font-family: "Poppins-Regular";
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-texto);
  margin-bottom: 1rem;
}

/* Bloque de imagen */
.section-image {
  flex: 1 1 300px;
  box-sizing: border-box;
}
.section-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--border-radius-img);
  object-fit: cover;
  -webkit-user-drag: none;
}

/* Valores: lista vertical con separación */
.valores-content .values-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.valores-content .value-title {
  font-family: "Montserrat-Bold";
  font-size: 1.25rem;
  color: var(--color-principal);
  margin-bottom: 0.5rem;
}
.valores-content .values-list .paragraph {
  margin-bottom: 0;
}

/* Responsividad */
@media (max-width: 1024px) {
  .title {
    font-size: 1.75rem;
  }
  .paragraph {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 30px var(--padding-horizontal);
    box-sizing: border-box;
  }
  .section-content {
    flex-direction: column;
    gap: 10px;
    height: fit-content;
  }
  .nosotros-secciones .bg-even .section-content {
    flex-direction: column;
  }

  .section-image {
    height: fit-content;
  }
  .text,
  .section-image {
    width: 100%;
    flex: auto;
    padding-bottom: 10px;
  }
  .title {
    text-align: center;
  }
  .valores-content .values-list {
    gap: 16px;
  }
}
