/* site header - 左侧 logo 右侧导航 */
.site-header {
	position: sticky;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: #fff;
	box-shadow: 0 2px 12px rgba(46, 61, 98, 0.08);
	font-family: "Montserrat", sans-serif;
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 15px;
	max-width: 1200px;
	margin: 0 auto;
}

.header-logo {
	text-decoration: none;
	color: #2e3d62;
	font-weight: 700;
	font-size: 18px;
	line-height: 1.2;
	white-space: nowrap;
	display: flex;
	align-items: center;
}

.header-logo:hover {
	color: #ff8257;
}

.header-logo .logo-img {
	display: block;
	max-height: 44px;
	width: auto;
	vertical-align: middle;
}

.header-logo .logo-text {
	margin-left: 8px;
}

.header-logo .logo-text sup {
	font-size: 10px;
	top: -0.4em;
}

.header-nav {
	display: flex;
	align-items: center;
	gap: 28px;
}

.header-nav .nav-link {
	text-decoration: none;
	color: #666e82;
	font-size: 15px;
	font-weight: 500;
	transition: color 0.2s;
}

.header-nav .nav-link:hover {
	color: #ff8257;
}

/* 移动端汉堡按钮 - 默认隐藏 */
.header-toggle {
	display: none;
	width: 36px;
	height: 36px;
	padding: 0;
	border: none;
	background: transparent;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	cursor: pointer;
}

.header-toggle .toggle-bar {
	display: block;
	width: 22px;
	height: 2px;
	background: #2e3d62;
	border-radius: 1px;
	transition: transform 0.3s, opacity 0.3s;
}

.header-toggle[aria-expanded="true"] .toggle-bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.header-toggle[aria-expanded="true"] .toggle-bar:nth-child(2) {
	opacity: 0;
}

.header-toggle[aria-expanded="true"] .toggle-bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 767px) {
	.header-toggle {
		display: flex;
	}

	.header-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #fff;
		flex-direction: column;
		padding: 16px;
		gap: 0;
		box-shadow: 0 8px 16px rgba(46, 61, 98, 0.1);
		display: none;
	}

	.header-nav.is-open {
		display: flex;
	}

	.header-nav .nav-link {
		padding: 12px 0;
		border-bottom: 1px solid #eee;
		width: 100%;
	}

	.header-nav .nav-link:last-child {
		border-bottom: none;
	}
}
