* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

/* Barra superior */
.top-bar {
  background: radial-gradient(circle at top, #1c2533, #0e1218);
  color: #fff;
  font-size: 14px;
}


.h1-seo {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.top-container {
  max-width: 1100px;
  margin: auto;
  padding: 8px 20px;
  display: flex;
  justify-content: space-between;
}

/* Navegación */
.navigation {
  background: #ffc107;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1100px;
  margin: auto;
  height: 60px;
}

.brand {
  /* background: aqua; */
  float: left;
  /* line-height: 60px;
  padding-left: 20px; */
}
.brand img {
  width: 100px;
}

/* .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand {
  line-height: normal;
} */

.brand a {
  color: #fff;
  font-size: 22px;
  font-weight: bold;
  text-decoration: none;
}

/* Menú */
nav {
  float: right;
}

nav ul {
  list-style: none;
}

nav ul li {
  float: left;
  position: relative;
}

nav ul li a {
  display: block;
  padding: 0 20px;
  line-height: 60px;
  color: #fff;
  text-decoration: none;
}

nav ul li a:hover {
  background: #ffc107;
  color: #222;
}

/* Dropdown */
.nav-dropdown {
  display: none;
  position: absolute;
  background: #ffc107;
  min-width: 200px;
}

.nav-dropdown li a {
  padding: 15px;
  line-height: 20px;
}

/* Mobile */
.nav-mobile {
  display: none;
  position: absolute;
  right: 0;
  top: 0;
  height: 60px;
  width: 60px;
  background: #ffc107;
}

#nav-toggle {
  /*position: absolute;
  top: 22px;
  left: 18px;
  cursor: pointer;*/
   background: none;
  border: none;
  cursor: pointer;
}

#nav-toggle span,
#nav-toggle span::before,
#nav-toggle span::after {
  content: "";
  display: block;
  background: #fff;
  height: 4px;
  width: 30px;
  margin: 5px 0;
  transition: 0.3s;
}

/* Responsive */
/*@media (max-width: 768px) {
  .nav-mobile {
    display: block;
  }

  nav {
    width: 100%;
  }

  nav ul {
    display: none;
    background: #ffc107;
  }

  nav ul li {
    float: none;
    background-color: #222;
  }

  nav ul li a {
    padding: 15px;
    line-height: 20px;
  }

  .nav-dropdown {
    position: static;
  }
}*/

@media (max-width: 768px) {

  .nav-mobile {
    display: block;
  }

  nav {
    width: 100%;
  }

  nav ul {
    display: none;
    width: 100%;
    background: #ffc107;
  }

  @media (max-width: 768px) {

  nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
  }

  nav ul li {
    float: none;
    width: 100%;
  }

}


  /*nav ul li {
    float: none;
    width: 100%;
  }*/

  nav ul li a {
    padding: 15px;
    line-height: 20px;
    color: #222;
    font-weight: bold;
  }

  /* Submenús en móvil */
  .nav-dropdown {
    display: none;
    position: static;
    background: #ffca2c;
  }

  .nav-dropdown li a {
    padding-left: 30px;
    font-weight: normal;
  }
}


/* Agregando más breakpoints responsive para top-bar */
@media (max-width: 600px) {
  .top-container {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

/* Contenido */
.content {
  max-width: 1100px;
  margin: auto;
  padding: 40px 20px;
}

/* ===== SUBMENÚ HOVER ESCRITORIO ===== */
nav ul li:hover > .nav-dropdown {
  display: block;
}

/* Animación suave */
.nav-dropdown {
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}