/* =====================================================================
   机构官网 · 基础样式表
   三套模板共用一套「结构 + 组件」，配色/字体/圆角由 body.tplN 覆盖令牌控制
   命名前缀 s- 避免和平台样式冲突
   ===================================================================== */

*, *::before, *::after { box-sizing: border-box; }

:root {
	--s-brand: #2563eb;
	--s-brand-2: #1d4ed8;
	--s-brand-soft: #eef4ff;
	--s-accent: #f59e0b;
	--s-ink: #0f172a;
	--s-ink-2: #334155;
	--s-muted: #6b7a90;
	--s-line: #e6ebf2;
	--s-bg: #ffffff;
	--s-surface: #f6f8fb;
	--s-dark: #0b1220;
	--s-radius: 16px;
	--s-radius-sm: 10px;
	--s-radius-lg: 24px;
	--s-shadow: 0 18px 40px -24px rgba(15, 23, 42, .35);
	--s-shadow-sm: 0 8px 20px -14px rgba(15, 23, 42, .3);
	--s-wrap: 1180px;
	--s-head-h: 74px;
	--s-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
		"Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
	--s-font-title: var(--s-font);
	--s-cta-bg: var(--s-brand);
	--s-cta-ink: #fff;
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--s-font);
	font-size: 15px;
	line-height: 1.75;
	color: var(--s-ink-2);
	background: var(--s-bg);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover { color: var(--s-brand); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; color: var(--s-ink); font-family: var(--s-font-title); font-weight: 700; line-height: 1.3; text-wrap: balance; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--s-brand); color: #fff; }

