/* ==========================================================================
   析风实验室 XiFeng Lab — 主样式
   坐标纸白底 · 品红 × 墨蓝 · 元素周期表方格 · 便签贴纸
   ========================================================================== */

:root {
	--c-navy: #1e2a52;
	--c-navy-2: #2c3c6e;
	--c-magenta: #d1266f;
	--c-magenta-deep: #a81456;
	--c-ink: #232838;
	--c-text: #5c6478;
	--c-line: #dce0ea;
	--c-grid: #e7ebf3;
	--c-bg: #fbfcfe;
	--c-paper: #ffffff;
	--radius: 10px;
	--radius-sm: 7px;
	--shadow: 0 12px 30px rgba(30, 42, 82, 0.08);
	--shadow-lg: 0 26px 60px rgba(30, 42, 82, 0.14);
	--font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", -apple-system, "Segoe UI", sans-serif;
	--mono: "SF Mono", "Menlo", "Consolas", monospace;
	--gridimg:
		linear-gradient(var(--c-grid) 1px, transparent 1px),
		linear-gradient(90deg, var(--c-grid) 1px, transparent 1px);
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.78;
	color: var(--c-text);
	background-color: var(--c-bg);
	background-image: var(--gridimg);
	background-size: 26px 26px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-magenta); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--c-magenta-deep); }
