    /* General */
.site-header {
  background-color: #ffffff;
  color: #fffcfc;
  padding: 20px 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  font-family: 'Arial', sans-serif;
}

.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Logo editable */
#logo {
  max-height: 150px; /* Cambia este valor para ajustar el tamaño del logo */
}

/* Menú */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.main-nav ul li a {
  text-decoration: none;
  color: #020202;
  font-weight: bold;
  transition: color 0.3s;
}

.main-nav ul li a:hover {
  color: #000000;
}

/* Botón hamburguesa oculto en escritorio */
.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  .main-nav {
    display: none;
    flex-direction: column;
    background-color: #ffffff;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    box-shadow: 0 2px 4px rgba(255, 255, 255, 0.1);
  }

  .main-nav.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 10px;
  }

  .main-nav ul li {
    margin: 10px 0;
  }
}


    /* ======== CONTACTO ======== */
    .contact-section {
      padding: 60px 20px;
      background: linear-gradient(to right, #f0f4ff, #e9f1ff);
    }

    .contact-container {
      max-width: 1200px;
      margin: auto;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 40px;
    }

    .contact-info, .contact-social {
      flex: 1 1 300px;
      background: white;
      padding: 30px;
      border-radius: 20px;
      box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    }

    h2 {
      font-size: 2rem;
      margin-bottom: 10px;
      color: #0d47a1;
    }

    ul {
      list-style: none;
      padding: 0;
    }

    li {
      margin: 10px 0;
      font-size: 1rem;
    }

    .contact-info i, .contact-social i {
      margin-right: 10px;
      color: #0d47a1;
    }

    .social-icons {
      display: flex;
      gap: 15px;
      margin-top: 15px;
    }

    /*color de botones de redes sociales*/
    .social-icons a {
      display: inline-block;
      width: 40px;
      height: 40px;
      background-color: #e0dbdc;
      color: white;
      text-align: center;
      line-height: 40px;
      border-radius: 50%;
      
    }

    .social-icons a:hover {
      transform: scale(1.1);
      background-color: #1565c0;
    }

    /* ======== GALERÍA ======== */
    .image-gallery {
      max-width: 1200px;
      margin: 60px auto 0;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 20px;
      padding: 0 20px;
    }

    .image-gallery img {
      width: 100%;
      height: auto;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      transition: transform 0.3s ease;
    }

    .image-gallery img:hover {
      transform: scale(1.05);
    }

    @media (max-width: 768px) {
      .contact-container {
        flex-direction: column;
        gap: 20px;
      }
    }

 
  /* Estilos generales del formulario */
      .form-wrapper {
      max-width: 600px;
      margin: 30px auto;
      padding: 30px;
      background-color: #f9f9f9;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      font-family: 'Arial', sans-serif;
      }

      .form-wrapper form {
      display: flex;
      flex-direction: column;
      }

      .form-wrapper label {
      margin-top: 15px;
      margin-bottom: 5px;
      font-weight: bold;
      color: #333;
      }

      .form-wrapper input,
      .form-wrapper select,
      .form-wrapper textarea {
      padding: 10px;
      border: 1px solid #ccc;
      border-radius: 6px;
      font-size: 1em;
      }

      .form-wrapper textarea {
      resize: vertical;
      }

      .form-wrapper button[type="submit"] {
      margin-top: 20px;
      padding: 12px;
      background-color: #14b644;
      color: white;
      border: none;
      border-radius: 6px;
      font-weight: bold;
      cursor: pointer;
      transition: background-color 0.3s ease;
      }

      .form-wrapper button[type="submit"]:hover {
      background-color: #034a8a;
      }

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

html {
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
}

main, .section {
  flex: 1;
}

.body {
  font-family: Arial, sans-serif;
  text-align: justify;
  padding-bottom: 100px;
  line-height: 1.6;
  color: #333;
  font-size: 1rem;
  padding: 2rem;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: #011b36;
  color: #ececec;
  padding: 1rem 0;
}

header h1 {
  text-align: center;
}

nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 20px;
}

nav ul li {
  display: flex;
  align-items: center;
}

