/* =========================================================================
   重庆兴东数字供应链管理有限公司 —— 官网样式表
   设计语言：留白充足、深墨蓝 + 铜金点缀、细分隔线、克制的动效
   ========================================================================= */

/* ---------------------------------------------------------------- 变量 */
:root {
  --navy: #0a2a43;
  --navy-2: #103a5b;
  --navy-3: #17496f;
  --blue: #1668b3;
  --blue-l: #2e8bd8;
  --gold: #c8a15a;
  --gold-l: #dcbb7c;
  --cyan: #0fa3a3;

  --text: #16222e;
  --text-2: #3d5161;
  --muted: #6c8091;
  --muted-2: #93a5b4;

  --bg: #ffffff;
  --bg-soft: #f5f8fb;
  --bg-softer: #fafcfe;

  --line: #e4eaf2;
  --line-2: #d3dee9;

  --ok: #1a8f5f;
  --warn: #c27b16;
  --danger: #c0392b;

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --r-xl: 24px;

  --sh-1: 0 1px 2px rgba(10, 42, 67, .04), 0 4px 14px rgba(10, 42, 67, .05);
  --sh-2: 0 6px 26px rgba(10, 42, 67, .08);
  --sh-3: 0 20px 54px rgba(10, 42, 67, .13);

  --container: 1200px;
  --header-h: 74px;

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

/* ---------------------------------------------------------------- 基础 */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--blue-l); }
button { font: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 600; line-height: 1.35; color: var(--navy); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
table { border-collapse: collapse; width: 100%; }
code { font-family: var(--mono); font-size: .92em; background: var(--bg-soft); padding: .1em .4em; border-radius: 4px; }

::selection { background: rgba(22, 104, 179, .16); }

:focus-visible { outline: 2px solid var(--blue-l); outline-offset: 2px; border-radius: 4px; }

.ico { flex: none; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------------------------------------------------------------- 布局 */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-sm { max-width: 860px; }
.container-md { max-width: 1000px; }

.section { padding: 92px 0; }
.section-sm { padding: 64px 0; }
.bg-soft { background: var(--bg-soft); }
.bg-softer { background: var(--bg-softer); }
.bg-navy { background: var(--navy); color: rgba(255, 255, 255, .82); }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: #fff; }

.sec-head { max-width: 760px; margin-bottom: 48px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.25;
  margin-bottom: 14px;
}
.sec-head p { color: var(--muted); font-size: 16px; margin: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: var(--gold); border-radius: 2px;
}
.sec-head.center .eyebrow::after {
  content: ""; width: 22px; height: 2px; background: var(--gold); border-radius: 2px;
}

.grid { display: grid; gap: 24px; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------------------------------------------------------------- 顶栏 */
.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, .74);
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: 18px; }
.topbar a { color: rgba(255, 255, 255, .74); }
.topbar a:hover { color: #fff; }
.topbar-l, .topbar-r { display: flex; align-items: center; gap: 22px; }
.topbar .ti { display: inline-flex; align-items: center; gap: 7px; }
.topbar .ico { opacity: .8; }
.topbar .divider { width: 1px; height: 13px; background: rgba(255, 255, 255, .18); }

/* ---------------------------------------------------------------- 页头 */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.site-header.is-stuck { box-shadow: var(--sh-1); }
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 28px;
}

.brand { display: inline-flex; align-items: center; gap: 13px; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand-mark { flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-size: 16.5px; font-weight: 700; letter-spacing: .01em; }
.brand-sub { font-size: 10.5px; letter-spacing: .17em; color: var(--muted-2); text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  display: block;
  padding: 9px 15px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--r-sm);
}
.nav a:hover { color: var(--blue); background: rgba(22, 104, 179, .06); }
.nav a.is-active { color: var(--navy); font-weight: 600; }
.nav a.is-active::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 2px;
  height: 2px; background: var(--gold); border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 8px; color: var(--navy); cursor: pointer; }

