/* YUBAI3D · 玉柏设计 —— 静态演示站（首页 / 案例 / 流程 / 关于） */

:root {
  /* v15：声明本站只有浅色，挡住手机浏览器「夜间模式 / 强制深色」把米色顶栏压成深褐 */
  color-scheme: only light;
  --green: #28583f;
  --green-deep: #1b3f2d;
  --green-mid: #3d6f55;
  --accent: #3faa35;
  --ink: #16241c;
  --body: #3f5247;
  --muted: #6b7d72;
  --line: #e2e8e1;
  --line-strong: #cfd8cd;
  --bg: #fbfcfa;
  --card: #f4f7f2;
  --mist: #eef2ec;
  --max: 1680px;
  --pad: clamp(16px, 2.4vw, 40px);
  --brand-red: #c0392b;
  /* v11：核心入口从品牌红改成交通黄 —— 黄底必须配深字，白字对比度不够 */
  --brand-yellow: #f5c518;
  --brand-yellow-deep: #d9a800;
  --brand-yellow-ink: #1a1a1a;
  --nav-bg-top: #f7f1e4;
  --nav-bg-bottom: #ece1cc;
  --nav-line: #d3c3a6;
  --nav-hair: rgba(27, 63, 45, 0.16);
  --r: 14px;
  --shadow: 0 18px 40px -28px rgba(22, 36, 28, 0.45);
  --mono: "SF Mono", "JetBrains Mono", "Cascadia Mono", Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: 88px 0; }
.section--tight { padding: 64px 0; }
.section--mist { background: var(--mist); }

/* ---------- 文字层级 ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--green-mid);
  font-weight: 600;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--green-mid);
  opacity: 0.6;
}

.h2 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -0.02em; }
.h2-sub { color: var(--muted); margin-top: 14px; max-width: 620px; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 44px;
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--green);
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: border-color 0.2s, gap 0.2s;
}
.link-more:hover { border-color: var(--green); gap: 12px; }

/* ---------- 导航 ---------- */

/* v9：顶栏改成通栏色带 —— 底色铺满整个浏览器宽度，内容仍与正文对齐 */
/* v10：顶栏文字整体再放大一档（导航 17.5→19.5、字标 56→60、按钮 17→18、顶栏 136→144） */
/* v11：再放大一档 + logo 单独放大 + 核心入口换交通黄（导航 19.5→22、字标 60→80、顶栏 144→164） */
/* v12：只放大字标 —— 74→92、中文名 16→18、顶栏 164→184；腾宽度靠内容边距 40→28、导航项内边距 7→6 */
/* v13：中文名 18→22、九项之间加 9px 间隔（词间 12→19px）；导航 22→21 把省下的宽度换成间隔 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0;
  background: linear-gradient(180deg, var(--nav-bg-top) 0%, var(--nav-bg-bottom) 100%);
  border-bottom: 1px solid var(--nav-line);
  box-shadow: 0 16px 30px -34px rgba(31, 44, 37, 0.9);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  height: 184px;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

/* v14：logo 块改成网格 —— 中文名那一行直接取字标的宽度，宽窄跟着 logo 走，不再靠字号去凑 */
.brand {
  display: grid;
  grid-template-columns: auto;
  justify-items: center;
  align-content: center;
  gap: 12px;
  flex: 0 0 auto;
}
/* logo.png 是白底图，放大后在暖砂色带上会露出一块白方块；multiply 让白底吃掉、黑绿字不动 */
.brand img { height: 92px; width: auto; display: block; mix-blend-mode: multiply; }
.brand-name {
  font-size: 24px;
  letter-spacing: 0.24em;
  padding-left: 0.24em; /* 抵掉字距在末尾多出的空隙，视觉上才是正中 */
  color: var(--brand-red);
  line-height: 1;
  text-indent: 0;
}
/* 九个字两端顶到字标左右边缘：宽是 flex 分出来的，不是字距撑的，所以字号一变、断点一换，宽度仍然对齐 */
.brand > .brand-name {
  display: flex;
  justify-content: space-between;
  width: 100%;
  letter-spacing: 0;
  padding-left: 0;
}
.brand > .brand-name > span { display: block; }

