* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  font-family: "Open Sans", sans-serif;
  color: #fff;
  background-color: #111;
  font-size: 16px;
  line-height: 1.5;
}
h1,
h2,
h3 {
  font-weight: 900;
}
.highlight {
  color: #ffcc00;
}
.btn-primary {
  display: inline-block;
  background: #ffcc00;
  color: #000;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 10px;
  text-decoration: none;
  margin-top: 2rem;
}

/* Hero */
.hero {
  background: url("/landings/repuestos/img/1-header/header.jpg") no-repeat center/cover;
  padding: 60px 20px;
  width: 100%;
  height: 80vh;
  min-height: fit-content;
  /* text-align: center; */
}
.hero-content {
  max-width: 900px;
  margin: auto;
  margin-top: 3rem;
  padding: 0 1rem;
}
h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}
.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  width: 70%;
}
.hero-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
}
.icon {
  margin: 1rem;
  height: 50px;
}
.icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.logo {
  width: 450px;
  margin-left: 8rem;
}

/* Servicio */
.servicio {
  background: url("/landings/repuestos/img/2-servicio/fondo.jpg") no-repeat center/cover;
  padding: 5rem 4rem;
}
.servicio-card {
  max-width: 800px;
  margin: auto;
  display: flex;
}
.servicio-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 3rem;
}
.yellow-text {
  color: #ffcc00;
  font-weight: 600;
}
.servicio-content h2 {
  font-size: 1.7rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  color: black;
  background-color: white;
  border-radius: 10px;
  font-weight: 600;
  height: 13%;
  padding-left: 4rem;
  position: relative;
}
.servicio-content img {
  width: 2.5em;
  margin-right: 1rem;
  position: absolute;
  left: -20px;
}
.servicio-content p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

/* Porqué elegirnos */
.porque {
  background: url("/landings/repuestos/img/3-porque/fondo.jpg") no-repeat center/cover;
  color: #000;
  text-align: center;
  padding: 40px 20px;
  width: 100%;
}
.porque h2 {
  font-size: 2.3rem;
  margin-bottom: 3rem;
  margin-top: 4rem;
}
.porque p {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  width: 60%;
  margin: auto;
}
.beneficios {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 20px;
  padding-bottom: 4rem;
}
.beneficio {
  text-align: center;
  display: flex;
  width: 200px;
  margin-top: 2rem;
  flex-direction: column;
  align-items: center;
}
.beneficio p {
  font-size: 1.1rem;
  color: #000;
  width: fit-content;
  font-weight: bold;
}
.beneficio img {
  width: 70%;
}

/* Repuestos */
.repuestos {
  background: url("/landings/repuestos/img/4-repuestos/fondo.jpg") no-repeat center/cover;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.repuestos h2 {
  font-size: 2.3rem;
  margin-top: 3rem;
  margin-bottom: 3rem;
}
.grid-repuestos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin-top: 20px;
}
.item {
  background: #333;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  border: 2px solid #ffcc00;
}
.item {
  width: 15rem;
  height: 17rem;
  border-radius: 30px;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
}
.item p {
  width: 60%;
  padding: 2rem 3rem;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 1.3rem;
  text-align: center;
  min-width: fit-content;
}
.item.repuestos {
  background: url("/landings/repuestos/img/4-repuestos/repuestos.png") no-repeat center/contain;
}
.item.ejes {
  background: url("/landings/repuestos/img/4-repuestos/eje-trasero.png") no-repeat center/contain;
}
.item.filtros {
  background: url("/landings/repuestos/img/4-repuestos/filtros.png") no-repeat center/contain;
}
.item.frenos {
  background: url("/landings/repuestos/img/4-repuestos/frenos.png") no-repeat center/contain;
}
.item.baterias {
  background: url("/landings/repuestos/img/4-repuestos/baterias.png") no-repeat center/contain;
}
.item.transmision {
  background: url("/landings/repuestos/img/4-repuestos/repuestos.png") no-repeat center/contain;
}
.item.rodados {
  background: url("/landings/repuestos/img/4-repuestos/rodados.png") no-repeat center/contain;
}
.item.sistemas {
  background: url("/landings/repuestos/img/4-repuestos/sistemas.png") no-repeat center/contain;
}

