/* ===============================
   Hoja de Estilos Modernizada - Proin Soluciones
   =============================== */

/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Contenedor principal */
#contenedor {
  max-width: 1440px;
  margin: 0 auto;
  padding: 2rem 0;
}

/* Encabezado Moderno */
#encabezado-principal {
  background-color: #f0f0f0;
  padding: 2rem 1rem;
}


.contenedor-encabezado {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-direction: row; /* mantiene los elementos en fila */
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 0.5rem;
  text-align: left; /* texto alineado por defecto */
}


  .logo-area {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-bottom: 0;
  }

  .logo-area img {
    max-width: 140px;
    margin-bottom: 0.3rem;
  }

/* Menú superior */

.menu-principal {
  transition: box-shadow 0.3s ease;
}

.menu-principal:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}


.menu-principal ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
}

.menu-principal li {
  position: relative;
}

.menu-principal li a {
  text-decoration: underline;
  font-weight: bold;
  color: #333;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  display: inline-block;
  transition: all 0.3s ease;
}

.menu-principal li a:hover {
  background-color: #f8f8f8;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


/* Submenú oculto por defecto */
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #005bb5;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  width: 220px;
  padding: 0;
  margin: 0;
}

.submenu li a {
  display: block;
  color: white;
  padding: 0.8rem 1rem;
  text-align: center;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s;
  list-style: none;
}

.submenu li a:hover {
  background-color: #007bff;
}

/* Mostrar submenu solo cuando se pasa el mouse por "Productos" */
.menu-principal li.submenu-productos:hover > .submenu {
  display: block;
}

.banner-categoria {
  background-color: #003366;
  color: #fff;
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: 10px;
  margin-bottom: 2rem;
}

.banner-categoria h1 {
  font-size: 2rem;
  margin-bottom: 0.8rem;
  font-weight: bold;
}

.banner-categoria p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
}

.wrapper-ancho {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.5rem; /* Igual al .banner-categoria */
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.bloque-contenido {
  display: flex;
  gap: 30px;
  margin: 40px auto;
  align-items: center;
  padding: 0 20px;
  max-width: 100%; /* igual que la galería */
  width: 100%;
  box-sizing: border-box;
}

.bloque-izquierda,
.bloque-derecha {
  flex: 1 1 50%;
  min-width: 0;
}

.bloque-izquierda {
  display: flex;
  justify-content: center;
  align-items: center;
}

.bloque-derecha {
text-align: justify;
}

.bloque-izquierda img {
  max-width: 100%;
  height: auto;
  display: block;
}

.texto-informativo {
  max-width: 100%;
  margin: 0 auto 2rem auto;
  padding: 0 20px;
  font-size: 1rem;
  line-height: 1.6;
  text-align: justify;
}


/* Catálogo de productos */
.catalogo-productos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.producto {
  flex: 0 1 auto;
  max-width: 48%;
  background: #fff;
  border: 1px solid #ccc;
  padding: 15px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.producto img {
  max-width: 100%;
  height: auto;
  display: block;
}

.producto h2 {
  font-size: 1.2em;
  margin: 10px 0 5px;
  color: #000;
}
.producto p {
  font-size: 0.95em;
  color: #333;
}


body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  padding: 0 1rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

a {
  color: #0073e6;
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: #0056b3;
}



.bloque-centro {
  text-align: center;
  flex: 1;
}

.bloque-centro h1 {
  font-size: 2rem;
  font-weight: bold;
  color: #333;
}

.bloque-contacto {
  text-align: left;
  font-size: 0.95rem;
}

.bloque-contacto a {
  display: block;
  color: #333;
  text-decoration: none;
  margin-bottom: 0.3rem;
}

.bloque-contacto a:hover {
  color: #0073e6;
}

.btn-contacto svg {
  margin-right: 0.4rem;
  vertical-align: middle;
}



/* Contenido principal */
#contenido {
  padding: 1rem;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  margin-bottom: 2rem;
}

.tituloscontenido1 {
  font-size: 2rem;
  color: #111;
  margin-bottom: 1rem;
}

.textojustificado {
  text-align: justify;
  margin-bottom: 1rem;
}

.Subtitulos {
  font-size: 1.25rem;
  font-weight: bold;
  color: #0073e6;
}




.bloque-derecha h1 {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #003366;
}

.bloque-derecha p {
  font-size: 0.95em;
  line-height: 1.6;
  color: #333;
  font-weight: normal;
  margin-bottom: 10px;
}

/* Estilo para la imagen flotante (lightbox simple) */
.popup-imagen-fondo {
  display: none;
  position: fixed;
  z-index: 1001;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

/* Marco blanco centrado con sombra */
.popup-imagen-contenido {
  position: relative;
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.4);
  max-width: 90%;
  max-height: 90%;
  overflow: auto;
}

/* Imagen dentro del marco */
.popup-imagen-contenido img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Botón de cierre justo sobre la imagen, dentro del marco */
.cerrar-imagen {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  cursor: pointer;
  z-index: 10;
}

/* Galeria inferior de fotos */

.galeria-esc h2 {
  text-align: center;
  color: #336600;
  font-size: 1.6em;
  margin-bottom: 20px;

}

.galeria-grid {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0; 
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

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

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


/* Fin de Galeria inferior de fotos */

@media (max-width: 768px) {
  .galeria-collage div {
    flex: 1 1 calc(50% - 16px); /* 2 por fila en móvil */
  }
}

@media (max-width: 480px) {
  .galeria-collage div {
    flex: 1 1 100%; /* 1 por fila en pantalla muy pequeña */
  }
}


/* Responsive móvil */
@media (max-width: 768px) {
  .popup-imagen-contenido {
    width: 95%;
    padding: 10px;
    border-radius: 6px;
  }

  .cerrar-imagen {
    width: 30px;
    height: 30px;
    font-size: 22px;
    line-height: 30px;
  }
}
/* Pie de página */
#piedepagina {
  border-top: 1px solid #ccc;
  padding-top: 1rem;
  font-size: 0.9rem;
  color: #666;
  text-align: center;
}

.vinculospie {
  margin: 0 0.5rem;
  font-weight: 500;
  color: #0073e6;
}

.vinculospie:hover {
  text-decoration: underline;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .catalogo-productos {
    flex-direction: column;
  }

   .producto {
    flex: 1 1 100%;
    max-width: 100%;
  }



  #contacto-rapido {
    justify-content: center;
  }

  #botones-menu-sup {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    margin-top: 1rem;
  }









  .info-contacto {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.8rem;
  }
}

