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

/* Overlay más suave */
.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.4); /* 👈 claro */
}

/* Texto oscuro elegante */
.hero-content {
  position: relative;
  text-align: center;
  z-index: 2;
  color: #222;
}

.hero h1 {
  font-size: 48px;
  font-weight: 600;
}

.hero p {
  font-size: 18px;
  opacity: 0.8;
}

.btn-hero {
  background: #e67e22;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: 0.3s;
}

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


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

.bloque-texto h2 {
  font-weight: 600;
}

.bloque-texto p {
  color: #555;
}
.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;
}



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

.grid-recomendados {
    display: flex;
    gap: 15px;
    overflow-x: auto;

    justify-content: flex-start; /* 👈 CLAVE */
}
.img-producto {
    border-radius: 12px;
    transition: 0.3s;
}

.color-h2{
    color: rgb(224, 216, 105);
}

h2 {
  font-weight: 600;
  margin-bottom: 10px;
}

.color-h2 {
    color: #e67e22;
}

section {
  margin-bottom: 40px;
}

.bloque-img img {
  width: 100%;
  max-width: 400px;   /* 🔥 límite real */
  height: 300px;      /* 🔥 tamaño controlado */
  object-fit: cover;  /* 🔥 no se deforma */
  border-radius: 12px;
}

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

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

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

