/* =====================================================================
   安徽步云环境科技有限公司 · 官网设计系统 v4
   设计基调：参照 SGS 国际检测机构风格（大气、专业、克制、大留白）
   品牌色：深蓝主色（匹配 Logo JS）+ 青山绿水翠绿辅助
   ===================================================================== */

/* ---------- 1. 设计 Token ---------- */
:root {
  /* 主色：深蓝（匹配 Logo） */
  --blue-50:  #eff6ff;
  --blue-100:#dbeafe;
  --blue-200:#bfdbfe;
  --blue-300:#93c5fd;
  --blue-400:#60a5fa;
  --blue-500:#3b82f6;
  --blue-600:#2563eb;
  --blue-700:#1d4ed8;   /* 主品牌色（接近 Logo） */
  --blue-800:#1e40af;
  --blue-900:#15264a;   /* 最深（Hero 压暗、页脚） */

  /* 环境绿（青山绿水） */
  --green-50: #f0fdf4;
  --green-100:#dcfce7;
  --green-200:#bbf7d0;
  --green-400:#4ade80;
  --green-500:#22c55e;
  --green-600:#16a34a;
  --green-700:#15803d;

  /* 语义色 */
  --ok: #16a34a;  --warn:#d97706;  --err:#dc2626;

  /* 中性色 */
  --ink:    #0f172a;
  --ink-2:  #1e293b;
  --muted:  #475569;
  --muted-2:#64748b;
  --line:   #e7edf5;
  --line-2: #d3dce8;
  --bg:     #f6f9fc;
  --surface:#ffffff;

  /* 字体 */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;

  /* 间距（8px 基线） */
  --s-1:4px; --s-2:8px; --s-3:12px; --s-4:16px; --s-5:20px; --s-6:24px;
  --s-8:32px; --s-10:40px; --s-12:48px; --s-16:64px; --s-20:80px; --s-24:96px;

  /* 圆角 */
  --r-sm:10px; --r-md:14px; --r-lg:18px; --r-xl:24px; --r-full:999px;

  /* 阴影 */
  --sh-sm: 0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  --sh-md: 0 10px 28px -10px rgba(21,38,74,.18), 0 4px 10px rgba(15,23,42,.05);
  --sh-lg: 0 26px 52px -18px rgba(21,38,74,.30), 0 10px 24px rgba(15,23,42,.07);
  --sh-xl: 0 34px 68px -22px rgba(21,38,74,.38), 0 12px 30px rgba(15,23,42,.08);

  /* 渐变 */
  --grad-hero:  linear-gradient(135deg, #0f2d52 0%, #1a4a8a 40%, #156b8f 70%, #15807a 100%);
  --grad-brand: linear-gradient(135deg, #15264a 0%, #1d4ed8 55%, #0ea5e9 100%);
  --grad-blue:  linear-gradient(135deg, #1d4ed8, #2563eb);
  --grad-green: linear-gradient(135deg, #15803d, #22c55e);
  --grad-nature:linear-gradient(180deg, #ffffff 0%, #f0fdf4 60%, #ecfdf5 100%);
}

/* ---------- 2. 基础重置 ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font-sans); color: var(--ink);
  background: var(--bg); font-size: 16px; line-height: 1.75;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-700); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--blue-900); }
ul { margin: 0; }
h1, h2, h3 { line-height: 1.25; }

a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid rgba(59,130,246,.5); outline-offset: 2px; border-radius: 8px;
}

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }

/* ---------- 3. 顶部固定区 ---------- */
.top-fixed {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  box-shadow: 0 1px 14px rgba(15,23,42,.07);
}

/* 联系信息 ribbon */
.topbar { background: linear-gradient(90deg, #0f2d52, #164a7a); color: #e0effe; font-size: 13px; }
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 9px 24px; max-width: 1180px; margin: 0 auto;
}
.topbar-left { display: flex; gap: 26px; flex-wrap: wrap; }
.topbar-left span { white-space: nowrap; display: flex; align-items: center; gap: 5px; }
.topbar-right { color: #a8d4f0; white-space: nowrap; }

/* header —— Logo + 文字 */
.site-header { background: transparent; }
.head-inner { display: flex; align-items: center; justify-content: space-between; height: 82px; }
.brand { display: flex; align-items: center; gap: 12px; margin-left: -2px; text-decoration: none; }
.brand-logo { height: 48px; width: auto; }
.brand-text { display: flex; flex-direction: column; height: 48px; justify-content: center; gap: 3px; }
.brand-name { font-size: 18px; font-weight: 800; color: var(--blue-900); letter-spacing: .5px; line-height: 1.12; white-space: nowrap; }
.brand-en { font-size: 9.5px; font-weight: 500; color: var(--muted-2); letter-spacing: .2px; line-height: 1.12; white-space: nowrap; text-align: justify; text-align-last: justify; }
.brand-name:hover { color: var(--blue-800); }
.site-nav { display: flex; gap: 2px; }
.nav-link {
  position: relative; padding: 9px 16px; border-radius: var(--r-sm);
  color: var(--muted); font-size: 15px; white-space: nowrap;
  transition: color .22s ease, background-color .22s ease;
}
.nav-link::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2.5px;
  background: var(--grad-blue); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .26s ease;
}
.nav-link:hover, .nav-link.active { color: var(--blue-700); background: var(--blue-50); }
.nav-link.active::after, .nav-link:hover::after { transform: scaleX(1); }
.nav-toggle {
  display: none; border: 0; background: none; font-size: 24px; color: var(--ink);
  cursor: pointer; padding: 6px;
}

/* info bar */
.infobar { background: transparent; border-top: 1px solid var(--line); }
.infobar-inner { display: flex; align-items: center; justify-content: space-between; height: 44px; gap: 16px; }
.ticker { flex: 1; overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-block; white-space: nowrap; padding-left: 100%; animation: tickerMove 32s linear infinite; }
.ticker .tk { font-size: 13px; color: var(--muted); }
.ticker .tk b { color: var(--blue-700); }
@keyframes tickerMove { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.site-search { display: flex; }
.site-search input {
  border: 1px solid var(--line-2); border-right: 0; padding: 8px 14px;
  border-radius: var(--r-sm) 0 0 var(--r-sm); font-size: 13px; width: 220px;
  font-family: inherit; color: var(--ink); outline: none; background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-search input:focus { border-color: var(--blue-400); box-shadow: 0 0 0 3px var(--blue-100); }
.site-search button {
  background: var(--blue-700); color: #fff; border: 0; padding: 8px 18px;
  border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: 13px; cursor: pointer;
  transition: background-color .2s ease, transform .15s ease;
}
.site-search button:hover { background: var(--blue-800); }
.site-search button:active { transform: scale(.96); }

/* ---------- 4. Hero（全宽实景图 + 深色叠层，SGS 式大气） ---------- */
.hero {
  position: relative; min-height: 600px; display: flex; align-items: center;
  overflow: hidden; isolation: isolate; color: #fff;
  background: var(--blue-900) url("/public/hero-bg.png") center/cover no-repeat;
  width: 100vw; margin-left: calc(50% - 50vw);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(98deg, rgba(7,18,34,.86) 0%, rgba(7,18,34,.62) 46%, rgba(7,18,34,.18) 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; padding: 104px 0; }
/* AI 生成图片右下角水印（小字、半透明） */
.img-wm {
  position: absolute; right: 12px; bottom: 12px; z-index: 3;
  font-size: 11px; line-height: 1.4; color: rgba(255,255,255,.82);
  background: rgba(0,0,0,.34); padding: 3px 9px; border-radius: 6px;
  letter-spacing: .4px; pointer-events: none; white-space: nowrap;
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
}
.as-media { position: relative; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 7px 18px; border-radius: var(--r-full);
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.30);
  backdrop-filter: blur(4px); margin-bottom: 22px;
}
.hero-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green-400); box-shadow: 0 0 8px var(--green-400); }
.hero h1 {
  font-size: clamp(34px, 5.4vw, 56px); margin: 0 0 20px; font-weight: 800;
  letter-spacing: -.02em; line-height: 1.12; text-shadow: 0 2px 18px rgba(0,0,0,.35);
}
.hero p { font-size: 18px; color: rgba(255,255,255,.92); max-width: 620px; margin: 0 0 30px; line-height: 1.8; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-tags { display: flex; gap: 10px; list-style: none; padding: 0; flex-wrap: wrap; margin: 30px 0 0; }
.hero-tags li {
  font-size: 14px; padding: 8px 18px; border-radius: var(--r-full);
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(3px);
}
/* Hero 内搜索框（呼应 SGS 站内搜索） */
.hero-search {
  display: flex; margin-top: 34px; max-width: 540px;
  background: #fff; border-radius: 14px; padding: 6px; box-shadow: var(--sh-lg);
}
.hero-search input {
  flex: 1; border: 0; padding: 14px 18px; font-size: 15px; border-radius: 10px;
  outline: none; color: var(--ink); background: transparent; font-family: inherit;
}
.hero-search button {
  background: var(--blue-700); color: #fff; border: 0; padding: 0 28px;
  border-radius: 10px; font-size: 15px; font-weight: 600; cursor: pointer;
  transition: background-color .2s ease, transform .15s ease; white-space: nowrap;
}
.hero-search button:hover { background: var(--blue-800); }
.hero-search button:active { transform: scale(.97); }

/* ---------- 5. 数据信任带 ---------- */
.stats-band { width: 100vw; margin-left: calc(50% - 50vw); padding: 0; background: #fff; border-bottom: 1px solid var(--line); }
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  max-width: 1180px; margin: 0 auto;
}
.stat-card {
  text-align: center; padding: 40px 20px; position: relative;
  transition: background-color .3s ease;
}
.stat-card + .stat-card { border-left: 1px solid var(--line); }
.stat-card:hover { background: var(--blue-50); }
.stat-num {
  display: block; font-size: 40px; color: var(--blue-800); line-height: 1;
  font-weight: 800; letter-spacing: -.5px;
}
.stat-label { color: var(--muted); font-size: 14.5px; margin-top: 10px; }

/* ---------- 6. 通用区块与标题 ---------- */
.section { padding: 84px 0; }
.section--alt { background: var(--grad-nature); }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 50px; }
.sec-eyebrow {
  display: inline-block; color: var(--blue-700); font-weight: 700; letter-spacing: 2px;
  font-size: 13px; text-transform: uppercase; margin-bottom: 14px;
}
.sec-head h2 { font-size: clamp(26px, 3.6vw, 38px); margin: 0 0 14px; color: var(--ink); font-weight: 800; letter-spacing: -.02em; }
.sec-head p { color: var(--muted); font-size: 16.5px; margin: 0; line-height: 1.7; }

.sec-title { font-size: 26px; color: var(--ink); margin: 0 0 26px; position: relative; padding-left: 18px; font-weight: 700; }
.sec-title::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 5px; border-radius: 3px; background: var(--grad-blue); }

/* 服务卡片网格 */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 26px; box-shadow: var(--sh-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; position: relative; overflow: hidden;
}
.card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad-blue); opacity: 0; transition: opacity .3s ease; }
.card:hover { transform: translateY(-8px); box-shadow: var(--sh-xl); border-color: transparent; }
.card:hover::before { opacity: 1; }
.card-icon {
  width: 56px; height: 56px; border-radius: 15px; margin-bottom: 18px;
  background: var(--grad-blue); color: #fff; display: grid; place-items: center;
  font-size: 22px; font-weight: 700; box-shadow: 0 6px 16px rgba(37,99,235,.28);
}
.card h3 { margin: 0 0 10px; font-size: 18.5px; color: var(--ink); }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.7; }

/* ---------- 7. 新闻卡片（SGS 式资讯呈现） ---------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.news-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--sh-sm); display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.news-card:hover { transform: translateY(-8px); box-shadow: var(--sh-xl); }
.news-card .nc-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: linear-gradient(135deg, #1d4ed8, #0ea5e9); }
.news-card .nc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.news-card:hover .nc-media img { transform: scale(1.07); }
.news-card .nc-body { padding: 20px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.news-card .nc-date { color: var(--muted-2); font-size: 13px; }
.news-card h3 { margin: 0; font-size: 17px; color: var(--ink); line-height: 1.45; transition: color .2s ease; }
.news-card:hover h3 { color: var(--blue-700); }
.news-card .nc-more { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--blue-700); }

/* 资讯两栏（公告 + 动态） */
.info-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; align-items: start; }
.info-col { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--sh-sm); }
.link-list { list-style: none; padding: 0; margin: 0; }
.link-list li { border-bottom: 1px dashed var(--line); }
.link-list a { display: flex; gap: 12px; padding: 14px 0; color: var(--ink-2); font-size: 15px; transition: color .2s ease, padding-left .2s ease; }
.link-list a:hover { color: var(--blue-700); padding-left: 8px; }
.dot-date { color: var(--muted-2); font-size: 13px; flex: 0 0 86px; }
.more { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 600; }
.more:hover { text-decoration: underline; }
.li-file { display: inline-block; margin-left: 8px; font-size: 12.5px; color: var(--blue-700); background: var(--blue-50); border: 1px solid var(--blue-200); padding: 1px 8px; border-radius: 999px; white-space: nowrap; vertical-align: middle; }
.li-file:hover { background: var(--blue-100); }

