* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: white;
  height: 100vh;
}

.bloque1 {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 725px;
  position: relative;
}

.imagen-logo-auteco {
  position: absolute;
  max-width: 120px;
  left: 5%;
  top: 5%;
  height: auto;
  cursor: pointer;
  text-decoration: none;
  z-index: 3;
}

.imagen-logo-auteco img {
  width: 100%;
}

.imagen-logo-auteco:hover {
  transform: scale(1.1);
}

.left {
  position: absolute;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 55%;
  height: 100%;
  background-image: url("./imagenes/left-background.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  clip-path: polygon(0% 0, 80% 0, 100% 100%, 0% 100%);
  z-index: 2;
}

.left::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1;
}

.content-left {
  z-index: 2;
  margin: 10%;
}

.figura-azul-left {
  position: absolute;
  width: 390px;
  max-width: 100%;
  height: 550px;
  right: 6%;
  background-image: url("./imagenes/rectangulo-azul.png");
  background-repeat: no-repeat;
  background-position: center center;
  top: 50%;
  transform: translate(0%, -50%);
  z-index: 1;
}

.imagen-logo {
  z-index: 5;
  top: 70%;
  max-width: 400px;
  position: absolute;
  transform: translate(-60%, -50%);
}

.imagen-logo img {
  width: 100%;
}

.imagen-principal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-55%, -50%);
  z-index: 4;
}

.imagen-principal img {
  width: auto;
  height: 470px;
}

.right {
  width: 58%;
  height: 100%;
  background-image: url("./imagenes/right-background.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  position: absolute;
  right: 0;
}

.right::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.menu-container {
  position: relative;
}

.show-menu {
  display: flex !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 34px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 20px;
  z-index: 5;
}

.menu-toggle:hover {
  transform: scale(1.1);
  color: #0044a6;
}

.menu {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 25px 10px;
  gap: 20px;
  z-index: 3;
}

.menu a {
  color: black;
  font-size: 18px;
  text-decoration: none;
  letter-spacing: 1px;
}

.menu a:hover {
  color: #0044a6;
}

.redes {
  display: flex;
  margin-left: 20px;
  gap: 5px;
}

.redes a {
  margin-right: 5px;
}

.redes a:hover {
  transform: scale(1.1);
}

.figura-azul-right {
  position: absolute;
  width: 390px;
  max-width: 100%;
  height: 550px;
  left: 8%;
  background-image: url("./imagenes/rectangulo-azul.png");
  background-repeat: no-repeat;
  background-position: center center;
  top: 50%;
  transform: translate(0%, -50%);
  z-index: 1;
}

.content-right {
  position: absolute;
  display: flex;
  z-index: 4;
  flex-direction: column;
  justify-content: center;
  width: 310px;
  top: 50%;
  transform: translate(0%, -50%);
  left: 41%;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("./imagenes/fondo-marca.png");
  margin-bottom: 10px;
}

.brand-name {
  font-weight: bold;
  font-size: 24px;
  text-align: center;
  letter-spacing: 3px;
}

.brand-flag {
  margin-left: 5px;
  font-size: 10px;
  height: 35px;
}

.texto {
  font-size: 18px;
}

.ir-a-comprar {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 15px;
  color: white;
  background-color: red;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  letter-spacing: 2px;
  border-radius: 5px;
  padding: 5px 10px;
}

.ir-a-comprar-linea {
  width: 100px;
  height: 4px;
  background-color: white;
  margin-right: 15px;
}

.ir-a-comprar:hover {
  background-color: #0044a6;
}

#ir-a-comprar-mobile {
  display: none;
}

.brand-list {
  list-style: circle;
}

.brand-list li {
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
  padding: 5px 0;
  opacity: 0.5;
  letter-spacing: 10.56px;
}

.brand-list li:hover {
  opacity: 1;
}

.brand-list .active {
  opacity: 1;
  font-weight: bold;
}

.controls {
  display: flex;
  flex-direction: column;
  z-index: 3;
  position: absolute;
  right: 5%;
  justify-content: center;
  align-items: center;
  bottom: 11%;
}

.controls button {
  background: transparent;
  cursor: pointer;
  border: none;
  margin: 0 5px;
}

