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

.ecosistema-content {
  width: 100%;
  max-width: 1280px;
  display: flex;
  flex-direction: column;
  gap: 54px;
}

.ecosistema-header {
  display: flex;
  justify-content: center;
  gap: 54px;
  text-align: center;
}

.ecosistema-copy {
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
}

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

.ecosistema h2 {
  margin-top: 10px;
  color: #171717;
  font-family: "PT Serif", Georgia, serif;
  font-size: 60px;
  font-weight: 700;
  line-height: 58px;
  letter-spacing: 0;
}

.ecosistema-intro {
  width: 34%;
  max-width: 430px;
  padding-left: 24px;
  border-left: 4px solid #a50f0f;
  color: #6f6f6f;
  font-size: 19px;
  line-height: 26px;
}

.ecosistema-showcase {
  display: flex;
  align-items: stretch;
  gap: 38px;
}

.ecosistema-visual {
  width: 38%;
  min-height: 580px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #f2f2f2;
}

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

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

.ecosistema:hover .ecosistema-imagen img {
  transform: scale(1.018);
}

.ecosistema-panel {
  min-height: 170px;
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #060606;
  color: #ffffff;
}

.ecosistema-panel span {
  color: #ffffff;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.ecosistema-panel p {
  max-width: 330px;
  margin-top: 14px;
  color: #ffffff;
  font-size: 28px;
  font-weight: 400;
  line-height: 31px;
}

.ecosistema-ruta {
  width: 62%;
  display: flex;
  flex-direction: column;
  border-top: 1px solid #ded7d1;
}

.ecosistema-paso {
  min-height: 82px;
  padding: 20px 22px;
  display: flex;
  align-items: center;

  gap: 28px;
  border-bottom: 1px solid #ded7d1;
  color: #171717;
}

.ecosistema-paso:nth-child(odd) {
  background-color: #f2f2f2;
}

.ecosistema-paso span {
  width: 64px;
  flex: 0 0 64px;
  color: #a50f0f;
  font-family: "PT Serif", Georgia, serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 38px;
}

.ecosistema-paso div {
  display: flex;
  align-items:center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.ecosistema-paso h3 {
  width: 34%;
  min-width: 170px;
  color: #171717;
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
}

.ecosistema-paso p {
  width: 66%;
  max-width: 430px;
  color: #6f6f6f;
  font-size: 18px;
  line-height: 25px;
}

.ecosistema-paso--inicio h3,
.ecosistema-paso--final h3 {
  color: #620903;
}

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

  .ecosistema-header,
  .ecosistema-showcase {
    flex-direction: column;
    align-items: flex-start;
  }

  .ecosistema-copy,
  .ecosistema-intro,
  .ecosistema-visual,
  .ecosistema-ruta {
    width: 100%;
  }

  .ecosistema h2 {
    font-size: 52px;
    line-height: 52px;
  }

  .ecosistema-intro {
    max-width: 760px;
  }

  .ecosistema-visual {
    max-width: 720px;
    min-height: auto;
  }

  .ecosistema-imagen {
    min-height: 430px;
  }

  .ecosistema-imagen img {
    height: 430px;
  }
}

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

  .ecosistema-content {
    gap: 40px;
  }

  .ecosistema h2 {
    font-size: 42px;
    line-height: 44px;
  }

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

  .ecosistema-intro {
    padding-left: 18px;
    font-size: 17px;
    line-height: 24px;
  }

  .ecosistema-imagen {
    min-height: 340px;
  }

  .ecosistema-imagen img {
    height: 340px;
  }

  .ecosistema-panel {
    min-height: auto;
    padding: 26px 24px;
    gap: 24px;
  }

  .ecosistema-panel p {
    margin-top: 0;
    font-size: 24px;
    line-height: 28px;
  }

  .ecosistema-paso,
  .ecosistema-paso div {
    flex-direction: column;
    gap: 10px;
  }

  .ecosistema-paso {
    padding: 22px 20px;
  }

  .ecosistema-paso span,
  .ecosistema-paso h3,
  .ecosistema-paso p {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .ecosistema-paso span {
    flex-basis: auto;
    font-size: 32px;
    line-height: 36px;
  }

  .ecosistema-paso h3 {
    font-size: 22px;
    line-height: 28px;
  }
}

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

  .ecosistema h2 {
    font-size: 34px;
    line-height: 37px;
  }

  .ecosistema-imagen {
    min-height: 300px;
  }

  .ecosistema-imagen img {
    height: 300px;
  }

  .ecosistema-paso p {
    font-size: 16px;
    line-height: 23px;
  }
}
