/* 导航、页脚、内页 Banner */

/* ── Header / Nav（参考 McConnel：默认黑渐变白字，下滑白底黑字吸顶） ── */
.site-header {
	--nav-ink: #333;
	--nav-white: #ffffff;
	--nav-muted: rgba(255, 255, 255, 0.82);
	--signal: #f2b705;
	--steel-line: rgba(255, 255, 255, 0.12);
	--mono: "IBM Plex Mono", monospace;
	--display: "Poppins", sans-serif;
	--body: "Poppins", sans-serif;
	--nav-max: 1610px;
	--fw-light: 300;
	--fw-regular: 400;
	--fw-medium: 500;
}

#nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 500;
	height: 96px;
	background: transparent;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	border-bottom: none;
	padding: 0;
	transition:
		background 0.35s ease,
		box-shadow 0.35s ease,
		height 0.25s ease;
}

#nav .nav-wrap {
	max-width: var(--nav-max);
	margin: 0 auto;
	padding: 0 48px;
	height: 96px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 64px;
	box-sizing: border-box;
	transition: height 0.25s ease;
}

#nav.scrolled {
	height: 96px;
	background: #ffffff;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

#nav.scrolled .nav-wrap {
	height: 96px;
}

/* 参考 McConnel：Logo 左 · 主菜单紧随其后居左 · 搜索靠右 */
.nav-cluster {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 36px;
	flex: 1 1 auto;
	min-width: 0;
}

/* WP 管理黑条：顶栏下移，避免遮住导航 */
body.admin-bar #nav {
	top: 32px;
}

@media screen and (max-width: 782px) {
	/*
	 * 核心默认把手机端管理条设为 absolute，滚动后黑条离开视口，
	 * 而 #nav 仍保留 top:46px，顶部会出现大块空白。强制 fixed 保持吸附。
	 */
	html #wpadminbar {
		position: fixed;
	}

	body.admin-bar #nav {
		top: 46px;
	}
}

/* 内页 banner 延伸至顶栏下（对齐静态页），避免 body 留白在半透明导航下露白缝 */
body:not(.home) {
	padding-top: 0;
}

body.admin-bar:not(.home) {
	padding-top: 0;
}

@media screen and (max-width: 782px) {
	body.admin-bar:not(.home) {
		padding-top: 0;
	}
}

/* PC 内页 Hero：顶部含导航高度（静态页 160px） */
.page-hero {
	/* 各页 CSS 会写完整 padding；此处兜底，防止漏写时标题顶到导航 */
	padding-top: 160px;
}

#page-banner {
	/* 背景顶到视口，标题区仍在下方 */
	box-sizing: border-box;
}

@media (max-width: 680px) {
	#nav .nav-wrap {
		padding: 0 22px;
	}
}

.nav-logo {
	display: flex;
	align-items: center;
	text-decoration: none;
	flex-shrink: 0;
	gap: 12px;
	position: relative;
	z-index: 2;
}

.nav-logo img,
.nav-logo-img,
.custom-logo {
	height: 48px;
	width: auto;
	max-width: 220px;
	display: block;
	object-fit: contain;
	/* 保留后台 Logo 原色；强制反色会把黄底 Logo 刷成白块导致“看不见” */
	filter: none !important;
	transition: none;
}

.nav-logo-text {
	font-family: var(--display);
	font-weight: var(--fw-medium);
	font-size: 18px;
	letter-spacing: 0.04em;
	color: var(--nav-white);
	text-transform: uppercase;
	transition: color 0.3s ease;
}

#nav.scrolled .nav-logo-text {
	color: var(--nav-ink);
}

.nav-links {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex: 1 1 auto;
	gap: 36px;
	list-style: none;
	margin: 0;
	padding: 0;
	min-width: 0;
}

.nav-links li {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-links > li > a {
	display: block;
	padding: 10px 0;
	height: auto;
	line-height: 1.2;
	font-family: var(--body);
	font-size: 18px;
	font-weight: var(--fw-medium);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--nav-muted);
	position: relative;
	transition: color 0.25s ease;
	white-space: nowrap;
	-webkit-tap-highlight-color: transparent;
}

.nav-links > li > a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 2px;
	width: 0;
	height: 2px;
	background: currentColor;
	transform: none;
	transition: width 0.25s ease;
	pointer-events: none;
}

.nav-links > li > a:hover,
.nav-links > li > a.active,
.nav-links > li.current-menu-item > a,
.nav-links > li.current-menu-ancestor > a,
.nav-links > li.current_page_item > a {
	color: var(--nav-white);
}

.nav-links > li > a:hover::after,
.nav-links > li > a.active::after,
.nav-links > li.current-menu-item > a::after,
.nav-links > li.current-menu-ancestor > a::after,
.nav-links > li.current_page_item > a::after {
	width: 100%;
	transform: none;
}

#nav.scrolled .nav-links > li > a {
	color: rgba(18, 22, 27, 0.72);
}

#nav.scrolled .nav-links > li > a:hover,
#nav.scrolled .nav-links > li > a.active,
#nav.scrolled .nav-links > li.current-menu-item > a,
#nav.scrolled .nav-links > li.current-menu-ancestor > a,
#nav.scrolled .nav-links > li.current_page_item > a {
	color: var(--nav-ink);
}

/* 下拉子菜单（桌面悬停 / 移动折叠） */
.nav-links .menu-item-has-children {
	position: relative;
}

.nav-links .menu-item-has-children > a {
	padding-right: 16px;
}

.nav-links .menu-item-has-children > a::before {
	content: "";
	position: absolute;
	right: 0;
	top: 50%;
	width: 6px;
	height: 6px;
	margin-top: -4px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	opacity: 0.55;
	pointer-events: none;
	transition: transform 0.2s;
}

.nav-links .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-links .sub-menu li {
	list-style: none;
	margin: 0;
	padding: 0;
}