/* ---------------------------------------------------------------- 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px;
  font-size: 14.5px; font-weight: 600;
  border: 1px solid transparent; border-radius: var(--r-sm);
  cursor: pointer; white-space: nowrap;
  transition: all .18s ease;
}
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 1px 2px rgba(22, 104, 179, .25); }
.btn-primary:hover { background: #14609f; color: #fff; box-shadow: 0 6px 18px rgba(22, 104, 179, .28); transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); color: #fff; transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: #3a2c0c; }
.btn-gold:hover { background: var(--gold-l); color: #3a2c0c; transform: translateY(-1px); }
.btn-ghost { background: #fff; border-color: var(--line-2); color: var(--text-2); }
.btn-ghost:hover { border-color: var(--navy-3); color: var(--navy); background: #fff; }
.btn-outline-light { background: transparent; border-color: rgba(255, 255, 255, .34); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-sm { padding: 7px 14px; font-size: 13.5px; }
.btn-block { width: 100%; }
.btn-link { background: none; border: 0; color: var(--blue); padding: 0; font-size: 14px; cursor: pointer; }
.btn-link:hover { color: var(--blue-l); }

.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 14.5px; }
.link-arrow .ico { transition: transform .18s ease; }
.link-arrow:hover .ico { transform: translateX(3px); }

/* ---------------------------------------------------------------- 首页主视觉 */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(46, 139, 216, .28), transparent 62%),
    radial-gradient(760px 420px at 8% 108%, rgba(200, 161, 90, .18), transparent 60%),
    linear-gradient(150deg, #0a2a43 0%, #0d3350 46%, #124169 100%);
  color: rgba(255, 255, 255, .84);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(90% 80% at 50% 30%, #000 30%, transparent 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-inner {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 56px; align-items: center;
  padding: 84px 0 92px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .16);
  font-size: 13px; color: rgba(255, 255, 255, .9);
  margin-bottom: 24px;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-l); }
.hero h1 {
  color: #fff;
  font-size: clamp(30px, 4.3vw, 50px);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -.02em;
}
.hero h1 em { font-style: normal; color: var(--gold-l); }
.hero-lead { font-size: 17px; line-height: 1.8; color: rgba(255, 255, 255, .76); max-width: 560px; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 13.5px; color: rgba(255, 255, 255, .62); }
.hero-tags span { display: inline-flex; align-items: center; gap: 7px; }
.hero-tags .ico { color: var(--gold-l); }

.hero-panel {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .05);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .35);
}
.hero-panel img { width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover; }
.hero-panel-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 24px 20px;
  background: linear-gradient(transparent, rgba(6, 26, 42, .9));
  color: #fff;
}
.hero-panel-cap strong { display: block; font-size: 15px; margin-bottom: 3px; }
.hero-panel-cap span { font-size: 12.5px; color: rgba(255, 255, 255, .68); }

/* 数据条 */
.stat-strip { background: var(--navy-2); border-top: 1px solid rgba(255, 255, 255, .08); }
.stat-strip .grid { gap: 0; }
.stat-item { padding: 30px 26px; border-right: 1px solid rgba(255, 255, 255, .1); }
.stat-item:last-child { border-right: 0; }
.stat-num { font-size: 34px; font-weight: 700; color: #fff; line-height: 1.1; letter-spacing: -.02em; }
.stat-num small { font-size: 16px; font-weight: 600; color: var(--gold-l); margin-left: 2px; }
.stat-label { font-size: 13.5px; color: rgba(255, 255, 255, .6); margin-top: 6px; }

/* ---------------------------------------------------------------- 卡片 */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--line-2); }

.svc-card { display: flex; flex-direction: column; height: 100%; padding: 34px 30px 30px; }
.svc-no { font-family: var(--mono); font-size: 12.5px; color: var(--muted-2); letter-spacing: .1em; margin-bottom: 18px; }
.svc-icon {
  width: 50px; height: 50px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(22, 104, 179, .12), rgba(10, 42, 67, .06));
  color: var(--blue); margin-bottom: 20px;
}
.svc-card h3 { font-size: 20px; margin-bottom: 6px; }
.svc-tag { font-size: 12.5px; color: var(--gold); font-weight: 600; letter-spacing: .06em; margin-bottom: 14px; }
.svc-desc { color: var(--text-2); font-size: 14.5px; margin-bottom: 18px; }
.svc-list { margin: 0 0 22px; }
.svc-list li {
  position: relative; padding-left: 22px; margin-bottom: 9px;
  font-size: 14px; color: var(--text-2);
}
.svc-list li::before {
  content: ""; position: absolute; left: 2px; top: 9px;
  width: 6px; height: 6px; border-radius: 2px; background: var(--blue-l); opacity: .75;
}
.svc-metrics {
  margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; gap: 26px;
}
.svc-metrics div { line-height: 1.3; }
.svc-metrics b { display: block; font-size: 17px; color: var(--navy); font-weight: 700; }
.svc-metrics span { font-size: 12px; color: var(--muted); }

