@media (min-width: 361px)and (max-width: 767px) {
  .valores__fila {
    max-width: 500px;
    margin-inline: auto;
    padding: 0 20px;
  }

  .valor {
    padding: 30px 32px;
  }

  .valor__cab {
    min-height: 55px;
    gap: 14px;
  }

  .valor__ico {
    width: 52px;
    height: 52px;
  }

  .valor__titulo {
    font-size: 23px;
  }

  .valor__texto {
    margin-top: 15px;
  }
}

@media screen and (min-width: 768px)and (max-width: 1023px) {
  .formulario__grid {
    width: 100%;
    max-width: 1258px;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 12.5px;
  }

  .formulario__grid>.campo:nth-child(3) {
    grid-column: 1/-1;
  }
}

@media (min-width: 768px)and (max-width: 991px) {
  .valores {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    align-content: start;
    -moz-column-gap: 32px;
    column-gap: 32px;
    row-gap: 32px;
    padding: 64px 20px;
  }

  .valores>.container {
    grid-column: 1/-1;
    margin-bottom: 20px;
  }

  .valores__fila {
    display: contents;
  }

  .valor {
    width: auto;
    max-width: none;
    min-height: 206px;
    padding: 30px 40px;
  }

  .valores__fila--2 .valor:last-of-type {
    grid-column: 1/-1;
    justify-self: center;
    width: calc(50% - 16px);
  }

  .valor__cab {
    min-height: 58px;
  }
}

@media screen and (min-width: 768px)and (max-width: 991px) {
  .footer__grid {
    display: grid;
    grid-template-columns: max-content max-content max-content;
    justify-content: center;
    align-items: start;
    gap: 40px 32px;
  }

  .footer__logo,
  .footer__col--secciones,
  .footer__col--contacto,
  .footer__col--dir {
    flex: none;
  }

  .footer__logo {
    grid-column: 1/-1;
    justify-self: center;
  }
}

@media screen and (min-width: 768px)and (max-width: 991.98px) {
  .nav__menu {
    margin-left: calc(315px - (992px - 100vw)*.58);
  }
}

@media screen and (min-width: 769px)and (max-width: 991px) {
  .hero {
    height: 520px;
  }

  .hero__flecha {
    width: 60px;
    height: 60px;
  }

  .hero__flecha img {
    width: 60px;
    height: 60px;
  }

  .hero__flecha--prev {
    left: 2.5%;
  }

  .hero__flecha--next {
    right: 2.5%;
  }
}

@media screen and (min-width: 992px)and (max-width: 1399px) {
  .area__pildora {
    width: min(372px,62.32%);
  }

  .area__titulo {
    text-wrap: balance;
  }

  .hero {
    height: calc(520px + (100vw - 992px)*.838235);
  }

  .hero__titulo-1 {
    font-size: calc(30.752px + (100vw - 992px)*.061147);
  }

  .hero__titulo-2 {
    font-size: calc(51.584px + (100vw - 992px)*.101265);
    margin-top: calc(26px + (100vw - 992px)*.053194);
  }

  .mision {
    background-image: linear-gradient(rgba(55, 55, 55, 0.5), rgba(55, 55, 55, 0.5)),url("../images/quienes-somos/bgright.jpg");
    background-size: auto,auto 100%;
    background-position: 0 0,right top;
  }

  .mision>.container {
    flex-direction: row;
    align-items: center;
    gap: clamp(40px,8.5vw,119px);
  }

  .mision__bgizq {
    display: block;
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 0;
    right: min(50.75% - 1.5px,50% + 65px - 4.25vw);
    background-image: linear-gradient(rgba(55, 55, 55, 0.5), rgba(55, 55, 55, 0.5)),url("../images/quienes-somos/bgleft.jpg");
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
    pointer-events: none;
  }

  .mision__marco {
    width: min(45%,608px);
  }

  .mision__texto {
    max-width: 402px;
  }

  .vision {
    padding: clamp(28px,33.7px + 3.03vw,76px) 0;
  }

  .vision>.container {
    flex-direction: row;
    align-items: center;
    max-width: none;
    padding-inline: clamp(56px,7.5vw,104px) clamp(40px,5.1vw,71px);
    gap: clamp(48px,7.2vw,100px);
  }

  .vision__texto {
    flex: 0 1 480px;
    width: 480px;
    max-width: 480px;
  }

  .vision__foto {
    flex: 1 1 0;
    align-self: center;
    width: auto;
    min-width: 0;
    margin: 0;
  }
}

@media (min-width: 992px)and (max-width: 1199px) {
  .valores {
    padding: 80px 0;
  }

  .valores__fila {
    width: 100%;
    justify-content: center;
    gap: 59px;
    margin-top: 60.2px;
    padding: 0 40px;
  }

  .valores__fila--2 {
    gap: 61px;
    margin-top: 33px;
  }

  .valor {
    flex: 0 0 calc((100% - 118px)/3);
    width: auto;
    max-width: none;
    padding: 26px 22px 26px;
  }

  .valor__cab {
    min-height: 48px;
    gap: 12px;
  }

  .valor__ico {
    width: 46px;
    height: 46px;
  }

  .valor__titulo {
    font-size: 21px;
  }

  .valor__texto {
    margin-top: 15px;
  }
}

