@font-face {
  font-family: "Toyota Type Semibold";
  src: url(../font/453c30f61f42e715218a487d5978f27f.eot);
  src: url("../font/453c30f61f42e715218a487d5978f27f.eot?#iefix")
      format("embedded-opentype"),
    url(../font/453c30f61f42e715218a487d5978f27f.woff2) format("woff2"),
    url(../font/453c30f61f42e715218a487d5978f27f.woff) format("woff"),
    url(../font/453c30f61f42e715218a487d5978f27f.ttf) format("truetype");
  font-display: swap;
}
* {
  box-sizing: border-box;
}
html {
  font-size: 1rem;
  scroll-behavior: smooth;
  transition: 1s ease-in;
  transition: 0.35s ease;
}
body {
  color: #212529;
  --colorPrimario: #d50516;
  --WhatsAap: #008934;
  --ToyotaFont: "Toyota Type Semibold", Verdana, Geneva, Tahoma, sans-serif;
  font-family: var(--ToyotaFont);
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] {
  --moz-appearance: textfield;
}
button,
.button {
  align-content: center;
  align-items: center;
  background-color: var(--colorPrimario);
  border: none;
  border-radius: 5em;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 1rem;
  height: 3.5em;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  width: 20%;
}
button:disabled {
  background-color: rgb(131, 117, 117);
}
header {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  width: 100%;
}
.header-conteiner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: auto;
  position: relative;
  width: 80%;
}
ul {
  list-style-type: none;
}
.top-header {
  background-color: #000;
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0;
  margin-top: 0;
  padding: 1em;
}
.top-header a {
  color: #fff;
  margin-right: 1em;
  text-decoration: none;
}
.header-sec {
  align-items: center;
  background-color: #fff;
  border-bottom: 2px solid rgba(34, 34, 34, 0.112);
  display: flex;
  justify-content: center;
  width: 100%;
}
nav {
  margin-right: 1em;
  width: 100%;
}
.sub-menu {
  display: flex;
  flex-direction: row;
  height: 4em;
  justify-content: flex-end;
  margin-right: 1em;
  padding: 0;
  align-items: center;
}
.sub-menu li {
  align-content: flex-end;
  display: flex;
  justify-content: center;
  margin: 0;
  padding-top: 0;
  z-index: 1;
}
.sub-menu a {
  align-content: flex-end;
  color: #000;
  display: flex;
  justify-content: flex-start;
  padding: 1em;
  text-decoration: none;
}
.sub-menu li a:hover {
  border-bottom: 1px solid var(--colorPrimario);
}
.modelos-autos ul {
  display: none;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  margin: auto;
  margin-top: 1em;
  opacity: 0;
  padding: 0.1em;
  position: absolute;
  transition: 0.3s;
}
.modelos-autos:hover ul {
  align-items: center;
  background-color: #fff;
  border: 1px solid #222;
  border-top: none;
  display: flex;
  justify-content: center;
  margin-top: 3em;
  opacity: 1;
  text-align: center;
}
.menu-posventa ul {
  display: none;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  margin: auto;
  margin-top: 1em;
  opacity: 0;
  padding: 0.1em;
  position: absolute;
  transition: 0.3s;
}
.menu-posventa:hover ul {
  align-items: center;
  background-color: #fff;
  border: 1px solid #222;
  border-top: none;
  display: flex;
  justify-content: center;
  margin-top: 3em;
  opacity: 1;
  padding: 0.1em;
  text-align: center;
}
.menu-posventa ul li a:hover {
  background-color: var(--colorPrimario);
  color: #fff;
}
#modelo-contenedor::-webkit-scrollbar {
  background-color: #aaa;
}
#modelo-contenedor::-webkit-scrollbar-thumb {
  background: var(--colorPrimario);
  border-radius: 10px;
  width: 10px;
}
.modelos-autos ul li {
  align-content: center;
  align-items: center;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
  width: 100%;
}
.modelos-autos ul a {
  display: flex;
  font-size: 0.8em;
  text-align: start;
  width: 90%;
}
.modelos-autos ul li:hover a {
  background-color: var(--colorPrimario);
  color: #fff;
}
.modelos-plan ul {
  display: none;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  margin: auto;
  margin-top: 1em;
  opacity: 0;
  padding: 0.1em;
  position: absolute;
  transition: 0.3s;
}
.modelos-plan:hover ul {
  align-items: center;
  background-color: #fff;
  border: 1px solid #222;
  border-top: none;
  display: flex;
  justify-content: center;
  margin-top: 3em;
  opacity: 1;
  text-align: center;
}
.modelos-plan ul li:hover a {
  background-color: var(--colorPrimario);
  color: #fff;
}
.modelos-plan ul li {
  align-content: center;
  align-items: center;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
  width: 100%;
}
.modelos-plan ul li a {
  display: flex;
  font-size: 0.8em;
  text-align: start;
  width: 90%;
}
.sub-menu .contacto-mobile {
  display: none;
}

