/* ==========================================================================
   焱控装备 YanKong RTO — 主样式
   暗炭底 + 熔炉红橙黄渐变 · 热力工程感
   ========================================================================== */

:root {
	--c-bg: #17100d;
	--c-panel: #211511;
	--c-card: #281a14;
	--c-line: rgba(255, 205, 160, 0.13);
	--c-red: #ef4444;
	--c-orange: #f97316;
	--c-amber: #fbbf24;
	--c-head: #fdf2e7;
	--c-text: #bda393;
	--ember: linear-gradient(100deg, var(--c-red), var(--c-orange) 55%, var(--c-amber));
	--radius: 16px;
	--radius-sm: 11px;
	--glow: 0 0 30px rgba(249, 115, 22, 0.25);
	--shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.55);
	--font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", -apple-system, "Segoe UI", sans-serif;
}

/* ---------- 基础 ---------- */
*, *::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-amber); text-decoration: none; transition: color .2s ease; }
a:hover { color: #fde68a; }
h1, h2, h3, h4 { color: var(--c-head); line-height: 1.28; margin: 0 0 .5em; font-weight: 800; }
p { margin: 0 0 1em; }
::selection { background: var(--c-orange); color: #fff; }

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

/* ---------- 按钮 ---------- */
.btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 12px 28px;
	border-radius: var(--radius-sm);
	border: 1px solid transparent;
	font-size: 15px; font-weight: 700;
	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--ember { background: var(--ember); color: #2a1005; box-shadow: 0 10px 28px rgba(249, 115, 22, .32); }
.btn--ember:hover { color: #2a1005; box-shadow: 0 14px 34px rgba(249, 115, 22, .45); }
.btn--ghost { border-color: rgba(255, 205, 160, .4); color: var(--c-head); background: rgba(255, 205, 160, .05); }
.btn--ghost:hover { border-color: var(--c-amber); color: var(--c-amber); }
.btn--outline { border-color: var(--c-orange); color: var(--c-orange); background: transparent; }
.btn--outline:hover { background: rgba(249, 115, 22, .12); color: var(--c-amber); }
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--lg { padding: 14px 32px; font-size: 16px; }
.btn--block { width: 100%; justify-content: center; }
.yk-icon { flex-shrink: 0; }

/* ---------- 页头 ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(23, 16, 13, .88);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--c-line);
}
.site-header.is-scrolled { box-shadow: 0 12px 40px rgba(0, 0, 0, .55); }
.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; border-radius: 12px;
	display: grid; place-items: center; color: #2a1005;
	background: var(--ember);
	box-shadow: var(--glow);
}
.site-brand__name { display: block; font-size: 20px; font-weight: 800; color: var(--c-head); letter-spacing: .03em; }
.site-brand__slogan { display: block; font-size: 12px; color: var(--c-text); letter-spacing: .1em; }
.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-text); font-weight: 600; font-size: 14.5px;
	border-radius: 9px;
}
.site-nav__list a:hover { color: var(--c-amber); background: var(--c-panel); }
.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-panel); border: 1px solid var(--c-line); border-radius: 12px;
	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: 42px; height: 42px; padding: 10px;
	background: none; border: 1px solid var(--c-line); border-radius: 10px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--c-head); 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; overflow: hidden; }
.hero__glow {
	position: absolute; pointer-events: none;
	width: 900px; height: 640px; right: -240px; bottom: -320px;
	background: radial-gradient(ellipse, rgba(249, 115, 22, .28), rgba(239, 68, 68, .1) 50%, transparent 70%);
	filter: blur(6px);
	animation: yk-breathe 6s ease-in-out infinite;
}
@keyframes yk-breathe { 0%, 100% { opacity: .8; } 50% { opacity: 1.0; transform: scale(1.05); } }
.hero__inner {
	position: relative; z-index: 1;
	display: grid; grid-template-columns: 1.04fr .96fr; gap: 52px; align-items: center;
	padding-top: 88px; padding-bottom: 96px;
}
.hero__eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 13.5px; font-weight: 700; letter-spacing: .08em;
	color: var(--c-amber);
	background: rgba(251, 191, 36, .08);
	border: 1px solid rgba(251, 191, 36, .35);
	padding: 7px 16px; border-radius: 999px;
}
.hero__title { font-size: clamp(34px, 4.6vw, 56px); font-weight: 900; margin: 24px 0 18px; }
.hero__title em {
	font-style: normal;
	background: var(--ember);
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__desc { font-size: 16.5px; max-width: 31em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 30px; }
.hero__badges { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0; padding: 0; }
.hero__badges li { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; }
.hero__badges .yk-icon { color: var(--c-amber); }

/* 炉膛仪表 */
.furnace {
	background: linear-gradient(165deg, var(--c-panel), var(--c-card));
	border: 1px solid var(--c-line); border-radius: 20px;
	padding: 28px 30px;
	box-shadow: var(--shadow-lg), inset 0 0 70px rgba(249, 115, 22, .05);
}
.furnace__label { display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 700; color: var(--c-head); margin-bottom: 8px; }
.furnace__label .yk-icon { color: var(--c-orange); }
.furnace__dial { position: relative; max-width: 320px; margin: 0 auto 10px; }
.furnace__dial svg { width: 100%; height: auto; display: block; }
.furnace__value {
	position: absolute; left: 0; right: 0; bottom: 4px;
	text-align: center;
}
.furnace__value strong { font-size: 52px; font-weight: 900; color: var(--c-head); line-height: 1; font-variant-numeric: tabular-nums; }
.furnace__value em { font-style: normal; font-size: 22px; color: var(--c-amber); font-weight: 800; }
.furnace__value span { display: block; font-size: 12.5px; margin-top: 2px; }
.furnace__rows { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.furnace__rows li {
	display: grid; grid-template-columns: 1fr auto 14px; gap: 12px; align-items: center;
	background: rgba(255, 205, 160, .05);
	border: 1px solid var(--c-line); border-radius: 10px;
	padding: 9px 14px; font-size: 13px;
}
.furnace__rows b { color: var(--c-head); font-variant-numeric: tabular-nums; }
.furnace__rows i { width: 9px; height: 9px; border-radius: 50%; }
.furnace__rows i.is-ok { background: #4ade80; box-shadow: 0 0 8px #4ade80; }
.furnace__rows i.is-hot { background: var(--c-amber); box-shadow: 0 0 8px var(--c-amber); }

.hero__heatline {
	position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
	background: var(--ember);
	box-shadow: 0 -2px 22px rgba(249, 115, 22, .55);
}

/* ---------- 安全底线 ---------- */
.safebar { background: var(--c-panel); border-bottom: 1px solid var(--c-line); }
.safebar__inner { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; }
.safebar__label {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 13.5px; font-weight: 800; color: var(--c-amber);
	border: 1px solid rgba(251, 191, 36, .4); border-radius: 999px;
	padding: 6px 15px;
}
.safebar ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 30px; margin: 0; padding: 0; }
.safebar li { font-size: 13.5px; }
.safebar b { color: var(--c-head); margin-right: 6px; }

/* ---------- 通用版块 ---------- */
.section { padding: 92px 0; }
.section--pad { padding: 64px 0 92px; }
.section--panel { background: var(--c-panel); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.section-head { max-width: 660px; margin: 0 auto 52px; text-align: center; }
.section-head__eyebrow { font-size: 12.5px; font-weight: 800; letter-spacing: .3em; color: var(--c-orange); margin-bottom: 11px; }
.section-head__title { font-size: clamp(26px, 3.2vw, 40px); margin-bottom: 14px; }
.section-head__desc { margin: 0; }
.section-foot { text-align: center; margin: 46px 0 0; }

/* ---------- 产品卡片 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
	background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--radius);
	overflow: hidden; display: flex; flex-direction: column;
	transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.product-card:hover { transform: translateY(-6px); border-color: rgba(249, 115, 22, .5); box-shadow: var(--glow); }
.product-card__media {
	position: relative; display: block; aspect-ratio: 16 / 10;
	background:
		radial-gradient(240px 160px at 76% 80%, rgba(249, 115, 22, .28), transparent 70%),
		linear-gradient(160deg, #1d130f, #241610);
	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-orange); }
.product-card__spec {
	position: absolute; left: 14px; bottom: 12px;
	font-size: 12px; font-weight: 700; color: var(--c-amber);
	background: rgba(23, 16, 13, .72);
	border: 1px solid rgba(251, 191, 36, .35);
	padding: 4px 12px; border-radius: 999px;
}
.product-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.product-card__title { font-size: 17px; margin-bottom: 8px; }
.product-card__title a { color: var(--c-head); }
.product-card__title a:hover { color: var(--c-amber); }
.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; }

/* ---------- 浓度标尺 ---------- */
.scale {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
	border-radius: var(--radius); overflow: hidden;
	border: 1px solid var(--c-line);
}
.scale__seg {
	background: var(--c-card);
	padding: 30px 26px 26px;
	position: relative;
	border-left: 1px solid var(--c-line);
}
.scale__seg:first-child { border-left: 0; }
.scale__seg::before {
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px;
	background: rgba(255, 205, 160, .12);
}
.scale__seg:nth-child(1)::before { background: rgba(251, 191, 36, .35); }
.scale__seg:nth-child(2)::before { background: rgba(249, 115, 22, .55); }
.scale__seg:nth-child(3)::before { background: var(--ember); }
.scale__seg:nth-child(4)::before { background: rgba(239, 68, 68, .8); }
.scale__seg--hot { background: linear-gradient(180deg, rgba(249, 115, 22, .12), var(--c-card) 55%); }
.scale__range { display: block; font-size: 24px; font-weight: 900; color: var(--c-amber); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.scale__seg h3 { font-size: 17px; margin-bottom: 6px; }
.scale__seg p { font-size: 13.5px; margin: 0; }

/* ---------- 热平衡账 ---------- */
.heatcalc { display: grid; grid-template-columns: 1.02fr .98fr; gap: 60px; align-items: center; }
.heatcalc__copy .section-head__eyebrow, .heatcalc__copy .section-head__title { text-align: left; }
.heatcalc__list { list-style: none; margin: 26px 0 30px; padding: 0; display: grid; gap: 20px; }
.heatcalc__list li { display: flex; gap: 14px; }
.heatcalc__list li > span {
	flex-shrink: 0; display: grid; place-items: center;
	width: 46px; height: 46px; border-radius: 12px;
	color: var(--c-orange);
	background: rgba(249, 115, 22, .1);
	border: 1px solid rgba(249, 115, 22, .35);
}
.heatcalc__list h3 { font-size: 16.5px; margin-bottom: 3px; }
.heatcalc__list p { font-size: 13.5px; margin: 0; }

.heatcalc__panel {
	background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--radius);
	padding: 30px 32px;
	box-shadow: var(--shadow-lg);
}
.heatcalc__title { display: flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 700; color: var(--c-head); margin-bottom: 18px; }
.heatcalc__title .yk-icon { color: var(--c-amber); }
.heatcalc__rows { display: grid; }
.heatcalc__rows > div {
	display: flex; justify-content: space-between; gap: 16px;
	padding: 13px 4px; border-bottom: 1px dashed var(--c-line);
	font-size: 14.5px;
}
.heatcalc__rows b { color: var(--c-head); font-variant-numeric: tabular-nums; }
.heatcalc__rows .is-minus b { color: #4ade80; }
.heatcalc__rows .is-total { background: rgba(249, 115, 22, .1); border-radius: 10px; border-bottom: 0; margin-top: 6px; padding-left: 14px; padding-right: 14px; }
.heatcalc__rows .is-total b {
	background: var(--ember);
	-webkit-background-clip: text; background-clip: text; color: transparent;
	font-size: 17px; font-weight: 900;
}
.heatcalc__note { font-size: 12.5px; color: #8a7466; margin: 14px 0 0; }

/* ---------- 案例 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card {
	background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--radius);
	padding: 26px 28px;
	transition: transform .25s ease, border-color .25s ease;
}
.case-card:hover { transform: translateY(-5px); border-color: rgba(251, 191, 36, .45); }
.case-card__flame {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 13px; font-weight: 800; letter-spacing: .14em;
	color: var(--c-orange); margin-bottom: 14px;
}
.case-card h3 { font-size: 17.5px; margin-bottom: 6px; }
.case-card__meta { font-size: 13px; color: var(--c-amber); 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: 24px; }
.news-card {
	background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--radius);
	padding: 26px 28px 22px;
	transition: transform .25s ease, border-color .25s ease;
}
.news-card:hover { transform: translateY(-4px); border-color: rgba(249, 115, 22, .45); }
.news-card__date { font-size: 13px; color: var(--c-orange); font-weight: 700; margin-bottom: 10px; }
.news-card h3 { font-size: 16.5px; margin-bottom: 10px; }
.news-card h3 a { color: var(--c-head); }
.news-card h3 a:hover { color: var(--c-amber); }
.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: 60px; 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: 16px; }
.contact__list li { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.contact__list .yk-icon { color: var(--c-orange); }

.contact__form-wrap {
	background: var(--c-card); border: 1px solid var(--c-line); border-radius: 18px;
	padding: 34px; box-shadow: var(--shadow-lg);
	position: relative; overflow: hidden;
}
.contact__form-wrap::before {
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
	background: var(--ember);
}
.contact-form h3 { font-size: 20px; margin-bottom: 20px; }
.contact-form p { margin-bottom: 16px; }
.contact-form label { display: block; font-size: 13.5px; font-weight: 700; color: var(--c-head); margin-bottom: 6px; }
.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form textarea {
	width: 100%; padding: 12px 15px;
	border: 1px solid var(--c-line); border-radius: var(--radius-sm);
	font-family: inherit; font-size: 15px; color: var(--c-head);
	background: var(--c-bg);
	transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
	outline: none; border-color: var(--c-orange);
	box-shadow: 0 0 0 3px rgba(249, 115, 22, .16);
}
.contact-form__tip { font-size: 12.5px; text-align: center; margin: 12px 0 0; }
.hp-field { position: absolute !important; left: -9999px; }
.form-notice {
	background: rgba(74, 222, 128, .1); border: 1px solid rgba(74, 222, 128, .4); color: #4ade80;
	border-radius: var(--radius-sm); padding: 13px 17px; margin-bottom: 18px; font-size: 14px;
}

/* ---------- 内页头部 ---------- */
.page-hero {
	background:
		radial-gradient(560px 260px at 86% 100%, rgba(249, 115, 22, .18), transparent 60%),
		var(--c-panel);
	border-bottom: 1px solid var(--c-line);
	padding: 64px 0;
}
.page-hero__title { font-size: clamp(28px, 3.6vw, 42px); font-weight: 900; margin: 0; }
.page-hero__sub { margin: 10px 0 0; }
.page-hero__meta { font-size: 13.5px; color: var(--c-amber); font-weight: 700; margin: 0 0 10px; }
.page-hero__meta a { color: var(--c-amber); }

/* ---------- 博客列表 ---------- */
.post-list { display: grid; gap: 22px; 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); border-radius: var(--radius);
	overflow: hidden; transition: transform .25s ease, border-color .25s ease;
}
.post-card:hover { transform: translateY(-4px); border-color: rgba(249, 115, 22, .45); }
.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-size: 13px; color: var(--c-orange); 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-head); }
.post-card__title a:hover { color: var(--c-amber); }
.post-card__desc { font-size: 14px; 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); border-radius: 9px;
	color: var(--c-head); font-weight: 700; font-size: 14px;
	background: var(--c-card);
}
.nav-links .page-numbers.current,
.nav-links .page-numbers:hover { background: var(--c-orange); border-color: var(--c-orange); color: #2a1005; }

/* ---------- 文章内容 ---------- */
.entry-wrap { max-width: 860px; padding-top: 48px; padding-bottom: 92px; }
.entry__thumb { margin: 0 0 32px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-line); }
.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 img { border-radius: var(--radius-sm); }
.entry__content blockquote {
	margin: 1.5em 0; padding: 16px 24px;
	border-left: 3px solid var(--c-orange);
	background: var(--c-panel); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	color: var(--c-head);
}
.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-panel); color: var(--c-head); }
.entry__tags { margin-top: 28px; font-size: 14px; }
.page-links { margin: 24px 0; }

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

/* ---------- 评论 ---------- */
.comments-area { margin-top: 48px; }
.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-head); }
.comment-author .avatar { border-radius: 50%; }
.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: 1px solid var(--c-line); border-radius: var(--radius-sm);
	font-family: inherit; font-size: 15px;
	background: var(--c-bg); color: var(--c-head);
}
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--c-orange); }
.form-submit .submit {
	background: var(--ember); color: #2a1005; border: 0;
	border-radius: var(--radius-sm); padding: 12px 30px;
	font-size: 15px; font-weight: 800; cursor: pointer;
}