/* ---------- 8. 关于我们条（图文） ---------- */
.about-strip {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center;
  background: var(--grad-nature); border-radius: var(--r-xl); padding: 52px;
}
.about-strip h2 { font-size: clamp(24px, 3vw, 32px); margin: 0 0 14px; color: var(--ink); font-weight: 800; }
.about-strip p { color: var(--muted); font-size: 16px; margin: 0 0 22px; }
.about-strip .as-media img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--sh-md); }
.about-strip .as-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.about-strip .as-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 15px; }
.about-strip .as-list li::before { content: ""; flex: 0 0 8px; height: 8px; margin-top: 9px; border-radius: 50%; background: var(--grad-green); }

/* ---------- 9. 特色优势横幅（青山绿水视觉块） ---------- */
.feature-banner {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  padding: 60px 48px; color: #fff;
  background: linear-gradient(135deg, #0f2d52 0%, #134e4a 50%, #166534 100%);
}
.feature-banner::before {
  content: ""; position: absolute; inset: 0; opacity: .12;
  background-image:
    radial-gradient(circle at 18% 82%, rgba(34,197,94,.5) 0%, transparent 50%),
    radial-gradient(circle at 82% 18%, rgba(59,130,246,.4) 0%, transparent 50%);
}
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; position: relative; z-index: 1; }
.feature-item { text-align: center; }
.feature-icon {
  width: 66px; height: 66px; margin: 0 auto 16px; border-radius: 18px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  display: grid; place-items: center; font-size: 28px;
}
.feature-item h3 { font-size: 17.5px; margin: 0 0 7px; }
.feature-item p { font-size: 14px; color: rgba(255,255,255,.82); margin: 0; }

