/*
GreenMach 食品机械官网 静态版样式
绿色简约企业官网设计，响应式布局（电脑 / 平板 / 手机）。
本文件由 WordPress 主题 greenmach/style.css 移植而来，
宝塔面板建站无需任何后端环境，纯 HTML/CSS/JS 即可运行。
*/

/* ==========================================================================
   1. 变量与基础
   ========================================================================== */

:root {
	--green-50: #eef8f1;
	--green-100: #d9f0e2;
	--green-200: #b5e2c8;
	--green-400: #4dbd7e;
	--green-500: #27a05f;
	--green-600: #1d7f4b;
	--green-700: #14663c;
	--green-800: #0f4a2c;
	--green-900: #0b2417;
	--text: #24312a;
	--text-soft: #42524a;
	--muted: #64736a;
	--line: #e3ece6;
	--bg-soft: #f5faf7;
	--white: #ffffff;
	--radius: 14px;
	--shadow-sm: 0 4px 14px rgba(15, 74, 44, 0.08);
	--shadow-md: 0 14px 32px rgba(15, 74, 44, 0.12);
	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
		"Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, 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.7;
	color: var(--text);
	background: var(--white);
	overflow-x: hidden;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--green-600);
}

a:focus-visible,
button:focus-visible {
	outline: 2px solid var(--green-500);
	outline-offset: 2px;
}

::selection {
	background: var(--green-500);
	color: #fff;
}

section[id] {
	scroll-margin-top: 86px;
}

.container {
	max-width: 1180px;
	margin: 0 auto;
	padding-left: 20px;
	padding-right: 20px;
}

.container--narrow {
	max-width: 860px;
}

.s-icon {
	display: inline-flex;
	flex: none;
	line-height: 1;
}

.s-icon svg {
	width: 18px;
	height: 18px;
	display: block;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 8px;
	z-index: 999;
	background: var(--green-700);
	color: #fff;
	padding: 10px 18px;
	border-radius: 8px;
	text-decoration: none;
}

.skip-link:focus {
	left: 8px;
}

/* ==========================================================================
   2. 按钮
   ========================================================================== */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 26px;
	border-radius: 999px;
	font-family: var(--font);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	border: 1.5px solid transparent;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease,
		border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn .s-icon svg {
	width: 17px;
	height: 17px;
}

.btn--primary {
	background: var(--green-600);
	color: #fff;
}

.btn--primary:hover {
	background: var(--green-700);
	transform: translateY(-1px);
	box-shadow: var(--shadow-sm);
}

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

.btn--light:hover {
	background: var(--green-50);
	transform: translateY(-1px);
	box-shadow: var(--shadow-sm);
}

.btn--ghost {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.65);
}

.btn--ghost:hover {
	background: rgba(255, 255, 255, 0.14);
}

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

.btn--outline:hover {
	background: var(--green-50);
}

/* ==========================================================================
   3. 头部
   ========================================================================== */

.site-header {
	position: relative;
}

.topbar {
	background: var(--green-700);
	color: rgba(255, 255, 255, 0.92);
	font-size: 13px;
}

.topbar__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	min-height: 36px;
	padding-top: 6px;
	padding-bottom: 6px;
}

.topbar__item {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.topbar .s-icon svg {
	width: 14px;
	height: 14px;
	opacity: 0.9;
}

.topbar a {
	color: #fff;
	text-decoration: none;
	font-weight: 600;
}

.topbar a:hover {
	text-decoration: underline;
}

.header-main {
	position: sticky;
	top: 0;
	z-index: 80;
	background: #fff;
	border-bottom: 1px solid var(--line);
	transition: box-shadow 0.25s ease;
}

.header-main.is-scrolled {
	box-shadow: 0 4px 20px rgba(20, 60, 40, 0.09);
}

.header-main__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 76px;
}

/* Logo */
.custom-logo-link img {
	max-height: 56px;
	width: auto;
	display: block;
}

.site-logo {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: inherit;
}

.site-logo__mark {
	width: 42px;
	height: 42px;
	flex: none;
}

.site-logo__mark svg {
	width: 100%;
	height: 100%;
	display: block;
}

.site-logo__text {
	display: flex;
	flex-direction: column;
	line-height: 1.3;
}

.site-logo__name {
	font-size: 19px;
	font-weight: 800;
	color: var(--text);
	letter-spacing: 0.5px;
}

