/* ==========================================================================
   ShicaiTech 主题主样式
   配色复刻源站：深海军蓝 #1E3A8A / 亮蓝 #3B82F6
   ========================================================================== */

:root {
	--primary: #1E3A8A;
	--primary-dark: #172C6B;
	--accent: #3B82F6;
	--accent-hover: #2563EB;
	--text: #1F2937;
	--muted: #6B7280;
	--bg: #FFFFFF;
	--bg-light: #F8FAFC;
	--border: #E5E7EB;
	--dark: #0F172A;
	--radius: 10px;
	--shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
	--shadow-hover: 0 10px 30px rgba(30, 58, 138, 0.15);
	--font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- 基础 ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.7;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-hover); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 { line-height: 1.3; margin: 0 0 .5em; color: var(--dark); }

p { margin: 0 0 1em; }

ul, ol { padding-left: 1.4em; }

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

.screen-reader-text {
	position: absolute;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip-link:focus {
	position: fixed; top: 8px; left: 8px; z-index: 9999;
	background: var(--primary); color: #fff; padding: 8px 16px;
}

.section { padding: 72px 0; }
.section-light { background: var(--bg-light); }

/* ---------- 区块标题 ---------- */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; position: relative; }

.section-kicker {
	display: inline-block;
	color: var(--accent);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-bottom: 8px;
}

.section-title { font-size: 32px; margin-bottom: 10px; }
.section-desc { color: var(--muted); margin: 0; }

.section-head-light .section-kicker { color: #93C5FD; }
.section-head-light .section-title { color: #fff; }
.section-head-light .section-desc { color: #BFDBFE; }

.section-link {
	position: absolute;
	right: 0; bottom: 4px;
	font-size: 14px;
	font-weight: 600;
	color: var(--primary);
}
.section-link:hover { color: var(--accent); }

/* ---------- 按钮 ---------- */
.btn {
	display: inline-block;
	padding: 12px 28px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	border: 2px solid transparent;
	cursor: pointer;
	text-align: center;
	transition: all .2s;
}

.btn-lg { padding: 14px 36px; font-size: 16px; }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }

.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }

.btn-outline-light { border-color: rgba(255,255,255,.8); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--primary); }

.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: #DBEAFE; color: var(--primary); }

/* ---------- 网格 ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 站点头部 ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255,255,255,.97);
	border-bottom: 1px solid var(--border);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }

.site-logo { display: flex; align-items: center; gap: 10px; color: var(--dark); }

.logo-mark {
	display: flex; align-items: center; justify-content: center;
	width: 42px; height: 42px;
	background: linear-gradient(135deg, var(--primary), var(--accent));
	color: #fff;
	font-weight: 800;
	font-size: 16px;
	border-radius: 8px;
	letter-spacing: .5px;
}

.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text strong { font-size: 18px; color: var(--primary); }
.logo-text small { font-size: 12px; color: var(--muted); letter-spacing: 1px; }

.nav-menu { display: flex; list-style: none; margin: 0; padding: 0; gap: 4px; }

.nav-menu li { position: relative; }

.nav-menu a {
	display: block;
	padding: 10px 16px;
	color: var(--text);
	font-weight: 500;
	font-size: 15px;
	border-radius: 6px;
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a { color: var(--accent); }

.nav-menu .menu-item-has-children > a::after {
	content: "▾";
	margin-left: 6px;
	font-size: 12px;
	color: var(--muted);
}

.nav-menu .sub-menu {
	display: none;
	position: absolute;
	top: 100%; left: 0;
	min-width: 260px;
	list-style: none;
	/* 背景直接实色设在本体 + 明确层级，避免任何 GPU 分块导致半透明 */
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 10px;
	z-index: 1000;
	padding: 8px 10px;
	/* 绝对定位 + width:auto 时浏览器按 shrink-to-fit 收缩，列数一多就会把后几列
	   挤出白色背景（视觉上像"透明"）。这里改为按内容取宽 + 每列 5 项的纵向网格
	   自动流向，容器宽度始终包裹住全部列 */
	width: max-content;
	grid-auto-flow: column;
	grid-auto-columns: max-content;
	grid-template-rows: repeat(5, 40px);
	align-items: center;
}

