header {
  background-color: #1e211f;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  padding: 4px 3px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Segoe UI', sans-serif;
}

.logo {
  font-size: 0.6rem;
  font-weight: bold;
  color: #0057b8;
}

nav a {
  margin: 0 12px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.login-btn {
  background-color: #0057b8;
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
}

.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  padding: 12px;
  border-radius: 50%;
  font-size: 24px;
  text-align: center;
  text-decoration: none;
}
/* Banner y slider */
.banner {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  margin: 60px 0;
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.banner-texto {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
}

.banner-texto h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.banner-texto p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.btn-banner {
  background-color: #F31010;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}
.slider-home {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  margin-bottom: 0px;
  font-family: 'Poppins', sans-serif;
}

.slider-home .slide {
  position: relative;
  width: 100%;
  height: 100%;
}

.slider-home img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

.slide-texto {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  max-width: 340px;
  padding: 0 20px;
}

.slide-texto h2 {
  font-size: 1.6rem;
  margin-bottom: 14px;
  font-weight: 700;
  color: #FFFFFF;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.slide-texto p {
  font-size: 1.2rem;
  margin-bottom: 24px;
  font-weight: 500;
  color: #BABEC0;
}

.btn-slide {
  background-color: #F31010;
  color: #fff;
  padding: 12px 10px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-family: 'Segoe UI', sans-serif;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-slide:hover {
  background-color: #c90e0e;
  transform: scale(1.05);
}
/* carrusel */
.catalogo-productos {
  padding: 40px 20px;
  background-color: #fff;
  font-family: 'Poppins', sans-serif;
}

.catalogo-productos h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: #F31010;
  text-align: center;
}

/* Grilla responsiva */
.catalogo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Card moderna */
.vehiculo-card {
  background-color: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.vehiculo-card:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.vehiculo-imagen img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.vehiculo-info {
  padding: 16px;
}

.vehiculo-nombre {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #111;
}

.vehiculo-detalles {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 10px;
}

.vehiculo-precio {
  font-size: 1rem;
  color: #F31010;
  font-weight: 600;
}

/* Botón Ver más */
.ver-mas-contenedor {
  text-align: center;
  margin-top: 40px;
}

.boton-ver-mas {
  display: inline-block;
  background-color: #F31010;
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.boton-ver-mas:hover {
  background-color: #c90000;
}
.menu-maxiauto {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  font-family: "Nunito Sans", "Poppins", sans-serif;
}

.menu-contenedor {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
}

.menu-contenedor .logo img {
  height: 50px;
  transition: transform 0.3s ease;
}

.menu-contenedor .logo img:hover {
  transform: scale(1.05);
}

.menu-toggle {
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  display: none;
}

.menu-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.menu-nav a {
  text-decoration: none;
  font-weight: 300;
  font-size: 1rem;
  color: #c00;
  letter-spacing: 0.5px;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  padding-bottom: 4px;
}

.menu-nav a:hover {
  color: #fff;
  border-bottom: 2px solid #fff;
}

/* Botón CTA */
.menu-nav .btn-cta {
  background: #f5f5f5;       
  width: 100%;               
  max-width: 250px;         
  color: #000;             
  text-transform: uppercase; 
  text-align: center;  
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
  font-size: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);

  padding: 12px;
  border-radius: 6px;
  font-weight: 400;
  transition: background 0.3s ease;
}

.menu-nav .btn-cta:hover {
  background: #c00;
  color: #fff;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    color: #333;
  }

  .menu-nav {
    display: none;
    flex-direction: column;
    background: #fff;
    padding: 20px;
  }

  .menu-nav ul {
    flex-direction: column;
    gap: 20px;
  }

  .menu-nav.active {
    display: flex;
  }
}