/* 优势 */
.adv-card { padding: 28px; }
.adv-icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(10, 42, 67, .05); color: var(--navy-2); margin-bottom: 18px;
}
.adv-card h3 { font-size: 17px; margin-bottom: 9px; }
.adv-card p { color: var(--muted); font-size: 14px; margin: 0; }

/* ---------------------------------------------------------------- 流程 */
.process { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; }
.process-step { position: relative; padding: 0 22px; }
.process-step:first-child { padding-left: 0; }
.process-step:last-child { padding-right: 0; }
.process-step::before {
  content: ""; position: absolute; left: 0; right: 0; top: 16px; height: 1px; background: var(--line-2);
}
.process-step:first-child::before { left: 22px; }
.process-step:last-child::before { right: 22px; }
.process-dot {
  position: relative; z-index: 1;
  width: 33px; height: 33px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line-2);
  font-family: var(--mono); font-size: 12.5px; font-weight: 600; color: var(--blue);
  margin-bottom: 20px;
}
.process-step h4 { font-size: 16px; margin-bottom: 8px; }
.process-step p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ---------------------------------------------------------------- 时间轴 */
.timeline { position: relative; padding-left: 4px; }
.tl-item { position: relative; padding: 0 0 34px 34px; border-left: 1px solid var(--line-2); }
.tl-item:last-child { padding-bottom: 0; border-left-color: transparent; }
.tl-item::before {
  content: ""; position: absolute; left: -6px; top: 6px;
  width: 11px; height: 11px; border-radius: 50%;
  background: #fff; border: 2px solid var(--blue);
}
.tl-item:first-child::before { border-color: var(--gold); background: var(--gold); }
.tl-year { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--blue); letter-spacing: .06em; }
.tl-item h4 { font-size: 16.5px; margin: 5px 0 6px; }
.tl-item p { font-size: 14px; color: var(--muted); margin: 0; }

/* 资质清单 */
.check-list li { display: flex; gap: 12px; align-items: flex-start; padding: 13px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; color: var(--text-2); }
.check-list li:last-child { border-bottom: 0; }
.check-list .ico { color: var(--ok); margin-top: 4px; }

/* ---------------------------------------------------------------- FAQ */
.faq details {
  border: 1px solid var(--line); border-radius: var(--r);
  background: #fff; margin-bottom: 12px; overflow: hidden;
}
.faq summary {
  cursor: pointer; padding: 20px 24px; font-weight: 600; color: var(--navy);
  font-size: 15.5px; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 9px; height: 9px;
  border-right: 1.7px solid var(--muted); border-bottom: 1.7px solid var(--muted);
  transform: rotate(45deg) translateY(-3px); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.faq details[open] summary { color: var(--blue); }
.faq .faq-body { padding: 0 24px 22px; color: var(--text-2); font-size: 14.5px; }

/* ---------------------------------------------------------------- 招聘 */
.job-card { display: flex; align-items: center; gap: 26px; padding: 26px 30px; }
.job-main { flex: 1; min-width: 0; }
.job-card h3 { font-size: 19px; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.job-card h3 a { color: var(--navy); }
.job-card h3 a:hover { color: var(--blue); }
.job-summary { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--muted); }
.job-meta span { display: inline-flex; align-items: center; gap: 6px; }
.job-meta .ico { color: var(--muted-2); }
.job-side { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.job-salary { font-size: 16px; font-weight: 700; color: var(--gold); white-space: nowrap; }

.tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .02em;
  background: rgba(22, 104, 179, .09); color: var(--blue);
}
.tag-gold { background: rgba(200, 161, 90, .16); color: #96702a; }
.tag-soft { background: var(--bg-soft); color: var(--muted); border: 1px solid var(--line); }
.tag-green { background: rgba(26, 143, 95, .1); color: var(--ok); }
.tag-red { background: rgba(192, 57, 43, .1); color: var(--danger); }

.job-detail-head {
  background: linear-gradient(150deg, #0a2a43, #124169);
  color: rgba(255, 255, 255, .8);
  padding: 54px 0 50px;
}
.job-detail-head h1 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin-bottom: 14px; }
.job-detail-head .job-meta { color: rgba(255, 255, 255, .7); }
.job-detail-head .job-meta .ico { color: rgba(255, 255, 255, .5); }
.job-detail-head .job-salary { color: var(--gold-l); font-size: 20px; }
.crumb { font-size: 13px; color: rgba(255, 255, 255, .55); margin-bottom: 16px; }
.crumb a { color: rgba(255, 255, 255, .7); }

.jd-sec { margin-bottom: 30px; }
.jd-sec h3 { font-size: 17px; margin-bottom: 14px; padding-left: 13px; border-left: 3px solid var(--gold); }
.dot-list li { position: relative; padding-left: 20px; margin-bottom: 10px; color: var(--text-2); font-size: 14.5px; }
.dot-list li::before { content: ""; position: absolute; left: 3px; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--blue-l); }

.sticky-side { position: sticky; top: calc(var(--header-h) + 24px); }

/* ---------------------------------------------------------------- 表单 */
.form-grid { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--text-2); margin-bottom: 7px; }
.field .req { color: var(--danger); margin-left: 3px; }
.field .hint { font-size: 12.5px; color: var(--muted-2); margin-top: 6px; }

