* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #fff;
  color: #333;
  line-height: 1.5;
}

/* HEADER */
header {
  background-color: #FFD700;
  color: #111;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo-container img {
  height: 50px;
}

header h1 {
  font-size: 1.5rem;
  font-weight: bold;
}

.secciones-botones {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.secciones-botones button {
  background: #111;
  color: #FFD700;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.3s;
}

.secciones-botones button:hover {
  background: #333;
}

/* CATÁLOGO */
.catalogo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: auto;
}

.moto-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  transition: transform 0.3s;
}

.moto-card:hover {
  transform: translateY(-5px);
}

.moto-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.moto-info {
  padding: 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.moto-info h2,
.moto-info h3 {
  color: #222;
  margin-bottom: 0.3rem;
}

.moto-info p {
  color: #555;
  font-size: 0.9rem;
}

/* BADGE DE PRECIO */
.price-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #FFD700;
  color: #111;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 50%;
  font-size: 0.85rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 10;
  min-width: 50px;
  text-align: center;
}

/* FOOTER */
footer {
  background-color: #FFD700;
  color: #111;
  text-align: center;
  padding: 1rem 0;
  margin-top: 2rem;
  font-weight: bold;
}

/* WHATSAPP FLOAT */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  cursor: pointer;
  transition: transform 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float img {
  width: 60px;
  height: 60px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .logo-container {
    flex-direction: column;
    gap: 0.5rem;
  }

  .moto-card img {
    height: 200px;
  }

  .price-badge {
    left: auto;
    right: 10px;
  }
}

@media (max-width: 480px) {
  .secciones-botones button {
    flex: 1 1 100%;
  }

  .moto-card img {
    height: 180px;
  }
  /* Mejoras responsive adicionales */
@media (max-width: 576px) {
    header h1 {
        font-size: 1.2rem;
    }

    .logo-container img {
        height: 40px;
    }

    .secciones-botones {
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px;
    }

    .secciones-botones button {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .moto-card {
        width: 95%;
    }

    footer p {
        font-size: 0.9rem;
    }
}


}