:root {
  --c-bg: #f6f7f4;
  --c-surface: #ffffff;
  --c-ink: #1f2a24;
  --c-ink-soft: #5c6b62;
  --c-brand: #2f7d4f;      /* 主品牌色：环保绿，突出环保/专业 */
  --c-brand-deep: #1f5c38;  /* 深绿：实力雄厚、沉稳 */
  --c-accent: #4ea56b;      /* 亮绿：点缀、行动引导 */
  --c-cta: #e8912b;         /* 醒目的橙金行动色：客服及时、CTA */
  --c-cta-deep: #d17c1c;
  --c-dark: #16251c;        /* 深色底：专业、实力 */
  --c-dark-soft: #20312a;
  --c-line: #dde4dc;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(31, 42, 36, 0.08);
  --shadow-lg: 0 20px 50px rgba(31, 42, 36, 0.14);
  --container: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--c-ink);
  background: var(--c-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* 导航 */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(246, 247, 244, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-line);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 4px 20px rgba(31,42,36,.08); }
.nav__inner {
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
}
.nav__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav__logo-img { height: 40px; width: auto; display: block; }
.nav__logo-sub { font-size: 12px; color: var(--c-ink-soft); white-space: nowrap; }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a {
  text-decoration: none; color: var(--c-ink); font-size: 15px; font-weight: 500;
  transition: color .2s;
}
.nav__links a:hover { color: var(--c-brand); }
.nav__links a.nav__cta {
  background: var(--c-cta); color: #fff; padding: 8px 20px; border-radius: 999px;
}
.nav__links a.nav__cta:hover { background: var(--c-cta-deep); color: #fff; }
.nav__right { display: flex; align-items: center; gap: 12px; }
.lang-switch {
  border: 1px solid var(--c-line); background: #fff; color: var(--c-ink);
  padding: 7px 14px; border-radius: 999px; cursor: pointer; font-size: 13px; font-weight: 600;
  transition: all .2s;
}
.lang-switch:hover { border-color: var(--c-brand); color: var(--c-brand); }
.nav__burger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.nav__burger span { width: 22px; height: 2px; background: var(--c-ink); border-radius: 2px; }

/* 首屏 */
.hero {
  position: relative; padding: 150px 0 90px; overflow: hidden;
  color: #fff;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(78,165,107,.28), transparent 60%),
    linear-gradient(140deg, #16251c 0%, #1f5c38 55%, #16251c 100%);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(78,165,107,.07) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(78,165,107,.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(800px 500px at 70% 20%, #000, transparent 75%);
}
.hero__inner { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.hero__eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: 3px; color: var(--c-accent);
  border: 1px solid rgba(78,165,107,.45); padding: 6px 16px; border-radius: 999px; margin-bottom: 24px;
}
.hero__title { font-size: 56px; line-height: 1.15; font-weight: 800; letter-spacing: 1px; }
.hero__title-accent { display: block; color: var(--c-accent); font-size: 40px; margin-top: 8px; }
.hero__desc { font-size: 18px; color: rgba(255,255,255,.82); max-width: 560px; margin: 22px 0 26px; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.hero__tags span {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  padding: 8px 16px; border-radius: 999px; font-size: 14px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 54px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 30px; border-radius: 999px; font-size: 15px; font-weight: 600;
  text-decoration: none; cursor: pointer; border: none; transition: all .25s;
}
.btn--primary { background: var(--c-cta); color: #fff; }
.btn--primary:hover { background: var(--c-cta-deep); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(232,145,43,.35); }
.btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn--block { width: 100%; }

.hero__stats { display: flex; flex-wrap: wrap; gap: 48px; }
.stat strong { display: block; font-size: 38px; font-weight: 800; color: var(--c-accent); line-height: 1; }
.stat span { font-size: 13px; color: rgba(255,255,255,.6); }

/* 区块通用 */
.section { padding: 88px 0; }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section__eyebrow {
  font-size: 13px; letter-spacing: 3px; color: var(--c-brand); text-transform: uppercase; margin-bottom: 12px;
}
.section__title { font-size: 36px; font-weight: 800; letter-spacing: 1px; }
.section__sub { color: var(--c-ink-soft); margin-top: 12px; }

/* 卡片 */
.cards { display: grid; gap: 24px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 34px 28px; transition: all .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card__icon { font-size: 34px; margin-bottom: 16px; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--c-ink-soft); font-size: 14.5px; }
.card--dark { background: var(--c-dark); border-color: var(--c-dark); color: #fff; }
.card--dark p { color: rgba(255,255,255,.7); }

/* 产品 */
.products { background: #fff; }
.product-card {
  background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius);
  overflow: hidden; transition: all .3s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-card__img { height: 320px; background: #f2f5f1; overflow: hidden; }
.product-card__img img {
  width: 100%; height: 100%; object-fit: contain; object-position: center;
  display: block;
}
.product-card__body { padding: 28px; }
.product-card__body h3 { font-size: 22px; margin-bottom: 10px; }
.product-card__body p { color: var(--c-ink-soft); font-size: 14.5px; margin-bottom: 14px; }
.product-card__list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.product-card__list li { font-size: 14px; color: var(--c-ink); padding-left: 20px; position: relative; }
.product-card__list li::before {
  content: "✓"; position: absolute; left: 0; color: var(--c-brand); font-weight: 700;
}

/* 花色图库 */
.gallery { margin-top: 60px; }
.gallery__head { text-align: center; margin-bottom: 28px; }
.gallery__head h3 { font-size: 26px; font-weight: 800; margin-bottom: 8px; }
.gallery__head p { color: var(--c-ink-soft); }
.gallery__tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 32px; flex-wrap: wrap; }
.gallery__tab {
  border: 1px solid var(--c-line); background: #fff; color: var(--c-ink);
  padding: 9px 22px; border-radius: 999px; cursor: pointer; font-size: 14px; font-weight: 500;
  transition: all .2s;
}
.gallery__tab:hover { border-color: var(--c-brand); color: var(--c-brand); }
.gallery__tab.active { background: var(--c-brand); color: #fff; border-color: var(--c-brand); }
.gallery__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.gallery__item {
  position: relative; border-radius: 10px; overflow: hidden; cursor: pointer;
  border: 1px solid var(--c-line); background: #f2f5f1; aspect-ratio: 5/7;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item .gallery__label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 12px 10px;
  background: linear-gradient(transparent, rgba(0,0,0,.65)); color: #fff;
  font-size: 12.5px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gallery__download { text-align: center; margin-top: 40px; }

/* 图库灯箱 */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.88);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 8px; }
.lightbox__close {
  position: absolute; top: 20px; right: 28px; font-size: 40px; color: #fff;
  background: none; border: none; cursor: pointer; line-height: 1;
}

@media (max-width: 980px) {
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
}

/* 定制流程 */
.custom { background: #fff; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { text-align: center; padding: 12px; position: relative; }
.step__num {
  display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--c-brand); color: #fff; font-weight: 800; font-size: 16px;
  margin-bottom: 16px;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--c-ink-soft); font-size: 14px; }
.custom__note {
  text-align: center; margin-top: 44px; color: var(--c-brand-deep); font-weight: 500;
  background: #eef6f0; border: 1px dashed var(--c-accent); padding: 16px 24px; border-radius: var(--radius);
}

/* 合作模式 */
.cooperation { background: var(--c-dark); }
.cooperation .section__title { color: #fff; }
.cooperation .section__sub { color: rgba(255,255,255,.6); }
.cooperation .section__eyebrow { color: var(--c-accent); }

/* 工厂实力 */
.strength__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.strength__list { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.strength__list li {
  position: relative; padding-left: 30px; font-size: 16px;
}
.strength__list li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 12px;
  background: var(--c-brand); border-radius: 3px;
}
.strength__photo {
  height: 340px; border-radius: var(--radius); overflow: hidden;
  background:
    linear-gradient(160deg, rgba(47,125,79,.15), rgba(22,37,28,.6)),
    repeating-linear-gradient(45deg, #2f5c3a 0 60px, #23452c 60px 120px);
  display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.75);
  font-size: 15px; letter-spacing: 2px; border: 1px solid var(--c-line);
}

/* 联系 */
.contact { background: #fff; }
.contact__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; }
.contact__info { display: flex; flex-direction: column; gap: 20px; }
.contact__item { display: flex; gap: 16px; align-items: flex-start; }
.contact__icon {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; background: #eef6f0;
  border: 1px solid var(--c-line); display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.contact__item h4 { font-size: 14px; color: var(--c-ink-soft); font-weight: 500; margin-bottom: 2px; }
.contact__val { font-size: 16px; font-weight: 600; color: var(--c-ink); text-decoration: none; }
a.contact__val:hover { color: var(--c-brand); }

.contact__form { background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 32px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__field { margin-bottom: 16px; }
.form__field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.form__field input, .form__field select, .form__field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--c-line); border-radius: 9px;
  font-size: 15px; font-family: inherit; background: #fff; color: var(--c-ink); transition: border-color .2s;
}
.form__field input:focus, .form__field select:focus, .form__field textarea:focus {
  outline: none; border-color: var(--c-brand); box-shadow: 0 0 0 3px rgba(47,125,79,.12);
}
.form__field textarea { resize: vertical; }
.form__hint { font-size: 12.5px; color: var(--c-ink-soft); margin: 4px 0 18px; }
.form__success {
  margin-top: 16px; padding: 14px; border-radius: 9px; background: #eaf6ec;
  color: #2c7a3b; font-weight: 600; text-align: center;
}

/* 联系渠道选择 */
.contact-channels {
  margin-top: 20px; padding: 24px; border-radius: var(--radius);
  background: #eef6f0; border: 1px solid var(--c-accent);
}
.channels__title { font-size: 15px; font-weight: 700; color: var(--c-brand-deep); margin-bottom: 16px; text-align: center; }
.channels__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.channel {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 16px; border-radius: 10px; font-size: 14px; font-weight: 600;
  text-decoration: none; transition: all .2s; border: 1px solid transparent; cursor: pointer;
}
.channel:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(31,42,36,.12); }
.channel--phone { background: var(--c-brand); color: #fff; }
.channel--phone:hover { background: var(--c-brand-deep); }
.channel--wechat { background: #07c160; color: #fff; }
.channel--wechat:hover { background: #06a852; }
.channel--wa { background: #25d366; color: #fff; }
.channel--wa:hover { background: #1eb958; }
.channel--email { background: var(--c-cta); color: #fff; }
.channel--email:hover { background: var(--c-cta-deep); }
@media (max-width: 520px) {
  .channels__grid { grid-template-columns: 1fr; }
}

/* 页脚 */
.footer { background: var(--c-dark); color: rgba(255,255,255,.7); padding: 40px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer__brand { display: flex; flex-direction: column; gap: 8px; }
.footer__logo-img { height: 36px; width: auto; display: block; }
.footer__brand p { font-size: 13px; margin-top: 4px; }
.footer__meta p { font-size: 13px; }

/* 响应式 */
@media (max-width: 980px) {
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .cards--3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .strength__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .hero__title { font-size: 42px; }
  .hero__title-accent { font-size: 32px; }
}
@media (max-width: 720px) {
  .nav__logo-img { height: 34px; }
  .nav__logo-sub { display: none; }
  .nav__links {
    position: fixed; top: 68px; left: 0; right: 0; flex-direction: column;
    background: #fff; padding: 20px 24px; gap: 18px; border-bottom: 1px solid var(--c-line);
    transform: translateY(-130%); transition: transform .3s; align-items: flex-start;
  }
  .nav__links.open { transform: translateY(0); }
  .nav__burger { display: flex; }
  .cards--2 { grid-template-columns: 1fr; }
  .cards--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .hero { padding: 120px 0 70px; }
  .hero__title { font-size: 34px; }
  .hero__title-accent { font-size: 26px; }
  .hero__stats { gap: 28px; }
  .stat strong { font-size: 30px; }
  .section { padding: 64px 0; }
  .section__title { font-size: 28px; }
}