/* ---------- 搜索 / 404 ---------- */
.search-form { display: flex; gap: 10px; max-width: 480px; }
.search-form__input {
	flex: 1; padding: 12px 16px;
	border: 1px solid var(--c-line); border-radius: var(--radius-sm);
	font-family: inherit; font-size: 15px;
	background: var(--c-card); color: var(--c-head);
}
.search-form__input:focus { outline: none; border-color: var(--c-orange); }
.error-404 { text-align: center; padding: 40px 0; }
.error-404__code {
	font-size: clamp(90px, 16vw, 160px); font-weight: 900; line-height: 1;
	background: var(--ember);
	-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: 48px; padding-top: 56px; padding-bottom: 40px; align-items: start; }
.product-single__media {
	position: relative; border-radius: var(--radius); overflow: hidden;
	aspect-ratio: 4 / 3;
	border: 1px solid var(--c-line);
	background:
		radial-gradient(300px 220px at 70% 82%, rgba(249, 115, 22, .3), transparent 70%),
		linear-gradient(160deg, #1d130f, #241610);
}
.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-orange); }
.product-single__summary {
	background: var(--c-panel); border: 1px solid var(--c-line);
	border-radius: var(--radius-sm); padding: 16px 20px; margin-bottom: 24px;
	font-size: 15px; color: var(--c-head);
}
.product-single__summary p { margin: 0; }
.product-single__cta {
	margin-top: 32px; padding: 26px 28px;
	border: 1px solid rgba(251, 191, 36, .4); border-radius: var(--radius);
	background: rgba(251, 191, 36, .05);
}
.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: 64px; text-align: center;
	background: var(--c-panel); border: 1px solid var(--c-line);
	border-radius: 18px; padding: 48px 32px;
}
.archive-cta h2 { font-size: 24px; }
.archive-cta p { margin-bottom: 20px; }