@media (min-width: 1101px) {
	.nav-links .sub-menu {
		position: absolute;
		top: calc(100% + 18px);
		left: 0;
		min-width: 240px;
		background: rgba(18, 22, 27, 0.98);
		border: 1px solid var(--steel-line);
		box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
		padding: 12px 0;
		opacity: 0;
		visibility: hidden;
		transform: translateY(8px);
		transition: opacity 0.2s, visibility 0.2s, transform 0.2s, background 0.3s ease;
		z-index: 520;
	}

	#nav.scrolled .nav-links .sub-menu {
		background: #ffffff;
		border-color: rgba(18, 22, 27, 0.1);
		box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
	}

	/* 透明悬停桥：填补导航与下拉之间的空隙，鼠标经过不断开 */
	.nav-links > .menu-item-has-children > .sub-menu::before {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		top: -18px;
		height: 18px;
	}

	.nav-links .menu-item-has-children:hover > .sub-menu,
	.nav-links .menu-item-has-children:focus-within > .sub-menu,
	.nav-links .menu-item-has-children.submenu-open > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	.nav-links .sub-menu .sub-menu {
		top: -12px;
		left: calc(100% - 2px);
	}

	/* 二级飞出菜单左侧悬停桥，斜向移动不易断开 */
	.nav-links .sub-menu .sub-menu::before {
		content: "";
		position: absolute;
		top: 0;
		bottom: 0;
		left: -14px;
		width: 16px;
	}

	.nav-links .sub-menu a {
		display: block;
		width: 100%;
		box-sizing: border-box;
		height: auto;
		line-height: 1.45;
		padding: 12px 22px;
		font-family: var(--body);
		font-size: 13px;
		font-weight: var(--fw-regular);
		letter-spacing: 0.01em;
		text-transform: none;
		text-decoration: none;
		border-bottom: none;
		color: rgba(255, 255, 255, 0.78);
		white-space: nowrap;
		position: relative;
		transition: color 0.2s ease, background 0.2s ease;
	}

	#nav.scrolled .nav-links .sub-menu a {
		color: rgba(18, 22, 27, 0.78);
	}

	.nav-links .sub-menu a:hover,
	.nav-links .sub-menu .current-menu-item > a {
		color: var(--nav-white);
		background: rgba(255, 255, 255, 0.06);
		text-decoration: none;
	}

	#nav.scrolled .nav-links .sub-menu a:hover,
	#nav.scrolled .nav-links .sub-menu .current-menu-item > a {
		color: var(--nav-ink);
		background: rgba(18, 22, 27, 0.05);
	}

	.nav-links .sub-menu a::after {
		content: none !important;
		display: none !important;
		width: 0 !important;
	}

	.nav-links .sub-menu .menu-item-has-children > a {
		padding-right: 40px;
	}

	.nav-links .sub-menu .menu-item-has-children > a::before {
		right: 18px;
		transform: rotate(-45deg);
		margin-top: -2px;
	}

	/* 鼠标设备隐藏展开按钮；触屏宽屏保留按钮供点击展开 */
	@media (hover: hover) and (pointer: fine) {
		.nav-submenu-toggle {
			display: none;
		}
	}

	@media (hover: none) {
		.nav-links .menu-item-has-children > a {
			padding-right: 36px;
		}

		.nav-submenu-toggle {
			display: flex;
			align-items: center;
			justify-content: center;
			position: absolute;
			top: 0;
			right: 0;
			width: 32px;
			height: 100%;
			padding: 0;
			border: none;
			border-left: 1px solid var(--steel-line);
			background: transparent;
			color: rgba(255, 255, 255, 0.72);
			cursor: pointer;
			z-index: 2;
			-webkit-tap-highlight-color: transparent;
		}

		#nav.scrolled .nav-submenu-toggle {
			border-left-color: rgba(18, 22, 27, 0.1);
			color: rgba(18, 22, 27, 0.65);
		}

		.nav-submenu-toggle span {
			display: block;
			width: 6px;
			height: 6px;
			border-right: 1.5px solid currentColor;
			border-bottom: 1.5px solid currentColor;
			transform: rotate(45deg);
			margin-top: -3px;
			transition: transform 0.2s;
			pointer-events: none;
		}

		.nav-links .submenu-open > .nav-submenu-toggle span {
			transform: rotate(-135deg);
			margin-top: 1px;
		}
	}

	.nav-links .menu-item-has-children.submenu-open > .sub-menu .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}
}

.nav-right {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-shrink: 0;
	position: relative;
	z-index: 2;
	margin-left: auto;
}

.langswitch {
	display: none;
}

.nav-search-btn {
	width: auto;
	min-height: 40px;
	height: auto;
	background: none;
	border: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	cursor: pointer;
	transition: opacity 0.2s ease;
	border-radius: 0;
	padding: 0;
	flex-shrink: 0;
}

.nav-search-btn:hover {
	opacity: 0.75;
	background: none;
}

.nav-search-btn__icon {
	display: block;
	width: 18px;
	height: 18px;
	object-fit: contain;
	filter: brightness(0) invert(1);
	transition: filter 0.3s ease;
	flex-shrink: 0;
}

.nav-search-btn__text {
	font-family: var(--body);
	font-size: 14px;
	font-weight: var(--fw-medium);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--nav-white);
	line-height: 1;
	transition: color 0.3s ease;
}

#nav.scrolled .nav-search-btn__icon {
	filter: brightness(0);
}

#nav.scrolled .nav-search-btn__text {
	color: var(--nav-ink);
}

.nav-search-btn svg {
	width: 14px;
	height: 14px;
	stroke: var(--nav-white);
}

.nav-search-btn[aria-expanded="true"] {
	opacity: 0.75;
}

/* 搜索面板 */
.nav-search-panel {
	position: fixed;
	inset: 0;
	z-index: 1100; /* 高于浮动联系栏，避免遮挡搜索框与提交 */
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 100px 20px 40px;
	pointer-events: none;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s, visibility 0.25s;
}

body.nav-search-open .nav-search-panel {
	pointer-events: auto;
	opacity: 1;
	visibility: visible;
}

body.nav-search-open .float-contact {
	visibility: hidden;
	pointer-events: none;
}

.nav-search-panel__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(18, 22, 27, 0.72);
	border: none;
	padding: 0;
	cursor: pointer;
}

.nav-search-panel__box {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 640px;
	background: #1a1f26;
	border: 1px solid var(--steel-line);
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
	padding: 28px 28px 24px;
	transform: translateY(-12px);
	transition: transform 0.25s ease;
}

body.nav-search-open .nav-search-panel__box {
	transform: translateY(0);
}

.nav-search-panel__close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 36px;
	height: 36px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	background: none;
	color: var(--nav-white);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	transition: border-color 0.2s, color 0.2s;
}

.nav-search-panel__close:hover {
	border-color: var(--signal);
	color: var(--signal);
}