.site-logo__slogan {
	font-size: 12px;
	color: var(--muted);
}

/* 桌面导航 */
.site-nav .nav-list {
	display: flex;
	gap: 30px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-list a {
	color: var(--text);
	text-decoration: none;
	font-size: 15.5px;
	font-weight: 500;
	position: relative;
	display: inline-block;
	padding: 6px 0;
}

.nav-list a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2.5px;
	background: var(--green-500);
	border-radius: 2px;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s ease;
}

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

.nav-list a:hover::after,
.nav-list .current-menu-item > a::after,
.nav-list .current_page_item > a::after {
	transform: scaleX(1);
}

.header-cta {
	padding: 10px 22px;
	font-size: 14.5px;
}

/* 汉堡按钮 */
.nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: #fff;
	cursor: pointer;
}

.nav-toggle span {
	display: block;
	width: 20px;
	height: 2px;
	background: var(--text);
	border-radius: 2px;
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-open .nav-toggle span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
	opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* 移动端菜单面板 */
.mobile-nav {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 79;
	background: #fff;
	border-bottom: 1px solid var(--line);
	box-shadow: 0 18px 32px rgba(10, 40, 25, 0.14);
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
}

.nav-open .mobile-nav {
	max-height: 460px;
}

.mobile-nav .nav-list {
	list-style: none;
	margin: 0;
	padding: 14px 20px;
	display: grid;
	gap: 2px;
}

.mobile-nav .nav-list a {
	display: block;
	padding: 12px 6px;
	font-size: 16px;
	border-bottom: 1px solid var(--bg-soft);
}

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

.mobile-nav__cta {
	margin: 14px 20px 20px;
	width: calc(100% - 40px);
}

/* ==========================================================================
   4. 首屏 Hero
   ========================================================================== */

.hero {
	position: relative;
	background: linear-gradient(135deg, var(--green-800) 0%, var(--green-700) 45%, var(--green-600) 100%);
	color: #fff;
	overflow: hidden;
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1.5px, transparent 1.5px);
	background-size: 26px 26px;
}

.hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 40px;
	align-items: center;
	min-height: 500px;
	padding-top: 72px;
	padding-bottom: 72px;
}

.hero__eyebrow {
	display: inline-flex;
	padding: 7px 16px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.28);
	font-size: 13px;
	letter-spacing: 1px;
	margin: 0 0 20px;
}

.hero__title {
	font-size: clamp(32px, 4.6vw, 50px);
	font-weight: 800;
	line-height: 1.24;
	letter-spacing: 0.5px;
	margin: 0 0 18px;
}

.hero__sub {
	font-size: clamp(15px, 1.6vw, 17px);
	color: rgba(255, 255, 255, 0.88);
	line-height: 1.95;
	max-width: 480px;
	margin: 0 0 30px;
}

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

/* （原首屏装饰大图规则已随装饰图移除而删除） */

/* ==========================================================================
   5. 区块通用
   ========================================================================== */

.section {
	padding: 84px 0;
}

.section--soft {
	background: var(--bg-soft);
}

.section-head {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 44px;
}

.section-head--left {
	text-align: left;
	margin: 0 0 22px;
}

.section-head__eyebrow {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 2.5px;
	color: var(--green-600);
	margin: 0 0 8px;
}

.section-head__title {
	font-size: clamp(24px, 3vw, 32px);
	font-weight: 800;
	color: var(--text);
	margin: 0;
}

.section-head__sub {
	color: var(--muted);
	font-size: 15px;
	margin: 12px 0 0;
}

.section-more {
	text-align: center;
	margin-top: 36px;
}

.section-empty {
	text-align: center;
	color: var(--muted);
	padding: 30px 0;
}

/* ==========================================================================
   6. 产品卡片
   ========================================================================== */

.product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 22px;
}

.p-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.p-card:hover {
	transform: translateY(-5px);
	border-color: var(--green-400);
	box-shadow: var(--shadow-md);
}

.p-card__media {
	display: grid;
	place-items: center;
	height: 150px;
	background: linear-gradient(180deg, var(--green-50), #fff);
	border-bottom: 1px solid var(--line);
	color: var(--green-600);
}

.p-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.p-card__media .icon svg {
	width: 88px;
	height: 88px;
}

.p-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 18px 18px 16px;
}

