    * { box-sizing: border-box; margin: 0; padding: 0; transition: all 0.3s ease; }
    body { font-family: 'Montserrat', sans-serif; background-color: #FFFFFF; color: #333; }

  /* ===== MENU ===== */
  
    nav {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      background: rgba(0,0,0,0.7);
      z-index: 100;
      padding: 15px 30px;
       height: 50px; /* Altura fija para el menú */
      transition: transform 0.3s ease;
    }

    nav ul {
      list-style: none;
      display: flex;
      justify-content: flex-end;
      gap: 20px;
    }

    nav a {
      text-decoration: none;
      color: #fff;
      font-weight: 600;
      padding: 8px 12px;
      text-transform: uppercase;
      transition: 0.3s;
    }

    nav a:hover { background-color: rgba(255,255,255,0.2); border-radius: 5px; }

    nav li { position: relative; }

    .submenu {
      display: none;
      position: absolute;
      top: 100%;
      right: 0;
      background: rgba(0,0,0,0.8);
      padding: 10px 0;
      border-radius: 5px;
      min-width: 180px;
    }
    .submenu a { display: block; padding: 8px 20px; color: #fff; }

    nav li:hover .submenu { display: block; }

    .logo-small {
      position: fixed;
      top: 10px;
      left: 30px;
      z-index: 101;
      height: 40px;
    }

  .titulo-menu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    pointer-events: none;
    text-transform: uppercase;
  }

  .fondo-servicios {
    padding: 60px 20px;
  background: #1a1a1a;
  text-align: center;
  }

  .fondo-servicios h2 {
    color: #fff;
  }

  .botones-industria {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
    flex-wrap: wrap;
  }

  .botones-industria button {
    background-color: #111111;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 14px 28px;
    cursor: pointer;
    border-radius: 8px;
    border: 2px solid #ccc;
    box-shadow: 0 5px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .botones-industria button i {
    font-size: 1rem;
    transition: transform 0.3s ease;
  }

  .botones-industria button:hover {
    background-color: #ffffff;
    color: #111111;
    border-color: #6a0dad;
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(0,0,0,0.2);
  }

  .botones-industria button:hover i {
    transform: translateX(4px);
  }

  .botones-industria button:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  }

  main {
    min-height: 100vh;
    padding: 120px 0 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  section h2 {
    text-align: center;
    color: #4b0082;
    border-bottom: 2px solid #ccc;
    padding-bottom: 10px;
    margin-bottom: 40px;
    font-size: 2rem;
  }

  .servicios {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
  }

  .servicio {
    flex: 1 1 calc(18% - 15px);
    background: transparent;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    color: #fff;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
  }

  .servicio.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease-out;
  }

  .servicio:hover { transform: translateY(-5px); }

  .servicio-imagen {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 10px;
  }

  .servicio-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(70%);
    transition: filter 0.3s ease;
  }

  .servicio-imagen:hover img { filter: brightness(100%); }

  .servicio h3 {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
  }

  .toggle-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 18px;
    color: #9b59b6;
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    padding: 6px;
    transition: transform 0.3s ease;
  }

  .servicio.active .toggle-icon { transform: rotate(180deg); }

  .servicio p {
    max-height: 0;
    overflow: hidden;
    background-color: rgba(0,0,0,0.6);
    border-radius: 0 0 10px 10px;
    padding: 0 10px;
    transition: max-height 0.5s ease, padding 0.5s ease;
    text-align: justify;
    font-size: 0.9rem;
  }

  .servicio.active p {
    max-height: 120px;
    padding: 10px;
  }

  .galeria {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    column-gap: 25px;
    row-gap: 40px;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    justify-items: center;
  }

  .galeria-item {
    text-align: center;
  }

  .nombre-fixtura {
  font-weight: 700;
  font-size: 1.05rem;
  color: #000;
  margin-top: 10px;
  margin-bottom: 5px;
  text-align: center;
  text-shadow: none;
}


  .galeria img {
    width: 210px;
    height: 170px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .galeria img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  }

  /* ---------- LIGHTBOX ---------- */
  #lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.88);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
    padding: 20px;
}

