/* =========================================================
   衡正律师 · 主题样式
   深蓝 / 暗金 / 白 三色体系 · 简洁大气 · 充足留白
   ========================================================= */

:root {
	--navy: #0e2138;
	--navy-deep: #0a1929;
	--navy-soft: #17314f;
	--gold: #be9c5e;
	--gold-deep: #8e6f38;
	--gold-soft: #f5efe2;
	--paper: #ffffff;
	--cream: #f8f5ed;
	--line: #e6e1d3;
	--line-soft: #efece2;
	--text: #16273a;
	--muted: #5f6e7d;
	--muted-2: #8b97a4;
	--sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", sans-serif;
	--radius: 2px;
	--container: 1240px;
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

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

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

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; line-height: 1.25; letter-spacing: 0.01em; }

p { margin: 0; }

ul, ol { margin: 0; padding: 0; }

button { font-family: inherit; }

::selection { background: var(--gold); color: #fff; }

/* 无障碍辅助类 */
.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 1001;
	padding: 10px 18px;
	background: var(--gold);
	color: #1b1204;
	font-size: 14px;
}

.skip-link:focus { left: 12px; top: 12px; }

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

/* ---------- 通用容器 / 版式 ---------- */

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

.container--narrow { max-width: 880px; }

.section { padding: 104px 0; }
.section--tight { padding: 72px 0; }
.section--cream { background: var(--cream); }
.section--line { border-top: 1px solid var(--line-soft); }

.eyebrow {
	display: block;
	font-size: 14px;
	letter-spacing: 0.14em;
	color: var(--gold-deep);
	margin-bottom: 18px;
	font-weight: 500;
}

.eyebrow--light { color: var(--gold); }

.section-head {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: end;
	gap: 32px;
	padding-bottom: 34px;
	border-bottom: 1px solid var(--line);
	margin-bottom: 56px;
}

.section-head__title { font-size: clamp(34px, 4vw, 52px); color: var(--navy); }

.section-head__desc {
	margin-top: 16px;
	max-width: 720px;
	font-size: 16px;
	color: var(--muted);
	line-height: 1.9;
}

.section-head__link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding-bottom: 4px;
	border-bottom: 1px solid var(--gold);
	color: var(--gold-deep);
	font-size: 15px;
	white-space: nowrap;
	transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.section-head__link:hover { color: var(--navy); border-color: var(--navy); }

.section-head__link span { transition: transform 0.25s var(--ease); }
.section-head__link:hover span { transform: translateX(4px); }

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

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 15px 34px;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 0.04em;
	border: 1px solid transparent;
	border-radius: var(--radius);
	cursor: pointer;
	transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
	white-space: nowrap;
}

