:root {
    --green: #9cbb7a;
    --green-dark: #6f9450;
    --green-deep: #4f7035;
    --cream: #faf6ee;
    --wood: #d8c8a8;
    --wood-dark: #b39b72;
    --ink: #3d4a33;
    --white: #ffffff;
    --shadow: 0 18px 50px rgba(79, 112, 53, 0.14);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--cream);
    color: var(--ink);
    line-height: 1.75;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }

.container { width: min(1160px, 92%); margin: 0 auto; }

/* ========== 藤蔓装饰边条 ========== */
.vine {
    position: fixed;
    top: 0;
    height: 100vh;
    width: 70px;
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 120px 0 80px;
    pointer-events: none;
    opacity: 0.85;
}
.vine::before {
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, transparent, var(--green) 20%, var(--green-dark) 80%, transparent);
    border-radius: 3px;
}
.vine span { font-size: 24px; position: relative; z-index: 1; filter: drop-shadow(0 4px 6px rgba(79,112,53,.3)); }
.vine-left { left: 0; }
.vine-right { right: 0; }
.vine-left span:nth-child(odd) { transform: rotate(-18deg); }
.vine-left span:nth-child(even) { transform: rotate(14deg); }
.vine-right span:nth-child(odd) { transform: rotate(18deg); }
.vine-right span:nth-child(even) { transform: rotate(-14deg); }

/* ========== 按钮 ========== */
.btn {
    display: inline-block;
    padding: 15px 38px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all .35s var(--ease);
    border: 2px solid transparent;
    cursor: pointer;
}
.btn-primary {
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    color: #fff;
    box-shadow: 0 10px 26px rgba(111, 148, 80, 0.4);
}
.btn-primary:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(111, 148, 80, 0.5); }
.btn-outline {
    background: transparent;
    color: var(--green-deep);
    border-color: var(--green-deep);
}
.btn-outline:hover { background: var(--green-deep); color: #fff; }
.btn-lg { padding: 17px 46px; font-size: 18px; }

/* ========== 导航 ========== */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 20px 0;
    transition: all .4s;
}
.site-header.scrolled {
    padding: 10px 0;
    background: rgba(250, 246, 238, 0.94);
    backdrop-filter: blur(12px);
    box-shadow: 0 6px 28px rgba(79, 112, 53, 0.1);
}
.header-inner {
    width: min(1200px, 94%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-leaf {
    width: 46px; height: 46px;
    display: grid; place-items: center;
    font-size: 24px;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    border-radius: 12px 12px 12px 4px;
    box-shadow: 0 6px 16px rgba(111, 148, 80, 0.4);
}
.logo-text { font-size: 20px; font-weight: 800; color: var(--green-deep); letter-spacing: 1px; }
.logo-text span { color: var(--green-dark); }
.main-nav { display: flex; gap: 6px; }
.main-nav a {
    text-decoration: none;
    color: var(--green-deep);
    font-weight: 600;
    padding: 9px 16px;
    border-radius: 999px;
    position: relative;
    transition: all .3s;
}
.main-nav a::after {
    content: "";
    position: absolute;
    bottom: 2px; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 2px;
    background: var(--green-dark);
    transition: width .3s;
}
.main-nav a:hover::after, .main-nav a.active::after { width: 60%; }
.main-nav a.active, .main-nav a:hover { color: var(--green-deep); background: rgba(156, 187, 122, 0.18); }
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 110;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--green-deep); border-radius: 3px; transition: all .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ========== Hero ========== */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 160px 0 110px;
    background: linear-gradient(180deg, #eef3e6, var(--cream));
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    top: -160px; right: -120px;
    width: 480px; height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(156, 187, 122, 0.3), transparent 65%);
    pointer-events: none;
}
.hero-shape {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 120px;
    background: var(--cream);
    border-radius: 50% 50% 0 0 / 40% 40% 0 0;
    transform: translateY(60px);
    pointer-events: none;
}
.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 60px;
    align-items: center;
}
.hero-tag {
    display: inline-block;
    background: rgba(156, 187, 122, 0.22);
    color: var(--green-deep);
    padding: 7px 20px;
    border-radius: 999px;
    font-size: 14px;
    letter-spacing: 3px;
    font-weight: 700;
}
.hero-title {
    font-size: clamp(52px, 8vw, 92px);
    font-weight: 900;
    line-height: 1.1;
    color: var(--green-deep);
    margin: 22px 0 18px;
}
.hero-title span {
    display: inline-block;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-sub { font-size: 18px; color: #6c7a5a; margin-bottom: 34px; max-width: 420px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual { position: relative; }
.hero-img-mask {
    border-radius: 46% 54% 40% 60% / 56% 44% 56% 44%;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(79, 112, 53, 0.25);
    animation: morph 8s ease-in-out infinite;
    transform: rotate(2deg);
}
.hero-img-mask img { height: 540px; width: 100%; object-fit: cover; }
@keyframes morph {
    0%, 100% { border-radius: 46% 54% 40% 60% / 56% 44% 56% 44%; }
    50% { border-radius: 58% 42% 62% 38% / 40% 58% 42% 60%; }
}
.hero-leaf-badge {
    position: absolute;
    top: -30px; left: -30px;
    width: 120px; height: 120px;
    background: linear-gradient(135deg, var(--green), var(--green-deep));
    color: #fff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
    box-shadow: 0 14px 34px rgba(79, 112, 53, 0.4);
    animation: float 5s ease-in-out infinite;
}
.hero-leaf-badge::first-line { font-size: 30px; }
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(-6deg); }
    50% { transform: translateY(-16px) rotate(-3deg); }
}

