/* ============================================================
   JT Crop 中文官网 · 全站样式
   配色：深林绿（农业/作物）+ 暖砂金（点缀）
   ============================================================ */
:root {
  --g950: #06231a;
  --g900: #0b3d2e;
  --g800: #0d4a38;
  --g700: #0f6e56;
  --g500: #17936e;
  --g300: #7fc4ab;
  --g100: #dff0e8;
  --g50: #f2f8f5;
  --gold: #c8a96a;
  --gold-dark: #a8873f;
  --ink: #17261f;
  --muted: #5c6f66;
  --line: #dce7e1;
  --bg: #f7faf8;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 2px 10px rgba(11, 61, 46, .06);
  --shadow-lg: 0 14px 40px rgba(11, 61, 46, .14);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 140px; height: auto; flex: none; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-size: 20px; font-weight: 700; letter-spacing: .5px; color: var(--g900); }
.brand-sub { font-size: 11.5px; color: var(--muted); letter-spacing: 2px; }

@media (max-width: 640px) {
  .brand-mark { width: 120px; }
}

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  padding: 8px 16px; border-radius: 999px;
  font-size: 15.5px; color: var(--ink); transition: all .2s;
}
.main-nav a:hover { background: var(--g100); color: var(--g700); }
.main-nav a.active { background: var(--g900); color: #fff; }
.nav-cta {
  margin-left: 10px; padding: 9px 22px; border-radius: 999px;
  background: var(--g700); color: #fff; font-size: 14.5px; font-weight: 600;
  transition: background .2s;
}
.nav-cta:hover { background: var(--g900); color: #fff; }

.nav-toggle {
  display: none; border: none; background: none; width: 42px; height: 42px;
  border-radius: 10px; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; stroke: var(--g900); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; padding: 14px 20px 20px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 16px; border-radius: 10px; }
  .nav-cta { margin: 8px 0 0; text-align: center; }
}

/* ---------------- 首页 Hero ---------------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 82% -10%, rgba(23, 147, 110, .35), transparent 60%),
    radial-gradient(900px 480px at -10% 110%, rgba(200, 169, 106, .16), transparent 55%),
    linear-gradient(135deg, #082f23 0%, #0b3d2e 52%, #0d4a38 100%);
  color: #fff;
}
.hero-pattern { position: absolute; inset: 0; opacity: .10; pointer-events: none; }
.hero-inner { position: relative; padding: 96px 24px 84px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: 3px; color: var(--g300);
  border: 1px solid rgba(127, 196, 171, .4); border-radius: 999px;
  padding: 6px 16px; margin-bottom: 26px;
}
.hero-kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.hero h1 {
  font-size: clamp(30px, 5vw, 50px); line-height: 1.28; font-weight: 700;
  max-width: 21em; letter-spacing: 1px;
}
.hero h1 em { font-style: normal; color: var(--g300); }
.hero-desc {
  margin-top: 22px; max-width: 40em; font-size: 17px; color: rgba(255, 255, 255, .82);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: 999px; font-size: 15.5px; font-weight: 600;
  border: 1.5px solid transparent; transition: all .22s;
}
.btn-primary { background: var(--g500); color: #fff; }
.btn-primary:hover { background: #1aa87c; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(23, 147, 110, .35); }
.btn-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); transform: translateY(-2px); }
.btn-dark { background: var(--g900); color: #fff; }
.btn-dark:hover { background: var(--g800); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(11, 61, 46, .3); }

/* 数据带 */
.stats-band {
  position: relative;
  background: rgba(6, 35, 26, .55);
  border-top: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(4px);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 30px 0;
}
.stat { text-align: center; padding: 8px 6px; }
.stat b { display: block; font-size: 34px; font-weight: 700; color: var(--gold); line-height: 1.2; }
.stat span { font-size: 14px; color: rgba(255, 255, 255, .75); }
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { padding: 64px 24px 56px; }
}

