@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

body {
    background-color: #f4f7fb;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    padding-top: 50px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


/*estilos de la barra superior*/
.menu { 
    background-color: #ffffff;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100px;
    padding: 0 60px;   
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}

.logo img {
    height: 100px;
    margin-left: 50px;
}

.linksmenu {
    display: flex;
    margin-left: auto;
    margin-right: 10px;
    gap: 30px;        
    padding-right: 50px;
    font-weight: bold;
}

.linksmenu a {
    text-decoration: none;
    color: #0a2fa3;
    font-size: 25px;
}
.desplegable {
    display: none;
    font-size: 32px;
    background: none;
    color: #0a2fa3;
    cursor: pointer;
}
/* Responsive menú */
@media (max-width: 768px) {
    .menu {
        flex-direction: column;
        align-items: center;
        height: auto;
        padding: 20px;
    }

    .logo {
        margin-bottom: 10px;
    }

    .logo img {
        height: 60px;
        margin-left: 0;
    }

    .linksmenu {
        display: none;
        flex-direction: column;
        gap: 15px;
        padding: 20px 0;
        width: 100%; 
        text-align: center;
        background-color: #ffffff;
    }
    
    .linksmenu .active {
        display: flex;
    }

    .linksmenu a {
        font-size: 18px;
    }
    .desplegable {
        display: block;
        align-self: flex-end;
        margin-bottom: 10px;
    }
}
/*MENÚ DESPLEGABLE*/
.desplegable { 
    display: none; 
    font-size: 32px; 
    background: none; 
    border: none; color:
    #0a2fa3; 
    cursor: pointer; 
} 
/* Versión móvil */ 
@media (max-width: 768px) { 
    .desplegable { 
        display: block; 
        margin-left: auto;
    } 
     .linksmenu { 
        display: none;  
        flex-direction: column; 
        width: 100%; 
        text-align: center; 
        gap: 20px; 
        padding: 20px 0; 
        background-color: #ffffff;
    } 
    .linksmenu.active { 
        display: flex; 
    } 
}

/* FOOTER */
.sticky-footer {
  background-color: #d9d6d5;
  width: 100%;
  color: #222;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

.footer-container {
  text-align: center;
  padding: 30px 20px;
  position: relative;
}

/* LOGO */
.footer-logo .logo-peque {
  width: 80px;
  height: auto;
  margin-bottom: 15px;
}

/* BLOQUE DE ENLACES LEGALES */
.footer-links-wrapper {
  position: relative;
  margin-bottom: 20px;
}

.footer-links {
  font-size: 14px;
  display: inline-block;
  margin: 0 auto;
}

.footer-links a {
  text-decoration: none;
  margin: 0 5px;
}
.footer-links a:hover {
    color: #0a2fa3;
    text-decoration: underline;
}

/* IMAGEN ENS POSICIONADA A LA DERECHA */
.footer-img-right {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 80px;
  height: auto;
}

/* COPYRIGHT */
.footer-copy {
  font-size: 12px;
  margin-bottom: 15px;
}

/* CONTACTO FINAL */
#navtop {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  font-size: 14px;
  align-items: center;
}

#navtop img#linkedin {
  width: 25px;
  height: 25px;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .footer-links-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .footer-img-right {
    position: static;
    transform: none;
    margin-top: 10px;
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
}


/*FIN FOOTER*/



/*RESPONSIVE GENERAL*/
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
    }
    .menu {
        padding: 10px 20px;
    } 
    .logo img { 
        margin-left: 0;
    } 
    .linksmenu {
        padding-right: 0;
    }
}

