/* =========================================================
   北京中农瑞景生态科技有限公司 — 官网样式
   纯静态，无 JS。品牌绿 #008C35 取自企业 logo。
   ========================================================= */

:root {
  /* 品牌色 */
  --green: #008C35;
  --green-dark: #006A28;
  --green-deep: #0A3D24;
  --green-tint: #E8F3EC;
  --green-tint-2: #F4F9F6;

  /* 中性色 */
  --ink: #16211C;
  --ink-2: #4A5A52;
  --ink-3: #7C8A83;
  --line: #E1E7E3;
  --line-2: #EDF1EE;
  --white: #FFFFFF;
  --bg: #FFFFFF;
  --bg-soft: #F7FAF8;

  /* 强调色（资质 / 荣誉） */
  --gold: #A67C2E;
  --gold-tint: #FAF4E8;

  /* 尺寸 */
  --wrap: 1200px;
  --nav-h: 84px;
  --radius: 4px;
  --radius-lg: 8px;

  /* 字体 */
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC",
          "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.35; letter-spacing: .01em; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }

/* ============ 顶部导航 ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { height: 100%; display: flex; align-items: center; gap: 40px; }
.brand { display: flex; align-items: center; gap: 14px; flex: none; }
.brand img { height: 44px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-size: 19px; font-weight: 600; letter-spacing: .2em; color: var(--ink); }
.brand-sub { font-size: 9px; color: var(--ink-3); letter-spacing: 0; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-links a {
  padding: 8px 16px; font-size: 15px; color: var(--ink-2);
  border-radius: var(--radius); transition: color .18s, background .18s;
}
.nav-links a:hover { color: var(--green); background: var(--green-tint-2); }
.nav-links a.on { color: var(--green); font-weight: 600; }

.nav-tel {
  flex: none; display: flex; align-items: center; gap: 8px;
  padding: 10px 20px; font-size: 15px; font-weight: 600;
  color: var(--white); background: var(--green); border-radius: var(--radius);
  transition: background .18s;
}
.nav-tel:hover { background: var(--green-dark); }
.nav-tel svg { width: 16px; height: 16px; }

/* 移动端菜单（纯 CSS） */
.nav-toggle { display: none; }
.nav-burger { display: none; margin-left: auto; width: 40px; height: 40px; cursor: pointer; }
.nav-burger span, .nav-burger span::before, .nav-burger span::after {
  display: block; position: absolute; width: 22px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform .22s, opacity .22s, top .22s;
}
.nav-burger span { top: 19px; left: 9px; }
.nav-burger span::before { content: ""; top: -7px; left: 0; }
.nav-burger span::after  { content: ""; top: 7px;  left: 0; }

/* ============ 首屏 ============ */
.hero { position: relative; min-height: 600px; display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,32,20,.62) 0%, rgba(8,32,20,.30) 38%, rgba(8,32,20,.72) 100%);
}
.hero-inner { position: relative; width: 100%; padding: 120px 0 72px; color: var(--white); }
.hero-eyebrow {
  display: inline-block; padding: 6px 14px; margin-bottom: 26px;
  font-size: 13px; letter-spacing: .14em;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.34);
  border-radius: 2px;
}
.hero h1 { font-size: 52px; font-weight: 600; line-height: 1.28; letter-spacing: .02em; max-width: 18em; }
.hero-lead { margin-top: 24px; max-width: 42em; font-size: 18px; line-height: 1.85; color: rgba(255,255,255,.9); }
.hero-actions { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 34px; font-size: 16px; font-weight: 600; border-radius: var(--radius);
  transition: background .18s, color .18s, border-color .18s;
}
.btn-primary { color: var(--white); background: var(--green); }
.btn-primary:hover { background: var(--green-dark); }
.btn-ghost { color: var(--white); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.24); }
.btn-outline { color: var(--green); background: transparent; border: 1px solid var(--green); }
.btn-outline:hover { color: var(--white); background: var(--green); }

/* ============ 数据条 ============ */
.stats { background: var(--green-deep); color: var(--white); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 46px 28px; border-left: 1px solid rgba(255,255,255,.12); }
.stat:first-child { border-left: 0; }
.stat-num { font-size: 44px; font-weight: 600; line-height: 1; letter-spacing: -.01em; }
.stat-num small { font-size: 20px; font-weight: 500; margin-left: 4px; opacity: .82; }
.stat-label { margin-top: 14px; font-size: 14px; color: rgba(255,255,255,.72); letter-spacing: .04em; }

