/*
Theme Name: 中晟汽修
Theme URI: https://example.com/
Author: 汽修 GEO 项目
Description: 莒县中晟汽修官网主题：轻量、无依赖、为本地搜索和 AI 引用做的静态化页面结构。
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: zhongsheng
*/

:root {
	--ink: #0c141f;
	--ink-2: #131d2a;
	--ink-3: #1b2838;
	--text: #1b2430;
	--muted: #5f6b78;
	--line: #e3e7ec;
	--mist: #f5f7f9;
	--paper: #ffffff;
	--red: #d0202b;
	--red-2: #a9141e;
	--red-soft: #fdecec;
	--wrap: 1120px;
	--radius: 12px;
	--shadow: 0 18px 50px rgba(12, 20, 31, 0.10);
	--font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
	--mono: "SFMono-Regular", "Roboto Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 200;
	background: var(--red);
	color: #fff;
	padding: 10px 16px;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------------------------------------------------------------- 头部 */

.site-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: rgba(255, 255, 255, 0.97);
	border-bottom: 1px solid var(--line);
	backdrop-filter: saturate(180%) blur(10px);
}

.header-inner {
	display: flex;
	align-items: center;
	gap: 28px;
	min-height: 76px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }

.brand-mark {
	width: 42px; height: 42px;
	display: grid; place-items: center;
	background: var(--red);
	color: #fff;
	font-size: 22px;
	font-weight: 700;
	border-radius: 9px;
	letter-spacing: 0;
	box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.15);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 19px; letter-spacing: 0.01em; }
.brand-text small { font-size: 12px; color: var(--muted); letter-spacing: 0.14em; }

.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-list > li { position: relative; }
.nav-list > li > a {
	display: block;
	padding: 10px 12px;
	font-size: 15px;
	color: var(--text);
	border-radius: 8px;
	transition: color 0.15s, background 0.15s;
}
.nav-list > li > a:hover { background: var(--mist); color: var(--red); }
.nav-list > li.current-menu-item > a,
.nav-list > li.current-menu-ancestor > a { color: var(--red); background: transparent; }
.nav-list > li.current-menu-item > a:hover,
.nav-list > li.current-menu-ancestor > a:hover { background: var(--mist); }

.nav-list .menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	width: 6px; height: 6px;
	margin-left: 6px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	opacity: 0.7;
}

.nav-list .sub-menu {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	min-width: 190px;
	padding: 8px;
	margin: 0;
	list-style: none;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 12px;
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: all 0.16s ease;
}
.nav-list li:hover > .sub-menu,
.nav-list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-list .sub-menu a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 14.5px; color: var(--text); }
.nav-list .sub-menu a:hover { background: var(--mist); color: var(--red); }

.header-call {
	flex: none;
	display: inline-flex;
	flex-direction: column;
	align-items: flex-end;
	line-height: 1.25;
	padding-left: 22px;
	border-left: 1px solid var(--line);
}
.header-call span { font-size: 11px; color: var(--muted); letter-spacing: 0.16em; }
.header-call strong { font-size: 17px; color: var(--red); font-variant-numeric: tabular-nums; }
.header-call:hover strong { color: var(--red-2); }

.mnav { display: none; position: relative; }
.mnav > summary {
	list-style: none;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 9px 12px;
	border: 1px solid var(--line);
	border-radius: 9px;
	font-size: 14px;
	user-select: none;
}
.mnav > summary::-webkit-details-marker { display: none; }
.mnav-bars {
	width: 16px; height: 2px;
	background: var(--text);
	position: relative;
	display: inline-block;
}
.mnav-bars::before, .mnav-bars::after {
	content: ""; position: absolute; left: 0;
	width: 16px; height: 2px; background: var(--text);
}
.mnav-bars::before { top: -5px; }
.mnav-bars::after { top: 5px; }

.mnav-panel {
	position: absolute;
	right: 0;
	top: calc(100% + 14px);
	width: min(86vw, 320px);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 14px;
	box-shadow: var(--shadow);
	padding: 14px;
}
.mnav-list { list-style: none; }
.mnav-list a {
	display: block;
	padding: 10px 10px;
	font-size: 15px;
	border-radius: 8px;
}
.mnav-list a:hover { background: var(--mist); color: var(--red); }
.mnav-list .sub-menu { list-style: none; padding-left: 14px; border-left: 1px solid var(--line); margin: 2px 0 6px 10px; }
.mnav-list .sub-menu a { font-size: 14px; color: var(--muted); padding: 7px 10px; }
.mnav-call { display: flex; justify-content: center; margin-top: 10px; }
.mnav-meta { margin-top: 12px; font-size: 12.5px; color: var(--muted); line-height: 1.7; }

