main.tpa {
  padding: 1em;
}

section > h2 {
  font-size: 2.5rem;
  text-align: center;
}

.nosotros,
.nuestros-asesores,
.tpa-modelos,
.telefonos-utiles {
  margin: auto;
  width: 90%;
  padding: 1em;
  display: flex;
  border-bottom: 2.5px solid #222;
}
.nosotros-info,
.nosotros-video {
  width: 50%;
  padding: 1em;
}

.nosotros-video iframe {
  width: 100%;
  height: 100%;
}

.nosotros-info {
  p {
    color: #202020;
    display: block;
    text-align: left;
    font-size: 1.2rem;
    text-wrap: wrap;

    width: 100%;
    padding: 0;
  }

  > span.btn-wp {
    width: 100%;
    height: min-content;
    background-color: var(--WhatsAap);
    display: block;
    padding: 1rem;
    text-align: center;
    a {
      width: 100%;
      border-radius: 0;
      text-decoration: none;
      color: #eee;
      width: 100%;
      img {
        object-fit: scale-down;
        width: 20px;
        margin-left: 5px;
      }
    }
  }
}

.nosotros-info h2 {
  font-size: 2.5rem;
}

/* ASESORES */
.nuestros-asesores {
  align-items: center;
  flex-direction: column;
}

.asesores-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.asesores-container ul {
  padding: 0;
  display: grid;
  width: 90%;
  grid-template-columns: repeat(5, 1fr);

  align-items: center;
  justify-content: center;
}
.asesores-container ul li a {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  align-items: center;
  text-decoration: none;
}

.asesores-container ul li .asesores-avatar {
  width: 200px;
  height: 200px;
  border: 1px solid rgb(248, 237, 237);
  border-radius: 50%;
  overflow: hidden;
}

.asesores-container ul li .asesores-avatar img {
  width: 100%;
  object-fit: scale-down;
}
.asesores-container ul li span {
  color: #202020;
  font-size: 1rem;
  border: 1px solid #a90000;
  display: inline;
  padding: 0.5rem;
  border-radius: 5px;
}

/* MODELOS */
.tpa-modelos {
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.tpa-modelos ul {
  display: flex;
  width: 80%;
  align-items: center;
  justify-content: space-evenly;
  gap: 1em;
  padding: 0;
  flex-wrap: wrap;
}

.tpa-modelos li a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 1em;
  position: relative;
  border-bottom: 1.4px solid transparent;
}

.tpa-modelos li a:hover {
  border-bottom: 1.5px solid #a90000;
}

.tpa-modelos li a:hover::after {
  content: "Click para ver el modelo";
  color: rgb(255, 255, 255);
  display: inline;
  position: absolute;
  border-radius: 5px;
  padding: 0.5rem;

  background-color: #878787e8;
}

.tpa-modelos li a > img {
  width: 100px;
}

/* TELEFONOS UTILES */

.telefonos-utiles {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: none;
}

.telefonos-grid {
  width: 70%;
  display: grid;
  padding: 0;
  justify-items: center;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 0px;
  grid-row-gap: 40px;
}
.telefonos-grid li {
  padding: 1em;
  border-radius: 30px;
  width: 250px;
  height: 115px;
  text-align: center;
  border: 2px solid #a90000;
}

.telefonos-grid li:nth-child(1) {
  grid-area: 1 / 1 / 2 / 2;
}
.telefonos-grid li:nth-child(2) {
  grid-area: 1 / 2 / 2 / 3;
}
.telefonos-grid li:nth-child(3) {
  grid-area: 1 / 3 / 2 / 4;
}
.telefonos-grid li:nth-child(4) {
  grid-area: 2 / 1 / 3 / 2;
}
.telefonos-grid li:nth-child(5) {
  grid-area: 2 / 2 / 3 / 3;
}
.telefonos-grid li:nth-child(6) {
  grid-area: 2 / 3 / 3 / 4;
}

.telefonos-grid li a {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1.3rem;
  gap: 3px;
  color: #202020;
  justify-content: space-between;
  background-color: transparent;
}

.telefonos-grid li a img {
  width: 40px;
  color: #000;
  gap: 0.5rem;
  padding: 1px;
}
.telefonos-grid li:hover {
  transition: 0.35s all;
  transform: translateY(-5px);
}

.telefonos-grid li > button {
  width: auto;
  background-color: transparent;
  color: #202020;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  justify-content: center;
  font-size: 1.3rem;
}

.telefonos-grid li button img {
  width: 40px;
  color: #000;
  gap: 0.5rem;
}

.telefonos-grid li:hover img {
  background-color: #d471c3;
  filter: invert(1);
  border-radius: 50%;
}

.telefonos-grid li:hover:nth-child(4) img {
  background-color: transparent;
  filter: invert(0);
  padding: 0;
  border-radius: 0%;
}