.usados-menu ul {
  display: none;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  margin-right: 1em;
  margin-top: 1em;
  position: absolute;
  transition: 0.3s;
}
.usados-menu:hover ul {
  align-content: flex-end;
  align-items: flex-start;
  background-color: #fff;
  display: flex;
  justify-content: flex-start;
  margin-top: 3em;
  padding: 0.5em;
  text-align: start;
}
.usados-menu ul li a {
  font-size: 0.8em;
  width: 100%;
}
.usados-menu ul li:hover a {
  background-color: var(--colorPrimario);
  color: #fff;
}

.logo-conteiner {
  display: block;
  margin-left: 5em;
  width: 220px;
  a {
    color: #000;
    text-decoration: none;

    .logo-toyota {
      display: flex;
      flex-direction: row;
      gap: 1px;
      padding: 1px;
      min-width: 3em;
      gap: .5rem;
      align-items: center;
      img {
        width: 39px;
      }
      h1 {
        text-wrap: nowrap;
        font-size: 1.5rem;
        border-left: 2px solid #000;
        padding-left: .5rem;
        margin: 0;
      }
      h2{
        display: none;
      }
    }
  }
}
.modelos-hibridos {
  color: #eee;
  position: relative;
}
.sub-menu .modelos-autos ul:hover {
  color: red;
}

.sub-menu li .modelos-hibridos ul,
.sub-menu .gazzo-racing ul {
  display: none;
  list-style-type: none;
  position: absolute;
  top: -40px;
  width: 100%;
  left: 160px;
}
/* .sub-menu .gazzo-racing{
  display: none
} */

.sub-menu .gazzo-racing ul {
  top: -20px;
}

.sub-menu li ul .menu-active {
  display: flex;
}

.sub-menu .modelos-hibridos .hibrid-modelos li a,
.sub-menu .gazzo-racing .gazzo-list li a {
  display: flex;
  list-style-type: none;
  color: #222;
  background-color: #fff;
}
.sub-menu .modelos-hibridos .hibrid-modelos li a:hover {
  background-color: var(--colorPrimario);
  color: #fff;
}

.sub-menu .gazzo-racing .gazzo-list li a:hover {
  background-color: var(--colorPrimario);
  color: #fff;
}

