/* Reset margin, padding and box-sizing everywhere */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Avoid horizontal scroll */
html, body {
  overflow-x: hidden;
}

/* Optional: Specific reset for hero-slider */
.hero-slider {
  margin: 0;
  padding: 0;
}






.hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  font-family: Arial, sans-serif;
}

.slider {
  position: relative;
}

.slide {
  display: none;
  position: relative;
  width: 100%;
  height: 70vh;
}

.slide.active {
  display: block;
}

.slide-bg {
  width: 100%;
  height: 70vh;
  object-fit: cover;
  object-position: bottom 20%;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.slide-content {
  position: absolute;
  top: 40%;
  left: 14%;
  transform: translateY(-50%);
  color: white;
  max-width: 600px;
  z-index: 2;
}

.slide-content h1 {
  font-size: 4rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  font-family: "Darker Grotesque", "Odoo Unicode Support Noto", sans-serif;
}

.slide-content p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.slide-content button {
  background: white;
  color: black;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s;
  font-weight: bold;
}

.slide-content button:hover {
  background: #ddd;
}


.slide-content-center {
  position: absolute;
  top: 40%;
  left: 14%;
  transform: translateY(-50%);
  color: white;
  z-index: 2;
}

.slide-content-center h1 {
  font-size: 4rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  font-family: "Darker Grotesque", "Odoo Unicode Support Noto", sans-serif;
}

.slide-content-center p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.slide-content-center button {
  background: white;
  color: black;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s;
}

.slide-content-center button:hover {
  background: #ddd;
}



/* Estilos específicos para el contenido centrado del slide 3 */
.slide-centered .slide-content {
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: none;
}

.nav-button {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 10vw;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  z-index: 3;
  border: none;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.nav-button:hover {
  background: rgba(0, 0, 0, 0.2);
}

.nav-button.left {
  left: 0;
}

.nav-button.right {
  right: 0;
}

.indicators {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
  z-index: 2;
}

.indicators .dot {
  height: 10px;
  width: 10px;
  margin: 0 4px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}

.indicators .dot.active {
  background-color: white;
}

@media (max-width: 768px) {
  .slide-content {
    left: 5%;
    max-width: 90%;
  }

  .slide-content h1 {
    font-size: 1.8rem;
  }

  .slide-content p {
    font-size: 0.9rem;
  }
}







.recoleccion-section {
  text-align: center;
  padding: 0px 20px 20px;
  height: 100%;
  background-color: white;
  font-family: "Darker Grotesque", "Odoo Unicode Support Noto", sans-serif;
}

.recoleccion-section .container {
  max-width: 70%;
  margin: 0 auto;
}

.recoleccion-section h2 {
  font-size: 4rem;
  font-weight: 400;
  margin-bottom: 20px;
  color: #222;
}

.recoleccion-section p {
  font-size: 22px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 30px;
}

.btn-servicios {
  display: inline-block;
  padding: 10px 20px;
  background-color: #76a70d;
  color: rgb(0, 0, 0);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 5px;
  transition: background 0.3s;
}

.btn-servicios:hover {
  background-color: #68960b;
}

.section-divider {
  margin: 40px auto 0;
  width: 75%;
  height: 1px;
  background-color: #ccc;
  opacity: 0.3;
  /* tenue */
}

@media (max-width: 768px) {
  .recoleccion-section h2 {
    font-size: 1.8rem;
  }

  .recoleccion-section p {
    font-size: 0.95rem;
  }

  .btn-servicios {
    font-size: 0.9rem;
  }
}




.transformacion-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 5%; /* <-- Quitamos el padding-left exagerado y usamos padding horizontal */
  background-color: #fff;
  flex-wrap: wrap;
  font-family: "Darker Grotesque", "Odoo Unicode Support Noto", sans-serif;
}

.transformacion-section .contenido {
  flex: 1 1 50%;
  padding: 20px 40px;
  box-sizing: border-box;
}

.transformacion-section .contenido h2 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: #222;
  font-weight: 500;
}

.transformacion-section .contenido p {
  font-size: 22px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 25px;
}

.btn-contacto {
  display: inline-block;
  padding: 10px 20px;
  background-color: #76a70d;
  color: rgb(0, 0, 0);
  text-decoration: none;
  font-size: 1rem;
  border-radius: 6px;
  transition: background 0.3s ease;
  font-weight: bold;
}

.btn-contacto:hover {
  background-color: #68960b;
}

.transformacion-section .imagen {
  flex: 1 1 50%;
  text-align: center; /* Mejor centrar imagen en móviles y desktop */
  box-sizing: border-box;
}

.transformacion-section .imagen img {
  width: 100%;
  height: auto;
  max-height: 350px;
  object-fit: cover;
}


@media (max-width: 768px) {
  .transformacion-section {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }

  .transformacion-section .contenido,
  .transformacion-section .imagen {
    flex: 1 1 100%;
    padding: 20px 0;
    text-align: center;
  }

  .transformacion-section .contenido h2 {
    font-size: 2.5rem; /* H2 más pequeño en móvil */
  }

  .transformacion-section .contenido p {
    font-size: 18px; /* Párrafo más pequeño */
  }

  .transformacion-section .imagen img {
    max-height: none;
  }
}





