/* ==========================================================================
   砺知诚（上海）信息咨询有限公司 — 企业官网样式
   Design: 简约大气 / 深墨蓝 × 铜金 / 大留白 / 细线分隔
   ========================================================================== */

:root {
  --ink: #0d1f2d;
  --ink-2: #14293b;
  --steel: #3d5568;
  --muted: #647687;
  --gold: #b3894d;
  --gold-2: #c9a261;
  --paper: #f8f7f4;
  --white: #ffffff;
  --line: rgba(13, 31, 45, 0.12);
  --line-strong: rgba(13, 31, 45, 0.22);
  --line-light: rgba(255, 255, 255, 0.18);
  --shadow: 0 24px 60px -32px rgba(13, 31, 45, 0.4);
  --shadow-sm: 0 10px 30px -18px rgba(13, 31, 45, 0.35);
  --max: 1200px;
  --header-h: 76px;
  --font: "PingFang SC", "Microsoft YaHei", "Segoe UI", -apple-system,
    "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; }

::selection { background: var(--gold); color: #fff; }

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

/* --------------------------------------------------------------------------
   通用文字元素
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
  opacity: 0.8;
}

.section-title {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.02em;
  margin: 18px 0 0;
}

.section-lede {
  margin-top: 18px;
  max-width: 720px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.9;
}

.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head.center .section-lede { margin-left: auto; margin-right: auto; }

.gold { color: var(--gold); }

/* --------------------------------------------------------------------------
   按钮
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 30px;
  font-size: 14.5px;
  letter-spacing: 0.14em;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: all 0.28s ease;
  white-space: nowrap;
}
.btn .arrow { transition: transform 0.28s ease; font-size: 15px; }
.btn:hover .arrow { transform: translateX(4px); }

.btn-solid {
  background: var(--gold);
  color: #fff;
}
.btn-solid:hover { background: var(--ink); }

.btn-ghost-light {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: transparent;
}
.btn-ghost-light:hover { background: #fff; color: var(--ink); }

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

/* --------------------------------------------------------------------------
   顶部导航
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.35s ease, box-shadow 0.35s ease, height 0.35s ease;
}
.site-header .wrap {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: height 0.35s ease;
}
.site-header.solid {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 12px 40px -30px rgba(13, 31, 45, 0.5);
}
.site-header.solid .wrap { height: 66px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-mark svg { width: 100%; height: 100%; display: block; }

.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 19px; font-weight: 700; letter-spacing: 0.12em; }
.brand-text em {
  font-style: normal;
  font-size: 9.5px;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
}
.site-header.solid .brand-text em { color: var(--muted); }

.nav { display: flex; align-items: center; gap: 38px; }
.nav a {
  position: relative;
  font-size: 15px;
  letter-spacing: 0.12em;
  padding: 6px 0;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.25s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav a:hover::after,
.nav a.active::after { width: 100%; }
.nav a.active { color: #fff; }
.nav a:hover { color: #fff; }
.site-header.solid .nav a { color: var(--ink); }
.site-header.solid .nav a.active { color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-actions .btn { padding: 9px 22px; font-size: 13.5px; }
.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  color: #fff;
  padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 2px;
}
.user-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: #6fcf97; }
.site-header.solid .user-chip { color: var(--ink); border-color: var(--line-strong); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 2px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.6px;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.site-header.solid .nav-toggle { border-color: var(--line-strong); }
.site-header.solid .nav-toggle span { background: var(--ink); }

/* --------------------------------------------------------------------------
   Hero（首页）
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../img/hero-port.jpg") center 30% / cover no-repeat;
  transform: scale(1.06);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(9, 22, 33, 0.92) 0%,
    rgba(9, 22, 33, 0.72) 42%,
    rgba(9, 22, 33, 0.28) 100%
  );
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: var(--header-h);
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  letter-spacing: 0.34em;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 28px;
}
.hero-tag::before {
  content: "";
  width: 44px;
  height: 1px;
  background: var(--gold-2);
}
.hero h1 {
  font-size: clamp(38px, 5.6vw, 68px);
  line-height: 1.28;
  font-weight: 600;
  letter-spacing: 0.04em;
  max-width: 15em;
}
.hero h1 span { color: var(--gold-2); }
.hero p {
  margin-top: 26px;
  max-width: 34em;
  font-size: 17px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.82);
}
.hero-cta { display: flex; gap: 16px; margin-top: 44px; flex-wrap: wrap; }

.hero-stats {
  position: relative;
  z-index: 2;
  margin-top: 76px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.hero-stat {
  padding: 26px 8px 6px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  padding-left: 28px;
}
.hero-stat:first-child { padding-left: 0; }
.hero-stat:last-child { border-right: none; }
.hero-stat b {
  display: block;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 300;
  letter-spacing: 0.02em;
  color: #fff;
}
.hero-stat b i { font-style: normal; color: var(--gold-2); font-size: 0.62em; margin-left: 3px; }
.hero-stat span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.6);
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 2;
  width: 1px;
  height: 54px;
  background: rgba(255, 255, 255, 0.35);
  overflow: hidden;
}
.scroll-hint::after {
  content: "";
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--gold-2);
  animation: hint 2.2s ease-in-out infinite;
}
@keyframes hint { to { top: 110%; } }

/* --------------------------------------------------------------------------
   页头横幅（内页）
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 96px) 0 92px;
  color: #fff;
  overflow: hidden;
}
.page-hero .hero-bg { animation: none; }
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(9, 22, 33, 0.9) 0%,
    rgba(9, 22, 33, 0.62) 60%,
    rgba(9, 22, 33, 0.4) 100%
  );
}
.page-hero-inner { position: relative; z-index: 2; }
.page-hero h1 {
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-top: 16px;
}
.page-hero .crumb {
  margin-top: 22px;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.62);
}
.page-hero .crumb a:hover { color: var(--gold-2); }
.page-hero .crumb i { font-style: normal; margin: 0 10px; color: var(--gold-2); }

/* --------------------------------------------------------------------------
   版块通用
   -------------------------------------------------------------------------- */
.section { padding: 110px 0; }
.section.tight { padding: 84px 0; }
.section.paper { background: var(--paper); }
.section.ink { background: var(--ink); color: #fff; }
.section.ink .section-lede { color: rgba(255, 255, 255, 0.66); }
.section.ink .eyebrow { color: var(--gold-2); }
.section.ink .eyebrow::before { background: var(--gold-2); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split-media { position: relative; }
.split-media img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: var(--shadow);
}
.split-media .badge {
  position: absolute;
  right: -28px;
  bottom: -28px;
  background: var(--ink);
  color: #fff;
  padding: 26px 30px;
  border-radius: 2px;
  box-shadow: var(--shadow);
  max-width: 240px;
}
.split-media .badge b {
  display: block;
  font-size: 30px;
  font-weight: 300;
  color: var(--gold-2);
}
.split-media .badge span { font-size: 12.5px; letter-spacing: 0.14em; color: rgba(255,255,255,.72); }

.checklist { margin-top: 30px; display: grid; gap: 14px; }
.checklist li {
  position: relative;
  padding-left: 30px;
  color: var(--steel);
  line-height: 1.8;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   卡片
   -------------------------------------------------------------------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  padding: 42px 36px;
  border-radius: 2px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }

.card-num {
  font-size: 13px;
  letter-spacing: 0.26em;
  color: var(--gold);
  font-weight: 600;
}
.card h3 {
  margin: 16px 0 14px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.card p { color: var(--muted); font-size: 15px; line-height: 1.9; }
.card .more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 13.5px;
  letter-spacing: 0.16em;
  color: var(--ink);
  font-weight: 600;
}
.card .more span { color: var(--gold); transition: transform 0.3s ease; }
.card:hover .more span { transform: translateX(4px); }

.card-media {
  margin: -42px -36px 30px;
  height: 190px;
  overflow: hidden;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.card:hover .card-media img { transform: scale(1.05); }

/* 服务板块卡片（深色） */
.pillar {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  padding: 44px 38px;
  transition: background 0.35s ease, transform 0.35s ease, border-color 0.35s ease;
}
.pillar:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(201, 162, 97, 0.55);
  transform: translateY(-6px);
}
.pillar .idx {
  font-size: 15px;
  letter-spacing: 0.2em;
  color: var(--gold-2);
  font-weight: 600;
}
.pillar h3 {
  margin: 18px 0 6px;
  font-size: 22px;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.pillar .sub {
  font-size: 12.5px;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}
.pillar p { margin-top: 18px; color: rgba(255, 255, 255, 0.68); font-size: 14.8px; line-height: 1.95; }
.pillar ul { margin-top: 22px; display: grid; gap: 10px; }
.pillar li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}
.pillar li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 10px;
  height: 6px;
  border-left: 1.5px solid var(--gold-2);
  border-bottom: 1.5px solid var(--gold-2);
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   数字统计条
   -------------------------------------------------------------------------- */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
}
.stat {
  padding: 40px 34px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat b {
  display: block;
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.stat b i { font-style: normal; color: var(--gold); font-size: 0.6em; margin-left: 2px; }
.stat span {
  display: block;
  margin-top: 10px;
  font-size: 13.5px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   流程
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.step {
  position: relative;
  padding: 0 30px 0 0;
}
.step + .step { padding-left: 34px; border-left: 1px solid var(--line); }
.step .no {
  font-size: 44px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  letter-spacing: 0.04em;
}
.step h4 { margin: 18px 0 10px; font-size: 18px; font-weight: 600; letter-spacing: 0.06em; }
.step p { color: var(--muted); font-size: 14.5px; line-height: 1.9; }

/* --------------------------------------------------------------------------
   行业标签 / 引言
   -------------------------------------------------------------------------- */
.tags { display: flex; flex-wrap: wrap; gap: 12px; }
.tags span {
  padding: 9px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  font-size: 13.5px;
  letter-spacing: 0.1em;
  color: var(--steel);
  transition: all 0.25s ease;
}
.tags span:hover { border-color: var(--gold); color: var(--gold); background: rgba(179, 137, 77, 0.06); }

.quote-block {
  border-left: 2px solid var(--gold);
  padding: 8px 0 8px 30px;
  font-size: 19px;
  line-height: 2;
  color: var(--ink-2);
  max-width: 720px;
}
.quote-block footer { margin-top: 16px; font-size: 13px; letter-spacing: 0.2em; color: var(--muted); }

/* --------------------------------------------------------------------------
   时间线（关于我们）
   -------------------------------------------------------------------------- */
.timeline { position: relative; margin-top: 20px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}
.tl-item { position: relative; padding: 0 0 38px 44px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--gold);
}
.tl-item b { font-size: 17px; letter-spacing: 0.08em; color: var(--ink); }
.tl-item b em { font-style: normal; color: var(--gold); font-weight: 600; margin-right: 14px; }
.tl-item p { margin-top: 8px; color: var(--muted); font-size: 14.8px; max-width: 640px; }

/* --------------------------------------------------------------------------
   CTA 横幅
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  padding: 96px 0;
}
.cta-band .bg {
  position: absolute;
  inset: 0;
  background: url("../img/city-dusk.jpg") center 60% / cover no-repeat;
  opacity: 0.28;
}
.cta-band .inner { position: relative; z-index: 2; text-align: center; }
.cta-band h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 600; letter-spacing: 0.05em; }
.cta-band p { margin: 18px auto 0; max-width: 620px; color: rgba(255, 255, 255, 0.7); }
.cta-band .actions { margin-top: 40px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   页脚
   -------------------------------------------------------------------------- */
.site-footer { background: #0a1824; color: rgba(255, 255, 255, 0.62); padding: 78px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 58px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand .brand-text strong { color: #fff; }
.footer-brand p { margin-top: 22px; font-size: 14px; line-height: 2; max-width: 300px; }
.footer-col h5 {
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.22em;
  margin-bottom: 24px;
  font-weight: 600;
}
.footer-col ul { display: grid; gap: 12px; }
.footer-col a, .footer-col li { font-size: 14px; letter-spacing: 0.06em; }
.footer-col a:hover { color: var(--gold-2); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 26px 0;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
}

/* --------------------------------------------------------------------------
   表单
   -------------------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--steel);
  font-weight: 600;
}
.field label i { font-style: normal; color: var(--gold); margin-left: 2px; }
.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  padding: 13px 16px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.8; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(179, 137, 77, 0.14);
}
.field .hint { font-size: 12.5px; color: var(--muted); }

.form-note { font-size: 12.5px; color: var(--muted); margin-top: 14px; line-height: 1.8; }

/* --------------------------------------------------------------------------
   消息提示 / 状态
   -------------------------------------------------------------------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translate(-50%, 20px);
  z-index: 300;
  background: var(--ink);
  color: #fff;
  font-size: 14.5px;
  letter-spacing: 0.06em;
  padding: 15px 30px;
  border-radius: 2px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s ease;
  max-width: 86vw;
  text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { background: #8c3b2e; }
.toast.ok { background: #1d5c40; }

.alert {
  padding: 14px 18px;
  border-radius: 2px;
  font-size: 14px;
  line-height: 1.7;
  margin-top: 18px;
  display: none;
}
.alert.show { display: block; }
.alert.err { background: rgba(140, 59, 46, 0.1); color: #8c3b2e; border: 1px solid rgba(140, 59, 46, 0.3); }
.alert.ok { background: rgba(29, 92, 64, 0.1); color: #1d5c40; border: 1px solid rgba(29, 92, 64, 0.3); }

/* --------------------------------------------------------------------------
   登录页
   -------------------------------------------------------------------------- */
.auth-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}
.auth-visual {
  position: relative;
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: flex-end;
  padding: 70px;
}
.auth-visual .bg {
  position: absolute;
  inset: 0;
  background: url("../img/city-dusk.jpg") center / cover no-repeat;
}
.auth-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 22, 33, 0.35), rgba(9, 22, 33, 0.88));
}
.auth-visual .inner { position: relative; z-index: 2; max-width: 460px; }
.auth-visual h2 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 600; line-height: 1.5; letter-spacing: 0.04em; }
.auth-visual p { margin-top: 18px; color: rgba(255, 255, 255, 0.7); line-height: 2; }

.auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 32px;
  background: var(--white);
}
.auth-card { width: 100%; max-width: 420px; }
.auth-card .brand { margin-bottom: 40px; }
.auth-card .brand-text strong { color: var(--ink); }
.auth-card .brand-text em { color: var(--muted); }

.auth-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  margin-bottom: 34px;
}
.auth-tab {
  flex: 1;
  background: none;
  border: none;
  padding: 14px 4px;
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--muted);
  position: relative;
  transition: color 0.25s ease;
}
.auth-tab.active { color: var(--ink); font-weight: 600; }
.auth-tab.active::after {
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: -1px;
  height: 2px;
  background: var(--gold);
}

.otp-row { display: flex; gap: 12px; }
.otp-row input { flex: 1; }
.otp-row .btn { flex: none; padding: 0 20px; font-size: 13px; letter-spacing: 0.08em; }
.otp-row .btn.counting { color: var(--muted); border-color: var(--line); cursor: default; }

.auth-alt {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
}
.auth-alt button {
  background: none;
  border: 1px solid var(--line-strong);
  padding: 11px 22px;
  margin-top: 14px;
  border-radius: 2px;
  font-size: 13.5px;
  letter-spacing: 0.1em;
  color: var(--ink);
  transition: all 0.25s ease;
}
.auth-alt button:hover { border-color: var(--gold); color: var(--gold); }
.auth-legal { margin-top: 22px; font-size: 12px; color: var(--muted); line-height: 1.9; text-align: center; }

