/* ==========================================================================
   六九企服 — 站点样式
   简约大气：克制配色、充足留白、精确排版
   ========================================================================== */

:root {
  --ink: #0e1116;
  --brand: #60b63c;
  --brand-dark: #3e8524;
  --brand-soft: #eef6e9;
  --accent: #3e8524;
  --accent-dark: #2f6b1b;
  --muted: #5b6472;
  --muted-2: #8a93a2;
  --line: #e6e8ec;
  --line-soft: #eff1f4;
  --surface: #ffffff;
  --surface-2: #f6f7f9;
  --surface-3: #eceef2;
  --maxw: 1180px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(14, 17, 22, .04), 0 6px 20px rgba(14, 17, 22, .05);
  --shadow-md: 0 18px 50px rgba(14, 17, 22, .10);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 72px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
    "Noto Sans CJK SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.02em;
}

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: rgba(96, 182, 60, .14); }

/* ---------- 布局 ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section--tight { padding: 72px 0; }
.section--soft { background: var(--surface-2); }
.section--ink { background: var(--brand-dark); color: #fff; }

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
}
.section-head--center .eyebrow::after {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
}
.section--ink .eyebrow { color: rgba(255, 255, 255, .72); }

.section-title { font-size: clamp(26px, 3.4vw, 38px); }
.section-desc {
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}
.section--ink .section-desc { color: rgba(255, 255, 255, .68); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--brand);
  color: #fff;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease),
    border-color .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

.btn--accent { background: var(--accent); }
.btn--accent:hover { background: var(--accent-dark); }

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn--ghost:hover { background: var(--surface-2); border-color: var(--muted-2); }

.btn--light {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .32);
  color: #fff;
}
.btn--light:hover { background: rgba(255, 255, 255, .18); }

.btn--block { width: 100%; }
.btn--sm { height: 38px; padding: 0 18px; font-size: 13.5px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-weight: 500;
  font-size: 14.5px;
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), gap .2s var(--ease);
}
.text-link:hover { border-color: currentColor; gap: 10px; }

/* ---------- 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(14, 17, 22, .06); border-color: transparent; }

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  flex: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-logo { display: block; height: 36px; width: auto; }
.brand-name { font-size: 17px; font-weight: 600; letter-spacing: .04em; }
.brand-sub {
  font-size: 10px;
  letter-spacing: .22em;
  color: var(--muted-2);
  text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 10px 16px;
  font-size: 15px;
  color: var(--muted);
  border-radius: 8px;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.nav a.is-active { color: var(--brand); font-weight: 600; }
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 2px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.25;
}
.header-phone span { font-size: 11px; color: var(--muted-2); letter-spacing: .08em; }
.header-phone strong { font-size: 16px; font-weight: 600; color: var(--brand); letter-spacing: .02em; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.6px;
  background: var(--ink);
  margin: 4px auto;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--brand-dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(17, 36, 12, .90) 0%, rgba(17, 36, 12, .74) 46%, rgba(17, 36, 12, .42) 100%);
}
.hero-main { position: relative; z-index: 2; width: 100%; padding: 116px 0 84px; }
.hero-inner { position: relative; color: #fff; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .88);
  margin-bottom: 26px;
}
.hero-eyebrow i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: block;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 600;
  letter-spacing: -.03em;
  max-width: 15em;
}
.hero-sub {
  margin-top: 24px;
  max-width: 620px;
  font-size: 17px;
  line-height: 1.9;
  color: rgba(255, 255, 255, .78);
}
.hero-actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.hero-stats .stat { padding: 26px 24px 8px 24px; color: #fff; }
.hero-stats .stat + .stat { border-left: 1px solid rgba(255, 255, 255, .12); }
.hero-stats .stat b { display: block; font-size: 30px; font-weight: 600; letter-spacing: -.02em; }
.hero-stats .stat span { font-size: 13px; color: rgba(255, 255, 255, .6); letter-spacing: .04em; }

.hero-bottom { position: relative; z-index: 2; background: rgba(8, 14, 24, .34); }

/* ---------- 内页头 ---------- */
.page-hero {
  background: var(--brand-dark);
  color: #fff;
  padding: 78px 0 62px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(210, 72, 59, .22), transparent 62%);
}
.page-hero h1 { font-size: clamp(30px, 4.2vw, 44px); position: relative; z-index: 2; }
.page-hero p {
  margin-top: 16px;
  max-width: 640px;
  color: rgba(255, 255, 255, .7);
  font-size: 15.5px;
  position: relative;
  z-index: 2;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}