/* ---------- 页脚 ---------- */
.site-footer { background: #100a08; border-top: 1px solid var(--c-line); }
.site-footer__grid {
	display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px;
	padding-top: 62px; padding-bottom: 46px;
}
.site-footer__logo { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; color: var(--c-head); margin-bottom: 14px; }
.site-footer__logo .yk-icon { color: var(--c-orange); }
.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: var(--c-amber); margin-top: 18px; }
.site-footer__title { color: var(--c-head); 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: var(--c-text); font-size: 14px; }
.site-footer__menu a:hover { color: var(--c-amber); }
.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 .yk-icon { color: var(--c-orange); margin-top: 4px; }
.site-footer__bottom { border-top: 1px solid var(--c-line); }
.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: 46px; height: 46px; border: 0; border-radius: 12px;
	display: grid; place-items: center; cursor: pointer;
	background: var(--ember); color: #2a1005;
	box-shadow: var(--glow);
	opacity: 0; visibility: hidden; transform: translateY(12px);
	transition: all .25s ease;
}
.back-to-top .yk-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; }
	.hero__glow { animation: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
	.hero__inner { grid-template-columns: 1fr; padding-top: 64px; }
	.product-grid, .case-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
	.scale { grid-template-columns: 1fr 1fr; }
	.scale__seg { border-top: 1px solid var(--c-line); }
	.heatcalc { grid-template-columns: 1fr; gap: 44px; }
	.contact { grid-template-columns: 1fr; gap: 44px; }
	.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-panel); box-shadow: -20px 0 60px rgba(0, 0, 0, .65);
		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: 64px 0; }
	.product-grid, .case-grid, .news-grid { grid-template-columns: 1fr; }
	.scale { 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: 32px; }
	.contact__form-wrap { padding: 26px 22px; }
	.furnace { padding: 22px 20px; }
	.safebar ul { gap: 8px 18px; }
}

