.app-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 16px;
  padding: 18px 22px 20px;
  border: 2px solid #9eb39d;
  border-radius: 24px;
  background: linear-gradient(160deg, #e4e8da 0%, #dde4d8 100%);
}

.app-header-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}

.app-brand {
  margin: 0;
}

.app-brand a {
  text-decoration: none;
  color: #081b10;
  font-size: clamp(2rem, 3.2vw, 3.3rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}

.app-subtitle {
  margin: 10px 0 0;
  color: #35513f;
  font-size: clamp(1rem, 1.35vw, 1.5rem);
  line-height: 1.25;
  font-weight: 500;
}

.app-header .meta {
  margin: 0;
  color: #35513f;
  font-size: clamp(0.95rem, 1.1vw, 1.2rem);
  line-height: 1.25;
}

.app-header .menu {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0;
}

.app-header .menu a {
  text-decoration: none;
  color: #fff;
  background: #1f5337;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: clamp(0.95rem, 1vw, 1.12rem);
  font-weight: 800;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.app-header .menu a.active {
  background: #18442d;
  box-shadow: 0 0 0 2px rgba(24, 68, 45, 0.18);
}

@media (max-width: 720px) {
  .app-header {
    padding: 14px 14px 16px;
    gap: 12px;
    border-radius: 18px;
  }

  .app-header-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .app-brand a {
    font-size: 1.65rem;
  }

  .app-subtitle {
    margin-top: 8px;
    font-size: 0.98rem;
  }

  .app-header .menu a {
    padding: 7px 12px;
    font-size: 0.9rem;
  }
}
