body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background: #f4f8f5;
    color: #333;
    text-align: center;
  }
  
  /* 🌿 Hero Principal */
/* 🌿 HERO CON VIDEO Y LOGO */
.hero-video {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.6);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 20%, rgba(0,0,0,0.7) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 850px;
  padding: 20px;
  animation: fadeIn 2s ease-in-out;
}

.hero-logo {
  width: 160px;
  margin-bottom: 15px;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.4));
}

.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.hero-btn {
  display: inline-block;
  background-color: #4f9d69;
  color: #fff;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.hero-btn:hover {
  background-color: #3c6e47;
  transform: scale(1.05);
}

/* ✨ Animación de aparición */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 🔽 Desplazamiento suave */
html {
  scroll-behavior: smooth;
}

/* Responsividad */
@media (max-width: 768px) {
  .hero {
    height: 75vh;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-logo {
    width: 120px;
  }
}

  
  .certificado {
    padding: 40px 20px;
  }
  
  .certificado-box input {
    padding: 10px;
    width: 250px;
    border: 2px solid #4f9d69;
    border-radius: 8px;
    font-size: 16px;
  }

  .logos-apoyo {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
  
    width: 100%;
    gap: 25px;
  
    margin-top: 30px;
    padding-top: 15px;
  
    border-top: 1px solid rgba(0, 0, 0, 0.15);
  }
  
  .logo-item {
    width: 120px;
    height: 60px;
  
    flex: 0 0 150px;
  
    display: flex;
    align-items: center;
    justify-content: center;
  
    overflow: visible;
  }
  
  /* MUY IMPORTANTE */
  .logos-apoyo .logo-item img {
    width: auto !important;
    height: auto !important;
  
    max-width: 150px !important;
    max-height: 60px !important;
  
    object-fit: contain;
    object-position: center;
  
    display: block;
  }

  
  button {
    margin-top: 15px;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    background-color: #3c6e47;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
  }
  
  button:hover {
    background-color: #2f5238;
  }
  
  .impacto {
    background-color: #e8f5ea;
    padding: 40px 20px;
  }
  
  .impacto-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
  }
  
  .card {
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    width: 200px;
  }
    
  /* --- Sección de Video --- */
.video-section {
  background-color: #f4f8f5;
  padding: 60px 20px;
  text-align: center;
  transition: all 0.4s ease;
}

.video-section h2 {
  color: #3c6e47;
  font-size: 2rem;
  margin-bottom: 10px;
}

.video-section p {
  color: #555;
  max-width: 850px;
  margin: 0 auto 25px;
  line-height: 1.6;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* formato 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  max-width: 960px;
  margin: 0 auto;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Galería de Productos --- */
.productos {
  background-color: #e8f5ea;
  padding: 60px 20px;
  text-align: center;
}

.productos h2 {
  color: #3c6e47;
  font-size: 2rem;
  margin-bottom: 15px;
}

.productos p {
  color: #555;
  max-width: 700px;
  margin: 0 auto 40px;
}

.galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  justify-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.producto {
  background: #fff;
  border-radius: 15px;
  padding: 20px;
  width: 100%;
  max-width: 300px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.producto:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.producto img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
}

.producto h3 {
  color: #3c6e47;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.producto p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ✨ Animaciones de entrada (fade-in suave al hacer scroll) */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


  .aliados {
    background: #f0f8f3;
    padding: 50px 0;
    text-align: center;
    overflow: hidden;
    position: relative;
  }
  
  .aliados h2 {
    color: #3c6e47;
    font-size: 2rem;
    margin-bottom: 40px;
  }
  
  .logos-slider {
    display: flex;
    overflow: hidden;
    width: 100%;
    position: relative;
  }
  
  .logos-slide {
    display: flex;
    align-items: center;
    justify-content: space-around;
    animation: scroll 20s linear infinite;
    flex-shrink: 0;
  }
  
  .logos-slide img {
    width: 160px;
    height: auto;
    margin: 0 50px;
    filter: brightness(0.95);
    transition: transform 0.3s ease, filter 0.3s ease;
  }
  
  .logos-slide img:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
  }
  
  @keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }
  
  /* Pausa la animación al pasar el cursor */
  .logos-slider:hover .logos-slide {
    animation-play-state: paused;
  }
  
  
  .logos img {
    width: 130px;
    margin: 15px;
  }
  
  footer {
    background-color: #3c6e47;
    color: white;
    padding: 20px;
    font-size: 14px;
  }
  
  /* Certificado Preview */
  .certificado-preview {
    background: white;
    width: 800px;
    margin: 40px auto;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 0 25px rgba(0,0,0,0.1);
    text-align: center;
  }
  
  .certificado-preview img {
    width: 150px;
    margin-bottom: 10px;
  }
  
  .buttons {
    margin: 25px 0;
  }

  .counter-container {
    text-align: center;
    margin-top: 10px;
  }
  
  .counter-container span {
    display: inline-block;
    font-size: 3rem;
    font-weight: 800;
    color: #4f9d69;
    letter-spacing: 2px;
    margin-bottom: 5px;
    text-shadow: 0px 3px 8px rgba(79, 157, 105, 0.3);
    animation: popIn 1s ease-out;
    transition: transform 0.3s ease, color 0.3s ease;
  }
  
  .counter-container span:hover {
    transform: scale(1.05);
    color: #3c6e47;
  }
  
  @keyframes popIn {
    0% {
      transform: scale(0.7);
      opacity: 0;
    }
    100% {
      transform: scale(1);
      opacity: 1;
    }
  }

  /* --- Efecto de brillo amazónico --- */
