* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #0f0f0f;
  color: #f5f5f5;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

.hero {
  min-height: 100svh;
  width: 100%;
  background:
    linear-gradient(rgba(0,0,0,.30), rgba(0,0,0,.60)),
    url("moto.png") center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.hero > div {
  width: 100%;
  max-width: 900px;
  padding: 0 15px;
}

.hero h1 {
  font-size: clamp(2.2rem, 8vw, 4rem);
  color: #ff3c00;
  letter-spacing: 3px;
  text-shadow: 2px 2px 8px #000;
  line-height: 1.1;
}

.hero p {
  max-width: 700px;
  margin: 20px auto;
  font-size: clamp(1rem, 4vw, 1.3rem);
  text-shadow: 1px 1px 5px #000;
}

a {
  display: inline-block;
  background: #ff3c00;
  color: white;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  transition: 0.3s;
}

a:hover {
  background: #ff5c26;
  transform: scale(1.05);
}

section {
  width: 100%;
  padding: 70px 20px;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

h2 {
  color: #ff3c00;
  margin-bottom: 20px;
  font-size: clamp(1.8rem, 6vw, 2.2rem);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.card {
  background: #1c1c1c;
  padding: 30px;
  border-radius: 15px;
  border: 1px solid #333;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  border-color: #ff3c00;
}

.card h3 {
  color: #ff3c00;
  margin-bottom: 15px;
}

footer {
  width: 100%;
  text-align: center;
  background: #050505;
  color: #aaa;
  padding: 25px 15px;
}

/* MÓVIL */
@media (max-width: 768px) {
  .hero {
    min-height: 100svh;
    background-position: center top;
    padding: 25px 15px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  section {
    padding: 50px 15px;
  }

  a {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
}

/* MÓVIL PEQUEÑO */
@media (max-width: 480px) {
  .hero {
    background-position: center top;
  }

  .hero h1 {
    letter-spacing: 1px;
  }

  .card {
    padding: 22px;
  }
}
