/* ==========================================================================
   析盐环境 XiYan ZLD — 主样式
   结晶几何 · 深海蓝 + 冰晶白 · 菱形切面 · 分盐色带
   ========================================================================== */

:root {
	--c-deep: #0c2f4a;
	--c-deep-2: #123c5c;
	--c-bg: #f2f7fb;
	--c-card: #ffffff;
	--c-ink: #14304a;
	--c-text: #52677a;
	--c-line: #d8e4ee;
	--c-ice: #2ea8c8;
	--c-ice-deep: #1c7f9c;
	--c-ice-pale: #dff0f6;
	--c-salt: #e8f4f8;
	--c-gold: #d9a441;
	--radius: 4px;
	--shadow: 0 12px 30px rgba(12, 47, 74, 0.1);
	--clip-crystal: polygon(50% 0, 100% 28%, 84% 100%, 16% 100%, 0 28%);
	--font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", -apple-system, "Segoe UI", sans-serif;
	--mono: "SF Mono", "Menlo", "Consolas", monospace;
}

/* ---------- 基础 ---------- */
*, *::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: var(--c-bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-ice-deep); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--c-ice); }
h1, h2, h3, h4 { color: var(--c-ink); line-height: 1.28; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
::selection { background: var(--c-ice); color: #fff; }

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

.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-ice); color: #fff;
	padding: 10px 18px; border-radius: 4px;
}
:focus-visible { outline: 2px solid var(--c-ice); outline-offset: 2px; }

