/*
Theme Name: 潍坊绿净环境科技 GreenPure Eco
Theme URI: https://example.com/
Author: 林晚秋
Author URI: https://example.com/
Description: 为潍坊绿净环境科技有限公司(虚构演示公司)设计的自然生态风中文企业主题:米白底、森林绿主色、嫩绿与浅木色点缀,大圆角卡片、柔和投影、SVG 有机波浪分隔与叶片纹理;内置「净化设备」自定义文章类型,展示 GP 系列 PP 喷淋塔,文案取温和环保理想主义口吻——还蓝天一份清澈。仅供演示。
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lvjing-eco
Tags: green, business, custom-logo, custom-menu, featured-images, two-columns
*/

/* ==================================================
   0. 设计令牌(自然生态风)
   ================================================== */
:root {
	--bg: #f7f9f4;            /* 米白底 */
	--green: #2f6b3c;         /* 森林绿 */
	--green-dark: #24522e;
	--green-deep: #1d4326;
	--leaf: #9bc53d;          /* 嫩绿 */
	--leaf-soft: rgba(155, 197, 61, 0.16);
	--wood: #e7dcc8;          /* 浅木色 */
	--wood-light: #f3ecdd;
	--tint: #eef4e6;          /* 淡绿背景 */
	--card: #ffffff;
	--ink: #243126;
	--muted: #64735f;
	--line: rgba(47, 107, 60, 0.12);
	--radius: 24px;
	--radius-lg: 32px;
	--radius-pill: 999px;
	--shadow: 0 10px 30px rgba(47, 107, 60, 0.08);
	--shadow-hover: 0 20px 44px rgba(47, 107, 60, 0.14);
	--ease: 0.4s ease;
	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
		"Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC",
		sans-serif;
	--header-h: 84px;
}

/* ==================================================
   1. 基础与排版(留白充足、行距宽松)
   ================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.9;
	color: var(--ink);
	background-color: var(--bg);
	-webkit-font-smoothing: antialiased;
	word-break: break-word;
}

h1, h2, h3, h4, h5, h6 {
	line-height: 1.4;
	color: var(--ink);
	margin: 0 0 0.6em;
	font-weight: 700;
}

p {
	margin: 0 0 1.2em;
}

a {
	color: var(--green);
	text-decoration: none;
	transition: color var(--ease);
}

a:hover {
	color: var(--green-dark);
}

img {
	max-width: 100%;
	height: auto;
	border-radius: var(--radius);
}

ul, ol {
	padding-left: 1.4em;
}

table {
	border-collapse: collapse;
	width: 100%;
}

::selection {
	background: rgba(155, 197, 61, 0.35);
}

:focus-visible {
	outline: 3px solid rgba(155, 197, 61, 0.7);
	outline-offset: 2px;
	border-radius: 6px;
}

[id] {
	scroll-margin-top: calc(var(--header-h) + 24px);
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--green);
	color: #fff;
	padding: 10px 22px;
	border-radius: 0 0 16px 0;
	z-index: 200;
}

.skip-link:focus {
	left: 0;
	color: #fff;
}

.container {
	width: min(1160px, calc(100% - 48px));
	margin-left: auto;
	margin-right: auto;
}

/* ==================================================
   2. 通用组件:胶囊、按钮、卡片、小节标题
   ================================================== */
.pill {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 18px;
	border-radius: var(--radius-pill);
	background: var(--leaf-soft);
	color: var(--green);
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	line-height: 1.6;
}

.pill .leaf-ic {
	width: 15px;
	height: 15px;
	color: var(--leaf);
	flex: none;
}

.pill-wood {
	background: var(--wood-light);
	color: #7a6a4a;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 14px 32px;
	border-radius: var(--radius-pill);
	background: var(--green);
	color: #fff;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.5;
	border: 1.5px solid var(--green);
	cursor: pointer;
	transition: background var(--ease), color var(--ease), transform var(--ease), box-shadow var(--ease);
}

.btn:hover {
	background: var(--green-dark);
	border-color: var(--green-dark);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 12px 26px rgba(47, 107, 60, 0.22);
}

.btn-ghost {
	background: transparent;
	color: var(--green);
}

.btn-ghost:hover {
	background: var(--green);
	color: #fff;
}

.btn-light {
	background: #fff;
	border-color: #fff;
	color: var(--green);
}