h1, h2, h3, h4 { color: var(--c-ink); line-height: 1.3; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
::selection { background: var(--c-magenta); color: #fff; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap;
}
.skip-link:focus {
	position: fixed; left: 16px; top: 16px; z-index: 999;
	width: auto; height: auto; clip: auto;
	background: var(--c-navy); color: #fff;
	padding: 10px 18px; border-radius: var(--radius-sm);
}
:focus-visible { outline: 2px solid var(--c-magenta); outline-offset: 2px; }

/* ---------- 按钮 ---------- */
.btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 12px 26px;
	border-radius: var(--radius-sm);
	border: 1.5px solid transparent;
	font-size: 15px; font-weight: 600;
	cursor: pointer; white-space: nowrap;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--magenta { background: var(--c-magenta); color: #fff; box-shadow: 0 8px 22px rgba(209, 38, 111, .28); }
.btn--magenta:hover { background: var(--c-magenta-deep); color: #fff; }
.btn--paper { background: var(--c-paper); color: var(--c-navy); border-color: var(--c-line); }
.btn--paper:hover { border-color: var(--c-magenta); color: var(--c-magenta); }
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--lg { padding: 14px 32px; font-size: 16px; }
.btn--block { width: 100%; justify-content: center; }
.xf-icon { flex-shrink: 0; }

/* ---------- 页头 ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(251, 252, 254, .92);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--c-line);
}
.site-header.is-scrolled { box-shadow: var(--shadow); }
.site-header__inner { display: flex; align-items: center; gap: 28px; min-height: 74px; }
.site-brand { margin-right: auto; }
.site-brand__link { display: flex; align-items: center; gap: 11px; }
.site-brand__mark {
	width: 44px; height: 44px; border-radius: 10px;
	display: grid; place-items: center; color: #fff;
	background: var(--c-navy);
	font-family: var(--mono); font-size: 17px; font-weight: 700;
	position: relative;
}
.site-brand__mark::after {
	content: "15"; position: absolute; top: 3px; right: 5px;
	font-size: 8px; font-weight: 600; color: rgba(255, 255, 255, .6);
}
.site-brand__name { display: block; font-size: 20px; font-weight: 800; color: var(--c-ink); }
.site-brand__slogan { display: block; font-size: 12px; color: var(--c-text); letter-spacing: .05em; }
.custom-logo { max-height: 48px; width: auto; }

.site-nav__list { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.site-nav__list li { position: relative; }
.site-nav__list a {
	display: block; padding: 9px 14px;
	color: var(--c-ink); font-weight: 500; font-size: 14.5px;
	border-radius: var(--radius-sm);
}
.site-nav__list a:hover { color: var(--c-magenta); background: var(--c-paper); }
.site-nav__list .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 190px;
	list-style: none; margin: 6px 0 0; padding: 8px;
	background: var(--c-paper); border: 1px solid var(--c-line); border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: all .2s ease;
}
.site-nav__list li:hover > .sub-menu,
.site-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.site-header__actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
	display: none; flex-direction: column; justify-content: center; gap: 5px;
	width: 44px; height: 44px; padding: 10px;
	background: var(--c-paper); border: 1px solid var(--c-line); border-radius: var(--radius-sm); cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--c-ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 首屏 ---------- */
.hero { position: relative; }
.hero__inner {
	display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
	padding-top: 80px; padding-bottom: 84px;
}
.hero__eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 13.5px; font-weight: 600;
	color: var(--c-navy);
	background: var(--c-paper);
	border: 1px solid var(--c-line);
	padding: 7px 15px; border-radius: 999px;
}
.hero__eyebrow .xf-icon { color: var(--c-magenta); }
.hero__title { font-size: clamp(33px, 4.4vw, 52px); font-weight: 800; margin: 22px 0 16px; }
.hero__title em { font-style: normal; color: var(--c-magenta); }
.hero__desc { font-size: 16.5px; max-width: 31em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 26px; }
.hero__note {
	display: inline-block;
	font-family: var(--mono); font-size: 13px; color: var(--c-navy-2);
	background: #fff6d6; border: 1px solid #f0e2a8;
	padding: 8px 16px; border-radius: 4px;
	transform: rotate(-1.4deg);
	box-shadow: 2px 3px 8px rgba(30, 42, 82, .08);
}

/* 元素周期表方格 */
.periodic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cell {
	background: var(--c-paper); border: 1.5px solid var(--c-line);
	border-radius: var(--radius); padding: 16px 16px 14px;
	position: relative; min-height: 108px;
	display: flex; flex-direction: column; justify-content: center;
	transition: transform .25s ease, box-shadow .25s ease;
}
.cell:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cell i { position: absolute; top: 8px; left: 11px; font-family: var(--mono); font-size: 11px; font-style: normal; color: var(--c-text); }
.cell b { font-size: 24px; font-weight: 800; color: var(--c-ink); line-height: 1.1; }
.cell span { font-size: 12px; color: var(--c-text); margin-top: 2px; }
.cell--acid { border-top: 4px solid #ef4444; }
.cell--alkali { border-top: 4px solid #7c3aed; }
.cell--voc { border-top: 4px solid #d1266f; }
.cell--uv { border-top: 4px solid #0ea5e9; }
.cell--dust { border-top: 4px solid #64748b; }
.cell--mix { border-top: 4px solid #16a34a; }

/* ---------- 气体分类条 ---------- */
.gasbar { background: var(--c-navy); color: rgba(255, 255, 255, .82); }
.gasbar__inner { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; padding: 18px 0; }
.gasbar__label {
	font-size: 13px; font-weight: 700; letter-spacing: .08em;
	color: #fff; border: 1px solid rgba(255, 255, 255, .4);
	border-radius: 999px; padding: 6px 15px; flex-shrink: 0;
}
.gasbar ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; padding: 0; }
.gasbar li { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; }
.g-dot { width: 10px; height: 10px; border-radius: 50%; }
.g-dot--acid { background: #f87171; }
.g-dot--alkali { background: #a78bfa; }
.g-dot--voc { background: #ec4899; }
.g-dot--mix { background: #4ade80; }

/* ---------- 通用版块 ---------- */
.section { padding: 84px 0; }
.section--pad { padding: 60px 0 84px; }
.section--grid { background-color: var(--c-paper); background-image: var(--gridimg); background-size: 26px 26px; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.section-head { max-width: 660px; margin: 0 auto 48px; text-align: center; }
.section-head__eyebrow { font-family: var(--mono); font-size: 12.5px; font-weight: 700; letter-spacing: .26em; color: var(--c-magenta); margin-bottom: 10px; }
.section-head__title { font-size: clamp(25px, 3vw, 37px); margin-bottom: 13px; }
.section-head__desc { margin: 0; }
.section-foot { text-align: center; margin: 44px 0 0; }

/* ---------- 产品卡片 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card {
	background: var(--c-paper); border: 1.5px solid var(--c-line); border-radius: var(--radius);
	overflow: hidden; display: flex; flex-direction: column;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--c-magenta); }
.product-card__media {
	position: relative; display: block; aspect-ratio: 16 / 10;
	background:
		radial-gradient(200px 130px at 78% 26%, rgba(209, 38, 111, .1), transparent 60%),
		linear-gradient(160deg, #eef1f8, #f7f9fc);
	border-bottom: 1.5px solid var(--c-line);
	overflow: hidden;
}
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.product-card__ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--c-navy); }
.product-card__spec {
	position: absolute; left: 12px; bottom: 12px;
	font-family: var(--mono); font-size: 11px; font-weight: 700;
	color: var(--c-magenta); background: var(--c-paper);
	border: 1px solid var(--c-line);
	padding: 4px 10px; border-radius: 5px;
}
.product-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.product-card__title { font-size: 16.5px; margin-bottom: 7px; }
.product-card__title a { color: var(--c-ink); }
.product-card__title a:hover { color: var(--c-magenta); }
.product-card__desc { font-size: 13.5px; flex: 1; margin-bottom: 13px; }
.product-card__more { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; transition: gap .2s ease; }
.product-card__more:hover { gap: 10px; }

/* ---------- 验收清单 ---------- */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check-list li {
	display: flex; gap: 15px; align-items: flex-start;
	background: var(--c-paper); border: 1.5px solid var(--c-line); border-radius: var(--radius);
	padding: 20px 24px;
	transition: transform .2s ease, box-shadow .2s ease;
}
.check-list li:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.check-box {
	flex-shrink: 0; display: grid; place-items: center;
	width: 30px; height: 30px; border-radius: 7px;
	color: #fff; background: var(--c-magenta);
	margin-top: 2px;
}
.check-list h3 { font-size: 16.5px; margin-bottom: 3px; }
.check-list p { font-size: 13.5px; margin: 0; }

/* ---------- 场景 ---------- */
.scene-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.scene-card {
	background: var(--c-paper); border: 1.5px solid var(--c-line); border-radius: var(--radius);
	padding: 24px 24px 20px;
	transition: transform .25s ease, box-shadow .25s ease;
}
.scene-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.scene-card__icon {
	display: inline-grid; place-items: center;
	width: 48px; height: 48px; border-radius: 10px;
	color: var(--c-navy); background: rgba(30, 42, 82, .07);
	margin-bottom: 13px;
}
.scene-card h3 { font-size: 16.5px; margin-bottom: 5px; }
.scene-card p { font-size: 13.5px; margin: 0; }

/* ---------- 案例（贴纸标签） ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case-card {
	position: relative;
	background: var(--c-paper); border: 1.5px solid var(--c-line); border-radius: var(--radius);
	padding: 28px 26px 24px;
	transition: transform .25s ease, box-shadow .25s ease;
}
.case-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.case-card__tab {
	position: absolute; top: -12px; left: 22px;
	font-family: var(--mono); font-size: 11.5px; font-weight: 700; letter-spacing: .08em;
	color: #fff; background: var(--c-magenta);
	padding: 4px 12px; border-radius: 4px;
	transform: rotate(-1.5deg);
	box-shadow: 2px 2px 6px rgba(209, 38, 111, .3);
}
.case-card h3 { font-size: 17px; margin: 6px 0 6px; }
.case-card__meta { font-size: 12.5px; color: var(--c-magenta); font-weight: 700; margin-bottom: 9px; }
.case-card__desc { font-size: 13.5px; margin: 0; }

/* ---------- 新闻 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card {
	background: var(--c-paper); border: 1.5px solid var(--c-line); border-radius: var(--radius);
	padding: 24px 26px 20px;
	transition: transform .25s ease, box-shadow .25s ease;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-card__date { font-family: var(--mono); font-size: 12.5px; color: var(--c-magenta); margin-bottom: 9px; }
.news-card h3 { font-size: 16px; margin-bottom: 9px; }
.news-card h3 a { color: var(--c-ink); }
.news-card h3 a:hover { color: var(--c-magenta); }
.news-card__desc { font-size: 13.5px; }
.news-card__more { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }

/* ---------- 联系 ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.02fr; gap: 52px; align-items: center; }
.contact__copy .section-head__eyebrow, .contact__copy .section-head__title { text-align: left; }
.contact__list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 15px; }
.contact__list li { display: flex; align-items: center; gap: 11px; font-size: 14.5px; color: var(--c-ink); }
.contact__list .xf-icon { color: var(--c-magenta); }

.contact__form-wrap {
	background: var(--c-paper); border: 1.5px solid var(--c-line); border-radius: var(--radius);
	padding: 32px; box-shadow: var(--shadow);
}
.contact-form h3 { font-size: 19px; margin-bottom: 18px; }
.contact-form p { margin-bottom: 15px; }
.contact-form label { display: block; font-size: 13.5px; font-weight: 600; color: var(--c-ink); margin-bottom: 6px; }
.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form textarea {
	width: 100%; padding: 12px 15px;
	border: 1.5px solid var(--c-line); border-radius: var(--radius-sm);
	font-family: inherit; font-size: 15px; color: var(--c-ink);
	background: var(--c-bg);
	transition: border-color .2s ease, background .2s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
	outline: none; border-color: var(--c-magenta); background: var(--c-paper);
}
.contact-form__tip { font-size: 12.5px; color: #9aa1b0; text-align: center; margin: 11px 0 0; }
.hp-field { position: absolute !important; left: -9999px; }
.form-notice {
	background: #fdeaf3; border: 1px solid #f4c2da; color: var(--c-magenta-deep);
	border-radius: var(--radius-sm); padding: 13px 17px; margin-bottom: 16px; font-size: 14.5px;
}

/* ---------- 内页头部 ---------- */
.page-hero {
	background-color: var(--c-paper);
	background-image: var(--gridimg);
	background-size: 26px 26px;
	border-bottom: 1px solid var(--c-line);
	padding: 58px 0 50px;
}
.page-hero__title { font-size: clamp(27px, 3.4vw, 40px); font-weight: 800; margin: 0; }
.page-hero__sub { margin: 9px 0 0; }
.page-hero__meta { font-family: var(--mono); font-size: 12.5px; color: var(--c-magenta); margin: 0 0 9px; }
.page-hero__meta a { color: var(--c-magenta); }

/* ---------- 博客列表 ---------- */
.post-list { display: grid; gap: 20px; max-width: 860px; margin: 0 auto; }
.post-card {
	display: grid; grid-template-columns: 270px 1fr;
	background: var(--c-paper); border: 1.5px solid var(--c-line); border-radius: var(--radius);
	overflow: hidden; transition: transform .25s ease, box-shadow .25s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card:not(:has(.post-card__thumb)) { grid-template-columns: 1fr; }
.post-card__body { padding: 22px 26px; }
.post-card__meta { font-family: var(--mono); font-size: 12px; color: var(--c-magenta); margin-bottom: 7px; }
.post-card__meta a { color: inherit; }
.post-card__title { font-size: 18px; margin-bottom: 7px; }
.post-card__title a { color: var(--c-ink); }
.post-card__title a:hover { color: var(--c-magenta); }
.post-card__desc { font-size: 14px; margin-bottom: 11px; }
.post-card__more { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; }
.no-results { text-align: center; padding: 60px 0; }

.navigation.pagination { margin: 44px 0 0; text-align: center; }
.nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.nav-links .page-numbers {
	display: inline-block; min-width: 40px; padding: 8px 13px;
	border: 1.5px solid var(--c-line); border-radius: var(--radius-sm);
	color: var(--c-ink); font-family: var(--mono); font-weight: 700; font-size: 13.5px; background: var(--c-paper);
}
.nav-links .page-numbers.current,
.nav-links .page-numbers:hover { background: var(--c-magenta); border-color: var(--c-magenta); color: #fff; }

/* ---------- 文章内容 ---------- */
.entry-wrap { max-width: 860px; padding-top: 44px; padding-bottom: 84px; }
.entry__thumb { margin: 0 0 30px; border: 1.5px solid var(--c-line); border-radius: var(--radius); overflow: hidden; }
.entry__content { font-size: 16px; }
.entry__content h2 { font-size: 24px; margin-top: 1.6em; }
.entry__content h3 { font-size: 19px; margin-top: 1.4em; }
.entry__content img { border-radius: var(--radius-sm); }
.entry__content blockquote {
	margin: 1.5em 0; padding: 15px 22px;
	border-left: 4px solid var(--c-magenta);
	background: var(--c-paper); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.entry__content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.entry__content th, .entry__content td { border: 1px solid var(--c-line); padding: 9px 13px; text-align: left; }
.entry__content th { background: var(--c-bg); }
.entry__tags { margin-top: 26px; font-size: 13.5px; }
.page-links { margin: 22px 0; }

.post-nav {
	display: flex; justify-content: space-between; gap: 20px;
	margin: 42px 0; padding-top: 26px; border-top: 1px solid var(--c-line);
	font-size: 14px;
}
.post-nav__next { text-align: right; }

/* ---------- 评论 ---------- */
.comments-area { margin-top: 46px; }
.comments-title, .comment-reply-title { font-size: 20px; }
.comment-list { list-style: none; margin: 0 0 28px; padding: 0; }
.comment-list .comment { border-bottom: 1px solid var(--c-line); padding: 19px 0; }
.comment-list .children { list-style: none; padding-left: 38px; }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--c-ink); }
.comment-author .avatar { border-radius: 8px; }
.comment-metadata { font-size: 12px; }
.comment-content { font-size: 14.5px; }
.reply { font-size: 13px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 10px 13px;
	border: 1.5px solid var(--c-line); border-radius: var(--radius-sm);
	font-family: inherit; font-size: 14.5px; background: var(--c-bg);
}
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--c-magenta); background: var(--c-paper); }
.form-submit .submit {
	background: var(--c-magenta); color: #fff; border: 0;
	border-radius: var(--radius-sm); padding: 11px 28px;
	font-size: 14.5px; font-weight: 600; cursor: pointer;
}
.form-submit .submit:hover { background: var(--c-magenta-deep); }

/* ---------- 搜索 / 404 ---------- */
.search-form { display: flex; gap: 9px; max-width: 460px; }
.search-form__input {
	flex: 1; padding: 11px 15px;
	border: 1.5px solid var(--c-line); border-radius: var(--radius-sm);
	font-family: inherit; font-size: 14.5px; background: var(--c-paper);
}
.search-form__input:focus { outline: none; border-color: var(--c-magenta); }
.error-404 { text-align: center; padding: 40px 0; }
.error-404__code {
	font-family: var(--mono);
	font-size: clamp(84px, 15vw, 150px); font-weight: 700; line-height: 1;
	color: var(--c-navy);
	margin: 0 0 8px;
}
.error-404__title { color: var(--c-ink); }
.error-404 .search-form { margin: 22px auto 26px; justify-content: center; }

/* ---------- 产品详情 / 归档 ---------- */
.product-single { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; padding-top: 52px; padding-bottom: 36px; align-items: start; }
.product-single__media {
	position: relative; border: 1.5px solid var(--c-line); border-radius: var(--radius); overflow: hidden;
	aspect-ratio: 4 / 3;
	background:
		radial-gradient(260px 190px at 72% 28%, rgba(209, 38, 111, .1), transparent 60%),
		linear-gradient(160deg, #eef1f8, #f7f9fc);
}
.product-single__media img { width: 100%; height: 100%; object-fit: cover; }
.product-single__ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--c-navy); }
.product-single__summary {
	background: var(--c-bg); border: 1.5px solid var(--c-line);
	border-left: 4px solid var(--c-magenta);
	border-radius: var(--radius-sm); padding: 15px 19px; margin-bottom: 22px;
	font-size: 14.5px; color: var(--c-ink);
}
.product-single__summary p { margin: 0; }
.product-single__cta {
	margin-top: 30px; padding: 24px 26px;
	border: 1.5px dashed var(--c-magenta); border-radius: var(--radius);
	background: rgba(209, 38, 111, .04);
}
.product-single__cta h3 { font-size: 16.5px; margin-bottom: 5px; }
.product-single__cta p { font-size: 13.5px; margin-bottom: 15px; }
.product-single__cta-actions { display: flex; gap: 11px; flex-wrap: wrap; }
.related-title { font-size: 22px; margin-bottom: 24px; }
.archive-cta {
	margin-top: 60px; text-align: center;
	background: var(--c-paper); border: 1.5px solid var(--c-line);
	border-radius: var(--radius); padding: 44px 30px;
}
.archive-cta h2 { font-size: 22px; }
.archive-cta p { margin-bottom: 18px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--c-navy); color: rgba(255, 255, 255, .66); }
.site-footer__grid {
	display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 42px;
	padding-top: 58px; padding-bottom: 44px;
}
.site-footer__logo { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 13px; }
.site-footer__logo span {
	display: grid; place-items: center;
	width: 34px; height: 34px; border-radius: 8px;
	background: var(--c-magenta);
	font-family: var(--mono); font-size: 14px; font-weight: 700;
}
.site-footer__about { font-size: 13.5px; line-height: 1.85; }
.site-footer__phone { display: flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 19px; font-weight: 700; color: #ff9ac4; margin-top: 16px; }
.site-footer__title { color: #fff; font-size: 15px; margin-bottom: 16px; }
.site-footer__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer__menu a { color: rgba(255, 255, 255, .66); font-size: 13.5px; }
.site-footer__menu a:hover { color: #ff9ac4; }
.site-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: 13.5px; }
.site-footer__contact li { display: flex; gap: 8px; align-items: flex-start; }
.site-footer__contact .xf-icon { color: #ff9ac4; margin-top: 4px; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .14); }
.site-footer__bottom-inner {
	display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
	padding-top: 18px; padding-bottom: 18px; font-size: 12.5px;
}
.site-footer__bottom p { margin: 0; }

/* ---------- 返回顶部 ---------- */
.back-to-top {
	position: fixed; right: 24px; bottom: 24px; z-index: 90;
	width: 44px; height: 44px; border: 0; border-radius: 10px;
	display: grid; place-items: center; cursor: pointer;
	background: var(--c-magenta); color: #fff;
	box-shadow: 0 10px 24px rgba(209, 38, 111, .4);
	opacity: 0; visibility: hidden; transform: translateY(12px);
	transition: all .25s ease;
}
.back-to-top .xf-icon { transform: rotate(-90deg); }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- 入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
	.hero__inner { grid-template-columns: 1fr; }
	.product-grid, .scene-grid, .case-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
	.contact { grid-template-columns: 1fr; gap: 40px; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.product-single { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
	.nav-toggle { display: flex; }
	.site-header__actions .btn { display: none; }
	.site-nav {
		position: fixed; top: 0; right: 0; bottom: 0; z-index: 200;
		width: min(320px, 84vw);
		background: var(--c-bg); box-shadow: -18px 0 50px rgba(30, 42, 82, .18);
		padding: 80px 26px 26px;
		transform: translateX(100%); transition: transform .3s ease;
		overflow-y: auto;
	}
	.site-nav.is-open { transform: translateX(0); }
	.site-nav__list { flex-direction: column; gap: 4px; }
	.site-nav__list a { padding: 12px 14px; font-size: 15.5px; }
	.site-nav__list .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none;
		box-shadow: none; border: 0; padding: 0 0 0 18px; margin: 0; background: transparent;
	}
	.nav-toggle { position: relative; z-index: 210; }
	body.nav-open { overflow: hidden; }
}

@media (max-width: 620px) {
	.section { padding: 60px 0; }
	.periodic { grid-template-columns: repeat(2, 1fr); }
	.product-grid, .scene-grid, .case-grid, .news-grid { grid-template-columns: 1fr; }
	.post-card { grid-template-columns: 1fr; }
	.post-card__thumb { aspect-ratio: 16 / 9; overflow: hidden; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 30px; }
	.contact__form-wrap { padding: 24px 20px; }
}

/* 优化 · 全局尊重系统"减少动态效果"（覆盖装饰性 keyframes 动画） */
@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important;}}

/* ==========================================================================
   美化优化 v1.1 · 2026-07 — 坐标纸学院清新风精修
   ========================================================================== */
/* 通用 UX */
html { scroll-padding-top: 86px; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.btn:active { transform: translateY(1px); }

/* 品红按钮:悬停微光 */
.btn--magenta:hover { box-shadow: 0 10px 26px rgba(209, 38, 111, .3); }

/* 导航:当前项品红 */
.site-nav__list > li.current-menu-item > a { color: var(--c-magenta); }

/* 便签:悬停摆正(被人扶正的趣味) */
.hero__note { transition: transform .3s ease, box-shadow .3s ease; }
.hero__note:hover { transform: rotate(0deg); box-shadow: 3px 5px 12px rgba(30, 42, 82, .12); }

/* 周期表方格:元素符号点亮 + 序号色显 */
.cell b { transition: color .25s ease; }
.cell--acid:hover b { color: #ef4444; }
.cell--alkali:hover b { color: #7c3aed; }
.cell--voc:hover b { color: var(--c-magenta); }
.cell--uv:hover b { color: #0ea5e9; }
.cell--dust:hover b { color: #64748b; }
.cell--mix:hover b { color: #16a34a; }
.cell i { transition: color .25s ease; }
.cell:hover i { color: var(--c-navy); }

/* 气体分类点:错峰微闪(实验室指示灯) */
@keyframes xf-dotblink { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.g-dot { animation: xf-dotblink 3.2s ease-in-out infinite; }
.g-dot--alkali { animation-delay: .8s; }
.g-dot--voc { animation-delay: 1.6s; }
.g-dot--mix { animation-delay: 2.4s; }

/* 产品卡:图区微缩放 + 规格签填品红 */
.product-card__media img, .product-card__ph { transition: transform .4s ease; }
.product-card:hover .product-card__media img,
.product-card:hover .product-card__ph { transform: scale(1.04); }
.product-card__spec { transition: background .25s ease, color .25s ease, border-color .25s ease; }
.product-card:hover .product-card__spec { background: var(--c-magenta); color: #fff; border-color: var(--c-magenta); }

/* 验收清单:勾选框弹跳确认 */
.check-box { transition: transform .25s cubic-bezier(.34, 1.56, .64, 1); }
.check-list li:hover .check-box { transform: scale(1.15) rotate(-4deg); }

/* 案例贴纸:悬停摆正按压 */
.case-card__tab { transition: transform .25s ease; }
.case-card:hover .case-card__tab { transform: rotate(0deg) scale(1.04); }

/* 场景:图标填墨蓝 */
.scene-card__icon { transition: background .3s ease, color .3s ease; }
.scene-card:hover .scene-card__icon { background: var(--c-navy); color: #fff; }

/* 表单:聚焦品红环 */
.contact-form input:focus, .contact-form textarea:focus { box-shadow: 0 0 0 4px rgba(209, 38, 111, .12); }

/* 页脚:顶部坐标纸刻度发丝线 + 链接滑入 */
.site-footer { position: relative; }
.site-footer::before {
	content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; opacity: .55;
	background: repeating-linear-gradient(90deg, var(--c-magenta) 0 10px, transparent 10px 20px, var(--c-navy) 20px 30px, transparent 30px 40px);
}
.site-footer__menu a { transition: color .2s ease, padding-left .2s ease; }
.site-footer__menu a:hover { padding-left: 6px; }

/* 减动效 */
@media (prefers-reduced-motion: reduce) {
	.g-dot { animation: none; }
}
