/* 云环评 · 九虾环评系统 —— 静态站样式表
   设计：深绿主色 + 青灰辅助，无外部依赖，移动端优先 */

:root {
  --brand: #12624a;
  --brand-dark: #0c4536;
  --brand-light: #e8f3ee;
  --accent: #0d7c86;
  --accent-light: #e6f4f5;
  --ink: #17251f;
  --muted: #5a6b63;
  --line: #dde8e2;
  --bg: #fbfdfc;
  --card: #ffffff;
  --warn: #8a5a00;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(18, 98, 74, 0.07);
  --wrap: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.75 "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--brand); color: #fff; padding: 10px 16px; z-index: 999;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- 顶部 ---------- */
.topbar {
  background: var(--brand-dark);
  color: #cfe6dc;
  font-size: 13px;
  line-height: 1.6;
}
.topbar .wrap {
  display: flex; flex-wrap: wrap; gap: 6px 22px;
  justify-content: space-between; padding: 8px 22px;
}
.topbar a { color: #eaf6f0; }

header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; gap: 18px;
  min-height: 68px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 18px; color: var(--ink);
  letter-spacing: 0.5px; white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand svg { flex: 0 0 auto; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 11px; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--brand) 10%, var(--accent) 130%);
  color: #fff; display: grid; place-items: center;
  font-size: 17px; font-weight: 700; letter-spacing: 0;
}
.brand small {
  display: block; font-weight: 400; font-size: 11px;
  color: var(--muted); letter-spacing: 1.5px;
}
.nav-links {
  display: flex; align-items: center; gap: 2px;
  margin-left: auto; list-style: none; padding: 0; margin-top: 0; margin-bottom: 0;
}
.nav-links a {
  display: block; padding: 10px 11px; border-radius: 8px;
  color: var(--ink); font-size: 15px;
}
.nav-links a:hover { background: var(--brand-light); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--brand); font-weight: 700; background: var(--brand-light); }
.nav-cta {
  background: var(--brand); color: #fff !important; font-weight: 600;
  padding: 9px 16px !important; border-radius: 999px;
}
.nav-cta:hover { background: var(--brand-dark) !important; }
.nav-toggle {
  display: none; margin-left: auto;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  padding: 8px 12px; border-radius: 8px; font-size: 15px; cursor: pointer;
}

@media (max-width: 940px) {
  .nav { flex-wrap: wrap; padding: 8px 0; }
  .nav-toggle { display: inline-block; }
  .nav-links {
    display: none; width: 100%; flex-direction: column; align-items: stretch;
    gap: 2px; padding-bottom: 10px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 10px; }
  .nav-cta { text-align: center; margin-top: 6px; }
}

/* ---------- 首屏 ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 380px at 82% -10%, rgba(13, 124, 134, 0.16), transparent 60%),
    radial-gradient(700px 320px at 8% 0%, rgba(18, 98, 74, 0.14), transparent 62%),
    linear-gradient(180deg, #f3faf6 0%, #fbfdfc 100%);
  border-bottom: 1px solid var(--line);
}
.hero .wrap { padding: 64px 22px 58px; }
.hero-grid {
  display: grid; gap: 34px;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
}
@media (max-width: 860px) {
  .hero .wrap { padding: 44px 22px 40px; }
  .hero-grid { grid-template-columns: 1fr; }
}
.eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: 2px;
  color: var(--brand); background: var(--brand-light);
  border: 1px solid #cfe3d9; padding: 4px 12px; border-radius: 999px;
}
.hero h1 {
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.28; margin: 16px 0 14px; letter-spacing: 0.5px;
}
.hero h1 em { color: var(--brand); font-style: normal; }
.hero p.lead { font-size: 17px; color: var(--muted); margin: 0 0 26px; max-width: 44em; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); text-decoration: none; }
.btn-ghost { background: #fff; color: var(--brand); border-color: #cfe3d9; }
.btn-ghost:hover { background: var(--brand-light); text-decoration: none; }

.hero-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 22px;
}
.hero-card h2 { margin: 0 0 4px; font-size: 16px; letter-spacing: 1px; color: var(--muted); font-weight: 600; }
.hero-card ul { list-style: none; margin: 12px 0 0; padding: 0; }
.hero-card li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 15px;
}
.hero-card li:last-child { border-bottom: 0; }
.hero-card b { color: var(--brand); font-variant-numeric: tabular-nums; }
.hero-card .muted { color: var(--muted); font-size: 13px; }

/* ---------- 通用区块 ---------- */
section.block { padding: 62px 0; }
section.block.tint { background: #f4faf7; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 30px; }
.section-head .kicker {
  color: var(--accent); font-size: 13px; letter-spacing: 2px; font-weight: 700;
  text-transform: uppercase;
}
.section-head h2 { font-size: clamp(23px, 3vw, 31px); line-height: 1.35; margin: 8px 0 10px; }
.section-head p { color: var(--muted); margin: 0; }

.grid { display: grid; gap: 18px; }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) {
  .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .tag {
  display: inline-block; font-size: 12px; letter-spacing: 1px;
  color: var(--accent); background: var(--accent-light);
  padding: 2px 9px; border-radius: 999px; margin-bottom: 10px;
}
.card ul { margin: 10px 0 0; padding-left: 20px; color: var(--muted); font-size: 15px; }
.card ul li { margin: 5px 0; }

/* 三级架构 */
.stack { display: grid; gap: 14px; counter-reset: lv; }
.level {
  display: grid; grid-template-columns: 54px 1fr; gap: 16px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 20px;
}
.level .num {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; font-weight: 700;
  background: var(--brand-light); color: var(--brand); font-size: 18px;
}
.level h3 { margin: 0 0 4px; font-size: 17px; }
.level p { margin: 0; color: var(--muted); font-size: 15px; }

/* 表格 */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
caption { text-align: left; padding: 14px 18px; color: var(--muted); font-size: 14px; }
th, td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #f4faf7; font-weight: 700; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }

/* 提示条 */
.note {
  border-left: 4px solid var(--accent);
  background: var(--accent-light); color: #0b4a50;
  padding: 14px 18px; border-radius: 0 10px 10px 0; font-size: 15px;
}
.note strong { color: #08434a; }

/* 列表带勾 */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 28px; color: var(--muted); font-size: 15px; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--brand); font-weight: 700;
}