.nav-search-panel__label {
	font-family: var(--mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--signal);
	margin-bottom: 16px;
}

.nav-search-panel__form {
	display: flex;
	gap: 10px;
	align-items: stretch;
}

.nav-search-panel__input {
	flex: 1;
	min-width: 0;
	height: 48px;
	padding: 0 16px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	background: rgba(255, 255, 255, 0.06);
	font-family: "Poppins", sans-serif;
	font-size: 14px;
	color: var(--nav-white);
	outline: none;
	transition: border-color 0.2s;
	-webkit-appearance: none;
}

.nav-search-panel__input:focus {
	border-color: var(--signal);
}

.nav-search-panel__input::placeholder {
	color: rgba(255, 255, 255, 0.35);
}

.nav-search-panel__submit {
	flex-shrink: 0;
	height: 48px;
	padding: 0 24px;
	background: transparent;
	color: var(--nav-white);
	border: 1.5px solid rgba(255, 255, 255, 0.55);
	font-family: var(--mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}

.nav-search-panel__submit:hover {
	background: var(--nav-white);
	color: var(--nav-ink);
}

body.nav-search-open {
	overflow: hidden;
}

@media (max-width: 640px) {
	.nav-search-panel {
		padding-top: 88px;
		align-items: stretch;
	}

	.nav-search-panel__box {
		max-width: none;
		margin: 0 4px;
	}

	.nav-search-panel__form {
		flex-direction: column;
	}

	.nav-search-panel__submit {
		width: 100%;
	}
}

/* 搜索结果页 */
.site-search {
	padding: 0;
}

.nav-quote {
	display: none !important;
}

.nav-toggle {
	display: none;
	width: 26px;
	height: 20px;
	background: none;
	border: none;
	cursor: pointer;
	flex-direction: column;
	align-items: stretch;
	justify-content: space-between;
	gap: 0;
	padding: 0;
	flex-shrink: 0;
	position: relative;
	z-index: 1;
}

.nav-toggle span {
	display: block;
	width: 100%;
	height: 2px;
	background: var(--nav-white);
	transition: transform 0.25s, opacity 0.25s, background 0.3s ease;
	margin: 0;
}

#nav.scrolled .nav-toggle span {
	background: var(--nav-ink);
}

body.nav-menu-open {
	overflow: hidden;
	touch-action: none;
}

/* 打开菜单时高于浮动联系栏，避免挡点击 */
body.nav-menu-open #nav {
	z-index: 1200;
}

body.nav-menu-open .float-contact {
	visibility: hidden;
	pointer-events: none;
}

.nav-drawer {
	display: contents;
}

.nav-drawer-head {
	display: none;
}

.nav-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(18, 22, 27, 0.55);
	z-index: 1150;
	opacity: 0;
	transition: opacity 0.3s;
	border: none;
	padding: 0;
	cursor: pointer;
}

body.nav-menu-open .nav-overlay {
	display: block;
	opacity: 1;
}

.nav-drawer-quote {
	display: none;
}

/* 抽屉内搜索（桌面隐藏，移动端展示） */
.nav-drawer-search {
	display: none;
}

