
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.banner {
  background-color: #ffffff; /* Verde oscuro */
  padding: 10px 20px;
}

.seccion-productos .contenedor {
  display: flex;
  flex-direction: column;
  padding: 1rem;
}

.lista-productos ul {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

.lista-productos li {
  margin-bottom: 0.5rem;
}

.banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.containermog {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 1rem;
  padding: 1rem;
}



.galeria-imagenes {
  width: 60%;
}

.lista-productos {
  width:auto;
  max-width: 40%;
  max-height: none;
  background-color: #f4f4f4;
  padding: 1rem;
  overflow: visible;
  border-right: 2px solid #ccc;
  font-size: 1rem;
  overflow-wrap: break-word;
}

@media (max-width: 768px) {
  .containermog {
    flex-direction: column; /* Apila los elementos uno debajo del otro */
  }

  .galeria-imagenes {
    display: none; /* Oculta la imagen en pantallas pequeñas */
  }

  .lista-productos {
    width: 100%;
    max-width:none;/* Asegura que ocupe todo el ancho */
  }
}




.galeria-imagenes {
  width: 65%;
}

.lista-productos h2 {
  color: #006400;
  margin-bottom: 15px;
}

.lista-productos h3 {
  margin-top: 20px;
  color: #2c3e50;
}

.lista-productos ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  list-style-type: disc;
}

.galeria-imagenes {
  width: 50%;
  margin-top: 1rem;
}

.galeria-imagenes img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

@media (min-width: 768px) {
  .galeria-imagenes {
    align-items: flex-start;
  }
}

.logo {
  height: 75px; /* Ajusta según el tamaño del logo */
  display: block;
}

.menu a {
  color: black;
  margin-left: 20px;
  text-decoration: none;
  font-weight: bold;
  font-family: Arial, sans-serif;
}

.menu a:hover {
  text-decoration: underline;
}
@media (max-width: 768px) {
  .menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: white;
    padding: 10px 0;
  }

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

  .menu-toggle {
    display: block;
  }

  .banner-content {
    flex-direction: column;
    align-items: flex-start;
  }
}
body {
  background-color: white;
  color: #003300; /* Verde oscuro */
  font-family: sans-serif;
  transition: background-color 0.3s, color 0.3s;
}


button {
  background-color: #003300;
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  margin: 10px;
  border-radius: 5px;
}

button:hover {
  background-color: black;
}

.contenido {
  padding: 20px;
}
form {
  width: 100%;
  margin: right;
  padding: 20px;
  border-radius: 10px;
  background-color: #fff;
  font-family: sans-serif;
  
}
.contact-formulario {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding: 20px;
  }

.formulario-contacto {
  flex: 1;
    display: flex;
    flex-direction: column;
}
.mapa {
 flex: 1;
  width: 70%;
  max-width: 1000px;
  height: 70%;
  margin: 0 auto;
  
}

.columna {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
}

label {
  margin-top: 10px;
  margin-bottom: 5px;
  font-size: 15px;
  color: #333;
}

input, textarea {
  padding: 10px;
  font-size: 15px;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.3s ease;
}

input:focus, textarea:focus {
  border-color: #3fa4f0;
}

button {
  margin-top: 20px;

  background-color: #007b5e;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  align-self: flex-start;
}

button:hover {
  background-color: #005f46;
}


.containerQ{
font-size: 20px;
margin: auto;
text-align: center;
color: black;
line-height: 40px;
padding: 12vh 9vw;
}

.prodfondo{
background-image: linear-gradient(rgba(0, 0, 0, .50), rgba(0, 0, 0, .50)), url(Img/Imgimg.png);
  background-size: cover;
  padding: 40px;
  background-position: center;
  background-attachment: fixed; /* Esto crea el efecto parallax */
  position: relative;
  z-index: 1;

}
.prodfondo::before {
  content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5); /* Capa negra */
    z-index: -1;
}



/* Modo oscuro */
body.dark-mode {
  background-color: black;
  color: white;
}

body.dark-mode button {
  background-color: white;
  color: #003300;
}

body.dark-mode button:hover {
  background-color: #003300;
  color: white;
  }