/* Imagen y video */
#lightboxImg,
#lightboxVideo {
    max-width: 70vw;     /* controla el tamaño horizontal */
    max-height: 60vh;    /* controla el tamaño vertical */
    object-fit: contain; /* mantiene proporción */
    border-radius: 10px; 
    box-shadow: 0px 0px 20px rgba(0,0,0,0.7);
}

/* Flechas */
#lightbox .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 45px;
    color: white;
    cursor: pointer;
    padding: 10px;
}

#lightbox .arrow-left { left: 30px; }
#lightbox .arrow-right { right: 30px; }

/* Miniaturas */
#lightboxThumbnails {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

#lightboxThumbnails img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.5;
    transition: 0.2s;
}

#lightboxThumbnails img:hover {
    opacity: 0.9;
}

#lightboxThumbnails img.active {
    opacity: 1;
    border: 2px solid #8a2be2;
}

/* Botón de cerrar */
#lightbox .close {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

  /* ---------- BOTÓN SUBIR ---------- */
  #topBtn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: var(--negro);
    color: var(--blanco);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: none;
    transition: background 0.3s, transform 0.2s;
  }

  #topBtn:hover {
    background-color: var(--morado-claro);
    transform: scale(1.1);
  }

  /* ---------- FOOTER ---------- */
  footer {
    background-color: #222;
    color: #ccc;
    font-family: 'Montserrat', sans-serif;
    padding: 40px 15%;
    text-align: left;
  }

  .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
  }

  .footer-block {
    flex: 1 1 200px;
  }

  .footer-block h3 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.1rem;
  }

  .footer-block p {
    margin-bottom: 5px;
    line-height: 1.5;
  }

  .footer-block a {
    color: #ccc;
    text-decoration: none;
  }

  .footer-block a:hover {
    color: #875EA8;
  }

  .footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 0.9rem;
    color: #999;
  }

  @media (max-width: 1000px) {
    .galeria {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  @media (max-width: 700px) {
    .galeria {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 480px) {
    .galeria {
      grid-template-columns: 1fr;
    }
    .galeria img {
      width: 80%;
      height: auto;
    }

    .botones-industria {
      flex-wrap: wrap;
      gap: 20px;
    }
  }

  /* Botón WhatsApp flotante */
  .whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s;
  }

  .whatsapp-float:hover {
    background-color: #1ebe57;
  }

  nav.oculto {
    transform: translateY(-100%);
    transition: transform 0.3s ease;
  }

  /* Estilos para la sección de materiales */
  .materiales {
    background-image: url('fondomateriales.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0;
    text-align: center;
    color: #fff;
  }

  .contenedor-texto {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }

  .materiales h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #fff;
  }

  .lista-materiales {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .lista-materiales li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    color: #fff;
    gap: 50px;
  }

  .lista-materiales i {
    font-size: 1.5rem;
    color: #28a745;
    margin-right: 300px;
  }

  @media (max-width: 768px) {
    .lista-materiales {
      font-size: 1.1rem;
    }
    .materiales h2 {
      font-size: 2rem;
    }
  }

  .carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
  }

  .carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }

  .galeria-item {
  flex: 0 0 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 10px;
}

  .galeria-item img {
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 5px;
  }

  .arrow-left, .arrow-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    color: #111;
    background: none;
    padding: 0;
    border: none;
    cursor: pointer;
    z-index: 20;
    transition: color 0.3s ease;
  }

  .arrow-left { left: 30px; }
  .arrow-right { right: 30px; }

  .arrow-left:hover, .arrow-right:hover {
    color: #6a0dad;
  }


  .carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.carousel-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #bbb;
  cursor: pointer;
  transition: transform 0.3s, background 0.3s;
}

.carousel-dots .dot.active {
  background: #6a0dad; /* morado del sitio */
  transform: scale(1.3);
}