@media (max-width: 1100px) {
	#nav {
		height: 72px;
	}

	#nav .nav-wrap,
	#nav.scrolled .nav-wrap {
		height: 72px;
		padding: 0 22px;
	}

	#nav.scrolled {
		height: 72px;
	}

	body:not(.home) {
		padding-top: 0;
	}

	body.admin-bar:not(.home) {
		padding-top: 0;
	}

	@media screen and (max-width: 782px) {
		body.admin-bar:not(.home) {
			padding-top: 0;
		}
	}

	/* 内页 Hero：顶部内边距含导航高度，避免标题被挡住 */
	.page-hero {
		padding-top: calc(72px + 48px) !important;
		padding-bottom: 56px !important;
	}

	#page-banner {
		box-sizing: border-box;
		padding-top: 72px;
		min-height: 280px;
		height: auto;
	}

	.nav-logo img,
	.nav-logo-img,
	#nav.scrolled .nav-logo img,
	#nav.scrolled .nav-logo-img {
		height: 36px;
		max-width: 160px;
	}

	.nav-cluster {
		flex: 0 0 auto;
		gap: 12px;
	}

	.nav-toggle {
		display: flex;
	}

	.nav-toggle span {
		transform-origin: center;
	}

	.nav-right > .langswitch,
	.nav-right > .nav-search-btn {
		display: none;
	}

	.nav-drawer {
		display: flex;
		flex-direction: column;
		position: fixed;
		/* 避开顶部固定导航，避免搜索框被挡住 */
		top: 72px;
		left: 0;
		width: min(320px, 88vw);
		max-width: 100%;
		height: calc(100vh - 72px);
		height: calc(100dvh - 72px);
		background: #12161b;
		z-index: 1210;
		padding: 16px 0 calc(24px + env(safe-area-inset-bottom, 0px));
		padding-left: env(safe-area-inset-left, 0px);
		box-shadow: 4px 0 24px rgba(0, 0, 0, 0.35);
		transform: translateX(-105%);
		transition: transform 0.3s ease;
		overflow-x: hidden;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior: contain;
		pointer-events: none;
		visibility: hidden;
	}

	body.nav-menu-open .nav-drawer {
		transform: translateX(0);
		pointer-events: auto;
		visibility: visible;
	}

	/* WP 管理条 + 导航高度 */
	body.admin-bar .nav-drawer {
		top: calc(46px + 72px);
		height: calc(100vh - 46px - 72px);
		height: calc(100dvh - 46px - 72px);
	}

	@media screen and (min-width: 783px) {
		body.admin-bar .nav-drawer {
			top: calc(32px + 72px);
			height: calc(100vh - 32px - 72px);
			height: calc(100dvh - 32px - 72px);
		}
	}

	body.nav-menu-open #nav {
		background: #12161b;
		box-shadow: none;
	}

	body.nav-menu-open #nav.scrolled {
		background: #12161b;
	}

	body.nav-menu-open #nav .nav-toggle span,
	body.nav-menu-open #nav.scrolled .nav-toggle span {
		background: #fff;
	}

	body.nav-menu-open #nav .nav-logo-text,
	body.nav-menu-open #nav.scrolled .nav-logo-text {
		color: #fff;
	}

	.nav-drawer-head {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		gap: 10px;
		padding: 0 16px 14px;
		margin-bottom: 6px;
		border-bottom: 1px solid var(--steel-line);
		flex-shrink: 0;
	}

	.nav-drawer-actions {
		display: flex;
		align-items: center;
		gap: 8px;
		justify-content: flex-end;
	}

	.langswitch--drawer {
		display: flex;
	}

	.nav-drawer-search {
		display: block;
		padding: 0 16px 14px;
		margin-bottom: 6px;
		border-bottom: 1px solid var(--steel-line);
		flex-shrink: 0;
	}

	.nav-drawer-search__form {
		display: flex;
		gap: 8px;
		align-items: stretch;
	}

	.nav-drawer-search__input {
		flex: 1;
		min-width: 0;
		height: 40px;
		padding: 0 12px;
		border: 1px solid rgba(255, 255, 255, 0.25);
		font-family: "Poppins", sans-serif;
		font-size: 14px;
		color: #fff;
		background: rgba(255, 255, 255, 0.06);
		outline: none;
		transition: border-color 0.2s;
		-webkit-appearance: none;
	}

	.nav-drawer-search__input:focus {
		border-color: var(--signal);
	}

	.nav-drawer-search__input::placeholder {
		color: rgba(255, 255, 255, 0.35);
	}

	.nav-drawer-search__submit {
		flex-shrink: 0;
		width: 40px;
		height: 40px;
		padding: 0;
		background: transparent;
		color: #fff;
		border: 1px solid rgba(255, 255, 255, 0.35);
		cursor: pointer;
		display: flex;
		align-items: center;
		justify-content: center;
		transition: background 0.2s, color 0.2s, border-color 0.2s;
	}

	.nav-drawer-search__submit:hover {
		background: var(--signal);
		border-color: var(--signal);
		color: #12161b;
	}

	.nav-drawer-search__submit svg {
		stroke: currentColor;
	}

	.nav-links {
		display: flex !important;
		flex-direction: column;
		align-items: stretch;
		position: static;
		width: 100%;
		height: auto;
		padding: 0;
		margin: 0;
		box-shadow: none;
		transform: none;
		overflow: visible;
		flex: 1;
		gap: 0;
	}

	.nav-links li {
		width: 100%;
	}

	.nav-links a,
	.nav-links > li > a {
		height: auto;
		min-height: 52px;
		line-height: 1.35;
		padding: 0 20px;
		font-size: 13px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
		white-space: normal;
		word-break: break-word;
		color: rgba(255, 255, 255, 0.78);
		display: flex;
		align-items: center;
		box-sizing: border-box;
		text-decoration: none;
	}

	/* 抽屉为深色：取消下滑后导航文案变黑，避免看不清 */
	#nav.scrolled .nav-links > li > a,
	#nav.scrolled .nav-links a {
		color: rgba(255, 255, 255, 0.78);
	}

	#nav.scrolled .nav-links > li > a:hover,
	#nav.scrolled .nav-links > li > a.active,
	#nav.scrolled .nav-links > li.current-menu-item > a,
	#nav.scrolled .nav-links > li.current-menu-ancestor > a,
	#nav.scrolled .nav-links > li.current_page_item > a,
	#nav.scrolled .nav-links a:hover {
		color: #fff;
	}

	#nav.scrolled .nav-submenu-toggle {
		border-left-color: transparent;
		border-bottom-color: rgba(255, 255, 255, 0.08);
		color: rgba(255, 255, 255, 0.72);
	}

	.nav-links a::after,
	.nav-links > li > a::after {
		display: none !important;
		width: 0 !important;
	}

	/* 有子菜单：链接与展开按钮并排，避免链接盖住按钮 */
	.nav-links .menu-item-has-children {
		display: flex;
		flex-wrap: wrap;
		align-items: stretch;
	}

	.nav-links .menu-item-has-children > a {
		flex: 1 1 auto;
		min-width: 0;
		width: auto;
		max-width: none;
		padding-right: 12px;
		box-sizing: border-box;
	}

	.nav-links .menu-item-has-children > a::before {
		display: none !important;
	}

	.nav-submenu-toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		position: relative;
		width: 48px;
		min-height: 52px;
		height: auto;
		padding: 0;
		border: none;
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
		background: rgba(255, 255, 255, 0.04);
		color: rgba(255, 255, 255, 0.72);
		cursor: pointer;
		flex: 0 0 48px;
		align-self: stretch;
		box-sizing: border-box;
		-webkit-tap-highlight-color: transparent;
	}

	.nav-submenu-toggle span {
		display: block;
		width: 6px;
		height: 6px;
		border-right: 1.5px solid currentColor;
		border-bottom: 1.5px solid currentColor;
		transform: rotate(45deg);
		margin-top: -3px;
		transition: transform 0.2s;
		pointer-events: none;
	}

	.nav-links .submenu-open > .nav-submenu-toggle span {
		transform: rotate(-135deg);
		margin-top: 1px;
	}

	.nav-links .menu-item-has-children > .sub-menu {
		flex: 1 1 100%;
		width: 100%;
	}

	.nav-links .sub-menu {
		display: none;
		background: rgba(0, 0, 0, 0.25);
		border: none;
		box-shadow: none;
		padding: 0;
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	#nav.scrolled .nav-links .sub-menu {
		background: rgba(0, 0, 0, 0.25);
		border: none;
		box-shadow: none;
	}

	.nav-links .submenu-open > .sub-menu {
		display: block;
	}

	.nav-links .sub-menu a {
		min-height: 52px;
		padding: 0 12px 0 28px;
		font-size: 12px;
		line-height: 1.35;
		border-bottom: none;
		color: rgba(255, 255, 255, 0.65);
		white-space: normal;
		word-break: break-word;
		text-decoration: none !important;
		display: flex;
		align-items: center;
		box-sizing: border-box;
	}

	#nav.scrolled .nav-links .sub-menu a {
		color: rgba(255, 255, 255, 0.65);
	}

	#nav.scrolled .nav-links .sub-menu a:hover,
	#nav.scrolled .nav-links .sub-menu .current-menu-item > a {
		color: #fff;
		background: rgba(255, 255, 255, 0.06);
	}

	.nav-links .sub-menu a::after {
		content: none !important;
		display: none !important;
		width: 0 !important;
	}

	.nav-links .sub-menu > .menu-item {
		min-height: 52px;
	}

	.nav-links .sub-menu .menu-item-has-children > a {
		padding-left: 28px;
	}

	.nav-links .sub-menu .nav-submenu-toggle {
		background: rgba(255, 255, 255, 0.04);
		border-bottom: none;
		min-height: 52px;
	}

	.nav-links .sub-menu .sub-menu a {
		padding-left: 40px;
	}

	.nav-links .sub-menu .sub-menu .menu-item-has-children > a {
		padding-left: 40px;
	}

	/* 打开菜单时汉堡按钮变成关闭态，便于一眼看出可关 */
	body.nav-menu-open .nav-toggle span:nth-child(1) {
		transform: translateY(9px) rotate(45deg);
	}

	body.nav-menu-open .nav-toggle span:nth-child(2) {
		opacity: 0;
	}

	body.nav-menu-open .nav-toggle span:nth-child(3) {
		transform: translateY(-9px) rotate(-45deg);
	}

	.nav-links a.active,
	.nav-links .current-menu-item > a,
	.nav-links .current-menu-ancestor > a,
	.nav-links .current_page_item > a {
		background: rgba(242, 183, 5, 0.12);
		color: var(--signal);
		font-weight: 500;
	}

	.nav-drawer-quote {
		display: list-item;
		margin-top: 8px;
		padding: 0 28px;
	}

	.nav-drawer-quote a {
		display: block;
		background: transparent;
		color: #fff !important;
		text-align: center;
		font-family: var(--mono);
		font-weight: 500;
		letter-spacing: 0.08em;
		padding: 14px 20px !important;
		border: 1.5px solid rgba(255, 255, 255, 0.45) !important;
		height: auto;
		line-height: 1.4;
	}

	.nav-drawer-quote a:hover {
		background: #fff;
		color: #12161b !important;
		border-color: #fff !important;
	}
}