.input, .select, .textarea {
  width: 100%;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  transition: border-color .16s ease, box-shadow .16s ease;
}
.textarea { min-height: 130px; resize: vertical; line-height: 1.7; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236c8091' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='5.5 9 12 15.5 18.5 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; padding-right: 38px; }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22, 104, 179, .13);
}
.input::placeholder, .textarea::placeholder { color: var(--muted-2); }
.input[readonly] { background: var(--bg-soft); color: var(--muted); }

.file-drop {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  border: 1.5px dashed var(--line-2);
  border-radius: var(--r);
  background: var(--bg-softer);
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease;
}
.file-drop:hover, .file-drop.is-over { border-color: var(--blue); background: rgba(22, 104, 179, .04); }
.file-drop input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-drop .ico { color: var(--blue); }
.file-drop-body { min-width: 0; }
.file-drop-body b { display: block; font-size: 14px; color: var(--navy); }
.file-drop-body span { font-size: 12.5px; color: var(--muted); }

.checkbox { display: inline-flex; align-items: flex-start; gap: 9px; font-size: 13.5px; color: var(--text-2); cursor: pointer; }
.checkbox input { margin-top: 4px; accent-color: var(--blue); width: 15px; height: 15px; }

/* ---------------------------------------------------------------- 提示 */
.flash-wrap { position: fixed; top: 18px; left: 50%; transform: translateX(-50%); z-index: 200; width: min(560px, calc(100% - 32px)); display: grid; gap: 10px; }
.flash {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 14px 18px; border-radius: var(--r);
  background: #fff; box-shadow: var(--sh-3);
  border-left: 4px solid var(--blue);
  font-size: 14px; color: var(--text);
  animation: flashIn .28s ease;
}
.flash-success { border-left-color: var(--ok); }
.flash-success .ico { color: var(--ok); }
.flash-error { border-left-color: var(--danger); }
.flash-error .ico { color: var(--danger); }
.flash-warn { border-left-color: var(--warn); }
.flash-warn .ico { color: var(--warn); }
.flash .close { margin-left: auto; background: none; border: 0; color: var(--muted-2); cursor: pointer; padding: 0; line-height: 1; }
@keyframes flashIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