footer {
  width: 100%;
  content-visibility: auto;
}
footer h2 {
  color: var(--colorPrimario);
  font-size: 1.2em;
}
.footer-contact {
  align-content: center;
  align-items: center;
  background-color: #343533;
  display: flex;
  flex-direction: column;
  gap: 1em;
  height: auto;
  justify-content: center;
  padding: 1em 0 1em 0;
  text-align: center;
  width: 100%;
}
.newsletter-conteiner {
  border: 5px solid rgba(128, 123, 117, 0.199);
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 1em;
  justify-content: center;
  padding: 2em 0 1em 0;
  width: 80%;
}
.newsletter-conteiner h2 {
  font-size: 1rem;
  margin: 0;
  padding: 0;
}
.newsletter-conteiner p {
  font-size: 1rem;
  margin: 0;
  padding: 1px;
  color: #eee;
  width: 100%;
  text-align: center;
}
.newsletter-conteiner form {
  align-content: center;
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  height: auto;
  justify-content: center;
  margin: 0;
}
.newsletter-conteiner h2 {
  color: #fff;
}
.newsletter-conteiner input {
  background-color: #000;
  border: none;
  color: #fff;
  height: 3em;
  max-width: 30em;
  outline: none;
  padding: 1em;
  width: 100%;
}
.newsletter-conteiner input::placeholder {
  color: #fff;
  font-weight: 500;
}
#suscribirse-btn {
  background: linear-gradient(rgb(214, 8, 8), rgb(121, 30, 30));
  border-radius: 0;
  font-weight: 700;
  height: 3em;
  text-align: center;
  width: auto;
}
#suscribirse-btn:disabled {
  background: rgb(88, 85, 85);
}
.footer-rrss {
  display: flex;
  flex-direction: column;
  gap: 1em;
  justify-content: center;
  width: 80%;
}
.footer-rrss a {
  padding: 5px;
}
.footer-rrss img {
  width: 1.7em;
}
.footer-rrss img:hover {
  border-bottom: 1px solid #f6f6f6;
  cursor: pointer;
  filter: blur(1px);
}
.footer-rrss h2 {
  color: #fff;
  font-size: 0.8rem;
  margin-bottom: 0;
}
.footer-rrss span {
  align-content: center;
  align-items: center;
  display: flex;
  justify-content: center;
}
.btn-wp-conteiner {
  display: flex;
  margin-top: 0;
  width: 80%;
  gap: 15px;
  margin-bottom: 1em;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-wp-conteiner {
  .btn-wp {
    > a {
      text-decoration: none;
      color: #eee;
      display: flex;
      flex-direction: column;
      width: 100%;

      p {
        font-size: 1rem;
        padding: 0;
        margin-bottom: 0.5rem;
        color: #eee;
      }
      span {
        align-items: center;
        background-color: var(--WhatsAap);
        border-radius: 5em;
        color: #fff;
        display: flex;
        font-weight: 700;
        height: 3em;
        justify-content: center;
        padding: 0.2em;
        text-align: center;
        text-decoration: none;
        width: 10em;
        gap: 5px;
      }
    }
  }
}

.footer-second {
  display: flex;
  justify-content: center;
  width: 100%;
  gap: 1rem;

  h2 {
    color: var(--colorPrimario);
  }

  li {
    color: red;
    font-size: 0.8rem;
    list-style: disc;
    padding-bottom: 1em;
    padding-left: 0;
  }
}
.footer-second a {
  color: #212529;
  text-decoration: none;
}
.footer-accesos {
  color: #000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-left: 2em;
  margin-right: 2em;
  padding: 1em;
}
.footer-accesos a {
  font-weight: 700;
}
.footer-copy {
  align-items: center;
  background-color: #000;
  display: flex;
  justify-content: center;
  width: 100%;
}
.footer-copy h2,
p {
  color: #eee;
  display: inline;
  font-size: 0.7rem;
  padding: 1em;
  text-align: center;
}
.footer-suc {
  align-items: flex-start;
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 1em;
  width: 50%;
  gap: 1rem;
  .img-footer-container {
    width: 80%;

    img {
      width: 100%;
      object-fit: scale-down;
    }
  }

  ul {
    padding: 0;
    li {
      color: #212529;
      list-style: none;
    }
  }
}

.footer-suc img {
  border-radius: 5px;
  object-fit: contain;
  width: 70%;
}
.ventas-footer,
.posventa-footer {
  align-items: center;
  display: flex;
  flex-direction: column;
  width: 100%;

  p {
    margin: 0;
    padding: 0;
    font-size: 1rem;
    color: var(--colorPrimario);
    text-align: center;
    width: 100%;
  }
}
.posventa-footer {
  li {
    a {
      align-content: center;
      align-items: center;
      color: var(--colorPrimario);
      display: flex;
      font-size: 1.7rem;
      font-weight: 700;
      justify-content: center;
      letter-spacing: 1.5px;
      padding: 0;
      text-align: center;
    }
  }
  li:nth-child(4) {
    color: var(--colorPrimario);
    letter-spacing: 1.5px;
    padding: 0;
    text-align: center;
  }
}
.ventas-footer li a {
  align-content: center;
  align-items: center;
  color: var(--colorPrimario);
  display: flex;
  font-size: 1.7rem;
  font-weight: 700;
  justify-content: center;
  padding: 0;
  text-align: center;
}
.ventas-footer li:nth-child(4) {
  color: var(--colorPrimario);
  letter-spacing: 1.5px;
  padding: 0;
  text-align: center;
}
.ventas-footer a img {
  margin-right: 10px;
  width: 27px;
}
.posventa-footer a img {
  margin-right: 10px;
  width: 27px;
}
nav input,
span {
  display: none;
}
label {
  display: none;
}
#nws-error {
  margin: 0;
  padding: 0;
  margin-top: -1em;
  color: rgb(223, 73, 73);
  animation: 0.35s all ease-in;
  opacity: 0;
}
.footer-copy h2 a {
  font-size: 0.9rem;
}