/* v13：九项之间真正留出空隙 —— 内边距 5px + 间隔 9px = 词间 19px（v12 只有 12px） */
/* 间隔只加在九个导航项之间，右侧「登录 / 中文·EN / 提交项目」仍按 v12 的间距 */
.nav-links { display: flex; align-items: center; gap: 0; flex: 0 1 auto; }
.nav-links > a:not(.nav-login):not(.nav-cta) { margin-right: 9px; }
.nav-links a {
  padding: 5px;
  font-size: 21px;
  white-space: nowrap;
  color: var(--body);
  border-radius: 10px;
  transition: background 0.18s, color 0.18s;
}
.nav-links a:hover { background: rgba(40, 88, 63, 0.08); color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--green); font-weight: 600; background: rgba(40, 88, 63, 0.1); }

/* 核心入口「起重机自动出三维」：交通黄实心胶囊 + 深字 + 加粗，和另外八项区分开 */
.nav-links a.nav-hot {
  background: var(--brand-yellow);
  color: var(--brand-yellow-ink);
  font-weight: 700;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--brand-yellow-deep);
  box-shadow: 0 8px 16px -10px rgba(150, 120, 0, 0.85);
}
.nav-links a.nav-hot:hover { background: #e8b90f; color: var(--brand-yellow-ink); }
.nav-links a.nav-hot[aria-current="page"] { background: var(--brand-yellow-deep); color: var(--brand-yellow-ink); }

.nav-cta {
  background: var(--green);
  color: #fff !important;
  padding: 12px 18px !important;
  border-radius: 999px;
  font-weight: 600;
  font-size: 21px;
}
.nav-cta:hover { background: var(--green-deep); }

/* 语言切换：只做视觉，暂不换内容（列表见 site.js 的 LANGS） */
.lang {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: 10px;
  padding-left: 12px;
  border-left: 1px solid var(--nav-hair);
}
.lang .on,
.lang .off {
  font-size: 16px;
  line-height: 1;
  padding: 9px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.lang .on { background: var(--green); color: #fff; font-weight: 600; }
.lang .off { border: 1px solid var(--nav-hair); color: #6b6353; cursor: default; }

/* 登录入口（演示层：只在本地记状态，真校验在后端接口） */
.nav-login {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 10px 13px;
  font-size: 17px;
  line-height: 1.2;
  color: var(--green-deep);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--nav-hair);
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.18s, border-color 0.18s;
}
.nav-login:hover { background: #fff; border-color: var(--green); }
.nav-login.is-in { color: var(--body); border-color: transparent; background: rgba(255, 255, 255, 0.7); }

/* ---------- 登录弹层 ---------- */

.login-modal { position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; padding: 20px; }
.login-modal[hidden] { display: none; }
.login-mask { position: absolute; inset: 0; background: rgba(15, 25, 19, 0.55); backdrop-filter: blur(4px); }
.login-card {
  position: relative;
  width: min(100%, 420px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  background: #fff;
  border-radius: 20px;
  padding: 30px 30px 26px;
  box-shadow: 0 40px 90px -40px rgba(15, 25, 19, 0.65);
}
.login-x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--mist);
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.login-x:hover { background: var(--line); color: var(--ink); }
.login-card h2 { font-size: 23px; letter-spacing: -0.02em; }
.login-sub { margin-top: 8px; font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.login-tabs { display: flex; gap: 6px; margin: 20px 0 18px; background: var(--mist); border-radius: 999px; padding: 4px; }
.login-tabs button {
  flex: 1;
  border: 0;
  background: none;
  border-radius: 999px;
  padding: 9px 12px;
  font-family: inherit;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
}
.login-tabs button.on { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 4px rgba(22, 36, 28, 0.12); }
.login-card label { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
.login-card input {
  display: block;
  width: 100%;
  margin-top: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
}
.login-card input:focus { outline: 2px solid rgba(40, 88, 63, 0.25); outline-offset: 0; border-color: var(--green-mid); }
.login-card .btn { width: 100%; margin-top: 4px; }
.login-note { margin-top: 14px; font-size: 12px; color: var(--muted); line-height: 1.6; }
body.modal-open { overflow: hidden; }

/* 轻提示 */
.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translate(-50%, 12px);
  max-width: min(86vw, 420px);
  background: rgba(20, 33, 26, 0.94);
  color: #fff;
  font-size: 13.5px;
  line-height: 1.6;
  padding: 12px 20px;
  border-radius: 12px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s, transform 0.22s;
  z-index: 200;
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}
.nav-toggle span::before { position: absolute; top: -5px; }
.nav-toggle span::after { position: absolute; top: 5px; }

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s, background 0.18s, border-color 0.18s, color 0.18s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-deep); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--green); color: var(--green); }
.btn--sm { padding: 9px 18px; font-size: 13.5px; }
.btn--onDark { background: #fff; color: var(--green-deep); }
.btn--onDark:hover { background: #e9f0e7; }
.btn--lineOnDark { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.btn--lineOnDark:hover { background: rgba(255, 255, 255, 0.1); }

/* ---------- 首页 Hero ---------- */

.hero { padding: 58px 0 76px; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 64px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.14;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(transparent 64%, rgba(63, 170, 53, 0.4) 64%);
  padding: 0 2px;
}
.hero p.lead { font-size: 17px; color: var(--body); max-width: 520px; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }

.hero-meta {
  display: flex;
  gap: 34px;
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.hero-meta div strong {
  display: block;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.hero-meta div span { font-size: 12.5px; color: var(--muted); letter-spacing: 0.04em; }

/* 三维视口示意 */
.viewport-wrap { position: relative; }
.viewport {
  position: relative;
  background: #14211a;
  border-radius: 18px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 40px 80px -50px rgba(20, 33, 26, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.viewport-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--mono);
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.55);
}
.viewport-bar .dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.viewport-bar .dot--on { background: var(--accent); box-shadow: 0 0 0 3px rgba(63, 170, 53, 0.18); }
.viewport-bar .name { margin-left: 4px; color: rgba(255, 255, 255, 0.8); }
.viewport-bar .state { margin-left: auto; color: var(--accent); }

.viewport-stage {
  position: relative;
  aspect-ratio: 4 / 3;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.viewport-stage svg { width: 78%; height: auto; }
.viewport-tools {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 5px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.viewport-tools span {
  white-space: nowrap;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.72);
  padding: 5px 12px;
  border-radius: 999px;
}
.viewport-tools span.on { background: rgba(255, 255, 255, 0.92); color: var(--green-deep); font-weight: 600; }

.viewport-tag {
  position: absolute;
  right: -10px;
  top: 72px;
  background: #fff;
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: var(--shadow);
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}
.viewport-tag strong { display: block; color: var(--ink); font-size: 15px; }
.viewport-tag .ok { color: var(--accent); font-weight: 600; }

/* ---------- 服务概览 ---------- */

.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.svc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 30px 28px 32px;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.svc-num { font-family: var(--mono); font-size: 12px; color: var(--green-mid); letter-spacing: 0.1em; }
.svc h3 { font-size: 20px; margin: 20px 0 10px; }
.svc p { font-size: 14.5px; color: var(--muted); }
.svc-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.svc-tags li { font-size: 12px; color: var(--green); background: var(--mist); padding: 4px 10px; border-radius: 999px; }

/* ---------- 案例详情 ---------- */

.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.case {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.case-cover { background: var(--mist); aspect-ratio: 4 / 3; overflow: hidden; }
.case-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.case:hover .case-cover img { transform: scale(1.04); }
.case-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.case-cat { font-size: 11.5px; letter-spacing: 0.1em; color: var(--green-mid); font-weight: 600; }
.case h3 { font-size: 17px; }
.case p { font-size: 13.5px; color: var(--muted); line-height: 1.65; }
.case-foot {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--muted);
  border-top: 1px dashed var(--line);
}
.case-foot .arrow { color: var(--green); }

/* ---------- 流程条 ---------- */

.flow-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}
.flow-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px 24px;
}
.flow-step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--green);
  background: var(--mist);
  border-radius: 6px;
  padding: 3px 8px;
  display: inline-block;
}
.flow-step h3 { font-size: 16.5px; margin: 16px 0 8px; }
.flow-step p { font-size: 13.5px; color: var(--muted); }

/* ---------- CTA ---------- */

.cta {
  position: relative;
  background: var(--green-deep);
  color: rgba(255, 255, 255, 0.78);
  border-radius: 22px;
  padding: 56px 56px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63, 170, 53, 0.35), transparent 62%);
}
.cta h2 { color: #fff; font-size: clamp(24px, 2.8vw, 34px); max-width: 560px; }
.cta p { margin-top: 12px; max-width: 520px; font-size: 15px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------- 页脚 ---------- */

.site-footer { border-top: 1px solid var(--line); margin-top: 20px; padding: 56px 0 34px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand img { height: 34px; mix-blend-mode: multiply; }
.footer-brand .brand-name { margin-top: 9px; font-size: 11px; letter-spacing: 0.3em; color: var(--brand-red); }
.footer-brand p { margin-top: 16px; font-size: 13.5px; color: var(--muted); max-width: 300px; }
.footer-col h4 { font-size: 12px; letter-spacing: 0.14em; color: var(--muted); font-weight: 600; margin-bottom: 16px; }
.footer-col a, .footer-col li { font-size: 14px; color: var(--body); display: block; margin-bottom: 10px; }
.footer-col a:hover { color: var(--green); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12.5px;
  color: var(--muted);
  flex-wrap: wrap;
}

/* ---------- 页面头（内页） ---------- */

.page-head { padding: 72px 0 48px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--mist), var(--bg)); }
.page-head h1 { font-size: clamp(33px, 4.2vw, 54px); letter-spacing: -0.025em; margin-bottom: 14px; }
.page-head p { color: var(--muted); max-width: 620px; }

.crumbs { display: flex; gap: 8px; font-size: 13.5px; color: var(--muted); margin-bottom: 26px; }
.crumbs a:hover { color: var(--green); }

/* ---------- 案例筛选 ---------- */

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.chip {
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--body);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13.5px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.18s;
}
.chip:hover { border-color: var(--green); color: var(--green); }
.chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; font-weight: 600; }
.filter-count { font-size: 13px; color: var(--muted); margin-bottom: 18px; }

