/* INDICE DE CONTENIDO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
    background-color: #fbfaf7;
    color: #39471d; /* Color del texto principal */
}

/* Barra de navegación */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    background-color: white;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 60px;
}

/* Submenú desplegable en navegación */
.submenu {
    position: relative;
}

.submenu-items {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 10px 0;
    min-width: 180px;
    z-index: 1000;
}

.submenu-items li {
    list-style: none;
    padding: 0;
    margin: 0;
}

.submenu-items li a {
    display: block;
    padding: 10px 20px;
    color: #39471d;
    text-decoration: none;
    font-weight: normal;
    white-space: nowrap;
}

.submenu-items li a:hover {
    background-color: #f2f2f2;
}

/* Mostrar el submenú al pasar el mouse */
.submenu:hover .submenu-items {
    display: block;
}

/* Asegura que el menú principal no se rompa en móviles */
@media (max-width: 768px) {
    .submenu-items {
        position: static;
        box-shadow: none;
        background-color: transparent;
    }

    .submenu-items li a {
        padding-left: 30px;
    }

    .submenu:hover .submenu-items {
        display: block;
    }
}

.logo img {
    width: 60px;
}

.menu {
    list-style: none;
    display: flex;
    gap: 20px;
}

.menu li a {
    text-decoration: none;
    color: #39471d;
    font-weight: bold;
}

/*////////////////////////////////////////// Sección Inicio /////////////////////////////////////////////*/



.inicio {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 30px 50px;
    background-color: #fbfaf7;
    min-height: 100vh;
    box-sizing: border-box;
}

.contenido h1 {
    font-size: 4rem;
    color: #333;
    line-height: 1.2;
}

