@charset "utf-8";
/* ============================================================================
   qz-layout.css — 公共骨架（Header / Footer / 浮动工具条）
   依据：qz-website-delivery 的 Navbar.jsx + Footer.jsx
   加载顺序：common.css → qz-theme.css → qz-layout.css
   ========================================================================== */

/* ============================================================================
   一、顶部导航  ——  对应原型 Navbar：白底毛玻璃 + 底部圆角 + 滚动加深阴影
   ========================================================================== */

.site-header {
	height: 64px;
	background: rgba(255, 255, 255, .9);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--qz-slate-100);
	border-radius: 0 0 12px 12px;   /* rounded-b-xl */
	box-shadow: none;
	transition: border-color .3s ease, box-shadow .3s ease;
}

.site-header.is-scrolled {
	border-bottom-color: rgba(226, 232, 240, .8);
	box-shadow: 0 8px 30px -18px rgba(15, 23, 42, .25);
	background: rgba(255, 255, 255, .95);
}

/* 导航容器：原型为 max-w-[1400px]，比内容区更宽 */
.site-header > .container {
	width: 100%;
	max-width: 1400px;
	padding-left: 20px;
	padding-right: 20px;
}

@media (min-width: 768px) {
	.site-header > .container {
		padding-left: 32px;
		padding-right: 32px;
	}
}

.site-header-inner { height: 64px; }

/* Logo */
.site-logo-img { height: 32px; }

@media (min-width: 640px) {
	.site-logo-img { height: 36px; }
}

.site-logo-text { font-size: 17px; font-weight: 700; letter-spacing: 0; }

/* 导航项：胶囊 hover，选中为主色加粗，取消旧版下划线 */
.site-nav-list { gap: 4px; }

.site-nav-link {
	padding: 8px 14px;
	border-radius: var(--qz-radius-btn);
	color: var(--qz-slate-500);
	font-size: 14px;
	font-weight: 400;
}

.site-nav-link::after { display: none; }

.site-nav-item:hover .site-nav-link,
.site-nav-item.is-active .site-nav-link {
	background: rgba(241, 245, 249, .7);
	color: var(--qz-slate-900);
}

.site-nav-item.is-active .site-nav-link {
	font-weight: 600;
	color: var(--qz-teal);
	background: transparent;
}

/* 下拉菜单 */
.site-subnav {
	border: 1px solid var(--qz-slate-100);
	border-radius: 12px;
	box-shadow: 0 12px 32px -12px rgba(15, 23, 42, .18);
	padding: 6px;
	background: #fff;
}

.site-subnav a {
	border-radius: 8px;
	color: var(--qz-slate-600);
	font-size: 13px;
}

.site-subnav a:hover,
.site-subnav li.is-active > a {
	background: var(--qz-slate-50);
	color: var(--qz-teal);
}

/* 移动端抽屉：原型为右侧 380px 白色面板 */
@media (max-width: 991px) {
	.site-nav {
		background: #fff;
		box-shadow: -8px 0 40px -12px rgba(15, 23, 42, .2);
	}

	.site-nav-link { font-size: 16px; padding: 12px 14px; }
}

/* 汉堡按钮 */
.site-nav-toggle span { background: var(--qz-slate-700); border-radius: 2px; }

/* ============================================================================
   二、页脚  ——  对应原型 Footer：浅色渐变 + 蓝图网格 + 三栏
   （原型为浅色底，此处由旧版深色 #1a202c 整体翻转为浅色）
   ========================================================================== */

.site-footer {
	position: relative;
	background: linear-gradient(to bottom, var(--qz-slate-50), var(--qz-slate-100));
	color: var(--qz-slate-800, #1e293b);
	padding: 36px 0 0;
	font-size: 14px;
	line-height: 1.6;
}

/* 蓝图网格纹理（原型 blueprint-grid-light） */
.site-footer::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: linear-gradient(to right, rgba(56, 98, 143, .05) 1px, transparent 1px);
	background-size: 8.3333% 100%;
	pointer-events: none;
}