.p-card__title {
	font-size: 17px;
	font-weight: 700;
	margin: 0 0 6px;
	color: var(--text);
}

.p-card__desc {
	font-size: 13px;
	line-height: 1.7;
	color: var(--muted);
	margin: 0;
	flex: 1;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.p-card__more {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: 12px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--green-600);
}

.p-card__arrow {
	transition: transform 0.25s ease;
}

.p-card:hover .p-card__arrow {
	transform: translateX(3px);
}

.icon {
	display: grid;
	place-items: center;
	line-height: 1;
}

/* 定制需求提示条 */
.more-strip {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 38px;
	padding: 26px 30px;
	border-radius: 16px;
	background: var(--green-50);
	border: 1px solid var(--green-100);
}

.more-strip__title {
	font-size: 18px;
	font-weight: 700;
	color: var(--green-800);
	margin: 0 0 4px;
}

.more-strip__sub {
	font-size: 14px;
	color: var(--muted);
	margin: 0;
}

.more-strip .btn {
	flex: none;
}

/* ==========================================================================
   7. 核心优势
   ========================================================================== */

.features {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.feature {
	text-align: center;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 30px 20px 26px;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-sm);
}

.feature__icon {
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	margin: 0 auto 14px;
	border-radius: 50%;
	background: var(--green-50);
	color: var(--green-600);
}

.feature__icon .s-icon svg {
	width: 26px;
	height: 26px;
}

.feature__title {
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 6px;
}

.feature__text {
	font-size: 13px;
	color: var(--muted);
	margin: 0;
	line-height: 1.7;
}

/* ==========================================================================
   8. 关于我们
   ========================================================================== */

.about-grid {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: 56px;
	align-items: center;
}

.about-visual {
	position: relative;
}

.about-visual__panel {
	height: 320px;
	border-radius: 20px;
	border: 1px solid var(--green-100);
	display: grid;
	place-items: center;
	color: var(--green-500);
	background-color: var(--green-50);
	background-image: radial-gradient(rgba(39, 160, 95, 0.12) 2px, transparent 2px),
		linear-gradient(140deg, var(--green-100), var(--green-50) 60%, #fff);
	background-size: 22px 22px, auto;
}

.about-visual__panel svg {
	width: 120px;
	height: 120px;
}

.about-visual__badge {
	position: absolute;
	left: 18px;
	bottom: 18px;
	display: flex;
	flex-direction: column;
	align-items: center;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 14px 24px;
	box-shadow: var(--shadow-sm);
}

.about-visual__num {
	font-size: 28px;
	font-weight: 800;
	color: var(--green-600);
	line-height: 1.2;
}

.about-visual__label {
	font-size: 12px;
	color: var(--muted);
}

.about-desc {
	font-size: 15px;
	line-height: 1.95;
	color: var(--text-soft);
	margin: 0 0 18px;
}

.about-list {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
}

.about-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14.5px;
	color: var(--text);
	padding: 6px 0;
}

.about-list .s-icon svg {
	width: 18px;
	height: 18px;
	color: var(--green-600);
	margin-top: 3px;
}

.stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-top: 12px;
}

.stat {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 16px 12px;
	text-align: center;
}

.stat__num {
	display: block;
	font-size: 26px;
	font-weight: 800;
	color: var(--green-700);
	line-height: 1.2;
}

.stat__num em {
	font-style: normal;
	font-size: 18px;
	color: var(--green-500);
	margin-left: 2px;
}

.stat__label {
	display: block;
	font-size: 12.5px;
	color: var(--muted);
	margin-top: 4px;
}

/* ==========================================================================
   9. 联系我们
   ========================================================================== */

.section--contact {
	background: linear-gradient(135deg, var(--green-800) 0%, var(--green-700) 55%, var(--green-600) 100%);
	color: #fff;
}

.section--contact .section-head__eyebrow {
	color: rgba(255, 255, 255, 0.75);
}

.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
}

.contact-title {
	font-size: clamp(26px, 3vw, 34px);
	font-weight: 800;
	line-height: 1.35;
	margin: 14px 0;
}

.contact-sub {
	color: rgba(255, 255, 255, 0.85);
	font-size: 15px;
	margin: 0 0 26px;
}

.contact-info {
	display: grid;
	gap: 22px;
}

.contact-info__row {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

.contact-info__icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	flex: none;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.12);
}

