/* ==========================================================================
   凌正先达 · 企业官网样式系统
   设计基调：深蓝 + 纯白 + 大量留白 + 1px 细线分割（参考工业品牌视觉语言）
   ========================================================================== */

/* ------------------------------- 设计变量 ------------------------------- */
:root {
  --navy-900: #062740;
  --navy-800: #0a3455;
  --navy-700: #0d4370;
  --navy-600: #125b94;
  --blue-500: #1a7fc1;
  --blue-400: #3fa3de;
  --cyan-200: #b9e2f5;
  --cyan-100: #e4f3fb;

  --ink-900: #12202e;
  --ink-700: #2c3e50;
  --ink-500: #5a6b7c;
  --ink-400: #8394a3;
  --ink-300: #a9b7c3;

  --line: #e1e8ef;
  --line-strong: #c9d5e0;

  --surface: #ffffff;
  --surface-2: #f5f8fa;
  --surface-3: #eaf0f6;

  --danger: #c0392b;
  --success: #17724a;
  --warning: #a5741a;

  --radius-xs: 2px;
  --radius-sm: 3px;
  --radius: 4px;
  --radius-lg: 6px;

  --shadow-1: 0 1px 2px rgba(10, 52, 85, 0.06);
  --shadow-2: 0 10px 28px rgba(10, 52, 85, 0.1);
  --shadow-3: 0 20px 48px rgba(10, 52, 85, 0.16);

  --container: 1280px;
  --container-narrow: 920px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(64px, 8vw, 112px);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  --header-h: 74px;
}