.site-footer > .container { position: relative; z-index: 1; }

.site-footer-main {
	padding-bottom: 32px;
	border-bottom: 0;
	margin-bottom: 0;
}

@media (min-width: 1024px) {
	.site-footer { padding-top: 48px; }
	.site-footer-main { padding-bottom: 56px; }
}

/* ── 品牌列 ─────────────────────────────────────────────── */
.site-footer-brand { margin-bottom: 24px; }

.sfb-logo { gap: 10px; margin-bottom: 8px; }
.sfb-logo img { height: 32px; border-radius: 0; }

@media (min-width: 1024px) {
	.sfb-logo-img { height: 36px; }
}

.sfb-logo-name {
	font-size: 15px;
	font-weight: 700;
	color: var(--qz-navy);
	line-height: 1.3;
}

/* 标语（新增的静态内容） */
.sfb-slogan {
	margin: 0 0 18px;
	color: var(--qz-slate-500);
	font-size: 12px;
	line-height: 1.7;
}

.sfb-details p {
	gap: 12px;
	margin-bottom: 14px;
	color: var(--qz-slate-600);
	font-size: 13px;
	line-height: 1.7;
}

.sfb-details p i {
	margin-top: 4px;
	width: 14px;
	color: var(--qz-teal);
}

/* 电话用主色加粗，邮箱常规 */
.sfb-details p i.fa-mint { color: var(--qz-mint-dark); }

.sfb-details a { color: var(--qz-slate-600); }
.sfb-details a:hover { color: var(--qz-teal-dark); }

.sfb-details .sfb-strong {
	color: var(--qz-navy);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

/* ── 链接列 ─────────────────────────────────────────────── */
.site-footer-nav { margin-bottom: 24px; }

.site-footer-nav h4 {
	margin: 0 0 18px;
	padding-bottom: 0;
	border-bottom: 0;
	color: rgba(56, 98, 143, .7);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
}

.site-footer-nav h4 a { color: inherit; }

.site-footer-nav li { margin-bottom: 10px; }

.site-footer-nav a {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--qz-slate-600);
	font-size: 13px;
}

/* 悬停横线微交互（原型 group-hover/link:w-2.5） */
.site-footer-nav a::before {
	content: "";
	display: inline-block;
	width: 0;
	height: 1px;
	background: var(--qz-teal);
	transition: width .3s var(--qz-ease);
}

.site-footer-nav a:hover {
	padding-left: 0;
	color: var(--qz-navy);
}

.site-footer-nav a:hover::before { width: 10px; }

/* ── 社交列 ─────────────────────────────────────────────── */
.site-footer-social { margin-bottom: 24px; }

.site-footer-social h4 {
	margin: 0 0 18px;
	padding-bottom: 0;
	border-bottom: 0;
	color: rgba(56, 98, 143, .7);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
}

/* 图标按钮：浅底、悬停上浮转白底带阴影 */
.sfs-icon {
	width: 46px;
	height: 46px;
	border-radius: 10px;
	background: rgba(56, 98, 143, .06);
	padding: 9px;
	transition: background .3s ease, box-shadow .3s ease, transform .3s var(--qz-ease);
}

.sfs-item:hover .sfs-icon {
	background: #fff;
	box-shadow: 0 4px 12px -2px rgba(15, 23, 42, .12);
	transform: translateY(-2px);
}

.sfs-item span { color: var(--qz-slate-500); font-size: 11px; }

.sfs-arrow { color: var(--qz-slate-400); font-size: 20px; }
.sfs-arrow:hover { color: var(--qz-navy); }

.sfs-track-outer { width: 216px; }   /* 4 × 46px + 3 × 8px，与 icon 尺寸联动 */

/* 企业微信卡片 */
.qw-contact-card {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 20px;
	padding: 10px;
	border: 1px solid rgba(56, 98, 143, .06);
	border-radius: 12px;
	background: rgba(255, 255, 255, .7);
}