.btn-light:hover {
	background: var(--wood-light);
	border-color: var(--wood-light);
	color: var(--green-dark);
	box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}

.card {
	background: var(--card);
	border-radius: var(--radius);
	border: 1px solid rgba(47, 107, 60, 0.06);
	box-shadow: var(--shadow);
	overflow: hidden;
	transition: transform var(--ease), box-shadow var(--ease);
}

.card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-hover);
}

.section {
	padding: 104px 0;
}

.sec-head {
	max-width: 720px;
	margin: 0 auto 56px;
	text-align: center;
}

.sec-head h2 {
	font-size: clamp(1.7rem, 3.4vw, 2.35rem);
	margin: 18px 0 14px;
}

.sec-head .lede {
	color: var(--muted);
	font-size: 1.04rem;
	margin: 0;
}

.sec-more {
	text-align: center;
	margin-top: 52px;
}

/* ==================================================
   3. 有机波浪分隔
   ================================================== */
.wave-sep {
	line-height: 0;
	margin-top: -1px;
}

.wave-sep svg {
	display: block;
	width: 100%;
	height: 72px;
}

/* ==================================================
   4. 页头与导航
   ================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 120;
	background: rgba(247, 249, 244, 0.86);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid transparent;
	transition: box-shadow var(--ease), background var(--ease), border-color var(--ease);
}

.site-header.is-scrolled {
	background: rgba(255, 255, 255, 0.94);
	border-bottom-color: var(--line);
	box-shadow: 0 8px 26px rgba(47, 107, 60, 0.08);
}

body.admin-bar .site-header {
	top: 32px;
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: var(--header-h);
}

.site-brand .custom-logo-link img {
	max-height: 56px;
	width: auto;
	border-radius: 0;
}

.brand-link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
}

.brand-mark {
	width: 48px;
	height: 48px;
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--green);
	border-radius: 16px;
	box-shadow: 0 6px 16px rgba(47, 107, 60, 0.25);
}

.brand-mark svg {
	width: 26px;
	height: 26px;
}

.brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1.35;
}

.brand-name {
	font-size: 1.14rem;
	font-weight: 800;
	color: var(--ink);
	letter-spacing: 0.02em;
}

.brand-slogan {
	font-size: 0.76rem;
	color: var(--muted);
	letter-spacing: 0.14em;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 22px;
}

.nav-list {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-list a {
	display: inline-block;
	position: relative;
	padding: 10px 15px;
	color: var(--ink);
	font-weight: 500;
	border-radius: var(--radius-pill);
	transition: color var(--ease), background var(--ease);
}

.nav-list a::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 4px;
	width: 0;
	height: 3px;
	border-radius: 3px;
	background: var(--leaf);
	transform: translateX(-50%);
	transition: width var(--ease);
}

.nav-list a:hover {
	color: var(--green);
}

.nav-list a:hover::after,
.nav-list .current-menu-item > a::after,
.nav-list .current_page_item > a::after {
	width: 46%;
}

.nav-list .current-menu-item > a,
.nav-list .current_page_item > a {
	color: var(--green);
	font-weight: 700;
}

.btn-nav {
	padding: 10px 24px;
	font-size: 0.94rem;
}

.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 48px;
	height: 48px;
	padding: 12px;
	background: var(--tint);
	border: 1px solid var(--line);
	border-radius: 16px;
	cursor: pointer;
	transition: background var(--ease);
}

.nav-toggle .bar {
	display: block;
	height: 2.5px;
	width: 100%;
	border-radius: 3px;
	background: var(--green);
	transition: transform var(--ease), opacity var(--ease);
}

body.nav-open .nav-toggle .bar:nth-child(2) {
	transform: translateY(7.5px) rotate(45deg);
}

body.nav-open .nav-toggle .bar:nth-child(3) {
	opacity: 0;
}

body.nav-open .nav-toggle .bar:nth-child(4) {
	transform: translateY(-7.5px) rotate(-45deg);
}

/* ==================================================
   5. 首页 hero
   ================================================== */