/* ---------- 案例详情 ---------- */

.detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: 56px; align-items: start; }
.detail-cover { border-radius: var(--r); overflow: hidden; background: var(--mist); border: 1px solid var(--line); }
.spec { border: 1px solid var(--line); border-radius: var(--r); background: #fff; padding: 8px 22px; }
.spec-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.spec-row:last-child { border-bottom: 0; }
.spec-row span:first-child { color: var(--muted); }
.spec-row span:last-child { color: var(--ink); font-weight: 600; }

.file-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13.5px;
}
.file-list li:last-child { border-bottom: 0; }
.file-list .ext {
  font-family: var(--mono);
  font-size: 11px;
  background: var(--mist);
  color: var(--green);
  border-radius: 5px;
  padding: 2px 7px;
}
.file-list .size { color: var(--muted); font-size: 12px; }

.prose h2 { font-size: 22px; margin: 40px 0 14px; }
.prose p { margin-bottom: 16px; max-width: 74ch; }
.prose ul.bullets li { max-width: 74ch; }
.prose ul.bullets { margin: 0 0 18px; }
.prose ul.bullets li { position: relative; padding-left: 18px; margin-bottom: 8px; font-size: 15px; }
.prose ul.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- 流程演示 ---------- */

.tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.tab {
  background: none;
  border: 0;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tab[aria-selected="true"] { color: var(--green); border-color: var(--green); font-weight: 600; }

.panel { display: none; }
.panel.on { display: block; }

.panel-box {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  padding: 28px;
}
.field-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 16px; }
.field label { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.field .input {
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
}

.task-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13.5px;
}
.task-row:last-child { border-bottom: 0; }
.task-id { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.badge { font-size: 11.5px; padding: 3px 10px; border-radius: 999px; font-weight: 600; }
.badge--run { background: rgba(63, 170, 53, 0.12); color: #2c7d26; }
.badge--queue { background: #f1f1ec; color: #7b7b6e; }
.badge--done { background: rgba(40, 88, 63, 0.1); color: var(--green); }
.badge--fail { background: rgba(180, 70, 60, 0.12); color: #a8443a; }

/* ---------- 关于 ---------- */

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.fact-list li { display: flex; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.fact-list li strong { min-width: 88px; color: var(--ink); }
.fact-list li span { color: var(--muted); }

.contact-card {
  background: var(--green-deep);
  color: rgba(255, 255, 255, 0.8);
  border-radius: 18px;
  padding: 36px;
}
.contact-card h3 { color: #fff; font-size: 20px; margin-bottom: 10px; }
.contact-card p { font-size: 14px; }
.contact-card .rows { margin-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.contact-card .rows div { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); font-size: 13.5px; }
.contact-card .rows span:first-child { color: rgba(255, 255, 255, 0.55); }

.note {
  font-size: 12.5px;
  color: var(--muted);
  background: var(--mist);
  border-left: 2px solid var(--green-mid);
  border-radius: 0 8px 8px 0;
  padding: 12px 16px;
  margin-top: 24px;
}

.frame-note { font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.frame-note strong { color: var(--ink); font-weight: 600; }

/* ---------- 服务板块（通用两栏） ---------- */

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }

a.svc { display: block; color: inherit; }
a.svc h3 { transition: color 0.18s; }
a.svc:hover h3 { color: var(--green); }

/* ---------- 响应式 ---------- */

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .viewport-tag { display: none; }
  .svc-grid, .cases { grid-template-columns: repeat(2, 1fr); }
  .flow-strip { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .two-col { grid-template-columns: 1fr; gap: 28px; }
}

@media (min-width: 1880px) {
  /* 1920 屏专用满配：内容放到 1920，顶栏才有位置把字放到 21 */
  /* v12：边距 40→28 —— 字标要长到 92，只能从两边空白里腾位子 */
  /* v13：24→22 —— 九项加了 9px 间隔，从边距里再让出 4px */
  :root { --max: 1920px; --pad: 22px; }
}

@media (min-width: 2200px) {
  /* 2.5K / 4K 屏：内容宽压住，别把长文拉成一条；字标再大一档 */
  :root { --max: 2040px; --pad: 32px; }
  .nav { height: 200px; }
  .brand img { height: 104px; }
  .brand-name { font-size: 26px; }
}

@media (max-width: 1879px) {
  /* 15–16 寸笔记本 / 1600 宽窗口：顶栏收一档，保持九项 + 语言 + 登录 + CTA 一行 */
  .nav { height: 148px; padding: 0 24px; gap: 10px; }
  .brand img { height: 68px; }
  .brand-name { font-size: 17.5px; letter-spacing: 0.24em; }
  .nav-links > a:not(.nav-login):not(.nav-cta) { margin-right: 4px; }
  .nav-links a { font-size: 17.5px; padding: 7px; }
  .nav-links a.nav-hot { padding: 8px 12px; }
  .nav-cta { font-size: 17.5px !important; padding: 12px 18px !important; }
  .lang { margin-left: 8px; padding-left: 10px; }
  .lang .on, .lang .off { font-size: 15px; padding: 9px 9px; }
  .nav-login { font-size: 16px; padding: 9px 12px; margin-left: 7px; }
}

@media (max-width: 1599px) {
  .nav { height: 128px; padding: 0 20px; gap: 8px; }
  .brand img { height: 60px; }
  .brand-name { font-size: 16px; letter-spacing: 0.24em; }
  .nav-links > a:not(.nav-login):not(.nav-cta) { margin-right: 6px; }
  .nav-links a { font-size: 16.2px; padding: 6px; }
  .nav-links a.nav-hot { padding: 8px 11px; }
  .nav-cta { font-size: 16.5px !important; padding: 11px 16px !important; }
  .lang { margin-left: 6px; padding-left: 9px; }
  .lang .on, .lang .off { font-size: 13.5px; padding: 8px 8px; }
  .nav-login { font-size: 15px; padding: 8px 11px; margin-left: 6px; }
  .nav-toggle { width: 42px; height: 42px; }
}

@media (max-width: 1470px) {
  /* 1366 / 1280 这类窄桌面：再收一档，保证九项 + 登录 + 语言 + CTA 仍是一行 */
  /* v13：断点 1400→1470 —— 1401~1470 这段字号不上不下、本来就顶边，提前收一档才放得下新间隔 */
  .nav { height: 122px; padding: 0 20px; gap: 8px; }
  .brand img { height: 54px; }
  .brand-name { font-size: 15px; letter-spacing: 0.24em; }
  .nav-links > a:not(.nav-login):not(.nav-cta) { margin-right: 4px; }
  .nav-links a { font-size: 15.2px; padding: 5px; }
  .nav-links a.nav-hot { padding: 8px 11px; }
  .nav-cta { font-size: 16px !important; padding: 10px 14px !important; }
  .lang { margin-left: 5px; padding-left: 8px; }
  .lang .on, .lang .off { font-size: 13px; padding: 7px 8px; }
  .nav-login { font-size: 14.5px; padding: 8px 10px; margin-left: 5px; }
}

@media (max-width: 1350px) {
  .nav { height: 88px; padding: 0 14px; }
  .brand img { height: 48px; }
  .brand { gap: 7px; }
  .brand-name { font-size: 13.5px; letter-spacing: 0.22em; }
  .nav-toggle { display: flex; }
  .nav-links > a:not(.nav-login):not(.nav-cta) { margin-right: 0; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 12px;
    right: 12px;
    background: #fff;
    border: 1px solid var(--line-strong);
    border-radius: 18px;
    box-shadow: 0 40px 70px -40px rgba(15, 25, 19, 0.55);
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 2px;
    max-height: calc(100dvh - 110px);
    overflow-y: auto;
    z-index: 60;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; font-size: 18.5px; }
  /* 手机菜单里不铺整条黄底：黄竖条 + 加深黄字，轻一点也看得清 */
  .nav-links a.nav-hot {
    background: #fdf3c4;
    color: #6b5600;
    border: 0;
    box-shadow: inset 4px 0 0 var(--brand-yellow);
    border-radius: 10px;
  }
  .nav-cta { text-align: center; order: 2; margin-top: 8px; }
  .nav-login {
    order: 1;
    margin: 8px 0 0;
    padding: 12px 14px;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
  }
  .lang {
    order: 3;
    margin: 10px 0 0;
    padding: 12px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .lang::before {
    content: "语言";
    font-size: 12px;
    color: var(--muted);
    margin-right: 8px;
  }
  body.menu-open { overflow: hidden; }
}

@media (max-width: 620px) {
  .brand img { height: 34px; }
  .brand { gap: 5px; }
  .brand-name { font-size: 11.5px; letter-spacing: 0.22em; }
  .nav { height: 72px; }
  .section { padding: 56px 0; }
  .hero { padding: 48px 0 56px; }
  .svc-grid, .cases, .flow-strip { grid-template-columns: 1fr; }
  .hero-meta { gap: 22px; }
  .cta { padding: 36px 28px; }
  .field-row { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
