/* =============================================================
   河南省云联社专业合作社联合社 · 官网设计系统
   风格：简约大气 · 清新自然 · 农业绿主题
   ============================================================= */

:root {
  /* 品牌色 —— 自然农业绿 */
  --green-900: #14361f;
  --green-800: #1c4a2b;
  --green-700: #256b3c;
  --green-600: #2f8a4d;
  --green-500: #3fae63;
  --green-400: #66c585;
  --green-300: #9fdcb3;
  --green-100: #dcefe2;
  --green-50:  #f1f9f3;

  /* 辅助大地色 */
  --earth-600: #8a6d3b;
  --earth-500: #b08d4f;
  --earth-100: #efe6d6;

  /* 中性色 */
  --ink:    #1a241f;
  --slate:  #46554c;
  --muted:  #76857c;
  --line:   #e4ece6;
  --bg:     #ffffff;
  --bg-soft:#f6faf6;
  --bg-deep:#0f2a1a;

  /* 其他 */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(20,54,31,.06), 0 2px 8px rgba(20,54,31,.05);
  --shadow:    0 8px 24px rgba(20,54,31,.08);
  --shadow-lg: 0 20px 50px rgba(20,54,31,.12);
  --maxw: 1200px;
  --header-h: 72px;

  --font: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC",
          "Noto Sans SC", "Hiragino Sans GB", -apple-system,
          BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 600;
  font-size: 15px; cursor: pointer; border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--green-600); color: #fff; box-shadow: 0 8px 20px rgba(47,138,77,.28); }
