.compromiso {
  width: 100%;
  padding: 112px 40px;
  display: flex;
  justify-content: center;
  overflow: hidden;
  background-color: #f4f5f6;
}

.compromiso-content {
  width: 100%;
  max-width: 1280px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 64px;
}

.compromiso-textos {
  width: 58%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.compromiso-label {
  margin-bottom: 10px;
  color: #a50f0f;
  font-size: 22px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.compromiso-title {
  max-width: 720px;
  color: #171717;
  font-family: "PT Serif", Georgia, serif;
  font-size: 60px;
  font-weight: 700;
  line-height: 58px;
  letter-spacing: 0;
}

.compromiso-intro {
  max-width: 700px;
  margin-top: 22px;
  color: #171717;
  font-size: 22px;
  font-weight: 500;
  line-height: 27px;
}

.compromiso-texto {
  max-width: 700px;
  margin-top: 14px;
  color: #6f6f6f;
  font-size: 18px;
  line-height: 24px;
}

.compromiso-intro strong,
.compromiso-texto strong {
  font-weight: 600;
}

.compromiso-indicadores {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.compromiso-boton {
  width: fit-content;
  margin-top: 28px;
  padding: 17px 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #a50f0f;
  color: #ffffff;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  transition: background-color 0.25s ease;
}

.compromiso-boton:hover,
.compromiso-boton:focus-visible {
  background-color: #620903;
}

.compromiso-indicador {
  min-width: 172px;
  flex: 1;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  border-top: 2px solid #a50f0f;
  background-color: #ffffff;
}

.compromiso-indicador span {
  color: #a50f0f;
  font-family: "PT Serif", Georgia, serif;
  font-size: 46px;
  line-height: 50px;
}

.compromiso-indicador p {
  margin-top: 10px;
  color: #171717;
  font-size: 19px;
  line-height: 22px;
}

.compromiso-modelo {
  width: 42%;
  min-width: 420px;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border: 1px solid #d9dcdf;
}

.compromiso-imagen {
  width: 100%;
  min-height: 280px;
  overflow: hidden;
  background-color: #171717;
}

.compromiso-imagen img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s ease;
}

.compromiso:hover .compromiso-imagen img {
  transform: scale(1.025);
}

.compromiso-dato {
  padding: 22px 26px 26px;
}

.compromiso-dato p {
  color: #a50f0f;
  font-size: 15px;
  line-height: 18px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.compromiso-pilares {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.compromiso-pilares::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 7px;
  width: 1px;
  background-color: #d9dcdf;
}

.compromiso-pilares span {
  position: relative;
  padding: 15px 0 5px 34px;
  color: #171717;
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
}

.compromiso-pilares span::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #a50f0f;
}

@media (max-width: 1100px) {
  .compromiso {
    padding: 96px 32px;
  }

  .compromiso-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 42px;
  }

  .compromiso-textos,
  .compromiso-modelo {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 760px) {
  .compromiso {
    padding: 78px 20px;
  }

  .compromiso-title {
    font-size: 42px;
    line-height: 44px;
  }

  .compromiso-label {
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 2px;
  }

  .compromiso-intro {
    font-size: 20px;
    line-height: 26px;
  }

  .compromiso-imagen img {
    height: 310px;
  }
}

@media (max-width: 480px) {
  .compromiso {
    padding: 68px 18px;
  }

  .compromiso-title {
    font-size: 34px;
    line-height: 37px;
  }

  .compromiso-intro {
    font-size: 18px;
    line-height: 25px;
  }

  .compromiso-texto {
    font-size: 16px;
    line-height: 23px;
  }

  .compromiso-imagen img {
    height: 280px;
  }

  .compromiso-pilares span {
    font-size: 18px;
    line-height: 25px;
  }

  .compromiso-boton {
    padding: 16px 20px;
    font-size: 16px;
    line-height: 22px;
  }
}