/* ── Footer（效果图：#030000 黑底三栏 + 底栏） ── */
.site-footer {
	--foot-bg: #030000;
	--foot-ink: #ffffff;
	--foot-muted: rgba(255, 255, 255, 0.72);
	--foot-line: rgba(255, 255, 255, 0.22);
	background: var(--foot-bg);
	color: var(--foot-ink);
	padding: 64px 0 28px;
	font-family: var(--body, "Poppins", sans-serif);
	text-align: left;
}

.site-footer .wrap {
	max-width: 1610px;
	margin: 0 auto;
	padding: 0 48px;
	box-sizing: border-box;
}

.site-footer .foot-main {
	padding-bottom: 40px;
	border-bottom: 1px solid #fff100;
}

.site-footer .foot-logo {
	display: inline-block;
	margin-bottom: 36px;
}

.site-footer .foot-logo img {
	display: block;
	height: 48px;
	width: auto;
	max-width: 220px;
	object-fit: contain;
}

.site-footer .foot-cols {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, 0.8fr);
	gap: 40px 64px;
	align-items: end;
}

.site-footer .foot-col h5 {
	margin: 0 0 18px;
	font-family: var(--body, "Poppins", sans-serif);
	font-size: 18px;
	font-weight: var(--fw-medium, 500);
	line-height: 1.3;
	color: var(--foot-ink);
	letter-spacing: 0;
	text-transform: none;
}

.site-footer .foot-contact p {
	margin: 0 0 6px;
	font-size: 14px;
	font-weight: var(--fw-light, 300);
	line-height: 1.55;
	color: #595757;
}

.site-footer .foot-contact p:last-child {
	margin-bottom: 0;
}

.site-footer .foot-contact a {
	color: inherit;
	text-decoration: none;
}

.site-footer .foot-contact a:hover {
	color: #fff;
}

.site-footer .foot-products {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer .foot-products li {
	margin: 0 0 10px;
	font-size: 14px;
	font-weight: var(--fw-light, 300);
	line-height: 1.5;
	color: #595757;
}

.site-footer .foot-products li:last-child {
	margin-bottom: 0;
}

.site-footer .foot-products a {
	color: inherit;
	text-decoration: none;
}

.site-footer .foot-products a:hover {
	color: #fff;
}

.site-footer .foot-col--social {
	display: flex;
	justify-content: flex-end;
	align-items: flex-end;
}

.site-footer .foot-social {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 14px;
}

.site-footer .foot-social a {
	display: block;
	line-height: 0;
	transition: opacity 0.2s ease;
}

.site-footer .foot-social a:hover {
	opacity: 0.85;
}

.site-footer .foot-social img {
	display: block;
	width: 36px;
	height: 36px;
	object-fit: contain;
}

.site-footer .foot-bottom {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
	flex-wrap: wrap;
	padding-top: 22px;
}

.site-footer .foot-bottom-left {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
}

.site-footer .foot-copy {
	font-size: 13px;
	font-weight: var(--fw-light, 300);
	line-height: 1.4;
	color: var(--foot-muted);
}

.site-footer .foot-legal {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
	font-size: 13px;
	font-weight: var(--fw-light, 300);
	line-height: 1.4;
	color: var(--foot-muted);
}

.site-footer .foot-legal a {
	color: inherit;
	text-decoration: none;
}

.site-footer .foot-legal a:hover {
	color: #fff;
}

.site-footer .foot-bottom-right {
	display: flex;
	align-items: center;
	margin-left: auto;
}

.site-footer .foot-sitemap {
	font-size: 13px;
	font-weight: var(--fw-light, 300);
	color: var(--foot-muted);
	text-decoration: none;
}

.site-footer .foot-sitemap:hover {
	color: #fff;
}

@media (max-width: 992px) {
	.site-footer .foot-cols {
		grid-template-columns: 1fr 1fr;
		align-items: start;
		gap: 36px 40px;
	}

	.site-footer .foot-col--social {
		grid-column: 1 / -1;
		justify-content: flex-start;
	}

	.site-footer .foot-social {
		justify-content: flex-start;
	}
}

@media (max-width: 768px) {
	.site-footer {
		padding: 48px 0 24px;
	}

	.site-footer .wrap {
		padding: 0 20px;
	}

	.site-footer .foot-logo {
		margin-bottom: 28px;
	}

	.site-footer .foot-logo img {
		height: 40px;
	}

	.site-footer .foot-cols {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.site-footer .foot-bottom {
		align-items: flex-start;
		flex-direction: column;
		gap: 16px;
	}

	.site-footer .foot-bottom-right {
		margin-left: 0;
	}
}

/* ── Page Banner ── */
#page-banner {
	position: relative;
	height: 420px;
	overflow: hidden;
	background: var(--navy) center center / cover no-repeat;
	display: flex;
	align-items: flex-end;
}

#page-banner .banner-bg {
	position: absolute;
	inset: 0;
	background: inherit;
	background-size: cover;
	background-position: center;
	transform: scale(1);
	transition: transform 8s ease;
}

