/* ==============================
   BASE GENERAL
   ============================== */
body {
  font-family: "Poppins", Arial, sans-serif;
  background-color: #f9f9f9;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ==============================
   MENÚ DE NAVEGACIÓN
   ============================== */
.encabezado {
  background-color: #144F7D;
  padding: 10px 20px;
  position: relative;
  z-index: 1001;
}

.logo { height: 50px; }

.contenedor-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.contenedor-header .menu ul {
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contenedor-header .menu a {
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  padding: 6px 10px;
  transition: background-color 0.3s ease;
}

.contenedor-header .menu a:hover {
  background-color: #0e3f63;
  border-radius: 4px;
}

.contenedor-header .menu a i {
  font-size: 18px;
  color: #fff;
  transition: color 0.3s, transform 0.2s;
}

.contenedor-header .menu a:hover i {
  color: #f0c000;
  transform: scale(1.2);
}

/* ==============================
   HAMBURGUESA RESPONSIVE
   ============================== */
.hamburguesa { display: none; font-size: 24px; color: white; background: none; border: none; cursor: pointer; }

@media (max-width: 768px) {
  .hamburguesa { display: block; }

  .contenedor-header .menu {
    flex-direction: column;
    align-items: center;
    width: 100%;
    background-color: #144F7D;
    border-radius: 0 0 8px 8px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
  }

  .contenedor-header .menu.activo { max-height: 500px; }

  .contenedor-header .menu ul {
    flex-direction: column;
    padding: 10px 0;
    width: 100%;
    align-items: center;
  }

  .contenedor-header .menu li { width: 100%; display: flex; justify-content: center; border-top: 1px solid rgba(255,255,255,0.2); }

  .contenedor-header .menu a { font-size: 16px; padding: 12px 0; text-align: center; }
}

/* ==============================
   FOOTER
   ============================== */
footer {
  background-color: #144F7D;
  color: white;
  padding: 20px;
  width: 100%;
  margin-top: auto;
  flex-shrink: 0;
}

footer .footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 10px;
}

footer .footer-logo img { height: 60px; }

footer .footer-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

footer a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

footer a:hover { color: #f0c000; }

/* ==============================
   RESPONSIVE FOOTER
   ============================== */
@media (max-width: 768px) {
  footer .footer-logo img { height: 50px; margin-bottom: 10px; }
  footer .footer-info a { margin: 3px 0; display: inline-block; }
}

@media (max-width: 480px) {
  footer { padding: 15px 10px; }
  footer .footer-logo img { height: 45px; }
  footer .footer-info p { font-size: 0.85rem; }
}
