/* ===== Header / Nav (compartido entre páginas) ===== */
.rq-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(6, 5, 8, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.rq-nav {
  max-width: 1280px;
  margin: 0 auto;
  height: 64px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.rq-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.rq-brand img { width: 34px; height: auto; display: block; }

.rq-brand-name {
  font-family: 'PR Viking', 'MedievalSharp', serif;
  font-size: 18px;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.rq-nav-links { display: flex; }
.rq-nav-links-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.rq-nav-links a { color: var(--text-dim); }
.rq-nav-links a:hover { color: var(--accent); }
.rq-nav-links a.is-active { color: var(--accent); }

.rq-nav-cta {
  color: var(--accent) !important;
  border: 1px solid var(--accent-2-deep);
  padding: 9px 18px;
}
.rq-nav-cta:hover { background: var(--accent); color: var(--bg) !important; }

.rq-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.rq-nav-toggle span { display: block; width: 100%; height: 2px; background: var(--text); }

@media (max-width: 768px) {
  .rq-nav-toggle { display: flex; }
  .rq-nav-links {
    display: grid;
    grid-template-rows: 0fr;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--line);
    transition: grid-template-rows .3s ease;
  }
  .rq-nav-links.is-open { grid-template-rows: 1fr; }
  .rq-nav-links-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-height: 0;
    overflow: hidden;
  }
  .rq-nav-links a { padding: 16px 24px; border-top: 1px solid var(--line); }
  .rq-nav-cta { text-align: center; }
}