.breadcrumb a:hover { color: #fff; }

/* ---------- 网格与卡片 ---------- */
.grid { display: grid; gap: 26px; }
.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: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: border-color .28s var(--ease), box-shadow .28s var(--ease), transform .28s var(--ease);
}
.card:hover { border-color: transparent; box-shadow: var(--shadow-md); transform: translateY(-3px); }

.card-num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--muted-2);
  margin-bottom: 18px;
}
.card h3 { font-size: 19px; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 14.5px; line-height: 1.85; }

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}
.card-icon svg { width: 22px; height: 22px; }

/* 图文业务卡 */
.biz-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease);
}
.biz-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: transparent; }
.biz-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-3); }
.biz-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.biz-card:hover .biz-media img { transform: scale(1.05); }
.biz-tag {
  position: absolute;
  left: 18px;
  top: 18px;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .94);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--brand);
}
.biz-body { padding: 28px 30px 32px; flex: 1; display: flex; flex-direction: column; }
.biz-body h3 { font-size: 21px; margin-bottom: 14px; }
.biz-body p { color: var(--muted); font-size: 14.5px; line-height: 1.85; }
.biz-list { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.biz-list li {
  font-size: 13px;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: var(--radius-pill);
  padding: 5px 13px;
}
.biz-foot { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line-soft); }

/* ---------- 产品卡 ---------- */
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab {
  padding: 9px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  transition: all .22s var(--ease);
}
.tab:hover { color: var(--ink); border-color: var(--muted-2); }
.tab.is-active { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 500; }

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}
.search-box svg { position: absolute; left: 14px; width: 16px; height: 16px; color: var(--muted-2); }
.search-box input {
  height: 42px;
  width: 240px;
  padding: 0 16px 0 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: #fff;
  outline: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.search-box input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(96, 182, 60, .1); }

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

