/* ============================================================
   未迟WISE — 高净值家庭 升学·移民·资产配置全案专家
   设计语言：深蓝、白、墨色、金
   签名元素：中式印章 + 章节编号（呼应品牌手册 01–06 结构）
   ============================================================ */

:root {
  --claret: #0b3d91;        /* 深蓝：主品牌色 */
  --claret-deep: #082c69;   /* 深蓝加深：hover/深色块 */
  --ink: #1f2937;           /* 墨色：正文标题 */
  --ink-soft: #6b7280;      /* 浅墨：辅助文字 */
  --paper: #ffffff;         /* 白：浅色底 */
  --paper-deep: #f4f7fb;    /* 淡蓝灰：分隔底 */
  --gold: #e8a33d;          /* 金：点缀与眉题 */
  --line: #e5e7eb;          /* 发丝线 */
  --radius: 4px;
  --serif: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.85;
  font-size: 16px;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}

.logo {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--claret);
  text-decoration: none;
  letter-spacing: 1px;
}

.logo span {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 3px;
  margin-left: 6px;
  vertical-align: 2px;
}

.site-nav { display: flex; gap: 2px; align-items: center; }

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  padding: 6px 11px;
  transition: color 0.2s;
}

.site-nav a:hover { color: var(--claret); }

.site-nav .nav-cta {
  border: 1px solid var(--claret);
  color: var(--claret);
  border-radius: var(--radius);
  margin-left: 8px;
  transition: background 0.2s, color 0.2s;
}

.site-nav .nav-cta:hover { background: var(--claret); color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s, opacity 0.25s;
}

/* ---------- Hero：品牌宣言 + 印章签名 ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--claret) 0%, var(--claret-deep) 60%, #061f4a 100%);
  color: #fff;
  padding: 96px 0 84px;
  overflow: hidden;
}

.hero .container { position: relative; }

.hero-kicker {
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 6px;
  margin-bottom: 22px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: 3.1rem;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  max-width: 21em;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-sub {
  margin-top: 24px;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.02rem;
}

.hero-actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 12px 36px;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 2px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

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

.btn-ghost { border: 1px solid rgba(255, 255, 255, 0.7); color: #fff; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* 印章：签名元素 */
.seal {
  position: absolute;
  right: 24px;
  top: 8px;
  width: 96px;
  height: 96px;
  background: var(--gold);
  color: #fff;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.15;
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: 8px;
  transform: rotate(6deg);
  box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 5px var(--gold);
  user-select: none;
}

/* 数据栏 */
.hero-stats {
  margin-top: 56px;
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-stats div {
  flex: 1 1 120px;
  padding: 22px 8px 0;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  padding-left: 20px;
}

.hero-stats div:first-child { border-left: none; padding-left: 8px; }

.hero-stats strong {
  display: block;
  font-family: var(--serif);
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
}

.hero-stats span { font-size: 0.86rem; color: rgba(255, 255, 255, 0.8); letter-spacing: 1px; }

/* ---------- 章节 ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--paper-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* 章节眉题：编号呼应品牌手册目录 */
.eyebrow {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 10px;
}

.eyebrow .no {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--claret);
  line-height: 1;
}

.eyebrow .en {
  font-size: 0.78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
}

.section h2 {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--ink);
}

.section h2 small {
  display: block;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--claret);
  letter-spacing: 2px;
  margin-top: 8px;
}

.section-sub {
  color: var(--ink-soft);
  margin-top: 14px;
  max-width: 700px;
}

.subsection-title {
  margin-top: 56px;
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--ink);
  padding-left: 14px;
  border-left: 3px solid var(--claret);
}

/* ---------- 网格与卡片 ---------- */
.grid { display: grid; gap: 20px; margin-top: 32px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: border-color 0.2s;
}

.card:hover { border-color: var(--claret); }

.card h3 {
  font-family: var(--serif);
  font-size: 1.08rem;
  color: var(--claret);
  margin-bottom: 10px;
}

.card p { font-size: 0.93rem; color: var(--ink); }

.card-icon { font-size: 1.6rem; margin-bottom: 10px; }

.card ul { list-style: none; }