.telefonos-grid li:hover:nth-child(6) img {
  background-color: transparent;
  filter: invert(0);
  padding: 0;
  border-radius: 0%;
}

/* 
 FORMS RECLAMO */

.modal {
  display: none;
  opacity: 0;
  transform: 0.35s all;
}

section.modal-active {
  display: flex;
  opacity: 1;
}

.forms-reclamos {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  background-color: #534f4fa4;
  z-index: 1;
}
.forms-reclamos label,
span {
  display: inline;
  color: #eee;
  margin-bottom: 10px;
}

.forms-reclamos .forms-elements {
  display: flex;
  width: 100%;
  gap: 1em;
}

.forms-reclamos span {
  display: flex;
  flex-direction: column;
  width: 30%;
}

.forms-reclamos span:nth-child(2) {
  width: 70%;
}

.forms-reclamos form {
  background-color: #a90000;
  width: 60%;
  padding: 4em;
  gap: 1em;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  align-items: flex-end;
  box-shadow: 9px 9px 0.8em #c3c3c3;
  margin-bottom: 2em;
}
.forms-reclamos form > span {
  width: 100%;
}

.forms-reclamos form input,
textarea {
  border-radius: 10px;
  padding: 1em;
  box-shadow: inset 0px 12px 0.8em #c3c3c3;
  border: none;
  resize: vertical;
}

.forms-reclamos form button {
  border-radius: 10px;
  background-color: #fff;
  color: #a2000a;
  font-size: 1.5rem;
  padding: 0.7em 1.7em;
  height: auto;
  width: auto;
  box-shadow: inset 0px 12px 1em #c3c3c3;
}

.forms-reclamos > button {
  width: 2rem;
  height: 2rem;
  padding: 1em;
  margin-bottom: 1em;
}

.forms-reclamos .btnEnviar {
  content: "";
  border: 4px solid rgb(135, 135, 135);
  width: 50px;
  height: 50px;
  padding: 0;
  border-radius: 50%;
  border-top-color: transparent;
  background-color: transparent;
  color: transparent;
  box-shadow: none;
  animation: load 0.5s linear infinite;
}
@keyframes load {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@media only screen and (max-width: 750px) {
  section > h2 {
    font-size: 1.5rem;
  }
  .nosotros {
    width: 100%;
    flex-direction: column-reverse;
    padding: 0;

    & .nosotros-info,
    .nosotros-video {
      width: 100%;
      padding: 0;
      & h2 {
        margin-top: 5px;
      }
      & p {
        font-size: 1rem;
      }
    }

    .nosotros-info {
      > span.btn-wp {
        width: 100%;
        padding: 1rem;
        a {
          background-color: var(--WhatsAap);
          width: 100%;
          content: "";
          margin: 0;
          padding: 0.8rem;
          img {
            object-fit: scale-down;
            width: 15px;
          }
        }
      }
    }
  }

  .nuestros-asesores {
    width: 100%;
  }

  .asesores-container {
    width: 100%;
    display: flex;
  }

  .asesores-container ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    padding: 0;
    gap: 0.5rem;
  }
  .asesores-container ul li .asesores-avatar {
    width: 100px;
    height: 100px;
  }
  .asesores-container ul li span {
    font-size: 0.9rem;
    text-wrap: balance;
    text-align: center;
    white-space: nowrap;
  }

  .tpa-modelos {
    width: 100%;
  }
  .tpa-modelos ul {
    padding: 0;
    overflow: hidden;
    overflow-x: scroll;
    width: 100%;
    justify-content: flex-start;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);

    li {
      width: 100%;

      a {
        width: 100%;
        img {
          width: 100%;
        }
      }
    }
  }

  .telefonos-utiles {
    width: 100%;
  }

  .telefonos-utiles h2::after {
    display: block;
    text-align: center;
    content: "Clickea en los botones para contactarte ⬇";
    font-size: 1rem;
    margin-top: 2em;
    color: var(--WhatsAap);
    padding: 1em;
  }

  .telefonos-utiles ul {
    width: 100%;
    gap: 0.5em;
    display: flex;
    flex-direction: column;
  }

  .telefonos-utiles ul li {
    width: 100%;
    display: flex;
    height: auto;
  }

  .telefonos-utiles ul li a {
    width: 100%;
    flex-direction: row;
    text-align: left;
    align-items: center;
    align-content: center;
  }

  .telefonos-utiles ul li button {
    width: 100%;
    flex-direction: row;
    padding: 0;
    height: auto;
    justify-content: space-between;
  }

  .forms-reclamos {
    width: 100%;

    & form {
      padding: 1em;
      width: 100%;

      & .forms-elements {
        flex-direction: column;
      }
      & button {
        width: 100%;
        padding: 0.5em;
        font-size: 1rem;
      }
      & span {
        width: 100%;
      }
    }
  }
  .forms-reclamos span:nth-child(2) {
    width: 100%;
  }
}