@keyframes shine {
    0% {
      text-shadow: 0 0 10px rgba(163, 230, 155, 0.5);
      color: #4f9d69;
    }
    50% {
      text-shadow: 0 0 25px rgba(255, 255, 180, 0.9), 0 0 40px rgba(79, 157, 105, 0.8);
      color: #a8e063;
    }
    100% {
      text-shadow: 0 0 10px rgba(163, 230, 155, 0.4);
      color: #4f9d69;
    }
  }
  
  .counter-container span.shine {
    animation: shine 1.6s ease-in-out;
  }
  
  .logos a {
    display: inline-block;
    transition: transform 0.3s ease, filter 0.3s ease;
  }
  
  .logos a:hover {
    transform: scale(1.08);
    filter: brightness(1.2);
  }
  
  .logos img {
    width: 130px;
    margin: 15px;
    border-radius: 10px;
  }

  html {
    scroll-behavior: smooth;
  }

  
  /* 🌿 Sección Origen Waira Guardian */
.origen {
  position: relative;
  background: linear-gradient(135deg, #dff5e2, #f8fff9);
  overflow: hidden;
  padding: 100px 20px;
  color: #333;
}

.origen-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url("fondo-selva.jpg") center/cover no-repeat;
  opacity: 0.2;
  z-index: 0;
}

.origen-wrapper {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  z-index: 1;
  gap: 40px;
}

.origen-left {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.origen-logo {
  width: 180px;
  max-width: 100%;
  filter: drop-shadow(0 5px 10px rgba(0,0,0,0.2));
  animation: floatLogo 5s ease-in-out infinite;
}

@keyframes floatLogo {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.origen-right {
  flex: 1 1 500px;
  background: #ffffffb3;
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  text-align: left;
}

.origen-right h2 {
  color: #3c6e47;
  font-size: 2rem;
  margin-bottom: 15px;
}

.origen-right h2 span {
  color: #4f9d69;
}

.origen-right p {
  line-height: 1.7;
  color: #444;
  margin-bottom: 18px;
  font-size: 1.05rem;
}

.cta-container {
  margin-top: 30px;
  padding: 20px;
  background-color: #e8f5ea;
  border-left: 5px solid #4f9d69;
  border-radius: 10px;
}

.cta-container h3 {
  color: #3c6e47;
  margin-bottom: 8px;
}

.cta-container p {
  margin-bottom: 15px;
  color: #555;
}

.share-btn {
  background-color: #4f9d69;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

.share-btn:hover {
  transform: scale(1.05);
  background-color: #3c6e47;
}

/* 📱 Adaptabilidad */
@media (max-width: 900px) {
  .origen-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .origen-right {
    text-align: center;
  }

  .cta-container {
    text-align: center;
  }
}