/* ---------- 10. CTA 行动块 ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  margin: 0; padding: 60px 48px; color: #fff; background-image: var(--grad-hero); box-shadow: var(--sh-xl);
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-text h2 { margin: 0 0 8px; font-size: 28px; font-weight: 800; }
.cta-text p { margin: 0; color: rgba(255,255,255,.9); font-size: 16px; }

/* ---------- 11. 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--blue-700); color: #fff; padding: 14px 32px; border-radius: var(--r-sm);
  font-size: 15.5px; border: 0; cursor: pointer; font-weight: 600; box-shadow: var(--sh-sm);
  transition: transform .22s ease, background-color .22s ease, box-shadow .22s ease;
}
.btn:hover { background: var(--blue-800); transform: translateY(-2px) scale(1.03); box-shadow: var(--sh-md); color: #fff; }
.btn:active { transform: scale(.97); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; transform: translateY(-2px) scale(1.03); }
.btn-white { background: #fff; color: var(--blue-800); }
.btn-white:hover { background: #f0f7ff; color: var(--blue-900); }
.btn-green { background: var(--green-600); }
.btn-green:hover { background: var(--green-700); }
.btn-lg { padding: 16px 38px; font-size: 16px; }

/* ---------- 12. 内页通用 ---------- */
.page-head { padding: 64px 0 22px; }
.page-head h1 { font-size: 34px; color: var(--ink); margin: 0 0 8px; font-weight: 800; }
.page-head p { color: var(--muted); margin: 0; font-size: 16.5px; }