#page-banner .banner-bg.zoomed {
	transform: scale(1.06);
}

#page-banner::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		to top,
		rgba(0, 30, 60, .88) 0%,
		rgba(0, 30, 60, .55) 50%,
		rgba(0, 30, 60, .25) 100%
	);
}

/* 隐私政策页：无背景图时遮罩改为黑色，保证标题可读 */
body.privacy-policy #page-banner {
	background-color: #000;
}

body.privacy-policy #page-banner::before {
	background: #000;
}

/* 默认页面 / 隐私政策：编辑器正文 */
.page-content {
	background: #fff;
	color: #1b1a18;
}

.page-content__inner {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--max, 1610px);
	margin: 0 auto;
	padding: clamp(48px, 6vw, 80px) 48px clamp(64px, 8vw, 100px);
	font-family: var(--body, "Poppins", sans-serif);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.75;
	color: #333;
}

.page-content__inner > *:first-child {
	margin-top: 0;
}

.page-content__inner > *:last-child {
	margin-bottom: 0;
}

.page-content__inner h1,
.page-content__inner h2,
.page-content__inner h3,
.page-content__inner h4,
.page-content__inner h5,
.page-content__inner h6 {
	margin: 1.4em 0 0.6em;
	font-weight: 700;
	line-height: 1.25;
	color: #111;
}

.page-content__inner h2 {
	font-size: clamp(22px, 2.4vw, 28px);
}

.page-content__inner h3 {
	font-size: clamp(18px, 2vw, 22px);
}

.page-content__inner p {
	margin: 0 0 1em;
}

.page-content__inner ul,
.page-content__inner ol {
	margin: 0 0 1em;
	padding-left: 1.35em;
}

.page-content__inner li + li {
	margin-top: 0.35em;
}

.page-content__inner a {
	color: #111;
	text-decoration: underline;
}

.page-content__inner img {
	max-width: 100%;
	height: auto;
}

.page-content__inner table {
	width: 100%;
	max-width: 100%;
	border-collapse: collapse;
	margin: 0 0 1.5em;
}

.page-content__inner table th,
.page-content__inner table td {
	padding: 10px 14px;
	border: 1px solid #ddd;
	text-align: left;
	vertical-align: top;
}

@media (max-width: 1100px) {
	.page-content__inner {
		padding-left: 28px;
		padding-right: 28px;
	}
}

@media (max-width: 680px) {
	.page-content__inner {
		padding: 40px 20px 56px;
		font-size: 15px;
		line-height: 1.7;
	}
}

/* -------------------------------------------------------------------------
 * 搜索结果页（简洁列表，无产品分类）
 * ------------------------------------------------------------------------- */
.site-search {
	background: #fff;
	color: #1b1a18;
}

.site-search__hero {
	background: #12161b;
	color: #fff;
	padding: clamp(48px, 8vw, 88px) 0 clamp(36px, 5vw, 56px);
}

.site-search__inner {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--max, 1610px);
	margin: 0 auto;
	padding: 0 48px;
}

.site-search__crumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 18px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.site-search__crumb a {
	color: rgba(255, 255, 255, 0.55);
	text-decoration: none;
}

.site-search__crumb a:hover {
	color: #fff;
}

.site-search__crumb .now,
.site-search__crumb span {
	color: rgba(255, 255, 255, 0.8);
}

.site-search__title {
	margin: 0 0 12px;
	font-family: var(--body, "Poppins", sans-serif);
	font-size: clamp(28px, 4vw, 48px);
	font-weight: 700;
	line-height: 1.15;
	color: #fff;
}

.site-search__meta {
	margin: 0;
	font-size: 15px;
	color: rgba(255, 255, 255, 0.7);
}

.site-search__body {
	padding: clamp(36px, 5vw, 64px) 0 clamp(56px, 8vw, 96px);
}

.site-search__form {
	display: flex;
	gap: 12px;
	margin: 0 0 28px;
}

.site-search__form input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	height: 48px;
	box-sizing: border-box;
	padding: 0 16px;
	border: 1px solid #d8d8d8;
	border-radius: 0;
	background: #fff;
	font-family: var(--body, "Poppins", sans-serif);
	font-size: 16px;
	color: #111;
}

.site-search__form input[type="search"]:focus {
	outline: none;
	border-color: #111;
}

.site-search__form button {
	appearance: none;
	flex: 0 0 auto;
	height: 48px;
	padding: 0 22px;
	border: 1px solid #111;
	background: #111;
	color: #fff;
	font-family: var(--body, "Poppins", sans-serif);
	font-size: 14px;
	cursor: pointer;
}

.site-search__form button:hover {
	background: #333;
}

.site-search__count {
	margin: 0 0 20px;
	font-size: 14px;
	color: #666;
}

.site-search__list {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid #e8e8e8;
}

.site-search__item {
	border-bottom: 1px solid #e8e8e8;
}

.site-search__link {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 22px 4px;
	text-decoration: none;
	color: inherit;
	transition: background 0.2s ease;
}

.site-search__link:hover {
	background: #f7f7f7;
	color: inherit;
}

.site-search__type {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #fdd000;
}

.site-search__name {
	font-family: var(--body, "Poppins", sans-serif);
	font-size: clamp(18px, 2vw, 22px);
	font-weight: 600;
	line-height: 1.3;
	color: #111;
}