.hero {
	background-color: var(--tint);
	background-image:
		radial-gradient(560px 320px at 88% 8%, rgba(155, 197, 61, 0.18), transparent 70%),
		radial-gradient(480px 300px at 4% 92%, rgba(231, 220, 200, 0.55), transparent 72%),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cpath d='M28 60c0-20 14-34 34-34 0 20-14 34-34 34z' fill='%232f6b3c' fill-opacity='0.035'/%3E%3Cpath d='M104 132c0-16 11-27 27-27 0 16-11 27-27 27z' fill='%239bc53d' fill-opacity='0.055'/%3E%3Cpath d='M118 36c0-12 8-20 20-20 0 12-8 20-20 20z' fill='%232f6b3c' fill-opacity='0.045'/%3E%3C/svg%3E");
	padding: 96px 0 72px;
	overflow: hidden;
}

.hero-inner {
	display: grid;
	grid-template-columns: 1.08fr 0.92fr;
	gap: 56px;
	align-items: center;
}

.hero-copy h1 {
	font-size: clamp(2rem, 4.6vw, 3.1rem);
	line-height: 1.32;
	margin: 22px 0 18px;
	letter-spacing: 0.01em;
}

.hero-copy h1 em {
	font-style: normal;
	color: var(--green);
	position: relative;
	white-space: nowrap;
}

.hero-copy h1 em::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 6px;
	height: 12px;
	background: rgba(155, 197, 61, 0.35);
	border-radius: 8px;
	z-index: -1;
}

.hero-copy > p {
	color: var(--muted);
	font-size: 1.06rem;
	max-width: 34em;
	margin-bottom: 30px;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 44px;
}

.hero-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.hero-stats li {
	background: rgba(255, 255, 255, 0.75);
	border: 1px solid rgba(47, 107, 60, 0.1);
	border-radius: 22px;
	padding: 14px 22px;
	min-width: 132px;
	text-align: center;
	box-shadow: var(--shadow);
}

.hero-stats strong {
	display: block;
	font-size: 1.35rem;
	color: var(--green);
	line-height: 1.3;
}

.hero-stats span {
	font-size: 0.82rem;
	color: var(--muted);
	letter-spacing: 0.05em;
}

.hero-figure {
	display: flex;
	justify-content: center;
}

.hero-art {
	width: min(100%, 520px);
	height: auto;
}

.hero-art .bubble {
	animation: lv-float 5.5s ease-in-out infinite;
}

.hero-art .bubble-2 {
	animation-delay: 1.3s;
}

.hero-art .bubble-3 {
	animation-delay: 2.4s;
}

.hero-art .leaf-sway {
	animation: lv-sway 7s ease-in-out infinite;
	transform-origin: 80px 120px;
}

.hero-art .leaf-sway-2 {
	animation-delay: 2s;
	transform-origin: 470px 330px;
}

@keyframes lv-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-14px); }
}

@keyframes lv-sway {
	0%, 100% { transform: rotate(0deg); }
	50% { transform: rotate(4deg); }
}

/* ==================================================
   6. 卡片网格(产品/案例/新闻)
   ================================================== */
.card-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.card-grid > .reveal:nth-child(2) { transition-delay: 0.1s; }
.card-grid > .reveal:nth-child(3) { transition-delay: 0.2s; }
.card-grid > .reveal:nth-child(5) { transition-delay: 0.1s; }
.card-grid > .reveal:nth-child(6) { transition-delay: 0.2s; }

.card-media {
	display: block;
	background: var(--tint);
}

.card-media img {
	display: block;
	width: 100%;
	height: 210px;
	object-fit: cover;
	border-radius: 0;
	transition: transform var(--ease);
}

.card:hover .card-media img {
	transform: scale(1.04);
}

.ph-figure {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 210px;
	padding: 18px 0;
}

.ph-figure svg {
	width: 78%;
	max-width: 260px;
	height: auto;
	transition: transform var(--ease);
}

.card:hover .ph-figure svg {
	transform: translateY(-5px);
}