/* 内页实景横幅头部（与首页 Hero 呼应） */
.page-hero {
  position: relative; padding: 76px 0; color: #fff; overflow: hidden;
  background: var(--blue-900) url("/public/hero-bg.png") center/cover no-repeat;
  width: 100vw; margin-left: calc(50% - 50vw); margin-bottom: 8px;
}
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(95deg, rgba(7,18,34,.85) 0%, rgba(7,18,34,.55) 55%, rgba(7,18,34,.2) 100%); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(28px, 3.6vw, 42px); margin: 0 0 10px; font-weight: 800; letter-spacing: -.02em; text-shadow: 0 2px 16px rgba(0,0,0,.3); }
.page-hero p { color: rgba(255,255,255,.9); margin: 0; font-size: 17px; }

.post-list { list-style: none; padding: 0; margin: 12px 0 44px; }
.post-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  margin-bottom: 14px; box-shadow: var(--sh-sm); transition: transform .22s ease, box-shadow .22s ease;
}
.post-item:hover { transform: translateX(6px); box-shadow: var(--sh-md); }
.post-main { display: flex; gap: 18px; padding: 18px; color: var(--ink); align-items: center; }
.post-main:hover { color: var(--ink); }
.post-thumb { width: 130px; height: 86px; object-fit: cover; border-radius: 10px; flex: 0 0 auto; }
.post-date { flex: 0 0 96px; color: var(--muted-2); font-size: 14px; }
.post-body h3 { margin: 0 0 6px; font-size: 17px; color: var(--ink); }
.post-body p { margin: 0; color: var(--muted); font-size: 14px; }
.post-file {
  display: inline-flex; align-items: center; gap: 6px; margin: 0 18px 16px;
  padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  color: var(--blue-700); background: var(--blue-50); border: 1px solid var(--blue-200);
  transition: background-color .2s ease;
}
.post-file:hover { background: var(--blue-100); }
.file-cur { display: inline-block; margin-top: 6px; font-size: 13px; color: var(--muted); }
.file-cur a { color: var(--blue-700); }
.detail-file {
  display: inline-flex; align-items: center; gap: 8px; margin: 6px 0 22px;
  padding: 11px 18px; border-radius: 10px; font-size: 15px; font-weight: 600;
  color: #fff; background: var(--blue-700); border: 1px solid var(--blue-800);
  transition: background-color .2s ease;
}
.detail-file:hover { background: var(--blue-800); }