/* ---------------- 通用区块 ---------------- */
.section { padding: 84px 0; }
.section.alt { background: var(--white); }
.section-head { max-width: 640px; margin-bottom: 46px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: 3px; font-weight: 600;
  color: var(--g700); margin-bottom: 12px;
}
.section-eyebrow::before { content: ""; display: inline-block; width: 26px; height: 2px; background: var(--gold); vertical-align: middle; margin-right: 10px; }
.section-title { font-size: clamp(24px, 3.2vw, 34px); font-weight: 700; color: var(--g900); line-height: 1.35; }
.section-desc { margin-top: 14px; color: var(--muted); font-size: 16px; }

/* 卡片 */
.cards { display: grid; gap: 22px; }
.cards.c4 { grid-template-columns: repeat(4, 1fr); }
.cards.c3 { grid-template-columns: repeat(3, 1fr); }
.cards.c2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .cards.c4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .cards.c3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .cards.c4, .cards.c3, .cards.c2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--g300); }
.card-icon {
  width: 52px; height: 52px; border-radius: 13px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--g100); color: var(--g700);
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 18.5px; color: var(--g900); margin-bottom: 10px; font-weight: 600; }
.card p { font-size: 14.5px; color: var(--muted); }
.card .card-link { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--g700); }
.card .card-link:hover { color: var(--g500); }

/* 图文双栏 */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 34px; } }
.split h2 { font-size: clamp(24px, 3vw, 32px); color: var(--g900); font-weight: 700; line-height: 1.4; }
.split .lead { margin-top: 18px; color: var(--muted); font-size: 16px; }
.split .lead + .lead { margin-top: 12px; }
.check-list { margin-top: 22px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink); }
.check-list .dot {
  flex: none; width: 20px; height: 20px; margin-top: 4px; border-radius: 50%;
  background: var(--g100); color: var(--g700);
  display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700;
}
.visual-panel {
  position: relative; border-radius: 20px; overflow: hidden;
  background: linear-gradient(150deg, #0b3d2e, #0f6e56);
  min-height: 380px; display: flex; align-items: flex-end;
}
.visual-panel svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.visual-caption { position: relative; padding: 26px; color: #fff; }
.visual-caption b { display: block; font-size: 20px; }
.visual-caption span { font-size: 13.5px; color: rgba(255, 255, 255, .75); }

/* 产品分类卡 */
.cat-card { text-align: left; position: relative; overflow: hidden; }
.cat-card .cat-num {
  position: absolute; top: 18px; right: 20px; font-size: 40px; font-weight: 700;
  color: var(--g100); line-height: 1;
}
.cat-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.cat-card .tags span {
  font-size: 12.5px; color: var(--g700); background: var(--g50);
  border: 1px solid var(--g100); border-radius: 999px; padding: 3px 10px;
}

/* 全球布局 */
.geo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .geo-grid { grid-template-columns: repeat(2, 1fr); } }
.geo-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 20px; text-align: center;
}
.geo-flag { font-size: 30px; line-height: 1; margin-bottom: 12px; }
.geo-card b { display: block; font-size: 16.5px; color: var(--g900); }
.geo-card .role {
  display: inline-block; margin: 8px 0 6px; font-size: 12px; letter-spacing: 1px;
  color: var(--gold-dark); font-weight: 600;
}
.geo-card p { font-size: 13.5px; color: var(--muted); }

/* 时间轴（关于页） */
.timeline { position: relative; max-width: 780px; margin: 0 auto; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--g100); }
.tl-item { position: relative; padding: 0 0 34px 26px; }
.tl-item::before {
  content: ""; position: absolute; left: -30px; top: 7px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--g700); border: 3.5px solid var(--g100);
}
.tl-year { font-size: 22px; font-weight: 700; color: var(--gold-dark); }
.tl-item h4 { font-size: 17px; color: var(--g900); margin: 4px 0 6px; font-weight: 600; }
.tl-item p { font-size: 14.5px; color: var(--muted); max-width: 56em; }

