.header {
  position: sticky;
  top: 0;
  z-index: 100;
}

.header .container.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  padding: 10px 20px;
}

.header .brand {
  display: flex;
  align-items: center;
}

.header .brand img {
  display: block;
  width: 88px;
  height: 88px;
  max-width: 88px;
  max-height: 88px;
  object-fit: contain;
  border-radius: 50%;
}

.header .links {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.header .links a {
  color: #eaf2ff;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.2;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  color: #eaf2ff;
}

@media (max-width: 900px) {
  .header .brand img {
    width: 72px;
    height: 72px;
    max-width: 72px;
    max-height: 72px;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 36px;
    padding: 0;
  }

  .nav-toggle .bar {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
  }

  .header .links {
    display: none;
    position: absolute;
    right: 12px;
    top: calc(100% + 4px);
    min-width: 220px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(10, 22, 35, 0.96);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    z-index: 120;
  }

  .header .links.open,
  .header.is-open .links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