.tint-a { background: linear-gradient(150deg, #eef4e6, #f7f9f4); }
.tint-b { background: linear-gradient(150deg, #f3ecdd, #faf6ec); }
.tint-c { background: linear-gradient(150deg, #e4efdb, #f2f7ec); }
.tint-d { background: linear-gradient(150deg, #eaf2e0, #f6f2e7); }

.card-body {
	padding: 26px 28px 30px;
}

.card-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 12px;
}

.card-tags .pill {
	font-size: 0.76rem;
	padding: 4px 13px;
}

.card-title {
	font-size: 1.16rem;
	margin: 0 0 10px;
}

.card-title a {
	color: var(--ink);
}

.card-title a:hover {
	color: var(--green);
}

.card-text {
	color: var(--muted);
	font-size: 0.94rem;
	margin: 0 0 14px;
}

.card-spec {
	display: inline-block;
	font-size: 0.8rem;
	color: var(--green);
	background: var(--tint);
	border-radius: var(--radius-pill);
	padding: 4px 14px;
	margin-bottom: 14px;
}

.card-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-weight: 600;
	font-size: 0.94rem;
}

.card-link::after {
	content: "→";
	transition: transform var(--ease);
}

.card-link:hover::after {
	transform: translateX(5px);
}

/* ==================================================
   7. 材质与工艺优势(双栏图文)
   ================================================== */
.material-grid {
	display: grid;
	grid-template-columns: 0.92fr 1.08fr;
	gap: 64px;
	align-items: center;
}

.material-figure {
	background: linear-gradient(160deg, #f4f8ef, #ffffff);
	border: 1.5px solid rgba(155, 197, 61, 0.35);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	padding: 34px 26px;
}

.tower-diagram {
	display: block;
	width: 100%;
	height: auto;
}

.material-copy h2 {
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	margin: 18px 0 16px;
}

.material-copy > p {
	color: var(--muted);
}

.material-copy strong {
	color: var(--green-dark);
}

.check-list {
	list-style: none;
	margin: 26px 0 30px;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 13px 24px;
}

.check-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-weight: 500;
}

.check-list li::before {
	content: "";
	flex: none;
	width: 22px;
	height: 22px;
	margin-top: 4px;
	border-radius: 50%;
	background-color: var(--leaf);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-size: 14px;
	background-position: center;
	background-repeat: no-repeat;
}

.flow-card {
	background: var(--wood-light);
	border-radius: var(--radius);
	padding: 26px 28px;
}

.flow-card h3 {
	font-size: 1.02rem;
	margin-bottom: 16px;
	color: #7a6a4a;
	letter-spacing: 0.08em;
}

.flow-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
}

.flow-step {
	display: flex;
	gap: 14px;
	align-items: baseline;
}

.step-num {
	flex: none;
	width: 30px;
	height: 30px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--green);
	color: #fff;
	font-size: 0.85rem;
	font-weight: 700;
	border-radius: 50%;
	transform: translateY(6px);
}

.flow-step p {
	margin: 0;
	font-size: 0.94rem;
	color: #4c5747;
}

/* ==================================================
   8. 应用行业
   ================================================== */
.industries-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.industry-item {
	background: var(--card);
	border-radius: var(--radius);
	border: 1px solid rgba(47, 107, 60, 0.06);
	box-shadow: var(--shadow);
	text-align: center;
	padding: 34px 20px 30px;
	transition: transform var(--ease), box-shadow var(--ease);
}

.industry-item:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-hover);
}

.industry-ic {
	width: 64px;
	height: 64px;
	margin: 0 auto 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--tint);
	border-radius: 50%;
	transition: background var(--ease);
}

.industry-item:hover .industry-ic {
	background: var(--leaf-soft);
}

.industry-ic svg {
	width: 30px;
	height: 30px;
	stroke: var(--green);
	fill: none;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.industry-item h3 {
	font-size: 1.02rem;
	margin: 0 0 6px;
}

.industry-item p {
	font-size: 0.84rem;
	color: var(--muted);
	margin: 0;
}

/* ==================================================
   9. 工程案例
   ================================================== */
.case-metrics {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px dashed var(--line);
}

.case-metrics span {
	font-size: 0.78rem;
	color: var(--green);
	background: var(--tint);
	border-radius: var(--radius-pill);
	padding: 4px 13px;
}

/* ==================================================
   10. 新闻动态
   ================================================== */
.news-card {
	padding: 30px 30px 32px;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.news-date {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--muted);
	font-size: 0.84rem;
	margin-bottom: 14px;
}

.news-date::before {
	content: "";
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--leaf);
}

.news-card .card-title {
	font-size: 1.1rem;
}

.news-card .card-text {
	flex: 1;
}

/* ==================================================
   11. 关于我们
   ================================================== */
.about-grid {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 60px;
	align-items: center;
}

.about-copy h2 {
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	margin: 18px 0 16px;
}

.about-copy p {
	color: var(--muted);
}

.about-feats {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 18px;
}

.feat-item {
	display: flex;
	gap: 16px;
	background: var(--card);
	border-radius: 20px;
	border: 1px solid rgba(47, 107, 60, 0.06);
	box-shadow: var(--shadow);
	padding: 20px 24px;
	transition: transform var(--ease), box-shadow var(--ease);
}

.feat-item:hover {
	transform: translateX(6px);
	box-shadow: var(--shadow-hover);
}

.feat-item .leaf-ic {
	flex: none;
	width: 26px;
	height: 26px;
	color: var(--leaf);
	margin-top: 5px;
}

.feat-item h3 {
	font-size: 1rem;
	margin: 0 0 4px;
}

.feat-item p {
	margin: 0;
	font-size: 0.88rem;
	color: var(--muted);
}

/* ==================================================
   12. 联系我们 CTA
   ================================================== */
.cta-panel {
	background-color: var(--green);
	background-image:
		radial-gradient(420px 260px at 90% 10%, rgba(155, 197, 61, 0.35), transparent 70%),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cpath d='M24 56c0-18 12-30 30-30 0 18-12 30-30 30z' fill='%23ffffff' fill-opacity='0.05'/%3E%3Cpath d='M92 118c0-14 9-23 23-23 0 14-9 23-23 23z' fill='%23ffffff' fill-opacity='0.06'/%3E%3C/svg%3E");
	color: #eaf3e2;
	border-radius: var(--radius-lg);
	box-shadow: 0 26px 60px rgba(47, 107, 60, 0.32);
	padding: 64px 60px;
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 48px;
	align-items: center;
}

.cta-panel h2 {
	color: #fff;
	font-size: clamp(1.5rem, 3vw, 2.1rem);
	margin: 14px 0 12px;
}

.cta-panel .pill {
	background: rgba(255, 255, 255, 0.14);
	color: #dcecc9;
}

.cta-panel .pill .leaf-ic {
	color: var(--leaf);
}

.cta-panel p {
	color: rgba(234, 243, 226, 0.85);
	margin-bottom: 26px;
}

.cta-list {
	list-style: none;
	margin: 0 0 0;
	padding: 0;
	display: grid;
	gap: 14px;
}

.cta-list li {
	display: flex;
	align-items: center;
	gap: 12px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 18px;
	padding: 13px 20px;
	font-size: 0.95rem;
}

.cta-list svg {
	flex: none;
	width: 20px;
	height: 20px;
	stroke: var(--leaf);
	fill: none;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.cta-actions {
	margin-top: 30px;
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

/* ==================================================
   13. 页脚
   ================================================== */
.site-footer {
	background-color: var(--green-deep);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cpath d='M30 64c0-19 13-32 32-32 0 19-13 32-32 32z' fill='%23ffffff' fill-opacity='0.03'/%3E%3Cpath d='M108 134c0-15 10-25 25-25 0 15-10 25-25 25z' fill='%23ffffff' fill-opacity='0.04'/%3E%3C/svg%3E");
	color: rgba(233, 241, 227, 0.82);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.3fr 0.8fr 0.9fr 1.1fr;
	gap: 44px;
	padding: 72px 0 52px;
}

.footer-col h3 {
	color: #fff;
	font-size: 1rem;
	letter-spacing: 0.1em;
	margin-bottom: 18px;
	position: relative;
	padding-bottom: 12px;
}

.footer-col h3::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 30px;
	height: 3px;
	border-radius: 3px;
	background: var(--leaf);
}

.footer-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
}

.footer-brand .brand-mark {
	background: rgba(255, 255, 255, 0.1);
	box-shadow: none;
}

.footer-brand .brand-name {
	color: #fff;
}

.footer-brand .brand-slogan {
	color: rgba(233, 241, 227, 0.6);
}

.footer-col p {
	font-size: 0.9rem;
	color: rgba(233, 241, 227, 0.72);
}

.footer-menu,
.footer-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.footer-menu a,
.footer-list a {
	color: rgba(233, 241, 227, 0.78);
	font-size: 0.92rem;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: color var(--ease), transform var(--ease);
}

.footer-menu a::before,
.footer-list a::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--leaf);
	opacity: 0.7;
}