.qw-qr-img {
	width: 48px;
	height: 48px;
	flex-shrink: 0;
	border-radius: 8px;
	background: #fff;
	object-fit: contain;
	padding: 2px;
}

.qw-text { font-size: 12px; line-height: 1.6; color: var(--qz-slate-500); }
.qw-text p { margin: 0; }
.qw-text p:first-child { color: var(--qz-navy); font-weight: 500; }

/* ── 底栏 ───────────────────────────────────────────────── */
.site-footer-bottom {
	padding: 16px 0;
	border-top: 1px solid rgba(56, 98, 143, .1);
	font-size: 12px;
	color: var(--qz-slate-500);
}

.sfc-copyright { margin: 0; padding: 0; color: var(--qz-slate-500); font-size: 12px; }

.sfc-icp {
	padding: 0;
	color: var(--qz-slate-500);
	font-size: 12px;
}

.sfc-icp:hover { color: var(--qz-navy); }

@media (max-width: 767px) {
	.site-footer { padding-top: 32px; }
	.sfs-icon { width: 42px; height: 42px; }
	.sfs-track-outer { width: 192px; }  /* 4 × 42px + 3 × 8px */
	.site-footer-bottom { padding: 14px 0; }
}

/* ============================================================================
   三、浮动工具条  ——  配色对齐品牌体系
   ========================================================================== */

.app-toolbar {
	background: rgba(255, 255, 255, .9);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	box-shadow: 0 12px 36px rgba(15, 60, 90, .14);
	border: 1px solid rgba(255, 255, 255, .8);
	border-radius: 20px;
}

.toolbar-btn {
	color: var(--qz-slate-600);
	border-radius: 14px;
}

.toolbar-btn:hover {
	background: var(--qz-navy);
	color: #fff;
	transform: scale(1.05);
}

.tool-tip {
	border-color: var(--qz-slate-100);
	border-radius: 10px;
	box-shadow: 0 12px 32px -12px rgba(15, 23, 42, .18);
}

.tool-tip a { color: var(--qz-navy); }

/* 二维码网格 */
.qrcode-card span { color: var(--qz-slate-500); }

/* ============================================================================
   四、内容区顶部补偿（header 由 72px 降为 64px）
   ========================================================================== */

.main-content { padding-top: 64px; }

/* ============================================================================
   五、右侧社交悬浮栏  ——  对应原型 SocialSidebar
   （桌面端右侧垂直居中，悬停向左弹出二维码；移动端不显示）
   ========================================================================== */

.qz-social {
	position: fixed;
	right: 16px;
	top: 50%;
	z-index: 70;
	display: none;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 10px;
	border: 1px solid rgba(255, 255, 255, .8);
	border-radius: var(--qz-radius-card);
	background: rgba(255, 255, 255, .7);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
	box-shadow: 0 12px 36px rgba(15, 60, 90, .14);
	transform: translateY(-50%);
}

@media (min-width: 1024px) {
	.qz-social { display: flex; }
}

@media (min-width: 1280px) {
	.qz-social { right: 24px; }
}

.qz-social-title {
	padding-bottom: 2px;
	color: var(--qz-slate-400);
	font-size: 9px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.qz-social-item { position: relative; }

.qz-social-btn {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: rgba(255, 255, 255, .45);
	cursor: pointer;
}

.qz-social-btn img {
	width: 24px;
	height: 24px;
	object-fit: contain;
}

.qz-social-item:hover .qz-social-btn {
	transform: scale(1.04);
	background: rgba(255, 255, 255, .85);
	box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
}

/* 二维码弹层：向左弹出 */
.qz-social-qr {
	position: absolute;
	right: 100%;
	top: 50%;
	width: 208px;
	margin-right: 16px;
	padding: 12px;
	border: 1px solid rgba(56, 98, 143, .08);
	border-radius: var(--qz-radius-card);
	background: rgba(255, 255, 255, .95);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
	box-shadow: 0 16px 48px rgba(15, 60, 90, .18);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-50%) translateX(6px);
	transition: opacity .22s ease, transform .22s ease, visibility .22s;
	pointer-events: none;
}