/* --------------------------------- 复位 --------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; border-style: none; }
svg { display: block; }
a { color: var(--navy-600); text-decoration: none; }
a:hover { color: var(--blue-500); }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, p, h1, h2, h3, h4, h5 { margin: 0; }

:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 20px;
  background: var(--navy-800);
  color: #fff;
}
.skip-link:focus { left: 0; color: #fff; }

/* --------------------------------- 排版 --------------------------------- */
h1, h2, h3, h4 {
  color: var(--ink-900);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 { font-size: clamp(32px, 4.4vw, 52px); }
h2 { font-size: clamp(26px, 3.1vw, 38px); }
h3 { font-size: clamp(19px, 1.7vw, 23px); }

.lead { font-size: clamp(16px, 1.35vw, 19px); line-height: 1.75; color: var(--ink-500); }
.muted { color: var(--ink-500); }
.small { font-size: 13.5px; }
.mono { font-family: var(--font-mono); letter-spacing: 0.02em; }

/* --------------------------------- 布局 --------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding: var(--section-y) 0; }
.section--tight { padding: calc(var(--section-y) * 0.62) 0; }
.section--surface { background: var(--surface-2); }
.section--navy { background: var(--navy-900); color: #d8e4ee; }
.section--navy h1,
.section--navy h2,
.section--navy h3 { color: #fff; }
.section--line { border-top: 1px solid var(--line); }

.grid { display: grid; gap: 24px; }
.grid--cards { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--split { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; gap: clamp(32px, 5vw, 72px); }

.stack { display: flex; flex-direction: column; }
.stack--sm { gap: 8px; }
.stack--md { gap: 16px; }
.stack--lg { gap: 28px; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.row--between { justify-content: space-between; }
.spacer { flex: 1 1 auto; }

/* ------------------------------- 区块标题 ------------------------------- */
.sec-head { max-width: 780px; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-500);
}
.sec-head__eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--blue-500);
}
.sec-head--center .sec-head__eyebrow::after {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--blue-500);
}
.sec-head__desc { margin-top: 18px; font-size: 17px; color: var(--ink-500); line-height: 1.75; }
.sec-head--invert .sec-head__eyebrow { color: var(--blue-400); }
.sec-head--invert .sec-head__eyebrow::before,
.sec-head--invert .sec-head__eyebrow::after { background: var(--blue-400); }
.sec-head--invert .sec-head__desc { color: #a8c0d4; }

/* --------------------------------- 按钮 --------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: var(--radius-xs);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
  text-align: center;
}
.btn--primary { background: var(--navy-700); color: #fff; }
.btn--primary:hover { background: var(--navy-600); color: #fff; }
.btn--secondary { background: #fff; color: var(--navy-700); border-color: var(--line-strong); }
.btn--secondary:hover { border-color: var(--navy-700); color: var(--navy-700); }
.btn--ghost { background: transparent; color: var(--navy-700); border-color: var(--navy-700); }
.btn--ghost:hover { background: var(--surface-3); color: var(--navy-700); }
.btn--onDark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.42); }
.btn--onDark:hover { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: #fff; }
.btn--white { background: #fff; color: var(--navy-800); }
.btn--white:hover { background: var(--cyan-100); color: var(--navy-800); }
.btn--sm { padding: 9px 18px; font-size: 13.5px; }
.btn--block { width: 100%; }
.btn:disabled, .btn.is-busy { opacity: 0.62; cursor: not-allowed; }
.btn--link {
  padding: 0;
  background: none;
  border: 0;
  color: var(--navy-600);
  font-weight: 600;
}
.btn--link:hover { color: var(--blue-500); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--navy-600);
  font-size: 14.5px;
}
.link-arrow .icon { transition: transform 0.2s ease; }
.link-arrow:hover .icon { transform: translateX(4px); }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink-700);
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}
.icon-btn:hover { border-color: var(--navy-700); color: var(--navy-700); }

/* --------------------------------- 表单 --------------------------------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field__label { font-size: 13.5px; font-weight: 600; color: var(--ink-700); }
.field__label .req { color: var(--danger); margin-left: 3px; }
.field__hint { font-size: 12.5px; color: var(--ink-400); }
.field__error { font-size: 12.5px; color: var(--danger); min-height: 0; }

.input, .select, .textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--ink-900);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  transition: border-color 0.16s, box-shadow 0.16s;
}
.input::placeholder, .textarea::placeholder { color: var(--ink-300); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--navy-600);
  box-shadow: 0 0 0 3px rgba(26, 127, 193, 0.14);
}
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--danger); }
.textarea { min-height: 128px; resize: vertical; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%235a6b7c' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid .field--full { grid-column: 1 / -1; }

.form-note {
  padding: 14px 16px;
  background: var(--surface-2);
  border-left: 3px solid var(--blue-400);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 13.5px;
  color: var(--ink-500);
}

/* -------------------------------- 站点头部 ------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: #fff;
}

.utility {
  background: var(--navy-900);
  color: #b9cfe0;
  font-size: 13px;
}
.utility__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 38px;
  padding-top: 6px;
  padding-bottom: 6px;
}
.utility__item { display: inline-flex; align-items: center; gap: 7px; }
.utility__item .icon { color: var(--blue-400); }
.utility a { color: #b9cfe0; }
.utility a:hover { color: #fff; }
.utility__spacer { flex: 1 1 auto; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: transparent;
  color: #d8e4ee;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.04em;
}
.lang-switch:hover { border-color: #fff; color: #fff; }

.navbar {
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled .navbar { box-shadow: var(--shadow-1); }
.navbar__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.logo__mark { flex: 0 0 auto; width: 40px; height: auto; display: block; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__cn { font-size: 17px; font-weight: 700; color: var(--ink-900); letter-spacing: 0.01em; }
.brand__en {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ink-400);
}

.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-700);
  border-radius: var(--radius-sm);
}
.nav__link:hover { color: var(--navy-700); background: var(--surface-2); }
.nav__link.is-active { color: var(--navy-700); }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 2px;
  height: 2px;
  background: var(--navy-700);
}

.navbar__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }

.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 12px 6px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-700);
}
.user-chip:hover { border-color: var(--line-strong); }
.user-chip__avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--navy-700);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  overflow: hidden;
  flex: 0 0 auto;
}
.user-chip__avatar img { width: 100%; height: 100%; object-fit: cover; }

.menu-toggle { display: none; }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 12px var(--gutter) 22px;
}
.mobile-nav.is-open { display: block; }
.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 4px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink-900);
  border-bottom: 1px solid var(--line);
}
.mobile-nav__link.is-active { color: var(--navy-700); }
.mobile-nav__actions { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }

/* --------------------------------- Hero -------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(460px, 66vh, 680px);
  overflow: hidden;
  background: var(--navy-900);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
    rgba(6, 39, 64, 0.94) 0%,
    rgba(6, 39, 64, 0.82) 38%,
    rgba(6, 39, 64, 0.48) 68%,
    rgba(6, 39, 64, 0.24) 100%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  padding: clamp(72px, 10vw, 128px) 0;
  max-width: 760px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-400);
}
.hero__eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--blue-400); }
.hero__title {
  color: #fff;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.hero__subtitle {
  margin-top: 22px;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.75;
  color: #c3d6e6;
  max-width: 640px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 34px;
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.hero__meta-item { color: #cfe0ee; font-size: 14px; }
.hero__meta-item strong {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

/* 通用页头（内页） */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(300px, 40vh, 420px);
  background: var(--navy-900);
  overflow: hidden;
}
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(6, 39, 64, 0.92) 0%, rgba(6, 39, 64, 0.66) 55%, rgba(6, 39, 64, 0.42) 100%);
}
.page-hero__inner { position: relative; z-index: 1; padding: clamp(56px, 7vw, 88px) 0 clamp(34px, 4vw, 52px); max-width: 820px; }
.page-hero__title { color: #fff; font-size: clamp(30px, 3.8vw, 46px); }
.page-hero__desc { margin-top: 18px; color: #c3d6e6; font-size: 17px; line-height: 1.75; max-width: 680px; }

.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #9db9cf; margin-bottom: 18px; }
.breadcrumb a { color: #9db9cf; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: #fff; }

/* --------------------------------- 卡片 -------------------------------- */
.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-2); transform: translateY(-3px); }
.card__media { position: relative; aspect-ratio: 4 / 3; background: var(--surface-3); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card__media img { transform: scale(1.04); }
.card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 11px;
  background: rgba(6, 39, 64, 0.88);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-xs);
  backdrop-filter: blur(2px);
}
.card__body { display: flex; flex-direction: column; gap: 12px; padding: 24px; flex: 1 1 auto; }
.card__title { font-size: 19px; line-height: 1.35; }
.card__text { font-size: 14.5px; color: var(--ink-500); line-height: 1.7; flex: 1 1 auto; }
.card__foot { margin-top: 4px; }
.card__spec {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--surface-2);
  border-radius: var(--radius-xs);
  font-size: 12.5px;
  color: var(--ink-500);
  font-variant-numeric: tabular-nums;
}
.card__spec .icon { color: var(--blue-500); flex: 0 0 auto; }
.card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  background: var(--cyan-100);
  color: var(--navy-600);
  border-radius: var(--radius-xs);
  font-size: 12px;
  font-weight: 600;
}