.contact-info__icon .s-icon svg {
	width: 20px;
	height: 20px;
}

.contact-info__label {
	font-size: 12.5px;
	color: rgba(255, 255, 255, 0.65);
	margin: 0 0 2px;
}

.contact-info__value {
	font-size: 14.5px;
	color: rgba(255, 255, 255, 0.92);
	margin: 0;
}

.contact-info__phone {
	display: block;
	font-size: 20px;
	font-weight: 700;
	color: #fff;
	text-decoration: none;
	line-height: 1.4;
}

.contact-info__phone:hover {
	text-decoration: underline;
}

/* ==========================================================================
   10. 页脚
   ========================================================================== */

.site-footer {
	background: var(--green-900);
	color: rgba(255, 255, 255, 0.72);
	font-size: 14px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.3fr 0.8fr 0.9fr 1.2fr;
	gap: 40px;
	padding: 56px 0 40px;
}

.footer-title {
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 16px;
}

.footer-about {
	font-size: 13.5px;
	line-height: 1.95;
	margin: 0;
}

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

.footer-links a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.footer-links a:hover {
	color: #fff;
}

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

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

.footer-contact .s-icon svg {
	width: 16px;
	height: 16px;
	color: rgba(255, 255, 255, 0.5);
	margin-top: 3px;
}

.footer-contact a {
	color: inherit;
	text-decoration: none;
}

.footer-contact a:hover {
	color: #fff;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 18px 0;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.55);
}

.footer-bottom__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.footer-bottom a {
	color: inherit;
	text-decoration: none;
}

.footer-bottom a:hover {
	color: #fff;
}

/* ==========================================================================
   11. 移动端底部行动栏
   ========================================================================== */

.mobile-bar {
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 90;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
	background: #fff;
	border-top: 1px solid var(--line);
	box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.08);
}

.mobile-bar__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 42px;
	border-radius: 10px;
	font-size: 14.5px;
	font-weight: 600;
	color: var(--green-700);
	border: 1.5px solid var(--green-600);
	text-decoration: none;
}

.mobile-bar__btn .s-icon svg {
	width: 17px;
	height: 17px;
}

.mobile-bar__btn--phone {
	background: var(--green-600);
	color: #fff;
	border-color: transparent;
}

@media (max-width: 767px) {
	.mobile-bar {
		display: grid;
	}

	body {
		padding-bottom: 72px;
	}
}

/* ==========================================================================
   12. 页头（列表页 / 面包屑）
   ========================================================================== */

.page-head {
	background: var(--green-50);
	border-bottom: 1px solid var(--green-100);
	padding: 22px 0;
}

.page-head--tall {
	padding: 52px 0;
	background: linear-gradient(135deg, var(--green-50), #fff);
	text-align: center;
}

.page-head__title {
	font-size: clamp(24px, 3vw, 32px);
	font-weight: 800;
	margin: 0;
}

.page-head__sub {
	color: var(--muted);
	font-size: 14.5px;
	margin: 10px 0 0;
}

.breadcrumb {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13.5px;
	color: var(--muted);
}

.breadcrumb a {
	color: var(--muted);
	text-decoration: none;
}

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

.breadcrumb__sep {
	opacity: 0.6;
}

.breadcrumb__current {
	color: var(--text);
	font-weight: 600;
}

/* ==========================================================================
   13. 产品详情页
   ========================================================================== */

.product-detail {
	padding: 40px 20px 0;
}

.pd-grid {
	display: grid;
	grid-template-columns: 1fr 1.05fr;
	gap: 44px;
	align-items: center;
	padding-bottom: 44px;
	border-bottom: 1px solid var(--line);
}

.pd-visual {
	display: grid;
	place-items: center;
	min-height: 340px;
	border-radius: 18px;
	border: 1px solid var(--green-100);
	background: linear-gradient(180deg, var(--green-50), #fff);
	color: var(--green-600);
}

.pd-visual .icon svg {
	width: 150px;
	height: 150px;
}

.pd-visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: inherit;
}

.pd-title {
	font-size: clamp(26px, 3vw, 34px);
	font-weight: 800;
	margin: 0 0 14px;
}

.pd-excerpt {
	font-size: 15.5px;
	line-height: 1.95;
	color: var(--text-soft);
	margin: 0 0 22px;
}

.pd-actions {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	margin-bottom: 16px;
}

.pd-tip {
	font-size: 13px;
	color: var(--muted);
	margin: 0;
}

/* 正文排版 */
.entry-content {
	margin-top: 44px;
	color: var(--text-soft);
	font-size: 15.5px;
	line-height: 1.95;
}

.entry-content h2 {
	font-size: 22px;
	font-weight: 800;
	color: var(--text);
	margin: 36px 0 16px;
	padding-left: 14px;
	border-left: 4px solid var(--green-500);
	line-height: 1.4;
}

.entry-content h2:first-child {
	margin-top: 0;
}

.entry-content h3 {
	font-size: 18px;
	font-weight: 700;
	color: var(--text);
	margin: 26px 0 12px;
}

.entry-content p {
	margin: 0 0 14px;
}

.entry-content img {
	border-radius: 10px;
}

.entry-content ul {
	list-style: none;
	margin: 0 0 14px;
	padding: 0;
}

.entry-content ul li {
	position: relative;
	padding: 6px 0 6px 30px;
}

.entry-content ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 10px;
	width: 19px;
	height: 19px;
	border-radius: 50%;
	background: var(--green-50);
}

