body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
}

header {
  background-color: #f57c00;
  color: #fff;
  padding: 1rem;
  position: relative;
}

header h1 {
  margin: 0;
}


/* Reset básico para ul y li */
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  position: relative;
}

/* Menú principal - desktop */
.menu {
  display: flex;
  gap: 1rem;
  background-color: #f57c00; /* azul oscuro */
  padding: 0.5rem 1rem;
}

.menu li a {
  color: white;
  text-decoration: none;
  padding: 0.5rem 0.8rem;
  display: block;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.menu li a:hover {
  background-color: #ffac19; /* azul más claro */
  border-radius: 4px;
}

/* Submenú - oculto por defecto */
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #f57c00;
  min-width: 180px;
  display: none;
  flex-direction: column;
  border-radius: 0 0 5px 5px;
  z-index: 1000;
}

.submenu li a {
  padding: 0.5rem 1rem;
  font-weight: normal;
}

/* Mostrar submenu al hacer hover en desktop */
.submenu-parent:hover > .submenu {
  display: flex;
}

/* Menú hamburguesa (checkbox + label) para mobile */
.menu-icon {
	
  display: none;
  margin-left: auto;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  user-select: none;
  padding: 0.5rem 1rem;
}

/* Ocultar el checkbox */
#menu-toggle {
  display: none;
}

/* Responsive - mobile */
@media (max-width: 768px) {
  .menu {
    display: none;
    flex-direction: column;
    background-color: #f57c00;
    width: 100%;
  }

  /* Mostrar menú cuando checkbox está activado */
  #menu-toggle:checked + .menu-icon + nav .menu {
    display: flex;
  }

  .menu-icon {
    display: block;
  }

  /* Submenú en mobile - se muestra solo si el padre tiene clase activo */
  .submenu-parent > .submenu {
    position: static;
    display: none;
    background-color: #f57c00;
    border-radius: 0;
  }

  /* Usamos un pequeño truco con checkbox para submenu? Mejor JS (más abajo) */

  /* Estilos para links con submenú: cursor pointer */
  .submenu-parent > a {
    position: relative;
  }

  .submenu-parent > a::after {
    
    font-size: 0.7rem;
  }
}