.footer-menu a:hover,
.footer-list a:hover {
	color: #fff;
	transform: translateX(4px);
}

.footer-contact {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
	font-size: 0.9rem;
}

.footer-contact li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

.footer-contact svg {
	flex: none;
	width: 18px;
	height: 18px;
	margin-top: 6px;
	stroke: var(--leaf);
	fill: none;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 26px 0 30px;
	text-align: center;
	font-size: 0.82rem;
	color: rgba(233, 241, 227, 0.55);
}

.footer-bottom p {
	margin: 0 0 6px;
}

.supplier-line {
	color: rgba(233, 241, 227, 0.7);
}

.to-top {
	position: fixed;
	right: 26px;
	bottom: 30px;
	z-index: 110;
	width: 52px;
	height: 52px;
	border: none;
	border-radius: 50%;
	background: var(--green);
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 12px 28px rgba(47, 107, 60, 0.32);
	opacity: 0;
	visibility: hidden;
	transform: translateY(14px);
	transition: opacity var(--ease), transform var(--ease), background var(--ease);
}

.to-top.is-shown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.to-top:hover {
	background: var(--green-dark);
	transform: translateY(-3px);
}

.to-top svg {
	width: 22px;
	height: 22px;
}

/* ==================================================
   14. 内页:页眉横幅、面包屑、正文
   ================================================== */