/* 产品中心 */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filter-btn {
  border: 1.5px solid var(--line); background: #fff; color: var(--muted);
  padding: 9px 20px; border-radius: 999px; font-size: 14.5px; transition: all .2s;
}
.filter-btn:hover { border-color: var(--g300); color: var(--g700); }
.filter-btn.active { background: var(--g900); border-color: var(--g900); color: #fff; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 980px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .product-grid { grid-template-columns: 1fr; } }
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; transition: all .22s; display: flex; flex-direction: column;
}
.product-card:hover { border-color: var(--g300); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card .p-cat { font-size: 12px; letter-spacing: 1px; color: var(--g700); font-weight: 600; }
.product-card h3 { font-size: 19px; color: var(--g900); margin: 6px 0 2px; font-weight: 700; }
.product-card .p-en { font-size: 13px; color: var(--muted); letter-spacing: .3px; }
.product-card .p-cas {
  display: inline-block; margin-top: 12px; font-size: 12.5px; color: var(--g700);
  background: var(--g50); border-radius: 6px; padding: 3px 10px; font-family: Consolas, monospace;
}
.product-card p { margin-top: 12px; font-size: 13.5px; color: var(--muted); flex: 1; }
.product-card .p-link { margin-top: 14px; font-size: 13.5px; font-weight: 600; color: var(--g700); }

/* ---------------- CTA 横幅 ---------------- */
.cta-band {
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(200, 169, 106, .25), transparent 60%),
    linear-gradient(120deg, #06231a, #0b3d2e);
  color: #fff; text-align: center; padding: 72px 24px;
}
.cta-band h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 700; }
.cta-band p { margin-top: 14px; color: rgba(255, 255, 255, .78); }
.cta-band .btn { margin-top: 30px; }