/* ---------------------------------------------------------------- 按钮 */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 22px;
	border-radius: 9px;
	font-size: 15.5px;
	font-weight: 600;
	line-height: 1.2;
	border: 1px solid transparent;
	transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
	cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(208, 32, 43, 0.25); }
.btn-red:hover { background: var(--red-2); }
.btn-line { border-color: rgba(12, 20, 31, 0.18); color: var(--text); background: transparent; }
.btn-line:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #f3f4f6; }
.btn-block { width: 100%; }

/* ---------------------------------------------------------------- 首页 Hero */

/* 只裁剪首页内容包装层；WordPress 会在 <body> 上挂 home 类，裸 .home 会顺带锁死页面滚动 */
div.home { overflow: hidden; }

.hero {
	position: relative;
	background: var(--ink);
	color: #fff;
	padding: 74px 0 66px;
	isolation: isolate;
}
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	background:
		radial-gradient(90% 120% at 88% 8%, rgba(208, 32, 43, 0.30), rgba(208, 32, 43, 0) 46%),
		radial-gradient(70% 90% at 8% 100%, rgba(54, 84, 122, 0.22), rgba(54, 84, 122, 0) 55%),
		var(--ink);
}
.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 88px),
		repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 88px);
	mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 92%);
}

.hero-grid {
	display: grid;
	grid-template-columns: 1.08fr 0.92fr;
	gap: 64px;
	align-items: center;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 12.5px;
	letter-spacing: 0.22em;
	color: var(--red);
	font-weight: 600;
	text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.hero .eyebrow { color: #ff7b83; }

.hero h1 {
	margin: 20px 0 22px;
	text-wrap: balance;
	font-size: clamp(36px, 4.6vw, 58px);
	line-height: 1.14;
	letter-spacing: -0.025em;
}
.hero h1 em { font-style: normal; color: #ff6b73; }

.hero-sub {
	font-size: 17px;
	line-height: 1.9;
	color: rgba(255, 255, 255, 0.76);
	max-width: 33em;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-actions .btn-line { border-color: rgba(255, 255, 255, 0.28); color: #fff; }
.hero-actions .btn-line:hover { border-color: rgba(255, 255, 255, 0.7); background: rgba(255, 255, 255, 0.06); }

.hero-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	margin-top: 30px;
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	font-size: 13.5px;
	color: rgba(255, 255, 255, 0.62);
}
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--red); }

.jobcard {
	background: #fff;
	color: var(--text);
	border-radius: 16px;
	padding: 26px 26px 22px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.jobcard-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 16px;
	border-bottom: 1px dashed #d9dee5;
}
.jobcard-head strong { font-size: 16px; }
.jobcard-tag {
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.1em;
	color: var(--red);
	background: var(--red-soft);
	padding: 4px 8px;
	border-radius: 5px;
}
.jobcard-list { list-style: none; }
.jobcard-list li {
	display: flex;
	gap: 14px;
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
}
.jobcard-list li:last-child { border-bottom: 0; }
.jobcard-num {
	font-family: var(--mono);
	font-size: 12px;
	color: var(--red);
	font-weight: 600;
	padding-top: 3px;
}
.jobcard-list strong { display: block; font-size: 15.5px; }
.jobcard-list p { margin-top: 4px; font-size: 13.5px; line-height: 1.7; color: var(--muted); }
.jobcard-foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid var(--line);
	font-size: 12.5px;
	color: var(--muted);
}
.jobcard-foot b { color: var(--red); font-size: 13.5px; }

/* ---------------------------------------------------------------- 数据条 */

.stats { border-bottom: 1px solid var(--line); background: #fff; }
.stats-inner {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
}
.stat { padding: 26px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-size: 30px; line-height: 1.1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }

/* ---------------------------------------------------------------- 通用区块 */

.section { padding: 78px 0; }
.section-mist { background: var(--mist); }
.section-head { max-width: 720px; margin-bottom: 38px; }
.section-head h2 { margin: 14px 0 0; font-size: clamp(27px, 3vw, 38px); line-height: 1.25; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 16px; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-head-row .section-head { margin-bottom: 0; }
.section-more { flex: none; font-size: 14.5px; color: var(--red); font-weight: 600; }
.section-more::after { content: " →"; }

/* 服务卡片 */

.svc-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin-top: 36px;
}
.svc-card {
	position: relative;
	display: block;
	padding: 26px 24px 22px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.svc-card::before {
	content: "";
	position: absolute;
	left: 24px; right: 24px; top: -1px;
	height: 2px;
	background: var(--red);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.2s ease;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfd6df; }
.svc-card:hover::before { transform: scaleX(1); }
.svc-num {
	font-family: var(--mono);
	font-size: 12px;
	color: var(--red);
	letter-spacing: 0.08em;
}
.svc-card h3 { margin: 12px 0 8px; font-size: 20px; }
.svc-card p { font-size: 14px; line-height: 1.75; color: var(--muted); }
.svc-link { display: inline-block; margin-top: 16px; font-size: 13.5px; font-weight: 600; color: var(--red); }

.svc-extra {
	margin-top: 20px;
	font-size: 14px;
	color: var(--muted);
}
.svc-extra a { color: var(--text); border-bottom: 1px solid var(--line); }
.svc-extra a:hover { color: var(--red); border-color: var(--red); }

/* 深色内容带 */

.band { background: var(--ink); color: #fff; padding: 72px 0; position: relative; overflow: hidden; }
.band::before {
	content: "";
	position: absolute;
	right: -160px; top: -160px;
	width: 460px; height: 460px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(208, 32, 43, 0.24), transparent 64%);
}
.band .section-head h2 { color: #fff; }
.band .section-head p { color: rgba(255, 255, 255, 0.66); }
.band .eyebrow { color: #ff7b83; }

.model-groups { margin-top: 10px; }
.model-group { display: flex; align-items: flex-start; gap: 20px; padding: 13px 0; border-top: 1px solid rgba(255, 255, 255, 0.09); }
.model-group:first-child { border-top: 0; }
.model-group h3 {
	flex: none;
	width: 92px;
	margin: 7px 0 0;
	font-size: 12.5px;
	letter-spacing: 0.1em;
	color: rgba(255, 255, 255, 0.5);
	font-weight: 600;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a {
	display: inline-block;
	padding: 7px 13px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 999px;
	font-size: 13.5px;
	color: rgba(255, 255, 255, 0.86);
	transition: all 0.15s ease;
}
.chips a:hover { background: #fff; color: var(--ink); border-color: #fff; }
.band-cta { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.band-cta p { font-size: 13.5px; color: rgba(255, 255, 255, 0.55); }

/* 抖音带 */

.douyin-band-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 56px; align-items: center; }
.douyin-copy h2 { margin: 14px 0; color: #fff; font-size: clamp(27px, 3vw, 38px); line-height: 1.25; }
.douyin-copy > p { max-width: 34em; color: rgba(255, 255, 255, 0.66); font-size: 16px; }
.douyin-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 20px 0 0; padding: 0 !important; list-style: none; }
.douyin-points li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: rgba(255, 255, 255, 0.78); }
.douyin-points li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--red); }
.douyin-id { margin-top: 20px !important; font-size: 12.5px !important; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.42) !important; }

.douyin-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	width: 280px;
	padding: 20px 20px 18px;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}
.douyin-qr { width: 220px; height: 220px; object-fit: contain; }
.douyin-info { text-align: center; }
.douyin-info strong { display: block; font-size: 16.5px; color: var(--ink); }
.douyin-info span { display: block; font-size: 12.5px; line-height: 1.75; color: var(--muted); }
.entry-content .douyin-card {
	width: 300px;
	margin: 18px 0 30px;
	border: 1px solid var(--line);
	box-shadow: 0 12px 34px rgba(12, 20, 31, 0.06);
}

/* 案例卡片 */

.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.case-card {
	display: flex;
	flex-direction: column;
	padding: 24px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.case-tag {
	align-self: flex-start;
	font-size: 12px;
	padding: 3px 9px;
	border-radius: 5px;
	background: var(--red-soft);
	color: var(--red);
	font-weight: 600;
}
.case-card h3 { margin: 14px 0 10px; font-size: 18px; line-height: 1.5; }
.case-card p { font-size: 14px; color: var(--muted); line-height: 1.75; }
.case-more { margin-top: auto; padding-top: 16px; font-size: 13.5px; color: var(--red); font-weight: 600; }

/* 流程 */

.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 40px; border-top: 1px solid var(--line); }
.step { padding: 26px 26px 6px 0; border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; padding-right: 0; }
.step-num {
	font-family: var(--mono);
	font-size: 13px;
	color: var(--red);
	letter-spacing: 0.1em;
}
.step h3 { margin: 12px 0 8px; font-size: 18px; }
.step p { font-size: 14px; color: var(--muted); line-height: 1.8; }

/* 为什么 */

.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 38px; }
.why-item { padding: 22px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--mist); }
.why-icon { width: 34px; height: 34px; color: var(--red); }
.why-icon svg { width: 100%; height: 100%; }
.why-item h3 { margin: 14px 0 8px; font-size: 16.5px; }
.why-item p { font-size: 13.5px; color: var(--muted); line-height: 1.75; }