.entry-content ul li::after {
	content: "";
	position: absolute;
	left: 5px;
	top: 15px;
	width: 9px;
	height: 5px;
	border-left: 2px solid var(--green-600);
	border-bottom: 2px solid var(--green-600);
	transform: rotate(-45deg);
}

.table-wrap {
	overflow-x: auto;
	margin: 18px 0;
}

.entry-content table {
	width: 100%;
	min-width: 460px;
	border-collapse: collapse;
	font-size: 14.5px;
}

.entry-content th {
	background: var(--green-600);
	color: #fff;
	padding: 12px 16px;
	text-align: left;
	font-weight: 600;
}

.entry-content td {
	padding: 11px 16px;
	border-bottom: 1px solid var(--line);
}

.entry-content tbody tr:nth-child(even) td {
	background: var(--bg-soft);
}

.entry-content td:first-child {
	color: var(--text);
	font-weight: 600;
	white-space: nowrap;
}

.note {
	font-size: 13px;
	color: var(--muted);
}

/* 咨询横幅 */
.cta-band-wrap {
	padding-top: 30px;
}

.cta-band {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	padding: 34px 40px;
	border-radius: 18px;
	background: linear-gradient(135deg, var(--green-700), var(--green-600));
	color: #fff;
}

.cta-band__title {
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 6px;
}

.cta-band__sub {
	font-size: 14.5px;
	color: rgba(255, 255, 255, 0.85);
	margin: 0;
}

/* ==========================================================================
   14. 文章列表 / 普通页面 / 分页
   ========================================================================== */

.single-title {
	font-size: clamp(24px, 3vw, 30px);
	font-weight: 800;
	margin: 0 0 10px;
}

.single-meta {
	color: var(--muted);
	font-size: 13.5px;
	margin-bottom: 24px;
}

.post-item {
	padding: 28px 0;
	border-bottom: 1px solid var(--line);
}

.post-item:first-child {
	padding-top: 0;
}

.post-item__title {
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 8px;
}

.post-item__title a {
	color: var(--text);
	text-decoration: none;
}

.post-item__title a:hover {
	color: var(--green-600);
}

.post-item__meta {
	color: var(--muted);
	font-size: 13px;
	margin-bottom: 10px;
}

.post-item__excerpt {
	color: var(--muted);
	font-size: 14px;
	margin: 0;
}

.nav-links {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 40px;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: 10px;
	color: var(--text);
	text-decoration: none;
	font-size: 14px;
}

.page-numbers:hover {
	border-color: var(--green-400);
	color: var(--green-600);
}

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

/* ==========================================================================
   15. 滚动显现动画
   ========================================================================== */