.prose { max-width: 800px; padding: 12px 0 44px; }
.prose h3 { color: var(--blue-800); margin-top: 30px; font-size: 21px; }
.prose p { margin: 14px 0; color: var(--ink-2); }
.prose ul { padding-left: 24px; }
.prose li { margin: 7px 0; color: var(--ink-2); }
.detail .meta { color: var(--muted); font-size: 14px; margin-bottom: 18px; display: flex; align-items: center; gap: 16px; }
.detail-img { width: 100%; max-width: 700px; border-radius: var(--r-lg); margin: 8px 0 20px; display: block; box-shadow: var(--sh-md); }
.back { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 16px; font-size: 14px; font-weight: 600; }
.back:hover { text-decoration: underline; }

/* 荣誉 */
.honors { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin: 18px 0 12px; }
.honor { display: flex; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; align-items: center; box-shadow: var(--sh-sm); transition: transform .25s ease, box-shadow .25s ease; }
.honor:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.honor-badge { flex: 0 0 54px; height: 54px; border-radius: 14px; background: var(--grad-blue); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; box-shadow: 0 4px 10px rgba(37,99,235,.2); }
.honor-name { display: block; font-size: 16px; font-weight: 400; color: var(--ink); }
.honor p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }

/* 荣誉卡片（图片版） */
.honors--img{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin-top:6px;}
.honor--img{flex-direction:column!important;align-items:stretch!important;}
.honor--img .honor-badge{align-self:flex-start;}
.honor--img .honor-body img{width:100%;aspect-ratio:4/3;object-fit:contain;background:#f3f7fc;border-radius:var(--r-sm);border:1px solid var(--line);padding:8px;}
.honor--img .honor-name{margin-top:10px;}
.honor--img p{margin-top:4px;}

/* 发展历程时间线 */
.timeline{position:relative;padding-left:30px;margin:14px 0 4px;}
.timeline::before{content:"";position:absolute;left:9px;top:6px;bottom:6px;width:2px;
  background:linear-gradient(180deg,var(--blue-600),var(--blue-300));border-radius:2px;}
.tl{position:relative;margin:18px 0;padding-left:16px;}
.tl::before{content:"";position:absolute;left:-25px;top:2px;width:22px;height:22px;border-radius:7px;
  background:var(--grad-blue);color:#fff;display:grid;place-items:center;font-size:11px;font-weight:700;
  box-shadow:0 3px 8px rgba(37,99,235,.22);}
.tl:nth-child(1)::before{content:"01";} .tl:nth-child(2)::before{content:"02";}
.tl:nth-child(3)::before{content:"03";} .tl:nth-child(4)::before{content:"04";} .tl:nth-child(5)::before{content:"05";}
.tl .date{display:inline-block;font-size:12.5px;font-weight:700;color:var(--blue-800);
  background:var(--blue-50);border:1px solid var(--blue-200);padding:2px 10px;border-radius:999px;letter-spacing:.3px;}
.tl .title{font-size:15.5px;font-weight:700;color:var(--ink);margin:7px 0 2px;}
.tl .desc{font-size:13.5px;color:var(--muted);line-height:1.75;}

/* 理念卡 */
.values-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:12px;}
.value-chip{position:relative;overflow:hidden;text-align:center;padding:26px 16px 22px;background:var(--surface);border:1px solid var(--line);
  border-radius:var(--r-md);box-shadow:var(--sh-sm);transition:transform .25s ease,box-shadow .25s ease,border-color .2s ease;}