.qz-social-item:hover .qz-social-qr {
	opacity: 1;
	visibility: visible;
	transform: translateY(-50%) translateX(0);
	pointer-events: auto;
}

.qz-social-qr-head {
	display: flex;
	align-items: center;
	gap: 10px;
}

.qz-social-qr-ico {
	display: grid;
	flex-shrink: 0;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: var(--qz-radius-btn);
	background: var(--qz-slate-50);
	box-shadow: 0 0 0 1px rgba(56, 98, 143, .06);
}

.qz-social-qr-ico img { width: 16px; height: 16px; object-fit: contain; }

.qz-social-qr-name {
	margin: 0;
	color: var(--qz-navy);
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}

.qz-social-qr-tip {
	margin: 2px 0 0;
	color: var(--qz-slate-400);
	font-size: 10px;
	white-space: nowrap;
}

.qz-social-qr-img {
	margin-top: 10px;
	padding: 10px;
	border-radius: 12px;
	background: var(--qz-slate-50);
	box-shadow: 0 0 0 1px rgba(56, 98, 143, .06);
}

.qz-social-qr-img img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	border-radius: var(--qz-radius-btn);
	background: #fff;
	object-fit: contain;
}

/* ============================================================================
   语言切换器（qz-lang）—— 对应原型 Navbar.LangSwitcher
   ========================================================================== */

/* 导航 + 语言切换靠右；移动端抽屉化后由 .qz-lang 自行靠右 */
.site-nav { margin-left: auto; display: flex; align-items: center; }

.qz-lang { position: relative; flex-shrink: 0; margin-left: 12px; }

.qz-lang-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	border: 1px solid var(--qz-slate-200, #e2e8f0);
	border-radius: var(--qz-radius-btn, 8px);
	background: #fff;
	color: var(--qz-slate-700, #334155);
	font-size: 13px;
	line-height: 1.4;
	cursor: pointer;
	white-space: nowrap;
	transition: border-color .2s, color .2s;
}

.qz-lang-btn:hover { border-color: var(--qz-teal); color: var(--qz-teal); }

.qz-lang-current { font-weight: 600; white-space: nowrap; }

.qz-lang-menu {
	display: none;
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	min-width: 120px;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: #fff;
	border: 1px solid var(--qz-slate-100);
	border-radius: 10px;
	box-shadow: 0 12px 32px -12px rgba(15, 23, 42, .25);
	z-index: 1000;
}

.qz-lang.is-open .qz-lang-menu { display: block; }

.qz-lang-menu a {
	display: block;
	padding: 8px 12px;
	border-radius: 6px;
	color: var(--qz-slate-700);
	font-size: 13px;
	text-decoration: none;
	white-space: nowrap;
}

.qz-lang-menu a:hover { background: var(--qz-slate-50); color: var(--qz-teal); }

.qz-lang-menu a.is-active { color: var(--qz-teal); font-weight: 700; }

@media (max-width: 991px) {
	/* 抽屉为纵向流，语言切换固定在底部 */
	.site-nav { flex-direction: column; align-items: stretch; }

	.qz-lang {
		margin-left: 0;
		margin-top: auto;
		padding: 16px 20px 24px;
		border-top: 1px solid rgba(0, 0, 0, .06);
	}

	.qz-lang-btn {
		width: 100%;
		justify-content: center;
	}

	/* 位于抽屉底部，菜单向上弹出 */
	.qz-lang-menu {
		top: auto;
		bottom: calc(100% + 8px);
		right: 20px;
	}
}

/* 中等屏（992–1199px）收紧导航项内边距，避免导航 + 语言切换被挤出屏 */
@media (min-width: 992px) and (max-width: 1199px) {
	.site-nav-link { padding: 8px 9px; font-size: 13px; }
}
