@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*/

/*inicio estilos primer bloque */
.textoprincipal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 250px;
    margin-bottom: 100px;
}

.ppaltext {
    max-width: 45%;
    margin-left: 300px;
}

.ppaltext h1 {
    color: #0a2fa3;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 20px;
}

.ppaltext p {
    color: #0a2fa3;
    font-size: 20px;
    line-height: 1.5;
}

.botoncontacto {
    display: inline-block;
    margin-top: 25px;
    margin-left: 15%;
    padding: 14px 40px;
    font-size: 25px;
    background-color: #448ac0;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 60px;
}

.botoncontacto:hover {
    background-color: #081f6e;
    transform: translateY(-2px);
}

.imgInicio img {
    max-width: 500px;
    width: 100%;
    height: auto;
    margin-right: 100px;
}



.titulossobrenosotros {
    padding: 80px 10%;
    background: #f6f9fc;
    margin-top: 100px;
}

.historia {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.historia-texto {
    flex: 1;
}

.historia-texto h1 {
    font-size: 42px;
    color: #0a2a8a;
    margin-bottom: 20px;
}

.historia-texto h2 {
    font-size: 28px;
    color: #0a2a8a;
    margin-bottom: 15px;
}

.historia-texto p {
    font-size: 16px;
    line-height: 1.7;
    color: #0a2a8a;
    margin-bottom: 16px;
}

.historia-destacado {
    font-weight: 600;
    color: #0a2a8a;
}

.historia-lista {
    list-style: none;
    padding: 0;
    margin-top: 25px;
}

.historia-lista li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    color: #0a2a8a;
    margin-bottom: 10px;
}

.historia-lista li::before {
    content: "✔";
    color: #1e90ff;
    font-weight: bold;
    flex-shrink: 0;
}

.historia-imagen {
    flex: 1;
    text-align: right;
}

.historia-imagen img {
    max-width: 100%;
    height: auto;
    border-radius: 15%;
}


@media (max-width: 768px) { 
    .titulossobrenosotros { 
        padding: 40px 5%;
        margin-top: 80px;
        } 
    .historia { 
        flex-direction: column;
        text-align: center; 
        gap: 30px;
        } 
    .historia-texto {
        width: 100%; 
    } 
    .historia-texto h1 { 
        font-size: 32px;
        } 
    .historia-texto h2 { 
        font-size: 22px; 
    } 
    .historia-texto p { 
        font-size: 15px; 
    } 
    .historia-lista li { 
        padding-left: 22px;
        font-size: 14px; } 
    .historia-imagen { 
        text-align: center;
        width: 100%; 
    } 
    .historia-imagen img { 
        max-width: 80%;
        margin: 0 auto; 
    } 
} 
/* Móviles muy pequeños */
@media (max-width: 480px) { 
    .historia-texto h1 { 
        font-size: 26px; 
    } 
    .historia-texto h2 { 
        font-size: 20px; 
    } .historia-texto p { 
        font-size: 14px; 
    } 
    .historia-imagen img { 
        max-width: 90%; 
    } 
}

/*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;
    }

}


/*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); }
}