/* 业务板块大卡 */
.pillar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding: clamp(28px, 4vw, 56px) 0;
  border-top: 1px solid var(--line);
}
.pillar:first-of-type { border-top: 0; }
.pillar__media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-3);
}
.pillar__media img { width: 100%; height: 100%; object-fit: cover; }
.pillar__index {
  position: absolute;
  top: 0;
  left: 0;
  padding: 12px 18px;
  background: var(--navy-700);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.pillar__body { display: flex; flex-direction: column; gap: 18px; }
.pillar__eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-500);
}
.pillar__title { font-size: clamp(22px, 2.4vw, 30px); }
.pillar__desc { color: var(--ink-500); font-size: 16px; line-height: 1.75; }
.check-list { display: grid; gap: 11px; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: var(--ink-700); }
.check-list .icon { color: var(--blue-500); flex: 0 0 auto; margin-top: 2px; }
.pillar--reverse .pillar__media { order: 2; }

/* 数字带 */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.14); }
.stat { background: var(--navy-900); padding: clamp(26px, 3vw, 40px) clamp(18px, 2vw, 30px); }
.stat__num {
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat__unit { font-size: 15px; font-weight: 600; color: var(--blue-400); margin-left: 4px; }
.stat__label { margin-top: 12px; font-size: 14px; color: #a8c0d4; line-height: 1.55; }

/* 优势 */
.feature {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  height: 100%;
}
.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--surface-3);
  color: var(--navy-700);
  border-radius: var(--radius-sm);
}
.feature__title { font-size: 18.5px; }
.feature__text { font-size: 14.5px; color: var(--ink-500); line-height: 1.72; }

/* 流程 */
.flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.flow__step { background: #fff; padding: 26px 22px; }
.flow__num { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--blue-500); letter-spacing: 0.1em; }
.flow__label { margin-top: 12px; font-size: 15.5px; font-weight: 600; color: var(--ink-900); line-height: 1.5; }

/* 数据表 */
.info-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.info-table th, .info-table td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.info-table th { width: 34%; font-weight: 600; color: var(--ink-500); background: var(--surface-2); }
.info-table td { color: var(--ink-900); }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }

/* 折叠面板 */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 24px 4px;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink-900);
}
.acc-btn:hover { color: var(--navy-700); }
.acc-btn .icon { flex: 0 0 auto; color: var(--blue-500); transition: transform 0.22s ease; }
.acc-item.is-open .acc-btn .icon { transform: rotate(180deg); }
.acc-panel { display: none; padding: 0 4px 26px; color: var(--ink-500); font-size: 15px; line-height: 1.78; max-width: 900px; }
.acc-item.is-open .acc-panel { display: block; }

/* 文章 */
.article-card { display: flex; flex-direction: column; gap: 14px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); height: 100%; transition: box-shadow 0.2s, border-color 0.2s; }
.article-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-2); }
.article-card__meta { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--ink-400); }
.article-card__cat { padding: 3px 9px; background: var(--surface-3); color: var(--navy-600); border-radius: var(--radius-xs); font-weight: 600; }
.article-card__title { font-size: 18.5px; line-height: 1.42; }
.article-card__text { font-size: 14.5px; color: var(--ink-500); line-height: 1.7; flex: 1 1 auto; }
.prose p { margin-bottom: 1.15em; font-size: 16.5px; line-height: 1.85; color: var(--ink-700); }
.prose p:last-child { margin-bottom: 0; }

/* CTA 横幅 */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--navy-800);
  color: #fff;
}
.cta__media { position: absolute; inset: 0; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; }
.cta__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(6, 39, 64, 0.95), rgba(6, 39, 64, 0.72)); }
.cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: clamp(44px, 5vw, 68px) 0;
}
.cta__title { color: #fff; font-size: clamp(23px, 2.6vw, 33px); max-width: 620px; }
.cta__desc { margin-top: 14px; color: #c3d6e6; font-size: 16px; max-width: 600px; }
.cta__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* --------------------------------- 页脚 -------------------------------- */
.site-footer { background: var(--navy-900); color: #9db9cf; font-size: 14.5px; }
.footer__main {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1.25fr;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(52px, 6vw, 80px) 0 clamp(36px, 4vw, 52px);
}
.footer__brand { display: flex; flex-direction: column; gap: 18px; }
.footer__brand .brand__cn { color: #fff; font-size: 18px; }
.footer__brand .brand__en { color: #7d9cb5; }
.footer__desc { color: #9db9cf; line-height: 1.78; font-size: 14px; }
.footer__title { color: #fff; font-size: 15px; font-weight: 700; letter-spacing: 0.02em; margin-bottom: 20px; }
.footer__list { display: grid; gap: 12px; }
.footer__list a { color: #9db9cf; }
.footer__list a:hover { color: #fff; }
.footer__contact { display: grid; gap: 16px; }
.footer__contact li { display: flex; gap: 11px; align-items: flex-start; line-height: 1.7; }
.footer__contact .icon { color: var(--blue-400); flex: 0 0 auto; margin-top: 2px; }
.footer__contact strong { color: #fff; font-size: 16px; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  padding: 22px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  color: #7d9cb5;
}
.footer__bottom a { color: #7d9cb5; }
.footer__bottom a:hover { color: #fff; }

/* ------------------------------ 状态与反馈 ------------------------------ */
.boot { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; min-height: 52vh; }
.boot__spinner {
  width: 34px;
  height: 34px;
  border: 2.5px solid var(--line);
  border-top-color: var(--navy-600);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.boot__text { color: var(--ink-400); font-size: 14.5px; }
@keyframes spin { to { transform: rotate(360deg); } }

.skel {
  background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface-3) 37%, var(--surface-2) 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
  border-radius: var(--radius);
}
.skel--card { height: 340px; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }

.state-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 56px 24px;
  text-align: center;
  background: var(--surface-2);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--ink-500);
}
.state-block .icon { color: var(--ink-400); }
.state-block__title { font-weight: 600; color: var(--ink-900); font-size: 16px; }
.state-block__desc { font-size: 14px; max-width: 480px; }

.alert {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 15px 17px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.65;
}
.alert .icon { flex: 0 0 auto; margin-top: 1px; }
.alert--error { background: #fdf2f0; color: #8f2c20; border: 1px solid #f3d3ce; }
.alert--info { background: var(--cyan-100); color: var(--navy-700); border: 1px solid #c6e4f4; }
.alert--success { background: #eef8f2; color: #14603f; border: 1px solid #cbe8d8; }
.alert--warn { background: #fdf8ec; color: #7d5a12; border: 1px solid #f0e0bb; }

.toast-host {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  max-width: 380px;
  padding: 14px 17px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--navy-600);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-3);
  font-size: 14.5px;
  color: var(--ink-900);
  line-height: 1.6;
  cursor: pointer;
  pointer-events: auto;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.toast.is-in { opacity: 1; transform: translateY(0); }
.toast--error { border-left-color: var(--danger); }
.toast--error .icon { color: var(--danger); }
.toast--success { border-left-color: var(--success); }
.toast--success .icon { color: var(--success); }
.toast--info .icon { color: var(--navy-600); }

.modal-host { display: none; }
.modal-host.is-open { display: block; }
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgba(6, 39, 64, 0.52);
  backdrop-filter: blur(2px);
}
.modal {
  position: fixed;
  z-index: 141;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(560px, calc(100vw - 32px));
  max-height: min(86vh, 900px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-3);
  overflow: hidden;
}
.modal--wide { width: min(780px, calc(100vw - 32px)); }
.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.modal__title { font-size: 18px; }
.modal__body { padding: 24px; overflow-y: auto; }
.modal__foot { display: flex; justify-content: flex-end; gap: 12px; padding: 18px 24px; border-top: 1px solid var(--line); background: var(--surface-2); }

/* ------------------------------ 标签页/筛选 ----------------------------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab {
  padding: 11px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-700);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s;
}
.tab:hover { border-color: var(--navy-600); color: var(--navy-700); }
.tab.is-active { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }

.seg { display: inline-flex; padding: 3px; background: var(--surface-3); border-radius: var(--radius); }
.seg__btn {
  padding: 9px 22px;
  border: 0;
  background: transparent;
  border-radius: var(--radius-xs);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-500);
  cursor: pointer;
}
.seg__btn.is-active { background: #fff; color: var(--navy-700); box-shadow: var(--shadow-1); }

/* ------------------------------- 账户中心 ------------------------------- */
.auth-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100vh - var(--header-h) - 38px); }
.auth-aside { position: relative; background: var(--navy-900); overflow: hidden; display: flex; align-items: flex-end; }
.auth-aside__media { position: absolute; inset: 0; }
.auth-aside__media img { width: 100%; height: 100%; object-fit: cover; }
.auth-aside__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(6, 39, 64, 0.88), rgba(6, 39, 64, 0.6)); }
.auth-aside__body { position: relative; z-index: 1; padding: clamp(36px, 5vw, 68px); color: #c3d6e6; }
.auth-aside__body h2 { color: #fff; font-size: clamp(24px, 2.6vw, 32px); }
.auth-aside__body ul { margin-top: 24px; display: grid; gap: 13px; }
.auth-aside__body li { display: flex; gap: 11px; font-size: 15px; line-height: 1.65; }
.auth-aside__body .icon { color: var(--blue-400); flex: 0 0 auto; margin-top: 2px; }

.auth-main { display: flex; align-items: center; justify-content: center; padding: clamp(36px, 6vw, 72px) var(--gutter); background: var(--surface-2); }
.auth-card { width: 100%; max-width: 460px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 38px); box-shadow: var(--shadow-1); }
.auth-card__title { font-size: 24px; }
.auth-card__desc { margin-top: 10px; color: var(--ink-500); font-size: 14.5px; }
.auth-tabs { display: flex; gap: 4px; margin: 24px 0 22px; border-bottom: 1px solid var(--line); }
.auth-tab {
  padding: 11px 14px;
  border: 0;
  background: none;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-400);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.auth-tab.is-active { color: var(--navy-700); border-bottom-color: var(--navy-700); }

.code-row { display: flex; gap: 10px; align-items: flex-start; }
.code-row .input { flex: 1 1 auto; }
.code-row .btn { flex: 0 0 auto; }

.dash { display: grid; grid-template-columns: 244px minmax(0, 1fr); gap: clamp(24px, 3vw, 44px); align-items: start; }
.dash__side { position: sticky; top: calc(var(--header-h) + 24px); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.dash__user { padding: 22px; border-bottom: 1px solid var(--line); text-align: center; background: var(--surface-2); }
.dash__avatar { width: 68px; height: 68px; margin: 0 auto 12px; border-radius: 50%; background: var(--navy-700); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700; overflow: hidden; }
.dash__avatar img { width: 100%; height: 100%; object-fit: cover; }
.dash__name { font-weight: 700; color: var(--ink-900); font-size: 15.5px; }
.dash__email { font-size: 12.5px; color: var(--ink-400); word-break: break-all; margin-top: 3px; }
.dash__nav { display: grid; }
.dash__nav button {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 14px 20px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
  text-align: left;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-700);
  cursor: pointer;
}
.dash__nav button:last-child { border-bottom: 0; }
.dash__nav button:hover { background: var(--surface-2); color: var(--navy-700); }
.dash__nav button.is-active { background: var(--surface-3); color: var(--navy-700); box-shadow: inset 3px 0 0 var(--navy-700); }
.dash__panel { min-height: 320px; }
.panel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-bottom: 20px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.panel-head h2 { font-size: 23px; }
.panel-head p { color: var(--ink-500); font-size: 14px; margin-top: 6px; }

.record { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; background: #fff; }
.record + .record { margin-top: 14px; }
.record__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.record__title { font-weight: 700; color: var(--ink-900); font-size: 15.5px; }
.record__meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 10px; font-size: 13px; color: var(--ink-500); }
.record__body { margin-top: 12px; font-size: 14.5px; color: var(--ink-700); line-height: 1.72; white-space: pre-wrap; }
.record__files { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.record__file { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-xs); font-size: 13px; }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.badge--new { background: var(--cyan-100); color: var(--navy-600); }
.badge--progress { background: #fdf3e3; color: #8a6011; }
.badge--done { background: #eaf6ef; color: #17724a; }
.badge--high { background: #fdeeec; color: #a83226; }

.upload-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.file-list { display: grid; gap: 9px; margin-top: 12px; }
.file-item { display: flex; align-items: center; gap: 11px; padding: 10px 13px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-xs); font-size: 13.5px; }
.file-item__name { flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-item .icon { color: var(--ink-400); }

/* ------------------------------ 联系页增强 ------------------------------ */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(30px, 4vw, 64px); align-items: start; }
.contact-cards { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.contact-card { display: flex; gap: 16px; padding: 24px; background: #fff; }
.contact-card__icon { flex: 0 0 auto; width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; background: var(--surface-3); color: var(--navy-700); border-radius: var(--radius-sm); }
.contact-card__label { font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-400); }
.contact-card__value { margin-top: 6px; font-size: 16px; color: var(--ink-900); line-height: 1.6; }
.contact-card__value a { color: var(--ink-900); }
.contact-card__value a:hover { color: var(--navy-600); }
.map-frame { position: relative; aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface-2); }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.map-fallback { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; height: 100%; padding: 30px; text-align: center; color: var(--ink-500); font-size: 14px; }

/* ------------------------------- 动效 ------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ------------------------------- 响应式 ------------------------------- */
@media (max-width: 1080px) {
  .footer__main { grid-template-columns: 1.4fr 1fr 1.2fr; }
  .footer__main > :nth-child(3) { display: none; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
}

@media (max-width: 960px) {
  .nav, .navbar__actions .desk-only { display: none; }
  .menu-toggle { display: inline-flex; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--split { grid-template-columns: 1fr; }
  .pillar { grid-template-columns: 1fr; gap: 26px; }
  .pillar--reverse .pillar__media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .dash { grid-template-columns: 1fr; }
  .dash__side { position: static; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__main { grid-template-columns: 1fr 1fr; }
  .footer__main > :nth-child(3) { display: block; }
}

@media (max-width: 680px) {
  :root { --gutter: 20px; }
  .grid--2, .grid--3, .grid--4, .grid--cards { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .utility__inner { gap: 12px; font-size: 12px; }
  .utility__hide-sm { display: none; }
  .hero__meta { gap: 16px 26px; }
  .footer__main { grid-template-columns: 1fr; }
  .footer__main > :nth-child(3) { display: block; }
  .brand__en { display: none; }
  .toast-host { left: 16px; right: 16px; bottom: 16px; }
  .toast { max-width: none; }
  .modal { top: auto; bottom: 0; left: 0; right: 0; transform: none; width: 100%; max-height: 92vh; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .record { padding: 16px; }
}
