/* Estilos generales */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f9f9f9;
}

/* Barra de navegación */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #2d89ef;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Brand: textos + logo */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-texto {
  display: flex;
  flex-direction: column;
  line-height: 1;
  color: white;
}

.titulo1 {
  font-size: 18px;
  font-weight: bold;
}

.titulo2 {
  font-size: 14px;
  margin-top: 2px;
}

.logo {
  width: 45px;
  height: 45px;
}

/* Menú */
.menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  gap: 10px;
}

.menu li a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: white;
  transition: background 0.3s;
}

.menu li a:hover {
  background: #1a5fb4;
}

/* Botón hamburguesa */
.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* iframe */
iframe {
  width: 100%;
  height: calc(100vh - 60px);
  border: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {

  .menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #2d89ef;
    padding-bottom: 10px;
  }

  .menu.active {
    display: flex;
  }

  .menu li {
    width: 100%;
  }

  .menu li a {
    padding: 12px 20px;
  }

  .menu-toggle {
    display: block;
  }
}
