@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Sora:wght@100..800&display=swap');

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

html, body {
    width: 100%;
     /* Evitar overflow horizontal */
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: #000000;
    font-size: 12px;
}

a {
    text-decoration: none;
    color: #000000;
}
li{
    text-decoration: none;
}

header {
  width: 100%;
  height: 60px;
  top: 0;
  background-color: #3399CC;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  position: sticky;
  z-index: 100;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
}

.logo img {
  height: 40px;
  object-fit: contain;
}

/* NAVBAR */
.menu {
  display: flex;
  align-items: center;
}

.menu-list {
  display: flex;
  list-style: none;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.menu-item a {
  color: #ffffff;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.menu-item a:hover {
  color: #000000;
}

/* BOTÓN HAMBURGUESA */
.menu-toggle {
  display: none;
  font-size: 2rem;
  color: #ffffff;
  cursor: pointer;
}

/* FOOTER */

footer.footer {
    background-color: #3399CC; /* Azul que quieres aplicar */
    background-image: linear-gradient(to top, #3b5ac0, #3399CC);
    color: #ffffff; /* Color de texto principal (blanco) */
    padding: 50px 20px 20px 20px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 200px;
}

.footer-container {
    display: flex;
    justify-content: space-between;footer {
    background-color: #007bff; /* Azul principal de tu cabecera */
    color: #ffffff;
    padding: 50px 20px 20px 20px;
    font-family: 'Helvetica Neue', Arial, sans-serif; 
}

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

.footer-col {
    flex: 1;
    margin: 15px;
    min-width: 220px; /
}

.footer-col h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

.footer-col h4 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    border-bottom: 2px solid #3a8ded;  
    padding-bottom: 8px;
    display: inline-block;
}

.footer-col p {
    font-size: 15px;
    line-height: 1.6;
    color: #e0e0e0;
}

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #3a8ded; 
    text-decoration: underline;
}

.social-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 22px;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #3a8ded;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #3a8ded; 
    font-size: 14px;
    color: #e0e0e0;
}
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap; 
}

.footer-col {
    flex: 1;
    margin: 15px;
    min-width: 220px; 
}

.footer-col h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

.footer-col h4 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    border-bottom: 2px solid #3a8ded; 
    padding-bottom: 8px;
    display: inline-block;
}

.footer-col p {
    font-size: 15px;
    line-height: 1.6;
    color: #e0e0e0;
}

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #3a8ded; 
    text-decoration: underline;
}

.social-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 22px;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #3a8ded;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #3a8ded; 
    font-size: 14px;
    color: #e0e0e0;
}
/* Quitamos height fijo para que crezca automáticamente */


@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .footer-container ul {
        align-items: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-container > * {
        width: 100%;
        max-width: 400px;
    }
  .menu-toggle {
    display: block;
  }

  .menu {
    position: absolute;
    top: 60px;
    left: 0;
    background-color: #3399CC;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .menu-list {
    flex-direction: column;
    width: 100%;
    gap: 20px;
  }
  .menu-list li{
    width: 100%;
    padding: 20px;
    border-bottom: 1px solid #ffffff;
  }

  .menu.show {
    display: flex;
  }
}

/* DESKTOP: aseguramos que el menú vuelva a mostrarse en tamaño grande */
@media (min-width: 769px) {
  .menu {
    display: flex !important;
    position: static;
    flex-direction: row;
    padding: 0;
    background: none;
    box-shadow: none;
  }

  .menu-list {
    flex-direction: row;
    gap: 30px;
  }

  .menu-toggle {
    display: none;
  }
}