.nav-menu li.menu-open > .sub-menu { display: grid; }

.nav-menu .sub-menu li { flex: 0 0 auto; height: 40px; display: flex; align-items: center; }
.nav-menu .sub-menu a { display: block; padding: 0 18px; border-radius: 6px; font-size: 14px; line-height: 40px; white-space: nowrap; }

.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: 0;
	padding: 10px;
	cursor: pointer;
}

.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: transform .2s; }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 560px;
	background: linear-gradient(135deg, var(--primary-dark), var(--primary) 55%, #2743A8);
	color: #fff;
	overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,23,42,.82), rgba(30,58,138,.55)); }

.hero-content { position: relative; z-index: 2; max-width: 720px; padding: 90px 24px; }

.hero-kicker {
	color: #93C5FD;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 3px;
	text-transform: uppercase;
	margin-bottom: 14px;
}

.hero-title { font-size: 46px; line-height: 1.2; color: #fff; margin-bottom: 18px; }

.hero-sub { font-size: 18px; color: #DBEAFE; margin-bottom: 30px; }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- 分类卡片 ---------- */
.category-card {
	display: block;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: transform .25s, box-shadow .25s;
	color: var(--text);
}

.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); color: var(--text); }

.category-thumb { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-light); }
.category-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.category-card:hover .category-thumb img { transform: scale(1.06); }

.category-body { padding: 20px; }
.category-name { font-size: 18px; margin-bottom: 8px; }
.category-desc { color: var(--muted); font-size: 14px; margin-bottom: 12px; min-height: 42px; }
.category-more { font-size: 14px; font-weight: 600; color: var(--accent); }
.category-more .arrow { display: inline-block; transition: transform .2s; }
.category-card:hover .category-more .arrow { transform: translateX(4px); }

/* ---------- 产品卡片 ---------- */
.product-card {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: transform .25s, box-shadow .25s;
	display: flex;
	flex-direction: column;
}

.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }

.product-thumb { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--bg-light); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.product-card:hover .product-thumb img { transform: scale(1.06); }

.product-brand {
	position: absolute;
	top: 12px; left: 12px;
	background: rgba(30,58,138,.9);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 20px;
}

.product-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.product-title { font-size: 17px; margin-bottom: 8px; }
.product-title a { color: var(--dark); }
.product-title a:hover { color: var(--accent); }
.product-excerpt { color: var(--muted); font-size: 14px; flex: 1; margin-bottom: 14px; }
.product-more { font-size: 14px; font-weight: 600; color: var(--accent); }
.product-more .arrow { display: inline-block; transition: transform .2s; }
.product-more:hover .arrow { transform: translateX(4px); }

/* ---------- 解决方案卡片 ---------- */
.solution-card {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: transform .25s, box-shadow .25s;
}

.solution-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }

.solution-thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-light); }
.solution-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.solution-card:hover .solution-thumb img { transform: scale(1.06); }

.solution-body { padding: 22px; }
.solution-name { font-size: 19px; margin-bottom: 8px; }
.solution-desc { color: var(--muted); font-size: 14px; margin-bottom: 0; }

.solution-card-lg { display: flex; flex-direction: column; }
.solution-card-lg .solution-thumb { aspect-ratio: 16/8; }
.solution-index { color: var(--accent); font-weight: 800; font-size: 13px; letter-spacing: 1px; }

/* ---------- 数字实力 ---------- */
.stats-band {
	background: linear-gradient(135deg, var(--primary-dark), var(--primary));
	color: #fff;
	padding: 72px 0;
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	text-align: center;
}

.stat-item { padding: 20px; }