/* ========== 波浪边界 ========== */
.wave-divider {
    position: relative;
    height: 70px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}
.wave-top {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'><path d='M0,30 C200,70 400,0 600,25 C800,50 1000,10 1200,30 L1200,60 L0,60 Z' fill='%23faf6ee'/></svg>");
}
.wave-bottom {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'><path d='M0,30 C200,0 400,60 600,35 C800,10 1000,50 1200,30 L1200,0 L0,0 Z' fill='%23faf6ee'/></svg>");
}
.wave-top.dark { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'><path d='M0,30 C200,70 400,0 600,25 C800,50 1000,10 1200,30 L1200,60 L0,60 Z' fill='%234f7035'/></svg>"); }

/* ========== 区块标题 ========== */
.section-head { text-align: center; margin-bottom: 56px; }
.section-tag {
    display: inline-block;
    color: var(--green-deep);
    background: rgba(156, 187, 122, 0.2);
    padding: 6px 22px;
    border-radius: 999px;
    font-size: 14px;
    letter-spacing: 4px;
    font-weight: 700;
    margin-bottom: 14px;
}
.section-title {
    font-size: clamp(30px, 4.5vw, 46px);
    font-weight: 900;
    color: var(--green-deep);
}

/* ========== 自然理念 ========== */
.philosophy { padding: 90px 0 20px; }
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
}
.philo-card {
    background: #fff;
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    transition: transform .4s var(--ease), box-shadow .4s;
}
.philo-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--green), var(--wood));
}
.philo-card:hover { transform: translateY(-10px); box-shadow: 0 26px 60px rgba(79, 112, 53, 0.22); }
.philo-2 { transform: translateY(22px); }
.philo-2:hover { transform: translateY(12px); }
.philo-ico { font-size: 46px; display: block; margin-bottom: 16px; }
.philo-card h3 { color: var(--green-deep); font-size: 22px; margin-bottom: 12px; }
.philo-card p { color: #6c7a5a; font-size: 15px; }

/* ========== 服务（悬浮在绿色底上） ========== */
.services {
    position: relative;
    padding: 40px 0 120px;
    background: linear-gradient(180deg, var(--cream), #eef3e6);
}
.services::before {
    content: "";
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 55%;
    background: linear-gradient(180deg, transparent, rgba(156, 187, 122, 0.28));
    z-index: 0;
}
.services .container { position: relative; z-index: 1; }
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.service-card {
    background: rgba(255, 255, 255, 0.94);
    border-radius: 26px;
    padding: 40px 32px;
    box-shadow: 0 20px 50px rgba(79, 112, 53, 0.18);
    transition: all .4s var(--ease);
    position: relative;
    backdrop-filter: blur(4px);
}
.service-card:hover {
    transform: translateY(-12px);
    background: linear-gradient(140deg, var(--green), var(--green-deep));
    color: #fff;
    box-shadow: 0 30px 60px rgba(79, 112, 53, 0.35);
}
.s-num {
    font-size: 14px;
    font-weight: 800;
    color: var(--green-dark);
    background: rgba(156, 187, 122, 0.2);
    width: 44px; height: 44px;
    display: grid; place-items: center;
    border-radius: 50%;
    margin-bottom: 18px;
    transition: all .3s;
}
.service-card:hover .s-num { background: rgba(255,255,255,0.25); color: #fff; }
.service-card h3 { color: var(--green-deep); margin-bottom: 12px; font-size: 20px; transition: color .3s; }
.service-card:hover h3 { color: #fff; }
.service-card p { color: #6c7a5a; font-size: 15px; margin-bottom: 20px; transition: color .3s; }
.service-card:hover p { color: rgba(255,255,255,0.9); }
.service-card a { color: var(--green-dark); font-weight: 700; text-decoration: none; transition: color .3s; }
.service-card:hover a { color: #fff; }

/* ========== 案例作品 ========== */
.works { padding: 60px 0 110px; }
.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.work-card {
    position: relative;
    border-radius: 32% 68% 40% 60% / 56% 36% 64% 44%;
    overflow: hidden;
    height: 440px;
    box-shadow: var(--shadow);
    transition: transform .5s var(--ease);
    display: block;
}
.work-card:hover { transform: translateY(-12px) rotate(-1deg); }
.work-2 { border-radius: 60% 40% 64% 36% / 40% 60% 40% 60%; transform: translateY(24px); }
.work-2:hover { transform: translateY(12px) rotate(1deg); }
.work-card img { height: 100%; width: 100%; object-fit: cover; transition: transform .8s; }
.work-card:hover img { transform: scale(1.08); }
.work-info {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 30px;
    text-align: center;
    background: linear-gradient(transparent 45%, rgba(79, 112, 53, 0.8));
    color: #fff;
}
.work-info h3 { font-size: 22px; margin-bottom: 6px; color: #fff; }
.work-info h3 a { color: inherit; text-decoration: none; }
.work-info p { font-size: 14px; opacity: 0.92; }

/* ========== 资讯 ========== */
.news { padding: 40px 0 110px; }
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.news-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    text-decoration: none;
    transition: all .4s var(--ease);
    display: block;
    color: inherit;
}
.news-card:hover { transform: translateY(-10px); box-shadow: 0 26px 56px rgba(79, 112, 53, 0.22); }
.news-card img { height: 210px; width: 100%; object-fit: cover; transition: transform .6s; }
.news-card:hover img { transform: scale(1.06); }
.news-card-body { padding: 26px; }
.news-date { font-size: 13px; color: var(--green-dark); font-weight: 700; letter-spacing: 2px; }
.news-card-body h3 { color: var(--green-deep); font-size: 18px; margin: 10px 0; line-height: 1.5; }
.news-card-body h3 a { color: inherit; text-decoration: none; }
.news-card-body p { color: #6c7a5a; font-size: 14px; }

/* ========== 数据统计 ========== */
.stats {
    position: relative;
    padding: 76px 0;
    background: linear-gradient(180deg, #eef3e6, #f3ecd8);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    text-align: center;
    position: relative;
    z-index: 1;
}
.stat-num {
    display: block;
    font-size: clamp(40px, 5vw, 58px);
    font-weight: 900;
    color: var(--green-deep);
    line-height: 1.1;
}
.stat-label {
    display: block;
    margin-top: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #6c7a5a;
    letter-spacing: 1px;
}

/* ========== CTA ========== */
.cta { padding: 30px 0 120px; }
.cta-inner {
    background: linear-gradient(140deg, var(--green-deep), #3f5c2a);
    border-radius: 40px 40px 90px 90px / 40px 40px 40px 40px;
    padding: 80px 40px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cta-inner::before {
    content: "🌿🍃🌱";
    position: absolute;
    top: 20px; left: 30px;
    font-size: 40px;
    letter-spacing: 20px;
    opacity: 0.25;
    pointer-events: none;
}
.cta-inner::after {
    content: "🌱🍃🌿";
    position: absolute;
    bottom: 20px; right: 30px;
    font-size: 40px;
    letter-spacing: 20px;
    opacity: 0.25;
    transform: rotate(180deg);
    pointer-events: none;
}
.cta-inner h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
.cta-inner p { font-size: 17px; margin-bottom: 34px; opacity: 0.92; }

/* ========== 页脚 ========== */
.site-footer {
    background: linear-gradient(180deg, var(--green-deep), #35491f);
    color: rgba(255, 255, 255, 0.85);
    padding: 70px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.2fr;
    gap: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.footer-grid h3 { font-size: 18px; margin-bottom: 18px; color: #fff; }
.footer-grid h3 span { color: var(--wood); }
.footer-about p { font-size: 15px; line-height: 2; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,0.8); text-decoration: none; transition: color .3s; }
.footer-links a:hover { color: var(--wood); }
.footer-contact p { font-size: 15px; line-height: 2; }
.copyright { text-align: center; padding-top: 30px; font-size: 14px; opacity: 0.7; }

/* ========== 子页面通用 ========== */
.page-hero {
    position: relative;
    padding: 180px 0 110px;
    text-align: center;
    background: linear-gradient(180deg, #eef3e6, var(--cream));
    overflow: hidden;
}
.page-hero::after {
    content: "";
    position: absolute;
    bottom: -60px; left: 0; right: 0;
    height: 120px;
    background: var(--cream);
    border-radius: 50% 50% 0 0 / 45% 45% 0 0;
    pointer-events: none;
}
.page-hero h1 { position: relative; z-index: 2; font-size: clamp(38px, 6vw, 60px); font-weight: 900; color: var(--green-deep); }
.page-hero h1 span { color: var(--green-dark); }
.page-hero p { position: relative; z-index: 2; font-size: 17px; margin-top: 14px; color: #6c7a5a; }
.breadcrumb { margin-top: 18px; font-size: 14px; position: relative; z-index: 2; }
.breadcrumb a { color: var(--green-deep); text-decoration: none; }
.breadcrumb span { margin: 0 8px; color: #a3ae93; }

.page-section { padding: 100px 0; }
.page-section.alt { background: #eef3e6; }

/* 关于页 */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-img-wrap {
    border-radius: 48% 52% 44% 56% / 56% 44% 56% 44%;
    overflow: hidden;
    box-shadow: var(--shadow);
    animation: morph2 9s ease-in-out infinite;
}
.about-img-wrap img { height: 440px; width: 100%; object-fit: cover; }
@keyframes morph2 {
    0%, 100% { border-radius: 48% 52% 44% 56% / 56% 44% 56% 44%; }
    50% { border-radius: 56% 44% 60% 40% / 42% 58% 42% 58%; }
}
.about-text h3 { font-size: 26px; color: var(--green-deep); margin-bottom: 18px; }
.about-text h3 span { color: var(--green-dark); }
.about-text p { color: #6c7a5a; margin-bottom: 16px; }
.eco-features { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.eco-features li {
    background: #fff;
    padding: 14px 22px;
    border-radius: 999px;
    box-shadow: var(--shadow);
    font-size: 15px;
    color: var(--green-deep);
}
.eco-features li strong { color: var(--green-dark); }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.team-card {
    background: #fff;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .4s var(--ease);
}
.team-card:hover { transform: translateY(-10px); }
.team-card img { height: 280px; width: 100%; object-fit: cover; }
.team-body { padding: 24px; text-align: center; }
.team-body h4 { color: var(--green-deep); margin-bottom: 6px; }
.team-body h4 span { color: var(--green-dark); }
.team-body p { color: #6c7a5a; font-size: 14px; }
.team-placeholder { height: 280px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--green), var(--green-deep)); color: #fff; font-size: 4rem; font-weight: 900; }

/* 产品页 */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.product-card {
    background: #fff;
    border-radius: 26px 26px 60px 60px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all .4s var(--ease);
}
.product-card:hover { transform: translateY(-12px); box-shadow: 0 28px 60px rgba(79,112,53,.25); }
.product-card img { height: 240px; width: 100%; object-fit: cover; }
.product-body { padding: 28px; }
.product-tag {
    display: inline-block;
    background: rgba(156, 187, 122, 0.2);
    color: var(--green-dark);
    font-size: 13px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 999px;
    margin-bottom: 12px;
}
.product-body h3 { color: var(--green-deep); font-size: 20px; margin-bottom: 10px; }
.product-body h3 a { color: inherit; text-decoration: none; }
.product-body p { color: #6c7a5a; font-size: 15px; margin-bottom: 16px; }
.product-price { color: var(--green-dark); font-weight: 800; font-size: 22px; }

/* 新闻页 */
.news-list { max-width: 900px; margin: 0 auto; }
.news-item {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 28px;
    display: grid;
    grid-template-columns: 320px 1fr;
    transition: transform .4s var(--ease);
}
.news-item:hover { transform: translateX(14px); }
.news-item img { height: 210px; width: 100%; object-fit: cover; }
.news-body { padding: 30px; }
.news-body .date { color: var(--green-dark); font-size: 13px; font-weight: 700; letter-spacing: 2px; }
.news-body h3 { font-size: 20px; color: var(--green-deep); margin: 10px 0; }
.news-body h3 a { color: inherit; text-decoration: none; }
.news-body p { color: #6c7a5a; font-size: 15px; }
.news-body a { display: inline-block; margin-top: 16px; color: var(--green-dark); font-weight: 700; text-decoration: none; }
.news-body a:hover { text-decoration: underline; }

/* 联系页 */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-box {
    background: #fff;
    border-radius: 20px;
    padding: 26px 30px;
    box-shadow: var(--shadow);
}
.contact-box .c-ico { font-size: 30px; }
.contact-box h3 { color: var(--green-deep); margin: 8px 0 6px; }
.contact-box p { color: #6c7a5a; font-size: 15px; }
.contact-form {
    background: #fff;
    border-radius: 26px;
    padding: 44px;
    box-shadow: var(--shadow);
}
.contact-form h2 { font-size: 24px; color: var(--green-deep); margin-bottom: 6px; }
.form-sub { color: #6c7a5a; font-size: 15px; margin-bottom: 24px; }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-weight: 700; color: var(--green-deep); margin-bottom: 8px; }
.form-group label em { color: var(--green-dark); font-style: normal; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e6e3d6;
    border-radius: 14px;
    font-size: 15px;
    font-family: inherit;
    background: var(--cream);
    color: var(--ink);
    transition: border-color .3s, box-shadow .3s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(156, 187, 122, 0.2);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group .error-msg { color: #d64545; font-size: 13px; margin-top: 6px; display: none; }
.form-group.invalid input, .form-group.invalid textarea { border-color: #d64545; }
.form-group.invalid .error-msg { display: block; }
.form-success {
    display: none;
    background: rgba(156, 187, 122, 0.15);
    border: 2px dashed var(--green);
    color: var(--green-deep);
    border-radius: 16px;
    padding: 18px 22px;
    margin-bottom: 22px;
    font-weight: 700;
}
.form-success.show { display: block; }
.map-placeholder {
    height: 320px;
    border-radius: 30px 30px 80px 80px;
    background: linear-gradient(135deg, #eef3e6, #dfe7d4);
    display: grid;
    place-items: center;
    color: var(--green-deep);
    font-size: 16px;
    box-shadow: var(--shadow);
    margin-top: 50px;
    border: 2px dashed rgba(111, 148, 80, 0.35);
    text-align: center;
    padding: 20px;
}

/* 荣誉资质 */
.honor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.honor-card {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform .4s var(--ease);
    padding-bottom: 24px;
}
.honor-card:hover { transform: translateY(-10px); }
.honor-img { height: 150px; overflow: hidden; background: linear-gradient(140deg, #eef3e6, #dfe7d4); }
.honor-img img { width: 100%; height: 100%; object-fit: cover; }
.honor-body { padding: 22px 18px 0; }
.honor-body h3 { color: var(--green-deep); font-size: 17px; margin-bottom: 8px; }
.honor-body p { color: #6c7a5a; font-size: 14px; margin-bottom: 10px; }
.honor-date { display: inline-block; background: rgba(156, 187, 122, 0.2); color: var(--green-dark); font-size: 13px; font-weight: 700; padding: 4px 14px; border-radius: 999px; }

/* 品牌文化 */
.culture-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.culture-card {
    background: #fff;
    border-radius: 22px;
    padding: 34px 26px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    transition: transform .4s var(--ease);
}
.culture-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--green), var(--wood));
}
.culture-card:hover { transform: translateY(-10px); }
.culture-ico { font-size: 42px; display: block; margin-bottom: 14px; }
.culture-card h3 { color: var(--green-deep); font-size: 20px; margin-bottom: 10px; }
.culture-card p { color: #6c7a5a; font-size: 15px; }

/* 发展路径（里程碑） */
.milestone-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.milestone-card {
    background: #fff;
    border-radius: 22px;
    padding: 30px 26px;
    box-shadow: var(--shadow);
    border-top: 5px solid var(--green);
    position: relative;
}
.milestone-card::after {
    content: "→";
    position: absolute;
    right: -18px; top: 50%;
    transform: translateY(-50%);
    color: var(--green);
    font-size: 22px;
    font-weight: 900;
}
.milestone-card:last-child::after { display: none; }
.milestone-year { display: inline-block; background: var(--green-dark); color: #fff; font-size: 13px; font-weight: 800; padding: 4px 14px; border-radius: 999px; margin-bottom: 12px; }
.milestone-card h4 { color: var(--green-deep); font-size: 18px; margin-bottom: 8px; }
.milestone-card p { color: #6c7a5a; font-size: 14px; }

/* 分类筛选 Tab */
.cat-tabs { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 46px; }
.cat-tab {
    padding: 11px 26px;
    border-radius: 999px;
    border: 2px solid rgba(156, 187, 122, 0.5);
    background: #fff;
    color: var(--green-deep);
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    transition: all .3s;
    font-family: inherit;
}
.cat-tab.active, .cat-tab:hover { background: var(--green-deep); color: #fff; border-color: var(--green-deep); }

/* ========== 滚动动画 ========== */
.reveal {
    opacity: 0;
    transform: translateY(44px);
    transition: opacity .8s ease, transform .8s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.fade-in {
    opacity: 0;
    transform: translateY(44px);
    transition: opacity .8s ease, transform .8s var(--ease);
}
.fade-in.visible { opacity: 1; transform: none; }

/* ========== CMS 适配 ========== */
.cms-section { padding: 90px 0; }
.cms-detail { max-width: 900px; margin: 0 auto; }
.cms-detail > img { border-radius: 24px; margin: 0 auto 18px; max-width: 100%; }
.cms-detail h1 { font-size: 32px; margin: 18px 0; color: var(--green-deep); }
.cms-detail .lead { color: #6c7a5a; margin-bottom: 22px; font-size: 17px; }
.cms-detail .news-date-label {
    display: inline-block;
    background: var(--green-dark);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    padding: 5px 16px;
    border-radius: 999px;
    letter-spacing: 2px;
}
.cms-content h2 { font-size: 26px; margin: 26px 0 14px; color: var(--green-deep); }
.cms-content h3 { font-size: 22px; margin: 22px 0 12px; color: var(--green-deep); }
.cms-content p, .cms-content li { color: #4a5740; margin-bottom: 16px; line-height: 1.95; }
.cms-content ul { padding-left: 22px; margin-bottom: 16px; }
.cms-content img { border-radius: 20px; margin: 10px 0; }
.cms-content blockquote { border-left: 4px solid var(--green); background: rgba(156, 187, 122, 0.12); padding: 14px 20px; border-radius: 0 12px 12px 0; color: #6c7a5a; margin: 18px 0; }
.cms-back { display: inline-block; color: var(--green-dark); font-size: 15px; font-weight: 700; margin-bottom: 22px; text-decoration: none; }
.cms-back:hover { text-decoration: underline; }
.spec-list { list-style: none; padding: 0; margin: 0 0 24px; }
.spec-list li { color: #4a5740; padding: 12px 0; border-bottom: 2px dashed #d8e4c4; font-size: 15px; }
.spec-list li b { color: var(--green-dark); }
.cms-pager { padding: 34px 0; text-align: center; }
.cms-pager .pagination { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.cms-pager .page-link {
    padding: 10px 16px;
    border: 2px solid rgba(156, 187, 122, 0.5);
    border-radius: 999px;
    background: #fff;
    color: var(--green-deep);
    font-size: 14px;
    transition: all .3s;
    display: inline-block;
    text-decoration: none;
}
.cms-pager .page-link:hover { border-color: var(--green-deep); color: var(--green-deep); }
.cms-pager .page-item.active .page-link { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.cms-pager .page-item.disabled .page-link { opacity: .5; pointer-events: none; }

.form-alert-err { background: #fdecea; border: 1px solid #f3c6c0; color: #b23b35; padding: 14px 18px; border-radius: 14px; margin-bottom: 20px; }
.form-alert-err li { color: #b23b35; }
.form-submit { width: 100%; color: #fff; border: none; }
.error-text { display: none; color: var(--green-dark); font-size: 13px; margin-top: 6px; }

/* 返回顶部 */
.back-top {
    position: fixed;
    right: 26px; bottom: 30px;
    z-index: 99;
    width: 50px; height: 50px;
    border-radius: 50%;
    border: none; cursor: pointer;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    color: #fff;
    font-size: 20px; font-weight: 700;
    box-shadow: 0 10px 26px rgba(111, 148, 80, 0.45);
    opacity: 0; visibility: hidden;
    transform: translateY(16px);
    transition: all .4s var(--ease);
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { transform: translateY(-4px); }

/* ========== 响应式 ========== */
@media (max-width: 992px) {
    .main-nav {
        position: fixed;
        top: 0; right: -100%;
        width: 300px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        padding: 100px 26px 26px;
        transition: right .45s var(--ease);
        box-shadow: -18px 0 50px rgba(0,0,0,.1);
    }
    .main-nav.open { right: 0; }
    .nav-toggle { display: flex; }
    .header-cta { display: none; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-text { display: flex; flex-direction: column; align-items: center; }
    .hero-sub { margin-left: auto; margin-right: auto; }
    .hero-visual { max-width: 520px; margin: 0 auto; }
    .hero-img-mask img { height: 400px; }
    .philosophy-grid, .service-grid, .work-grid, .news-grid, .team-grid, .product-grid { grid-template-columns: 1fr; }
    .stats-grid, .honor-grid, .culture-grid, .milestone-grid { grid-template-columns: repeat(2, 1fr); }
    .milestone-card::after { display: none; }
    .philo-2, .work-2 { transform: none; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .news-item { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .vine { display: none; }
    .hero { padding-top: 120px; }
}

@media (max-width: 560px) {
    .hero-title { font-size: 46px; }
    .hero-img-mask img { height: 300px; }
    .contact-form { padding: 26px; }
    .stats-grid, .honor-grid, .culture-grid, .milestone-grid { grid-template-columns: 1fr; }
}

/* ===== CMS global link-color reset (fixes default blue/underline) ===== */
a:has(h1), a:has(h2), a:has(h3), a:has(h4), a:has(img),
a.logo, a.logo *, .logo, .logo *,
a.news-thumb, a.news-thumb *, a.prod-thumb, a.prod-thumb *,
a.img-wrap, a.img-wrap *, a.thumb, a.thumb *, a.cover, a.cover *,
a[style*='background-image'], a[style*='background'],
a.card, a.card *, a.work-card, a.work-card *, a.product-card, a.product-card *,
a.news-card, a.news-card *, a.news-item, a.news-item *, a.case-card, a.case-card *,
a.service-card, a.service-card *, a.svc-card, a.svc-card *, a.item-card, a.item-card * {
  color: inherit !important;
  text-decoration: none !important;
}
a:has(h1):hover, a:has(h2):hover, a:has(h3):hover, a:has(h4):hover,
a.logo:hover, .logo:hover, a.card:hover, a.card *:hover,
a.news-thumb:hover, a.prod-thumb:hover, a.work-card:hover, a.product-card:hover,
a.news-card:hover, a.news-item:hover, a.case-card:hover, a.service-card:hover { color: inherit !important; }
a.prod-img-link, a.prod-img-link *,
a.img-link, a.img-link *, a.thumb-link, a.thumb-link *,
a.cover-link, a.cover-link *, a.media-link, a.media-link *,
a[class*='-thumb'], a[class*='-img'], a[class*='-cover'],
a[class*='thumb-'], a[class*='img-'],
a.img-side, a.img-side *, a.pic, a.pic *, a.pic-link, a.pic-link * {
  color: inherit !important;
  text-decoration: none !important;
}
/* ===== CMS heading-link reset (anchor inside heading) ===== */
h1 a, h2 a, h3 a, h4 a, h5 a {
  color: inherit !important;
  text-decoration: none !important;
}
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover { color: inherit !important; }
