#agencia {
  padding: 0px 0 72px;
}

.back_left {
  position: absolute;
  left: 0;
  background: linear-gradient(to right,
      #e5e8f1 calc(50% - 282px),
      #fff calc(50% - 282px));
  height: 760px;
  z-index: 0;
  width: 100%;
}

.container1140 {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  z-index: 1;
  position: relative;
}

.row-2-cols {
  display: flex;
  gap: 84px;
  align-items: center;
}

.second {
  margin-top: 10px;
  align-items: flex-start;
}

.row-2-cols>*:first-child {
  flex: 0 0 395px;
  padding: 80px 0;
}

.row-2-cols.second>*:first-child {
  flex: 0 0 666px;
  padding: 39px 0 80px 0;
}

.row-2-cols>*:last-child {
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  height: 600px;
}

.col {
  text-align: left;
}

#tag {
  background-color: var(--azul-1);
  color: white;
  font-size: 20px;
  width: fit-content;
  padding: 6px 11px;
  margin-left: 4px;
}

#agencia h2 {
  /* font-size: 40px; */
  font-size: 32px;
  font-weight: 400;
  color: var(--azul-1);
  line-height: 1.2;
  margin-top: 9px;
}

#agencia p.main {
  font-size: 22px;
  /* font-size: 28px; */
  font-weight: 400;
  color: var(--azul-1);
  margin-top: 16px;
  margin-bottom: 20px;
  opacity: 1;
  line-height: 1.25;
  max-width: 600px;
}

#agencia strong {
  font-weight: 600;
}

#agencia p.regular {
  color: black;
  font-size: 16px;
  opacity: 0.8;
  line-height: 1.7;
}

#agencia p.regular.first {
  margin-bottom: 16px !important;
}

.row-2-cols>*:first-child img {
  width: 600px;
  height: auto;
  margin-left: -205px;
}

.row-2-cols>*:nth-child(2) img {
  height: 600px;
}

#data {
  display: flex;
  gap: 10px;
  margin-top: 26px;
  padding-left: 5px;
}

#data div {
  display: flex;
  flex-direction: column;
  color: var(--rojo);
  width: fit-content;
  min-width: 190px;
}

#data div:last-child {
  margin-left: 7px;
}

.cantidad {
  /* font-size: 77px; */
  font-size: 64px;
  font-weight: 600;
  line-height: 1;
}

#data div:nth-child(1) .cantidad {
  min-width: 190px;
}

#data div:nth-child(2) .cantidad {
  min-width: 210px;
}

#data div:last-child .cantidad {
  min-width: 240px;
}

.label {
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

@media (min-width: 768px) and (max-width: 820px) {
  #agencia h2 {
    font-size: 32px;
  }

  #agencia p.main {
    font-size: 22px;
  }

  .row-2-cols.second>*:first-child {
    flex: 0 0 490px;
    padding: 35px 0 80px 0;
  }

  .row-2-cols>*:last-child {
    width: 70%;
  }

  .row-2-cols:nth-child(2) {
    padding-left: 20px;
  }

  #agencia {
    padding: 0px 0 40px;
  }

  .row-2-cols>*:nth-child(2) img {
    height: 600px;
    object-fit: cover;
    object-position: 20%;
  }
}

@media (max-width: 1200px) {
  .row-2-cols {
    display: flex;
    gap: 40px;
  }

  .row-2-cols>*:first-child {
    flex: 0 0 200px;
    padding: 80px 0;
  }

  .row-2-cols>*:last-child {
    padding-right: 30px;
  }

  .row-2-cols>*:first-child img {
    width: 600px;
    height: auto;
    margin-left: -305px;
  }

  /* .row-2-cols:nth-child(2) {
    padding-left: 40px;
  } */

  .row-2-cols>*:nth-child(2) img {
    height: 600px;
    object-fit: cover;
    object-position: -110px;
  }
}

@media (max-width: 1100px) {
  .cantidad {
    font-size: 47px;
    font-weight: 600;
    line-height: 1;
    min-width: 0;
  }

  #data div {
    min-width: 100px;
  }
}

@media (max-width: 870px) {
  .row-2-cols>*:first-child {
    flex: 0 0 100px;
    padding: 80px 0;
  }

  .row-2-cols>*:first-child img {
    width: 600px;
    height: auto;
    margin-left: -405px;
  }
}

@media (max-width: 767px) {
  #agencia {
    padding-bottom: 48px;
  }

  #agencia h2 {
    font-size: 24px;
  }

  #agencia p.main {
    margin-bottom: 24px;
    line-height: 1.25;
    font-size: 20px;
  }

  .row-2-cols {
    flex-direction: column;
  }

  .row-2-cols>* {
    width: 100%;
    padding: 0;
  }

  #agencia p.regular.first {
    margin-bottom: 16px !important;
  }

  .row-2-cols>*:first-child img,
  .row-2-cols>*:nth-child(2) img {
    width: 100%;
    height: auto;
    margin-left: 0;
    display: block;
  }

  .row-2-cols>*:first-child {
    flex: 0 0 100%;
    padding: 0;
  }

  .row-2-cols>*:first-child img {
    width: 100%;
    height: auto;
    margin-left: 0;
  }

  .row-2-cols:nth-child(2) {
    padding-left: 0px;
    padding-top: 30px;
    gap: 0;
  }

  .row-2-cols>*:nth-child(2) img {
    object-position: center;
  }

  .row-2-cols.second>*:first-child {
    flex: 0 0 100%;
    padding: 0;
    order: 2;
  }

  .row-2-cols>*:nth-child(2) img {
    height: auto;
    width: 100%;
  }

  .row-2-cols>*:last-child {
    padding-right: 0px;
    width: 100%;
    height: auto;
    box-sizing: border-box;
  }

  .cantidad {
    font-size: 30px;
    font-weight: 600;
    line-height: 1;
  }

  #data {
    display: flex;
    flex-wrap: wrap;
    /* permite que los div bajen de línea si no caben */
    gap: 10px;
    /* o 0 si quieres */
    margin-top: 26px;
    padding-left: 5px;
    overflow: hidden;
    /* previene cualquier scroll sobrante */
  }

  #data div {
    width: 30%;
    /* cada bloque ocupa todo el ancho del contenedor */
    min-width: 0;
    /* elimina los min-width fijos */
    text-align: left;
    margin-left: 0;
    /* elimina offsets */
  }

  .cantidad {
    font-size: 30px;
    /* ya lo tenías */
    min-width: 0;
    /* elimina los min-width fijos */
    min-width: auto;
    /* o 0 */
  }

  #data div:last-child {
    margin-left: 0;
  }

  .label {
    text-align: left;
  }

  #tag {
    display: inline-block;
    max-width: 100%;
    word-break: break-word;
  }
}