.site-search__excerpt {
	font-size: 14px;
	line-height: 1.55;
	color: #666;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

@media (max-width: 1100px) {
	.site-search__inner {
		padding: 0 28px;
	}
}

@media (max-width: 680px) {
	.site-search__inner {
		padding: 0 20px;
	}

	.site-search__title {
		font-size: clamp(24px, 6.5vw, 32px);
	}

	.site-search__form {
		flex-direction: column;
		gap: 10px;
	}

	.site-search__form button {
		width: 100%;
	}
}

.banner-content {
	position: relative;
	z-index: 2;
	width: 100%;
	padding: 0 64px 56px;
	max-width: 1610px;
	margin: 0 auto;
}

.breadcrumb-nav {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 20px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	flex-wrap: wrap;
}

.breadcrumb-nav a {
	color: rgba(255, 255, 255, .55);
	text-decoration: none;
	transition: color .2s;
}

.breadcrumb-nav a:hover { color: #fff; }
.breadcrumb-nav .sep { color: rgba(255, 255, 255, .3); font-size: 10px; }
.breadcrumb-nav .current {
	color: var(--blue);
	max-width: 480px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.banner-title {
	font-family: "Poppins", sans-serif;
	font-weight: 800;
	font-size: clamp(48px, 6vw, 80px);
	color: #fff;
	letter-spacing: 4px;
	text-transform: uppercase;
	line-height: 1;
	margin-bottom: 12px;
}

.banner-desc {
	font-size: 14px;
	color: rgba(255, 255, 255, .6);
	letter-spacing: 1px;
}

.page-banner--post .banner-title {
	font-size: clamp(28px, 3.4vw, 46px);
	letter-spacing: 1px;
	line-height: 1.15;
	max-width: 920px;
	margin-bottom: 18px;
	text-transform: none;
}

.page-banner--product .banner-title {
	font-size: clamp(36px, 4.5vw, 56px);
	letter-spacing: 2px;
	line-height: 1.1;
}

.banner-meta {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
}

.bm-item {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
	color: rgba(255, 255, 255, .7);
}

.bm-item svg {
	flex-shrink: 0;
}

.banner-rule {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--blue) 0%, var(--navy) 100%);
	z-index: 2;
}

@media (max-width: 1100px) {
	.banner-content { padding-left: 28px; padding-right: 28px; }
}

@media (max-width: 640px) {
	.banner-content { padding-left: 20px; padding-right: 20px; padding-bottom: 36px; }
	#page-banner { height: auto; min-height: 280px; }
	.banner-title { font-size: clamp(24px, 6vw, 32px); letter-spacing: 1px; }
	.page-banner--post .banner-title { font-size: clamp(20px, 5.2vw, 28px); }
	.page-banner--product .banner-title { font-size: clamp(22px, 5.5vw, 30px); }
	.breadcrumb-nav .current { max-width: 200px; }
}

/* ── 内页分页 / 上下篇 ── */
.site-pager-wrap {
	padding-top: 40px;
	padding-bottom: 60px;
}

.pagination,
.navigation.pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
}

.pagination .page-numbers,
.navigation.pagination .nav-links {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.pagination .page-numbers li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.pagination .page-numbers a,
.pagination .page-numbers span,
.navigation.pagination .page-numbers {
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1.5px solid var(--border);
	background: var(--white);
	color: var(--gray);
	font-size: 13px;
	font-weight: 600;
	font-family: 'Poppins', sans-serif;
	transition: all .25s;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	box-sizing: border-box;
}

.pagination .page-numbers a:hover,
.pagination .page-numbers a:focus,
.navigation.pagination a.page-numbers:hover {
	border-color: var(--blue);
	color: var(--blue);
}

.pagination .page-numbers .current,
.navigation.pagination span.page-numbers.current {
	background: var(--navy);
	border-color: var(--navy);
	color: #fff;
}

.pagination .page-numbers .prev,
.pagination .page-numbers .next,
.navigation.pagination .prev,
.navigation.pagination .next {
	width: auto;
	padding: 0 16px;
	font-size: 12px;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.pagination .page-numbers .dots {
	border: none;
	background: transparent;
	color: var(--gray-light);
}

.article-pager {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1px;
	background: var(--border);
}

.pager-link {
	background: var(--white);
	padding: 22px 26px;
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
	gap: 6px;
	transition: background .2s;
}

.pager-link:hover {
	background: var(--blue-pale);
	text-decoration: none;
}

.pager-link.next {
	text-align: right;
	align-items: flex-end;
}

.pager-dir {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--blue);
}

.pager-title {
	font-size: 13.5px;
	font-weight: 600;
	color: var(--navy);
	line-height: 1.4;
}

.pager-link.is-empty {
	pointer-events: none;
	opacity: .45;
}

@media (max-width: 640px) {
	.article-pager {
		grid-template-columns: 1fr;
	}

	.pager-link.next {
		text-align: left;
		align-items: flex-start;
	}
}

/* ── 右侧浮动通讯栏 ── */
.float-contact {
	--float-brand: #fdd000;
	--float-ink: #1b1a18;
	position: fixed;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	z-index: 900;
}

.float-contact__toggle {
	display: none;
}

/* 桌面：返回顶部仍在联系列表下方 */
@media (min-width: 769px) {
	.float-contact__actions {
		display: flex;
		flex-direction: column;
		width: 52px;
	}

	.float-contact__actions .float-contact__toggle {
		display: none;
	}

	.float-contact__actions .float-contact__item--top {
		order: 2;
		border-top: 1px solid rgba(0, 0, 0, .12);
	}
}

.float-contact__list {
	list-style: none;
	margin: 0;
	padding: 0;
	width: 52px;
	box-shadow: -4px 4px 24px rgba(0, 0, 0, .12);
}

.float-contact__item {
	position: relative;
	width: 52px;
}

.float-contact__item:hover,
.float-contact__item:focus-within {
	z-index: 2;
}

.float-contact__item + .float-contact__item {
	border-top: 1px solid rgba(0, 0, 0, .12);
}

.float-contact__link,
.float-contact__btn {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	background: var(--float-brand);
	color: var(--float-ink);
	text-decoration: none;
	border: none;
	padding: 0;
	cursor: pointer;
	transition: background .35s ease, box-shadow .35s ease;
}

.float-contact__link--static {
	cursor: default;
}

.float-contact__item:hover .float-contact__link,
.float-contact__item:focus-within .float-contact__link,
.float-contact__item--top .float-contact__btn:hover,
.float-contact__item--top .float-contact__btn:focus-visible {
	background: var(--float-brand);
	box-shadow: -6px 0 16px rgba(0, 0, 0, .16);
}

.float-contact__icon {
	position: relative;
	z-index: 2;
	width: 52px;
	height: 52px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--float-brand);
}

.float-contact__icon img {
	display: block;
	width: 32px;
	height: 32px;
	object-fit: contain;
}