.card ul li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 7px;
  font-size: 0.92rem;
}

.card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  background: var(--gold);
}

/* ---------- 流程（真实时序，保留数字轴） ---------- */
.steps {
  list-style: none;
  max-width: 660px;
  margin: 28px 0 0;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 16px;
  bottom: 16px;
  width: 1px;
  background: var(--line);
}

.steps li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 12px 0;
}

.steps li span {
  position: relative;
  z-index: 1;
  flex: 0 0 29px;
  height: 29px;
  background: #fff;
  border: 1px solid var(--claret);
  color: var(--claret);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 0.88rem;
}

/* ---------- 标签 ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.tags span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 7px 16px;
  font-size: 0.88rem;
  color: var(--ink);
}

.tags-lg span {
  padding: 11px 26px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--claret);
  border-color: var(--claret);
}

/* ---------- 引言（客户见证） ---------- */
.quote p {
  font-size: 0.94rem;
  color: var(--ink);
}

.quote p::before { content: "「"; color: var(--gold); font-family: var(--serif); }
.quote p::after { content: "」"; color: var(--gold); font-family: var(--serif); }

.quote footer {
  margin-top: 14px;
  font-size: 0.86rem;
  color: var(--ink-soft);
  text-align: right;
}

.stats-dark { margin: 40px 0 12px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; }
.stats-dark div { flex: 1 1 140px; padding: 22px 8px 0 20px; border-left: 1px solid var(--line); }
.stats-dark div:first-child { border-left: none; padding-left: 8px; }
.stats-dark strong { display: block; font-family: var(--serif); font-size: 2.3rem; font-weight: 700; color: var(--claret); line-height: 1.2; }
.stats-dark span { font-size: 0.86rem; color: var(--ink-soft); letter-spacing: 1px; }

/* ---------- 分支机构 ---------- */
.branch-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 36px;
}

.branch-grid span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 0;
  text-align: center;
  font-family: var(--serif);
  font-weight: 700;
  color: var(--ink);
}

/* ---------- 联系我们 ---------- */
.section-contact {
  background: linear-gradient(135deg, var(--claret) 0%, var(--claret-deep) 100%);
  color: #fff;
}

.section-contact h2 { color: #fff; }
.section-contact .eyebrow .no { color: var(--gold); }
.section-contact .section-sub { color: rgba(255, 255, 255, 0.75); }

.contact-grid .card {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  text-align: center;
  text-decoration: none;
  display: block;
}

.contact-grid .card { box-shadow: none; }

.contact-grid .card::before { background: var(--gold); }

.contact-grid .card:hover { border-color: var(--gold); box-shadow: none; }

.contact-grid .card h3 { color: var(--gold); }

.contact-card p {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  font-family: var(--serif);
  letter-spacing: 1px;
  word-break: break-all;
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: #061f4a;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  padding: 40px 0;
  font-size: 0.92rem;
}

.site-footer a { color: var(--gold); text-decoration: none; }

.site-footer .copyright { margin-top: 12px; font-size: 0.82rem; opacity: 0.55; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .branch-grid { grid-template-columns: repeat(4, 1fr); }
  .hero h1 { font-size: 2.4rem; }
  .seal { width: 78px; height: 78px; font-size: 1.6rem; }
}

@media (max-width: 640px) {
  .nav-toggle { display: flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 10px 24px 16px;
  }

  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 4px; font-size: 1rem; }
  .site-nav .nav-cta { margin: 8px 0 0; text-align: center; }

  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding: 64px 0 60px; }
  .hero h1 { font-size: 1.78rem; }
  .hero-sub { font-size: 0.96rem; }

  .seal {
    position: static;
    margin-bottom: 26px;
    width: 64px;
    height: 64px;
    font-size: 1.35rem;
    border-radius: 6px;
  }

  .hero-stats div { flex: 1 1 40%; padding-top: 16px; margin-top: 4px; }
  .hero-stats div:nth-child(3) { border-left: none; padding-left: 8px; }

  .section { padding: 56px 0; }
  .section h2 { font-size: 1.45rem; }
  .eyebrow .no { font-size: 2rem; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .branch-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-dark div { flex: 1 1 40%; }
}