.page-hero {
	background-color: var(--tint);
	background-image: radial-gradient(480px 260px at 88% 20%, rgba(155, 197, 61, 0.18), transparent 70%);
	padding: 76px 0 60px;
	text-align: center;
}

.page-hero h1 {
	font-size: clamp(1.7rem, 3.6vw, 2.5rem);
	margin: 16px 0 10px;
}

.page-hero .lede {
	color: var(--muted);
	max-width: 640px;
	margin: 0 auto;
}

.breadcrumbs {
	font-size: 0.86rem;
	color: var(--muted);
	margin-bottom: 4px;
}

.breadcrumbs a {
	color: var(--muted);
}

.breadcrumbs a:hover {
	color: var(--green);
}

.breadcrumbs .sep {
	margin: 0 8px;
	color: var(--leaf);
}

.layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 44px;
	padding: 72px 0 96px;
}

.layout.no-sidebar {
	grid-template-columns: minmax(0, 1fr);
	max-width: 820px;
	margin: 0 auto;
}

.content-col {
	min-width: 0;
}

.post-list {
	display: grid;
	gap: 30px;
}

.post-card {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	align-items: stretch;
}

.post-card.no-thumb {
	grid-template-columns: minmax(0, 1fr);
}

.post-card .card-media img,
.post-card .ph-figure {
	height: 100%;
	min-height: 200px;
}

.post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	font-size: 0.84rem;
	color: var(--muted);
	margin-bottom: 10px;
}

.post-meta span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.post-meta span::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--leaf);
	opacity: 0.8;
}

/* 文章正文 */
.entry-card {
	background: var(--card);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	padding: clamp(28px, 5vw, 56px);
}

.entry-header {
	margin-bottom: 26px;
	text-align: center;
}

.entry-header h1 {
	font-size: clamp(1.5rem, 3.2vw, 2.2rem);
}

.entry-thumb img {
	width: 100%;
	margin-bottom: 28px;
}

.entry-content {
	font-size: 1.02rem;
}

.entry-content h2 {
	font-size: 1.4rem;
	margin-top: 1.8em;
	padding-left: 16px;
	border-left: 4px solid var(--leaf);
	border-radius: 2px;
}

.entry-content h3 {
	font-size: 1.18rem;
	margin-top: 1.5em;
}

.entry-content blockquote {
	margin: 1.6em 0;
	padding: 18px 26px;
	background: var(--tint);
	border-left: 4px solid var(--leaf);
	border-radius: 0 18px 18px 0;
	color: var(--muted);
}

.entry-content table th,
.entry-content table td {
	border: 1px solid var(--line);
	padding: 10px 16px;
	text-align: left;
}

.entry-content table th {
	background: var(--tint);
}

.entry-content code {
	background: var(--tint);
	border-radius: 6px;
	padding: 2px 8px;
	font-size: 0.9em;
}

.post-tags {
	margin-top: 30px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	margin-top: 36px;
}

.post-nav a {
	display: block;
	background: var(--card);
	border-radius: 20px;
	box-shadow: var(--shadow);
	padding: 18px 24px;
	font-size: 0.94rem;
	transition: transform var(--ease), box-shadow var(--ease);
}

.post-nav a:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-hover);
}

.post-nav .nav-next {
	text-align: right;
}

/* 侧栏 */
.sidebar-col .widget {
	background: var(--card);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 26px 28px;
	margin-bottom: 26px;
}