/* Marcas */
.marcas {
  margin-top: 4rem;
  padding: 30px 20px;
  text-align: center;
}
.marcas h2 {
  font-size: 2.3rem;
  margin-bottom: 20px;
}
.marcas h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-weight: 400;
}
.logos {
  margin: 4rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.logos img {
  width: 80px;
  margin: 0 20px;
}

/* Contacto */
.contacto {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: url("/landings/repuestos/img/8-newsletter/fondo.jpg") no-repeat center/cover;
  padding: 5rem 0rem;
}
.contacto-container {
  display: flex;
  height: 500px;
  width: 600px;
  border-radius: 15px;
  margin: 2rem;
}
.form {
  flex: 1;
  color: #000;
  margin-right: 1rem;
}
.form h3 {
  font-size: 1.5rem;
  margin-bottom: 30px;
}
.form input,
.form textarea {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
  border: none;
  background: none;
}
.button-container {
  display: flex;
  width: 100%;
  justify-content: end;
}
.form-container {
  background: #ffcc00;
  width: 100%;
  padding: 1.4rem 1rem;
  border-radius: 20px;
}

.gracias {
  text-align: center;
  background: #ffcc00;
  border-radius: 20px;
  margin-right: 1rem;
  display: flex;
  align-items: center;
  color: black;
}

.form-container button {
  background-color: white;
  padding: 0.2rem 1rem;
  padding-right: 0.5rem;
  border: none;
  border-radius: 15px;
  opacity: 0.9;
  color: black;
  font-weight: bold;
  display: flex;
  align-items: center;
  font-size: 1rem;
  margin-top: 1rem;
}
.form-container button img {
  height: 1.5em;
  margin-left: 0.5rem;
}
.recaptcha-container {
  margin-top: 1rem;
}
.mapa {
  border-radius: 20px;
  overflow: hidden;
}
.mapa iframe {
  width: 100%;
  height: 100%;
}
.redes-container {
  margin-top: 2rem;
  color: black;
  font-weight: bold;
  width: fit-content;
  display: flex;
  align-items: center;
}

.redes-container a {
  text-decoration: none;
  color: black;
}

.redes-container img {
  height: 1.3em;
  margin-right: 0.5rem;
}
.redes-container div {
  display: flex;
  align-items: center;
}
.whatsapp {
  margin-right: 2rem;
}

/* Footer */
footer {
  text-align: center;
  background: #201e1e;
  padding: 10px;
  font-size: 0.9em;
}
.logo-footer {
  width: 300px;
  padding: 3rem;
}
.promaker-footer {
  padding: 1rem 2rem;
  background-color: white;
  display: flex;
  justify-content: center;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }
  h2 {
    font-size: 1.6rem;
  }
  h3 {
    font-size: 1.3rem;
  }
  .logo {
    width: 250px;
    margin: 1rem auto;
    display: block;
  }
  .hero {
    padding: 40px 15px;
    height: auto;
  }
  .hero-content p {
    font-size: 1rem;
    width: 100%;
  }
  .icon {
    height: 40px;
    margin: 0.5rem;
  }
  .servicio {
    padding: 3rem 1rem;
  }
  .servicio-card {
    flex-direction: column;
    align-items: center;
    /* text-align: center; */
    margin: auto;
  }

  .servicio-card-img {
    width: 70%;
    height: auto;
    margin-bottom: 1rem;
  }
  .servicio-content {
    margin-left: 0;
    margin-top: 1rem;
    width: 70%;
    align-items: center;
  }
  .servicio-content h2 {
    font-size: 1.4rem;
    padding-left: 0rem;
    text-align: center;
    height: auto;
    width: fit-content;
    padding-right: 1rem;
  }
  .servicio-content img {
    position: static;
    margin: 0.2rem 0;
  }
  .porque h2 {
    font-size: 1.8rem;
  }
  .porque p {
    width: 100%;
    font-size: 1rem;
  }
  .beneficios {
    /* flex-direction: column; */
    align-items: center;
    gap: 1.5rem;
  }
  .repuestos h2 {
    font-size: 1.8rem;
    text-align: center;
  }
  .item {
    width: 100%;
    height: 15rem;
    border-radius: 20px;
  }
  .item p {
    font-size: 1rem;
    padding: 1rem;
  }
  .marcas h2 {
    font-size: 1.8rem;
  }
  .marcas h3 {
    font-size: 1.1rem;
  }
  .logos {
    margin: 2rem 0;
  }
  .logos img {
    width: 60px;
    height: auto;
    margin: 0.5rem 20px;
  }
  .contacto {
    padding: 3rem 1rem;
  }
  .contacto-container {
    flex-direction: column;
    width: 100%;
    height: auto;
  }

  .form {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  .form h3 {
    font-size: 1.2rem;
    text-align: center;
  }
  .form-container {
    padding: 1rem;
  }
  .form-container button {
    font-size: 0.9rem;
    padding: 0.3rem 0.8rem;
  }
  .logo-footer {
    width: 200px;
    padding: 1rem;
  }

  .redes-container {
    flex-direction: column;
    align-items: start;
    margin-left: 1rem;
  }

  .whatsapp {
    margin-bottom: 2rem;
  }

  .recaptcha-container {
    display: flex;
    justify-content: center;
  }

  .mapa {
    height: 20rem;
  }
  .gracias {
    width: 100%;
    margin-bottom: 1rem;
    height: 20rem;
  }
}

@media (min-width: 600px) {
  .grid-repuestos {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .grid-repuestos {
    grid-template-columns: repeat(4, 1fr);
  }
}
