
   * {
      box-sizing: border-box;
    }
body {
  background: #191c1e;
  color: #fff;
  font-family: 'Oswald', Arial, sans-serif;
  margin: 0;
}
    header {
      background-color: #1c1c1c;
      display: flex;
      align-items: center; 
      padding: 0 20px;
      height: 70px;
      position: relative;
      z-index: 10;
      flex-wrap: nowrap;
      justify-content: flex-start;
      gap: 15px;
    }
    nav {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 20px;
      color: #999999;
      flex-wrap: nowrap;
      white-space: nowrap;
      transition: max-height 0.3s ease;
    }
    nav a {
    padding: 0 15px;
      color: #999999;
      text-decoration: none;
      transition: color 0.3s ease;
    }
    nav a:hover {
      color: #fff;
    }
    .nav-left {
      width: 80px;
      flex-shrink: 0;
    }
    .nav-right {
      margin-left: auto;
      flex: 1 1 auto;
      justify-content: flex-end;
      gap: 10px;
    }
    .logo-container img {
      width: 500px;
      height: 60px;
    }
    .menu-toggle {
      display: none;
      position: absolute;
      right: 20px;
      top: 50%;
      transform: translateY(-50%);
      cursor: pointer;
      z-index: 30;
      font-size: 24px;
      color: #999999;
      user-select: none;
    }
    main {
      position: relative;
      max-width: 100vw;
      overflow: hidden;
      margin-top: 0;
    }
.carousel {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  overflow: hidden;
  background: #181d1f; /* Fondo del carrusel */
}
.carousel img {
  width: 100%;
  height: 400px;
  object-fit: cover;        /* Cambia a cover */
  background: #181d1f;
  display: block;
}
    .carousel .overlay {
      position: absolute;
      bottom: 120px;
      left: 50%;
      transform: translateX(-50%);
      background-color: rgba(75, 193, 197, 0.534);
      width: 80%;
      max-width: 1200px;
      padding: 20px 30px;
      display: flex;
      justify-content: space-between;
      gap: 20px;
      border-radius: 4px;
      flex-wrap: nowrap;
      z-index: 15;
    }
    .carousel .nav-arrows {
      position: absolute;
      top: 50%;
      width: 100%;
      pointer-events: none;
      z-index: 15;
    }
    .carousel .nav-arrows button {
      pointer-events: auto;
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: none;
      border: none;
      color: rgb(72, 157, 163);
      font-size: 20px;
      cursor: pointer;
      opacity: 0.6;
      transition: opacity 0.3s ease;
    }
    .carousel .nav-arrows button:hover {
      opacity: 1;
    }
    .carousel .nav-arrows .prev {
      left: 20px;
    }
    .carousel .nav-arrows .next {
      right: 20px;
    }
    .carousel .dots {
      position: absolute;
      bottom: 20px;
      width: 100%;
      text-align: center;
      z-index: 15;
    }
    .carousel .dots span {
      display: inline-block;
      width: 30px;
      height: 2px;
      background-color: white;
      margin: 0 6px;
      cursor: pointer;
      opacity: 0.6;
      transition: opacity 0.3s ease;
    }
    .carousel .dots span.active,
    .carousel .dots span:hover {
      opacity: 1;
    }

    .custom-title {
    color: #424242; /* Cambia a cualquier color que quieras */
    }

    .custom-paragraph {
    color: #424242; /* Cambia a cualquier color que quieras */
    }
    
.info-section {
  background: #212729;
  max-width: 1400px;
  margin: 32px auto 0 auto;
  border-radius: 16px;
  box-shadow: 0 4px 16px #45efb822;
  padding: 28px 24px 22px 24px;
  text-align: center;
}
.info-section h2 {
  color: #A7FFEB;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 2rem;
  margin-bottom: 12px;
}
.info-section p {
  color: #e7fffd;
  font-size: 1.07rem;
  font-weight: 400;
}