.float-contact__text {
	position: absolute;
	right: 52px;
	top: 0;
	z-index: 1;
	height: 52px;
	width: 220px;
	max-width: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	box-sizing: border-box;
	background: var(--float-brand);
	white-space: nowrap;
	overflow: hidden;
	text-align: center;
	font-style: normal;
	font-weight: 600;
	font-size: 16px;
	line-height: 1.2;
	letter-spacing: 0;
	color: var(--float-ink);
	pointer-events: none;
	/* 从图标左侧边缘向左展开 */
	transition:
		max-width .4s cubic-bezier(.25, .46, .45, .94),
		padding .4s cubic-bezier(.25, .46, .45, .94),
		pointer-events 0s linear .4s;
}

.float-contact__text-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 220px;
	min-width: 220px;
	height: 100%;
	padding: 0 16px;
	box-sizing: border-box;
	text-align: center;
}

/* 展开后文案可接收鼠标，离开文案（而非仅图标）才收回 */
.float-contact__item:hover .float-contact__text,
.float-contact__item:focus-within .float-contact__text {
	max-width: 220px;
	pointer-events: auto;
	transition:
		max-width .4s cubic-bezier(.25, .46, .45, .94),
		padding .4s cubic-bezier(.25, .46, .45, .94),
		pointer-events 0s linear 0s;
}

/* 手机端：联系入口折叠；返回顶部 + 联系按钮默认常显 */
@media (max-width: 768px) {
	.float-contact {
		top: auto;
		bottom: calc(20px + env(safe-area-inset-bottom, 0px));
		right: 16px;
		transform: none;
		display: flex;
		flex-direction: column;
		align-items: flex-end;
		gap: 10px;
	}

	.float-contact__actions {
		display: flex;
		flex-direction: column;
		align-items: flex-end;
		gap: 10px;
		width: auto;
		position: relative;
		z-index: 2;
	}

	.float-contact__actions .float-contact__item--top {
		border-top: none;
		width: 52px;
		border-radius: 50%;
		overflow: hidden;
		box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
	}

	.float-contact__actions .float-contact__btn {
		width: 52px;
		height: 52px;
		border-radius: 50%;
	}

	.float-contact__actions .float-contact__icon {
		width: 52px;
		height: 52px;
		border-radius: 50%;
	}

	.float-contact__toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 52px;
		height: 52px;
		border: none;
		border-radius: 50%;
		background: var(--float-brand);
		color: var(--float-ink);
		cursor: pointer;
		box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
		position: relative;
		z-index: 2;
		padding: 0;
		-webkit-tap-highlight-color: transparent;
	}

	.float-contact__toggle-icon {
		display: flex;
		align-items: center;
		justify-content: center;
		position: absolute;
		inset: 0;
		transition: opacity .2s, transform .2s;
	}

	.float-contact__toggle-icon--close {
		opacity: 0;
		transform: rotate(-90deg) scale(.8);
	}

	.float-contact.is-open .float-contact__toggle-icon--open {
		opacity: 0;
		transform: rotate(90deg) scale(.8);
	}

	.float-contact.is-open .float-contact__toggle-icon--close {
		opacity: 1;
		transform: none;
	}

	.float-contact__list {
		position: absolute;
		right: 0;
		bottom: calc(52px + 10px + 52px + 10px);
		width: 48px;
		opacity: 0;
		visibility: hidden;
		transform: translateY(10px);
		pointer-events: none;
		transition: opacity .25s ease, transform .25s ease, visibility .25s;
		border-radius: 8px;
		overflow: visible;
		box-shadow: -4px 4px 24px rgba(0, 80, 130, .18);
	}

	.float-contact.is-open .float-contact__list {
		opacity: 1;
		visibility: visible;
		transform: none;
		pointer-events: auto;
	}

	.float-contact__list .float-contact__item {
		width: 48px;
	}

	.float-contact__list .float-contact__link {
		width: 48px;
		height: 48px;
	}

	.float-contact__list .float-contact__icon {
		width: 48px;
		height: 48px;
	}

	.float-contact__list .float-contact__icon img {
		width: 28px;
		height: 28px;
	}

	.float-contact__text {
		right: 48px;
		height: 48px;
		width: 200px;
		font-size: 14px;
	}

	.float-contact__text-inner {
		width: 200px;
		min-width: 200px;
		padding: 0 12px;
	}

	/* 展开后面板内文案常显，方便查看号码 / 邮箱 */
	.float-contact.is-open .float-contact__text {
		max-width: 200px;
		pointer-events: auto;
	}
}

/* ── Inquiry CF7（首页 / 联系我们共用样式适配） ── */
#inquiry .wpcf7 {
	width: 100%;
	margin: 0;
}

#inquiry .wpcf7-form {
	margin: 0;
}

#inquiry .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
}

#inquiry .wpcf7-form .field input:not([type="submit"]):not(.wpcf7-submit),
#inquiry .wpcf7-form .field textarea,
#inquiry .wpcf7-form .field select {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

#inquiry .wpcf7-form .field select {
	appearance: none;
	-webkit-appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.7) 50%),
		linear-gradient(135deg, rgba(255, 255, 255, 0.7) 50%, transparent 50%);
	background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
	padding-right: 36px;
}

#inquiry:not(.contact-inquiry) .wpcf7-form input.wpcf7-submit.btn,
#inquiry:not(.contact-inquiry) .wpcf7-form input.btn.on-dark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	margin-top: 8px;
	font-family: var(--mono, "IBM Plex Mono", monospace);
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 15px 28px;
	border: 1.5px solid rgba(255, 255, 255, 0.55);
	background: transparent;
	color: #fff;
	cursor: pointer;
	transition: 0.25s ease;
	white-space: nowrap;
	box-sizing: border-box;
}

#inquiry:not(.contact-inquiry) .wpcf7-form input.wpcf7-submit.btn:hover,
#inquiry:not(.contact-inquiry) .wpcf7-form input.btn.on-dark:hover {
	background: #fff;
	color: #12161b;
}

#inquiry .wpcf7-not-valid-tip {
	color: #ffc4b8;
	font-size: 12px;
	margin-top: 6px;
}

#inquiry .wpcf7-response-output {
	margin: 16px 0 0;
	padding: 12px 14px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	color: #fff;
	background: rgba(255, 255, 255, 0.06);
	font-size: 14px;
}

#inquiry .wpcf7 form-invalid .wpcf7-response-output,
#inquiry .wpcf7.invalid .wpcf7-response-output {
	border-color: rgba(255, 180, 160, 0.55);
}

#inquiry:not(.contact-inquiry) .wpcf7-spinner {
	margin-left: 10px;
}