.container1 {
font-size: 20px;
margin: auto;
text-align: center;
color: black;
}
.containerC{
flex: 1;
font-family: sans-serif;
}

/* Contenedor general */
.container {
  max-width: 1000px;
  margin: auto;
  padding: 20px;
}

/* Encabezado */
header {
  background-color: #004d00; /* Verde oscuro */
  color: #ffffff; /* Texto blanco */
  padding: 20px 0;
}
.h2centrado{
text-align:center;
}

header h1 {
  text-align: center;
}
<!-- COMIENZA CLASE ACORDEON -->
.acordeon {
  max-width: 600px;
  margin: 2rem auto;
}

.acordeon-btn {
  width: 100%;
  text-align: left;
  background-color: #f0f0f0;
  border: none;
  padding: 12px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  margin-bottom: 5px;
  transition: background-color 0.3s;
}

.acordeon-btn:hover {
  background-color: #e0e0e0;
}

.icono {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}





.contenido {
  padding: 12px;
  border: 1px solid #ccc;
  border-top: none;
  display: none;
  background-color: #fafafa;
}


/* Menú de navegación */
nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}

nav ul li a {
  color: #ffffff; /* Texto blanco */
  text-decoration: none;
  font-weight: bold;
}

nav ul li a:hover {
  text-decoration: underline;
}

/* Sección principal (hero) */
.hero {
  background-color: #e6f2e6; /* Verde muy claro (suave contraste) */
  padding: 60px 0;
  text-align: center;
  z-index: 2;
}

.hero h2 {
  color: #004d00;
  position: relative;
  z-index: 2;
}

/* Secciones generales */
section {
  padding: 40px 0;
}

/* Productos */
.productos-lista {
  list-style: square;
  margin-left: 20px;
  margin-top: 10px;
}

.productos-lista li {
  margin-bottom: 10px;
}

/* Pie de página */
footer {
  background-color: #000000; /* Fondo negro */
  color: #ffffff; /* Texto blanco */
  text-align: center;
  padding: 20px 0;
}
html {
  scroll-behavior: smooth;
}
.pasarela-productos {
  display: flex;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 30px;
  justify-content: space-between;
  flex-wrap: nowrap;
  padding: 2rem;

}



.producto {
  border: 1px solid #004d00;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  background-color: #f5f5f5;
  transition: transform 0.2s;
}
.lineas-grid {
  display: grid;
  text-align: ;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 2rem;
}

.linea-card {
  border: 1px solid #006400;
  padding: 20px;
  border-radius: 10px;
  background-color: #f9f9f9;
  text-align: center;
}


.producto:hover {
  transform: scale(1.03);
}

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

.producto h3 {
  color: #004d00;
  margin-bottom: 10px;
}

.producto p {
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.producto button {
  background-color: #004d00;
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
}

.producto button:hover {
  background-color: #002e00;
}

#botup{

  position: fixed;
  display: none;
  bottom: 40px;
  right: 40px;
  font-size: 2rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  line-height: 1;
  text-align: center;
  background-color: darkgreen;
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  z-index: 1000;
}

.container-imagen{
position:relative;
width: 200px;
height: 200px;
overflow:hidden;

}
.contenedor-imagen img{
width: 100%;
height: 100%;
displat: block;
object-fit:cover;
}
.texto-centrado {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.4); /* negro con transparencia */
  color: white;
  text-align: center;
  padding: 10px 0;
  font-weight: bold;
}

.contenedor-centrado{
display: flex;
justify-content: center;
align-items: center;
gap: 20px;
}
.centre{
width: 50%;
height: 50%;
}