/* ---------------- 联系页 ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info .card { padding: 22px 20px; display: flex; gap: 16px; align-items: flex-start; margin-bottom: 16px; }
.contact-info .card-icon { margin-bottom: 0; width: 46px; height: 46px; }
.contact-info h4 { font-size: 15.5px; color: var(--g900); }
.contact-info p { font-size: 14px; color: var(--muted); }

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 36px 32px; box-shadow: var(--shadow);
}
.form-card h3 { font-size: 20px; color: var(--g900); margin-bottom: 6px; }
.form-card > p { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--g900); margin-bottom: 7px; }
.field label .req { color: #c0392b; margin-left: 2px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 15px; color: var(--ink); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--g500); box-shadow: 0 0 0 3px rgba(23, 147, 110, .14);
}
.field.error input, .field.error textarea, .field.error select { border-color: #c0392b; }
.field .err-msg { display: none; font-size: 12.5px; color: #c0392b; margin-top: 5px; }
.field.error .err-msg { display: block; }
.form-submit { width: 100%; padding: 14px; border: none; border-radius: 10px; background: var(--g700); color: #fff; font-size: 16px; font-weight: 600; transition: background .2s; }
.form-submit:hover { background: var(--g900); }
.form-success {
  display: none; text-align: center; padding: 34px 20px;
}
.form-success.show { display: block; }
.form-success .ok-ico {
  width: 62px; height: 62px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--g100); color: var(--g700); display: flex; align-items: center; justify-content: center;
}
.form-success h4 { font-size: 19px; color: var(--g900); }
.form-success p { font-size: 14px; color: var(--muted); margin-top: 8px; }

/* ---------------- 页脚 ---------------- */
.site-footer { background: var(--g950); color: rgba(255, 255, 255, .8); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 64px 0 44px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h5 { color: #fff; font-size: 15.5px; margin-bottom: 16px; font-weight: 600; }
.footer-grid p, .footer-grid a { font-size: 14px; color: rgba(255, 255, 255, .62); }
.footer-grid a { display: block; padding: 4px 0; transition: color .2s; }
.footer-grid a:hover { color: var(--g300); }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.footer-brand img { width: 160px; height: auto; display: block; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  font-size: 13px; color: rgba(255, 255, 255, .45);
}

/* ---------------- 动效 ---------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* 内页小 Hero */
.page-hero {
  background:
    radial-gradient(800px 320px at 85% -20%, rgba(23, 147, 110, .3), transparent 60%),
    linear-gradient(130deg, #082f23, #0d4a38);
  color: #fff; padding: 66px 0 58px;
}
.page-hero h1 { font-size: clamp(26px, 4vw, 38px); font-weight: 700; }
.page-hero p { margin-top: 12px; color: rgba(255, 255, 255, .75); max-width: 44em; }
.crumb { font-size: 13px; color: rgba(255, 255, 255, .55); margin-bottom: 16px; }
.crumb a:hover { color: var(--g300); }

/* 返回顶部 */
.to-top {
  position: fixed; right: 22px; bottom: 26px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; border: none;
  background: var(--g900); color: #fff; font-size: 18px;
  display: none; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); transition: background .2s, transform .2s;
}
.to-top.show { display: flex; }
.to-top:hover { background: var(--g700); transform: translateY(-3px); }

/* ============================================================
   最新动态（Blog）模块
   ============================================================ */
.news-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.news-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--g300);
}
.news-cover { aspect-ratio: 16 / 9; overflow: hidden; background: var(--g100); }
.news-cover img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.news-card:hover .news-cover img { transform: scale(1.05); }
.news-cover-placeholder {
  background:
    radial-gradient(240px 120px at 80% 0%, rgba(23, 147, 110, .35), transparent 65%),
    linear-gradient(135deg, #0b3d2e, #17936e);
}
.news-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.news-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.news-tag {
  display: inline-block; padding: 3px 10px; border-radius: 20px;
  font-size: 12px; font-weight: 600; color: #fff; background: var(--g500);
}
.news-meta time { font-size: 12.5px; color: var(--muted); }
.news-card h3 {
  font-size: 17.5px; font-weight: 700; color: var(--g900);
  line-height: 1.45; margin-bottom: 8px;
}
.news-card h3 a { color: inherit; }
.news-card h3 a:hover { color: var(--g500); }
.news-card p { font-size: 14px; color: var(--muted); line-height: 1.7; flex: 1; }
.news-more {
  display: inline-block; margin-top: 16px;
  font-size: 14px; font-weight: 600; color: var(--g700);
}
.news-more:hover { color: var(--g500); }

/* ---- 文章详情页 ---- */
.article-wrap { max-width: 820px; margin: 0 auto; }
.article-body { padding: 0 0 30px; }
.article-body .news-meta { margin-bottom: 14px; }
.article-body h1 {
  font-size: clamp(24px, 3.4vw, 34px); font-weight: 700;
  color: var(--g900); line-height: 1.4; margin-bottom: 20px;
}
.article-cover {
  border-radius: 14px; overflow: hidden; margin: 6px 0 26px;
  box-shadow: var(--shadow-sm);
}
.article-cover img { width: 100%; display: block; }
.article-content { font-size: 15.5px; line-height: 1.9; color: #26322e; }
.article-content h3 {
  font-size: 18px; font-weight: 700; color: var(--g900);
  margin: 28px 0 10px;
  padding-left: 12px; border-left: 3px solid var(--gold);
}
.article-content p { margin: 12px 0; }
.article-content ul { margin: 12px 0 12px 22px; list-style: disc; }
.article-content li { margin: 6px 0; }
.article-content strong { color: var(--g900); }
.article-back { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); }
.article-back a { font-size: 14.5px; font-weight: 600; color: var(--g700); }
.article-back a:hover { color: var(--g500); }
.article-notfound { text-align: center; padding: 60px 0; }
.article-notfound h3 { font-size: 24px; color: var(--g900); margin-bottom: 10px; }
.article-notfound p { color: var(--muted); }

/* 响应式 */
@media (max-width: 960px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .news-grid { grid-template-columns: 1fr; }
}