/* WhatsApp Buttons */
.whatsapp-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 22px 0 0 0;
  flex-wrap: wrap;
}
.whatsapp-buttons button {
  background: #1c1c1c;
  color: #fff;
  font-weight: 100;
  font-family: 'Oswald', Arial, sans-serif;
  border: none;
  border-radius: 10px;
  padding: 14px 32px;
  font-size: 1rem;
  box-shadow: 0 2px 8px #1ec6b820;
  cursor: pointer;
  transition: background .18s, color .18s;
}
.whatsapp-buttons button:hover { background: #45efb8; color: #212729; }

.slider-container {
  background: #181d1f;
  margin: 38px auto 0 auto;
  border-radius: 10px;
  padding: 18px 0 6px 0;
  text-align: center;
  max-width: 1040px;
  box-shadow: 0 2px 20px #45efb814;
}
.slider-container h2 { color: #A7FFEB; font-size: 1.17rem; }
.slider-container .divider {
  width: 70px; height: 3px;
  background: #45efb8;
  border-radius: 2px;
  margin: 9px auto 12px auto;
}
.slider {
  width: 80vw; max-width: 1000px;
  height: 62px;
  margin: auto;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.slider .slide-track {
  display: flex;
  animation: scroll 40s linear infinite;
  width: calc(70px * 30); /* Ajusta según cantidad de logos */
}
.slider .slide {
  width: 62px; height: 62px;
  display: flex; justify-content: center; align-items: center;
}
.slider .slide img {
  max-width: 100%; max-height: 100%;
  filter: grayscale(0.15) drop-shadow(0 1px 8px #00fff555);
  object-fit: contain;
}

@keyframes scroll {
  0% { transform: translateX(0);}
  100% { transform: translateX(calc(-70px * 15)); }
}

    
   .quick-search {
  background: #212729;
  border-radius: 12px;
  max-width: 760px;
  margin: 40px auto 0 auto;
  box-shadow: 0 2px 14px #45efb812;
  padding: 34px 18px 22px 18px;
  text-align: center;
}
.quick-search h3 {
  color: #A7FFEB;
  font-size: 1.3rem;
  margin-bottom: 19px;
  font-family: 'Oswald', Arial, sans-serif;
}
.quick-search form {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  justify-content: center;
  align-items: center;
}
.quick-search select {
  padding: 10px 16px;
  border-radius: 7px;
  border: 1.5px solid #3afcbe40;
  font-size: 1.03rem;
  background: #161b1d;
  color: #fff;
  outline: none;
  margin-bottom: 7px;
}
.quick-search button {
  background: #45efb8;
  color: #181d1f;
  font-weight: 700;
  font-family: 'Oswald', Arial, sans-serif;
  border: none;
  border-radius: 7px;
  padding: 11px 28px;
  font-size: 1rem;
  margin-left: 10px;
  cursor: pointer;
  transition: background .13s;
}
.quick-search button:hover { background: #17bd88; color: #fff; }
.quick-search .links { margin-top: 8px; }
.quick-search .links a { color: #A7FFEB; font-size: .99rem; font-weight: 300; text-decoration: underline; }
.quick-search .links a:hover { color: #45efb8; }

  .body-car {
    background-color: black;
    padding: 60px 0;
  }
.section-cars { margin: 58px auto 0 auto; max-width: 1320px; }
.section-cars h3{
   color: #A7FFEB;
   font-size: 1.5rem; 
   font-family: 'Oswald', 
   Arial, sans-serif; 
   margin-bottom: 22px;
   text-align: center; 
  }



.cars-container {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  margin-bottom: 24px;
}
.car-hover-link {
  background: #212729;
  border-radius: 14px;
  border: 1.5px solid #23272b;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 18px #45efb80f;
  transition: box-shadow 0.18s, transform 0.2s, background 0.18s;
  cursor: pointer;
  min-width: 260px; max-width: 370px; width: 100%;
  position: relative;
}
.car-hover-link:hover, .car-hover-link:focus-visible {
  background: #181d1f;
  box-shadow: 0 12px 32px #45efb818;
  transform: translateY(-6px) scale(1.03);
}
.car-hover-link img {
  width: 100%;
  height: 205px;
  object-fit: cover;
  border-radius: 14px 14px 0 0;
  background: #181d1f;
}
.car-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(58, 197, 162, 0.25);
  color: #fff;
  font-size: 1.12rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  font-family: 'Oswald',sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
  z-index: 3;
  transition: opacity 0.22s;
}
.car-hover-link:hover .car-hover-overlay,
.car-hover-link:focus-visible .car-hover-overlay { opacity: 1; pointer-events: auto;}
.car-info { padding: 17px 19px 22px 19px; }
.car-title { font-family: 'Oswald',sans-serif; font-weight: 700; font-size: 1.15rem; color: #000000; margin-bottom: 4px;}
.car-details { color: #ff0000; font-size: .95rem; margin-bottom: 8px; }
.car-price-container { display: flex; justify-content: space-between; align-items: center; }
.car-price { color: #45efb8; font-size: 1.13rem; font-weight: bold;}
.label-sale { background: #0a7a2f; color: #fff; font-size: .85rem; font-weight: 700; padding: 2px 9px; border-radius: 8px; white-space: nowrap; margin-left: 6px;}

.arrow-left, .arrow-right {
  position: absolute;
  top: 48%;
  transform: translateY(-50%);
  color: #A7FFEB;
  background: #181d1f;
  border: none;
  font-size: 2rem;
  border-radius: 100px;
  padding: 6px 12px;
  box-shadow: 0 4px 16px #45efb80d;
  cursor: pointer;
  z-index: 4;
  opacity: 0.75;
  transition: background .15s, color .13s;
}
.arrow-left:hover, .arrow-right:hover {
  color: #45efb8; background: #191c1e;
}
.arrow-left { left: -38px; }
.arrow-right { right: -38px; }
@media (max-width: 820px) {
  .cars-container { gap: 16px; }
  .arrow-left, .arrow-right { font-size: 1.2rem; left: 4px; right: 4px; padding: 3px 7px;}
}


/* ----- Overlay "Ver auto" ----- */
.car-card .hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(34,34,34,0.70);
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 2px;
  font-weight: 500;
  z-index: 3;
}
.car-card:hover .hover-overlay,
.car-card:focus-visible .hover-overlay {
  opacity: 1;
  pointer-events: auto;
}
/* --- Fin overlay --- */

.car-info {
  padding: 15px 20px 20px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.car-title {
  font-weight: 300px;
  font-size: 15px;
  margin-bottom: 8px;
  color: #d4c9c9;
}
.car-details {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #92e4d9;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
  margin-bottom: 10px;
}
.car-price-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.car-price {
  font-size: 15px;
  color: #92e4d9;
}

  .label-sale {
    background-color: #0a7a2f;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 10px;
    white-space: nowrap;
  }
  .hide-scrollbar::-webkit-scrollbar {
  display: none;
}
.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

  /* Arrows on sides */
  .arrow-left, .arrow-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    user-select: none;
    z-index: 4;
  }
  .arrow-left {
    left: -50px;
  }
  .arrow-right {
    right: -50px;
  }

  @media (max-width: 960px) {
    .cars-container {
      justify-content: center;
    }
    .car-card {
      width: 90%;
      max-width: 400px;
    }
    .quick-search form {
      flex-direction: column;
      align-items: stretch;
    }
    .quick-search select, .quick-search .links {
      flex: 1 1 100%;
      margin-bottom: 10px;
      text-align: left;
    }
    .quick-search .links {
      text-align: right;
      margin-top: -50px;
    }
    .quick-search button {
      align-self: flex-start;
    }
  }

@keyframes scroll {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(calc(-60px * 18));
    transform: translateX(calc(-60px * 18));
  }
}
.reviews {
  background: #181d1f;
  border-radius: 18px;
  padding: 42px 18px 26px 18px;
  margin: 70px auto 50px auto;   /* Aumenté el margin-top y el margin-bottom */
  max-width: 1200px;
  box-shadow: 0 2px 14px #45efb811;
}

.reviews h2 {
  color: #A7FFEB;
  font-size: 1.28rem;
  font-family: 'Oswald', Arial, sans-serif;
  margin-bottom: 24px;
  text-align: center;          /* Centrado */
  font-weight: 400;            /* Peso más delgado */
  letter-spacing: 1px;
}

/* Por si quieres más delgado aún: */
@media (min-width: 600px) {
  .reviews h2 {
    font-size: 1.55rem;
    font-weight: 300;
  }
}

.review-container { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 32px; 
  justify-content: center;
}

.review {
  background: #212729;
  border-radius: 12px;
  color: #fff;
  box-shadow: 0 2px 8px #2dfce518;
  padding: 22px 17px 16px 17px;
  max-width: 320px;
  min-width: 220px;
  font-size: 1.02rem;
}

.review-header { 
  display: flex; 
  align-items: center; 
  margin-bottom: 13px; 
}

.user-avatar img { 
  width: 40px; 
  height: 40px; 
  border-radius: 50%; 
  margin-right: 10px; 
}

.user-info h3 { 
  color: #A7FFEB; 
  margin-bottom: 3px; 
  font-weight: 500;   /* No tan bold */
  letter-spacing: 0.5px;
}

.stars { color: #45efb8; }
.read-more { color: #45efb8; font-weight: 200; text-align: center;}
.read-more:hover { text-decoration: underline; }

/* Más espacio entre reviews y footer */
footer {
  margin-top: 48px;   /* O el valor que prefieras */
}



footer {
    background-color: #2a2a2a;
    color: #ddd;
    font-size: 12px;
    padding: 30px 20px;
  }
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
  }
  .footer-left {
    flex: 1 1 250px;
  }
  .footer-left h2 {
    font-family: 'Anton', sans-serif;
    font-weight: 900;
    font-size: 18px;
    color: #fff;
    margin: 0 0 10px;
    letter-spacing: 1.5px;
  }
  .footer-left p {
    margin: 4px 0;
    line-height: 1.4;
    max-width: 280px;
  }
  .footer-left .copyright {
    margin-top: 15px;
    font-size: 11px;
    color: #bbb;
  }
  .footer-contact {
    flex: 1 1 250px;
    max-width: 280px;
  }
  .footer-contact h3 {
    font-weight: 400;
    font-size: 14px;
    color: #ddd;
    margin-bottom: 12px;
  }
  .footer-contact p {
    margin: 6px 0;
    line-height: 1.3;
  }
  .footer-contact a {
    color: #bbb;
    text-decoration: none;
    border-bottom: 1px dotted #bbb;
  }
  .footer-contact a:hover {
    color: #fff;
    border-bottom: 1px solid #fff;
  }
  .footer-contact i {
    margin-right: 6px;
    font-size: 13px;
    vertical-align: middle;
  }
  .footer-terms {
    flex: 1 1 200px;
    max-width: 200px;
    font-size: 12px;
    line-height: 1.4;
    color: #bbb;
  }
  .footer-terms p {
    margin: 6px 0;
  }
  .footer-social {
    flex: 0 0 100px;
    text-align: center;
    color: #ddd;
    font-size: 13px;
  }
  .footer-social p {
    margin-bottom: 10px;
  }
  .footer-social a {
    color: #ddd;
    margin: 0 8px;
    font-size: 20px;
    text-decoration: none;
  }
  .footer-social a:hover {
    color: #fff;
  }
  .car-hover-link {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.25s, transform 0.25s;
}
.car-hover-link .car-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(79, 192, 164, 0.548);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  font-family: 'Oswald', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  z-index: 2;
  transition: opacity 0.19s;
  pointer-events: none;
}
.car-hover-link:hover,
.car-hover-link:focus-visible {
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.13);
  transform: translateY(-4px) scale(1.02);
}
.car-hover-link:hover .car-hover-overlay,
.car-hover-link:focus-visible .car-hover-overlay {
  opacity: 1;
  pointer-events: auto;
}


    @media (max-width: 768px) {
      header {
        height: 60px;
        padding: 0 10px;
        justify-content: flex-start;
        gap: 10px;
      }
      nav {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background-color: #1c1c1c;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        font-size: 14px;
        z-index: 25;
      }
      nav.open {
        max-height: 300px;
        padding: 10px 0;
      }
      nav a {
        white-space: nowrap;
      }
      .nav-left {
        width: 100%;
        margin: 0;
        justify-content: center;
      }
      .nav-right {
        margin: 0;
        justify-content: center;
        width: 100%;
      }
      .logo-container {
        margin-top: 0px;
        width: 400px;
        height: 60px;
      }
      .menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
      }
     .carousel img {
  width: 100%;
  height: 400px; /* O la altura que quieras */
  object-fit: cover; /* Esto mantiene el recorte estético y NUNCA pixelea */
  object-position: center; /* Centra el recorte */
  display: block;
  border-radius: 0; /* Quita bordes si lo deseas */
}
      .carousel .overlay {
        bottom: 90px;
        width: 90%;
        padding: 15px 20px;
        flex-direction: column;
        gap: 10px;
      }
      .carousel .overlay button {
        font-size: 9px;
        padding: 10px 0;
        white-space: normal;
      }
      .carousel .nav-arrows button {
        font-size: 16px;
      }
      .carousel .dots span {
        width: 20px;
        margin: 0 4px;
      }

      .dahr {
    height: 2.5px;
    width: 100%;
    margin-left: 0px;
    margin-top: 20px;
    background-color: rgb(34, 160, 149);
    border-color: rgb(34, 160, 149);
}

  .arrow-left, .arrow-right {
    top: 110%;
  }


    }