/* HERO */
.hero {
  position: relative;
  height: 90vh;
  background: url("/static/img/hero.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 2;
}

.hero h1 {
  font-size: 60px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 20px;
  margin-bottom: 20px;
}

.btn-hero {
  background: #ff9800;
  padding: 15px 30px;
  border-radius: 10px;
  text-decoration: none;
  color: black;
  font-weight: bold;
  transition: 0.3s;
}

.btn-hero:hover {
  background: #ffa726;
}


/* BLOQUE */
.bloque {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 60px 20px;
  max-width: 1100px;
  margin: auto;
}

.bloque-img img {
  width: 400px;
  border-radius: 15px;
}

.bloque-texto {
  max-width: 500px;
}

.btn-secundario {
  display: inline-block;
  margin-top: 15px;
  color: #ff9800;
  text-decoration: none;
}


/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}


/* CTA */
.cta {
  text-align: center;
  padding: 80px 20px;
}

.cta h2 {
  font-size: 30px;
}


/* ANIMACIÓN SUAVE */
.card-producto {
  transition: 0.3s;
}

.card-producto:hover {
  transform: translateY(-8px);
}


/* RESPONSIVE */
@media (max-width: 768px) {
  .bloque {
    flex-direction: column;
    text-align: center;
  }

  .bloque-img img {
    width: 100%;
  }

  .hero h1 {
    font-size: 40px;
  }
}