/* ESTILO DEL BOTÓN HAMBURGUESA */
.menu-toggle {
  display: block; 
  width: 30px;
  height: 22px;
  position: absolute; /* Asegúrate de que sea absolute o fixed */
  top: 25px;         /* Distancia desde arriba */
  right: 15px;        /* Bajamos de 30px a 15px para pegarlo más al borde */
  cursor: pointer;
  z-index: 200;       /* Siempre por encima de todo */
}

.menu-toggle span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #ffffff; /* Color de las rayitas */
  border-radius: 9px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

/* Posición de las 3 rayitas */
.menu-toggle span:nth-child(1) { top: 0px; }
.menu-toggle span:nth-child(2) { top: 8px; }
.menu-toggle span:nth-child(3) { top: 16px; }

/* ANIMACIÓN A "X" CUANDO ESTÁ ACTIVO */
.menu-toggle.active span:nth-child(1) {
  top: 8px;
  transform: rotate(135deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.menu-toggle.active span:nth-child(3) {
  top: 8px;
  transform: rotate(-135deg);
}










/* Mostrar el botón solo en móviles */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
}


/* FUERZA EL MENÚ HACIA LA DERECHA (Copia y pega esto en tu media query) */
@media (max-width: 768px) {
  .nav-list {
    /* 1. Posicionamiento absoluto a la derecha */
    left: auto !important;      /* Anula cualquier empuje desde la izquierda */
    right: 0 !important;       /* Lo pega al borde derecho */
    
    /* 2. Dimensiones y Estilo */
    position: fixed;
    top: 0;
    height: 100vh;
    width: 220px;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 80px;
    gap: 10px;
    z-index: 150;
    border-left: 1px solid rgba(255, 255, 255, 0.1);

    /* 3. Animación de entrada desde la derecha */
    /* El valor 100% positivo significa que se esconde a la derecha de la pantalla */
    transform: translateX(100%) !important; 
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  }

  /* 4. Estado activo (Cuando el JS añade la clase .active) */
  .nav-list.active {
    transform: translateX(0) !important;
    opacity: 1;
  }

  /* Estilo de los enlaces para que se vean modernos */
  .nav-list li {
    width: 100%;
    list-style: none;
  }

  .nav-list li a {
    font-size: 1rem;
    color: #fff;
    padding: 15px 25px;
    display: block;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-list li a i {
    width: 25px;
    color: #4b0082;
    margin-right: 10px;
  }
}

  /* Asegurar que el botón hamburguesa esté sobre el menú */
  .menu-toggle {
    display: block;
    z-index: 200; 
    top: 25px;
    right: 30px;
  }
}




.industria {
  margin-bottom: 80px; /* o 80px o lo que necesites */
}


/* Fondo semi-transparente */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    cursor: zoom-out;
}

/* Imagen centrada y ampliada */
.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}


/* Estilos para la sección impresiones */
  /* Contenedor principal */
.impresion {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 40px;
}

/* Columna izquierda (texto) */
.texto-impresiones {
  flex: 1;
}

.texto-impresiones h2 {
  font-size: 28px;
  margin-bottom: 15px;
}

.texto-impresiones ul {
  list-style: none;
  padding: 0;
}

.texto-impresiones li {
  font-size: 16px;
  line-height: 1.5;
}

/* Columna derecha (imagen) */
.imagen-animada {
  flex: 1;
  display: flex;
  justify-content: center;
}

.imagen-animada img {
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

/* Responsive para pantallas pequeñas */
@media (max-width: 768px) {
  .impresion {
    flex-direction: column;
    text-align: center;
  }

  .imagen-animada img {
    max-width: 100%;
  }
}


/* SECCIÓN GENERAL */
#servicios1 {
  padding: 70px 20px;
  text-align: center;
  background: url("fondopaginafixturas.jpg") center/cover no-repeat;
  position: relative;
}

/* FONDO OSCURECIDO PARA QUE EL TEXTO SE LEA MEJOR */
#servicios1::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45); 
  z-index: 0;
}

#servicios1 h2 {
  position: relative;
  z-index: 1;
  font-size: 34px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 50px;
}