.wrap { width: 100%; max-width: var(--s-wrap); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------------
   公告条
   --------------------------------------------------------------------- */
.notice-bar { background: var(--s-ink); color: #fff; font-size: 13px; }
.notice-bar .wrap { display: flex; align-items: center; gap: 10px; min-height: 38px; }
.notice-bar b { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.notice-bar i { width: 6px; height: 6px; border-radius: 50%; background: var(--s-accent); font-style: normal; }
.notice-bar a { color: rgba(255, 255, 255, .78); margin-left: auto; white-space: nowrap; }
.notice-bar a:hover { color: #fff; }

/* ---------------------------------------------------------------------
   顶部导航
   --------------------------------------------------------------------- */
.hd {
	position: sticky; top: 0; z-index: 90;
	transition: box-shadow .25s ease, background .25s ease;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--s-line);
}
.hd-in { display: flex; align-items: center; gap: 26px; height: var(--s-head-h); }

.hd.solid { box-shadow: 0 12px 30px -24px rgba(15, 23, 42, .55); }

/* 缺图时的占位：不要留一块空白，给一个克制的品牌底纹 */
.ph-art {
	display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
	background:
		radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .85), transparent 55%),
		linear-gradient(135deg, var(--s-brand-soft), #fff 70%);
	color: var(--s-brand);
}
.ph-art .m {
	width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
	background: #fff; box-shadow: 0 14px 30px -18px rgba(15, 23, 42, .45);
	font-size: 22px; font-weight: 700; color: var(--s-brand);
}
.ph-art .t { font-size: 12px; letter-spacing: 3px; color: var(--s-muted); }

.hd-logo { display: flex; align-items: center; gap: 11px; flex: none; min-width: 0; }
.hd-logo img { width: 42px; height: 42px; object-fit: contain; border-radius: 10px; }
.hd-mark {
	width: 42px; height: 42px; flex: none; border-radius: 12px;
	display: grid; place-items: center;
	background: linear-gradient(135deg, var(--s-brand), var(--s-brand-2));
	color: #fff; font-size: 19px; font-weight: 700; letter-spacing: 1px;
}
.hd-name { display: flex; flex-direction: column; min-width: 0; }
.hd-name b {
	font-size: 17px; font-weight: 700; color: var(--s-ink); letter-spacing: .2px;
	max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.hd-name i { font-style: normal; font-size: 11.5px; color: var(--s-muted); letter-spacing: .6px;
	max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.hd-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.hd-item { position: relative; }
.hd-item > a {
	display: flex; align-items: center; gap: 5px;
	padding: 0 14px; height: 44px; border-radius: 10px;
	font-size: 15px; color: var(--s-ink-2); white-space: nowrap;
}
.hd-item > a:hover { background: var(--s-brand-soft); color: var(--s-brand); }
.hd-item.on > a { color: var(--s-brand); font-weight: 600; }
.hd-item.on > a::after { content: ""; }

.caret { width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-1px); opacity: .6; }

.hd-sub {
	position: absolute; top: calc(100% - 2px); left: 50%; transform: translate(-50%, 8px);
	min-width: 168px; padding: 8px;
	background: #fff; border: 1px solid var(--s-line); border-radius: 14px;
	box-shadow: 0 24px 48px -28px rgba(15, 23, 42, .5);
	opacity: 0; visibility: hidden; transition: all .22s ease;
}
.hd-item:hover .hd-sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.hd-sub a { display: block; padding: 9px 12px; border-radius: 9px; font-size: 14px; color: var(--s-ink-2); white-space: nowrap; }
.hd-sub a:hover, .hd-sub a.on { background: var(--s-brand-soft); color: var(--s-brand); }

.hd-side { display: flex; align-items: center; gap: 14px; flex: none; }
.hd-tel { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--s-ink); }
.hd-tel i {
	font-style: normal; font-size: 11px; letter-spacing: .5px;
	padding: 2px 7px; border-radius: 999px;
	background: var(--s-brand-soft); color: var(--s-brand); font-weight: 600;
}
.hd-burger { display: none; width: 42px; height: 42px; border: 1px solid var(--s-line); border-radius: 12px;
	background: #fff; padding: 0; position: relative; }
.hd-burger span { position: absolute; left: 11px; width: 20px; height: 1.6px; background: var(--s-ink); border-radius: 2px; transition: .25s ease; }
.hd-burger span:nth-child(1) { top: 14px; }
.hd-burger span:nth-child(2) { top: 20px; }
.hd-burger span:nth-child(3) { top: 26px; }
body.nav-open .hd-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .hd-burger span:nth-child(2) { opacity: 0; }
body.nav-open .hd-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------------------------------------------------------------------
   按钮 / 标签
   --------------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	height: 46px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px;
	font-size: 15px; font-weight: 600; color: var(--s-cta-ink); background: var(--s-cta-bg);
	transition: .22s ease; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 24px -14px rgba(37, 99, 235, .7); color: var(--s-cta-ink); }
.btn-ghost { background: transparent; border-color: var(--s-line); color: var(--s-ink); }
.btn-ghost:hover { border-color: var(--s-brand); color: var(--s-brand); box-shadow: none; }
.btn-line { background: transparent; border-color: currentColor; color: var(--s-ink); }
.btn-sm { height: 38px; padding: 0 18px; font-size: 13.5px; }
.btn-lg { height: 52px; padding: 0 30px; font-size: 16px; }
.btn-block { width: 100%; }

.eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 12.5px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase;
	color: var(--s-brand);
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
.tag {
	display: inline-block; padding: 2px 9px; border-radius: 6px;
	font-size: 12px; line-height: 20px; background: var(--s-brand-soft); color: var(--s-brand);
}
.tag-gold { background: #fdf3dc; color: #a9741a; }

/* ---------------------------------------------------------------------
   区块骨架
   --------------------------------------------------------------------- */
.sec { padding: 84px 0; position: relative; }
.sec--soft { background: var(--s-surface); }
.sec--tight { padding: 60px 0; }
.sec-hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.sec-hd .l { max-width: 660px; }
.sec-hd h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.5px; margin-top: 12px; }
.sec-hd p { margin-top: 12px; font-size: 15px; color: var(--s-muted); }
.sec-hd .r { flex: none; padding-bottom: 6px; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--s-brand); }
.link-more::after { content: "→"; transition: transform .2s ease; }
.link-more:hover::after { transform: translateX(3px); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* 数据条 */
.stat-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 1px; background: var(--s-line); }
.stat { background: var(--s-bg); padding: 26px 24px; }
.stat b { display: block; font-family: var(--s-font-title); font-size: 34px; color: var(--s-ink); line-height: 1.1; letter-spacing: -1px; }
.stat b em { font-style: normal; font-size: 15px; font-weight: 600; color: var(--s-brand); margin-left: 3px; }
.stat span { display: block; margin-top: 8px; font-size: 13px; color: var(--s-muted); }

/* 特性卡 */
.feature { padding: 26px 22px; border-radius: var(--s-radius); background: var(--s-bg); border: 1px solid var(--s-line); }
.feature .ico {
	width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
	background: var(--s-brand-soft); color: var(--s-brand); margin-bottom: 16px;
}
.feature h4 { font-size: 17px; margin-bottom: 8px; }
.feature p { font-size: 14px; color: var(--s-muted); }

/* ---------------------------------------------------------------------
   课程卡
   --------------------------------------------------------------------- */
.ccard {
	display: flex; flex-direction: column; overflow: hidden;
	background: var(--s-bg); border: 1px solid var(--s-line); border-radius: var(--s-radius);
	transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.ccard:hover { transform: translateY(-4px); box-shadow: var(--s-shadow); border-color: transparent; }
.ccard-media { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--s-surface); overflow: hidden; }
.ccard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ccard:hover .ccard-media img { transform: scale(1.04); }
.ccard-media .ph { position: absolute; inset: 0; display: grid; place-items: center; color: #b9c4d4; font-size: 13px; letter-spacing: 2px; }
.ccard-tag {
	position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: 8px;
	background: rgba(15, 23, 42, .62); backdrop-filter: blur(6px);
	color: #fff; font-size: 12px; line-height: 18px;
}
.ccard-body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 0; }
.ccard-title { font-size: 17px; font-weight: 700; color: var(--s-ink); line-height: 1.45;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ccard-desc { margin-top: 8px; font-size: 13.5px; color: var(--s-muted); line-height: 1.65;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ccard-meta { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.ccard-meta span { font-size: 12px; color: var(--s-muted); background: var(--s-surface); border-radius: 6px; padding: 2px 8px; }
.ccard-foot { margin-top: auto; padding: 16px 18px 18px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.price { display: flex; align-items: baseline; gap: 7px; }
.price b { font-size: 21px; font-weight: 700; color: var(--s-brand); letter-spacing: -.4px; }
.price s { font-size: 12.5px; color: #a9b4c4; text-decoration: line-through; }
.price small { font-size: 12px; color: var(--s-muted); }
.ccard-go { font-size: 13px; font-weight: 600; color: var(--s-brand); white-space: nowrap; }
.ccard-go::after { content: " →"; }

/* ---------------------------------------------------------------------
   资讯卡
   --------------------------------------------------------------------- */
.ncard { display: flex; gap: 16px; padding: 20px 0; border-top: 1px solid var(--s-line); align-items: center; }
.ncard:first-child { border-top: 0; padding-top: 0; }
.ncard-thumb { width: 132px; height: 92px; flex: none; border-radius: 12px; overflow: hidden; background: var(--s-surface); }
.ncard-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ncard-body { min-width: 0; flex: 1; }
.ncard-date { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--s-muted); }
.ncard-date b { font-size: 18px; color: var(--s-ink); letter-spacing: -.5px; }
.ncard-title { margin-top: 4px; font-size: 15.5px; font-weight: 600; color: var(--s-ink);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ncard:hover .ncard-title { color: var(--s-brand); }

/* ---------------------------------------------------------------------
   表单
   --------------------------------------------------------------------- */
.form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: block; }
.field > span { display: block; font-size: 12.5px; font-weight: 600; color: var(--s-ink); margin-bottom: 7px; }
.input, .textarea, .select {
	width: 100%; padding: 12px 14px; border: 1px solid var(--s-line); border-radius: 11px;
	background: #fff; color: var(--s-ink); font-size: 14.5px; line-height: 1.5;
	transition: border-color .2s ease, box-shadow .2s ease; outline: none;
}
.input:focus, .textarea:focus, .select:focus { border-color: var(--s-brand); box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
.textarea { min-height: 108px; resize: vertical; }
.form-tip { font-size: 12px; color: var(--s-muted); }
.form-msg { display: none; padding: 11px 14px; border-radius: 10px; font-size: 13.5px; }
.form-msg.ok { display: block; background: #ecfdf5; color: #047857; }
.form-msg.err { display: block; background: #fef2f2; color: #b91c1c; }
.hp { position: absolute; left: -9999px; }

/* ---------------------------------------------------------------------
   页脚
   --------------------------------------------------------------------- */
.ft { background: var(--s-dark); color: rgba(255, 255, 255, .66); padding: 64px 0 0; }
.ft-in { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 46px; }
.ft h5 { color: #fff; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 18px; opacity: .85; }
.ft-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.ft-brand .hd-mark { width: 38px; height: 38px; border-radius: 10px; font-size: 16px; }
.ft-brand b { color: #fff; font-size: 16px; }
.ft p { font-size: 13.5px; line-height: 1.85; }
.ft-list li { margin-bottom: 10px; font-size: 13.5px; }
.ft-list a:hover { color: #fff; }
.ft-contact li { display: flex; gap: 8px; margin-bottom: 12px; font-size: 13.5px; }
.ft-contact li em { font-style: normal; color: rgba(255, 255, 255, .45); flex: none; }
.ft-contact li span { color: #fff; word-break: break-all; }
.ft-bar { border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; font-size: 12.5px; display: flex; gap: 12px; flex-wrap: wrap; }
.ft-bar .wrap { display: flex; gap: 14px; flex-wrap: wrap; }
.ft-bar a:hover { color: #fff; }

/* ---------------------------------------------------------------------
   悬浮工具
   --------------------------------------------------------------------- */
.float { position: fixed; right: 22px; bottom: 30px; z-index: 60; display: flex; flex-direction: column; gap: 10px; }
.float a, .float button {
	width: 46px; height: 46px; border-radius: 50%; border: 0;
	background: #fff; color: var(--s-ink); box-shadow: 0 10px 26px -12px rgba(15, 23, 42, .55);
	display: grid; place-items: center; position: relative;
}
.float a:hover, .float button:hover { background: var(--s-brand); color: #fff; }
.float svg { width: 20px; height: 20px; }
.float .tip {
	position: absolute; right: 56px; top: 50%; transform: translateY(-50%) translateX(6px);
	background: var(--s-ink); color: #fff; font-size: 12px; padding: 5px 10px; border-radius: 8px;
	white-space: nowrap; opacity: 0; pointer-events: none; transition: .2s ease;
}
.float a:hover .tip, .float button:hover .tip { opacity: 1; transform: translateY(-50%) translateX(0); }
#toTop { opacity: 0; visibility: hidden; transition: .25s ease; }
#toTop.show { opacity: 1; visibility: visible; }

/* 移动端底部行动条：小屏隐藏右侧浮动工具，改成一整条大按钮，拇指更好点 */
.mbar { display: none; }

@media (max-width: 560px) {
	.float { display: none; }
	.mbar {
		display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; gap: 8px;
		padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
		background: rgba(255, 255, 255, .96); border-top: 1px solid var(--s-line);
		backdrop-filter: blur(10px);
	}
	.mbar a {
		flex: 1; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
		font-size: 15px; font-weight: 600;
	}
	.mbar .mbar-call { background: var(--s-brand-soft); color: var(--s-brand); flex: 0 0 116px; }
	.mbar .mbar-msg { background: var(--s-cta-bg); color: var(--s-cta-ink); }
	body { padding-bottom: 74px; }
}

/* ---------------------------------------------------------------------
   内页骨架
   --------------------------------------------------------------------- */
.page-head { background: var(--s-surface); border-bottom: 1px solid var(--s-line); padding: 46px 0 40px; }
.page-head h1 { font-size: clamp(24px, 3.4vw, 36px); letter-spacing: -.6px; }
.page-head .crumb { margin-top: 12px; font-size: 13px; color: var(--s-muted); display: flex; gap: 8px; flex-wrap: wrap; }
.page-head .crumb a:hover { color: var(--s-brand); }
.page-head .crumb em { font-style: normal; opacity: .5; }

.page-body { padding: 48px 0 84px; }
.page-cols { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }

.card-flat { background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-radius); padding: 26px; }
.side-card { background: var(--s-surface); border-radius: var(--s-radius); padding: 24px; }
.side-card h4 { font-size: 15px; margin-bottom: 16px; }
.side-contact li { display: flex; gap: 10px; padding: 10px 0; border-top: 1px dashed var(--s-line); font-size: 13.5px; }
.side-contact li:first-child { border-top: 0; padding-top: 0; }
.side-contact em { font-style: normal; color: var(--s-muted); flex: none; width: 62px; white-space: nowrap; font-size: 12.5px; }
.side-contact b { color: var(--s-ink); font-weight: 600; word-break: break-all; }
.side-cta { margin-top: 18px; }

.prose { font-size: 15.5px; line-height: 1.95; color: var(--s-ink-2); word-break: break-word; }
.prose > * + * { margin-top: 16px; }
.prose h2, .prose h3, .prose h4 { margin-top: 32px; font-size: 20px; }
.prose h3 { font-size: 18px; }
.prose p { margin: 0; }
.prose img { border-radius: 12px; margin: 18px auto; }
.prose ul, .prose ol { padding-left: 22px; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin: 6px 0; }
.prose blockquote { margin: 18px 0; padding: 14px 18px; border-left: 3px solid var(--s-brand); background: var(--s-brand-soft); border-radius: 0 10px 10px 0; color: var(--s-ink); }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { border: 1px solid var(--s-line); padding: 10px 12px; text-align: left; }
.prose a { color: var(--s-brand); text-decoration: underline; }

/* 筛选条 */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-bar a {
	padding: 8px 18px; border-radius: 999px; border: 1px solid var(--s-line);
	font-size: 14px; color: var(--s-ink-2); background: #fff;
}
.filter-bar a:hover { border-color: var(--s-brand); color: var(--s-brand); }
.filter-bar a.on { background: var(--s-brand); border-color: var(--s-brand); color: #fff; }
.filter-bar a.on:hover { color: #fff; }

/* 分页 */
.pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 44px; }
.pager a, .pager span {
	min-width: 40px; height: 40px; padding: 0 12px; border-radius: 10px;
	display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--s-line); background: #fff; font-size: 14px; color: var(--s-ink-2);
}
.pager a:hover { border-color: var(--s-brand); color: var(--s-brand); }
.pager .on { background: var(--s-brand); border-color: var(--s-brand); color: #fff; }
.pager .off { opacity: .4; pointer-events: none; }

/* ---------------------------------------------------------------------
   课程详情（三套模板共用）
   --------------------------------------------------------------------- */
/* ---------------- 课程详情 ---------------- */
.cd-top { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: start; }
.cd-gallery { border-radius: 20px; overflow: hidden; background: var(--s-surface); aspect-ratio: 4 / 3; position: relative; }
.cd-gallery img { width: 100%; height: 100%; object-fit: cover; }
.cd-gallery .ph { position: absolute; inset: 0; display: grid; place-items: center; color: #a8b6ca; letter-spacing: 3px; font-size: 13px; }
.cd-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.cd-thumbs button { width: 72px; height: 56px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; background: none; }
.cd-thumbs button.on { border-color: var(--s-brand); }
.cd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.cd-info h1 { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.4; }
.cd-info .lead { margin-top: 12px; color: var(--s-muted); font-size: 14.5px; }
.cd-price { margin-top: 22px; display: flex; align-items: baseline; gap: 10px; }
.cd-price b { font-size: 32px; color: #e11d48; letter-spacing: -1px; }
.cd-price s { color: #a9b4c4; font-size: 14px; }
.cd-price small { color: var(--s-muted); font-size: 12.5px; }
.cd-specs { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--s-line); border-radius: 14px; overflow: hidden; }
.cd-specs div { background: #fff; padding: 14px 16px; }
.cd-specs em { display: block; font-style: normal; font-size: 12px; color: var(--s-muted); margin-bottom: 4px; }
.cd-specs b { font-size: 14px; color: var(--s-ink); font-weight: 600; }
.cd-actions { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }
.cd-blocks { margin-top: 44px; display: grid; gap: 26px; }
.cd-block { background: #fff; border: 1px solid var(--s-line); border-radius: 18px; padding: 26px 28px; }
.cd-block > h3 { font-size: 18px; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.cd-block > h3::before { content: ""; width: 4px; height: 16px; border-radius: 3px; background: var(--s-brand); }
.cd-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cd-highlights li { position: relative; padding-left: 24px; font-size: 14.5px; }
.cd-highlights li::before {
	content: ""; position: absolute; left: 4px; top: 9px; width: 8px; height: 8px;
	border-radius: 50%; background: var(--s-brand-soft); box-shadow: inset 0 0 0 2px var(--s-brand);
}


/* 空态 */
.empty-box { text-align: center; padding: 80px 20px; color: var(--s-muted); }
.empty-box b { display: block; font-size: 20px; color: var(--s-ink); margin-bottom: 8px; }
.empty-box .btn { margin-top: 20px; }

/* 图片墙 */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery a { display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 1 / 1; background: var(--s-surface); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery a:hover img { transform: scale(1.06); }

/* 滚动出现 */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------------
   响应式
   --------------------------------------------------------------------- */
@media (max-width: 1080px) {
	.hd-nav { display: none; }
	.hd-side .hd-tel { display: none; }
	.hd-burger { display: block; margin-left: auto; }
	.hd-in { gap: 14px; }

	body.nav-open .hd-nav {
		display: block; position: absolute; left: 0; right: 0; top: var(--s-head-h);
		background: #fff; border-bottom: 1px solid var(--s-line);
		padding: 10px 16px 18px; max-height: calc(100vh - var(--s-head-h)); overflow: auto;
		box-shadow: 0 24px 40px -30px rgba(15, 23, 42, .6);
	}
	body.nav-open .hd-item > a { height: 46px; padding: 0 12px; font-size: 15px; }
	body.nav-open .hd-item { border-bottom: 1px solid var(--s-line); }
	body.nav-open .hd-item:last-child { border-bottom: 0; }
	body.nav-open .hd-sub { position: static; transform: none; opacity: 1; visibility: visible;
		box-shadow: none; border: 0; background: var(--s-surface); margin: 0 0 8px; padding: 6px; }
	body.nav-open .hd-sub a { font-size: 14px; }

	.page-cols { grid-template-columns: 1fr; gap: 28px; }
	.ft-in { grid-template-columns: 1fr 1fr; gap: 30px; }
	.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px) {
	.sec { padding: 56px 0; }
	.sec-hd { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 28px; }
	.sec-hd .r { padding-bottom: 0; }
	.grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.stat-row { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wrap { padding: 0 18px; }
	.page-body { padding: 32px 0 60px; }
	.notice-bar .wrap { min-height: 34px; }
	.notice-bar .wrap span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

@media (max-width: 560px) {
	:root { --s-head-h: 64px; }
	body { font-size: 14.5px; }
	.hd-name i { display: none; }
	.hd-name b { font-size: 15px; max-width: 150px; }
	.hd-mark, .hd-logo img { width: 36px; height: 36px; border-radius: 10px; font-size: 16px; }
	.hd-cta { display: none; }
	.grid-3, .grid-2, .grid-4, .grid-2 { grid-template-columns: 1fr; }
	.form-row { grid-template-columns: 1fr; }
	.gallery { grid-template-columns: repeat(2, 1fr); }
	.ncard-thumb { width: 104px; height: 78px; }
	.float { right: 14px; bottom: 18px; }
	.ft-in { grid-template-columns: 1fr; }
	.pager a, .pager span { min-width: 36px; height: 36px; }
	.prose { font-size: 15px; }
}