.widget-title {
	font-size: 1.02rem;
	letter-spacing: 0.08em;
	margin-bottom: 16px;
	position: relative;
	padding-bottom: 12px;
}

.widget-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 28px;
	height: 3px;
	border-radius: 3px;
	background: var(--leaf);
}

.widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.widget ul a {
	color: var(--muted);
	font-size: 0.92rem;
}

.widget ul a:hover {
	color: var(--green);
}

/* 分页 */
.pagination {
	margin-top: 48px;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 16px;
	border-radius: var(--radius-pill);
	background: var(--card);
	box-shadow: var(--shadow);
	color: var(--ink);
	font-weight: 600;
	transition: background var(--ease), color var(--ease), transform var(--ease);
}

.page-numbers:hover {
	background: var(--tint);
	color: var(--green);
	transform: translateY(-2px);
}

.page-numbers.current {
	background: var(--green);
	color: #fff;
}

/* 搜索表单 */
.search-form {
	display: flex;
	gap: 0;
	max-width: 520px;
	background: var(--card);
	border: 1.5px solid var(--line);
	border-radius: var(--radius-pill);
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: border-color var(--ease), box-shadow var(--ease);
}

.search-form:focus-within {
	border-color: var(--leaf);
	box-shadow: var(--shadow-hover);
}

.search-field {
	flex: 1;
	min-width: 0;
	border: none;
	background: transparent;
	padding: 14px 24px;
	font-size: 1rem;
	font-family: inherit;
	color: var(--ink);
}

.search-field:focus {
	outline: none;
}

.search-submit {
	border: none;
	background: var(--green);
	color: #fff;
	font-family: inherit;
	font-size: 0.96rem;
	font-weight: 600;
	padding: 0 28px;
	cursor: pointer;
	transition: background var(--ease);
}

.search-submit:hover {
	background: var(--green-dark);
}

/* 空状态 */
.empty-state {
	background: var(--card);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	text-align: center;
	padding: 64px 32px;
}

.empty-state .leaf-ic {
	width: 46px;
	height: 46px;
	color: var(--leaf);
	margin-bottom: 14px;
}

.empty-state h2 {
	font-size: 1.3rem;
}

.empty-state p {
	color: var(--muted);
	max-width: 460px;
	margin: 0 auto 24px;
}

.empty-state .search-form {
	margin: 0 auto;
}

.demo-note {
	text-align: center;
	color: var(--muted);
	font-size: 0.86rem;
	margin-top: 36px;
}

/* 404 */
.error-404 {
	text-align: center;
	padding: 96px 0 110px;
}

.err-code {
	font-size: clamp(4.5rem, 12vw, 7.5rem);
	font-weight: 800;
	color: var(--green);
	line-height: 1;
	letter-spacing: 0.04em;
}

.err-code em {
	font-style: normal;
	color: var(--leaf);
}

.error-404 h1 {
	font-size: 1.5rem;
	margin: 18px 0 10px;
}

.error-404 p {
	color: var(--muted);
	max-width: 480px;
	margin: 0 auto 28px;
}

.error-404 .search-form {
	margin: 0 auto 28px;
}

.err-actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 14px;
}

/* ==================================================
   15. 产品详情页
   ================================================== */
.product-hero-grid {
	display: grid;
	grid-template-columns: 0.95fr 1.05fr;
	gap: 52px;
	align-items: start;
	padding: 64px 0 0;
}