.js .reveal {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.js .reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* ==========================================================================
   16. 响应式
   ========================================================================== */

@media (max-width: 900px) {
	.site-nav,
	.header-cta {
		display: none;
	}

	.nav-toggle {
		display: flex;
	}

	.mobile-nav {
		display: block;
	}

	.hero__inner {
		grid-template-columns: 1fr;
		min-height: 0;
		gap: 28px;
		padding-top: 56px;
		padding-bottom: 44px;
	}


	.features {
		grid-template-columns: 1fr 1fr;
	}

	.about-grid,
	.contact-grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.about-visual__panel {
		height: 260px;
	}

	.pd-grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.pd-visual {
		min-height: 260px;
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 32px;
	}
}

@media (max-width: 640px) {
	.topbar__item:last-child {
		display: none;
	}

	.section {
		padding: 60px 0;
	}

	.section-head {
		margin-bottom: 32px;
	}

	.features {
		gap: 14px;
	}

	.feature {
		padding: 24px 12px 20px;
	}

	.product-grid {
		gap: 14px;
	}

	.p-card__media {
		height: 128px;
	}

	.p-card__media .icon svg {
		width: 72px;
		height: 72px;
	}

	.p-card__body {
		padding: 14px 14px 12px;
	}

	.p-card__title {
		font-size: 15.5px;
	}

	.p-card__desc {
		font-size: 12.5px;
	}

	.more-strip {
		flex-direction: column;
		align-items: flex-start;
		padding: 22px 20px;
	}

	.more-strip .btn {
		width: 100%;
	}

	.stats {
		gap: 10px;
	}

	.stat {
		padding: 12px 8px;
	}

	.stat__num {
		font-size: 22px;
	}


	.pd-visual .icon svg {
		width: 110px;
		height: 110px;
	}

	.entry-content h2 {
		font-size: 19px;
	}

	.entry-content {
		font-size: 15px;
	}

	.cta-band {
		flex-direction: column;
		align-items: flex-start;
		padding: 28px 24px;
	}

	.cta-band .btn {
		width: 100%;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 28px;
		padding: 44px 0 28px;
	}

	.footer-bottom__inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
	}
}

@media (max-width: 420px) {
	.features {
		grid-template-columns: 1fr;
	}

	.product-grid {
		grid-template-columns: 1fr 1fr;
	}

	.p-card__desc {
		-webkit-line-clamp: 2;
	}
}

/* ==========================================================================
   静态版补充样式（商品实拍图适配）
   ========================================================================== */

/* 产品卡片媒体区：照片铺满裁切显示 */
.p-card__media {
	overflow: hidden;
}

/* 产品详情大图：固定铺满视觉区 */
.pd-visual {
	position: relative;
	overflow: hidden;
}

.pd-visual img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: inherit;
}

/* 关于我们配图：照片铺满面板 */
.about-visual__panel {
	position: relative;
	overflow: hidden;
}

.about-visual__panel img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 20px;
}

/* ==========================================================================
   静态电话按钮（span.btn）：不可点击，取消手型光标与悬停位移/变色
   ========================================================================== */

span.btn {
	cursor: default;
}

span.btn:hover {
	transform: none;
	box-shadow: none;
}

span.btn--primary:hover {
	background: var(--green-600);
}

span.btn--light:hover {
	background: #fff;
}

/* ==========================================================================
   首屏产品图轮播（渐进渐出）
   ========================================================================== */

.hero-carousel-box {
	position: relative;
	width: 100%;
	max-width: 520px;
	margin-left: auto;
}

.hero-carousel {
	position: relative;
	width: 100%;
	aspect-ratio: 3 / 2;
	border-radius: 18px;
	overflow: hidden;
	/* 无背景、无边框：切换过程中不会露出半透明底框 */
	box-shadow: 0 24px 60px rgba(5, 30, 18, 0.32);
	touch-action: pan-y; /* 垂直滚动交给页面，水平划动由 JS 处理 */
	user-select: none;
	perspective: 1200px; /* 卡片旋转切换的 3D 透视 */
}

.hero-carousel__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 0.9s ease;
	pointer-events: none; /* 阻止图片原生拖拽，拖动交给轮播逻辑 */
}

.hero-carousel__img.is-active {
	opacity: 1;
	z-index: 1;
}

/* 卡片式旋转切换：切入的新图置顶 */
.hero-carousel__img.is-enter-right,
.hero-carousel__img.is-enter-left {
	z-index: 2;
}

.hero-carousel__img.is-enter-right {
	animation: hero-card-in-right 1s ease forwards;
}

.hero-carousel__img.is-enter-left {
	animation: hero-card-in-left 1s ease forwards;
}

.hero-carousel__img.is-leave-left {
	animation: hero-card-out-left 1s ease forwards;
}

.hero-carousel__img.is-leave-right {
	animation: hero-card-out-right 1s ease forwards;
}