.barra-roja {
  height: 34px;
  background-color: #990000;
}



.col-info {
  flex: 2;
  text-align: center;
}

.nombre-empresa {
  font-size: 1.75rem;
  font-weight: 700;
  color: #333;
}

.info-linea {
  font-size: 1rem;
  color: #666;
}

.col-contacto {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}

.item-contacto {
  color: #333;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.item-contacto i {
  color: #990000;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  
.bloque-escaleras {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 20px;
  box-sizing: border-box;
}
}

@media (max-width: 768px) {
  .producto {
    width: 90% !important; /* ocupa casi todo el ancho */
    max-width: 400px;
    margin: 0 auto; /* centra horizontalmente */
    float: none; /* evita que se alinee en columnas */
  }
}

.boton-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  background-color: #25d366;
  padding: 12px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.boton-whatsapp:hover {
  transform: scale(1.1);
}

.boton-whatsapp img {
  width: 32px;
  height: 32px;
  display: block;
}

.galeria-carretillas {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columnas */
  gap: 24px;
  justify-items: center;
  padding: 20px 0;
}

.galeria-carretillas img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

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

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

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

.inicio-hero {
  background-color: #003366;
  color: #fff;
  padding: 4rem 2rem;
  text-align: center;
  border-radius: 10px;
  margin-bottom: 2rem;
}

.inicio-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.inicio-hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .inicio-hero h1 {
    font-size: 1.8rem;
  }
  .inicio-hero p {
    font-size: 1rem;
  }
}

.destacados {
  background-color: #f7f7f7;
  padding: 3rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 3rem;
}

.titulo-destacados {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #003366;
  font-weight: 700;
}