/* CONTENEDOR DE TARJETAS HORIZONTAL */
.servicios1 {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between; /* Espacio uniforme entre tarjetas */
  flex-wrap: wrap;                 /* Permite bajar tarjetas en pantallas pequeñas */
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
}

/* TARJETAS SEMITRANSPARENTES */
.servicio1 {
  flex: 1 1 180px;                     /* ancho base y flexibilidad */
  background: rgba(255, 255, 255, 0.40); /* 75% opacidad del fondo blanco */
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: 0.25s ease;
  text-align: center;
}

/* ICONOS */
.servicio1 i {
  font-size: 42px;
  color: #4b0082;  /* Cambia el color si quieres */
  margin-bottom: 15px;
}

/* TITULOS */
.servicio1 h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #222;
}

/* TEXTO */
.servicio1 p {
  font-size: 15px;
  color: #fff;
}

/* HOVER */
.servicio1:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* RESPONSIVE: tablets */
@media (max-width: 900px) {
  .servicios1 {
    justify-content: center;
  }

  .servicio1 {
    flex: 1 1 250px;
  }
}

/* RESPONSIVE: móviles */
@media (max-width: 600px) {
  .servicios1 {
    flex-direction: column;
    align-items: center;
  }

  .servicio1 {
    width: 80%;
    margin-bottom: 20px;
  }
}

.tarjetas-con-fondo {
 padding: 70px 20px;
  text-align: center;
  position: relative;
}

footer .footer-menu {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

footer .footer-menu li {
  margin: 0 10px;
  position: relative;
  font-weight: 500;
}

footer .footer-menu li:not(:last-child)::after {
  content: "|"; /* separador entre enlaces */
  color: #555;
  margin-left: 10px;
}

footer .footer-menu li a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.2s ease;
}

footer .footer-menu li a:hover {
  color: #4b0082; /* azul elegante en hover */
  transform: scale(1.05);
}

footer .footer-copy {
  font-size: 0.9rem;
  color: #aaa;
  margin: 0;
}

footer .logo {
  font-weight: 700;
  color: #4b0082;
}

/* FLECHAS DEL LIGHTBOX - SIMPLES */
#lightbox .lb-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 45px;      /* tamaño del ícono */
    color: white;         /* color del ícono */
    cursor: pointer;
    z-index: 9999;
    padding: 0;           /* sin fondo */
    background: none;     /* sin fondo */
    border: none;         /* sin borde */
    transition: 0.2s;
}

/* Posiciones */
#lightbox .lb-left {
    left: 20px;
}

#lightbox .lb-right {
    right: 20px;
}

/* Hover sutil opcional */
#lightbox .lb-arrow:hover {
    color: #cccccc;  /* solo cambia ligeramente de color */
}




.imagen-anodizado {
    width: 90%;
    margin: 40px auto;
    display: flex;              /* <-- esto asegura dos columnas */
    justify-content: space-between;
    gap: 50px;
}

/* Cada columna */
.imagen-anodizado .antes,
.imagen-anodizado .despues {
    width: 48%;
    text-align: center;
}

/* Títulos */
.imagen-anodizado h2 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #4b0082;
}

/* Imágenes */
.imagen-anodizado img {
    width: 60%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}

/* Hover */
.imagen-anodizado img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* RESPONSIVE (móvil) */
@media (max-width: 768px) {
    .imagen-anodizado {
        flex-direction: column;
    }

    .imagen-anodizado .antes,
    .imagen-anodizado .despues {
        width: 100%;
    }
}

.anodizado {
    background-image: url('fondoanodizados.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0;
    text-align: center;
    color: #fff;
  }

/* Título principal */
.texto-anodizado h2 {
    font-size: 2.2em;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

/* Párrafo descriptivo */
.descripcion-anodizado {
    font-size: 1.25em;
    line-height: 1.7;
    color: #fff;
    margin: 0 auto;
    max-width: 800px;
}

/* Responsive para móvil */
@media (max-width: 600px) {
    .texto-anodizado h2 {
        font-size: 1.8em;
    }

    .descripcion-anodizado {
        font-size: 1.1em;
    }
}

  .medicas {
    background-color: ;
  }