.servicios-sustentables {
  background-color: #f8f8f5;
  /* fondo blanco hueso muy claro */
  padding: 60px 20px;
  text-align: left;
  font-family: "Darker Grotesque", "Odoo Unicode Support Noto", sans-serif;
}

.servicios-sustentables .contenedor {
  max-width: 800px;
  margin: 0 auto;
}

.servicios-sustentables h2 {
  font-size: 40px;
  color: #222;
  margin-bottom: 25px;
  font-weight: 600;
}

.servicios-sustentables ul {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.servicios-sustentables ul li {
  margin-bottom: 10px;
  font-size: 22px;
  color: #555;
}

.btn-servicios {
  display: inline-block;
  padding: 10px 20px;
  background-color: #76a70d;
  color: rgb(0, 0, 0);
  text-decoration: none;
  font-size: 0.95rem;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.btn-servicios:hover {
  background-color: #68960b;
}


@media (max-width: 768px) {
  .servicios-sustentables h2 {
    font-size: 1.5rem;
  }

  .servicios-sustentables ul li {
    font-size: 0.95rem;
  }

  .btn-servicios {
    font-size: 0.9rem;
  }
}






.galeria-reciclaje {
  padding: 60px 20px;
  background-color: #fff;
  text-align: center;
}

.contenedor-galeria {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* 👈 Fuerza siempre 3 columnas */
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}


.contenedor-galeria img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.contenedor-galeria img:hover {
  transform: scale(1.03);
}


@media (max-width: 992px) {
  .contenedor-galeria {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .contenedor-galeria {
    grid-template-columns: 1fr;
  }
}







.socios-comerciales {
  font-family: "Darker Grotesque", "Odoo Unicode Support Noto", sans-serif;
  text-align: center;
  padding: 60px 20px;
  background-color: #fff;
}

.socios-comerciales h2 {
  font-size: 22px;
  color: #333;
  margin-bottom: 30px;
  font-weight: 500;
}

.logos-socios {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.logos-socios img {
  max-width: 180px;
  height: auto;
  filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.15));
  transition: transform 0.3s ease;
}

.logos-socios img:hover {
  transform: scale(1.05);
}

@media (max-width: 600px) {
  .logos-socios {
    flex-direction: column;
    gap: 20px;
  }

  .logos-socios img {
    max-width: 140px;
  }
}





/* Desktop and general styles */
.seccion-sostenibilidad {
  font-family: "Darker Grotesque", "Odoo Unicode Support Noto", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  background-color: #6db411; /* Verde Asure */
  color: white;
  flex-wrap: wrap;
  gap: 40px;
}

.seccion-sostenibilidad .contenido {
  flex: 1 1 500px;
  max-width: 50%;
}

.seccion-sostenibilidad h2 {
  font-size: 40px;
  margin-bottom: 15px;
  line-height: 1.4;
}

.seccion-sostenibilidad p {
  font-size: 24px;
  line-height: 1.6;
  color: #e7f5d9;
}

/* White box */
.caja-blanca {
  flex: 1 1 300px;
  
  background-color: white;
  color: #333;
  padding: 25px 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  max-width: 320px;
  width: 100%;
}

.caja-blanca ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.caja-blanca ul li {
  display: flex;
  align-items: center;
  font-size: 1.25rem;
  margin-bottom: 12px;
  gap: 10px;
}

.caja-blanca ul li img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Green button */
.btn-verde {
  display: inline-block;
  background-color: #6db411;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 6px;
  text-align: center;
  transition: background 0.3s ease;
  font-weight: bold;
}

.btn-verde:hover {
  background-color: #5c9c0f;
}

@media (max-width: 768px) {
  .seccion-sostenibilidad {
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    gap: 0; /* override large flex gap */
    text-align: center;
  }

  .seccion-sostenibilidad .contenido {
    width: 100%;
    max-width: 90%;
    text-align: center;
    margin: 0;
    padding: 0;
    max-height: 300px;
  }

  .seccion-sostenibilidad h2 {
    font-size: 24px;
    margin: 0 0 10px 0;
    line-height: 1.3;
  }

  .seccion-sostenibilidad p {
    font-size: 16px;
    margin: 0; /* 🔥 critical */
    line-height: 1.5;
  }

  .caja-blanca {
    margin-top: 10px; /* 👈 Only this controls spacing below the paragraph */
    padding: 20px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }

  .caja-blanca ul li {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .btn-verde {
    font-size: 14px;
    padding: 10px 20px;
    margin-top: 15px;
  }
}








.mensaje-final {
  font-family: "Darker Grotesque", "Odoo Unicode Support Noto", sans-serif;
  background-color: #ffffff;
  text-align: center;
  padding: 40px 20px 20px;
  position: relative;
  border-bottom: 2px solid #5c9c0f; /* línea verde tenue */
}

.mensaje-final p {
  max-width: 80%;
  margin: 0 auto;
  font-size: 1.3rem;
  color: #333;
  line-height: 1;
  font-weight: 500;
}

.hamburger {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
  margin-left: auto;
  padding-right: 15px;
}

@media (max-width: 768px) {
  .hamburger {
      display: block;
  }

  .menu,
  .contact-info {
      display: none;
      width: 100%;
      text-align: center;
      margin-top: 10px;
  }

  .menu.active,
  .contact-info.active {
      display: flex;
      flex-direction: column;
  }

  .header-container {
      align-items: flex-start;
  }
}


