  * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html, body {
      height: 100%;
      width: 100%;
      font-family: sans-serif;
      overflow-x: hidden;
      display: flex;
      flex-direction: column;
    }

    .menu-btn {
      position: fixed;
      top: 20px;
      left: 20px;
      width: 40px;
      height: 30px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      cursor: pointer;
      z-index: 1001;
    }

    .menu-btn div {
      height: 4px;
      background-color: #333;
      border-radius: 2px;
    }

    .menu-btn div:nth-child(1) { width: 100%; }
    .menu-btn div:nth-child(2) { width: 80%; }
    .menu-btn div:nth-child(3) { width: 60%; }

    .menu {
      position: fixed;
      top: 0;
      left: 0;
      width: 220px;
      height: 100vh;
      overflow-y: auto;
      background-color: #fff;
      box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
      padding-top: 60px;
      transform: translateX(-100%);
      transition: transform 0.3s;
      z-index: 1000;
    }

    .menu.active {
      transform: translateX(0);
    }

    .menu ul {
      list-style: none;
    }

    .menu li {
      padding: 6px;
      border-bottom: 1px solid #eee;
      cursor: pointer;
      font-size: 1.2em;
    }

    .menu li:hover {
      background-color: #f0f0f0;
    }

    .submenu {
      display: none;
      padding-left: 35px;
    }

    .submenu.show {
      display: block;
    }

    .modal {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background-color: rgba(0, 0, 0, 0.8);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 2000;
    }

    .modal iframe {
      width: 95%;
      height: 95%;
      border: none;
      background-color: white;
    }

    .modal.show {
      display: flex;
    }

    .modal-close {
      position: absolute;
      top: 15px;
      right: 20px;
      font-size: 28px;
      color: white;
      cursor: pointer;
      z-index: 2001;
    }

    .wrapper {
      flex: 1;
      display: flex;
      flex-direction: column;
      width: 100%;
     
    }

    .contenido-simulacion {
      flex: 1;
      padding: 20px;
      margin-left: 100px;
    }

.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #2222225b;
  color: #eee;
  font-size: 0.9em;
  line-height: 1;
  text-align: center;
  z-index: 9999;
  padding: 0.2em 0;
 /* padding: 0.2em 0; /* Mucho más fino */
/* padding: 0.3em 0 0.4em 0; /* Ligeramente más aire */

}

.footer a {
  color: #eee;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}  
    @media (max-width: 768px) {
      .contenido-simulacion {
        margin-left: 60px;
        font-size: .70em
      }
    }

/* 🧱 Contenedor principal del slider */
.slider-container.full-width-slider {
  position: relative;
  left: -120px;
  width: calc(100% + 220px);
  max-height: 375px;
/* height: 375px; */
  height: 375px;
  overflow: hidden;
  z-index: 1;
}

/* 🎞 Contenedor de las imágenes */
.slider {
  display: flex;
  width: calc(100vw * 8); /* Ajustá el 8 según la cantidad de imágenes */
  animation: deslizar 64s infinite;
}

/* 🖼 Imágenes del slider */
.slider img {
  width: 100vw;
  height: 100%;
  max-height: 375px;
  object-fit: cover;
  flex-shrink: 0;
}

/* 🎬 Animación automática del slider */
@keyframes deslizar {
  0%, 6.25%     { transform: translateX(0); }
  12.5%, 18.75% { transform: translateX(-100vw); }
  25%, 31.25%   { transform: translateX(-200vw); }
  37.5%, 43.75% { transform: translateX(-300vw); }
  50%, 56.25%   { transform: translateX(-400vw); }
  62.5%, 68.75% { transform: translateX(-500vw); }
  75%, 81.25%   { transform: translateX(-600vw); }
  87.5%, 93.75% { transform: translateX(-700vw); }
  100%          { transform: translateX(0); }
}

/* 📱 Ajustes para pantallas medianas */
@media (max-width: 1024px) {
  .slider-container.full-width-slider {
    left: -80px;
    width: calc(100% + 160px);
  }
}

/* 📱 Ajustes para tablets pequeñas y móviles */
@media (max-width: 768px) {
  .slider-container.full-width-slider {
    left: -40px;
    width: calc(100% + 80px);
    max-height: 220px;
    height: 220px;
  }

  .slider img {
    max-height: 220px;
  }
}

/* 📱 Ajustes extra para móviles muy angostos */
@media (max-width: 480px) {
  .slider-container.full-width-slider {
    left: -20px;
    width: calc(100% + 40px);
  }
}

/* 🧹 Reset básico por si hay márgenes ocultos */
body, html {
  margin: 0;
  padding: 0;
}.galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 12px;
  width: 100vw;
  margin: 0;
  padding: 10px 0;
  box-sizing: border-box;
}

.galeria img {
  width: 126%;
  height: auto;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

.galeria img:hover {
  transform: scale(1.03);
} 

.galeria {
  width: 100%;
  margin-left: calc(-55vw + 50%);
}
   
  @media screen and (max-width: 768px) {
  .galeria {
    margin-top: -300px;
  }
}  
    .galeria {
  display: none;
}

/* Solo la muestra en pantallas de hasta 768px (celulares y tablets pequeñas) */
@media (max-width: 800px) {
  .galeria {
    display: block;
  }
}


/* Mostrar galería sólo en pantallas pequeñas (teléfonos) */
@media screen and (max-width: 768px) {
  .galeria {
    display: grid;
    margin-top: -300px; /* ya lo tenías definido aquí */
  }
}
    
/*    -----------------  espaciado entre slider y gallery -------*/


@media (max-width: 768px) {
  .slider-container {
    margin-bottom: 25px; /* Espacio debajo del slider */
  }

  .catalogo, .gallery {
    margin-top: 25px; /* Espacio encima de la galería */
  }
}

/*       aca pego codigo de prueba de rotacion    */


html, body {
      margin: 0;
      padding: 0;
      height: 100%;
      overflow: hidden;
      font-family: Arial, sans-serif;
      background-color: #fff;
    }

    #contenedor-imagen {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      overflow: hidden;
      z-index: 0;
    }

    #imagen {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
    }

    .rotada {
      transform: rotate(90deg);
      transform-origin: center;
    }

    #aviso {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background-color: rgba(255, 204, 0, 0.9);
      color: #000;
      padding: 20px 30px;
      font-size: 1.4em;
      border-radius: 10px;
      box-shadow: 0 0 10px rgba(0,0,0,0.5);
      z-index: 1;
      display: none;
      text-align: center;
      max-width: 90%;
    }