/* Style de acordeon */

 body {
      font-family: 'Segoe UI', sans-serif;
      background-color: #ffffff;
      margin: 0;
      padding: 20px;
    }

    .productos-seccion {
      background-color: #e7f6ef;
      border-radius: 20px;
      padding: 30px;
      display: flex;
      flex-wrap: wrap;
      gap: 30px;
      align-items: flex-start;
      justify-content: space-between;
    }

    .productos-texto {
      flex: 1 1 500px;
      max-width: 60%;
    }

    .productos-texto h2 {
      font-size: 26px;
      color: #000;
    }

    .productos-texto span {
      color: #007f4f;
    }

    .acordeon-item {
      border-bottom: 10px solid #ccc;
      padding: 10px 0;
    }

    .acordeon-titulo {
      background: none;
      border: none;
      width: 100%;
      text-align: left;
      font-weight: bold;
      font-size: 20px;
      cursor: pointer;
      color: #111;
      display: flex;
      align-items: center;
      gap: 20px 2;
    }

    .acordeon-titulo::before {
      content: '▶';
      transition: transform 0.2s ease;
    }

    .acordeon-titulo.activo::before {
      transform: rotate(90deg);
    }

    .acordeon-contenido {
      display: none;
      margin-top: 5px;
      padding-left: 20px;
      color: #333;
      font-size: 35px;
    }

    .productos-imagen {
      flex: 1 1 300px;
      text-align: center;
    }

    .productos-imagen img {
      max-width: 100%;
      height: auto;
      border-radius: 20px;
    }

    @media (max-width: 900px) {
      .productos-seccion {
        flex-direction: column;
        text-align: center;
      }

      .productos-texto {
        max-width: 100%;
      }

      .acordeon-contenido {
        text-align: left;
      }
    }

.soluciones {
    position: relative;
    width: 100%;
    height: 300px; /* Ajusta la altura según sea necesario */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}


.hero {
    position: relative;
    background-color:white; /* Color verde claro */
    text-align: center;
    padding: 50px;
}