.stat-num {
	display: block;
	font-size: 52px;
	font-weight: 800;
	line-height: 1.1;
	color: #fff;
	margin-bottom: 6px;
}

.stat-label { color: #BFDBFE; font-size: 15px; }

/* ---------- 关于 ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

.about-media { position: relative; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }

.about-badge {
	position: absolute;
	right: -14px; bottom: -14px;
	background: var(--accent);
	color: #fff;
	text-align: center;
	padding: 18px 22px;
	border-radius: var(--radius);
	box-shadow: var(--shadow-hover);
}

.about-badge strong { display: block; font-size: 30px; line-height: 1.1; }
.about-badge span { font-size: 13px; }

/* ---------- 品牌墙 ---------- */
.brand-list {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin: 0;
	padding: 0;
}

.brand-item a {
	display: inline-block;
	background: #fff;
	border: 1px solid var(--border);
	color: var(--muted);
	font-size: 15px;
	font-weight: 600;
	padding: 10px 22px;
	border-radius: 30px;
	transition: all .2s;
}

.brand-item a:hover { color: var(--accent); border-color: var(--accent); background: #EFF6FF; }

/* ---------- 客户评价 ---------- */
.testimonial-card {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 28px;
	margin: 0;
}

.testimonial-card blockquote {
	margin: 0 0 18px;
	font-size: 15px;
	color: var(--text);
	position: relative;
	padding-left: 22px;
}

.testimonial-card blockquote::before {
	content: "“";
	position: absolute;
	left: 0; top: -10px;
	font-size: 40px;
	color: var(--accent);
	opacity: .6;
}

.testimonial-card figcaption { display: flex; align-items: center; gap: 12px; }

.avatar {
	display: flex; align-items: center; justify-content: center;
	width: 44px; height: 44px;
	background: linear-gradient(135deg, var(--primary), var(--accent));
	color: #fff;
	font-weight: 700;
	border-radius: 50%;
}

.who strong { display: block; font-size: 15px; }
.who small { color: var(--muted); font-size: 13px; }

/* ---------- CTA ---------- */
.cta-band {
	background: linear-gradient(135deg, var(--primary-dark), var(--primary));
	color: #fff;
	padding: 64px 0;
}

.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }

.cta-text h2 { color: #fff; font-size: 30px; margin-bottom: 8px; }
.cta-text p { color: #BFDBFE; margin: 0; }

.cta-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cta-phone { color: #93C5FD; font-size: 14px; }

/* ---------- 页头（内页） ---------- */
.page-hero {
	background: linear-gradient(135deg, var(--primary-dark), var(--primary));
	color: #fff;
	padding: 56px 0;
}

.page-title { color: #fff; font-size: 34px; margin: 0 0 8px; }
.page-sub { color: #BFDBFE; margin: 0; font-size: 16px; }

/* ---------- 面包屑 ---------- */
.breadcrumbs { font-size: 14px; color: #BFDBFE; }
.breadcrumbs a { color: #DBEAFE; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs .sep { margin: 0 8px; opacity: .6; }
.breadcrumbs .current { color: #fff; }

/* ---------- 筛选条 ---------- */
.archive-layout { padding: 44px 0 72px; }

.filter-bar {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-bottom: 34px;
}

.filter-group { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }

.filter-label { font-size: 14px; font-weight: 600; color: var(--muted); }

.filter-chip {
	display: inline-block;
	padding: 7px 16px;
	border: 1px solid var(--border);
	border-radius: 20px;
	font-size: 14px;
	color: var(--text);
	background: #fff;
	transition: all .2s;
}

.filter-chip:hover { border-color: var(--accent); color: var(--accent); }
.filter-chip.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }

.empty-tip { text-align: center; color: var(--muted); padding: 40px 0; }

/* ---------- 分类页/品牌页：左右两栏 ---------- */
.shop-layout {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	gap: 36px;
	align-items: start;
	padding: 44px 0 72px;
}

.brand-sidebar {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 22px 18px;
	position: sticky;
	top: 96px;
}

.brand-sidebar-title {
	font-size: 15px;
	font-weight: 700;
	color: var(--dark);
	margin: 0 0 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--border);
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.brand-sidebar-title .count { font-size: 13px; font-weight: 500; color: var(--muted); }

.brand-sidebar-list {
	list-style: none;
	margin: 0;
	padding: 0 0 4px;
	display: flex;
	flex-direction: column;
	gap: 2px;
	max-height: 420px;
	overflow-y: auto;
}

.brand-sidebar-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 9px 12px;
	border-radius: 8px;
	font-size: 14px;
	color: var(--text);
	transition: all .18s;
}

.brand-sidebar-list a:hover { background: var(--bg-light); color: var(--accent); }
.brand-sidebar-list a.is-active { background: var(--accent); color: #fff; font-weight: 600; }
.brand-sidebar-list a .bqty { font-size: 12px; opacity: .8; }

.shop-main { min-width: 0; }

.shop-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: 24px;
	border-bottom: 2px solid var(--border);
	padding-bottom: 14px;
	gap: 16px;
	flex-wrap: wrap;
}

.shop-head h2 { margin: 0; font-size: 22px; color: var(--dark); }

.shop-head .shop-count { color: var(--muted); font-size: 14px; font-weight: 500; white-space: nowrap; }

@media (max-width: 992px) {
	.shop-layout { grid-template-columns: 1fr; gap: 28px; }
	.brand-sidebar { position: static; }
	.brand-sidebar-list { max-height: none; }
}

/* ---------- 分页 ---------- */
.pagination { display: flex; justify-content: center; margin-top: 44px; gap: 8px; }

.pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 40px; height: 40px;
	padding: 0 12px;
	border: 1px solid var(--border);
	border-radius: 8px;
	color: var(--text);
	font-size: 14px;
}

.pagination .page-numbers.current { background: var(--accent); border-color: var(--accent); color: #fff; }
.pagination a.page-numbers:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- 产品详情 ---------- */
.product-detail { padding: 44px 0 64px; }

.detail-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: start; margin-bottom: 48px; }

.detail-info { min-width: 0; }

.detail-media {
	background: var(--bg-light);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
}

.detail-image { width: 100%; }

.detail-title { font-size: 30px; margin-bottom: 14px; }

.detail-tags { display: flex; gap: 10px; margin-bottom: 14px; }

.tag {
	display: inline-block;
	padding: 5px 14px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 600;
	background: var(--bg-light);
	border: 1px solid var(--border);
	color: var(--muted);
}

.tag-brand { background: #EFF6FF; border-color: #BFDBFE; color: var(--primary); }

.detail-model { font-size: 15px; color: var(--muted); margin-bottom: 12px; }

.detail-excerpt { overflow-wrap: break-word; word-wrap: break-word; word-break: break-word; max-width: 100%; }
.detail-excerpt p { color: var(--muted); }

.detail-actions { margin: 20px 0; }

.detail-points { list-style: none; padding: 0; margin: 0; }
.detail-points li { padding: 6px 0 6px 24px; position: relative; color: var(--muted); font-size: 14px; }
.detail-points li::before {
	content: "✓";
	position: absolute; left: 0;
	color: var(--accent);
	font-weight: 700;
}

.detail-block { margin-bottom: 44px; }
.block-title { font-size: 22px; border-bottom: 2px solid var(--accent); padding-bottom: 10px; display: inline-block; margin-bottom: 20px; }

.spec-tables { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

.spec-table { width: 100%; border-collapse: collapse; background: #fff; table-layout: fixed; }

.spec-table th, .spec-table td {
	text-align: left;
	padding: 12px 16px;
	border: 1px solid var(--border);
	font-size: 14px;
	word-break: break-word;
}

.spec-table th { background: var(--bg-light); color: var(--dark); font-weight: 600; width: 40%; }

.detail-content {
	color: var(--text);
	overflow-wrap: break-word;
	word-wrap: break-word;
	word-break: break-word;
	min-width: 0;
	max-width: 100%;
}
.detail-content p { margin-bottom: 1em; }
.detail-content img, .detail-content video, .detail-content iframe, .detail-content embed, .detail-content object { max-width: 100%; }
.detail-content img, .detail-content video { height: auto; }
.detail-content table { width: 100%; max-width: 100%; table-layout: fixed; word-break: break-word; }
.detail-content pre { white-space: pre-wrap; word-break: break-word; overflow-x: auto; max-width: 100%; }

/* ---------- 通用页面 ---------- */
.page-body { padding: 48px 0 72px; }

.entry-content { max-width: 860px; }

.about-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 56px; }
.about-intro-grid img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }

.values-section { margin-bottom: 56px; }

.value-card {
	background: var(--bg-light);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 28px;
	text-align: center;
}

.value-card h3 { color: var(--primary); font-size: 20px; }
.value-card p { color: var(--muted); font-size: 14px; margin: 0; }

.milestone-section { margin-bottom: 56px; }
.milestone-section .section-title { text-align: center; }

.timeline { list-style: none; padding: 0; margin: 0 auto; max-width: 720px; position: relative; }
.timeline::before {
	content: "";
	position: absolute;
	left: 72px; top: 0; bottom: 0;
	width: 2px;
	background: var(--border);
}

.timeline-item { display: flex; gap: 24px; padding: 18px 0; position: relative; }

.timeline-year {
	flex: 0 0 72px;
	text-align: right;
	font-weight: 800;
	font-size: 18px;
	color: var(--accent);
	padding-right: 24px;
	position: relative;
}

.timeline-year::after {
	content: "";
	position: absolute;
	right: -7px; top: 6px;
	width: 12px; height: 12px;
	background: var(--accent);
	border: 3px solid #DBEAFE;
	border-radius: 50%;
}

.timeline-body h3 { font-size: 17px; margin-bottom: 4px; }
.timeline-body p { color: var(--muted); font-size: 14px; margin: 0; }

.cert-section .section-title { text-align: center; }

.cert-list {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	padding: 0;
}

.cert-item {
	padding: 12px 26px;
	border: 1px solid var(--border);
	border-radius: 30px;
	background: var(--bg-light);
	font-size: 15px;
	font-weight: 600;
	color: var(--dark);
}

/* ---------- 联系页 ---------- */
.contact-layout { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }

.contact-list { list-style: none; padding: 0; margin: 0 0 24px; }
.contact-list li { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--border); }

.contact-label { flex: 0 0 120px; color: var(--muted); font-size: 14px; }
.contact-value { font-size: 15px; font-weight: 500; }

.contact-note {
	background: #EFF6FF;
	border: 1px solid #BFDBFE;
	border-radius: var(--radius);
	padding: 16px 20px;
}

.contact-note p { margin: 0; color: var(--primary); font-size: 14px; }

/* ---------- 询盘表单 ---------- */
.inquiry-form { display: flex; flex-direction: column; gap: 18px; }

.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; margin: 0; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.form-field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }

.form-field .req { color: #EF4444; }

.form-field input,
.form-field textarea {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid var(--border);
	border-radius: 8px;
	font-size: 15px;
	font-family: inherit;
	color: var(--text);
	background: #fff;
	transition: border-color .2s, box-shadow .2s;
}

.form-field input:focus,
.form-field textarea:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}

.form-field input[readonly] { background: var(--bg-light); color: var(--muted); }

.form-notice { padding: 14px 18px; border-radius: 8px; margin-bottom: 18px; font-size: 14px; }

.form-notice.is-success { background: #ECFDF5; border: 1px solid #A7F3D0; color: #065F46; }
.form-notice.is-error { background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--dark); color: #94A3B8; font-size: 14px; }

.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1.4fr;
	gap: 40px;
	padding: 56px 24px 40px;
}

.footer-title { color: #fff; font-size: 16px; margin-bottom: 16px; }

.footer-about p { line-height: 1.8; }

.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #94A3B8; }
.footer-links a:hover { color: #fff; }

.footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-contact li { margin-bottom: 10px; line-height: 1.6; }
.footer-contact a { color: #93C5FD; }

/* ---------- 页脚产品分类折叠 ---------- */
.footer-cats-list { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-cats-list .cat-item { margin-bottom: 0; }
.footer-cats-list .cat-item.cat-hidden { display: none; }
.footer-cats-list.expanded .cat-item.cat-hidden { display: list-item; }
.footer-cats-toggle {
	margin-top: 14px;
	padding: 6px 16px;
	background: transparent;
	border: 1px solid rgba(255,255,255,.28);
	border-radius: 6px;
	color: #DBEAFE;
	font-size: 13px;
	cursor: pointer;
	transition: border-color .2s, color .2s;
}
.footer-cats-toggle:hover { border-color: #93C5FD; color: #fff; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; }

.footer-bottom p { margin: 0; text-align: center; font-size: 13px; }

/* ---------- 通用文章列表 ---------- */
.post-list { max-width: 860px; margin: 0 auto; }

.post-item {
	padding: 24px 0;
	border-bottom: 1px solid var(--border);
}

.post-title { font-size: 22px; }
.post-title a { color: var(--dark); }
.post-title a:hover { color: var(--accent); }

.post-meta { color: var(--muted); font-size: 13px; margin-bottom: 8px; }

/* ---------- 404 ---------- */
.error-404 { text-align: center; padding: 90px 24px; }
.error-code { font-size: 96px; color: var(--accent); margin-bottom: 8px; }
.error-text { color: var(--muted); margin-bottom: 28px; }

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
	.grid-4 { grid-template-columns: repeat(2, 1fr); }
	.grid-3 { grid-template-columns: repeat(2, 1fr); }
	.about-grid, .detail-grid, .about-intro-grid, .contact-layout { grid-template-columns: 1fr; gap: 32px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.stats-grid { grid-template-columns: repeat(2, 1fr); }
	.hero-title { font-size: 36px; }
}

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

	.primary-nav {
		display: none;
		position: absolute;
		top: 100%; left: 0; right: 0;
		background: #fff;
		border-bottom: 1px solid var(--border);
		box-shadow: var(--shadow);
		max-height: calc(100vh - 80px);
		overflow-y: auto;
	}

	.primary-nav.is-open { display: block; }

	.nav-menu { flex-direction: column; padding: 12px 24px; }

	.nav-menu .sub-menu {
		display: none;
		position: static;
		box-shadow: none;
		border: 0;
		flex-direction: column;
		flex-wrap: nowrap;
		align-content: stretch;
		height: auto;
		/* 覆盖桌面端的 max-content，移动端下拉随父容器铺满 */
		width: auto;
		min-width: 0;
		padding: 6px 0 6px 16px;
		background: transparent;
	}
	.nav-menu li.menu-open > .sub-menu { display: flex; }
	.nav-menu .sub-menu li { height: auto; }

	.section { padding: 52px 0; }
	.section-title { font-size: 26px; }
	.hero { min-height: 480px; }
	.hero-title { font-size: 30px; }
	.hero-sub { font-size: 16px; }
	.form-row { grid-template-columns: 1fr; }
	.spec-tables { grid-template-columns: 1fr; }
	.cta-inner { flex-direction: column; align-items: flex-start; }
	.page-title { font-size: 28px; }
}

@media (max-width: 576px) {
	.grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
	.stats-grid { grid-template-columns: 1fr 1fr; }
	.stat-num { font-size: 40px; }
	.footer-grid { grid-template-columns: 1fr; }
	.hero-content { padding: 64px 24px; }
}

/* ============ FAQ ============ */
.faq-list { display: grid; gap: 18px; }

/* 话题页副标题单行截断，保证所有话题页 banner 高度一致 */
.page-sub-clamp { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; max-width: 100%; }

.faq-card {
	background: #fff;
	border: 1px solid var(--border, #E5E7EB);
	border-radius: 14px;
	padding: 26px 30px;
	transition: box-shadow .25s, transform .25s, border-color .25s;
}

.faq-card:hover { border-color: var(--accent); box-shadow: var(--shadow-hover); transform: translateY(-3px); }

.faq-question { font-size: 19px; line-height: 1.45; margin: 0 0 10px; }
.faq-question a { color: var(--text); }
.faq-question a:hover { color: var(--accent); }

.faq-answer-excerpt { color: var(--muted); font-size: 15px; line-height: 1.7; margin: 0 0 14px; }

.faq-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.faq-single { max-width: 860px; padding: 48px 0 80px; }

.faq-single-title { font-size: 32px; line-height: 1.3; margin: 0 0 16px; }

.faq-single-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.faq-single-meta .tag { font-size: 13px; }
.faq-updated { color: var(--muted); font-size: 14px; }

.faq-single-content {
	overflow-wrap: break-word;
	word-wrap: break-word;
	word-break: break-word;
	min-width: 0;
	max-width: 100%;
	font-size: 16px;
	line-height: 1.85;
	color: var(--text);
}

.faq-single-content h2 { font-size: 22px; margin: 34px 0 12px; color: var(--primary); }
.faq-single-content h3 { font-size: 18px; margin: 28px 0 10px; }
.faq-single-content p { margin: 0 0 16px; }
.faq-single-content ul, .faq-single-content ol { margin: 0 0 16px; padding-left: 24px; }
.faq-single-content li { margin-bottom: 6px; }
.faq-single-content img, .faq-single-content video, .faq-single-content iframe,
.faq-single-content embed, .faq-single-content object { max-width: 100%; height: auto; border-radius: 8px; }
.faq-single-content table { width: 100%; max-width: 100%; table-layout: fixed; word-break: break-word; border-collapse: collapse; margin: 0 0 16px; }
.faq-single-content th, .faq-single-content td { border: 1px solid var(--border, #E5E7EB); padding: 10px 12px; text-align: left; }
.faq-single-content th { background: var(--bg-light); }
.faq-single-content pre { white-space: pre-wrap; word-break: break-word; overflow-x: auto; max-width: 100%; background: #F3F4F6; padding: 14px 16px; border-radius: 8px; }

.faq-cta {
	margin-top: 48px;
	padding: 36px 28px;
	background: var(--bg-light);
	border: 1px solid var(--border, #E5E7EB);
	border-radius: 14px;
	text-align: center;
}

.faq-cta-title { font-size: 22px; margin: 0 0 8px; color: var(--primary); }
.faq-cta p { color: var(--muted); margin: 0 0 20px; }

.related-faqs { display: grid; gap: 12px; max-width: 920px; margin: 0 auto; }

.related-faq-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	background: #fff;
	border: 1px solid var(--border, #E5E7EB);
	border-radius: 12px;
	padding: 18px 22px;
	color: var(--text);
	transition: border-color .25s, box-shadow .25s;
}

.related-faq-item:hover { border-color: var(--accent); box-shadow: var(--shadow-hover); color: var(--accent); }

.related-faq-q { font-size: 15px; font-weight: 600; }
.related-faq-arrow { color: var(--accent); font-size: 18px; flex-shrink: 0; }

@media (max-width: 576px) {
	.faq-card { padding: 20px; }
	.faq-question { font-size: 17px; }
	.faq-single-title { font-size: 26px; }
	.faq-single { padding: 32px 0 56px; }
	.page-sub-clamp { white-space: normal; }
}