.product-media {
	background: linear-gradient(160deg, #f4f8ef, #ffffff);
	border: 1.5px solid rgba(155, 197, 61, 0.35);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	padding: 30px;
	position: sticky;
	top: calc(var(--header-h) + 24px);
}

.product-media img {
	display: block;
	width: 100%;
	border-radius: 20px;
}

.product-info h1 {
	font-size: clamp(1.6rem, 3.4vw, 2.3rem);
	margin: 14px 0 14px;
}

.product-info .product-excerpt {
	color: var(--muted);
	font-size: 1.03rem;
}

.spec-card {
	background: var(--card);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	overflow: hidden;
	margin: 28px 0;
}

.spec-card h2 {
	font-size: 1.05rem;
	letter-spacing: 0.08em;
	margin: 0;
	padding: 18px 28px;
	background: var(--tint);
	color: var(--green);
	display: flex;
	align-items: center;
	gap: 10px;
}

.spec-card h2 .leaf-ic {
	width: 18px;
	height: 18px;
	color: var(--leaf);
}

.spec-table {
	width: 100%;
}

.spec-table th,
.spec-table td {
	padding: 13px 28px;
	text-align: left;
	font-size: 0.94rem;
	border-top: 1px solid rgba(47, 107, 60, 0.07);
	vertical-align: top;
}

.spec-table th {
	width: 32%;
	color: var(--muted);
	font-weight: 600;
	white-space: nowrap;
}

.spec-table tr:nth-child(odd) td,
.spec-table tr:nth-child(odd) th {
	background: rgba(238, 244, 230, 0.5);
}

.product-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.product-detail {
	padding: 72px 0 0;
}

.product-detail .entry-card {
	max-width: 100%;
}

.material-note {
	margin-top: 34px;
	background: var(--wood-light);
	border-radius: var(--radius);
	padding: 26px 30px;
	display: flex;
	gap: 16px;
	align-items: flex-start;
}

.material-note .leaf-ic {
	flex: none;
	width: 26px;
	height: 26px;
	color: var(--green);
	margin-top: 6px;
}

.material-note p {
	margin: 0;
	font-size: 0.94rem;
	color: #5c5138;
}

.related-sec {
	padding: 88px 0 96px;
}

.related-sec .sec-head {
	margin-bottom: 44px;
}

/* ==================================================
   16. 滚动入场动画
   仅在 html.js(脚本可用)时才隐藏待入场元素;
   无 JS 环境下内容保持可见。
   ================================================== */
html.js .reveal {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 0.8s ease, transform 0.8s ease;
	will-change: opacity, transform;
}

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

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	html.js .reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
	.hero-art .bubble,
	.hero-art .leaf-sway {
		animation: none;
	}
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}

/* ==================================================
   17. 响应式
   ================================================== */
@media (max-width: 1024px) {
	.card-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.industries-grid {
		grid-template-columns: repeat(3, 1fr);
	}
	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}
	.hero-inner,
	.material-grid,
	.about-grid,
	.product-hero-grid {
		grid-template-columns: 1fr;
	}
	.hero-figure {
		order: -1;
	}
	.hero-art {
		width: min(100%, 420px);
	}
	.product-media {
		position: static;
	}
	.cta-panel {
		grid-template-columns: 1fr;
		padding: 48px 40px;
	}
	.layout {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	:root {
		--header-h: 68px;
	}

	.section {
		padding: 72px 0;
	}

	.hero {
		padding: 56px 0 48px;
	}

	.wave-sep svg {
		height: 44px;
	}

	/* 汉堡导航 */
	.nav-toggle {
		display: flex;
	}

	.site-nav {
		position: fixed;
		top: calc(var(--header-h) + 10px);
		left: 16px;
		right: 16px;
		z-index: 130;
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
		background: #ffffff;
		border-radius: var(--radius);
		box-shadow: 0 24px 56px rgba(31, 61, 38, 0.22);
		padding: 20px;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-12px);
		transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
	}

	body.admin-bar .site-nav {
		top: calc(var(--header-h) + 56px);
	}

	body.nav-open .site-nav {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	.nav-list {
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
	}

	.nav-list a {
		display: block;
		padding: 13px 18px;
		border-radius: 16px;
	}

	.nav-list a::after {
		display: none;
	}

	.nav-list a:hover,
	.nav-list .current-menu-item > a,
	.nav-list .current_page_item > a {
		background: var(--tint);
	}

	.btn-nav {
		justify-content: center;
		margin-top: 8px;
	}

	.card-grid,
	.industries-grid {
		grid-template-columns: 1fr;
	}

	.check-list {
		grid-template-columns: 1fr;
	}

	.hero-actions .btn {
		width: 100%;
	}

	.hero-stats {
		width: 100%;
	}

	.hero-stats li {
		flex: 1;
		min-width: 100px;
		padding: 12px 10px;
	}

	.post-card {
		grid-template-columns: 1fr;
	}

	.post-card .card-media img,
	.post-card .ph-figure {
		min-height: 180px;
		height: 180px;
	}

	.post-nav {
		grid-template-columns: 1fr;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 34px;
		padding: 56px 0 40px;
	}

	.cta-panel {
		padding: 40px 26px;
	}

	.material-figure {
		padding: 22px 14px;
	}

	.spec-table th {
		width: 38%;
		white-space: normal;
	}

	.to-top {
		right: 18px;
		bottom: 22px;
	}
}
