* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  background: #F9F9F9;
}

.container {
  width: 90%;
  margin: auto;
}

/* NAV */
header {
  background: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  color: #2E7D32;
  font-family: 'Poppins';
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #333;
}

.hamburger {
  display: none;
  font-size: 24px;
}

/* HERO *//*
.hero {
  height: 90vh;
  background: url('hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}*/
.ctabutton
{
align-items: end;
}
.hero {
  height: 90vh;

  background: 
    linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
    url('hero.jpg') center left no-repeat;

  background-size: contain; /* 🔥 CLAVE */

  display: flex;
  align-items: center;
  justify-content: right;
  text-align: right;
}
.hero-content {
  background: rgba(0,0,0,0.4);
  padding: 40px;
  border-radius: 10px;
}

.hero h1 {
  font-size: 3rem;
  color: white;
}

.hero p {
  color: white;
  margin: 15px 0;
}

/* BUTTON */
.btn {
  background: #2E7D32;
  color: white;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
}

.whatsapp-float {
  position: fixed; /* 🔥 hace que siga el scroll */
  bottom: 20px;
  right: 20px;

  background: #25D366; /* color WhatsApp */
  color: white;

  padding: 15px 20px;
  border-radius: 50px;
  text-decoration: none;

  box-shadow: 0 5px 15px rgba(0,0,0,0.3);

  z-index: 999; /* siempre encima */
}

/* ABOUT */
.about {
  padding: 60px 0;
  text-align: center;
}

/* PRODUCTS */
.products {
  background: white;
  padding: 60px 0;
}

.product-grid {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.card {
  background: #F9F9F9;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.card img {
  width: 100%;
  border-radius: 10px;
}

/* BENEFITS */
.benefits {
  padding: 60px 0;
  text-align: center;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

/* CTA */
.cta {
  background: #2E7D32;
  color: white;
  text-align: center;
  padding: 60px 20px;
}

/* MOBILE */
@media (max-width: 768px) {
  

   .hero {
    height: auto;
    padding-top: 500px; /* 🔥 empuja el contenido hacia abajo */

    background-position: top center;
    background-size: contain;

    justify-content: center;
    text-align: center;
  }

  .hero-content {
    margin-top: 20px;
  }




  nav {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    right: 20px;
    top: 60px;
  }

  nav.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .product-grid {
    flex-direction: column;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
  }
}