/* 优化 · 全局尊重系统"减少动态效果"（覆盖装饰性 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: 88px; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.btn:active { transform: translateY(0) scale(.98); transition-duration: .08s; }

/* 暗色滚动条:余烬拇指 */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--c-bg); }
::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, rgba(239, 68, 68, .4), rgba(249, 115, 22, .4));
	border-radius: 8px; border: 3px solid var(--c-bg);
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, rgba(239, 68, 68, .6), rgba(251, 191, 36, .55)); }

/* 余烬按钮:渐变缓移 */
.btn--ember { background-size: 170% 100%; transition: transform .2s ease, box-shadow .2s ease, background-position .45s ease, color .2s ease; }
.btn--ember:hover { background-position: 80% 0; }

/* 导航:当前项琥珀常亮 */
.site-nav__list > li.current-menu-item > a { color: var(--c-amber); background: var(--c-panel); }

/* 首屏热力线:熔流缓动 + 辉光呼吸 */
.hero__heatline { background-size: 250% 100%; animation: yk-heatflow 7s ease-in-out infinite; }
@keyframes yk-heatflow {
	0%, 100% { background-position: 0% 0; box-shadow: 0 -2px 22px rgba(249, 115, 22, .55); }
	50% { background-position: 100% 0; box-shadow: 0 -2px 30px rgba(249, 115, 22, .75); }
}