.value-chip::before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:var(--grad-blue);opacity:0;transition:opacity .2s ease;}
.value-chip:hover{transform:translateY(-5px);box-shadow:var(--sh-lg);border-color:var(--blue-200);}
.value-chip:hover::before{opacity:1;}
.v-text{font-weight:700;color:var(--blue-800);font-size:17px;letter-spacing:4px;margin-bottom:6px;}
.v-desc{color:var(--muted-2);font-size:13px;margin-top:6px;line-height:1.6;}

@media(max-width:720px){
  .honors--img{grid-template-columns:1fr;}
  .values-grid{grid-template-columns:repeat(2,1fr);}
}

/* 流程步骤 */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 18px; margin-bottom: 44px; }
.step { display: flex; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; box-shadow: var(--sh-sm); transition: transform .25s ease, box-shadow .25s ease; }
.step:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.step-no { flex: 0 0 50px; height: 50px; border-radius: 14px; background: var(--grad-blue); color: #fff; display: grid; place-items: center; font-size: 17px; font-weight: 700; box-shadow: 0 4px 10px rgba(37,99,235,.2); }
.step h3 { margin: 0 0 6px; font-size: 17px; color: var(--ink); }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

/* 表单 */
.form { display: flex; flex-direction: column; gap: 14px; max-width: 500px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
.form input, .form textarea, .form select { padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm); font-size: 15px; font-family: inherit; color: var(--ink); background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--blue-400); box-shadow: 0 0 0 3px var(--blue-100); outline: none; }
.form textarea { resize: vertical; }
.form-act { display: flex; gap: 12px; }
.alert { background: var(--blue-50); color: var(--blue-900); border: 1px solid var(--blue-200); padding: 14px 18px; border-radius: var(--r-md); margin: 20px 0; }