.grid-destacados {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.card-destacado {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-destacado:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.card-destacado img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
}


.cta-final {
  background-color: #003366;
  color: white;
  text-align: center;
  padding: 3rem 1.5rem;
  border-radius: 12px;
  margin: 3rem auto 2rem auto;
  max-width: 1100px;
}

.cta-final h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.cta-final p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.boton-cta {
  background-color: #25d366;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: bold;
  display: inline-block;
  text-decoration: none;
  font-size: 1rem;
  transition: background-color 0.3s;
}

.boton-cta:hover {
  background-color: #1da851;
}

	
/* Sección: ¿Por qué elegirnos? */
.seccion-ventajas {
  background-color: #f0f8ff;
  padding: 3rem 1rem;
  text-align: center;
  border-radius: 12px;
  margin-top: 2rem;
}

.titulo-ventajas {
  font-size: 2rem;
  color: #003366;
  margin-bottom: 2rem;
  font-weight: bold;
}

.grid-ventajas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.ventaja {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.ventaja:hover {
  transform: translateY(-5px);
}

.ventaja h3 {
  font-size: 1.2rem;
  color: #0073e6;
  margin-bottom: 0.8rem;
}

.ventaja p {
  font-size: 0.95rem;
  color: #555;
}


/* Sección: Llamado a la acción */
.llamado-contacto {
  background-color: #003366;
  color: #fff;
  text-align: center;
  padding: 3rem 1.5rem;
  border-radius: 10px;
  margin: 3rem auto;
}

.llamado-contacto h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.llamado-contacto p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.boton-contacto {
  display: inline-block;
  background-color: #25d366;
  color: #fff;
  font-weight: bold;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.boton-contacto:hover {
  background-color: #1ebe5d;
}

@media (max-width: 768px) {
  .grid-destacados {
    grid-template-columns: 1fr;
    justify-items: center;  /* Centra cada tarjeta en el grid */
  }

  .card-destacado {
    width: 90%; /* O el valor que desees para dar aire */
    max-width: 400px; /* Para que no se vean tan anchas en pantallas grandes */
  }
}



/* Pie de página minimalista */
.pie-pagina {
  background-color: #f0f0f0;
  color: #333;
  padding: 2rem 1rem;
  font-size: 0.95rem;
}

.contenedor-footer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.contenedor-footer.solo-dos {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.footer-columna {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-columna h4 {
  font-size: 1.1rem;
  color: #003366;
  margin-bottom: 0.5rem;
}

.footer-columna ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-columna ul li {
  margin-bottom: 0.4rem;
}

.footer-columna ul li a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-columna ul li a:hover {
  color: #0073e6;
}

.logo-footer img {
  max-width: 120px;
  margin-bottom: 0.5rem;
}

.footer-derechos {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #777;
}

.hero-contacto {
  background-color: #04345c;
  color: white;
  padding: 2rem;
  text-align: center;
}

.info-contacto {
  padding: 1.5rem;
  background-color: #f5f5f5;
  font-size: 1.1rem;
  text-align: center;
}

.info-contacto a {
  color: #04345c;
  text-decoration: none;
  font-weight: bold;
}

.formulario-contacto {
  padding: 2rem;
  background-color: #ffffff;
  max-width: 600px;
  margin: 0 auto;
}

.formulario-contacto form {
  display: flex;
  flex-direction: column;
}

.formulario-contacto label {
  margin: 0.5rem 0 0.2rem;
}

.formulario-contacto input,
.formulario-contacto textarea {
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.formulario-contacto .boton-contacto {
  margin-top: 1rem;
  background-color: #04345c;
  color: white;
  border: none;
  padding: 0.8rem;
  border-radius: 5px;
  cursor: pointer;
}

.formulario-contacto .boton-contacto:hover {
  background-color: #06508d;
}

.mensaje-envio {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #555;
}

.gracias-container {
      max-width: 700px;
      margin: 50px auto;
      background-color: #ffffff;
      padding: 40px 30px;
      border-radius: 12px;
      box-shadow: 0 0 12px rgba(0,0,0,0.1);
      text-align: center;
    }

.banner-contacto {
      background-color: #005baa;
      color: white;
      padding: 40px 20px;
      text-align: center;
    }

.galeria-carretillas figure {
  display: inline-block;
  margin: 10px;
  background: #ffffff;
  text-align: center;
  font-family: Arial, sans-serif;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);  /* 6 columnas */
  column-gap: 10px;                       /* espacio horizontal reducido */
  row-gap: 20px;                          /* puedes ajustar este valor si quieres menos espacio vertical */
  padding: 0;
  justify-items: center;
}

.galeria-grid img {
  width: 100%;                            /* que se ajusten al ancho disponible de su columna */
  max-width: none;                        /* quitar limitación anterior */
  height: auto;
  border-radius: 4px;
  object-fit: cover;
}


/* Ajuste para pantallas medianas (tablets, laptops pequeños) */
@media (max-width: 1024px) {
  .galeria-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Ajuste para móviles (pantallas pequeñas) */
@media (max-width: 600px) {
  .galeria-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}


@media (max-width: 768px) {
  .bloque-izquierda, .bloque-derecha {
    flex: 1 1 100%;
  }
}


@media (min-width: 1200px) {
  .bloque-escaleras {
    max-width: 1200px;
    margin: auto;
  }
}




/* Ajustes responsive */

/* Encabezado */

@media (max-width: 768px) {
  .contenedor-encabezado {
    flex-direction: column;
    text-align: center;
  }
}


/* esto ya es del contenido */
@media (max-width: 768px) {
  .bloque-izquierda,
  .bloque-derecha {
    flex: 1 1 100%;
  }
}

/* galeria de fotos de escaleras */
@media (max-width: 480px) {
  .galeria-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    padding: 0 10px;
  }
}

@media (max-width: 768px) {
  .bloque-contenido {
    flex-direction: column;
    gap: 1rem;
    padding: 0 1rem;
    margin: 20px 0;
  }
	
  .bloque-izquierda,
  .bloque-derecha {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .menu-principal ul {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem; 
  }

  .menu-principal li {
    margin: 0; 
  }

  .menu-principal a {
    display: block;
    padding: 0.3rem 0; 
    font-size: 1rem;
    line-height: 1.2;
  }
}