/* 旧图向左侧移动缩小淡出（切换到下一张时，旋转角度 0） */
@keyframes hero-card-out-left {
	from {
		opacity: 1;
		transform: none;
	}
	to {
		opacity: 0;
		transform: translateX(-58%) scale(0.82);
	}
}

/* 新图从右侧移动放大淡入（切换到下一张时，旋转角度 0） */
@keyframes hero-card-in-right {
	from {
		opacity: 0;
		transform: translateX(58%) scale(0.82);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

/* 旧图向右侧移动缩小淡出（切换到上一张时，旋转角度 0） */
@keyframes hero-card-out-right {
	from {
		opacity: 1;
		transform: none;
	}
	to {
		opacity: 0;
		transform: translateX(58%) scale(0.82);
	}
}

/* 新图从左侧移动放大淡入（切换到上一张时，旋转角度 0） */
@keyframes hero-card-in-left {
	from {
		opacity: 0;
		transform: translateX(-58%) scale(0.82);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

/* 左右切换按钮：位于展示框外侧、垂直居中 */
.hero-carousel__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: -18px;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 1.5px solid rgba(20, 102, 60, 0.15);
	border-radius: 999px;
	background: #fff;
	color: var(--green-600);
	cursor: pointer;
	box-shadow: 0 6px 18px rgba(10, 40, 25, 0.25);
	transition: background-color 0.2s ease, color 0.2s ease;
	z-index: 3;
}

.hero-carousel__arrow svg {
	width: 20px;
	height: 20px;
	display: block;
	margin: 0;
}

.hero-carousel__arrow:hover {
	background: var(--green-600);
	color: #fff;
}

.hero-carousel__arrow--next {
	left: auto;
	right: -18px;
}

/* 轮播页脚（商品名 + 圆点）：位于展示框下方外侧 */
.hero-carousel__footer {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	margin-top: 14px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	z-index: 2;
}

.hero-carousel__caption {
	margin: 0;
	color: #fff;
	font-size: 15.5px;
	font-weight: 600;
	letter-spacing: 0.5px;
	text-shadow: 0 1px 4px rgba(5, 30, 18, 0.35);
}

/* 圆点指示器 */
.hero-carousel__dots {
	display: flex;
	justify-content: center;
	gap: 8px;
}

.hero-carousel__dot {
	width: 9px;
	height: 9px;
	padding: 0;
	border: none;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.45);
	cursor: pointer;
	transition: width 0.3s ease, background-color 0.3s ease;
}

.hero-carousel__dot:hover {
	background: rgba(255, 255, 255, 0.8);
}

.hero-carousel__dot.is-active {
	width: 26px;
	background: #fff;
}

@media (max-width: 900px) {
	.hero-carousel-box {
		max-width: 460px;
		margin: 0 auto;
	}

	/* 轮播页脚（商品名 + 圆点）悬挂在框下方，为它预留空间 */
	.hero__inner {
		padding-bottom: 108px;
	}
}

@media (max-width: 640px) {
	.hero-carousel-box {
		max-width: 100%;
	}

	.hero-carousel {
		border-radius: 14px;
	}

	/* 手机端：按钮移入展示框内两侧，避免被裁切；半透明白底保证在照片上清晰 */
	.hero-carousel__arrow {
		width: 40px;
		height: 40px;
		left: 10px;
		background: rgba(255, 255, 255, 0.92);
		box-shadow: 0 4px 14px rgba(10, 40, 25, 0.35);
	}

	.hero-carousel__arrow--next {
		left: auto;
		right: 10px;
	}
}

/* ==========================================================================
   各类食品机械展示框（不可点击，引导来电定制）
   ========================================================================== */

.machine-showcase {
	margin-top: 48px;
	padding: 28px 28px 22px;
	background: var(--bg-soft);
	border: 1px solid var(--green-100);
	border-radius: var(--radius);
}

.machine-showcase__head {
	text-align: center;
	margin-bottom: 18px;
}

.machine-showcase__title {
	margin: 0 0 6px;
	font-size: 19px;
	font-weight: 700;
	color: var(--text);
}

.machine-showcase__sub {
	margin: 0;
	color: var(--muted);
	font-size: 14.5px;
}

.machine-showcase__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
}

.machine-showcase__item {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 10px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 12px;
	color: var(--text-soft);
	font-size: 15px;
	font-weight: 500;
	cursor: default;
}

.machine-showcase__icon {
	width: 18px;
	height: 18px;
	color: var(--green-500);
	flex: none;
}

.machine-showcase__tip {
	margin: 18px 0 0;
	text-align: center;
	color: var(--muted);
	font-size: 14.5px;
}

.machine-showcase__tip strong {
	color: var(--green-700);
	font-size: 16.5px;
	letter-spacing: 0.5px;
}

@media (max-width: 900px) {
	.machine-showcase__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 640px) {
	.machine-showcase {
		margin-top: 36px;
		padding: 20px 16px 18px;
	}

	.machine-showcase__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}

	.machine-showcase__item {
		font-size: 14px;
		padding: 12px 8px;
	}
}