.modal {
  background-color: #202020d4;
  position: fixed;
  inset: 0;
  padding: 2rem;
  display: none;
  flex-direction: column;
  width: 100%;
  align-items: center;
  gap: 1rem;
  z-index: -1;

  > button {
    width: min-content;
    height: 2.5rem;
    width: 2.5rem;
    display: flex;

    align-items: center;
    justify-content: center;
  }
  form {
    background-color: #fff;
    padding: 1em;
    width: 30%;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    display: flex;
    flex-direction: column;
  }
}

.modal-active {
  z-index: 1;
  display: flex;
}

.body-scroll {
  overflow: hidden;
}
@media only screen and (max-width: 1100px) {
  .sub-menu a {
    padding: 0.5em;
  }
}
@media only screen and (max-width: 750px) {
  header {
    width: 100%;
  }
  nav {
    margin: 0;
    width: 100%;
  }
  main {
    align-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
  }
  .top-header {
    display: none;
  }
  .header-sec {
    align-content: flex-start;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
  }
  .logo-conteiner {
    margin: 0;
    min-height: 10px;
    padding: 1em;
    width: 100%;
  }
  .checkbtn {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin: 1em;
  }
  .sub-menu {
    align-items: flex-start;
    background-color: #212529;
    border-bottom: 1px solid #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: inherit;
    left: -100%;
    overflow-y: scroll;
    padding-bottom: 3em;
    position: absolute;
    text-align: center;
    top: 100px;
    transition: all 0.5s;
    width: 100%;
    z-index: 1;
  }
  .sub-menu li {
    align-content: center;
    align-items: flex-start;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    justify-content: center;
    line-height: 30px;
    margin: 10px 0;
    margin-left: 10px;
  }
  .sub-menu li a {
    padding: 0;
  }
  nav ul li a {
    font-size: 20px;
  }
  li a:hover,
  li a.active {
    background: none;
    color: red;
  }
  #check:checked ~ ul {
    left: 0;
  }
  .menu-hmg {
    align-content: center;
    align-items: center;
    border: 1px solid rgb(84, 80, 80);
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    height: 40px;
    justify-content: center;
    padding: 2px;
    width: auto;
  }
  .menu-hmg span {
    background-color: #000;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    height: 5.1px;
    margin: 2.5px;
    transition: 0.3s ease-in;
    width: 40px;
  }
  #check:checked ~ .checkbtn span:nth-last-of-type(1) {
    margin-top: -19px;
    position: relative;
    transform: rotate(-45deg);
  }
  #check:checked ~ .checkbtn span:nth-last-of-type(2) {
    opacity: 0;
  }
  #check:checked ~ .checkbtn span:nth-last-of-type(3) {
    transform: rotate(45deg);
  }
  .sub-menu a {
    color: #fff;
  }

  .modelos-hibridos {
    .hibrid-modelos.menu-active {
      top: 1em;

      li {
        a {
          color: #eee;
          background-color: transparent;
        }
      }
    }
  }
  .gazzo-racing {
    .gazzo-list.menu-active {
      top: 1em;

      li {
        a {
          color: #eee;
          font-size: 0.8rem;
          background-color: transparent;
        }
      }
    }
  }

  .modelos-autos {
    ul {
      display: flex;
      position: static;
      color: #eee;
      opacity: 1;
      margin: 0;

      li {
        display: flex;
        flex-direction: row;
        margin: 0;
        padding: 0;
        width: 100%;
        gap: 5px;
        margin-left: 5px;
        a {
          text-transform: uppercase;
          color: #eee;
          font-size: 0.8rem;
        }
      }
      li:before {
        content: "•";
        color: rgb(250, 41, 41);
      }
    }
  }

  .modelos-plan {
    ul {
      margin: 0;
      opacity: 1;
      padding: 0;
      position: relative;

      li {
        display: flex;
        flex-direction: row;
        margin: 0;
        padding: 0;
        width: 100%;
        gap: 5px;
        margin-left: 5px;
        a {
          margin: 0;
          padding: 0;
          width: 100%;
        }
      }

      li::before {
        content: "•";
        color: rgb(250, 41, 41);
      }
    }
  }

  .menu-posventa {
    ul {
      display: flex;
      position: static;
      color: #eee;
      opacity: 1;
      margin: 0;

      li {
        display: flex;
        flex-direction: row;
        margin: 0;
        padding: 0;
        width: 100%;
        gap: 5px;
        margin-left: 5px;
        a {
          text-transform: uppercase;
          color: #eee;
          font-size: 0.8rem;
        }
      }
      li:before {
        content: "•";
        color: rgb(250, 41, 41);
      }
    }
  }

  .usados-menu {
    ul {
      display: flex;
      position: static;
      color: #eee;
      opacity: 1;
      margin: 0;

      li {
        display: flex;
        flex-direction: row;
        margin: 0;
        padding: 0;
        width: 100%;
        gap: 5px;
        margin-left: 5px;
        a {
          text-transform: uppercase;
          color: #eee;
          font-size: 0.8rem;
        }
      }
      li:before {
        content: "•";
        color: rgb(250, 41, 41);
      }
    }
  }
  .usados-menu:hover {
    align-content: flex-end;
    align-items: flex-start;
    display: flex;
    justify-content: flex-start;
    text-align: start;
  }
  .usados-menu ul {
    align-content: center;
    align-items: center;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    position: relative;
  }
  .usados-menu li {
    align-items: flex-start;
    margin: 0;
    padding: 0;
    text-align: start;
    width: 100%;
  }
  .usados-menu ul li a {
    margin: 0;
    padding: 0;
    width: 100%;
  }
  .usados-menu:hover ul {
    background-color: transparent;
    margin: 0;
    padding: 0;
  }
  .sub-menu .contacto-mobile {
    display: flex;
  }
  .modelos {
    flex-direction: column;
    height: auto;
    margin: 0;
    margin-bottom: 2em;
    padding: 0;
    width: 100%;
  }
  .modelos ul {
    align-items: flex-start;
    flex-direction: row;
    height: auto;
    padding: 0;
    width: 100%;
  }
  footer {
    flex-direction: column;
  }
  .footer-second,
  .footer-suc,
  .footer-contact {
    align-items: center;
    flex-direction: column;
    height: auto;
    justify-content: center;
    width: 100%;
  }

  .btn-wp-conteiner {
    align-content: center;
    align-items: center;
    flex-direction: column-reverse;
    justify-content: center;
    width: 100%;

    .btn-wp {
      border-bottom: 2px solid var(--WhatsAap);
      flex-direction: row-reverse;
      justify-content: center;
      padding: 0.5em;
      width: 90%;

      a {
        flex-direction: row-reverse;
        justify-content: flex-end;
        align-items: center;

        p {
          margin: 0;
        }
        span {
          background-color: transparent;
          border-radius: 0;
          content: url(../../img/icon/whatsapp-svgrepo-com.svg);
          height: auto;
          margin-right: 1em;
          width: 40px;
        }
      }
    }
  }

  .footer-rrss a {
    width: auto;
  }
  .newsletter-conteiner {
    width: 95%;
  }
  .newsletter-conteiner h2 {
    font-size: 0.8rem;
  }
  .newsletter-conteiner p {
    font-size: 0.7rem;
    padding: 10px;
  }
  .footer-suc img {
    width: 100%;
  }
  .ventas-footer,
  .posventa-footer {
    border-top: 1px dashed var(--colorPrimario);
  }
  .error-landing {
    width: 90%;
  }
  .error-landing h4 {
    font-size: 1rem;
  }
  .error-landing-wp {
    width: 90%;
  }
  .footer-copy h2 a {
    font-size: inherit;
  }

  .footer-suc {
    .img-footer-container {
      width: 100%;
    }

    address {
      width: 100%;
      ul {
        display: flex;
        flex-direction: column;

        li a {
          margin-top: 2rem;
        }
      }
    }
  }
}
 /* Headers(1); */