/* ============ 通用区块 ============ */
.section { padding: 104px 0; }
.section.soft { background: var(--bg-soft); }
.section.tint { background: var(--green-tint-2); }

.sec-head { margin-bottom: 56px; }
.sec-head.center { text-align: center; }
.sec-eyebrow {
  display: inline-block; margin-bottom: 14px;
  font-size: 13px; font-weight: 600; letter-spacing: .18em; color: var(--green);
}
.sec-title { font-size: 36px; color: var(--ink); }
.sec-desc { margin-top: 18px; max-width: 46em; font-size: 16px; color: var(--ink-2); line-height: 1.9; }
.sec-head.center .sec-desc { margin-left: auto; margin-right: auto; }
.sec-head.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.sec-head.row .sec-desc { margin-top: 0; max-width: 40em; }

.link-more {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  font-size: 15px; font-weight: 600; color: var(--green);
  padding-bottom: 4px; border-bottom: 1px solid currentColor;
}
.link-more:hover { color: var(--green-dark); }

/* ============ 页内页头 ============ */
.page-head { padding: 88px 0 72px; background: var(--green-tint-2); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: 42px; }
.page-head .sec-desc { margin-top: 20px; }
.crumb { margin-bottom: 22px; font-size: 13px; color: var(--ink-3); }
.crumb a:hover { color: var(--green); }
.crumb span { margin: 0 8px; }

/* ============ 关于 ============ */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }
.about-body p { font-size: 16px; color: var(--ink-2); line-height: 1.95; }
.about-body p + p { margin-top: 20px; }
.about-tags { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  padding: 8px 16px; font-size: 14px; color: var(--green-dark);
  background: var(--green-tint); border-radius: 2px;
}
.about-media img { width: 100%; border-radius: var(--radius-lg); }
.about-media figcaption { margin-top: 14px; font-size: 13px; color: var(--ink-3); }

/* ============ 技术卡片 ============ */
.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.tech-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: box-shadow .22s, transform .22s, border-color .22s;
}
.tech-card:hover { transform: translateY(-4px); border-color: #C9DCD0; box-shadow: 0 18px 40px -18px rgba(10,61,36,.22); }
.tech-card .thumb { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--green-tint); }
.tech-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tech-card:hover .thumb img { transform: scale(1.04); }
.badge {
  position: absolute; left: 20px; top: 20px;
  padding: 6px 14px; font-size: 13px; font-weight: 600; letter-spacing: .04em;
  color: var(--white); background: rgba(10,61,36,.86); border-radius: 2px;
}
.badge.gold { background: rgba(166,124,46,.94); }
.tech-body { padding: 34px 34px 38px; display: flex; flex-direction: column; flex: 1; }
.tech-body h3 { font-size: 24px; }
.tech-body p { margin-top: 16px; font-size: 15px; color: var(--ink-2); line-height: 1.9; }
.tech-meta { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line-2); display: flex; gap: 36px; }
.tech-meta div { flex: 1; }
.tech-meta dt { font-size: 12px; color: var(--ink-3); letter-spacing: .1em; }
.tech-meta dd { margin: 6px 0 0; font-size: 15px; font-weight: 600; color: var(--green-dark); }