/*ESTILOS DE PROYECTOS*/ 
.soluciones { 
    margin-top: 100px; 
} 
.solucionestext { 
    max-width: 80%; 
    margin-left: 130px; 
    align-items: center; 
    justify-content: space-between; 
    padding: 60px 20px; 
    background-color: #f4f7fb; 
    text-align: center; 
} 
.solucionestext h1 {
    color: #0a2fa3; 
    font-size: 30px; 
    font-weight: 700; 
    margin-bottom: 20px;
} .solucionestext h2 {
    color: #0a2fa3;
    font-size: 25px; 
    font-weight: 700;
    margin-bottom: 20px; 
} 
.solucionestext p {
    color: #0a2fa3; 
    font-size: 20px; 
    line-height: 1.5;
}
.gridsoluciones {
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 40px; 
    max-width: 2000px; 
    margin: 50px auto; 
    padding: 0 20px; 
} 
.itemsolucion { 
    text-align: center; 
    background: #f9f9f9; 
    padding: 20px; 
    border-radius: 8px; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); 
} 
.itemsolucion img { 
    width: 100%; 
    height: auto; 
    object-fit: cover; 
    border-radius: 4px; 
    margin-bottom: 15px; 
} 
.itemsolucion h2 { 
    margin: 10px 0; 
    color: #0a2fa3; 
    font-size: 25px; 
} 
.itemsolucion p { 
    color: #0a2fa3; 
    font-size: 18px; 
}
.contenedorfp { 
    text-align: center; 
    padding: 10px 10px; 

} 
.gridfp { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 40px; 
    max-width: 2000px; 
    margin: 50px auto; 
    padding: 0 20px; 
} 
.imgforcepoint {
    display: flex; 
    justify-content: center; 
    width: 300px; 
    height: auto; 
    object-fit: cover; 
    border-radius: 4px; 
    margin-left: auto; 
    margin-right: auto;
    background-color: transparent;
    mix-blend-mode: multiply;
} 

@media (max-width: 768px) {
    html, body { 
        overflow-x: hidden; 
        width: 100%;
    } 
    .soluciones { 
        margin-top: 80px; 
    } 
    .solucionestext { 
        max-width: 100%; 
        margin-left: 0;
        padding: 40px 20px;
        text-align: center; 
    } 
    .solucionestext h1 { 
        font-size: 26px; 
    } 
    .solucionestext h2 {
        font-size: 22px; 
    } .solucionestext p { 
        font-size: 16px; 
    } 
    .gridsoluciones { 
        grid-template-columns: 1fr;
        gap: 25px; 
        padding: 0 10px; 
    } 
    .itemsolucion { 
        padding: 15px; 
    } 
    .itemsolucion h2 { 
        font-size: 22px;
    } 
    .itemsolucion p {
        font-size: 15px;
    }
    .gridfp { 
        grid-template-columns: 1fr;
        gap: 25px; padding: 0 10px;
    } 
    .imgforcepoint { 
        width: 80%;
        max-width: 250px;
    } 
}
@media (max-width: 480px) { 
    .solucionestext h1 { 
        font-size: 22px; 
    } 
    .solucionestext h2 { 
        font-size: 20px; 
    }
    .solucionestext p { 
        font-size: 14px; 
    } 
    .itemsolucion h2 {
        font-size: 20px;
    } 
    .itemsolucion p {
        font-size: 14px;
    }
    .imgforcepoint {
        max-width: 200px;
    }
}

/*IMÁGENES*/
@media (max-width: 768px) {
    .itemsolucion img { 
        width: 50%;
        margin: 0 auto;
        display: block; 
    }
    .imgforcepoint { 
        width: 50%;
        max-width: none;
        margin: 0 auto; 
    }
    .gridsoluciones, .gridfp { 
        grid-template-columns: 1fr !important; 
    } 
} 
/* Móviles muy pequeños */ 
@media (max-width: 480px) { 
    .itemsolucion img, .imgforcepoint { 
        width: 60%;
    } 

}

/*COOKIES*/
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #1e1e1e;
  color: #fff;
  padding: 15px 25px;
  border-radius: 10px;
  display: flex;
  gap: 15px;
  align-items: center;
  font-family: 'Poppins', sans-serif;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  animation: fadeIn 0.6s ease-out;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-banner button {
  background: #4CAF50;
  border: none;
  padding: 8px 15px;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}

#reject-cookies {
  background: #d9534f;
}

.cookie-banner button:hover {
  opacity: 0.85;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translate(-50%, 20px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