nav ul li a,
nav a {
  text-decoration: none;
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

nav ul li a:hover,
nav a:hover {
  background-color: #add12f;
  color: #ffffff;
}

.section {
  padding: 4rem 0;
  background-color: #f4f4f4;
  min-height: 300px;
}

/* Botones flotantes */
.whatsapp, .instagram-float, .go-footer {
  position: fixed;
  right: 20px;
  padding: 10px 15px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  z-index: 1000;
}
.whatsapp {
  bottom: 130px;
  background: #25d366;
  color: white;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  border-radius: 50%;
}

/* Estos botones se desabilitaran por ahora.
.instagram-float {
  bottom: 80px;
  background: #e00707;
  color: white;
}
.instagram-float i {
  margin-top: 16px;
}
*/

.go-footer {
  bottom: 30px;
  background-color: #202c3f;
  color: white;
  border-radius: 30px;
  transition: background-color 0.3s;
}
.go-footer:hover {
  background-color: #2c3e50;
}
.go-footer a {
  color: white;
  text-decoration: none;
}

/* Banner */
.banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 400px;
}

h1 {
  text-align: center;
  color: #ffffff;
}

/* Galería general */
.gallery-section {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  max-width: 960px;
  margin: 0 auto 40px auto;
  justify-content: center;
}

.card,
.card-construccion {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover,
.card-construccion:hover {
  transform: scale(1.02);
}

.card img,
.card-construccion img {
  width: 100%;
  object-fit: cover;
  cursor: pointer;
}
.card img {
  height: 200px;
}
.card-construccion img {
  height: 220px;
}

.card-body,
.card-body-construccion {
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  text-align: center;
}

/* Filtros */
.filtros {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  margin-bottom: 30px;
}

.btn-filtro {
  background-color: #005b96;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  width: 150px;
  text-align: center;
  flex-shrink: 0;
}

.btn-filtro:hover {
  background-color: #ddd;
}

.btn-filtro.activo {
  background-color: #333;
  color: white;
  font-weight: bold;
}

/* Lightbox */
#lightbox {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease;
  z-index: 1000;
}
#lightbox.hidden {
  display: none;
}
#lightbox img {
  max-width: 90%;
  max-height: 90%;
}
.hidden {
  display: none;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding: 1rem 2rem;
  background-color: #ffffff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo {
  height: 50px;
  margin-right: 40px;
}

.site-header h1 {
  font-size: 1.8rem;
  color: #ffffff;
}

/* Títulos */
.titulo-categoria,
.titulo-construccion {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 15px;
  font-size: 24px;
  color: #005a87;
  border-bottom: 2px solid #ccc;
  padding-bottom: 5px;
}

/* Proceso construcción */
.procesos-construccion .proceso-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 40px;
  gap: 20px;
}

.proceso-item img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.proceso-texto {
  flex: 1;
  min-width: 250px;
}
.proceso-texto h3 {
  color: #ebf1f3;
  margin-bottom: 10px;
}
.proceso-texto p {
  color: #444;
  line-height: 1.6;
}

/* Footer */
.main-footer h3,
.footer-section h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: #fff;
}

.main-footer p,
.footer-section p {
  margin: 5px 0;
  font-size: 0.95rem;
  color: #ccc;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-section {
  flex: 1;
  min-width: 250px;
  text-align: left;
}

.footer-copy {
  width: 100%;
  text-align: center;
  margin-top: 30px;
  color: #ccc;
  font-size: 0.9rem;
}

footer a {
  color: white;
  text-decoration: none;
}
footer a:hover {
  color: #ccc;
}

/* Servicios */
.servicios-contenedor {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
  background-color: #f8f8f8;
}
.servicios-bloque {
  display: flex;
  flex-wrap: wrap;
  background-color: #fff;
  margin-bottom: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
}
.servicios-bloque img {
  width: 100%;
  max-width: 400px;
  object-fit: cover;
}
.servicios-texto {
  flex: 1;
  padding: 20px;
}
.servicios-texto h2 {
  color: #c0392b;
  margin-top: 0;
}

.imagen-decorativa {
  margin: 40px 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .gallery-section {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }

  .servicios-bloque {
    flex-direction: column;
  }

  .logo {
    height: 40px;
    margin-right: 0;
  }

  .procesos-construccion .proceso-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .proceso-item img {
    max-width: 100%;
  }
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.hero-slider .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slider .slide.active {
  opacity: 1;
}

/* --- Header Mobile --- */
@media (max-width: 768px) {
  /* Fuerza fondo blanco y texto negro para el header y el menú */
  header.site-header, .site-header {
    background-color: #ffffff !important;
    color: #000000 !important;
  }

  /* Menú desplegable */
  .main-nav.active {
    display: flex;
    flex-direction: column;
    background-color: #ffffff !important;
    color: #000000 !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }

  .main-nav.active ul li a {
    color: #000000 !important; /* links en negro */
  }

  .main-nav.active ul li a:hover {
    color: #add12f !important; /* hover en verde */
  }

  /* Botón hamburguesa */
  .menu-toggle {
    color: #000000; /* icono negro */
  }
}