#next,
#prev {
  position: relative;
  width: 70px;
  height: 70px;
  font-size: 34px;
  color: white;
  background-image: url("./imagenes/fondo-flecha-off.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

#prev:hover {
  background-image: url("./imagenes/fondo-flecha-on.png");
}

#next:hover {
  background-image: url("./imagenes/fondo-flecha-on.png");
}

.bloque-certificaciones {
  display: flex;
  background-color: black;
  color: #ffffff;
  font-size: 14px;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-wrap: wrap;
  padding: 20px;
  gap: 50px;
}

.bloque-certificaciones img {
  height: 80px;
}

.bloque-certificaciones img:nth-child(2) {
  height: 40px;
}

.bloque2 {
  position: relative;
  background-image: url("./imagenes/fondo-bloque2.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  display: flex;
  width: 100%;
  height: auto;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.bloque2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1;
}

.imagen-stripes-izquierda {
  position: absolute;
  left: 0;
  top: 0;
  width: 25%;
  height: auto;
  z-index: 3;
}

.imagen-stripes-izquierda img {
  width: 100%;
  height: auto;
}

.bloque2-container {
  display: flex;
  height: auto;
  justify-content: center;
  flex-direction: column;
  padding: 50px 10%;
  z-index: 3;
}

.tabla-titulo {
  font-size: 32px;
  font-weight: bold;
  letter-spacing: 9px;
  margin-bottom: 5px;
  text-align: center;
}

.tabla-subtitulo {
  font-size: 16px;
  margin-bottom: 40px;
  text-align: center;
  max-width: 465px;
  margin-left: auto;
  margin-right: auto;
}

.tabla-buscador {
  /* display: flex; */
  display: none;
  width: 100%;
  background: #333333;
  padding: 50px 80px;
  justify-content: center;
  align-items: center;
  gap: 50px;
  margin-bottom: 40px;
}

.tabla-select-container {
  width: 100%;
}

.tabla-select-label {
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 3px;
  margin-bottom: 10px;
}

.tabla-select {
  width: 100%;
  height: 40px;
  padding: 8px;
  border: 1px solid white;
  background-color: transparent;
  color: white;
  border-radius: 5px;
  font-size: 14px;
  border: 2px solid black;
  letter-spacing: 3px;
}

.tabla-select option {
  background-color: black;
  color: white;
}

.tabla-botton-buscar {
  height: 40px;
  background-color: black;
  color: white;
  border: none;
  padding: 10px 40px;
  font-weight: bold;
  cursor: pointer;
  font-size: 16px;
  letter-spacing: 3px;
  margin-bottom: -33px;
}

.tabla-botton-buscar:hover {
  background-color: #0044a6;
}

.tabla-botton-buscar:disabled {
  background-color: black;
  cursor: not-allowed;
  opacity: 0.5;
}

.tabla {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 370px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #333333 #222;
}

.tabla-fila {
  background: #333333;
  padding: 20px 40px;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-direction: row;
  align-items: center;
}

.tabla-columna {
  flex: 1;
  text-align: left;
  font-size: 14px;
  color: #ffffff;
}

.tabla-columna-nombre {
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 3px;
  margin-top: 5px;
  color: #ffffff;
}

.tabla-columna a {
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
}

.tabla-columna a:hover {
  color: #0044a6;
}

.punto-venta {
  flex: 2;
}

.tabla-columna-ubicacion {
  display: flex;
}

.bloque3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-image: url("./imagenes/fondo-bloque3.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  width: 100%;
  height: auto;
  padding: 0px 50px 200px 50px;
  position: relative;
}

.imagen-izquierda {
  display: flex;
  justify-content: center;
  align-items: center;
}

.imagen-izquierda img {
  width: 90%;
}

.formulario {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  padding: 50px;
  z-index: 3;
}

.titulo {
  font-size: 32px;
  font-weight: bold;
  letter-spacing: 9px;
  margin-bottom: 5px;
}

.subtitulo {
  font-size: 16px;
  margin-bottom: 40px;
  text-align: center;
  max-width: 465px;
}

form {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

label {
  text-align: left;
  font-size: 16px;
  margin: 5px 0;
}

input {
  width: 100%;
  padding: 8px;
  margin-bottom: 20px;
  border: 1px solid white;
  background-color: transparent;
  color: white;
  border-radius: 5px;
  font-size: 16px;
}

.form-select {
  width: 100%;
  padding: 8px;
  margin-bottom: 20px;
  border: 1px solid white;
  background-color: transparent;
  color: white;
  border-radius: 5px;
  font-size: 16px;
}

.form-select option {
  background-color: black;
  color: white;
}

.fila {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fila div {
  width: 48%;
}

.checkbox-container {
  margin-top: 15px;
  margin-bottom: 50px;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-group input[type="checkbox"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #0044a6;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  outline: none;
  margin-top: auto;
  margin-bottom: auto;
}

.checkbox-group input[type="checkbox"]:checked {
  background-color: #0044a6;
  border-color: #0044a6;
}

.checkbox-group input[type="checkbox"]::before {
  content: "";
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
}

.checkbox-group input[type="checkbox"]:checked::before {
  transform: translate(-50%, -50%) scale(1);
}

.checkbox-group a {
  color: #ffffff;
  text-decoration: none;
}

.checkbox-group a:hover {
  color: #0044a6;
}

.button-form {
  background-color: #193c6c;
  color: white;
  border: none;
  padding: 10px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 5px;
  width: 50%;
  margin: 0 auto;
}

.button-form:hover {
  background-color: #0044a6;
}

.button-form:disabled {
  background-color: #193c6c;
  cursor: not-allowed;
  opacity: 0.5;
}

.imagen-stripes-derecha {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 25%;
  height: auto;
}

.imagen-stripes-derecha img {
  width: 100%;
  height: auto;
}

.footer {
  display: flex;
  background-color: black;
  color: #ffffff;
  font-size: 14px;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 25px 0px;
}

.footer a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 5px;
}

.footer a:hover {
  color: #0044a6;
}

@media (max-width: 950px) {
  .left {
    width: 50%;
    clip-path: none;
    align-items: flex-end;
  }

  .brand-list {
    margin: 10%;
  }

  .right {
    width: 50%;
  }

  .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    width: max-content;
    top: 65px;
    right: 20px;
    gap: 0;
    background: white;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    z-index: 5;
  }

  .menu a {
    display: block;
    margin: 10px 0;
  }

  .redes {
    justify-content: center;
    margin-top: 10px;
    margin-left: 0;
  }

  .menu-toggle {
    display: block;
  }

  #ir-a-comprar-mobile {
    margin-bottom: 15px;
    display: flex;
  }

  .imagen-logo {
    transform: none;
    top: 15%;
  }

  .imagen-principal {
    transform: translate(-50%, -50%);
    z-index: 3;
  }

  .imagen-izquierda img {
    width: 70%;
  }

  .figura-azul-left {
    background-size: contain;
    right: -40%;
  }

  .figura-azul-right {
    background-size: contain;
    left: -40%;
  }

  .controls {
    bottom: 5%;
    right: 3%;
  }

  .content-right {
    display: none;
    transform: translate(-50%, -50%);
    left: 0;
  }

  .tabla-buscador {
    flex-direction: column;
  }

  .bloque3 {
    flex-direction: column;
  }

  .footer {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .imagen-logo-auteco {
    top: 3%;
  }

  .imagen-logo-auteco img {
    width: 70%;
  }

  .imagen-principal img {
    height: 350px;
  }

  .brand-list li {
    font-size: 14px;
  }

  .ir-a-comprar {
    font-size: 16px;
    flex-direction: column-reverse;
  }

  .ir-a-comprar-linea {
    margin-right: 0;
    margin-top: 5px;
  }

  .bloque-certificaciones img {
    height: 60px;
  }

  .bloque-certificaciones img:nth-child(2) {
    height: 25px;
  }

  .bloque2-container {
    padding: 30px;
  }

  .tabla-buscador {
    padding: 70px 20px;
    gap: 25px;
  }

  .tabla-fila {
    flex-direction: column;
    gap: 15px;
  }

  .fila {
    flex-direction: column;
  }

  .fila div {
    width: 100%;
  }

  .bloque3 {
    padding: 30px;
  }
}