/* ---------- 按钮 ---------- */
.btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 12px 26px;
	border-radius: var(--radius);
	border: 1.5px solid transparent;
	font-size: 15px; font-weight: 700;
	cursor: pointer; white-space: nowrap;
	clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
	transition: transform .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--ice { background: linear-gradient(115deg, var(--c-ice), var(--c-ice-deep)); color: #fff; }
.btn--ice:hover { color: #fff; }
.btn--ghost { background: transparent; color: var(--c-ink); border-color: currentColor; clip-path: none; }
.btn--ghost:hover { color: var(--c-ice-deep); }
.hero .btn--ghost { color: #cfe6f2; }
.hero .btn--ghost:hover { color: #fff; }
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--lg { padding: 14px 32px; font-size: 16px; }
.btn--block { width: 100%; justify-content: center; }
.xy-icon { flex-shrink: 0; }

/* ---------- 页头 ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(12, 47, 74, .92);
	backdrop-filter: blur(12px);
}
.site-header.is-scrolled { box-shadow: 0 12px 30px rgba(0, 0, 0, .3); }
.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: 12px; }
.site-brand__mark {
	width: 44px; height: 44px;
	display: grid; place-items: center; color: #fff;
	background: linear-gradient(135deg, var(--c-ice), var(--c-ice-deep));
	clip-path: var(--clip-crystal);
}
.site-brand__name { display: block; font-size: 20px; font-weight: 800; color: #fff; }
.site-brand__slogan { display: block; font-size: 12px; color: rgba(255, 255, 255, .6); letter-spacing: .06em; }
.custom-logo { max-height: 48px; width: auto; }

.site-nav__list { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.site-nav__list li { position: relative; }
.site-nav__list a {
	display: block; padding: 9px 14px;
	color: rgba(255, 255, 255, .85); font-weight: 500; font-size: 14.5px;
}
.site-nav__list a:hover { color: #fff; background: rgba(46, 168, 200, .18); }
.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-deep-2); border: 1px solid rgba(255, 255, 255, .12);
	box-shadow: var(--shadow);
	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: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .25); border-radius: 4px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: #fff; 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 {
	background:
		linear-gradient(140deg, rgba(46, 168, 200, .16), transparent 55%),
		linear-gradient(180deg, var(--c-deep), var(--c-deep-2));
	color: #b9cede;
}
.hero__inner {
	display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center;
	padding-top: 82px; padding-bottom: 90px;
}
.hero__eyebrow {
	display: inline-block;
	font-family: var(--mono); font-size: 12.5px; font-weight: 700; letter-spacing: .22em;
	color: #8fd4e8;
	border: 1px solid rgba(143, 212, 232, .4);
	padding: 6px 14px;
	clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.hero__title { font-size: clamp(32px, 4.4vw, 54px); font-weight: 800; margin: 24px 0 16px; color: #fff; }
.ice-text {
	background: linear-gradient(100deg, #7fd0f0, #bfeaf7);
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__desc { font-size: 16.5px; max-width: 32em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* 结晶流程面板 */
.crystalpanel { display: grid; gap: 0; justify-items: center; }
.crystal {
	width: 100%;
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(143, 212, 232, .35);
	clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
	padding: 18px 24px; text-align: center;
}
.crystal strong { display: block; font-size: 22px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.crystal i { font-style: normal; font-size: 18px; color: #7fd0f0; font-weight: 800; }
.crystal span { display: block; font-size: 12.5px; color: #9fc3d8; margin-top: 3px; }
.crystal--2 { background: rgba(46, 168, 200, .16); }
.crystal__arrow {
	width: 2px; height: 26px;
	background: linear-gradient(180deg, rgba(143, 212, 232, .8), rgba(143, 212, 232, .2));
	position: relative;
}
.crystal__arrow::after {
	content: ""; position: absolute; left: 50%; bottom: -2px; transform: translateX(-50%);
	border: 6px solid transparent; border-top-color: rgba(143, 212, 232, .8);
}
.crystal__split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; }
.crystal--3 { border-color: rgba(127, 208, 240, .6); background: rgba(46, 168, 200, .2); }
.crystal--3 strong { display: inline; font-size: 30px; }
.crystal--4 { border-color: rgba(217, 164, 65, .55); background: rgba(217, 164, 65, .12); }
.crystal--4 strong { color: #ecc981; }

/* ---------- 通用版块 ---------- */
.section { padding: 84px 0; }
.section--pad { padding: 60px 0 84px; }
.section--frost { background: linear-gradient(180deg, #e9f2f8, var(--c-bg)); }
.section-head { max-width: 660px; margin: 0 auto 48px; text-align: center; }
.section-head__eyebrow { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .26em; color: var(--c-ice-deep); margin-bottom: 10px; }
.section-head__title { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 14px; }
.section-head__desc { margin: 0; }
.section-foot { text-align: center; margin: 44px 0 0; }

/* ---------- 能耗账 ---------- */
.ebars { max-width: 860px; margin: 0 auto; display: grid; gap: 22px; }
.ebar {
	background: var(--c-card); border: 1px solid var(--c-line);
	padding: 22px 26px;
	clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}
.ebar__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.ebar__head h3 { font-size: 17px; margin: 0; }
.ebar__badge { font-size: 11.5px; font-weight: 800; color: #fff; background: var(--c-ice); padding: 3px 10px; letter-spacing: .08em; }
.ebar__track { height: 18px; background: var(--c-salt); overflow: hidden; }
.ebar__fill { display: block; height: 100%; width: var(--w, 50%); }
.ebar__fill--mvr { background: linear-gradient(90deg, var(--c-ice), #7fd0f0); }
.ebar__fill--3e { background: linear-gradient(90deg, #9db4c6, #c4d4e0); }
.ebar__note { font-size: 14px; margin: 10px 0 0; }
.ebar__note strong { color: var(--c-ink); }
.ebars__sum { text-align: center; font-size: 15.5px; margin: 6px 0 0; }
.ice { color: var(--c-ice-deep); }

/* ---------- 三种产出 ---------- */
.output-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.output-card {
	background: var(--c-card); border: 1px solid var(--c-line);
	border-top: 5px solid var(--c-ice);
	padding: 28px 28px 22px;
	transition: transform .25s ease, box-shadow .25s ease;
}
.output-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.output-card--water { border-top-color: var(--c-ice); }
.output-card--nacl { border-top-color: #9db4c6; }
.output-card--na2so4 { border-top-color: var(--c-gold); }
.output-card__icon {
	display: inline-grid; place-items: center;
	width: 52px; height: 52px;
	color: var(--c-ice-deep); background: var(--c-ice-pale);
	clip-path: var(--clip-crystal);
	margin-bottom: 14px;
}
.output-card--na2so4 .output-card__icon { color: #a1762a; background: #f7ecd7; }
.output-card h3 { font-size: 18px; margin-bottom: 4px; }
.output-card__num { font-family: var(--mono); font-size: 24px; font-weight: 800; color: var(--c-ink); margin-bottom: 10px; }
.output-card p:last-child { font-size: 14px; margin: 0; }

/* ---------- 产品卡片 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card {
	background: var(--c-card); border: 1px solid var(--c-line);
	overflow: hidden; display: flex; flex-direction: column;
	transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-card__media {
	position: relative; display: block; aspect-ratio: 16 / 10;
	background:
		linear-gradient(120deg, transparent 42%, rgba(46, 168, 200, .12) 42%, rgba(46, 168, 200, .12) 58%, transparent 58%),
		linear-gradient(150deg, #e6eff6, #f2f7fb);
	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-ice-deep); }
.product-card__spec {
	position: absolute; left: 12px; bottom: 12px;
	font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--c-ice-deep);
	background: #fff; border: 1px solid rgba(46, 168, 200, .4);
	padding: 4px 10px;
}
.product-card__body { padding: 20px 24px 22px; display: flex; flex-direction: column; flex: 1; }
.product-card__title { font-size: 17px; margin-bottom: 8px; }
.product-card__title a { color: var(--c-ink); }
.product-card__title a:hover { color: var(--c-ice-deep); }
.product-card__desc { font-size: 14px; flex: 1; margin-bottom: 14px; }
.product-card__more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; transition: gap .2s ease; }
.product-card__more:hover { gap: 10px; }

/* ---------- 数据带 ---------- */
.databand { background: linear-gradient(120deg, var(--c-deep), var(--c-deep-2)); color: #fff; }
.databand__inner {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
	padding-top: 50px; padding-bottom: 50px; text-align: center;
}
.databand strong { display: block; font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; font-variant-numeric: tabular-nums; color: #7fd0f0; }
.databand span { font-size: 13.5px; color: rgba(255, 255, 255, .74); }

/* ---------- 场景 ---------- */
.scene-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.scene-card {
	background: var(--c-card); border: 1px solid var(--c-line);
	padding: 26px 26px 22px;
	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: 50px; height: 50px;
	color: var(--c-ice-deep); background: var(--c-ice-pale);
	clip-path: var(--clip-crystal);
	margin-bottom: 14px;
}
.scene-card h3 { font-size: 17px; margin-bottom: 6px; }
.scene-card p { font-size: 14px; margin: 0; }

/* ---------- 案例 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case-card {
	background: var(--c-card); border: 1px solid var(--c-line);
	padding: 26px 28px;
	clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
	transition: transform .25s ease, box-shadow .25s ease;
}
.case-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.case-card__badge {
	display: inline-block;
	font-family: var(--mono); font-size: 11px; font-weight: 800; letter-spacing: .16em;
	color: var(--c-ice-deep); background: var(--c-ice-pale);
	padding: 3px 12px; margin-bottom: 14px;
}
.case-card h3 { font-size: 17.5px; margin-bottom: 6px; }
.case-card__meta { font-size: 13px; color: var(--c-ice-deep); font-weight: 700; margin-bottom: 10px; }
.case-card__desc { font-size: 14px; margin: 0; }

/* ---------- 新闻 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card {
	background: var(--c-card); border: 1px solid var(--c-line);
	padding: 26px 26px 22px;
	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-ice-deep); font-weight: 700; margin-bottom: 10px; }
.news-card h3 { font-size: 16.5px; margin-bottom: 10px; }
.news-card h3 a { color: var(--c-ink); }
.news-card h3 a:hover { color: var(--c-ice-deep); }
.news-card__desc { font-size: 14px; }
.news-card__more { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; }

/* ---------- 联系 ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.contact__copy .section-head__eyebrow,
.contact__copy .section-head__title { text-align: left; }
.contact__list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 15px; }
.contact__list li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--c-ink); }
.contact__list .xy-icon { color: var(--c-ice-deep); }

.contact__form-wrap {
	background: var(--c-card); border: 1px solid var(--c-line);
	padding: 34px; box-shadow: var(--shadow);
	clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}
.contact-form h3 { font-size: 20px; margin-bottom: 20px; }
.contact-form p { margin-bottom: 16px; }
.contact-form label { display: block; font-size: 14px; font-weight: 700; 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);
	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-ice); background: #fff;
}
.contact-form__tip { font-size: 12.5px; color: #93a7b8; text-align: center; margin: 12px 0 0; }
.hp-field { position: absolute !important; left: -9999px; }
.form-notice {
	background: var(--c-ice-pale); border: 1px solid rgba(46, 168, 200, .5); color: var(--c-ice-deep);
	padding: 13px 17px; margin-bottom: 18px; font-size: 14.5px; font-weight: 600;
}

/* ---------- 内页头部 ---------- */
.page-hero { background: linear-gradient(140deg, var(--c-deep), var(--c-deep-2)); color: #b9cede; padding: 58px 0 50px; }
.page-hero__title { color: #fff; font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; margin: 0; }
.page-hero__sub { margin: 10px 0 0; color: #9fc3d8; }
.page-hero__meta { font-family: var(--mono); font-size: 13px; color: #7fd0f0; font-weight: 700; margin: 0 0 10px; }
.page-hero__meta a { color: #7fd0f0; }

/* ---------- 博客列表 ---------- */
.post-list { display: grid; gap: 20px; max-width: 860px; margin: 0 auto; }
.post-card {
	display: grid; grid-template-columns: 280px 1fr;
	background: var(--c-card); border: 1px solid var(--c-line);
	overflow: hidden; transition: transform .25s ease, box-shadow .25s ease;
}
.post-card:hover { transform: translateY(-4px); 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: 24px 28px; }
.post-card__meta { font-family: var(--mono); font-size: 12.5px; color: var(--c-ice-deep); font-weight: 700; margin-bottom: 8px; }
.post-card__meta a { color: inherit; }
.post-card__title { font-size: 19px; margin-bottom: 8px; }
.post-card__title a { color: var(--c-ink); }
.post-card__title a:hover { color: var(--c-ice-deep); }
.post-card__desc { font-size: 14.5px; margin-bottom: 12px; }
.post-card__more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; }
.no-results { text-align: center; padding: 60px 0; }

.navigation.pagination { margin: 46px 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: 42px; padding: 9px 14px;
	border: 1px solid var(--c-line);
	color: var(--c-ink); font-weight: 700; font-size: 14px; background: var(--c-card);
}
.nav-links .page-numbers.current,
.nav-links .page-numbers:hover { background: var(--c-ice-deep); border-color: var(--c-ice-deep); color: #fff; }

/* ---------- 文章内容 ---------- */
.entry-wrap { max-width: 860px; padding-top: 48px; padding-bottom: 84px; }
.entry { background: var(--c-card); border: 1px solid var(--c-line); padding: 40px 44px; }
.entry__thumb { margin: 0 0 28px; overflow: hidden; }
.entry__content { font-size: 16px; }
.entry__content h2 { font-size: 25px; margin-top: 1.6em; }
.entry__content h3 { font-size: 20px; margin-top: 1.4em; }
.entry__content blockquote {
	margin: 1.5em 0; padding: 16px 24px;
	border-left: 4px solid var(--c-ice);
	background: var(--c-ice-pale);
}
.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: 10px 14px; text-align: left; }
.entry__content th { background: var(--c-ice-pale); }
.entry__tags { margin-top: 26px; font-size: 14px; }
.page-links { margin: 24px 0; }

.post-nav {
	display: flex; justify-content: space-between; gap: 20px;
	margin: 40px 0; font-size: 14.5px;
}
.post-nav__next { text-align: right; }

/* ---------- 评论 ---------- */
.comments-area {
	margin-top: 28px;
	background: var(--c-card); border: 1px solid var(--c-line);
	padding: 34px 40px;
}
.comments-title, .comment-reply-title { font-size: 21px; }
.comment-list { list-style: none; margin: 0 0 30px; padding: 0; }
.comment-list .comment { border-bottom: 1px solid var(--c-line); padding: 20px 0; }
.comment-list .children { list-style: none; padding-left: 40px; }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--c-ink); }
.comment-metadata { font-size: 12.5px; }
.comment-content { font-size: 15px; }
.reply { font-size: 13.5px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 11px 14px;
	border: 1.5px solid var(--c-line);
	font-family: inherit; font-size: 15px; background: var(--c-bg);
}
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--c-ice); background: #fff; }
.form-submit .submit {
	background: linear-gradient(115deg, var(--c-ice), var(--c-ice-deep)); color: #fff; border: 0;
	padding: 12px 30px;
	font-size: 15px; font-weight: 700; cursor: pointer;
}

/* ---------- 搜索 / 404 ---------- */
.search-form { display: flex; gap: 10px; max-width: 480px; }
.search-form__input {
	flex: 1; padding: 12px 16px;
	border: 1.5px solid var(--c-line);
	font-family: inherit; font-size: 15px; background: #fff;
}
.search-form__input:focus { outline: none; border-color: var(--c-ice); }
.error-404 {
	text-align: center; padding: 56px 32px;
	background: var(--c-card); border: 1px solid var(--c-line);
}
.error-404__code {
	font-family: var(--mono);
	font-size: clamp(90px, 15vw, 150px); font-weight: 800; line-height: 1;
	background: linear-gradient(100deg, var(--c-ice), var(--c-deep));
	-webkit-background-clip: text; background-clip: text; color: transparent;
	margin: 0 0 10px;
}
.error-404 .search-form { margin: 24px auto 28px; justify-content: center; }

/* ---------- 产品详情 / 归档 ---------- */
.product-single { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-top: 48px; padding-bottom: 40px; align-items: start; }
.product-single__media {
	position: relative; overflow: hidden;
	aspect-ratio: 4 / 3;
	border: 1px solid var(--c-line);
	background:
		linear-gradient(120deg, transparent 42%, rgba(46, 168, 200, .12) 42%, rgba(46, 168, 200, .12) 58%, transparent 58%),
		linear-gradient(150deg, #e6eff6, #f2f7fb);
	box-shadow: var(--shadow);
}
.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-ice-deep); }
.product-single__body { background: var(--c-card); border: 1px solid var(--c-line); padding: 32px 36px; }
.product-single__summary {
	background: var(--c-ice-pale); border: 1px solid rgba(46, 168, 200, .4);
	padding: 15px 20px; margin-bottom: 22px;
	font-size: 15px; color: var(--c-ink);
}
.product-single__summary p { margin: 0; }
.product-single__cta { margin-top: 28px; padding-top: 24px; border-top: 1.5px dashed var(--c-line); }
.product-single__cta h3 { font-size: 17px; margin-bottom: 6px; }
.product-single__cta p { font-size: 14px; margin-bottom: 16px; }
.product-single__cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.related-title { font-size: 23px; margin-bottom: 26px; }
.archive-cta {
	margin-top: 60px; text-align: center;
	background: var(--c-card); border: 1px solid var(--c-line);
	padding: 46px 32px; box-shadow: var(--shadow);
	clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
}
.archive-cta h2 { font-size: 24px; }
.archive-cta p { margin-bottom: 20px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--c-deep); color: rgba(255, 255, 255, .62); margin-top: 24px; }
.site-footer__grid {
	display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px;
	padding-top: 60px; padding-bottom: 46px;
}
.site-footer__logo { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; color: #fff; margin-bottom: 14px; }
.site-footer__logo .xy-icon { color: #7fd0f0; }
.site-footer__about { font-size: 14px; line-height: 1.85; }
.site-footer__phone { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 800; color: #7fd0f0; margin-top: 18px; }
.site-footer__title { color: #fff; font-size: 15.5px; margin-bottom: 18px; }
.site-footer__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer__menu a { color: rgba(255, 255, 255, .62); font-size: 14px; }
.site-footer__menu a:hover { color: #7fd0f0; }
.site-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 14px; }
.site-footer__contact li { display: flex; gap: 9px; align-items: flex-start; }
.site-footer__contact .xy-icon { color: #7fd0f0; margin-top: 4px; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); }
.site-footer__bottom-inner {
	display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
	padding-top: 20px; padding-bottom: 20px; font-size: 13px;
}
.site-footer__bottom p { margin: 0; }

/* ---------- 返回顶部 ---------- */
.back-to-top {
	position: fixed; right: 26px; bottom: 26px; z-index: 90;
	width: 48px; height: 48px; border: 0;
	display: grid; place-items: center; cursor: pointer;
	background: linear-gradient(135deg, var(--c-ice), var(--c-ice-deep));
	color: #fff;
	clip-path: var(--clip-crystal);
	opacity: 0; visibility: hidden; transform: translateY(12px);
	transition: all .25s ease;
}
.back-to-top .xy-icon { transform: rotate(-90deg); }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- 入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s 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; gap: 44px; padding-top: 60px; padding-bottom: 68px; }
	.output-grid, .product-grid, .scene-grid, .case-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
	.databand__inner { 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-deep-2); box-shadow: -20px 0 60px rgba(0, 0, 0, .5);
		padding: 84px 28px 28px;
		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: 13px 14px; font-size: 16px; }
	.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; }
	.output-grid, .product-grid, .scene-grid, .case-grid, .news-grid { grid-template-columns: 1fr; }
	.databand__inner { grid-template-columns: 1fr 1fr; }
	.post-card { grid-template-columns: 1fr; }
	.post-card__thumb { aspect-ratio: 16 / 9; overflow: hidden; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
	.entry { padding: 26px 22px; }
	.comments-area { padding: 26px 22px; }
	.contact__form-wrap { padding: 26px 22px; clip-path: none; }
	.crystal__split { grid-template-columns: 1fr; }
}

/* 优化 · 全局尊重系统"减少动态效果"（覆盖装饰性 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--ice { background-size: 170% 100%; transition: transform .2s ease, box-shadow .2s ease, background-position .45s ease, color .2s ease; }
.btn--ice:hover { background-position: 80% 0; }

/* 导航:当前项冰蓝 */
.site-nav__list > li.current-menu-item > a { color: var(--c-ice-deep); }

/* 冰字:流光缓移 */
.ice-text { background-size: 200% 100%; animation: xy-iceflow 7s ease-in-out infinite; }
@keyframes xy-iceflow { 0%, 100% { background-position: 0% 0; } 50% { background-position: 90% 0; } }

/* 结晶流程:箭头蒸发流动 + 晶格霜光 */
@keyframes xy-drip { 0% { background-position: 0 -26px; } 100% { background-position: 0 26px; } }
.crystal__arrow {
	background: linear-gradient(180deg, rgba(143, 212, 232, .15), rgba(143, 212, 232, .9), rgba(143, 212, 232, .15));
	background-size: 100% 200%;
	animation: xy-drip 2.2s linear infinite;
}
.crystal { transition: border-color .3s ease, background .3s ease; }
.crystal:hover { border-color: rgba(191, 234, 247, .8); background: rgba(46, 168, 200, .22); }
@keyframes xy-saltglow {
	0%, 100% { box-shadow: 0 0 0 rgba(217, 164, 65, 0); }
	50% { box-shadow: 0 0 22px rgba(217, 164, 65, .25); }
}
.crystal--4 { animation: xy-saltglow 5s ease-in-out infinite; }

/* 能耗账:MVR 条光泽扫过 */
.ebar__fill--mvr { position: relative; overflow: hidden; }
.ebar__fill--mvr::after {
	content: ""; position: absolute; top: 0; bottom: 0; left: -60%;
	width: 45%; transform: skewX(-20deg);
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .4), transparent);
	animation: xy-sheen 4.2s ease-in-out 1.2s infinite;
}
@keyframes xy-sheen { 0%, 55% { left: -60%; } 100% { left: 130%; } }
.ebar { transition: box-shadow .25s ease; }
.ebar:hover { box-shadow: var(--shadow); }

/* 三种产出:晶体图标旋切 + 顶线冻结加深 */
.output-card__icon { transition: transform .35s ease, filter .3s ease; }
.output-card:hover .output-card__icon { transform: rotate(10deg) scale(1.08); filter: brightness(1.06); }
.output-card--water:hover { box-shadow: var(--shadow), inset 0 3px 0 var(--c-ice); }
.output-card--nacl:hover { box-shadow: var(--shadow), inset 0 3px 0 #9db4c6; }
.output-card--na2so4:hover { box-shadow: var(--shadow), inset 0 3px 0 var(--c-gold); }

/* 产品卡:图区微缩放 */
.product-card__media img, .product-card__ph { transition: transform .45s ease; }
.product-card:hover .product-card__media img,
.product-card:hover .product-card__ph { transform: scale(1.05); }

/* 表单:聚焦冰环 */
.contact-form input:focus, .contact-form textarea:focus { box-shadow: 0 0 0 3px rgba(46, 168, 200, .18); }

/* 页脚:顶部冰晶发丝线 + 链接滑入 */
.site-footer { position: relative; }
.site-footer::before {
	content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; opacity: .75;
	background: linear-gradient(90deg, transparent, var(--c-ice) 35%, #7fd0f0 55%, var(--c-gold) 75%, transparent);
}
.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) {
	.ice-text, .crystal__arrow, .crystal--4, .ebar__fill--mvr::after { animation: none; }
}