.prod-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .28s var(--ease), box-shadow .28s var(--ease), transform .28s var(--ease);
}
.prod-card:hover { border-color: transparent; box-shadow: var(--shadow-md); transform: translateY(-4px); }
.prod-visual {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #3e8524 0%, #60b63c 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.prod-visual img { width: 100%; height: 100%; object-fit: cover; }
.prod-visual .prod-glyph { width: 46px; height: 46px; color: rgba(255, 255, 255, .9); }
.prod-visual::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .14);
}
.prod-index {
  position: absolute;
  left: 20px;
  top: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  color: rgba(255, 255, 255, .6);
  z-index: 2;
}
.prod-cat {
  position: absolute;
  right: 16px;
  top: 14px;
  z-index: 2;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  letter-spacing: .06em;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
}
.prod-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.prod-body h3 { font-size: 18.5px; margin-bottom: 10px; }
.prod-summary { color: var(--muted); font-size: 14px; line-height: 1.8; }
.prod-desc {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.85;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.prod-specs { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.prod-specs li {
  font-size: 12px;
  color: var(--muted);
  background: var(--surface-2);
  border-radius: 6px;
  padding: 4px 10px;
}
.prod-foot {
  margin-top: auto;
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.price { font-size: 15px; font-weight: 600; color: var(--accent); letter-spacing: .01em; }
.price small { font-size: 12px; color: var(--muted-2); font-weight: 400; margin-left: 6px; }

.empty-state {
  grid-column: 1 / -1;
  padding: 72px 24px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}
.empty-state b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 8px; }

/* ---------- 数据条 ---------- */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-band .item {
  padding: 8px 30px;
  border-left: 1px solid var(--line);
}
.stat-band .item:first-child { border-left: 0; padding-left: 0; }
.stat-band b {
  display: block;
  font-size: 42px;
  font-weight: 600;
  letter-spacing: -.03em;
  color: var(--brand);
  line-height: 1.1;
}
.stat-band span { font-size: 13.5px; color: var(--muted); letter-spacing: .04em; }
.section--ink .stat-band .item { border-color: rgba(255, 255, 255, .14); }
.section--ink .stat-band b { color: #fff; }
.section--ink .stat-band span { color: rgba(255, 255, 255, .58); }

/* ---------- 历程 ---------- */
.timeline { position: relative; padding-left: 30px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}
.timeline li { position: relative; padding-bottom: 34px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 7px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--brand);
}
.timeline li:last-child::before { background: var(--accent); border-color: var(--accent); }
.timeline .year {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--brand);
  margin-bottom: 6px;
}
.timeline .txt { color: var(--muted); font-size: 14.5px; }

/* ---------- 流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; }
.step { position: relative; padding: 0 26px 0 0; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--accent);
  margin-bottom: 14px;
}
.step h4 { font-size: 16.5px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 13.5px; line-height: 1.8; }
.step::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 8px;
  width: 24px;
  height: 1px;
  background: var(--line);
}
.step:last-child::after { display: none; }
.section--ink .step::after { background: rgba(255, 255, 255, .18); }
.section--ink .step p { color: rgba(255, 255, 255, .6); }
.section--ink .step h4 { color: #fff; }
.section--ink .step::before { color: #e8a08f; }

/* ---------- 案例 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.case-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  aspect-ratio: 3 / 4;
  background: var(--surface-3);
}
.case-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.case-item:hover img { transform: scale(1.06); }
.case-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 42px 20px 20px;
  background: linear-gradient(to top, rgba(17, 36, 12, .86), transparent);
  color: #fff;
  font-size: 14px;
}
.case-item figcaption span {
  display: block;
  font-size: 11.5px;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .62);
  margin-bottom: 4px;
}
.case-cta {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 22px;
  border-radius: var(--radius-sm);
  background: linear-gradient(150deg, #3e8524 0%, #60b63c 100%);
  color: #fff;
  aspect-ratio: 3 / 4;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.case-cta:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.case-cta b { font-size: 18px; margin-bottom: 10px; }
.case-cta span { font-size: 13px; color: rgba(255, 255, 255, .66); line-height: 1.75; }
.case-cta em {
  font-style: normal;
  margin-top: 18px;
  font-size: 13px;
  letter-spacing: .08em;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .4);
  align-self: flex-start;
  padding-bottom: 2px;
}

/* ---------- 富文本双栏 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--reverse .split-media { order: 2; }
.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface-3);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-body h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 20px; }
.split-body p { color: var(--muted); line-height: 1.95; font-size: 15px; }
.split-body p + p { margin-top: 16px; }

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 34px 36px;
}
.panel--soft { background: var(--surface-2); border-color: transparent; }
.panel h3 { font-size: 17.5px; margin-bottom: 14px; }
.panel p { color: var(--muted); font-size: 14.5px; line-height: 1.9; }

/* ---------- 联系 ---------- */
.contact-layout { display: grid; grid-template-columns: 380px 1fr; gap: 34px; align-items: start; }

.info-list li {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
}
.info-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.info-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  flex: none;
}
.info-icon svg { width: 18px; height: 18px; }
.info-list dt { font-size: 12.5px; color: var(--muted-2); letter-spacing: .06em; margin-bottom: 3px; }
.info-list dd { margin: 0; font-size: 15px; font-weight: 500; word-break: break-all; }
.info-list dd.small { font-weight: 400; font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ---------- 表单 ---------- */
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
  letter-spacing: .02em;
}
.field label .req { color: var(--accent); margin-left: 2px; }
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field input[type="password"],
.field input[type="number"],
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  outline: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 122px; line-height: 1.75; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(96, 182, 60, .1);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field-hint { font-size: 12.5px; color: var(--muted-2); margin-top: 8px; }