.carrusel {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

.carrusel-inner img {
  display: none;
  width: 100%;
  max-height: 400px;
  object-fit: cover;
}

.carrusel-inner img.activa {
  display: block;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: white;
  background-color: rgba(245, 124, 0, 0.6);
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 10;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.indicadores {
  text-align: center;
  position: absolute;
  bottom: 10px;
  width: 100%;
}

.indicadores span {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
}

.indicadores .activo {
  background-color: #717171;
}

main {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 1rem;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

footer {
  background-color: #f57c00; /* Azul oscuro */
  color: #fff;
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.95rem;
}

footer .footer-info p {
  margin: 4px 0;
}

footer a {
  color: #9cdcff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.footer-copy {
  margin-top: 1rem;
  font-size: 0.85rem;
  
}



/* Botón flotante de WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  background-color: #25D366;
  padding: 10px 15px;
  border-radius: 30px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.05);
}

.whatsapp-float img {
  width: 30px;
  height: 30px;
}

.mensaje-whatsapp {
  color: white;
  font-weight: bold;
  font-size: 14px;
  white-space: nowrap;
}

@media screen and (max-width: 600px) {
  .mensaje-whatsapp {
    font-size: 12px;
    max-width: 100px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
}

/* Animación */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}


/* Formulario de contacto */
.formulario-contacto {
  max-width: 600px;
  margin: 2rem auto;
  background-color: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.formulario-contacto label {
  font-weight: bold;
}

.formulario-contacto input,
.formulario-contacto textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  width: 100%;
}

.formulario-contacto button {
  background-color: #f57c00;
  color: white;
  border: none;
  padding: 0.8rem;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
}

.formulario-contacto button:hover {
  background-color: #ffac19;
}


/* Estilo para la lista de servicios (opcional para mejor presentación) */
.servicios-lista {
  list-style: none;
  padding-left: 0;
}

.servicios-lista li {
  padding: 0.5rem 0;
  font-size: 1.1rem;
  border-bottom: 1px solid #ddd;
  display: flex;
  align-items: center;
}

.servicios-lista li::before {
  /* content: "🔧";*/
  margin-right: 10px;
  color: #ad791c;
}

.productos-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 2rem auto;
  padding: 1rem;
}

.producto-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgb(0 0 0 / 0.1);
  padding: 1rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.producto-card:hover {
  transform: translateY(-5px);
}

.producto-card img {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
  margin-bottom: 0.8rem;
}

.producto-card h3 {
  margin: 0.5rem 0;
  color: #005fa3;
}

.producto-card p {
  font-size: 0.95rem;
  color: #333;
}

.producto-card .precio {
  font-weight: bold;
  font-size: 1.1rem;
  margin-top: 0.7rem;
  color: #003d66;
}
.promos {
  padding: 2rem;
  text-align: center;
}

.promo-card {
  display: flex;
  flex-direction: column;
  background-color: #fefefe;
  border: 2px solid #005288;
  border-radius: 10px;
  padding: 1rem;
  margin: 1rem auto;
  max-width: 600px;
  box-shadow: 0 0 10px rgba(0,0,0,0.15);
}

.promo-card img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.promo-info {
  margin-top: 1rem;
}

.old-price {
  text-decoration: line-through;
  color: #888;
  margin-right: 10px;
}

.new-price {
  color: #e60000;
  font-weight: bold;
  font-size: 1.4rem;
}




.contenido-productos {
  display: flex;
  padding: 20px;
  flex-wrap: wrap;
}

.menu-categorias {
  width: 220px;
  background-color: #0d2d4a;
  color: white;
  padding: 20px;
  border-radius: 10px;
  margin-right: 20px;
}

.menu-categorias ul {
  list-style: none;
  padding: 0;
}

.menu-categorias li a {
  color: #fff;
  text-decoration: none;
  display: block;
  margin: 10px 0;
  transition: 0.3s;
}

.menu-categorias li a:hover {
  color: #ffd700;
}

.productos-listado {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.productos-listado h2 {
  color: #0d2d4a;
  border-bottom: 2px solid #ccc;
  padding-bottom: 5px;
}

.producto {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0px 2px 5px rgba(0,0,0,0.1);
  flex-wrap: wrap;
}

.producto img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.producto h4 {
  margin: 0;
}

@media screen and (max-width: 768px) {
  .contenido-productos {
    flex-direction: column;
  }

  .menu-categorias {
    width: 100%;
    margin-bottom: 20px;
  }

  .producto {
    flex-direction: column;
    align-items: flex-start;
  }
}

.contenedor-productos {
  display: flex;
  gap: 2rem;
  padding: 1rem;
}

.menu-lateral {
  position: sticky;
  top: 100px; /* se mantiene visible desde esa altura */
  align-self: flex-start;
  width: 200px;
  background-color: #f57c00;
  padding: 1rem;
  border-radius: 10px;
  color: white;
}

.menu-lateral h3 {
  text-align: center;
  margin-bottom: 1rem;
}

.menu-lateral ul {
  list-style: none;
  padding: 0;
}

.menu-lateral ul li {
  margin: 0.5rem 0;
}

.menu-lateral ul li a {
  color: white;
  text-decoration: none;
  display: block;
  padding: 0.4rem;
  border-radius: 5px;
  transition: background 0.3s;
}

.menu-lateral ul li a:hover {
  background-color: #005599;
}

.productos {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.contenido-quienes-somos {
  max-width: 900px;
  margin: auto;
  padding: 2rem;
  text-align: center;
}



.equipo {
  margin-top: 2rem;
  text-align: center;
}

.equipo img {
  max-width: 600px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.descripcion-img {
  margin-top: 1rem;
  font-style: italic;
  color: #333;
}

.mapa {
  padding: 2rem 1rem;
  text-align: center;
  background-color: #f9f9f9;
}

.mapa h2 {
  margin-bottom: 1rem;
  color: #0a2a43;
}

.mapa-container {
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.ubicacion {
  padding: 3rem 1rem;
  text-align: center;
  background-color: #eef3f7;
}

.ubicacion h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #0a2a43;
}

.ubicacion p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #333;
}

.mapa-container {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
}

.boton-mapa {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background-color: #f57c00;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  transition: background-color 0.3s;
}

.boton-mapa:hover {
  background-color: #ffac19;
}



/* Título visible en pantallas grandes */
/* Contenedor de encabezado */
.encabezado {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background-color: #f57c00; /* Color de fondo de la barra de navegación */
  position: sticky; /* Para que se quede fijo al hacer scroll */
  top: 0;
  z-index: 1001;
}

/* Logo animado sin redondeo */
.logo-animado {
  height: auto;
  width: 180px; /* o 200px si quieres más grande */
  max-width: 100%;
  transition: transform 0.3s ease;
}

/* Título */
.titulo-empresa {
  font-size: 1.8rem;
  color: #f26522; /* color corporativo naranja */
  margin: 0;
  font-weight: bold;
  text-transform: uppercase;
}

/* Responsive: más pequeño en celulares */
@media screen and (max-width: 768px) {
  .titulo-empresa {
    font-size: 1.2rem;
  }

  .logo-animado {
    width: 130px;
  }
}

@media screen and (max-width: 500px) {
  .encabezado {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .titulo-empresa {
    font-size: 1rem;
  }
}
.logo-animado {
  height: auto;
  width: 180px;
  max-width: 100%;
  transition: transform 0.4s ease;
}

/* Efecto al pasar el mouse */
.logo-animado:hover {
  transform: scale(1.1) rotate(-2deg);
}


.contenedor-img {
  text-align: center;
  padding: 1rem;
}

.contenedor-img img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}




.categorias-servicio {
  padding: 2rem;
  background: #f7f7f7;
  text-align: center;
}

.categorias-servicio h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #222;
}

.grid-categorias {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.tarjeta {
  background: white;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.tarjeta:hover {
  transform: translateY(-5px);
}

.tarjeta img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.tarjeta h3 {
  font-size: 1rem;
  color: #333;
  margin: 0;
}



.footer-redes {
  background-color: #111;
  color: white;
  text-align: center;
  padding: 1.5rem 0;
  margin-top: 2rem;
}

.footer-redes p {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.iconos-redes a {
  margin: 0 10px;
  display: inline-block;
}

.iconos-redes img {
  width: 32px;
  height: 32px;
  transition: transform 0.3s;
}

.iconos-redes img:hover {
  transform: scale(1.2);
}



.marcas {
  padding: 3rem 1rem;
  background-color: #ffffff;
  text-align: center;
}

.marcas h2 {
  font-size: 2rem;
  color: #0a2a43;
  margin-bottom: 2rem;
}

.logos-marcas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.logos-marcas img {
  max-width: 140px;
  height: auto;
  object-fit: contain;
  filter: grayscale(60%);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.logos-marcas img:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}


.video-presentacion {
  background-color: #f4f4f4;
  padding: 50px 20px;
  text-align: center;
}

.video-presentacion h2 {
  margin-bottom: 20px;
  color: #054A29;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding-top: 56.25%; /* Proporción 16:9 */
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.galeria {
  background-color: #ffffff;
  padding: 50px 20px;
  text-align: center;
}

.galeria h2 {
  color: #054A29;
  margin-bottom: 30px;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 15px;
  max-width: 1000px;  /* Limita el ancho total */
  margin: 0 auto;     /* Centra la galería */
}

.galeria-grid img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.galeria-grid img:hover {
  transform: scale(1.05);
}