.logo-container {
 pointer-events: none;
  user-select: none;
max-height: 400px;
max-width: auto;
  display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
@media (min-width: 768px) {
  .video-container {
    aspect-ratio: 16 / 9;
  }
}

.video-container {
  width: 100%;
  max-width: 100%;
  position: relative;
  overflow: hidden;
  margin: auto;
  height: auto;
}
.video-container video {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}


.logo-container img {
   width: 100%; /* Aumenta según lo necesites */
    height: auto;
    transition: transform 0.3s ease;
}@media (min-width: 768px) {
 .seccion-video{
display:flex;
  justify-content:center;
  align-items:center;
  flex-direction: column-reverse;
  }
}
.seccion-video{
display:flex;
  justify-content:center;
  align-items:center;
  flex-direction: column-reverse;
  
}



.contenedorQUI{
border: px solid #a8e6a2;      /* Verde claro */
  padding: 20px;
  margin: 40px auto;
  background-color: #ddf9da;        /* Asegura fondo blanco dentro */
  max-width: auto;               /* Ancho opcional para que no sea demasiado largo */
  border-radius: 12px;            /* Bordes redondeados (opcional) */
  box-shadow: 0 0 10px rgba(0,0,0,0.05); /* Sombra suave */
  text-align: center;
  line-height: 1.6;
}

.texto-superpuesto {
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
position: absolute;
  bottom: 30px;
  width: 100%;
  text-align: center;
  color: white;
  z-index: 2;
  background-color: rgba(1.5, 0.5, 0.5,0);
}

.texto-superpuesto h2 {
  margin: 0;
  font-weight: bold;
}

.texto-superpuesto p {
  margin: 5px 0 0;
  font-size: 0.95em;
}


/* Lado izquierdo - Lista de productos */


@media (max-width: 768px) {
  /* Ajusta contenedores de texto */
  .containerQ,
  .container1 {
    font-size: 16px;
    line-height: 28px;
    padding: 8vh 5vw;
  }

  /* Reduce padding del fondo con imagen */
  .prodfondo {
    padding: 20px;
    background-attachment: scroll; /* Parallax no funciona bien en móviles */
  }

  /* Encabezado más compacto */
  header {
    padding: 10px 0;
  }

  header h1 {
    font-size: 24px;
    padding: 0 10px;
  }

  /* Ajuste de acordeón */
  .acordeon {
    max-width: 90%;
    margin: 1rem auto;
  }

  .acordeon-btn {
    font-size: 16px;
    padding: 10px;
  }

  /* Menú vertical en móviles */
  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  /* Asegura botones legibles */
  button,
  .acordeon-btn {
    font-size: 16px;
  }

  /* Ajustes generales de espaciado */
  .contenido {
    padding: 10px;
  }

  .container {
    padding: 10px;
  }
}
  @media (max-width: 768px) {
  /* Layouts principales a columnas */
  .containermog,
  .contact-formulario {
    flex-direction: column;
  }

  .lista-productos,
  .galeria-imagenes,
  .formulario-contacto,
  .columna,
  .container,
  .container1,
  .containerQ {
    width: 100%;
    padding: 10px;
    font-size: 16px;
  }

  .pasarela-productos {
    flex-wrap: wrap;
    justify-content: center;
    padding: 1rem;
  }

  .producto {
    width: 100%;
    margin-bottom: 20px;
  }

  .lineas-grid {
    grid-template-columns: 1fr;
  }

  .hero h2 {
    font-size: 20px;
  }

  .acordeon {
    width: 100%;
    padding: 0 10px;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .menu a {
    display: block;
    margin: 10px 0;
  }

  .texto-centrado {
    font-size: 14px;
    padding: 5px 0;
  }

  .centre {
    width: 100%;
    height: auto;
  }

  #botup {
    bottom: 20px;
    right: 20px;
    font-size: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
  }

  header h1 {
    font-size: 22px;
  }

  .banner-content {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .productos-seccion {
    flex-direction: column;
    padding: 20px;
  }

  .productos-texto h2 {
    font-size: 20px;
  }

  .acordeon-contenido {
    font-size: 18px;
  }

  .productos-imagen {
    margin-top: 20px;
  }
}


@media (max-width: 768px) {
  /* Cambia el layout de horizontal a vertical */
  .containermog {
    flex-direction: column;
    height: auto;
  }

  /* Lista de productos ocupa todo el ancho */
  .lista-productos {
    width: 100%;
    border-right: none;
    border-bottom: 2px solid #ccc;
  }

  /* Galería también ocupa todo el ancho */
  .galeria-imagenes {
    width: 100%;
    padding: 10px;
  }

  /* El contenido del banner se apila */
  .banner-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  /* Menú más espaciado en vertical */
  .menu a {
    display: block;
    margin: 10px 0;
  }

  /* Formulario en una sola columna */
  .contact-formulario {
    flex-direction: column;
    gap: 20px;
  }

  .formulario-contacto,
  .columna {
    width: 100%;
  }

  /* Texto más pequeño para móviles */
  .lista-productos ul {
    font-size: 20px;
  }

  label, input, textarea {
    font-size: 14px;
  }

  button {
    font-size: 14px;
    padding: 10px;
  }

  .logo {
    height: 60px;
  }
}
  @media (max-width: 768px) {
  .contenedorQUI {
    padding: 15px;
    margin: 20px 10px;
    max-width: 100%;
  }

  .texto-superpuesto h2 {
    font-size: 1.2em;
  }

  .texto-superpuesto p {
    font-size: 0.9em;
  }
}
@media (max-width: 768px) {
  .video-logo-container {
    flex-direction: column; /* Vertical en móvil */
  }

  .logo-container img {
    width: 100px;
    margin: 1rem auto;
  }

  .video-container {
    max-width: 100%;
  }
}


@media (max-width: 768px) {
  .containermog {
    height: auto !important;
    flex-direction: column; /* que se adapte mejor verticalmente */
  }
}
  @media (max-width: 768px) {
  .video-container {
    width: 100% !important;
    aspect-ratio: 16 / 9;
    height: auto !important;
  }

  .video-container video {
    width: 100% !important;
    height: auto !important;
  }
}
@media (max-width: 768px) {
  .containermog {
    flex-direction: column;
    height: auto !important;
  }

  .lista-productos,
  .galeria-imagenes {
    width: 100%;
  }

  .galeria-imagenes img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
  }

  .contact-formulario {
    display: flex;
    flex-direction: column;
  }

  .contact-formulario .columna {
    width: 100%;
  }

  .containerC {
    margin-top: 20px;
  }

  .mapa iframe {
    width: 100% !important;
    height: 250px !important;
  }
}




