main.tpa {
  padding: 1em;
}

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

.nosotros,
.nuestros-asesores,
.nuestro-trabajo,
.capania-especial,
.genuinos,
.solicita-tu-turno,
.club-toyota,
.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;
}

.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(4, 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;
}

.nuestro-trabajo {
  justify-content: center;
  flex-direction: column;

  & .box-trabajo {
    padding: 1em;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1em;

    & .box-title {
      width: 50%;
      display: flex;
      align-items: center;
      flex-direction: column;

      & h3 {
        font-size: 2.1rem;
        color: var(--colorPrimario);
        text-align: center;
      }
      & p {
        color: #202020;
        font-size: 1.1rem;
        text-align: center;
        width: 70%;
        display: block;
      }
    }
    & .box-img {
      width: 45%;
      object-fit: scale-down;

      & img {
        border-radius: 10px;
        width: 100%;
      }
    }
  }
}

/* Repuestos Genuinos */

.genuinos {
  & .repuestos-container {
    width: 100%;
    display: flex;
    gap: 1em;
    justify-content: space-between;

    & .img-container {
      width: 35%;
    }

    & .info {
      width: 60%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      padding: 1em;
      & h3 {
        font-size: 2.5rem;
      }

      & p {
        font-size: 1.5rem;
        color: #000;
        width: 70%;
        text-align: start;
      }
      & a {
        color: var(--colorPrimario);
        text-decoration: none;
        font-size: 2.5rem;
        text-align: right;
        display: block;
        width: 100%;
        object-fit: scale-down;

        & img {
          width: 25px;
        }
      }
    }
  }
}

/* CAMAPAÑA ESPECIAL */

.capania-especial {
  justify-content: center;
  flex-direction: column;
  align-items: center;

  & h3,
  h4,
  p {
    color: #000;
  }
  & h3 {
    font-size: 1.7rem;
  }

  & h4 {
    font-size: 1.2rem;
    margin-bottom: 1em;
  }

  & p {
    font-size: 1rem;
    width: 50%;
    padding: 0;
    margin: 0;
  }

  & .sevicio-container {
    width: 60%;
    object-fit: scale-down;
    margin-top: 1em;
    & img {
      width: 100%;
    }
  }

  & .telefonos-grid {
    display: flex;
    justify-content: flex-end;
    & > li {
      width: 30%;
    }
  }
}
/* club-toyota-container */

.club-toyota {
  flex-direction: column;
  justify-content: center;

  & .club-toyota-container {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;

    & .img-container {
      padding: 1em;
      width: 35%;
      object-fit: scale-down;

      & img {
        width: 100%;
        padding: 1em;
      }
    }
    & .info {
      width: 40%;
      & h3 {
        font-size: 1.5rem;
      }
      & a {
        color: var(--colorPrimario);
        text-decoration: none;
        font-size: 2.5rem;
        width: 100%;
        text-align: right;
        display: block;

        & img {
          width: 25px;
        }
      }

      & p {
        display: block;
        text-align: start;
        padding: 0;
        font-size: 1.1rem;
        color: #202020;
        line-height: inherit;
      }
    }
  }
}

/* SOLICITA TU TURNO */
.solicita-tu-turno {
  flex-direction: column;
  align-items: center;
  justify-content: center;

  & ul {
    width: 100%;
    padding: 0;
    display: flex;
    gap: 1em;
    justify-content: center;
  }
  .turnos-cotainer-btn {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    align-items: flex-start;

    & .button-turno {
      display: flex;
      flex-direction: column;
      width: 30%;
      align-items: center;
      & button {
        flex-direction: column;
        gap: 10px;
        background-color: transparent;
        color: #000;
        display: flex;

        & img {
          width: 40px;
        }
      }
      & p {
        color: #000;
        font-size: 0.9rem;
        width: 80%;
      }
      & a {
        & img {
          width: 40px;
        }
      }
    }
  }
}

.genuinos {
  flex-direction: column;
}

/* 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-column-gap: 0px;
  grid-row-gap: 40px;
  position: relative;
}
.telefonos-grid li,
.button-turno a,
button {
  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,
.button-turno 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;
      }
    }
  }

  .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;
  }

  .convencional-modelos {
    width: 100%;

    & 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);
    }
  }
  .uct-container {
    width: 100%;
    padding: 0;

    & .uct-info {
      flex-direction: column;
      & .img-container {
        width: 40%;
      }
      & .info {
        width: 100%;

        & h3 {
          font-size: 0.9rem;
        }
        & p {
          margin-bottom: 1rem;
        }

        & .content {
          flex-direction: column;

          & button {
            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%;
  }

  .nuestro-trabajo {
    width: 100%;
    gap: 10px;

    & .box-trabajo {
      flex-direction: column;
      border: 1px solid #eee;

      & .box-title {
        width: 100%;

        & h3 {
          font-size: 1rem;
        }
        & p {
          font-size: 1rem;
          width: 100%;
          text-align: start;
          padding: 0.5px;
        }
      }
      & .box-img {
        width: 100%;
      }
    }
    & .box-trabajo:nth-child(odd) {
      flex-direction: column-reverse;
    }
  }
  .club-toyota {
    padding: 0;
    h2 {
      display: none;
    }
    .club-toyota-container {
      flex-direction: column;

      & .img-container {
        width: 100%;
        padding: 0;
      }
      & .info {
        width: 100%;

        & a {
          margin-bottom: 1em;
          font-size: 1.5rem;
          & img {
            width: 10px;
          }
        }
      }
    }
  }

  .capania-especial {
    width: 100%;

    & .sevicio-container {
      width: 100%;
    }
    & h3{
      text-align: center;
      font-size: 1.5rem
    }
    & h4{
      text-align: center;
      font-size: 1rem;
    }
    & p{
      width: 100%;
      text-align: start;
    }
    & .telefonos-grid{
      width: 100%;
      & li{
        width: 100%;

        & a{
          font-size: 1rem;
          height: auto;
        }
      }
    }
  }
  .genuinos {
    width: 100%;

    & .repuestos-container {
      flex-direction: column;

      & .img-container {
        width: 100%;
      }

      & .info {
        width: 100%;
        padding: 0;
        & p {
          width: 100%;
          padding: 0;
          font-size: 1.1rem;
        }
        & a {
          font-size: 1.5rem;
          & img {
            width: 10px;
          }
        }
      }
    }
  }
  & .solicita-tu-turno {
    & .turnos-cotainer-btn {
      flex-direction: column;
      gap: 1em;
      & .button-turno {
        padding: 10px;
        flex-direction: column;
        width: 100%;
        border: 1px solid #eee;

        & a {
          width: 100%;
          flex-direction: row;
          padding: 1em;
          font-size: 1rem;
          height: auto;
        }
        & button{
          flex-direction: row;
          width: 100%;
          height: auto;
          justify-content: space-between;
        }
        & p {
          width: 100%;
          font-size: .8rem;
        }
      }
    }
  }
}