.file-drop {
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  padding: 26px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.file-drop:hover, .file-drop.is-over { border-color: var(--brand); background: var(--brand-soft); }
.file-drop svg { width: 26px; height: 26px; color: var(--brand); margin: 0 auto 10px; }
.file-drop b { display: block; font-size: 14.5px; font-weight: 500; }
.file-drop span { font-size: 12.5px; color: var(--muted-2); }
.file-drop input[type="file"] { display: none; }
.file-picked {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  text-align: left;
  word-break: break-all;
}

/* ---------- 提示条 ---------- */
.notice {
  display: flex;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  line-height: 1.7;
  margin-bottom: 20px;
  border: 1px solid transparent;
}
.notice svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.notice--info { background: var(--brand-soft); color: var(--brand); border-color: #cde8bd; }
.notice--warn { background: #fdf4ec; color: #a25a1e; border-color: #f3ddc6; }
.notice--error { background: #fdf0ef; color: #a8352a; border-color: #f3d3cf; }
.notice--ok { background: #eef7f1; color: #216b41; border-color: #cfe7da; }
.notice[hidden] { display: none; }

.toast-host {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  min-width: 220px;
  max-width: 340px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  font-size: 13.5px;
  box-shadow: var(--shadow-md);
  animation: toastIn .35s var(--ease) both;
}
.toast--error { background: #8f2c22; }
.toast--ok { background: #1d5c39; }
@keyframes toastIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- 骨架屏 ---------- */
.skeleton {
  border-radius: var(--radius);
  background: linear-gradient(100deg, var(--surface-2) 30%, var(--surface-3) 50%, var(--surface-2) 70%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite linear;
}
.skeleton--card { height: 360px; }
@keyframes shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

/* ---------- 账户面板 ---------- */
.auth-shell { max-width: 460px; margin: 0 auto; }
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 5px;
  background: var(--surface-2);
  border-radius: var(--radius-pill);
  margin-bottom: 28px;
}
.auth-tabs button {
  height: 42px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--muted);
  font-size: 14.5px;
  cursor: pointer;
  transition: all .22s var(--ease);
}
.auth-tabs button.is-active { background: #fff; color: var(--brand); font-weight: 600; box-shadow: var(--shadow-sm); }

.mode-switch {
  display: flex;
  gap: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.mode-switch button {
  position: relative;
  border: 0;
  background: transparent;
  padding: 0 2px 12px;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
}
.mode-switch button.is-active { color: var(--ink); font-weight: 600; }
.mode-switch button.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--brand);
}

.code-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.code-row .btn { height: 45px; padding: 0 18px; }

.account-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  margin-bottom: 30px;
}
.account-id { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 600;
  flex: none;
}
.account-id b { display: block; font-size: 15px; }
.account-id span { font-size: 12.5px; color: var(--muted-2); word-break: break-all; }

.file-list { display: flex; flex-direction: column; gap: 12px; }
.member-layout {
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}
.file-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease);
}
.file-row:hover { border-color: #d7dbe2; box-shadow: var(--shadow-sm); }
.file-ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  flex: none;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .02em;
}
.file-meta { flex: 1; min-width: 0; }
.file-meta b {
  display: block;
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.file-meta span { font-size: 12.5px; color: var(--muted-2); }
.file-actions { display: flex; gap: 8px; flex: none; }
.icon-btn {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all .2s var(--ease);
  padding: 0;
}
.icon-btn:hover { color: var(--brand); border-color: var(--brand); }
.icon-btn--danger:hover { color: var(--accent); border-color: var(--accent); }
.icon-btn svg { width: 15px; height: 15px; }
.icon-btn:disabled { opacity: .45; cursor: not-allowed; }

.badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  background: var(--surface-3);
  color: var(--muted);
}
.badge--pending { background: #fdf4ec; color: #a25a1e; }
.badge--done { background: #eef7f1; color: #216b41; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .62); padding: 76px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 52px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.footer-brand .brand-mark { background: var(--brand); }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: rgba(255, 255, 255, .4); }
.footer-desc { font-size: 13.5px; line-height: 1.9; max-width: 34em; }
.footer-col h4 {
  color: #fff;
  font-size: 14px;
  letter-spacing: .06em;
  margin-bottom: 20px;
}
.footer-col li { margin-bottom: 12px; font-size: 13.5px; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 14px; font-size: 13.5px; line-height: 1.7; }
.footer-contact svg { width: 15px; height: 15px; flex: none; margin-top: 4px; color: rgba(255, 255, 255, .4); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .42);
}
.footer-bottom a:hover { color: #fff; }

/* ---------- 滚动进场 ----------
   默认可见；仅当 JS + IntersectionObserver 可用且元素在首屏之外时，
   才由脚本加上 is-pending 进入待显示状态，避免任何情况下内容被隐藏。 */
.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-pending { opacity: 0; transform: translateY(22px); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal.is-pending { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .split { gap: 40px; }
  .contact-layout { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .step:nth-child(3)::after { display: none; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .nav { display: none; }
  .nav-toggle { display: grid; }
  .header-phone { display: none; }
  .nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: #fff;
    padding: 12px 18px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .nav.is-open a { padding: 13px 14px; }
  .nav.is-open a.is-active::after { display: none; }

  .section { padding: 68px 0; }
  .grid--2, .grid--3, .grid--4, .prod-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-main { padding: 76px 0 56px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats .stat { padding: 20px 18px; }
  .hero-stats .stat:nth-child(3) { border-left: 0; }
  .hero-stats .stat:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, .12); }
  .stat-band { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .stat-band .item { padding: 0 20px; }
  .stat-band .item:nth-child(3) { border-left: 0; padding-left: 0; }
  .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; row-gap: 30px; }
  .step { padding-right: 0; }
  .step::after { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .search-box input { width: 100%; }
  .toolbar { align-items: stretch; }
  .search-box { width: 100%; }
  .field-row { grid-template-columns: 1fr; }
  .member-layout { grid-template-columns: 1fr; gap: 26px; }
  .file-row { flex-wrap: wrap; }
  .file-actions { width: 100%; justify-content: flex-end; }
}

.footer-admin-link { color: rgba(255, 255, 255, .35); text-decoration: none; margin: 0 14px; }
.footer-admin-link:hover { color: rgba(255, 255, 255, .75); }

/* =========================================================
   移动端适配（手机版）
   与桌面版共用同一套模板、变量与组件，仅在手机尺寸下生效。
   由 site.js 注入的底部快捷栏 / 回顶部按钮也在此定义。
   ========================================================= */

/* 移动端专用组件：桌面端一律隐藏 */
.mobile-bar, .to-top { display: none; }

@media (max-width: 860px) {

  /* ---------- 全局 ---------- */
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  body {
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden;
  }
  /* 仅在注入了底部快捷栏的页面预留空间（后台页不注入，不预留） */
  body.has-mobile-bar { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
  a, button, [role="button"], input, select, textarea, label { touch-action: manipulation; }

  /* ---------- 节奏：间距更紧凑 ---------- */
  .wrap { padding: 0 18px; }
  .section { padding: 54px 0; }
  .section--tight { padding: 44px 0; }
  .section-head { margin-bottom: 30px; }
  .section-title { font-size: 25px; letter-spacing: -.01em; }
  .section-desc { font-size: 14.5px; line-height: 1.8; margin-top: 12px; }

  /* ---------- 内页头 ---------- */
  .page-hero { padding: 46px 0 40px; }
  .page-hero h1 { font-size: 28px; }

  /* ---------- 首屏 ---------- */
  .hero-main { padding: 54px 0 40px; }
  .hero h1 { font-size: 30px; line-height: 1.28; }
  .hero-sub { margin-top: 16px; font-size: 15px; line-height: 1.8; }
  .hero-eyebrow { margin-bottom: 20px; font-size: 11.5px; letter-spacing: .06em; }
  .hero-actions { margin-top: 30px; gap: 10px; }
  .hero-actions .btn { flex: 1 1 auto; min-width: 132px; }
  .hero-stats .stat { padding: 18px 16px 6px; }
  .hero-stats .stat b { font-size: 21px; }
  .hero-stats .stat span { font-size: 12px; }

  /* ---------- 统计条（修复 about 页横向溢出） ---------- */
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .stat-band .item { min-width: 0; padding: 8px 14px; }
  .stat-band b { font-size: 29px; }
  .stat-band span { font-size: 12.5px; }

  /* ---------- 卡片 ---------- */
  .card { padding: 22px 20px; }
  .biz-body { padding: 22px 20px 24px; }
  .prod-body { padding: 20px 18px 22px; }
  .prod-foot { flex-wrap: wrap; gap: 12px; }
  .panel { padding: 26px 20px !important; }

  /* ---------- 触控目标（≥44px） ---------- */
  .text-link { padding: 10px 0; }
  .footer-col a { display: inline-block; padding: 6px 0; }
  .footer-contact li { padding: 5px 0; }
  .nav.is-open a { padding: 14px 14px; font-size: 15.5px; }

  /* ---------- 表单：字号≥16px，避免 iOS 聚焦自动放大 ---------- */
  .field input[type="text"],
  .field input[type="tel"],
  .field input[type="email"],
  .field input[type="password"],
  .field input[type="number"],
  .field select,
  .field textarea,
  .search-box input,
  input, select, textarea {
    font-size: 16px !important;
  }

  /* ---------- 产品页工具条 ---------- */
  .toolbar { gap: 12px; }
  .chip-row { flex-wrap: wrap; }

  /* ---------- 页脚 ---------- */
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .footer-admin-link { margin: 0; }

  /* ---------- 底部快捷操作栏 ---------- */
  .mobile-bar {
    display: flex;
    gap: 10px;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 70;
    padding: 7px 14px env(safe-area-inset-bottom, 0px);
    background: rgba(255, 255, 255, .96);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    backdrop-filter: saturate(180%) blur(12px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(14, 17, 22, .07);
  }
  .mobile-bar .mb-item {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 46px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    font-size: 14.5px;
    font-weight: 500;
    text-decoration: none;
    transition: transform .18s var(--ease);
  }
  .mobile-bar .mb-item:active { transform: scale(.97); }
  .mobile-bar .mb-item svg { width: 17px; height: 17px; flex: none; }
  .mobile-bar .mb-item--primary { background: var(--brand); border-color: var(--brand); color: #fff; }
  .mobile-bar .mb-item--primary:active { background: var(--brand-dark); }

  /* ---------- 回顶部按钮 ---------- */
  .to-top {
    display: grid;
    place-items: center;
    position: fixed;
    right: 14px;
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .96);
    border: 1px solid var(--line);
    color: var(--ink);
    box-shadow: var(--shadow-md);
    z-index: 70;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .to-top.is-show { opacity: 1; visibility: visible; transform: none; }
  .to-top svg { width: 18px; height: 18px; }
}

/* 小屏手机（≤400px）进一步收紧 */
@media (max-width: 400px) {
  .wrap { padding: 0 16px; }
  .hero h1 { font-size: 27px; }
  .section-title { font-size: 23px; }
  .stat-band b { font-size: 26px; }
  .hero-stats .stat b { font-size: 19px; }
  .mobile-bar .mb-item { font-size: 13.5px; gap: 5px; }
}