/* 炉温读数:微光呼吸 */
@keyframes yk-emberglow {
	0%, 100% { text-shadow: 0 0 14px rgba(249, 115, 22, .3); }
	50% { text-shadow: 0 0 26px rgba(249, 115, 22, .55); }
}
.furnace__value strong { animation: yk-emberglow 4.2s ease-in-out infinite; }
.furnace__rows li { transition: background .25s ease, border-color .25s ease; }
.furnace__rows li:hover { background: rgba(255, 205, 160, .1); border-color: rgba(251, 191, 36, .35); }

/* 产品卡:图区微缩放 + 规格丸点亮 */
.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); }
.product-card__spec { transition: border-color .25s ease, box-shadow .25s ease; }
.product-card:hover .product-card__spec { border-color: rgba(251, 191, 36, .7); box-shadow: 0 0 12px rgba(251, 191, 36, .25); }

/* 浓度标尺:分段悬停升起 + 顶带增亮 */
.scale__seg { transition: transform .25s ease, background .3s ease; }
.scale__seg:hover { transform: translateY(-4px); background: linear-gradient(180deg, rgba(249, 115, 22, .08), var(--c-card) 60%); }
.scale__seg::before { transition: filter .25s ease; }
.scale__seg:hover::before { filter: brightness(1.25); }
.scale__range { transition: color .25s ease; }
.scale__seg:hover .scale__range { color: #fcd34d; }

/* 热平衡:图标点燃 + 合计余烬流字 */
.heatcalc__list li > span { transition: box-shadow .3s ease, border-color .3s ease; }
.heatcalc__list li:hover > span { border-color: rgba(249, 115, 22, .6); box-shadow: 0 0 18px rgba(249, 115, 22, .25); }
.heatcalc__rows .is-total b { background-size: 220% 100%; animation: yk-emberflow 5s ease-in-out infinite; }
@keyframes yk-emberflow { 0%, 100% { background-position: 0% 0; } 50% { background-position: 95% 0; } }
.heatcalc__rows > div { transition: border-color .25s ease; }
.heatcalc__rows > div:hover { border-bottom-color: rgba(251, 191, 36, .35); }

/* 安全底线:标签微光 */
.safebar__label { transition: box-shadow .3s ease; }
.safebar__label:hover { box-shadow: 0 0 16px rgba(251, 191, 36, .25); }

/* 页脚:顶部余烬发丝线 + 链接滑入 */
.site-footer { position: relative; }
.site-footer::before {
	content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1.5px; opacity: .75;
	background: linear-gradient(90deg, transparent, var(--c-red) 30%, var(--c-orange) 50%, var(--c-amber) 70%, 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) {
	.hero__heatline, .furnace__value strong, .heatcalc__rows .is-total b { animation: none; }
}