.contenido {
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Botón info general */
.btn-info {
    padding: 10px 20px;
    background-color: #39471d;
    color: white;
    font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
    font-size: 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: none;
    outline: none;
    margin-top: 20px;
}

.btn-info:hover {
    background-color: #5a673a;
}

/* Aumentar el tamaño de la galería (60% más alta) */
.galeria {
    width: 70%; /* mantenemos el mismo ancho */
    height: 550px; /* 400px + 60% = 640px */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.slider {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Asegura que las imágenes se vean completas sin recortes */
.slide {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: none;
}

.slide.activo {
    display: block;
}

.indicadores {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.punto {
    width: 12px;
    height: 12px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
}

.punto.activo {
    background-color: #39471d;
}



/* Eslogan */
.eslogan {
    width: 80%;
    max-width: 350px;
    display: block;
    margin-bottom: 0;
}

.descripcion {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    text-align: left;
}

@media (max-width: 768px) {
  .inicio {
    flex-direction: column; /* Cambia a vertical */
    padding: 20px;
  }

  .contenido {
    width: 100%;
    text-align: center;
    align-items: center;
    margin-bottom: 20px;
  }

  .galeria {
    width: 100%;
    height: auto;
    padding: 0 10px;
  }

  .slide {
    width: 100%;
    height: auto;
    max-height: 500px; /* Ajusta según lo que se vea bien */
  }
}


/*/////////////////////////////////// Botón Whatsapp ////////////////////////////////////////////*/

.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  text-decoration: none;
}

.whatsapp-btn i {
  color: white;
  font-size: 28px;
}

.whatsapp-btn .notificacion {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: red;
  color: white;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/*/////////////////////////////////// Flecha Scroll Down ////////////////////////////////////////////*/

.flecha-scroll {
    position: fixed; /* Cambiado de absolute a fixed */
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    border: 2px solid #39471d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 10;
}

.flecha-scroll i {
    font-size: 24px;
    color: #39471d;
    transition: transform 0.3s ease;
}

.flecha-scroll:hover i {
    transform: translateY(5px);
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/*/////////////////////////////////// Sección Nosotros ////////////////////////////////////////////*/

.nosotros .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.contenido-flex {
    display: flex;
    align-items: flex-start;
    gap: 80px;
    flex-wrap: nowrap;
}

.eslogan-container {
    flex: 0 0 45%;
    max-width: 500px;
}

/* Eslogan */
.eslogan {
    width: 100%;
    max-width: 600px; /* Ajuste del tamaño de la imagen */
    height: auto;
    display: block;
    margin-bottom: 0;
}

.descripcion-nosotros {
    flex: 0 0 50%;
}

.descripcion-nosotros p {
    font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
    font-size: 1.4rem; /* Tamaño aumentado (de 1rem a 1.1rem) */
    line-height: 1.7;
    text-align: justify;
    margin-bottom: 40px; /* Dejamos espacio para que el botón no se pegue al final */
}



/* Botón Conócenos - Alineado a la derecha */
.descripcion-nosotros .btn-info {
    background-color: #39471d;
    color: #ffffff; /* Importante para evitar cambios */
    border-radius: 25px;
    padding: 10px 25px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    display: inline-block;
    text-decoration: none !important; /* Elimina subrayado */
   font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
    font-size: 1rem;
    border: none;
    outline: none;
    cursor: pointer;
    float: right;
}



/* No cambiar color al pasar el mouse */
.btn-info:hover,
.btn-info:focus,
.btn-info:active,
.btn-info:visited {
    color: #ffffff;
    text-decoration: none !important;
    background-color: #39471d !important;
    outline: none !important;
}

.descripcion-nosotros::after {
    content: "";
    display: table;
    clear: both; /* Limpia el float del botón */
}

.descripcion-nosotros .btn-info:hover {
    background-color: #005F29;
}

.nosotros h2 {
    font-size: 2.5rem;
    text-align: left;
    margin: 60px auto 30px;
    color: #39471d;
}

.nosotros h2 span {
    color: #39471d;
}

.mision-vision {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    background: linear-gradient(to bottom, #ebf0e0, #f7f9f4); /* Degradado vertical */
    padding: 30px 20px;
    border-top: 1px solid #e9ecef;
    border-radius: 10px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.columna {
    flex: 1 1 400px;
    min-width: 300px;
}

.columna h3 {
    font-size: 1.5rem;
    color: #39471d;
    margin-bottom: 15px;
}

.columna:nth-child(2) p {
    border-left: 5px solid #39471d;
    padding-left: 20px;
}

.columna p {
    font-size: 1rem;
    line-height: 1.6;
    color: #39471d;
}

/* Responsive para tablet/móvil */
@media (max-width: 768px) {

    .eslogan {
        max-width: 100%;
    }

    .contenido-flex {
        flex-direction: column;
        align-items: stretch;
        gap: 40px;
    }

    .eslogan-container,
    .descripcion-nosotros {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .descripcion-nosotros .btn-info {
        float: none;
        display: block;
        margin: 20px auto 0;
    }
}

  /*/////////////////////////////////// Sección Quienes Somos ////////////////////////////////////////////*/

.quienes-somos .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.quienes-somos h1 {
    font-size: 2.5rem;
    text-align: left;
    margin-bottom: 40px;
    color: #39471d;
}

.quienes-somos h1 span {
    color: #39471d;
}

/* Lista de integrantes - Alineación horizontal */
.integrantes {
    display: flex;
    gap: 20px;
    flex-wrap: wrap; /* Para que se adapte a pantallas pequeñas */
    justify-content: space-between;
    margin-bottom: 40px;
}

/* Cada tarjeta de integrante */
.integrante {
    flex: 1 1 calc(25% - 20px); /* 4 columnas responsivas */
    min-width: 200px;
    position: relative;
    text-align: center;
}

/* Imagen + texto superpuesto */
.imagen-cargo {
    position: relative;
    display: inline-block;
    width: 100%;
    overflow: hidden;
}

.imagen-cargo img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: top; /* Prioriza mostrar la parte superior */
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


.imagen-cargo img:hover {
    transform: scale(1.08); /* Efecto zoom */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Sombra más fuerte al hacer hover */
}

.cargo {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(57, 71, 29, 0.8);
    color: white;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
    white-space: nowrap;
    z-index: 2;
    text-transform: uppercase;
}

.descripcion-integrante {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 10px;
    font-size: 0.8rem;
    color: #333;
    border-radius: 5px;
    z-index: 2;
    opacity: 0;
    visibility: hidden;
    text-align: justify;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.imagen-cargo:hover .descripcion-integrante {
    opacity: 1;
    visibility: visible;
}

.alianza {
    display: flex;
    align-items: center;
    gap: 40px;
    background-color: #f9f8f6;
    padding: 30px;
    border-radius: 10px;
    margin-top: 50px;
    text-align: justify;
}

.alianza img {
    max-width: 800px; /* Tamaño aumentado */
    height: auto;
    transition: transform 0.3s ease;
}

.alianza img:hover {
    transform: scale(1.2); /* Efecto zoom opcional */
}

.alianza p {
    font-size: 1.1rem;
    color: #39471d;
    line-height: 1.6;
    margin: 0;
}

.contacto {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 40px;
}

.logo-contacto img {
    width: 100%;
    max-width: 200px;
}

.info-contacto {
    flex: 1;
    text-align: left;
}

.info-contacto i {
    margin-right: 10px;
    color: #007B33;
}

.redes-sociales {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.redes-sociales a {
    color: #39471d;
    font-size: 20px;
}

/*/////////////////////////////////// Pie de Página (Footer) ////////////////////////////////////////////*/

.footer {
    background-color: #f9f8f6;
    padding: 40px 20px;
}

.container-footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.logo-footer {
    display: flex;
    align-items: center; /* Alinea logo e info en horizontal */
    gap: 30px; /* Espacio entre logo y texto */
    flex-wrap: wrap;
}

.logo-footer img {
    width: 90px;
    height: auto;
    flex-shrink: 0;
}

.contact-info {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #39471d;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info i {
    color: #007B33;
    margin-right: 8px;
}

.footer-text {
    flex: 2 1 500px;
    padding-left: 300px;
  padding-top: 20px;
  font-size: 10px;
}

.footer-text p {
    font-size: 0.6rem;
    line-height: 1.6;
    color: #39471d;
    text-align: justify;
    margin-bottom: 20px;
}

.btn-footer {
    background-color: #39471d;
    color: white;
    border-radius: 25px;
    padding: 10px 25px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    display: inline-block;
    text-decoration: none !important;
    font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
    font-size: 1rem;
    border: none;
    outline: none;
    float: center;
    cursor: pointer;
}

.btn-footer:hover {
    background-color: #005F29;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.social-links a {
    color: #39471d;
    font-size: 20px;
    text-decoration: none;
}

.footer-separator {
    border-top: 1px solid #39471d;
    margin-top: 30px;
}

/*/////////////////////////////////// Sección Servicios ////////////////////////////////////////////*/

.servicios .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.servicios h1 {
    font-size: 2.5rem;
    text-align: left;
    margin-bottom: 40px;
    color: #39471d;
}

.servicios h1 span {
    color: #39471d;
}

.servicios-contenido {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.servicios p {
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: justify;
    margin-bottom: 20px;
}

.tarjetas-servicios {
    display: flex;
    gap: 20px;
    flex-wrap: wrap; /* Permite apilar en móviles */
    justify-content: space-between;
}

.tarjeta-servicio {
    position: relative;
    flex: 1 1 calc(25% - 20px); /* Calcula espacio para 4 por fila */
    min-width: 250px; /* Asegúrate que esto permita 4 tarjetas en tu ancho total */
    max-width: 280px; /* Opcional: limitar el ancho máximo */
    background-color: white;
    background: linear-gradient(to bottom, #ebf0e0, #f7f9f4); /* Degradado vertical */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    box-sizing: border-box;
}

.tarjeta-servicio {
    text-align: left; /* Alinea todo el contenido a la izquierda */
}

.tarjeta-servicio i {
    font-size: 3rem;
    color: #39471d;
    margin-bottom: 10px;
    display: inline-block;
    float: left;
    clear: both; /* Evita problemas de alineación */
}

.tarjeta-servicio h3,
.tarjeta-servicio p,
.tarjeta-servicio{
    clear: both; /* Para evitar que otros elementos se peguen al icono */
}

/* Botón emergente "Ver más" */
.btn-vermas {
    position: absolute;
    bottom: 10px;
    right: 10px; /* Posición en la esquina inferior derecha */
    z-index: 10;
    background-color: #39471d;
    color: white;
    border-radius: 25px;
    padding: 8px 20px;
    font-weight: bold;
    font-size: 0.9rem;
    text-decoration: none !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.tarjeta-servicio:hover .btn-vermas {
    opacity: 1;
    visibility: visible;
}

/*/////////////////////////////////// Servicio Diseño ////////////////////////////////////////////*/

.servicio-diseno {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.servicio-diseno .container.split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.texto-diseno {
    flex: 1;
    min-width: 280px;
    max-width: 600px;
    text-align: left;
}

.texto-diseno h1 {
    font-size: 2.8rem;
    color: #39471d;
    margin-bottom: 20px;
}

.texto-diseno h1 span {
    display: block;
    font-weight: 400;
    font-size: 1.8rem;
    color: #6c6c6c;
}

.texto-diseno p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #39471d;
    text-align: justify;
}

.imagen-diseno {
    flex: 1;
    min-width: 280px;
    text-align: center;
}

.imagen-diseno img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
}

/* Responsive para pantallas pequeñas */
@media (max-width: 768px) {
    .servicio-diseno .container.split {
        flex-direction: column;
        text-align: center;
    }

    .texto-diseno p {
        text-align: justify;
    }
}

/* Botón */
.btn-info {
    background-color: #39471d;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-info:hover {
    background-color: #5a632d;
}

/*/////////////////////////////////// Proceso ////////////////////////////////////////////*/

.proceso-diseno {
    padding: 60px 20px;
    background-color: white;
    text-align: left;
}

.proceso-diseno h1 {
    font-size: 2.8rem;
    color: #39471d;
    margin-bottom: 40px;
}

.proceso-diseno h1 span {
    display: block;
    font-weight: 400;
    font-size: 1.8rem;
    color: #6c6c6c;
}

.tarjetas-servicios {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.tarjeta-servicio {
    flex: 1 1 250px;
    max-width: 280px;
    background: linear-gradient(to bottom,  #f8f9f9,   #f8f9f9); /* aquí el degradado */
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.tarjeta-servicio .numero {
    font-size: 1.7rem;
    
    line-height: 1.5;
    color: #39471d;
    margin-bottom: 10px;
    text-align: left;
}

.tarjeta-servicio h3 {
    font-size: 1.3rem;
    color: #39471d;
    margin-bottom: 10px;
    text-align: left;
}

.tarjeta-servicio p {
    font-size: 1rem;
    line-height: 1.5;
    color: #39471d;
    text-align: justify;

}

/*/////////////////////////////////// Certificaciones ////////////////////////////////////////////*/

.certificaciones-contacto {
    padding: 60px 20px;
    background-color: #f4f6f6;
    text-align: center;
}

.certificaciones-contacto .container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.certificaciones h1,
.proceso-diseno h1,
.servicio-diseno h1 {
    font-size: 2.8rem;
    color: #39471d;
    margin-bottom: 20px;
}

.certificaciones h1 span,
.proceso-diseno h1 span,
.servicio-diseno h1 span {
    display: block;
    font-weight: 400;
    font-size: 1.8rem;
    color: #6c6c6c;
}

.certificaciones p,
.contacto p {
    font-size: 1rem;
    line-height: 1.6;
    color: #39471d;
    margin: 0 auto;
    max-width: 800px;
}




/*/////////////////////////////////// Sección Adicional - Botones y texto ////////////////////////////////////////////*/

.tarjetas-servicios + .boton-ver-soluciones {
    text-align: right;
    margin-top: 40px;
}

.boton-ver-soluciones .btn-info {
    background-color: #39471d;
    color: white;
    font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
    font-size: 1rem;
    border-radius: 25px;
    padding: 10px 25px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    display: inline-block;
    text-decoration: none !important;
    border: none;
    outline: none;
    cursor: pointer;
}

.boton-ver-soluciones .btn-info:hover {
    background-color: #005F29;
}

.marcas-texto {
    margin-top: 60px;
    text-align: left;
    color: #39471d;
    font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
}

.marcas-texto p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 10px;
    text-align: left;
}

.boton-ver-proyectos {
    margin-top: 20px;
    text-align: left;
}

.boton-ver-proyectos .btn-info {
    background-color: #39471d;
    color: white;
    border-radius: 25px;
    padding: 10px 25px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
    font-size: 1rem;
    text-decoration: none !important;
    border: none;
    outline: none;
    display: inline-block;
    cursor: pointer;
}

.boton-ver-proyectos .btn-info:hover {
    background-color: #005F29;
}

/*/////////////////////////////////// Sección En Construcción ////////////////////////////////////////////*/


.pagina-servicio .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
}

.pagina-servicio h1 {
    font-size: 2.5rem;
    color: #39471d;
    margin-bottom: 30px;
}

.pagina-servicio img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Centrado de imágenes */
.en-construccion {
    display: flex;
    justify-content: center; /* Centra horizontalmente */
    align-items: center; /* Centra verticalmente */
    height: 100%; /* Asegura que ocupe todo el espacio vertical */
}

.en-construccion img {
    max-width: 100%; /* Ajusta el ancho máximo */
    height: auto; /* Mantén proporción */
}

/*/////////////////////////////////// Página en Construcción ////////////////////////////////////////////*/

.pagina-en-construccion {
    padding: 80px 20px;
    text-align: center;
}

.pagina-en-construccion h1 {
    font-size: 2.5rem;
    color: #39471d;
    margin-bottom: 20px;
}

.pagina-en-construccion p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
}

.pagina-en-construccion img {
    max-width: 100%;
    height: auto;
    margin-top: 30px;
}

/*/////////////////////////// Sección Soluciones ///////////////////////////*/

.soluciones {
  padding: 60px 20px;
  background-color: #fbfaf7;
}

.bloque-solucion {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 80px;
}

.solucion-img {
  flex: 1;
  min-width: 300px;
}

.solucion-img img {
  width: 100%; /* reducido del 100% */
  max-width: 400px;
  margin: 0 auto;
  display: block;
}

.solucion-texto {
  flex: 1;
  min-width: 300px;
}

.solucion-texto h2 {
  font-size: 2.5rem;
  color: #39471d;
  margin-bottom: 20px;
  line-height: 1.2;
}

.solucion-texto h2 span {
  color: #6c6c6c;
  font-weight: 400;
  font-size: 1.8rem;
}

.solucion-texto p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #39471d;
  text-align: justify;
}

.titulo-light {
  font-weight: 400;
  font-size: 2.5rem;
  color: #39471d;
  display: inline-block;
}

.titulo-bold {
  font-weight: 700;
  font-size: 2.5rem;
  color: #39471d;
  display: inline-block;
}


.solucion-marcas {
  margin-top: 30px;
}

/* Ajuste: marcas de emergencia y control más pequeñas */
.solucion-marcas img[src*="marcas-ilum-emergencia"], {
  width: 80%;  /* reducido del 100% */
  max-width: 500px;
  display: block;
  margin: 0 auto;
}
/* Imagen más pequeña solo para marcas-ilum-emergencia.png */
.solucion-marcas img[src*="marcas-ilum-emergencia"] {
  width: 60%;        /* reducido más que antes */
  max-width: 400px;  /* límite máximo */
  display: block;
  margin: 0 auto;
}

/* Dejamos marcas-ilum-gral.png intacta */
.solucion-marcas img[src*="marcas-ilum-gral"] {
  width: 100%;
  max-width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  .bloque-solucion {
    flex-direction: column;
  }

  .solucion-texto h2 {
    font-size: 2rem;
    text-align: center;
  }

  .solucion-texto h2 span {
    font-size: 1.5rem;
  }

  .solucion-texto p {
    text-align: justify;
  }

  .solucion-marcas img {
    max-width: 100%;
  }
}

/*//////////////////// Sección Proyectos //////////////////////*/

.proyecto {
  position: relative;
  text-align: center;
}

.proyectos h1 {
  font-size: 2.8rem;
  color: #39471d;
  margin-bottom: 40px;
  text-align: left;
}

.proyectos h1 span {
  display: block;
  font-weight: 400;
  font-size: 1.8rem;
  color: #6c6c6c;
}

.grid-proyectos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.proyecto {
  position: relative;
  text-align: center;
}

.proyecto img {
  width: 85%;
  height: auto;
  margin: 0 auto;
  display: block;
  border-radius: 10px 10px 0 0;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.proyecto img:hover {
  transform: scale(1.05);
}

.proyecto p {
  margin-top: 10px;
  font-size: 1rem;
  color: #39471d;
  font-weight: bold;
}

.descripcion-proyectos {
  text-align: left;
  max-width: 900px;
  margin: 0 auto;
}

.descripcion-proyectos h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #39471d;
}

.descripcion-proyectos p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #39471d;
  margin-bottom: 20px;
  text-align: justify;
}

.contacto-proyectos {
  font-size: 1rem;
  line-height: 1.6;
  color: #39471d;
}

.contacto-proyectos a {
  color: #39471d;
  text-decoration: none;
}

/* Responsive ajustes */
@media (max-width: 768px) {
  .proyectos h1,
  .descripcion-proyectos {
    text-align: center;
  }

  .descripcion-proyectos p {
    text-align: justify;
  }
}

.grid-proyectos {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 por fila */
  gap: 30px;
  margin-bottom: 60px;
}

.etiqueta-proyecto {
  position: absolute;
  left: 0;              /* Alineado al borde izquierdo de la imagen */
  bottom: 80px;         /* Puedes ajustar este valor para subir o bajar */
  background-color: #39471d;
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: bold;
  padding: 5px 15px;
  border-top-left-radius: 0;
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
  border-bottom-left-radius: 0;
  z-index: 1;
}



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

@media (max-width: 600px) {
  .grid-proyectos {
    grid-template-columns: 1fr;
  }
}

/* //////////////////////////// Sección Contacto ////////////////////////// */

.contacto-pagina {
  padding: 60px 20px;
  background-color: #fbfaf7;
}

.contacto-pagina h1 {
  font-size: 2.8rem;
  color: #39471d;
  margin-bottom: 40px;
  text-align: left;
}

.contacto-pagina h1 span {
  display: block;
  font-weight: 400;
  font-size: 1.8rem;
  color: #6c6c6c;
}

.contacto-contenido {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.formulario-contacto {
  flex: 1 1 45%;
  min-width: 300px;
}

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

.formulario-contacto label {
  font-weight: bold;
  color: #39471d;
}

.formulario-contacto input,
.formulario-contacto textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: 'Century Gothic', sans-serif;
  font-size: 1rem;
  resize: vertical;
}

.boton-centrado {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.mensaje-exito {
  text-align: center;
  color: green;
  font-weight: bold;
  margin-top: 20px;
  font-size: 1rem;
}

.info-contacto {
  flex: 1 1 45%;
  min-width: 300px;
}

.info-contacto h2 {
  font-size: 1.8rem;
  color: #39471d;
  margin-bottom: 20px;
}

.info-contacto p {
  font-size: 1rem;
  color: #39471d;
  margin-bottom: 10px;
  line-height: 1.6;
}

.info-contacto a {
  color: #39471d;
  text-decoration: none;
}

.mapa-contacto {
  margin-top: 20px;
  border-radius: 10px;
  overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
  .contacto-contenido {
    flex-direction: column;
  }

  .contacto-pagina h1 {
    text-align: center;
  }

  .info-contacto, .formulario-contacto {
    text-align: left;
  }

  .boton-centrado {
    justify-content: center;
  }
}



}