/* ==========================================================================
   左侧浮动导航（页面静止时显示，滚动时隐藏）
   ========================================================================== */

.side-nav {
	position: fixed;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 60;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 14px;
	box-shadow: var(--shadow-md);
	padding: 8px;
}

.side-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.side-nav__link {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	padding: 9px 11px;
	border-radius: 10px;
	color: var(--muted);
	text-decoration: none;
	font-size: 12px;
	line-height: 1.2;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.side-nav__link svg {
	width: 20px;
	height: 20px;
	display: block;
}

.side-nav__link:hover {
	background: var(--green-50);
	color: var(--green-600);
}

.side-nav__link.is-active {
	background: var(--green-600);
	color: #fff;
}

/* 导航文字强制单行显示，宽度不够时自动撑宽面板 */
.side-nav__label {
	white-space: nowrap;
}

/* 窄屏（≤1359px）：改为底部居中导航，文字位于图标下方 */
@media (max-width: 1439px) {
	.side-nav {
		display: block;
		left: 50%;
		top: auto;
		bottom: 18px;
		transform: translateX(-50%);
		z-index: 85;
		padding: 8px;
		border-radius: 16px;
	}

	.side-nav ul {
		flex-direction: row;
		gap: 4px;
	}

	.side-nav__link {
		flex-direction: column;
		gap: 3px;
		padding: 8px 14px;
		border-radius: 10px;
		font-size: 12.5px;
	}

	.side-nav__link svg {
		width: 18px;
		height: 18px;
	}
}

/* 手机（≤767px）：上移到底部行动栏上方，紧凑显示图标+文字 */
@media (max-width: 767px) {
	.side-nav {
		bottom: 84px;
	}

	.side-nav__link {
		gap: 4px;
		padding: 8px 9px;
		font-size: 11.5px;
	}

	.side-nav__link svg {
		width: 16px;
		height: 16px;
	}
}

/* 超窄屏（≤400px）：一行放不下文字，仅显示图标 */
@media (max-width: 400px) {
	.side-nav__label {
		display: none;
	}

	.side-nav__link {
		padding: 10px 12px;
	}
}

/* ==========================================================================
   案例详情页：地点 / 时间标签
   ========================================================================== */

.cd-meta {
	list-style: none;
	margin: 0 0 22px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.cd-meta li {
	background: var(--green-50);
	border: 1px solid var(--green-100);
	color: var(--green-700);
	font-size: 13px;
	font-weight: 500;
	padding: 5px 14px;
	border-radius: 999px;
}

/* ==========================================================================
   照片展示网格（产品/案例详情页）
   ========================================================================== */

.photo-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}

.photo-grid__item {
	margin: 0;
	aspect-ratio: 4 / 3;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid var(--line);
	background: var(--bg-soft);
}

.photo-grid__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.photo-grid__item:hover img {
	transform: scale(1.06);
}

@media (max-width: 900px) {
	.photo-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ==========================================================================
   首屏展示框：可点击跳转详情
   ========================================================================== */

.hero-carousel {
	cursor: pointer;
}

.hero-carousel.is-dragging {
	cursor: grabbing;
}

/* ==========================================================================
   详情页：照片块（位于正文上方）+ 锚点定位补偿
   ========================================================================== */

.pd-photos {
	margin: 40px 0 0;
}

.pd-photos__title {
	font-size: 22px;
	font-weight: 800;
	margin: 0 0 18px;
	color: var(--text);
}

/* 非 section 锚点（照片块、正文）跳转时为吸顶导航预留空间 */
.pd-photos,
.entry-content {
	scroll-margin-top: 96px;
}