.btn-primary:hover { background: var(--green-700); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(47,138,77,.34); }
.btn-ghost { background: #fff; color: var(--green-700); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--green-400); color: var(--green-800); transform: translateY(-2px); }
.btn-line { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-line:hover { background: rgba(255,255,255,.12); border-color:#fff; }
.btn svg { width: 18px; height: 18px; }

/* ---------- 顶栏 ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.header.scrolled { background: #fff; border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header .inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--green-800); }
.brand .logo { width: 40px; height: 40px; flex: none; }
.brand .name { display: flex; flex-direction: column; line-height: 1.15; }
.brand .name b { font-size: 17px; letter-spacing: .02em; }
.brand .name span { font-size: 11px; color: var(--muted); font-weight: 500; letter-spacing: .14em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 9px 16px; border-radius: 999px; font-size: 15px; color: var(--slate);
  font-weight: 500; transition: color .18s, background .18s;
}
.nav a:hover { color: var(--green-700); background: var(--green-50); }
.nav a.active { color: var(--green-700); background: var(--green-50); font-weight: 600; }

.nav-toggle { display: none; width: 44px; height: 44px; border: none; background: transparent;
  cursor: pointer; border-radius: 12px; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--green-800); position: relative; transition: .25s; }
.nav-toggle span::before, .nav-toggle span::after { content:""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--green-800); transition: .25s; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: calc(var(--header-h) + 96px) 0 110px;
  background:
    radial-gradient(1100px 500px at 88% -8%, rgba(63,174,99,.16), transparent 60%),
    radial-gradient(900px 460px at 6% 8%, rgba(159,220,179,.30), transparent 55%),
    linear-gradient(180deg, var(--green-50), #fff 70%);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(47,138,77,.06) 1px, transparent 1px);
  background-size: 22px 22px; mask-image: linear-gradient(180deg, #000, transparent 75%);
  pointer-events: none;
}
.hero .inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  color: var(--green-700); background: #fff; border: 1px solid var(--green-100);
  padding: 7px 14px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.hero h1 { font-size: clamp(34px, 4.4vw, 56px); color: var(--green-900); margin: 22px 0 18px; }
.hero h1 .hl { color: var(--green-600); }
.hero .lead { font-size: 18px; color: var(--slate); max-width: 540px; }
.hero .actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero .stats { display: flex; gap: 34px; margin-top: 44px; flex-wrap: wrap; }
.hero .stats .num { font-size: 30px; font-weight: 800; color: var(--green-700); }
.hero .stats .lbl { font-size: 13px; color: var(--muted); }

/* Hero 视觉插画（纯 CSS/SVG） */
.hero-art { position: relative; }
.hero-art img { display: block; width: 100%; height: auto; border-radius: 22px;
  filter: drop-shadow(0 24px 40px rgba(20,54,31,.18)); }
.hero-art svg { width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(20,54,31,.14)); }

/* 内页 Hero 插图（嵌入既有 hero 的 .inner 末尾） */
.subhero-img {
  display: block;
  width: 100%;
  max-width: 1040px;
  height: auto;
  margin: 38px auto 0;
  border-radius: 22px;
  box-shadow: 0 24px 40px rgba(20,54,31,.14);
  object-fit: cover;
}
@media (max-width: 760px) {
  .subhero-img { margin-top: 22px; border-radius: 16px; max-height: 320px; }
}

/* ---------- 通用 section ---------- */
.section { padding: 88px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head .tag { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em;
  color: var(--green-600); text-transform: uppercase; margin-bottom: 12px; }
.section-head h2 { font-size: clamp(26px, 3vw, 38px); color: var(--green-900); }
.section-head p { color: var(--slate); margin-top: 14px; font-size: 17px; }

/* ---------- 卡片栅格 ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--green-100); }

.feature .ic {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--green-50); color: var(--green-700); margin-bottom: 18px;
}
.feature .ic svg { width: 28px; height: 28px; }
.feature h3 { font-size: 19px; margin-bottom: 10px; color: var(--green-900); }
.feature p { color: var(--slate); font-size: 15px; margin: 0; }

/* 服务卡片（带编号） */
.svc { position: relative; overflow: hidden; }
.svc .no { position: absolute; top: 18px; right: 22px; font-size: 46px; font-weight: 800;
  color: var(--green-50); line-height: 1; transition: color .22s; }
.svc:hover .no { color: var(--green-100); }
.svc .ic { width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--green-500), var(--green-600)); color: #fff; margin-bottom: 16px; }
.svc .ic svg { width: 26px; height: 26px; }
.svc h3 { font-size: 18px; margin-bottom: 8px; color: var(--green-900); }
.svc p { color: var(--slate); font-size: 14.5px; margin: 0 0 14px; }
.svc ul { display: flex; flex-wrap: wrap; gap: 8px; }
.svc ul li { font-size: 12.5px; color: var(--green-700); background: var(--green-50);
  border: 1px solid var(--green-100); padding: 4px 11px; border-radius: 999px; }

/* ---------- 数据条 ---------- */
.metrics { background: linear-gradient(135deg, var(--green-800), var(--green-600)); color: #fff; }
.metrics .grid { gap: 0; }
.metric { text-align: center; padding: 14px; }
.metric .num { font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; line-height: 1; }
.metric .num .u { font-size: 18px; font-weight: 700; margin-left: 2px; }
.metric .lbl { margin-top: 10px; opacity: .9; font-size: 14.5px; }

/* ---------- 时间线 ---------- */
.timeline { position: relative; max-width: 860px; margin: 0 auto; padding-left: 26px; }
.timeline::before { content:""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(var(--green-400), var(--green-100)); }
.tl-item { position: relative; padding: 0 0 34px 26px; }
.tl-item::before { content:""; position: absolute; left: -26px; top: 4px; width: 14px; height: 14px;
  border-radius: 50%; background: #fff; border: 3px solid var(--green-600); box-shadow: var(--shadow-sm); }
.tl-item .yr { font-weight: 800; color: var(--green-700); }
.tl-item h3 { font-size: 18px; margin: 4px 0 6px; color: var(--green-900); }
.tl-item p { color: var(--slate); font-size: 15px; margin: 0; }

/* ---------- 价值/理念分栏 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .visual { background: linear-gradient(135deg, var(--green-600), var(--green-800));
  border-radius: var(--radius-lg); padding: 38px; color: #fff; min-height: 320px; position: relative; overflow: hidden; }
.split .visual::after { content:""; position: absolute; right: -40px; bottom: -40px; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(255,255,255,.18), transparent 70%); }
.split .visual h3 { font-size: 22px; margin-bottom: 16px; }
.split .visual p { opacity: .92; }
.value-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.value-list li:last-child { border-bottom: none; }
.value-list .k { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--green-50);
  color: var(--green-700); display: grid; place-items: center; font-weight: 800; }
.value-list .t b { display: block; color: var(--green-900); }
.value-list .t span { color: var(--slate); font-size: 14.5px; }

/* ---------- 表单 ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--green-900); }
.field input, .field textarea, .field select {
  font-family: inherit; font-size: 15px; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: #fff; color: var(--ink); transition: border-color .18s, box-shadow .18s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--green-400); box-shadow: 0 0 0 4px rgba(63,174,99,.14); }
.field textarea { resize: vertical; min-height: 120px; }
.field .err { color: #c0392b; font-size: 12.5px; display: none; }
.field.invalid input, .field.invalid textarea { border-color: #e07a6f; }
.field.invalid .err { display: block; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ---------- 联系信息块 ---------- */
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid var(--line);
  border-radius: var(--radius); background: #fff; }
.contact-card .ic { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--green-50);
  color: var(--green-700); display: grid; place-items: center; }
.contact-card .ic svg { width: 22px; height: 22px; }
.contact-card b { display: block; color: var(--green-900); font-size: 15px; }
.contact-card span { color: var(--slate); font-size: 14px; }

/* ---------- 地图占位 ---------- */
.map { height: 340px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(63,174,99,.10), rgba(28,74,43,.06)),
    repeating-linear-gradient(0deg, rgba(47,138,77,.06) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(90deg, rgba(47,138,77,.06) 0 1px, transparent 1px 28px),
    #eef5ef;
  display: grid; place-items: center; color: var(--green-700); position: relative; }
.map .pin { text-align: center; }
.map .pin svg { width: 40px; height: 40px; margin: 0 auto 8px; }
.map .pin b { display: block; font-size: 16px; }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(135deg, var(--green-800), var(--green-600)); color: #fff; border-radius: var(--radius-lg);
  padding: 56px; text-align: center; position: relative; overflow: hidden; }
.cta::after { content:""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.10) 1px, transparent 1px); background-size: 24px 24px; }
.cta > * { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(24px, 3vw, 34px); }
.cta p { opacity: .92; margin: 14px auto 26px; max-width: 560px; }