.alert { display: flex; gap: 11px; padding: 15px 18px; border-radius: var(--r); font-size: 14px; border: 1px solid; }
.alert-info { background: rgba(22, 104, 179, .055); border-color: rgba(22, 104, 179, .2); color: #12558f; }
.alert-warn { background: rgba(194, 123, 22, .07); border-color: rgba(194, 123, 22, .24); color: #8a5806; }

/* ---------------------------------------------------------------- 认证页 */
.auth-wrap {
  min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
}
.auth-aside {
  position: relative; overflow: hidden; padding: 66px 58px;
  display: flex; flex-direction: column; justify-content: space-between;
  background:
    radial-gradient(760px 420px at 84% 6%, rgba(46, 139, 216, .3), transparent 60%),
    linear-gradient(150deg, #0a2a43, #124169);
  color: rgba(255, 255, 255, .78);
}
.auth-aside::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(80% 70% at 50% 40%, #000, transparent);
}
.auth-aside > * { position: relative; z-index: 1; }
.auth-aside h2 { color: #fff; font-size: 30px; line-height: 1.3; margin-bottom: 16px; }
.auth-aside p { color: rgba(255, 255, 255, .7); font-size: 15px; }
.auth-points li { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 13px; font-size: 14.5px; color: rgba(255, 255, 255, .78); }
.auth-points .ico { color: var(--gold-l); margin-top: 4px; }
.auth-main { display: grid; place-items: center; padding: 56px 28px; background: var(--bg-softer); }
.auth-box { width: 100%; max-width: 420px; }
.auth-box h1 { font-size: 26px; margin-bottom: 8px; }
.auth-box .sub { color: var(--muted); font-size: 14.5px; margin-bottom: 30px; }
.auth-foot { margin-top: 22px; font-size: 14px; color: var(--muted); text-align: center; }
.auth-back { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--muted); margin-bottom: 26px; }

/* ---------------------------------------------------------------- 表格 */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
table.data { min-width: 100%; font-size: 14px; }
table.data th {
  text-align: left; font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
  color: var(--muted); background: var(--bg-soft);
  padding: 13px 18px; white-space: nowrap; border-bottom: 1px solid var(--line);
}
table.data td { padding: 15px 18px; border-bottom: 1px solid var(--line); color: var(--text-2); vertical-align: middle; }
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: var(--bg-softer); }
table.data .nowrap { white-space: nowrap; }
table.data .strong { color: var(--navy); font-weight: 600; }

.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.st-wait { background: rgba(194, 123, 22, .1); color: #9a6210; }
.st-seen { background: rgba(22, 104, 179, .1); color: var(--blue); }
.st-progress { background: rgba(15, 163, 163, .12); color: #0b7c7c; }
.st-ok { background: rgba(26, 143, 95, .11); color: var(--ok); }
.st-no { background: rgba(120, 132, 143, .13); color: #64748b; }

.pager { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 22px; }
.pager a, .pager span {
  min-width: 36px; height: 36px; padding: 0 11px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-2); border-radius: var(--r-sm);
  font-size: 13.5px; color: var(--text-2); background: #fff;
}
.pager a:hover { border-color: var(--blue); color: var(--blue); }
.pager .cur { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 600; }
.pager .gap { border: 0; background: none; color: var(--muted-2); }

.empty { text-align: center; padding: 62px 24px; color: var(--muted); }
.empty .ico { color: var(--line-2); margin-bottom: 14px; }
.empty b { display: block; font-size: 16px; color: var(--text-2); margin-bottom: 6px; }

/* ---------------------------------------------------------------- 页脚 */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .6); padding: 66px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 44px; padding-bottom: 46px; }
.site-footer h4 { color: #fff; font-size: 14.5px; margin-bottom: 18px; letter-spacing: .03em; }
.site-footer a { color: rgba(255, 255, 255, .6); }
.site-footer a:hover { color: #fff; }
.footer-brand { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 18px; }
.footer-brand .brand-name { color: #fff; font-size: 16px; font-weight: 700; }
.footer-brand .brand-sub { color: rgba(255, 255, 255, .42); }
.footer-about { line-height: 1.85; margin-bottom: 18px; max-width: 340px; }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 12px; line-height: 1.65; }
.footer-contact .ico { color: var(--gold); margin-top: 4px; opacity: .85; }
.footer-links li { margin-bottom: 11px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding: 22px 0 26px;
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: 13px; color: rgba(255, 255, 255, .42);
}
.footer-bottom .sep { margin: 0 8px; opacity: .5; }

/* ---------------------------------------------------------------- 管理后台 */
.admin-body { background: var(--bg-soft); min-height: 100vh; }
.admin-shell { display: grid; grid-template-columns: 236px minmax(0, 1fr); min-height: 100vh; }
.admin-side {
  background: var(--navy); color: rgba(255, 255, 255, .68);
  display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh;
}
.admin-side-head { padding: 22px 20px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.admin-side-head .brand-name { color: #fff; font-size: 14.5px; }
.admin-side-head .brand-sub { color: rgba(255, 255, 255, .4); font-size: 10px; }
.admin-nav { padding: 16px 12px; flex: 1; overflow-y: auto; }
.admin-nav .grp { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .34); padding: 14px 12px 8px; }
.admin-nav a {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 12px; border-radius: var(--r-sm);
  color: rgba(255, 255, 255, .68); font-size: 14px; margin-bottom: 2px;
}
.admin-nav a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.admin-nav a.is-active { background: rgba(46, 139, 216, .2); color: #fff; font-weight: 600; }
.admin-nav .count {
  margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px;
  display: inline-grid; place-items: center; border-radius: 999px;
  background: var(--gold); color: #3a2c0c; font-size: 11.5px; font-weight: 700;
}
.admin-side-foot { padding: 16px; border-top: 1px solid rgba(255, 255, 255, .08); }
.admin-side-foot .who { font-size: 12.5px; color: rgba(255, 255, 255, .5); margin-bottom: 10px; }
.admin-main { min-width: 0; display: flex; flex-direction: column; }
.admin-top {
  background: #fff; border-bottom: 1px solid var(--line);
  padding: 18px 30px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  position: sticky; top: 0; z-index: 30;
}
.admin-top h1 { font-size: 19px; }
.admin-top .sub { font-size: 13px; color: var(--muted); }
.admin-content { padding: 28px 30px 60px; flex: 1; }

.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 24px; }
.kpi-label { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.kpi-label .ico { color: var(--blue); }
.kpi-num { font-size: 30px; font-weight: 700; color: var(--navy); line-height: 1.1; letter-spacing: -.02em; }
.kpi-num small { font-size: 14px; color: var(--muted); font-weight: 500; margin-left: 6px; }
.kpi-foot { font-size: 12.5px; color: var(--muted-2); margin-top: 8px; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.panel-head {
  padding: 17px 22px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.panel-head h3 { font-size: 15.5px; }
.panel-body { padding: 22px; }
.panel-body.tight { padding: 0; }

.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 20px; }
.toolbar .input, .toolbar .select { width: auto; min-width: 150px; padding: 9px 13px; font-size: 14px; }
.toolbar .spacer { flex: 1; }

.dl { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 0; font-size: 14px; }
.dl dt { padding: 12px 0; color: var(--muted); border-bottom: 1px dashed var(--line); }
.dl dd { padding: 12px 0; margin: 0; color: var(--text); border-bottom: 1px dashed var(--line); word-break: break-all; }
.dl dt:last-of-type, .dl dd:last-of-type { border-bottom: 0; }

/* ---------------------------------------------------------------- 会员中心 */
.member-head {
  background: linear-gradient(150deg, #0a2a43, #124169);
  color: rgba(255, 255, 255, .75); padding: 44px 0;
}
.member-head h1 { color: #fff; font-size: 26px; margin-bottom: 6px; }
.member-head p { margin: 0; font-size: 14px; }
.member-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 28px; flex-wrap: wrap; }
.member-tabs a { padding: 12px 18px; font-size: 14.5px; color: var(--muted); font-weight: 500; border-bottom: 2px solid transparent; }
.member-tabs a:hover { color: var(--blue); }
.member-tabs a.is-active { color: var(--navy); font-weight: 600; border-bottom-color: var(--gold); }

.reply-box { margin-top: 14px; padding: 16px 18px; border-radius: var(--r); background: rgba(22, 104, 179, .05); border-left: 3px solid var(--blue); font-size: 14px; color: var(--text-2); }
.reply-box b { color: var(--navy); display: block; margin-bottom: 6px; font-size: 13px; }

/* ---------------------------------------------------------------- 错误页 */
.err-wrap { min-height: 66vh; display: grid; place-items: center; padding: 70px 24px; text-align: center; }
.err-code { font-family: var(--mono); font-size: 74px; font-weight: 700; color: var(--line-2); line-height: 1; letter-spacing: -.03em; }
.err-wrap h1 { font-size: 24px; margin: 18px 0 10px; }
.err-wrap p { color: var(--muted); max-width: 520px; margin: 0 auto 26px; }

/* ---------------------------------------------------------------- 通用工具类 */
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.text-sm { font-size: 13.5px; }
.fw-600 { font-weight: 600; }
.nowrap { white-space: nowrap; }
.mono { font-family: var(--mono); }
.flex { display: flex; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.flex-center { display: flex; align-items: center; gap: 10px; }
.flex-end { display: flex; align-items: center; gap: 10px; justify-content: flex-end; }
.hidden { display: none !important; }

.divider-y { height: 1px; background: var(--line); margin: 34px 0; }

.note-list { font-size: 13.5px; color: var(--muted); }
.note-list li { position: relative; padding-left: 17px; margin-bottom: 7px; }
.note-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 4px; height: 4px; border-radius: 50%; background: var(--muted-2); }

/* ---------------------------------------------------------------- 响应式 */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; padding: 66px 0 74px; }
  .hero-panel { max-width: 620px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 0; }
  .process-step:nth-child(odd)::before { left: 0; }
  .process-step::before { display: none; }
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
}

@media (max-width: 900px) {
  .topbar-r .hide-sm { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 84vw);
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; padding: 78px 18px 24px;
    box-shadow: -12px 0 40px rgba(10, 42, 67, .14);
    transform: translateX(102%); transition: transform .26s ease;
    z-index: 80; overflow-y: auto;
  }
  .nav.is-open { transform: none; }
  .nav a { padding: 13px 14px; font-size: 15.5px; border-radius: var(--r); }
  .nav a.is-active::after { display: none; }
  .nav a.is-active { background: rgba(22, 104, 179, .08); }
  .header-actions .btn span.lbl { display: none; }
  .g-3, .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-strip .grid.g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-item { border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; }
  .admin-nav { display: flex; flex-wrap: wrap; gap: 4px; }
  .admin-nav .grp { display: none; }
  .admin-nav a { margin-bottom: 0; }
}

@media (max-width: 720px) {
  body { font-size: 14.5px; }
  .container { padding: 0 18px; }
  .section { padding: 64px 0; }
  .section-sm { padding: 46px 0; }
  .sec-head { margin-bottom: 34px; }
  .grid { gap: 16px; }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .stat-strip .grid.g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .job-card { flex-direction: column; align-items: stretch; gap: 16px; padding: 22px; }
  .job-side { flex-direction: row; align-items: center; justify-content: space-between; }
  .process { grid-template-columns: 1fr; gap: 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .kpi-grid { grid-template-columns: 1fr; }
  .admin-top, .admin-content { padding-left: 18px; padding-right: 18px; }
  .dl { grid-template-columns: 92px minmax(0, 1fr); }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .card { padding: 22px; }
  .err-code { font-size: 56px; }
}

@media print {
  .topbar, .site-header, .site-footer, .admin-side, .admin-top, .btn, .flash-wrap { display: none !important; }
  body { color: #000; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- 邮箱图片（反爬展示） ---------- */
.email-img {
  height: 15px;
  width: auto;
  vertical-align: -3px;
  border: 0;
}
.email-img-dark { height: 15px; }
.topbar .email-img { vertical-align: -2px; }
.footer-contact .email-img { height: 15px; vertical-align: -2px; }
.card .email-img { height: 16px; vertical-align: -3px; }

/* ---------- 找回密码专用组件 ---------- */
.ok-badge {
  width: 64px; height: 64px; margin: 0 auto 14px;
  border-radius: 50%; background: rgba(22, 104, 179, .12);
  color: var(--steel, #1668b3); display: flex; align-items: center; justify-content: center;
}
.seg { display: flex; gap: 8px; }
.seg-item {
  flex: 1; cursor: pointer; user-select: none;
  border: 1px solid var(--line, #e7ecf2); border-radius: 9px;
  padding: 11px 8px; text-align: center; font-size: 14px; font-weight: 600;
  color: var(--ink-2, #46566b); transition: all .15s ease; background: #fff;
}
.seg-item input { position: absolute; opacity: 0; pointer-events: none; }
.seg-item.is-active { border-color: var(--steel, #1668b3); background: rgba(22, 104, 179, .08); color: var(--steel, #1668b3); }
.input-code { font-size: 22px; letter-spacing: 8px; text-align: center; font-weight: 700; }