/* 时间/步骤 */
.steps { counter-reset: s; display: grid; gap: 14px; }
.step {
  counter-increment: s; position: relative; padding-left: 52px;
}
.step::before {
  content: counter(s); position: absolute; left: 0; top: 2px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 700;
  display: grid; place-items: center; font-size: 15px;
}
.step h3 { margin: 0 0 4px; font-size: 16px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* 新闻列表 */
.news-list { display: grid; gap: 14px; }
.news-item {
  display: grid; grid-template-columns: 120px 1fr; gap: 18px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px;
}
.news-item time { color: var(--muted); font-size: 14px; }
.news-item h3 { margin: 0 0 6px; font-size: 17px; }
.news-item p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 620px) { .news-item { grid-template-columns: 1fr; gap: 6px; } }

/* 联系 */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 22px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.kv { display: grid; gap: 0; }
.kv div {
  display: grid; grid-template-columns: 96px 1fr; gap: 14px;
  padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 15px;
}
.kv div:last-child { border-bottom: 0; }
.kv dt, .kv .k { color: var(--muted); }
.kv .v { color: var(--ink); font-weight: 600; }

/* CTA 条 */
.cta {
  background: linear-gradient(135deg, var(--brand) 0%, #0b5a45 55%, var(--accent) 140%);
  color: #eaf6f0; border-radius: var(--radius);
  padding: 34px; display: flex; flex-wrap: wrap; gap: 18px;
  align-items: center; justify-content: space-between;
}
.cta h2 { margin: 0 0 6px; color: #fff; font-size: 23px; }
.cta p { margin: 0; color: #cfe6dc; font-size: 15px; }
.cta .btn-primary { background: #fff; color: var(--brand); }
.cta .btn-primary:hover { background: #eaf6f0; }
.cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.cta .btn-ghost:hover { background: rgba(255,255,255,0.12); }

/* 页头（内页） */
.page-head {
  background: linear-gradient(180deg, #f3faf6, #fbfdfc);
  border-bottom: 1px solid var(--line); padding: 44px 0 38px;
}
.page-head h1 { font-size: clamp(26px, 3.4vw, 36px); margin: 10px 0 8px; }
.page-head p { color: var(--muted); margin: 0; max-width: 46em; }
.crumbs { font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* 页脚 */
footer.site {
  background: #0d2b22; color: #b9d3c8; margin-top: 0;
  padding: 46px 0 26px; font-size: 14.5px;
}
footer.site a { color: #d9ece4; }
.foot-grid {
  display: grid; gap: 28px;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
}
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
footer.site h3 { color: #fff; font-size: 15px; margin: 0 0 12px; letter-spacing: 1px; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer.site p { margin: 0 0 8px; line-height: 1.8; }
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 30px; padding-top: 18px;
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  justify-content: space-between; font-size: 13px; color: #94b3a6;
}

.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.nowrap { white-space: nowrap; }