@media screen and (min-width: 992px)and (max-width: 1199px) {
  .footer__grid {
    flex-wrap: nowrap;
    gap: 32px;
  }
}

@media (min-width: 1200px)and (max-width: 1399px) {
  .valores {
    padding: 99.2px 0 105.04px;
  }

  .valores__fila {
    width: 100%;
    justify-content: center;
    gap: 59px;
    margin-top: 60.2px;
    padding: 0 40px;
  }

  .valores__fila--2 {
    gap: 61px;
    margin-top: 33px;
  }

  .valor {
    flex: 0 0 calc((100% - 118px)/3);
    width: auto;
    max-width: none;
    padding: 30px 40px 0;
  }

  .valor__cab {
    min-height: 58px;
  }

  .valor__ico {
    width: 55px;
    height: 55px;
  }

  .valor__titulo {
    font-size: 24px;
  }

  .valor__texto {
    margin-top: 17px;
  }
}

@media screen and (min-width: 1200px)and (max-width: 1399px) {
  .footer__grid {
    flex-wrap: nowrap;
    gap: 40px;
  }
}

@media (min-width: 1400px) {
  .hero__titulo-1 {
    margin-left: -1.5px;
  }

  .hero__titulo-2 {
    margin-left: -0.5px;
  }

  .footer__grid {
    padding-bottom: 60px;
  }

  .subfooter .subfooter__credito {
    position: relative;
    left: 1px;
  }

  .bienvenida__titulo {
    top: 2px;
  }

  .mision__titulo {
    top: 2px;
  }

  .mision__marco {
    margin-left: -5px;
  }

  .mision__marco img {
    margin: -4px 0 0 -4px;
  }

  .mision__texto {
    margin-top: 181.2px;
  }

  .vision__titulo {
    left: -3px;
    top: 1px;
  }

  .bienvenida__texto {
    position: relative;
    left: 1.28px;
    top: 1px;
  }

  .mision__parrafo {
    position: relative;
    left: -0.6px;
  }

  .vision__parrafo {
    position: relative;
    left: -0.25px;
    width: 481.5px;
  }

  .valores__titulo {
    position: relative;
    top: 1px;
  }

  .cta {
    overflow-x: clip;
    overflow-y: visible;
  }

  .cta__fondo {
    top: -1px;
  }

  .valor {
    flex: 0 1 463px;
  }

  body[data-page="3"] .subfooter {
    padding: 34.5px 0;
  }

  .hero__flecha--prev {
    left: clamp(12px,50% - 748px,212px);
  }

  .hero__flecha--next {
    right: clamp(12px,50% - 753px,207px);
  }
}

@media (min-width: 1400px)and (max-width: 1586px) {
  .valores__fila {
    width: 100%;
    padding: 0 40px;
    justify-content: center;
  }

  .valores__fila--2 {
    width: 100%;
  }

  .valores__sep {
    display: none;
  }

  .valores .valor {
    flex: 0 0 calc((100% - 118px)/3);
  }
}

@media screen and (min-width: 1400px)and (max-width: 1569px) {
  .mision {
    background-image: url("../images/quienes-somos/bgright.jpg");
    background-size: 1332px 691px;
    background-position: right 0 top 1px;
    position: relative;
    z-index: 0;
  }

  .mision__bgizq {
    display: block;
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 0;
    right: calc(50% - 12.5px);
    background-image: url("../images/quienes-somos/bgleft.jpg");
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
    pointer-events: none;
  }
}

@media screen and (min-width: 1570px)and (max-width: 1919px) {
  .mision {
    background-size: calc(1562.314px - 48.7143%) auto,1332px 691px;
    background-position: left 50%,right 0 top 1px;
  }
}

@media (min-width: 1587px) {
  .valores__fila {
    justify-content: flex-start;
    gap: 0;
    margin-left: calc(50% - 753px);
  }

  .valores__fila--2 {
    margin-left: calc(50% - 492px);
  }

  .valores__sep--a {
    margin-left: 27px;
    margin-right: 29px;
  }

  .valores__sep--b {
    margin-left: 30px;
    margin-right: 30px;
  }

  .valores__sep--c {
    margin-left: 30px;
    margin-right: 30px;
  }

  .valores__fila:not(.valores__fila--2) .valor:nth-of-type(3) {
    padding-top: 27px;
  }

  .valor {
    padding: 31px 40px 0 39.5px;
  }

  .valores__fila:not(.valores__fila--2) .valor:nth-of-type(1) .valor__texto {
    margin-left: .5px;
  }

  .valores__fila:not(.valores__fila--2) .valor:nth-of-type(2) .valor__texto {
    margin-left: 1px;
  }

  .valores__fila:not(.valores__fila--2) .valor:nth-of-type(3) .valor__texto {
    margin-left: .5px;
  }

  .valores__fila--2 .valor:nth-of-type(1) .valor__texto {
    margin-left: 2px;
  }

  .valores__fila--2 .valor:nth-of-type(2) .valor__texto {
    margin-left: 1px;
  }

  .valor__texto {
    margin-top: 16.5px;
  }

  .valor__cab {
    gap: 18.5px;
  }
}