/* 两栏 */
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 36px; align-items: start; }
.col h3 { color: var(--blue-800); margin-top: 0; font-size: 20px; }
.col p { color: var(--ink-2); }

/* ---------- 13. 页脚 ---------- */
.site-footer { background: #0b1628; color: #c7d6e6; margin-top: 56px; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad-blue); }
.foot-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1000px; margin: 0 auto; padding: 30px 20px 4px; position: relative; z-index: 1; align-items: stretch; }
.foot-col { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.foot-title { color: #fff; font-weight: 700; margin-bottom: 4px; font-size: 15px; letter-spacing: .3px; flex-shrink: 0; }
.site-footer p { margin: 3px 0; font-size: 13.5px; line-height: 1.7; }
.site-footer a { color: #7cb3e8; transition: color .2s ease; }
.site-footer a:hover { color: #bde0ff; }
.copy { border-top: 1px solid #172a46; padding: 16px 20px; margin-top: 28px; font-size: 13px; color: #5a7a98; text-align: center; white-space: nowrap; }
.beian-ph { color: #7c98b4; }
.foot-brand .foot-title { text-align: center; }
.brand-wrap { display: inline-block; align-self: center; }
.brand-row { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; padding: 0 8px; }
.qr-box {
  width: 96px; height: 96px; border-radius: 8px; background: #fff;
  overflow: hidden; flex-shrink: 0;
}
.qr-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.values-list { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1px; height: 96px; }
.value-item { color: #bde0ff; font-size: 14.5px; font-weight: 600; letter-spacing: 5px; line-height: 1.4; }

/* ---------- 14. 后台 ---------- */
body.admin { background: var(--bg); }
.admin-bar { background: var(--blue-900); color: #fff; display: flex; justify-content: space-between; padding: 13px 24px; font-size: 14px; }
.admin-bar a { color: #93c5fd; margin-left: 14px; }
.admin-main { padding: 30px 24px 52px; }
.login-box { max-width: 400px; margin: 70px auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--sh-lg); }
.login-box h2 { margin: 0 0 20px; color: var(--ink); }
.err { color: var(--err); font-size: 14px; }
.ok { color: #1a7f37; background: #e6f4ea; border: 1px solid #b7e1c4; padding: 8px 12px; border-radius: 6px; margin: 0 0 16px; font-size: 14px; }
.stat-row { display: flex; gap: 16px; margin: 18px 0 28px; flex-wrap: wrap; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 24px; text-align: center; min-width: 100px; box-shadow: var(--sh-sm); }
.stat b { display: block; font-size: 28px; color: var(--blue-700); }
.stat span { color: var(--muted); font-size: 13px; }
.admin-actions { display: flex; gap: 12px; margin-bottom: 28px; flex-wrap: wrap; }
/* 后台为白底，幽灵按钮需用深字可见（前台深色区仍保持白字） */
.admin .btn-ghost { background: #fff; color: var(--blue-700); border-color: var(--blue-700); }
.admin .btn-ghost:hover { background: var(--blue-50); color: var(--blue-800); }
.admin-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; margin-bottom: 30px; box-shadow: var(--sh-sm); }
.admin-table th, .admin-table td { text-align: left; padding: 13px 15px; border-bottom: 1px solid var(--line); font-size: 14px; }
.admin-table th { background: var(--blue-50); color: var(--muted); font-weight: 600; }
.row-act { display: flex; gap: 10px; align-items: center; }
.row-act a { color: var(--blue-600); }
.link-del { border: 0; background: none; color: var(--err); cursor: pointer; padding: 0; font-size: 14px; }
.gthumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; margin-bottom: 30px; }
.gthumb { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px; text-align: center; box-shadow: var(--sh-sm); }
.gthumb img { width: 100%; height: 130px; object-fit: cover; border-radius: 8px; display: block; }
.gthumb-cap { font-size: 13px; color: var(--muted); margin: 8px 0; }
.gthumb .link-del { font-size: 13px; }

/* ---------- 15. 滚动渐显 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 16. 响应式 ---------- */
@media (max-width: 900px) {
  .foot-inner { grid-template-columns: 1fr; }
  .foot-col { align-items: center; text-align: center; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-card + .stat-card { border-left: 0; border-top: 1px solid var(--line); }
  .two-col { grid-template-columns: 1fr; }
  .hero { min-height: 480px; }
  .about-strip { grid-template-columns: 1fr; padding: 36px; gap: 30px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 60px 0; }
}
@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 82px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 10px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--sh-lg); }
  .site-nav.open { display: flex; }
  .nav-link::after { display: none; }
  .hero { min-height: auto; }
  .hero-inner { padding: 72px 0; }
  .hero h1 { font-size: 30px; }
  .hero-search { flex-direction: column; padding: 8px; gap: 8px; }
  .hero-search button { padding: 12px; }
  .infobar-inner { height: auto; flex-direction: column; align-items: stretch; gap: 8px; padding: 8px 0; }
  .site-search input { width: 100%; }
  .topbar-inner { flex-direction: column; align-items: flex-start; gap: 4px; padding: 8px 24px; }
  .brand-name { font-size: 14px; }
  .brand-en { font-size: 7px; }
  .cta-band { padding: 40px 22px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .feature-banner { padding: 40px 22px; }
  .feature-grid { grid-template-columns: 1fr; }
  .post-main { flex-wrap: wrap; }
  .post-thumb { width: 100%; height: 150px; }
  .grid { grid-template-columns: 1fr; }
  .home-cols { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .honors { grid-template-columns: 1fr; }
  .about-strip { padding: 28px; }
  .foot-inner { grid-template-columns: 1fr; }
}

/* ---------- 17. 降低动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- 18. 列表分页 / 访问统计 ---------- */
.pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; margin: 26px 0 8px; }
.pg { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; color: var(--blue-700); font-size: 14px; text-decoration: none; transition: border-color .15s, background .15s; }
.pg:hover { border-color: var(--blue-700); }
.pg.cur { background: var(--blue-700); color: #fff; border-color: var(--blue-700); }
.pg.disabled { color: #bbb; pointer-events: none; background: #f5f7fa; }
.pg-ell { color: var(--muted); padding: 0 4px; }
.list-count { text-align: center; color: var(--muted); font-size: 13.5px; margin: 8px 0 0; }
.stat-sub { font-size: 13px; color: var(--muted); margin: 16px 0 10px; font-weight: 600; }
.trend { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 18px; margin-bottom: 28px; box-shadow: var(--sh-sm); }
.trend-bar { display: flex; align-items: center; gap: 10px; margin: 5px 0; font-size: 12.5px; color: var(--muted); }
.trend-date { flex: 0 0 42px; width: 42px; }
.trend-val { display: block; height: 14px; background: linear-gradient(90deg, var(--blue-700), #4aa3ff); border-radius: 7px; min-width: 4px; }
.trend-num { width: 44px; text-align: right; color: var(--blue-700); }
@media (max-width: 640px) {
  .pg { min-width: 34px; height: 34px; padding: 0 9px; font-size: 13px; }
  .trend-date { flex-basis: 38px; width: 38px; }
}