.back-home { font-size: 13.5px; letter-spacing: 0.1em; color: var(--muted); }
.back-home:hover { color: var(--gold); }

/* --------------------------------------------------------------------------
   个人中心
   -------------------------------------------------------------------------- */
.dash-wrap { padding: calc(var(--header-h) + 60px) 0 100px; }
.dash-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.dash-head h1 { font-size: clamp(26px, 3vw, 36px); font-weight: 600; letter-spacing: 0.05em; margin-top: 12px; }
.dash-head .who { color: var(--muted); font-size: 14px; letter-spacing: 0.08em; margin-top: 8px; }

.dash-grid { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }
.dash-nav {
  background: var(--ink);
  color: #fff;
  border-radius: 2px;
  padding: 28px 0;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.dash-nav button {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  border-left: 2px solid transparent;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14.5px;
  letter-spacing: 0.12em;
  padding: 14px 28px;
  transition: all 0.25s ease;
  text-align: left;
}
.dash-nav button.active,
.dash-nav button:hover { color: #fff; border-left-color: var(--gold); background: rgba(255, 255, 255, 0.05); }
.dash-logout {
  margin: 22px 28px 0;
  width: auto;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 2px;
  padding: 11px 0 !important;
  justify-content: center;
  color: rgba(255, 255, 255, 0.75) !important;
}
.dash-logout:hover { border-color: var(--gold) !important; color: var(--gold-2) !important; background: none !important; }

.dash-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 40px 44px;
  min-height: 420px;
}
.dash-panel h2 { font-size: 20px; font-weight: 600; letter-spacing: 0.08em; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.dash-panel .desc { color: var(--muted); font-size: 14px; margin: 16px 0 28px; line-height: 1.9; }

.record-list { display: grid; gap: 14px; margin-top: 24px; }
.record {
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}
.record .r-main { flex: 1; min-width: 0; }
.record h4 { font-size: 15.5px; font-weight: 600; letter-spacing: 0.04em; }
.record p { font-size: 13.8px; color: var(--muted); margin-top: 6px; line-height: 1.8; overflow-wrap: anywhere; }
.record .r-meta { font-size: 12px; color: var(--muted); letter-spacing: 0.08em; margin-top: 8px; }
.record .r-side { text-align: right; flex: none; font-size: 12.5px; color: var(--muted); line-height: 1.9; }
.status-pill {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.12em;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(179, 137, 77, 0.12);
  color: var(--gold);
}
.empty {
  text-align: center;
  color: var(--muted);
  padding: 60px 20px;
  font-size: 14.5px;
  border: 1px dashed var(--line-strong);
  border-radius: 2px;
  margin-top: 24px;
}

.upload-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.upload-row select { max-width: 220px; }
.file-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px dashed var(--line-strong);
  border-radius: 2px;
  padding: 12px 20px;
  font-size: 14px;
  color: var(--steel);
  cursor: pointer;
  transition: all 0.25s ease;
}
.file-btn:hover { border-color: var(--gold); color: var(--gold); }
.file-btn input { display: none; }

/* --------------------------------------------------------------------------
   痛点问答（details 手风琴）
   -------------------------------------------------------------------------- */
.pain-list { display: grid; gap: 14px; max-width: 900px; }
.pain {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.pain[open] { border-color: rgba(179, 137, 77, 0.5); box-shadow: var(--shadow-sm); }
.pain summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 28px;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.pain summary::-webkit-details-marker { display: none; }
.pain summary .mark {
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(179, 137, 77, 0.12);
  color: var(--gold);
  font-size: 15px;
  font-weight: 700;
}
.pain summary .chev {
  margin-left: auto;
  color: var(--gold);
  transition: transform 0.3s ease;
  font-size: 14px;
}
.pain[open] summary .chev { transform: rotate(90deg); }
.pain .pain-a {
  padding: 0 28px 26px 80px;
  color: var(--muted);
  font-size: 15px;
  line-height: 2;
}
.pain .pain-a strong { color: var(--ink); }

/* --------------------------------------------------------------------------
   全球市场准入 · 区域导航
   -------------------------------------------------------------------------- */
.region-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.region-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 32px 30px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.region-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.region-card .region-kicker {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
}
.region-card h3 { margin-top: 12px; font-size: 20px; font-weight: 600; letter-spacing: 0.05em; }
.region-card .region-desc { margin-top: 10px; color: var(--muted); font-size: 13.8px; line-height: 1.85; }
.reg-list { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.reg-list a {
  display: inline-block;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--steel);
  transition: all 0.25s ease;
}
.reg-list a:hover { border-color: var(--gold); color: var(--gold); background: rgba(179, 137, 77, 0.06); }
.region-card .more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 13.5px;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--ink);
}
.region-card .more-link span { color: var(--gold); transition: transform 0.3s ease; }
.region-card:hover .more-link span { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   资讯中心
   -------------------------------------------------------------------------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.news-card .n-body { padding: 28px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.news-tag {
  align-self: flex-start;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  color: var(--gold);
  border: 1px solid rgba(179, 137, 77, 0.4);
  padding: 4px 12px;
  border-radius: 999px;
}
.news-card h3 { margin-top: 18px; font-size: 18.5px; line-height: 1.6; font-weight: 600; letter-spacing: 0.02em; }
.news-card h3 a { transition: color 0.25s ease; }
.news-card h3 a:hover { color: var(--gold); }
.news-card p { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.9; flex: 1; }
.news-card .n-date { margin-top: 20px; font-size: 12.5px; letter-spacing: 0.14em; color: var(--muted); }

/* --------------------------------------------------------------------------
   常见问题 FAQ
   -------------------------------------------------------------------------- */
.faq-list { display: grid; gap: 12px; max-width: 900px; margin: 0 auto; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: 2px; }
.faq[open] { border-color: rgba(179, 137, 77, 0.5); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 26px;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; color: var(--gold); font-size: 15px; }
.faq[open] summary::after { content: "－"; }
.faq .faq-a { padding: 0 26px 24px; color: var(--muted); font-size: 14.5px; line-height: 2; }

/* --------------------------------------------------------------------------
   文章页
   -------------------------------------------------------------------------- */
.article-wrap { max-width: 820px; margin: 0 auto; }
.article-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 22px;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.article-meta .news-tag { margin: 0; }
.article-hero { margin: 44px 0; }
.article-hero img { width: 100%; height: 380px; object-fit: cover; border-radius: 2px; box-shadow: var(--shadow-sm); }
.article-body h2 {
  font-size: 23px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 52px 0 20px;
  padding-left: 16px;
  border-left: 3px solid var(--gold);
}
.article-body h3 { font-size: 17.5px; font-weight: 600; margin: 34px 0 12px; }
.article-body p { color: var(--steel); font-size: 15.5px; line-height: 2.1; margin: 16px 0; }
.article-body ul { margin: 16px 0; display: grid; gap: 10px; }
.article-body ul li {
  position: relative;
  padding-left: 24px;
  color: var(--steel);
  font-size: 15px;
  line-height: 1.9;
}
.article-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 12px;
  height: 6px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  font-size: 14.5px;
}
.article-body th, .article-body td {
  border: 1px solid var(--line);
  padding: 12px 16px;
  text-align: left;
  line-height: 1.7;
}
.article-body th { background: var(--paper); font-weight: 600; letter-spacing: 0.04em; }
.article-body blockquote {
  border-left: 2px solid var(--gold);
  padding: 6px 0 6px 24px;
  margin: 26px 0;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 2;
}
.article-cta {
  margin-top: 56px;
  background: var(--ink);
  color: #fff;
  border-radius: 2px;
  padding: 40px 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.article-cta h3 { font-size: 20px; font-weight: 600; letter-spacing: 0.05em; }
.article-cta p { color: rgba(255, 255, 255, 0.66); font-size: 14px; margin-top: 8px; }
.article-disclaimer {
  margin-top: 34px;
  padding: 18px 22px;
  background: var(--paper);
  border: 1px dashed var(--line-strong);
  border-radius: 2px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
}
.article-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 34px; flex-wrap: wrap; }
.article-nav a { font-size: 14px; letter-spacing: 0.08em; color: var(--steel); }
.article-nav a:hover { color: var(--gold); }

/* --------------------------------------------------------------------------
   页脚关键词导航（SEO 热门搜索）
   -------------------------------------------------------------------------- */
.kw-block {
  padding: 30px 0 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.kw-block h5 {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  letter-spacing: 0.22em;
  margin-bottom: 16px;
  font-weight: 600;
}
.kw-cloud { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kw-cloud a {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.25s ease;
}
.kw-cloud a:hover { color: var(--gold-2); }

/* --------------------------------------------------------------------------
   一站式服务图标阵列（参考多国准入服务样式）
   -------------------------------------------------------------------------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.svc-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid transparent;
  padding: 40px 22px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-top-color 0.35s ease;
}
.svc-card:hover {
  transform: translateY(-6px);
  border-top-color: var(--gold);
  box-shadow: 0 18px 40px rgba(11, 26, 43, 0.1);
}
.svc-ico {
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--gold);
}
.svc-ico svg { width: 62px; height: 62px; display: block; }
a.svc-card { color: inherit; text-decoration: none; }
.svc-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.svc-desc {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--muted);
  flex: 1;
  text-align: justify;
  text-align-last: center;
}
.svc-btn {
  display: inline-block;
  margin-top: 22px;
  padding: 8px 24px;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: #fff;
  background: var(--gold);
  border: 1px solid var(--gold);
  transition: background 0.3s ease, color 0.3s ease;
}
.svc-card:hover .svc-btn { background: var(--ink); border-color: var(--ink); }
.svc-note {
  margin-top: 34px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.svc-note b { color: var(--gold); font-weight: 600; }

@media (max-width: 1080px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-card { padding: 34px 20px 26px; }
}

/* --------------------------------------------------------------------------
   滚动显现动画
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s; } .d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; } .d4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg { animation: none; }
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   响应式
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .step + .step { padding-left: 0; border-left: none; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .auth-layout { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
}

@media (max-width: 900px) {
  .wrap { padding: 0 22px; }
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(78vw, 340px);
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 110px 40px;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 90;
  }
  .nav.open { transform: none; }
  .nav a { color: rgba(255, 255, 255, 0.85) !important; font-size: 17px; padding: 10px 0; }
  .nav a.active { color: var(--gold-2) !important; }
  .nav a::after { display: none; }
  .nav-toggle { display: flex; position: relative; z-index: 95; }
  .site-header.menu-open .nav-toggle span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
  .site-header.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }
  .site-header.menu-open .nav-toggle span { background: #fff; }
  .site-header.menu-open { background: transparent; box-shadow: none; }
  .site-header:not(.solid) .nav-toggle { border-color: rgba(255,255,255,.4); }
  .header-actions .btn-solid, .header-actions .user-chip { display: none; }

  .section { padding: 76px 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .split-media img { height: 380px; }
  .split-media .badge { right: 16px; bottom: -24px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stat { border: none !important; padding-left: 0; }
  .hero-stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.14) !important; }
  .dash-grid { grid-template-columns: 1fr; }
  .dash-nav { position: static; display: flex; flex-wrap: wrap; padding: 10px; gap: 2px; }
  .dash-nav button { border-left: none; border-bottom: 2px solid transparent; width: auto; padding: 12px 16px; }
  .dash-nav button.active { border-bottom-color: var(--gold); }
  .dash-logout { margin: 6px; padding: 10px 22px !important; }
  .dash-panel { padding: 28px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .auth-panel { padding: 46px 22px; }
  .region-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .pain .pain-a { padding-left: 28px; }
  .article-cta { padding: 30px 24px; }
  .article-hero img { height: 220px; }
}

@media (max-width: 560px) {
  .grid-4, .steps { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr; }
  .stat { border-right: none !important; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .record { flex-direction: column; }
  .record .r-side { text-align: left; }
  .hero-cta .btn { width: 100%; }
  .page-hero { padding: calc(var(--header-h) + 64px) 0 64px; }
}