/* ---------- 页脚 ---------- */
.footer { background: var(--bg-deep); color: #cfe0d4; padding: 60px 0 28px; margin-top: 0; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer .brand { color: #fff; margin-bottom: 16px; }
.footer .brand .name b { color: #fff; }
.footer .brand .name span { color: #9fc4ab; }
.footer p { color: #9fc4ab; font-size: 14.5px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; letter-spacing: .04em; }
.footer .links a { display: block; color: #b7d2bf; font-size: 14.5px; padding: 6px 0; transition: color .18s; }
.footer .links a:hover { color: #fff; }
.footer .contact-mini span { display: block; color: #b7d2bf; font-size: 14px; padding: 5px 0; }
.footer .bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: #8fb39c; font-size: 13px; }
.footer .bottom a { color: #cfe3d6; text-decoration: underline; text-underline-offset: 3px; }
.footer .bottom a:hover { color: #fff; }

/* APP 下载卡片（位于「联系我们」下方） */
.footer .contact-mini .app-download { display: flex; align-items: center; gap: 12px; margin-top: 14px;
  padding: 12px 14px; background: linear-gradient(135deg, #3fae63, #2e8b4f); border-radius: 14px; color: #fff;
  box-shadow: 0 6px 16px rgba(46,139,79,.22); }
.footer .contact-mini .app-dl-qr { flex: 0 0 auto; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: #fff; }
.footer .contact-mini .app-dl-qr img { display: block; width: 100%; height: 100%; object-fit: cover; }
.footer .contact-mini .app-dl-body { flex: 1 1 auto; min-width: 0; }
.footer .contact-mini .app-dl-title { font-size: 15px; font-weight: 700; line-height: 1.25; }
.footer .contact-mini .app-dl-sub { font-size: 12px; opacity: .92; margin-top: 3px; line-height: 1.4; }
.footer .contact-mini .app-dl-btn { display: inline-block; margin-top: 8px; background: #fff; color: #2e8b4f; font-weight: 700; font-size: 13px;
  padding: 8px 14px; border-radius: 10px; text-decoration: none; white-space: nowrap; transition: transform .15s, background .15s; }
.footer .contact-mini .app-dl-btn:hover { background: #eafff1; transform: translateY(-1px); }

/* ---------- 工具类 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero .inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { order: -1; max-width: 460px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav { position: fixed; top: var(--header-h); right: 16px; left: 16px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-lg); flex-direction: column; align-items: stretch; padding: 12px;
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .22s; }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 13px 16px; }
  .nav-toggle { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .cta { padding: 40px 24px; }
  .hero .stats { gap: 22px; }
  .footer .cols { grid-template-columns: 1fr; }
}

/* 顶栏 7 项菜单适配（介于移动端与宽屏之间时收紧间距） */
@media (min-width: 721px) and (max-width: 1080px) {
  .nav a { padding: 9px 11px; font-size: 14px; }
}
/* 服务卡片标题可点击跳转 */
.svc h3 a { color: var(--green-900); transition: color .18s; }
.svc:hover h3 a { color: var(--green-600); }

/* 锚点跳转不被吸顶导航遮挡 */
[id] { scroll-margin-top: calc(var(--header-h) + 18px); }

/* 相关服务交叉导航（详情页底部） */
.related-grid .card.feature { transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.related-grid .card.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--green-100); }
.related-grid .card.feature .go { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
  color: var(--green-700); font-weight: 600; font-size: 14px; transition: gap .18s; }
.related-grid .card.feature:hover .go { gap: 10px; }
.related-grid .card.feature .go svg { width: 16px; height: 16px; }