/* FAQ */

.faq-list { margin-top: 30px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 20px;
	padding: 18px 0;
	font-weight: 600;
	font-size: 16.5px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; flex: none; width: 14px; height: 14px; margin-top: 6px; }
.faq-icon::before, .faq-icon::after {
	content: ""; position: absolute; background: var(--red); border-radius: 2px;
	transition: transform 0.2s ease;
}
.faq-icon::before { left: 0; top: 6px; width: 14px; height: 2px; }
.faq-icon::after { left: 6px; top: 0; width: 2px; height: 14px; }
.faq-list details[open] .faq-icon::after { transform: rotate(90deg); }
.faq-body { padding: 0 30px 20px 0; }
.faq-body p { font-size: 15px; line-height: 1.9; color: var(--muted); }

/* CTA 红色带 */

.cta-band {
	background: linear-gradient(120deg, var(--red-2), var(--red));
	color: #fff;
	padding: 58px 0;
}
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); }
.cta-band p { margin-top: 8px; color: rgba(255, 255, 255, 0.78); font-size: 15px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-actions .btn-line { border-color: rgba(255, 255, 255, 0.55); color: #fff; }

/* ---------------------------------------------------------------- 内页 */

.page-head {
	background: var(--mist);
	border-bottom: 1px solid var(--line);
	padding: 36px 0 40px;
}
.page-head h1 {
	margin-top: 14px;
	text-wrap: balance;
	font-size: clamp(28px, 3.6vw, 42px);
	line-height: 1.25;
	max-width: 20em;
}
.page-head .lede { margin-top: 14px; max-width: 46em; color: var(--muted); font-size: 16.5px; line-height: 1.85; }

.crumbs { font-size: 12.5px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.crumbs a:hover { color: var(--red); }
.crumb-sep { opacity: 0.5; }

.page-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 56px;
	padding-top: 48px;
	padding-bottom: 80px;
	align-items: start;
}
.page-grid-wide { grid-template-columns: minmax(0, 1fr); max-width: 900px; }

.entry-content { min-width: 0; font-size: 16.5px; line-height: 1.9; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 {
	margin: 46px 0 16px;
	padding-left: 14px;
	border-left: 4px solid var(--red);
	font-size: clamp(22px, 2.2vw, 28px);
	line-height: 1.4;
}
.entry-content h3 { margin: 30px 0 10px; font-size: 19px; }
.entry-content p { margin-bottom: 16px; }
.entry-content ul, .entry-content ol { margin: 0 0 18px; padding-left: 1.35em; }
.entry-content li { margin: 7px 0; }
.entry-content a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.entry-content a:hover { color: var(--red-2); }
.entry-content strong { font-weight: 700; }
.entry-content blockquote {
	margin: 24px 0;
	padding: 16px 20px;
	background: var(--mist);
	border-left: 4px solid var(--red);
	color: var(--muted);
	font-size: 15.5px;
}
.entry-content code { font-family: var(--mono); background: var(--mist); padding: 2px 6px; border-radius: 4px; font-size: 0.9em; }

.tbl { width: 100%; border-collapse: collapse; margin: 20px 0 26px; font-size: 14.5px; line-height: 1.7; }
.tbl th, .tbl td { border: 1px solid var(--line); padding: 11px 13px; text-align: left; vertical-align: top; }
.tbl th { background: var(--mist); font-weight: 600; white-space: nowrap; }
.tbl tr:nth-child(even) td { background: #fcfcfd; }

.callout {
	margin: 24px 0;
	padding: 18px 20px;
	background: var(--red-soft);
	border-left: 4px solid var(--red);
	border-radius: 0 8px 8px 0;
	font-size: 15px;
	color: #5a2024;
}
.callout p:last-child { margin-bottom: 0; }

.steps { list-style: none; counter-reset: step; padding: 0 !important; margin: 22px 0 28px !important; }
.steps li {
	counter-increment: step;
	position: relative;
	padding: 0 0 20px 48px;
	border-left: 1px solid var(--line);
	margin-left: 15px;
}
.steps li:last-child { padding-bottom: 0; border-left-color: transparent; }
.steps li::before {
	content: counter(step, decimal-leading-zero);
	position: absolute;
	left: -16px; top: -2px;
	width: 32px; height: 32px;
	display: grid; place-items: center;
	background: var(--ink);
	color: #fff;
	font-family: var(--mono);
	font-size: 11px;
	border-radius: 50%;
}
.steps li strong { display: block; margin-bottom: 4px; }
.steps li p { margin: 0; font-size: 15px; color: var(--muted); }

.link-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 24px 0 28px; }
.link-grid a {
	display: flex;
	flex-direction: column;
	padding: 18px 20px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: #fff;
	transition: all 0.15s ease;
}
.link-grid a:hover { border-color: var(--red); transform: translateY(-2px); }
.entry-content .link-grid a { color: var(--text); text-decoration: none; }
.entry-content .link-grid a:hover { color: var(--text); }
.link-grid strong { font-size: 16px; color: var(--text); }
.link-grid a:hover strong { color: var(--red); }
.link-grid span { margin-top: 5px; font-size: 13.5px; color: var(--muted); }

.related-posts { margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.related-posts h2 { margin: 0 0 14px; padding-left: 0; border: 0; font-size: 19px; }
.related-posts ul { list-style: none; padding: 0; }
.related-posts li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.related-posts li a { color: var(--text); text-decoration: none; font-weight: 500; }
.related-posts li a:hover { color: var(--red); }
.related-posts li span { flex: none; font-size: 12.5px; color: var(--muted); }

.post-note { margin: 30px 0 8px; padding: 16px 18px; background: var(--mist); border-radius: 8px; font-size: 14px; color: var(--muted); }
.post-note p { margin: 0; }
.post-related-inline { margin: 26px 0 8px !important; padding-top: 18px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--muted); }
[id] { scroll-margin-top: 96px; }
.post-tags { margin: 18px 0 28px; font-size: 13.5px; color: var(--muted); }
.post-tags a { display: inline-block; margin-right: 8px; padding: 3px 10px; background: var(--mist); border-radius: 999px; color: var(--text); text-decoration: none; }
.post-tags a:hover { background: var(--red); color: #fff; }

.cta-inline {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	margin: 38px 0 10px;
	padding: 24px 26px;
	background: var(--ink);
	color: #fff;
	border-radius: 12px;
}
.cta-inline h3 { margin: 0 0 6px; color: #fff; font-size: 19px; }
.cta-inline p { margin: 0; color: rgba(255, 255, 255, 0.66); font-size: 14px; line-height: 1.8; max-width: 40em; }
.cta-inline-actions { display: flex; gap: 10px; flex-wrap: wrap; flex: none; }
.cta-inline .btn-line { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.cta-inline .btn-line:hover { border-color: #fff; }
.entry-content .btn { text-decoration: none; }
.entry-content .btn-red { color: #fff; }
.entry-content .btn-red:hover { color: #fff; }
.entry-content .btn-line { color: var(--text); }
.entry-content .cta-inline .btn-line { color: #fff; }

/* 联系面板 */

.contact-panel {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 26px;
	align-items: center;
	margin: 0 0 10px;
	padding: 26px 28px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 14px;
	box-shadow: 0 12px 34px rgba(12, 20, 31, 0.06);
}
.contact-line {
	display: flex;
	align-items: baseline;
	gap: 16px;
	padding: 8px 0;
	border-bottom: 1px dashed var(--line);
	font-size: 15px;
}
.contact-line:last-child { border-bottom: 0; }
.contact-line span { flex: none; width: 44px; color: var(--muted); font-size: 12.5px; }
.contact-line strong { font-weight: 600; }
.contact-line a { color: var(--red); }
.contact-actions { display: flex; flex-direction: column; gap: 9px; min-width: 148px; }
.contact-actions .btn { width: 100%; }

/* 侧栏 */

.sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 16px; }
.side-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.side-contact { background: var(--ink); color: #fff; border-color: var(--ink); }
.side-kicker { font-size: 11.5px; letter-spacing: 0.18em; color: var(--muted); text-transform: uppercase; }
.side-contact .side-kicker { color: rgba(255, 255, 255, 0.55); }
.side-phone { display: block; margin: 10px 0 12px; font-size: 25px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.side-phone:hover { color: #ffb3b8; }
.side-addr { font-size: 13.5px; line-height: 1.8; color: rgba(255, 255, 255, 0.66); }
.side-actions { display: grid; gap: 8px; margin-top: 16px; }
.side-contact .btn-line { border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.side-contact .btn-line:hover { border-color: #fff; }
.side-links { list-style: none; margin-top: 10px; }
.side-links li { border-bottom: 1px solid var(--line); }
.side-links li:last-child { border-bottom: 0; }
.side-links a { display: block; padding: 10px 0; font-size: 14px; color: var(--text); }
.side-links a:hover { color: var(--red); }
.side-note { background: var(--mist); border-color: transparent; }
.side-note p { font-size: 13px; line-height: 1.8; color: var(--muted); }

/* 文章列表 */

.post-list { min-width: 0; }
.post-row {
	display: block;
	padding: 26px 0;
	border-bottom: 1px solid var(--line);
}
.post-row:first-child { padding-top: 0; }
.post-row-meta { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--muted); }
.post-tag {
	font-size: 12px;
	padding: 2px 9px;
	border-radius: 5px;
	background: var(--red-soft);
	color: var(--red);
	font-weight: 600;
}
.post-row h2 { margin: 12px 0 8px; font-size: 22px; line-height: 1.45; }
.post-row h2 a { color: var(--text); text-decoration: none; }
.post-row:hover h2 { color: var(--red); }
.post-row p { font-size: 14.5px; color: var(--muted); line-height: 1.8; }

.page-head-post .post-meta { display: flex; align-items: center; gap: 14px; margin-top: 16px; font-size: 13px; color: var(--muted); }
.page-head-post h1 { margin-top: 10px; max-width: 24em; }

.pagination { margin-top: 28px; font-size: 14px; }
.pagination .page-numbers { display: inline-block; padding: 6px 12px; margin-right: 6px; border: 1px solid var(--line); border-radius: 6px; }
.pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------------------------------------------------------------- 页脚 */

.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.72); margin-top: 0; }
.footer-top {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
	gap: 40px;
	padding-top: 62px;
	padding-bottom: 48px;
}
.footer-brand p { margin-top: 18px; font-size: 13.5px; line-height: 1.9; color: rgba(255, 255, 255, 0.58); max-width: 26em; }
.brand-light .brand-text strong { color: #fff; }
.brand-light .brand-text small { color: rgba(255, 255, 255, 0.5); }
.footer-phone {
	display: inline-block;
	margin-top: 20px;
	font-size: 26px;
	font-weight: 700;
	color: #fff;
	letter-spacing: -0.01em;
	font-variant-numeric: tabular-nums;
}
.footer-phone:hover { color: #ff9ba1; }

.footer-col h3 { font-size: 12.5px; letter-spacing: 0.16em; color: rgba(255, 255, 255, 0.42); margin-bottom: 14px; font-weight: 600; }
.footer-col ul { list-style: none; }
.footer-col li { margin: 9px 0; }
.footer-col a { font-size: 14px; color: rgba(255, 255, 255, 0.74); }
.footer-col a:hover { color: #fff; }
.footer-contact p { font-size: 13.5px; line-height: 1.85; margin-bottom: 14px; color: rgba(255, 255, 255, 0.66); }
.footer-contact strong { display: block; font-size: 11.5px; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.4); font-weight: 500; margin-bottom: 2px; }
.footer-map { color: #fff !important; border-bottom: 1px solid rgba(255, 255, 255, 0.3); padding-bottom: 2px; }

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 30px;
	padding-top: 20px;
	padding-bottom: 30px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 12px;
	color: rgba(255, 255, 255, 0.4);
}
.footer-bottom p { max-width: 60em; }
.footer-icp { margin-left: auto; }
.footer-icp a { color: inherit; border-bottom: 1px solid rgba(255, 255, 255, 0.18); padding-bottom: 1px; }
.footer-icp a:hover { color: #fff; border-bottom-color: rgba(255, 255, 255, 0.45); }

.mobile-bar { display: none; }

/* ---------------------------------------------------------------- 响应式 */

@media (max-width: 1080px) {
	.nav-list > li > a { padding: 10px 9px; font-size: 14px; }
	.header-inner { gap: 18px; }
	.header-call { padding-left: 16px; }
	.hero-grid { gap: 40px; }
}

@media (max-width: 980px) {
	.nav, .header-call { display: none; }
	.mnav { display: block; margin-left: auto; }
	.header-inner { min-height: 68px; }

	.hero { padding: 56px 0 52px; }
	.hero-grid { grid-template-columns: 1fr; gap: 36px; }
	.jobcard { max-width: 560px; }

	.stats-inner { grid-template-columns: repeat(2, 1fr); }
	.stat { padding: 22px 20px; }
	.stat:nth-child(3) { border-left: 0; padding-left: 0; }
	.stat:nth-child(3), .stat:nth-child(4) { border-top: 1px solid var(--line); }

	.svc-grid { grid-template-columns: repeat(2, 1fr); }
	.model-groups { grid-template-columns: repeat(2, 1fr); }
	.case-grid { grid-template-columns: repeat(2, 1fr); }
	.step-grid { grid-template-columns: repeat(2, 1fr); }
	.step { border-right: 0; padding-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 24px; }
	.step:nth-child(odd) { padding-right: 24px; border-right: 1px solid var(--line); }
	.step:nth-child(3), .step:nth-child(4) { padding-top: 24px; }
	.why-grid { grid-template-columns: repeat(2, 1fr); }

	.douyin-band-inner { grid-template-columns: 1fr; gap: 30px; }
	.douyin-card { width: min(100%, 320px); }
	.page-grid { grid-template-columns: 1fr; gap: 36px; }
	.sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
	.side-contact { grid-column: 1 / -1; }
	.side-note { display: none; }
}

@media (max-width: 720px) {
	body { padding-bottom: 62px; }
	.contact-panel { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
	.douyin-card { width: 100%; padding: 18px; }
	.douyin-qr { width: 200px; height: 200px; }
	.contact-actions { flex-direction: row; }
	.contact-actions .btn { flex: 1; }
	.wrap { padding: 0 18px; }
	.header-inner { min-height: 62px; }
	.brand-mark { width: 36px; height: 36px; font-size: 19px; }
	.brand-text strong { font-size: 17px; }
	.brand-text small { font-size: 10.5px; letter-spacing: 0.1em; }

	.hero { padding: 46px 0 44px; }
	.hero h1 { font-size: clamp(30px, 8.4vw, 40px); }
	.hero-sub { font-size: 15.5px; }
	.hero-actions .btn { flex: 1 1 auto; }
	.jobcard { padding: 20px 18px; }
	.jobcard-head strong { font-size: 15px; }

	.section { padding: 52px 0; }
	.section-head { margin-bottom: 26px; }
	.section-head p { font-size: 15px; }
	.section-head-row { display: block; }

	.svc-grid, .case-grid, .why-grid { grid-template-columns: 1fr; }
	.model-group { display: block; }
	.model-group h3 { width: auto; margin: 0 0 8px; }
	.step-grid { grid-template-columns: 1fr; }
	.step, .step:nth-child(odd) { padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }
	.step:last-child { border-bottom: 0; }

	.stats-inner { grid-template-columns: repeat(2, 1fr); }
	.stat b { font-size: 24px; }
	.stat span { font-size: 12px; }

	.page-head { padding: 24px 0 28px; }
	.page-head h1 { margin-top: 10px; }
	.page-head .lede { font-size: 15px; }
	.page-grid { padding-top: 32px; padding-bottom: 56px; }
	.entry-content { font-size: 16px; }
	.entry-content h2 { margin-top: 36px; }

	.tbl { display: block; border: 0; }
	.tbl thead { display: none; }
	.tbl tbody, .tbl tr, .tbl td { display: block; width: auto; }
	.tbl tr {
		border: 1px solid var(--line);
		border-radius: 10px;
		padding: 4px 14px;
		margin: 0 0 12px;
		background: #fff;
	}
	.tbl td {
		display: grid;
		grid-template-columns: 96px 1fr;
		gap: 10px;
		padding: 10px 0;
		border: 0;
		border-bottom: 1px dashed var(--line);
		font-size: 14px;
		line-height: 1.75;
	}
	.tbl td:last-child { border-bottom: 0; }
	.tbl td::before {
		content: attr(data-label);
		color: var(--muted);
		font-size: 12px;
		line-height: 1.9;
	}

	.sidebar { grid-template-columns: 1fr; }
	.link-grid { grid-template-columns: 1fr; }

	.cta-band { padding: 42px 0; }
	.cta-band-inner { display: block; }
	.cta-actions { margin-top: 20px; }
	.cta-actions .btn { flex: 1 1 auto; }

	.footer-top { grid-template-columns: 1fr 1fr; gap: 30px 24px; padding-top: 44px; }
	.footer-brand { grid-column: 1 / -1; }
	.footer-bottom { display: block; padding-bottom: 26px; }
	.footer-icp { margin-left: 0; margin-top: 8px; }

	.mobile-bar {
		display: grid;
		grid-template-columns: 1fr 1fr;
		position: fixed;
		left: 0; right: 0; bottom: 0;
		z-index: 80;
		background: #fff;
		border-top: 1px solid var(--line);
		box-shadow: 0 -6px 24px rgba(12, 20, 31, 0.08);
	}
	.mobile-bar a {
		display: flex;
		align-items: center;
		justify-content: center;
		height: 56px;
		font-size: 15px;
		font-weight: 600;
	}
	.mobile-bar-call { background: var(--red); color: #fff; }
	.mobile-bar-map { color: var(--ink); }
}

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------------------------------------------------------------- 简化版：少一点设计痕迹 */

.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.section { padding: 54px 0; }

.hero-simple {
	background: var(--mist);
	color: var(--text);
	padding: 56px 0 48px;
}
.hero-simple::before,
.hero-simple::after { display: none; }
.hero-simple h1 {
	margin: 12px 0 16px;
	color: var(--ink);
	font-size: clamp(34px, 4.2vw, 50px);
	line-height: 1.18;
	text-wrap: balance;
}
.kicker { font-size: 13px; color: var(--muted); letter-spacing: 0.06em; }
.hero-lead { max-width: 34em; font-size: 17px; line-height: 1.9; color: var(--text); }
.hero-call { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 18px; margin: 26px 0 10px; }
.hero-call a { font-size: 30px; font-weight: 700; color: var(--red); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.hero-call a:hover { color: var(--red-2); }
.hero-call span { font-size: 14px; color: var(--muted); }
.hero-note { font-size: 14px; color: var(--muted); }

.svc-grid.simple { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.svc-grid.simple .svc-card { padding: 20px 18px 18px; border-radius: 10px; }
.svc-grid.simple .svc-card::before { display: none; }
.svc-grid.simple .svc-card h3 { margin: 0 0 6px; font-size: 17px; }
.svc-grid.simple .svc-card p { font-size: 14px; line-height: 1.7; }

.case-list { margin-top: 22px; }
.case-row {
	display: grid;
	grid-template-columns: 86px minmax(0, 1fr);
	gap: 16px;
	padding: 14px 0;
	border-top: 1px solid var(--line);
}
.case-row:first-child { border-top: 0; padding-top: 0; }
.case-model { font-size: 12px; color: var(--red); padding-top: 3px; }
.case-main strong { display: block; font-size: 16px; font-weight: 600; line-height: 1.55; }
.case-main span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.case-row:hover strong { color: var(--red); }
.entry-content .case-row { color: var(--text); text-decoration: none; }
.entry-content .case-row:hover { color: var(--text); }
.entry-content .case-row .case-main strong { color: var(--text); }
.entry-content .case-row:hover .case-main strong { color: var(--red); }
.more-link { margin-top: 18px; font-size: 14px; }
.more-link a, .text-link { color: var(--red); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

.douyin-simple {
	display: flex;
	align-items: flex-start;
	gap: 30px;
	flex-wrap: wrap;
	margin-top: 26px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
}
.douyin-simple h3 { margin: 0 0 6px; font-size: 17px; }
.douyin-simple > div:first-child { flex: 1; min-width: 260px; }
.douyin-simple > div:first-child p { max-width: 30em; font-size: 14px; color: var(--muted); }
.douyin-simple .douyin-card { width: 230px; padding: 15px; border: 1px solid var(--line); box-shadow: none; }
.douyin-simple .douyin-qr { width: 180px; height: 180px; }
.douyin-simple .douyin-info strong { font-size: 15px; }

.contact-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 34px;
	margin-top: 36px;
	padding-top: 18px;
	border-top: 1px solid var(--line);
	font-size: 14px;
}
.contact-strip span { margin-right: 6px; font-size: 12.5px; color: var(--muted); }
.contact-strip a { color: var(--red); font-weight: 600; }
.footer-links { font-size: 13px; }
.footer-links a { color: rgba(255,255,255,0.6); }
.footer-links a:hover { color: #fff; }

.page-body { padding-top: 34px; padding-bottom: 64px; }
.page-head { padding: 32px 0 30px; }
.page-head h1 { font-size: clamp(26px, 3.4vw, 38px); }
.post-disclaimer { margin-top: 24px; font-size: 13.5px; color: var(--muted); }

.faq-item { padding: 18px 0; border-bottom: 1px solid var(--line); }
.faq-item h3 { margin: 0 0 6px; font-size: 17px; }
.faq-item p { margin: 0; font-size: 15px; line-height: 1.85; color: var(--muted); }

.footer-simple { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding-top: 48px; padding-bottom: 34px; }
.footer-simple .footer-brand p { margin-top: 14px; }
.footer-simple .footer-phone { margin-top: 14px; font-size: 24px; }

@media (max-width: 720px) {
	.hero-simple { padding: 40px 0 36px; }
	.hero-call a { font-size: 26px; }
	.svc-grid.simple { grid-template-columns: 1fr; }
	.case-row { grid-template-columns: 66px minmax(0, 1fr); gap: 12px; }
	.douyin-simple { display: block; }
	.douyin-simple .douyin-card { width: 100%; max-width: 320px; margin-top: 16px; }
	.footer-simple { grid-template-columns: 1fr 1fr; gap: 28px; }
	.footer-simple .footer-brand { grid-column: 1 / -1; }
	.contact-strip { display: block; line-height: 2; }
	.contact-strip > div { margin-bottom: 2px; }
}