.btn--gold { background: var(--gold); color: #1b1204; }
.btn--gold:hover { background: #cbaa68; }

.btn--ghost { border-color: #4a5b70; color: #fff; background: transparent; }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-soft); }

.btn--line { border-color: var(--line); color: var(--navy); background: #fff; }
.btn--line:hover { border-color: var(--gold); color: var(--gold-deep); }

.btn--sm { padding: 11px 24px; font-size: 15px; }
.btn--block { width: 100%; }

.btn[disabled], .btn.is-disabled {
	cursor: not-allowed;
	opacity: 0.55;
	pointer-events: none;
}

/* ---------- 状态标签 ---------- */

.status {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 3px 11px;
	font-size: 12px;
	letter-spacing: 0.06em;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--muted);
	background: #fff;
	line-height: 1.9;
	vertical-align: middle;
}

.status i {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--muted-2);
	display: inline-block;
}

.status--on { color: #2f7a58; border-color: #cfe3d8; background: #f4faf6; }
.status--on i { background: #3d9b70; }

.status--pending { color: var(--gold-deep); border-color: #e3d5b6; background: #fbf6ea; }
.status--pending i { background: var(--gold); }

/* ---------- 页头 ---------- */

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: var(--navy);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), padding 0.3s var(--ease);
}

.site-header.is-scrolled {
	background: rgba(10, 25, 41, 0.96);
	backdrop-filter: saturate(140%) blur(8px);
	box-shadow: 0 10px 30px rgba(6, 16, 28, 0.24);
}

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

.brand { display: flex; flex-direction: column; gap: 2px; }
.brand__name { font-size: 26px; font-weight: 700; color: #fff; letter-spacing: 0.02em; line-height: 1.2; }
.brand__sub { font-size: 13px; color: #9aa9ba; letter-spacing: 0.04em; }

.nav-wrap { display: flex; align-items: center; gap: 40px; }

.nav__list {
	display: flex;
	align-items: center;
	gap: 34px;
	list-style: none;
}

.nav__list a {
	position: relative;
	display: inline-block;
	padding: 6px 0;
	font-size: 16px;
	color: #dfe6ee;
	transition: color 0.25s var(--ease);
}

.nav__list a:hover { color: #fff; }

.nav__list li.current-menu-item > a,
.nav__list li.current_page_item > a,
.nav__list a.is-current { color: #fff; }

.nav__list li.current-menu-item > a::after,
.nav__list li.current_page_item > a::after,
.nav__list a.is-current::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -6px;
	height: 2px;
	background: var(--gold);
}

.header-cta { flex-shrink: 0; }

.nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: transparent;
	color: #fff;
	cursor: pointer;
	padding: 0;
	align-items: center;
	justify-content: center;
}

.nav-toggle span {
	display: block;
	width: 18px;
	height: 1.5px;
	background: #fff;
	position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
	content: "";
	position: absolute;
	left: 0;
	width: 18px;
	height: 1.5px;
	background: #fff;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* 移动端抽屉 */
.mobile-nav {
	display: none;
	position: fixed;
	inset: 88px 0 0 0;
	background: var(--navy-deep);
	z-index: 999;
	padding: 32px 40px 48px;
	overflow-y: auto;
}

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

.mobile-nav ul { list-style: none; }

.mobile-nav li { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }

.mobile-nav a {
	display: block;
	padding: 18px 0;
	color: #e6ecf3;
	font-size: 18px;
}

.mobile-nav .mobile-nav__cta { margin-top: 32px; }
.mobile-nav .mobile-nav__cta .btn { width: 100%; }

/* ---------- 首屏 ---------- */

.hero {
	position: relative;
	background: var(--navy);
	color: #fff;
	padding-top: 88px;
	overflow: hidden;
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(1200px 600px at 78% 18%, rgba(190, 156, 94, 0.13), transparent 62%),
		linear-gradient(180deg, rgba(23, 49, 79, 0.55) 0%, rgba(10, 25, 41, 0.2) 100%);
	pointer-events: none;
}

.hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: 72px;
	align-items: center;
	padding: 96px 0 84px;
}

.hero__eyebrow {
	font-size: 15px;
	letter-spacing: 0.18em;
	color: var(--gold);
	margin-bottom: 26px;
}

.hero__title {
	font-size: clamp(46px, 6.2vw, 76px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0.02em;
	color: #fff;
}

.hero__firm {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-top: 26px;
}

.hero__rule {
	width: 48px;
	height: 2px;
	background: var(--gold);
	flex-shrink: 0;
}

.hero__firm span { font-size: 17px; color: #e8dcc4; letter-spacing: 0.04em; }

.hero__desc {
	margin-top: 34px;
	max-width: 640px;
	font-size: 17px;
	line-height: 1.95;
	color: #c2cedb;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 44px; }

.hero__media { position: relative; }

.portrait-frame {
	position: relative;
	aspect-ratio: 3 / 4;
	max-width: 400px;
	margin-left: auto;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid #3a4c61;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	overflow: hidden;
}

.portrait-frame__inner {
	position: absolute;
	inset: 22px;
	border: 1px solid rgba(190, 156, 94, 0.55);
	pointer-events: none;
}

.portrait-frame__text { position: relative; padding: 24px; }
.portrait-frame__text strong { display: block; font-size: 18px; font-weight: 500; color: #f0ece2; }
.portrait-frame__text small { display: block; margin-top: 10px; font-size: 13px; color: #9aa9ba; }

.portrait-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.portrait-caption {
	margin-top: 14px;
	font-size: 12.5px;
	color: #8fa0b2;
	text-align: right;
	max-width: 400px;
	margin-left: auto;
}

.hero__strip {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 40px;
	padding: 34px 0 40px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	max-width: 720px;
}

.hero__strip-item span {
	display: block;
	font-size: 13.5px;
	color: #93a3b5;
	letter-spacing: 0.06em;
	margin-bottom: 8px;
}

.hero__strip-item strong { font-size: 16px; font-weight: 500; color: #e7ecf2; }

/* ---------- 业务领域卡片 ---------- */

.practice-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0;
	border-top: 1px solid var(--line);
}

.practice-card {
	position: relative;
	padding: 44px 48px 44px 0;
	border-bottom: 1px solid var(--line);
	transition: background 0.3s var(--ease);
}

.practice-card:nth-child(odd) { padding-right: 56px; border-right: 1px solid var(--line); }
.practice-card:nth-child(even) { padding-left: 56px; }

.practice-card__num {
	font-size: 14px;
	letter-spacing: 0.16em;
	color: var(--gold);
	margin-bottom: 20px;
}

.practice-card__title { font-size: 26px; color: var(--navy); margin-bottom: 16px; }

.practice-card__desc { font-size: 15.5px; line-height: 1.95; color: var(--muted); }

.practice-card__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 24px;
	margin-top: 24px;
	list-style: none;
}

.practice-card__list li {
	position: relative;
	padding-left: 16px;
	font-size: 14.5px;
	color: #43526a;
}

.practice-card__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.85em;
	width: 8px;
	height: 1px;
	background: var(--gold);
}

.practice-card__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 26px;
	font-size: 14.5px;
	color: var(--gold-deep);
	border-bottom: 1px solid transparent;
	transition: border-color 0.25s var(--ease);
}

.practice-card__link:hover { border-color: var(--gold); }
.practice-card__link span { transition: transform 0.25s var(--ease); }
.practice-card__link:hover span { transform: translateX(4px); }

/* ---------- 资历亮点 ---------- */

.stats-band { background: var(--cream); padding: 88px 0; }

.stats-inner {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
	gap: 64px;
	align-items: center;
}

.stats-intro h2 { font-size: clamp(28px, 3vw, 40px); color: var(--navy); }
.stats-intro p { margin-top: 20px; font-size: 15.5px; line-height: 1.95; color: var(--muted); }

.stats-list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
}

.stat { padding: 8px 24px; border-left: 1px solid #ddd6c4; }
.stat:first-child { border-left: 0; padding-left: 0; }

.stat__num {
	display: block;
	font-size: clamp(34px, 4vw, 48px);
	font-weight: 700;
	color: var(--navy);
	line-height: 1.1;
	letter-spacing: 0.01em;
}

.stat__num em { font-style: normal; font-size: 0.5em; color: var(--gold); margin-left: 2px; }

.stat__label {
	display: block;
	margin-top: 12px;
	font-size: 14px;
	color: var(--muted);
	line-height: 1.6;
}

/* ---------- 文章卡片 ---------- */

.post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 46px;
}

.post-card {
	display: flex;
	flex-direction: column;
	border-top: 1px solid var(--line);
	padding-top: 26px;
	transition: transform 0.3s var(--ease);
}

.post-card:hover { transform: translateY(-3px); }

.post-card__top { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }

.tag {
	display: inline-block;
	padding: 2px 10px;
	font-size: 12.5px;
	letter-spacing: 0.04em;
	color: var(--gold-deep);
	background: var(--gold-soft);
	border-radius: var(--radius);
	line-height: 1.9;
}

.tag--muted { background: transparent; color: var(--muted-2); padding-left: 0; }

.post-card__title {
	font-size: 24px;
	line-height: 1.5;
	color: var(--navy);
	margin-bottom: 16px;
	transition: color 0.25s var(--ease);
}

.post-card:hover .post-card__title { color: var(--gold-deep); }

.post-card__excerpt {
	font-size: 15px;
	line-height: 1.9;
	color: var(--muted);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.post-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 26px;
	font-size: 14px;
	color: var(--muted-2);
}

.post-card__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--gold-deep);
	border-bottom: 1px solid transparent;
	transition: border-color 0.25s var(--ease);
}

.post-card__link:hover { border-color: var(--gold); }

/* 预留卡片（占位） */
.post-card--placeholder {
	border-top: 1px dashed var(--line);
	justify-content: center;
	text-align: left;
	min-height: 260px;
}

.post-card--placeholder .post-card__title { color: var(--muted-2); }
.post-card--placeholder .post-card__excerpt { color: var(--muted-2); font-size: 14px; }

/* ---------- AI 入口卡 ---------- */

.ai-teaser {
	border: 1px solid var(--gold);
	background: #fff;
	padding: 52px 56px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 40px;
	align-items: center;
}

.ai-teaser__title-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.ai-teaser__title { font-size: clamp(28px, 3.4vw, 40px); color: var(--navy); }

.ai-teaser__desc {
	margin-top: 18px;
	font-size: 15.5px;
	line-height: 1.9;
	color: var(--muted);
	max-width: 760px;
}

.ai-teaser__link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding-bottom: 4px;
	border-bottom: 1px solid var(--gold);
	color: var(--gold-deep);
	font-size: 15px;
	white-space: nowrap;
	transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.ai-teaser__link:hover { color: var(--navy); border-color: var(--navy); }

/* ---------- 底部咨询条 ---------- */

.consult-band {
	background: var(--navy);
	color: #fff;
	padding: 72px 0;
}

.consult-band__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 48px;
	align-items: center;
}

.consult-band__title { font-size: clamp(26px, 3vw, 34px); color: #fff; line-height: 1.5; }

.consult-band__desc { margin-top: 14px; font-size: 15px; color: #a8b6c6; }

.consult-band__actions { display: flex; gap: 16px; flex-wrap: wrap; }

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

.site-footer { background: var(--navy-deep); color: #c5d1de; }

.footer-main { padding: 76px 0 56px; }

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1.2fr 0.9fr;
	gap: 56px;
}

.footer__brand .brand__name { font-size: 24px; }
.footer__brand .brand__sub { margin-top: 6px; }

.footer__note {
	margin-top: 22px;
	font-size: 13.5px;
	line-height: 1.9;
	color: #8fa0b2;
	max-width: 320px;
}

.footer__title {
	font-size: 14px;
	letter-spacing: 0.1em;
	color: #e6d5b6;
	margin-bottom: 22px;
}

.footer__links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer__links a { font-size: 14.5px; color: #c5d1de; transition: color 0.25s var(--ease); }
.footer__links a:hover { color: var(--gold); }

.footer__contact { font-size: 14.5px; line-height: 2; color: #c5d1de; }
.footer__contact span { display: block; }
.footer__contact a { color: #e7ecf2; }

.footer__qr {
	width: 132px;
	height: 132px;
	border: 1px solid #2c4258;
	background: rgba(255, 255, 255, 0.04);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: 12px;
	color: #8fa0b2;
	padding: 10px;
	line-height: 1.6;
}

.footer__qr img { width: 100%; height: 100%; object-fit: contain; }

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

.footer-bottom__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
	font-size: 13px;
	color: #7f90a3;
}

/* ---------- 内页头部 ---------- */

.page-head { padding: 148px 0 0; }

.page-head__eyebrow { font-size: 14px; letter-spacing: 0.14em; color: var(--gold-deep); margin-bottom: 24px; }

.page-head__title { font-size: clamp(36px, 4.6vw, 58px); color: var(--navy); }

.page-head__desc {
	margin-top: 22px;
	max-width: 760px;
	font-size: 16px;
	line-height: 1.9;
	color: var(--muted);
}

.breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 34px;
	padding: 16px 0;
	border-top: 1px solid var(--line);
	font-size: 13.5px;
	color: var(--muted-2);
}

.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--gold-deep); }
.breadcrumbs .sep { color: var(--line); }
.breadcrumbs .current { color: var(--navy); }

/* ---------- 业务领域页 ---------- */

.business-list { border-top: 1px solid var(--line); }

.business-block {
	display: grid;
	grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
	gap: 64px;
	padding: 56px 0;
	border-bottom: 1px solid var(--line);
}

.business-block__no { font-size: 13px; letter-spacing: 0.16em; color: var(--gold); margin-bottom: 16px; }

.business-block__title { font-size: clamp(26px, 2.6vw, 34px); color: var(--navy); }

.business-block__summary {
	margin-top: 18px;
	font-size: 15.5px;
	line-height: 1.95;
	color: var(--muted);
}

.business-block__items {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 32px;
	list-style: none;
	align-content: start;
	padding-top: 8px;
}

.business-block__items li {
	position: relative;
	padding-left: 18px;
	font-size: 15px;
	color: #33455c;
	line-height: 1.8;
}

.business-block__items li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.8em;
	width: 9px;
	height: 1px;
	background: var(--gold);
}

.business-block__cta { margin-top: 30px; }

/* ---------- 筛选标签 ---------- */

.filters {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 48px;
}

.filter-chip {
	display: inline-block;
	padding: 8px 18px;
	border: 1px solid var(--line);
	font-size: 14px;
	color: var(--muted);
	background: #fff;
	border-radius: var(--radius);
	transition: all 0.25s var(--ease);
}

.filter-chip:hover { border-color: var(--gold); color: var(--gold-deep); }

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

/* ---------- 案例 ---------- */

.case-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 40px;
}

.case-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--line);
	padding: 38px 40px;
	transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.case-card:hover {
	border-color: #d8c9a8;
	transform: translateY(-3px);
	box-shadow: 0 20px 40px rgba(14, 33, 56, 0.06);
}

.case-card__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }

.case-card__type { font-size: 12.5px; letter-spacing: 0.08em; color: var(--gold-deep); }

.case-card__anonym { font-size: 12px; color: var(--muted-2); }

.case-card__title { font-size: 24px; line-height: 1.5; color: var(--navy); }

.case-card__excerpt {
	margin-top: 16px;
	font-size: 15px;
	line-height: 1.9;
	color: var(--muted);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.case-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px solid var(--line-soft);
	font-size: 14px;
	color: var(--muted-2);
}

.case-card__link { color: var(--gold-deep); display: inline-flex; align-items: center; gap: 8px; }

.case-notice {
	margin-top: 48px;
	padding: 22px 26px;
	border-left: 2px solid var(--gold);
	background: var(--cream);
	font-size: 13.5px;
	line-height: 1.9;
	color: var(--muted);
}

/* ---------- 联系页 ---------- */

.contact-layout {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	gap: 72px;
	align-items: start;
}

.info-list { display: flex; flex-direction: column; }

.info-item {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 24px;
	padding: 26px 0;
	border-bottom: 1px solid var(--line);
	align-items: baseline;
}

.info-item span { font-size: 13.5px; color: var(--muted-2); letter-spacing: 0.06em; }
.info-item strong { font-size: 16px; font-weight: 500; color: var(--navy); line-height: 1.9; word-break: break-word; }
.info-item a { color: var(--navy); border-bottom: 1px solid transparent; }
.info-item a:hover { border-color: var(--gold); }

