/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: #f9f9f7;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* ===== HEADER ===== */
.header {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2e7d32;
}

.logo img {
    height: 75px;
    width: auto;
    display: block;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #2e7d32;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* RESPONSIVE HEADER */
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        background: white;
        width: 100%;
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
        display: none;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
        animation: fadeDown 0.3s ease;
    }

    .nav {
        position: relative;
    }
}

.hero {
    height: 85vh;
    background: url('../assets/banner.webp') center/cover no-repeat;
    background-size: cover;
    background-position: center 20%;
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Versión EN de about: mismo layout, banner-2 como fondo */
html[lang="en"] .hero.hero-about {
    background: url('../assets/banner-2.jpg') center/cover no-repeat;
    background-size: cover;
    background-position: center 30%;
}

.hero.hero-about .hero-content {
    height: auto;
    justify-content: center;
    padding-bottom: 0;
}

.hero-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.hero-content h2 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 20px;
}

.herocon{
    background: rgba(77, 77, 77, 0.45);
    padding: 12px 30px 0.02px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 400;
    transition: 0.3s ease;
}

.hero-content p {
    color: #f1f1f1;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.hero h1 {
    color: #fff;
    font-size: 3.2rem;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
  .hero {
    min-height: 75vh; /* menos altura */
    background-position: center 40%; /* mueve el enfoque */
  }

  .hero-overlay {
    background: rgba(0, 0, 0, 0.45);
  }

  .herocon{
    background-color: #1b1b1b00;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 400;
    transition: 0.3s ease;
  }

  .hero-content p {
    color: #f1f1f1;
    font-size: 1.2rem;
    margin-bottom: 30px;
  }

  .hero h1 {
    color: #fff;
    font-size: 3.2rem;
    margin-bottom: 20px;
  }
}

/* ===== HERO ENG===== */
.heroen {
    height: 85vh;
    background: url('../assets/banner-2.jpg') center/cover no-repeat;
    background-size: cover;
    background-position: center 30%;
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.heroen-overlay {
    background: rgba(0, 0, 0, 0.45);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.heroen-content h2 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 20px;
}

.heroen-content p {
    color: #f1f1f1;
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.heroen h1 {
    color: #fff;
    font-size: 3.2rem;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
  .heroen {
    min-height: 75vh; /* menos altura */
    background-position: center 40%; /* mueve el enfoque */
  }
}

/* ===== BOTONES ===== */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn-primary {
    background: #2e7d32;
    color: #fff;
}

.btn-primary:hover {
    background: #1b5e20;
}

.btn-secondary {
    background: #ffffff;
    color: #2e7d32;
    border: 2px solid #2e7d32;
}

.btn-secondary:hover {
    background: #2e7d32;
    color: #fff;
}

/* ================= ORIGEN ================= */

.origin {
    padding: 80px 0;
    background: #f4f8f4;
    text-align: center;
}

.origin h2 {
    font-size: 2rem;
    color: #2e7d32;
    margin-bottom: 20px;
}

.origin p {
    max-width: 850px;
    margin: auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ===== ABOUT ===== */
.about {
    padding: 80px 0;
    text-align: center;
}

.about h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #2e7d32;
}

.about p {
    max-width: 800px;
    margin: auto;
    font-size: 1.1rem;
}

.global {
    padding: 80px 0;
    background: #ffffff;
}

.global-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.stat-box {
    background: #f4f8f4;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    flex: 1;
    min-width: 120px;
    transition: 0.3s;
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-box h3 {
    color: #2e7d32;
    font-size: 1.8rem;
}

@media (max-width: 992px) {
    .global-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== BENEFITS ===== */
.benefits {
    padding: 80px 0;
    background: #ffffff;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background: #f4f8f4;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.card h3 {
    margin-bottom: 15px;
    color: #2e7d32;
}

/* ===== EXPORT SECTION ===== */
.export {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, #2e7d32, #66bb6a);
    color: #fff;
}

.export h2 {
    margin-bottom: 20px;
}

.export p {
    margin-bottom: 30px;
}

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(to right, #000000, #000000);
  color: white;
  margin-top: 80px;
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  padding-bottom: 30px;
}

.footer-col h4 {
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1.1rem;
}

.footer-col p {
  margin-bottom: 10px;
  opacity: 0.85;
  font-size: 0.95rem;
}

.footer-col a {
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.footer-social a {
  width: 40px;
  height: 40px;
  text-decoration: none;
  display: flex;
  color: white;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.footer-social a:hover {
  background: #f4b400;
  color: black;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  padding: 20px 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25D366;
    color: #fff;
    font-size: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .grid-3 {
        grid-template-columns: 1fr 1fr;
    }

    .hero-content h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 600px) {
    .nav {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .hero {
        height: 70vh;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }
}