/* ============ 产品网格 ============ */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.prod-card {
  display: flex; flex-direction: column; padding: 32px 30px 34px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: box-shadow .22s, transform .22s, border-color .22s;
}
.prod-card:hover { transform: translateY(-4px); border-color: #C9DCD0; box-shadow: 0 18px 40px -18px rgba(10,61,36,.22); }
.prod-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.prod-icon {
  width: 52px; height: 52px; flex: none; display: grid; place-items: center;
  background: var(--green-tint); border-radius: var(--radius); color: var(--green);
}
.prod-icon svg { width: 26px; height: 26px; }
.prod-cat { font-size: 12px; letter-spacing: .12em; color: var(--ink-3); }
.prod-card h3 { margin-top: 24px; font-size: 21px; }
.prod-spec {
  margin-top: 12px; padding: 10px 14px; font-size: 13px; line-height: 1.7;
  color: var(--green-dark); background: var(--green-tint-2);
  border-left: 2px solid var(--green); border-radius: 0 2px 2px 0;
}
.prod-card p { margin-top: 18px; font-size: 14.5px; color: var(--ink-2); line-height: 1.85; }
.prod-points { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.prod-points li { position: relative; padding-left: 18px; font-size: 14px; color: var(--ink-2); line-height: 1.75; }
.prod-points li + li { margin-top: 8px; }
.prod-points li::before {
  content: ""; position: absolute; left: 0; top: .72em;
  width: 6px; height: 6px; background: var(--green); border-radius: 50%;
}

/* ============ 资质 / 成果图 ============ */
.figure-grid { display: grid; gap: 32px; }
.figure-grid.one { grid-template-columns: 1fr; }
.figure-grid.two { grid-template-columns: 1fr 1fr; }
.figure { margin: 0; }
.figure img { width: 100%; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.figure figcaption { margin-top: 16px; font-size: 14px; color: var(--ink-2); }

/* ============ 专利 / 标准列表 ============ */
.list-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.data-list li {
  display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line-2);
}
.data-list li:first-child { border-top: 1px solid var(--line-2); }
.data-list .no {
  flex: none; width: 34px; font-size: 13px; font-weight: 600; color: var(--green);
  font-variant-numeric: tabular-nums; padding-top: 2px;
}
.data-list .txt { font-size: 15px; color: var(--ink); line-height: 1.7; }
.data-list .txt small { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-3); }
.data-list .lvl {
  flex: none; align-self: flex-start; margin-left: auto; padding: 3px 10px;
  font-size: 12px; font-weight: 600; color: var(--green-dark);
  background: var(--green-tint); border-radius: 2px; white-space: nowrap;
}
.data-list .lvl.intl { color: var(--gold); background: var(--gold-tint); }

/* ============ 业绩 ============ */
.highlights { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.hl {
  padding: 28px 24px 30px; background: var(--white);
  border: 1px solid var(--line); border-top: 3px solid var(--green); border-radius: var(--radius);
}
.hl-no { font-size: 13px; font-weight: 600; color: var(--green); letter-spacing: .1em; }
.hl p { margin-top: 14px; font-size: 14.5px; color: var(--ink-2); line-height: 1.8; }

/* 项目表 */
.proj-group + .proj-group { margin-top: 56px; }
.proj-group-head {
  display: flex; align-items: baseline; gap: 16px;
  padding-bottom: 16px; border-bottom: 2px solid var(--green);
}
.proj-group-head h3 { font-size: 22px; }
.proj-group-head span { font-size: 14px; color: var(--ink-3); }
.proj-table { width: 100%; border-collapse: collapse; }
.proj-table td { padding: 15px 12px; border-bottom: 1px solid var(--line-2); font-size: 15px; vertical-align: top; }
.proj-table td.no { width: 68px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.proj-table td.name { color: var(--ink); }
.proj-table tbody tr:hover { background: var(--green-tint-2); }

/* 项目分类锚点导航 */
.anchor-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; }
.anchor-nav a {
  padding: 9px 18px; font-size: 14px; color: var(--ink-2);
  background: var(--white); border: 1px solid var(--line); border-radius: 2px;
  transition: all .18s;
}
.anchor-nav a:hover { color: var(--white); background: var(--green); border-color: var(--green); }

/* ============ 成果展示视频 ============ */
.video-figure { max-width: 960px; margin: 0 auto; }
.video-frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  background: #0B1410; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 24px 48px -24px rgba(10,61,36,.35);
}
.video-player { width: 100% !important; height: 100% !important; }
.video-figure figcaption {
  margin-top: 22px; font-size: 14px; color: var(--ink-3);
  line-height: 1.85; text-align: center; max-width: 44em; margin-left: auto; margin-right: auto;
}

/* ============ 创始人 ============ */
.founder { display: grid; grid-template-columns: 320px 1fr; gap: 64px; align-items: start; }
.founder-card {
  padding: 36px 32px; background: var(--green-deep); color: var(--white); border-radius: var(--radius-lg);
}
.founder-card .name { font-size: 32px; font-weight: 600; letter-spacing: .06em; }
.founder-card .role { margin-top: 10px; font-size: 14px; color: rgba(255,255,255,.7); }
.founder-card .divider { margin: 26px 0; height: 1px; background: rgba(255,255,255,.18); }
.founder-card .quote { font-size: 15px; line-height: 1.85; color: rgba(255,255,255,.86); }
.founder-card .facts { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.founder-card .facts b { display: block; font-size: 24px; font-weight: 600; }
.founder-card .facts span { font-size: 12px; color: rgba(255,255,255,.66); }

/* ============ 合作伙伴 ============ */
.partners { display: flex; flex-wrap: wrap; gap: 12px; }
.partners li {
  padding: 12px 22px; font-size: 15px; color: var(--ink-2);
  background: var(--white); border: 1px solid var(--line); border-radius: 2px;
}

/* ============ 联系 ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.contact-list li { display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line-2); }
.contact-list li:first-child { border-top: 1px solid var(--line-2); }
.contact-icon {
  flex: none; width: 44px; height: 44px; display: grid; place-items: center;
  color: var(--green); background: var(--green-tint); border-radius: var(--radius);
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-list dt { font-size: 13px; color: var(--ink-3); letter-spacing: .08em; }
.contact-list dd { margin: 5px 0 0; font-size: 17px; color: var(--ink); font-weight: 500; line-height: 1.6; }

.cta-box {
  padding: 44px 40px; background: var(--green-tint-2);
  border: 1px solid #D7E6DC; border-radius: var(--radius-lg);
}
.cta-box h3 { font-size: 24px; }
.cta-box p { margin-top: 14px; font-size: 15px; color: var(--ink-2); line-height: 1.85; }
.cta-box .btn { margin-top: 28px; }

/* ============ 页脚 ============ */
.site-footer { background: var(--green-deep); color: rgba(255,255,255,.78); padding: 76px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; }
.footer-brand img { height: 52px; width: auto; background: var(--white); padding: 8px 12px; border-radius: var(--radius); }
.footer-brand p { margin-top: 20px; font-size: 14px; line-height: 1.85; max-width: 22em; }
.footer-col h4 { font-size: 15px; font-weight: 600; color: var(--white); margin-bottom: 20px; letter-spacing: .04em; }
.footer-col li + li { margin-top: 12px; }
.footer-col a, .footer-col li { font-size: 14px; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  padding: 24px 0; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  font-size: 13px; color: rgba(255,255,255,.55);
}

/* ============ 响应式 ============ */
@media (max-width: 1100px) {
  .nav-links a { padding: 8px 11px; font-size: 14px; }
  .nav { gap: 24px; }
  .highlights { grid-template-columns: repeat(3, 1fr); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  :root { --nav-h: 68px; }
  .wrap { padding: 0 20px; }
  .brand img { height: 36px; }
  .brand-name { font-size: 16px; }
  .brand-sub { display: none; }
  .nav-tel { display: none; }

  .nav-burger { display: block; position: relative; }
  .nav-links {
    position: fixed; left: 0; right: 0; top: var(--nav-h);
    flex-direction: column; align-items: stretch; gap: 0;
    margin: 0; padding: 8px 20px 20px;
    background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px -12px rgba(0,0,0,.18);
    max-height: 0; overflow: hidden; padding-top: 0; padding-bottom: 0;
    transition: max-height .28s ease, padding .28s ease;
  }
  .nav-links a { padding: 14px 4px; font-size: 16px; border-bottom: 1px solid var(--line-2); border-radius: 0; }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-toggle:checked ~ .nav-links { max-height: 420px; padding-top: 8px; padding-bottom: 20px; }
  .nav-toggle:checked ~ .nav-burger span { background: transparent; }
  .nav-toggle:checked ~ .nav-burger span::before { top: 0; transform: rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span::after  { top: 0; transform: rotate(-45deg); }

  .hero { min-height: 460px; }
  .hero-inner { padding: 72px 0 48px; }
  .hero h1 { font-size: 30px; }
  .hero-lead { font-size: 15px; margin-top: 18px; }
  .hero-actions { margin-top: 28px; }
  .btn { padding: 13px 26px; font-size: 15px; }

  .section { padding: 64px 0; }
  .sec-head { margin-bottom: 36px; }
  .sec-head.row { flex-direction: column; align-items: flex-start; gap: 18px; }
  .sec-title { font-size: 26px; }
  .page-head { padding: 52px 0 44px; }
  .page-head h1 { font-size: 28px; }

  .about-grid, .tech-grid, .list-cols, .contact-grid, .figure-grid.two { grid-template-columns: 1fr; gap: 36px; }
  .founder { grid-template-columns: 1fr; gap: 32px; }
  .highlights { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-left: 0 !important; padding: 30px 20px; }
  .stat + .stat { border-top: 1px solid rgba(255,255,255,.12); }
  .stat-num { font-size: 34px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .tech-body { padding: 26px 22px 30px; }
  .prod-card { padding: 26px 22px 28px; }
  .proj-table td { padding: 13px 6px; font-size: 14px; }
  .proj-table td.no { width: 44px; }
  .data-list .lvl { display: none; }
}

@media print {
  .site-header, .site-footer, .hero-actions, .anchor-nav { display: none; }
  body { font-size: 12pt; }
}