.qr-block {
	display: flex;
	gap: 24px;
	align-items: center;
	margin-top: 36px;
	padding: 28px;
	border: 1px solid var(--line);
	background: var(--cream);
}

.qr-block__img {
	width: 120px;
	height: 120px;
	flex-shrink: 0;
	border: 1px solid #ded4bd;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: 12px;
	color: var(--muted-2);
	line-height: 1.6;
}

.qr-block img { width: 100%; height: 100%; object-fit: contain; }

.qr-block__text strong { display: block; font-size: 16px; color: var(--navy); margin-bottom: 8px; }
.qr-block__text p { font-size: 13.5px; color: var(--muted); line-height: 1.8; }

.map-placeholder {
	margin-top: 28px;
	height: 180px;
	border: 1px dashed #d9d0bb;
	background:
		linear-gradient(0deg, transparent 49.5%, #efe9db 49.5%, #efe9db 50.5%, transparent 50.5%),
		linear-gradient(90deg, transparent 49.5%, #efe9db 49.5%, #efe9db 50.5%, transparent 50.5%),
		var(--cream);
	background-size: 100% 100%, 100% 100%, 100% 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	color: var(--muted-2);
	letter-spacing: 0.06em;
}

/* ---------- 表单 ---------- */

.form-card {
	background: #fff;
	border: 1px solid var(--line);
	padding: 44px 44px 40px;
}

.form-card__head { margin-bottom: 30px; }

.form-card__title { font-size: 24px; color: var(--navy); }

.form-card__desc { margin-top: 12px; font-size: 14px; color: var(--muted); line-height: 1.9; }

.field { margin-bottom: 22px; }

.field label {
	display: block;
	margin-bottom: 10px;
	font-size: 14px;
	color: #42536a;
	letter-spacing: 0.04em;
}

.field label .req { color: #b34a3f; margin-left: 4px; }

.field input,
.field textarea,
.field select {
	width: 100%;
	padding: 13px 16px;
	font-family: inherit;
	font-size: 15px;
	color: var(--text);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.field input::placeholder,
.field textarea::placeholder { color: #a7b1bc; }

.field input:focus,
.field textarea:focus,
.field select:focus {
	outline: none;
	border-color: var(--gold);
	box-shadow: 0 0 0 3px rgba(190, 156, 94, 0.12);
}

.field textarea { min-height: 150px; resize: vertical; line-height: 1.85; }

.field--half { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.field__hint { margin-top: 8px; font-size: 12.5px; color: var(--muted-2); }

.form-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	margin-top: 8px;
}

.form-foot__note { font-size: 12.5px; color: var(--muted-2); line-height: 1.8; max-width: 320px; }

.form-status {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
	align-items: center;
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid var(--line-soft);
	font-size: 12.5px;
	color: var(--muted-2);
}

.notice { padding: 16px 20px; font-size: 14px; line-height: 1.8; border-radius: var(--radius); margin-bottom: 26px; }
.notice--success { background: #f2f8f4; border: 1px solid #cfe3d8; color: #2f7a58; }
.notice--error { background: #fbf3f2; border: 1px solid #ecd8d5; color: #a8402f; }

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

/* ---------- AI 诉状助手页 ---------- */

.ai-intro {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: 64px;
	align-items: start;
}

.ai-intro__text p { font-size: 16px; line-height: 2; color: var(--muted); margin-bottom: 18px; }

.ai-intro__text p strong { color: var(--navy); font-weight: 600; }

.ai-steps {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
}

.ai-step { background: #fff; padding: 28px 26px; }
.ai-step__no { font-size: 12.5px; letter-spacing: 0.14em; color: var(--gold); margin-bottom: 14px; }
.ai-step__title { font-size: 17px; color: var(--navy); margin-bottom: 10px; }
.ai-step__desc { font-size: 13.5px; line-height: 1.85; color: var(--muted); }

.ai-form { margin-top: 64px; }

.ai-fieldset { border: 1px solid var(--line); padding: 40px 44px; background: #fff; position: relative; }

.ai-fieldset legend {
	padding: 0 14px;
	margin-left: -4px;
	font-size: 14px;
	letter-spacing: 0.1em;
	color: var(--gold-deep);
}

.ai-fieldset .field label { color: #42536a; }

.ai-disabled-note {
	margin-top: 22px;
	padding: 18px 20px;
	background: var(--cream);
	border-left: 2px solid var(--gold);
	font-size: 13.5px;
	line-height: 1.9;
	color: var(--muted);
}

.ai-form__actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 30px; }

.config-panel { margin-top: 40px; border: 1px solid var(--line); background: #fff; }

.config-panel__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 22px 28px;
	border-bottom: 1px solid var(--line-soft);
	flex-wrap: wrap;
}

.config-panel__head strong { font-size: 15px; color: var(--navy); }

.config-row {
	display: grid;
	grid-template-columns: 160px minmax(0, 1fr) auto;
	gap: 20px;
	padding: 16px 28px;
	border-bottom: 1px solid var(--line-soft);
	font-size: 14px;
	align-items: center;
}

.config-row:last-child { border-bottom: 0; }
.config-row span:first-child { color: var(--muted-2); }
.config-row strong { color: #33455c; font-weight: 500; }

/* ---------- 关于我 ---------- */

.about-layout {
	display: grid;
	grid-template-columns: 340px minmax(0, 1fr);
	gap: 72px;
	align-items: start;
}

.about-portrait {
	aspect-ratio: 3 / 4;
	border: 1px solid var(--line);
	background: var(--cream);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: var(--muted-2);
	font-size: 13px;
	line-height: 1.7;
	overflow: hidden;
}

.about-portrait img { width: 100%; height: 100%; object-fit: cover; }

.about-meta { margin-top: 26px; border-top: 1px solid var(--line); }

.about-meta div {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 13px 0;
	border-bottom: 1px solid var(--line-soft);
	font-size: 14px;
}

.about-meta dt, .about-meta span { color: var(--muted-2); }
.about-meta dd, .about-meta strong { margin: 0; color: var(--navy); font-weight: 500; }

.about-body h2 { font-size: 22px; color: var(--navy); margin: 0 0 18px; }
.about-body p { font-size: 16px; line-height: 2; color: var(--muted); margin-bottom: 20px; }

.quote-block {
	margin: 40px 0;
	padding: 30px 34px;
	border-left: 2px solid var(--gold);
	background: var(--cream);
	font-size: 17px;
	line-height: 1.95;
	color: var(--navy);
}

.quote-block cite { display: block; margin-top: 14px; font-size: 13.5px; font-style: normal; color: var(--muted-2); }

/* ---------- 文章正文 ---------- */

.article-hero { padding: 148px 0 0; }

.article-hero__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	font-size: 13.5px;
	color: var(--muted-2);
	margin-bottom: 22px;
}

.article-hero__title { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.4; color: var(--navy); max-width: 900px; }

.article-body { padding: 48px 0 80px; }

.entry-content { max-width: 820px; font-size: 16.5px; line-height: 2.05; color: #2a3a4d; }

.entry-content p { margin-bottom: 26px; }

.entry-content h2 { font-size: 24px; color: var(--navy); margin: 44px 0 20px; }

.entry-content h3 { font-size: 20px; color: var(--navy); margin: 34px 0 16px; }

.entry-content ul, .entry-content ol { margin: 0 0 26px 1.4em; }
.entry-content li { margin-bottom: 10px; }

.entry-content blockquote {
	margin: 32px 0;
	padding: 22px 28px;
	border-left: 2px solid var(--gold);
	background: var(--cream);
	font-size: 16px;
	color: var(--navy);
}

.entry-content a { color: var(--gold-deep); border-bottom: 1px solid var(--gold); }

.article-foot {
	max-width: 820px;
	margin-top: 48px;
	padding-top: 28px;
	border-top: 1px solid var(--line);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
	font-size: 14px;
	color: var(--muted);
}

.article-disclaimer {
	max-width: 820px;
	margin-top: 32px;
	padding: 20px 24px;
	background: var(--cream);
	font-size: 13px;
	line-height: 1.9;
	color: var(--muted);
}

.related-posts { margin-top: 80px; padding-top: 56px; border-top: 1px solid var(--line); }

/* 案例详情 */
.case-facts { max-width: 820px; }

.case-facts__row {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr);
	gap: 28px;
	padding: 24px 0;
	border-bottom: 1px solid var(--line-soft);
}

.case-facts__row dt, .case-facts__row span {
	font-size: 13.5px;
	color: var(--gold-deep);
	letter-spacing: 0.06em;
}

.case-facts__row dd, .case-facts__row p {
	margin: 0;
	font-size: 16px;
	line-height: 1.95;
	color: #2a3a4d;
}

/* ---------- 分页 ---------- */

.pagination { margin-top: 64px; display: flex; justify-content: center; }

.pagination a, .pagination span.current {
	display: inline-block;
	min-width: 40px;
	padding: 9px 14px;
	margin: 0 4px;
	border: 1px solid var(--line);
	font-size: 14px;
	color: var(--muted);
	text-align: center;
	background: #fff;
}

.pagination span.current { background: var(--navy); border-color: var(--navy); color: #fff; }
.pagination a:hover { border-color: var(--gold); color: var(--gold-deep); }

/* ---------- 搜索 / 404 ---------- */

.search-form { display: flex; gap: 12px; max-width: 480px; }

.search-form input[type="search"] {
	flex: 1;
	padding: 12px 16px;
	border: 1px solid var(--line);
	font-size: 15px;
	font-family: inherit;
}

.search-form button { border: 0; background: var(--navy); color: #fff; padding: 0 24px; cursor: pointer; }

.not-found { text-align: center; padding: 40px 0 20px; }
.not-found h1 { font-size: clamp(48px, 8vw, 96px); color: var(--navy); letter-spacing: 0.04em; }
.not-found p { margin-top: 18px; color: var(--muted); }
.not-found .btn { margin-top: 32px; }

/* ---------- 动效 ---------- */

.reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; transition: none; }
	html { scroll-behavior: auto; }
}

/* =========================================================
   响应式
   ========================================================= */

@media (max-width: 1180px) {
	.container { padding: 0 32px; }
	.nav__list { gap: 24px; }
	.nav__list a { font-size: 15px; }
	.hero__inner { gap: 48px; }
	.footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
	.footer__qr-col { grid-column: span 3; }
}

@media (max-width: 1024px) {
	.nav-wrap .nav__list { display: none; }
	.nav-toggle { display: inline-flex; }
	.header-cta { display: none; }
	.section { padding: 72px 0; }
	.hero__inner {
		grid-template-columns: 1fr;
		padding: 64px 0 56px;
		gap: 56px;
	}
	.hero__media { order: 2; }
	.portrait-frame { max-width: 100%; margin: 0; aspect-ratio: 4 / 3.4; }
	.portrait-caption { text-align: left; margin-left: 0; }
	.hero__strip { max-width: 100%; }
	.practice-grid { grid-template-columns: 1fr; }
	.practice-card:nth-child(odd) { padding-right: 0; border-right: 0; }
	.practice-card:nth-child(even) { padding-left: 0; }
	.practice-card { padding: 36px 0; }
	.stats-inner { grid-template-columns: 1fr; gap: 40px; }
	.stats-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 0; }
	.stat { padding: 0 20px; }
	.stat:nth-child(3) { border-left: 0; padding-left: 0; }
	.post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
	.case-grid { grid-template-columns: 1fr; }
	.contact-layout { grid-template-columns: 1fr; gap: 48px; }
	.ai-intro { grid-template-columns: 1fr; gap: 40px; }
	.ai-teaser { grid-template-columns: 1fr; padding: 40px; }
	.consult-band__inner { grid-template-columns: 1fr; gap: 32px; }
	.business-block { grid-template-columns: 1fr; gap: 28px; padding: 44px 0; }
	.about-layout { grid-template-columns: 1fr; gap: 44px; }
	.about-portrait { max-width: 320px; }
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
	.footer__qr-col { grid-column: auto; }
	.section-head { grid-template-columns: 1fr; align-items: start; gap: 22px; }
	.ai-teaser__link { justify-self: start; }
	.config-row { grid-template-columns: 1fr; gap: 6px; padding: 14px 22px; }
	.ai-fieldset { padding: 30px 24px; }
	.form-card { padding: 32px 24px; }
	.page-head { padding-top: 132px; }
	.article-hero { padding-top: 132px; }
	.entry-content { font-size: 16px; }
}

@media (max-width: 640px) {
	.container { padding: 0 20px; }
	.header-inner { min-height: 72px; }
	.brand__name { font-size: 22px; }
	.brand__sub { font-size: 12px; }
	.mobile-nav { inset: 72px 0 0 0; padding: 24px 20px 40px; }
	.hero { padding-top: 72px; }
	.hero__eyebrow { font-size: 13px; margin-bottom: 18px; }
	.hero__title { font-size: 40px; }
	.hero__desc { font-size: 15.5px; margin-top: 26px; }
	.hero__actions { margin-top: 34px; }
	.hero__actions .btn { flex: 1 1 100%; }
	.hero__strip { grid-template-columns: 1fr; gap: 20px; padding: 26px 0 32px; }
	.section { padding: 56px 0; }
	.section--tight { padding: 44px 0; }
	.section-head { margin-bottom: 36px; }
	.practice-card__list { grid-template-columns: 1fr; }
	.post-grid { grid-template-columns: 1fr; gap: 32px; }
	.post-card__title { font-size: 21px; }
	.stats-list { grid-template-columns: 1fr 1fr; }
	.stat { padding-left: 16px; }
	.stat__label { font-size: 13px; }
	.ai-teaser { padding: 28px 24px; }
	.ai-teaser__desc { font-size: 14.5px; }
	.consult-band { padding: 52px 0; }
	.consult-band__actions .btn { flex: 1 1 100%; }
	.footer-main { padding: 52px 0 40px; }
	.footer-grid { grid-template-columns: 1fr; gap: 36px; }
	.business-block__items { grid-template-columns: 1fr; }
	.case-card { padding: 28px 24px; }
	.case-card__title { font-size: 21px; }
	.info-item { grid-template-columns: 1fr; gap: 6px; }
	.qr-block { flex-direction: column; align-items: flex-start; }
	.field--half { grid-template-columns: 1fr; }
	.form-foot { flex-direction: column; align-items: flex-start; }
	.form-foot .btn { width: 100%; }
	.ai-steps { grid-template-columns: 1fr; }
	.ai-form__actions .btn { flex: 1 1 100%; }
	.page-head { padding-top: 116px; }
	.page-head__title { font-size: 32px; }
	.article-hero { padding-top: 116px; }
	.article-hero__title { font-size: 26px; }
	.case-facts__row { grid-template-columns: 1fr; gap: 8px; }
	.filters { gap: 8px; }
	.filter-chip { padding: 6px 14px; font-size: 13px; }
	.entry-content { font-size: 15.5px; }
}

/* ---------- 登录状态下适配 WordPress 管理工具栏 ---------- */

body.admin-bar .site-header { top: 32px; }
body.admin-bar .hero { padding-top: 120px; }
body.admin-bar .page-head { padding-top: 180px; }
body.admin-bar .article-hero { padding-top: 180px; }
body.admin-bar .mobile-nav { inset: 120px 0 0 0; }

@media (max-width: 1024px) {
	body.admin-bar .page-head { padding-top: 164px; }
	body.admin-bar .article-hero { padding-top: 164px; }
}

@media (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
}

@media (max-width: 640px) {
	body.admin-bar .mobile-nav { inset: 118px 0 0 0; }
	body.admin-bar .hero { padding-top: 118px; }
	body.admin-bar .page-head { padding-top: 162px; }
	body.admin-bar .article-hero { padding-top: 162px; }
}

/* ---------- 管理员专用操作条（仅登录可见） ---------- */

.admin-publish-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-top: 48px;
	padding: 18px 22px;
	border: 1px solid var(--line);
	border-left: 3px solid var(--gold);
	background: var(--cream);
	font-size: 14px;
	color: var(--muted);
}

.admin-publish-bar span { color: var(--muted); }

/* ---------- 关于我：区块引用样式 ---------- */

.about-body blockquote {
	margin: 40px 0;
	padding: 30px 34px;
	border-left: 3px solid var(--gold);
	background: var(--cream);
	font-family: var(--font-serif, "Songti SC", serif);
	font-size: 19px;
	line-height: 1.8;
	color: var(--navy);
}

.about-body blockquote cite {
	display: block;
	margin-top: 14px;
	font-size: 13.5px;
	font-style: normal;
	color: var(--muted-2);
}

.about-body h2 { margin-top: 34px; }


/* 镜像站点补充样式 */
body.hz-mirror .nav__list { display: flex; flex-wrap: wrap; gap: 22px; list-style: none; margin: 0; padding: 0; }
body.hz-mirror .nav__list li a { color: var(--cream); font-size: 14.5px; letter-spacing: .04em; }
body.hz-mirror .nav__list li a:hover { color: var(--gold); }
body.hz-mirror .hero__media img { width: 100%; height: auto; display: block; }
body.hz-mirror .site-header .header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
@media (max-width: 900px) {
  body.hz-mirror .nav-wrap { display: none; }
}
