/* ==========================================================================
   浙江智跃财务咨询有限公司 · 官网样式
   设计基调：留白、宋体标题、墨蓝 + 暗金；克制、稳重、大气
   ========================================================================== */

:root {
  --ink: #0f1c26;
  --ink-2: #1d2d3a;
  --body: #4a5862;
  --muted: #7e8b94;
  --line: #e3e7e9;
  --line-soft: #eff2f3;
  --cream: #f7f5f1;
  --cream-2: #fbfaf7;
  --gold: #9a7842;
  --gold-soft: #c7ae86;
  --white: #ffffff;
  --danger: #b3423a;
  --ok: #2f6b4f;

  --font-serif: "Songti SC", "Source Han Serif SC", "Noto Serif SC", "STSong", "SimSun", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;

  --container: 1180px;
  --radius: 3px;
  --shadow-sm: 0 1px 2px rgba(15, 28, 38, 0.04), 0 8px 24px -18px rgba(15, 28, 38, 0.28);
  --shadow-md: 0 18px 50px -30px rgba(15, 28, 38, 0.45);
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
}

* { box-sizing: border-box; }

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--ink);
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.01em;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

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

/* ------------------------------------------------------------ 顶部导航 */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: 78px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -26px rgba(15, 28, 38, 0.6);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-serif);
  font-size: 21px;
  line-height: 1;
  border-radius: 2px;
  letter-spacing: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--font-serif);
  font-size: 19px;
  color: var(--ink);
  letter-spacing: 0.06em;
}
.brand-sub {
  font-size: 9.5px;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 38px;
  margin-left: auto;
}
.nav a {
  position: relative;
  font-size: 14.5px;
  color: var(--ink-2);
  letter-spacing: 0.03em;
  padding: 6px 0;
  transition: color 0.2s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.nav a[aria-current="page"] { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: var(--ink-2);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.header-phone svg { color: var(--gold); }

/* ------------------------------------------------------------ 按钮 */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 26px;
  font-size: 14.5px;
  letter-spacing: 0.06em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.28s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #24333f; transform: translateY(-1px); }
.btn-gold { background: #8a6a38; color: #fff; }
.btn-gold:hover { background: #755a2f; transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-line { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-line:hover { border-color: var(--ink); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 13.5px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.link-arrow svg { transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ------------------------------------------------------------ Hero */

.hero {
  position: relative;
  min-height: clamp(580px, 82vh, 780px);
  display: flex;
  align-items: center;
  padding: 140px 0 120px;
  background: #0b151d url("/assets/img/hero.jpg") center/cover no-repeat;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(6, 14, 20, 0.93) 0%, rgba(6, 14, 20, 0.78) 38%, rgba(6, 14, 20, 0.35) 72%, rgba(6, 14, 20, 0.18) 100%);
}
.hero-inner { position: relative; z-index: 1; max-width: 680px; }
.hero .eyebrow { color: var(--gold-soft); }
.hero h1 {
  color: #fff;
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.24;
  margin: 22px 0 26px;
  letter-spacing: 0.02em;
  font-weight: 600;
}
.hero p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 16.5px;
  line-height: 1.95;
  max-width: 540px;
  margin: 0 0 40px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

/* ------------------------------------------------------------ 数据条 */

.stats-wrap { position: relative; z-index: 2; margin-top: -62px; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-md);
}
.stat {
  padding: 34px 30px;
  border-left: 1px solid var(--line-soft);
}
.stat:first-child { border-left: 0; }
.stat-num {
  font-family: var(--font-serif);
  font-size: 36px;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.stat-num em { font-style: normal; font-size: 17px; color: var(--gold); margin-left: 4px; }
.stat-label { margin-top: 8px; font-size: 13px; color: var(--muted); letter-spacing: 0.04em; }

/* ------------------------------------------------------------ 通用区块 */

.section { padding: 110px 0; }
.section-cream { background: var(--cream-2); }
.section-tight { padding: 84px 0; }

.section-head { max-width: 720px; margin-bottom: 58px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-title {
  font-size: clamp(27px, 3.1vw, 40px);
  line-height: 1.34;
  margin-bottom: 18px;
}
.section-lead { font-size: 16px; line-height: 1.95; color: var(--body); margin: 0; }

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 58px;
}
.section-head-row .section-head { margin-bottom: 0; }

/* ------------------------------------------------------------ 服务卡片 */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service-card {
  background: #fff;
  padding: 40px 34px 34px;
  display: flex;
  flex-direction: column;
  transition: background 0.35s var(--ease), transform 0.35s var(--ease);
  position: relative;
}
.service-card:hover { background: var(--cream-2); }
.service-card::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  width: 46px;
  height: 46px;
  color: var(--gold);
  margin-bottom: 26px;
}
.service-card h3 {
  font-size: 21px;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.service-sub {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.service-card p {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--body);
  margin: 0 0 22px;
}
.service-card .link-arrow { margin-top: auto; font-size: 13.5px; }

/* ------------------------------------------------------------ 优势（图文） */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split-media { position: relative; }
.split-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
}
.split-media::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 160px;
  height: 160px;
  border: 1px solid var(--gold-soft);
  z-index: -1;
}
.feature-list { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 26px; }
.feature-item { display: grid; grid-template-columns: 34px 1fr; gap: 16px; }
.feature-num {
  font-family: var(--font-serif);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.08em;
  padding-top: 3px;
}
.feature-item h4 { font-family: var(--font-sans); font-size: 15.5px; font-weight: 600; color: var(--ink); margin: 0 0 6px; letter-spacing: 0.02em; }
.feature-item p { margin: 0; font-size: 14.5px; line-height: 1.8; color: var(--body); }

/* ------------------------------------------------------------ 流程 */

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.step { padding: 36px 30px 0 0; position: relative; }
.step::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.6s var(--ease);
}
.step:hover::before { width: 100%; }
.step-num {
  font-family: var(--font-serif);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.16em;
  margin-bottom: 16px;
}
.step h4 { font-size: 18px; margin-bottom: 10px; letter-spacing: 0.03em; }
.step p { font-size: 14px; line-height: 1.8; margin: 0; color: var(--body); }

/* ------------------------------------------------------------ 引述 */

.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.quote {
  background: #fff;
  border: 1px solid var(--line);
  padding: 36px 32px;
  position: relative;
}
.quote-mark {
  font-family: var(--font-serif);
  font-size: 46px;
  line-height: 0.6;
  color: var(--gold-soft);
  display: block;
  margin-bottom: 22px;
}
.quote p { font-size: 15px; line-height: 1.95; color: var(--ink-2); margin: 0 0 24px; }
.quote cite { font-style: normal; font-size: 13px; color: var(--muted); letter-spacing: 0.04em; }

/* ------------------------------------------------------------ CTA */

.cta {
  position: relative;
  background: var(--ink) url("/assets/img/desk.jpg") center/cover no-repeat;
  padding: 96px 0;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(8, 16, 22, 0.96) 0%, rgba(8, 16, 22, 0.9) 55%, rgba(8, 16, 22, 0.72) 100%);
}
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.cta h2 { color: #fff; font-size: clamp(26px, 3vw, 38px); line-height: 1.4; margin-bottom: 14px; }
.cta p { color: rgba(255, 255, 255, 0.7); margin: 0; font-size: 15.5px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ------------------------------------------------------------ 页脚 */

.site-footer { background: #0b151d; color: rgba(255, 255, 255, 0.62); padding: 76px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 56px;
  padding-bottom: 60px;
}
.footer-brand .brand-mark { background: rgba(255, 255, 255, 0.1); color: #fff; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: rgba(255, 255, 255, 0.45); }
.footer-about { font-size: 14px; line-height: 1.95; margin: 22px 0 0; color: rgba(255, 255, 255, 0.55); max-width: 320px; }
.footer-col h5 {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin: 4px 0 22px;
  font-weight: 500;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-col a { font-size: 14px; color: rgba(255, 255, 255, 0.68); transition: color 0.25s var(--ease); }
.footer-col a:hover { color: var(--gold-soft); }
.footer-contact li { font-size: 14px; line-height: 1.8; display: flex; gap: 10px; }
.footer-contact span { color: var(--gold-soft); flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.38);
}
.footer-bottom a:hover { color: rgba(255, 255, 255, 0.7); }

/* ------------------------------------------------------------ 内页头部 */

.page-hero {
  background: var(--cream);
  padding: 156px 0 72px;
  border-bottom: 1px solid var(--line-soft);
}
.breadcrumb { font-size: 12.5px; color: var(--muted); letter-spacing: 0.06em; margin-bottom: 24px; display: flex; gap: 8px; }
.breadcrumb a:hover { color: var(--gold); }
.page-hero h1 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.3; margin-bottom: 18px; }
.page-hero p { max-width: 640px; margin: 0; font-size: 16px; line-height: 1.95; }

/* ------------------------------------------------------------ 关于我们 */

.about-intro { display: grid; grid-template-columns: 1.25fr 1fr; gap: 84px; align-items: start; }
.about-intro p { font-size: 15.5px; line-height: 2.05; margin: 0 0 22px; }
.about-side { background: var(--cream); padding: 38px 34px; border-top: 2px solid var(--gold); }
.about-side dl { margin: 0; display: grid; gap: 20px; }
.about-side dt { font-size: 12px; letter-spacing: 0.16em; color: var(--muted); text-transform: uppercase; margin-bottom: 4px; }
.about-side dd { margin: 0; font-size: 15px; color: var(--ink); }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.value-card { border: 1px solid var(--line); padding: 38px 32px; background: #fff; }
.value-card h3 { font-size: 20px; margin-bottom: 12px; }
.value-card span { font-size: 11.5px; letter-spacing: 0.22em; color: var(--gold); display: block; margin-bottom: 18px; text-transform: uppercase; }
.value-card p { margin: 0; font-size: 14.5px; line-height: 1.9; }

.timeline { border-left: 1px solid var(--line); padding-left: 0; margin: 0; list-style: none; }
.timeline li { position: relative; padding: 0 0 40px 40px; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 8px;
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
}
.timeline .year { font-family: var(--font-serif); font-size: 17px; color: var(--ink); letter-spacing: 0.06em; display: block; margin-bottom: 6px; }
.timeline p { margin: 0; font-size: 14.5px; line-height: 1.85; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.team-card { border: 1px solid var(--line); padding: 30px 26px; background: #fff; text-align: left; }
.team-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--gold);
  margin-bottom: 20px;
}
.team-card h4 { font-family: var(--font-sans); font-size: 15.5px; margin-bottom: 4px; }
.team-role { font-size: 12.5px; color: var(--gold); letter-spacing: 0.06em; margin-bottom: 12px; }
.team-card p { margin: 0; font-size: 13.5px; line-height: 1.8; color: var(--body); }

/* ------------------------------------------------------------ 服务页 */

.service-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  padding: 62px 0;
  border-top: 1px solid var(--line);
}
.service-detail:first-of-type { border-top: 0; padding-top: 0; }
.service-detail-head .index {
  font-family: var(--font-serif);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.2em;
  margin-bottom: 16px;
  display: block;
}
.service-detail-head h2 { font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 8px; }
.service-detail-head .en { font-size: 11.5px; letter-spacing: 0.24em; color: var(--muted); text-transform: uppercase; margin-bottom: 20px; }
.service-detail-head p { font-size: 15px; line-height: 1.95; margin: 0; }
.feature-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; margin: 0 0 28px; padding: 0; list-style: none; }
.feature-cols li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-2);
  padding-left: 20px;
  position: relative;
}
.feature-cols li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 5px; height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
}
.meta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 24px; border-top: 1px solid var(--line-soft); }
.meta-row div { font-size: 13.5px; line-height: 1.75; }
.meta-row b { display: block; font-size: 11.5px; letter-spacing: 0.16em; color: var(--muted); text-transform: uppercase; font-weight: 500; margin-bottom: 6px; }

/* 常见问题 */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 40px 26px 0;
  font-size: 16px;
  color: var(--ink);
  font-family: var(--font-serif);
  position: relative;
  letter-spacing: 0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--gold);
  font-family: var(--font-sans);
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 40px 28px 0; font-size: 14.5px; line-height: 1.95; color: var(--body); }

/* ------------------------------------------------------------ 联系我们 */

.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 72px; align-items: start; }
.contact-item { display: grid; grid-template-columns: 42px 1fr; gap: 16px; padding: 26px 0; border-bottom: 1px solid var(--line-soft); }
.contact-item:first-child { padding-top: 0; }
.contact-item .ico { color: var(--gold); padding-top: 4px; }
.contact-item b { display: block; font-size: 12px; letter-spacing: 0.18em; color: var(--muted); text-transform: uppercase; font-weight: 500; margin-bottom: 6px; }
.contact-item p, .contact-item a { margin: 0; font-size: 15.5px; color: var(--ink); line-height: 1.8; }
.contact-item a:hover { color: var(--gold); }
.contact-note { margin-top: 30px; padding: 22px 24px; background: var(--cream); font-size: 13.5px; line-height: 1.9; color: var(--body); }

.form-card { background: #fff; border: 1px solid var(--line); padding: 44px 42px; box-shadow: var(--shadow-sm); }
.form-card h2 { font-size: 24px; margin-bottom: 8px; }
.form-card > p { margin: 0 0 30px; font-size: 14px; color: var(--muted); }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 8px; letter-spacing: 0.02em; }
.field label i { color: var(--gold); font-style: normal; margin-left: 2px; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fdfdfc;
  border-radius: var(--radius);
  padding: 13px 15px;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%237E8B94' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 38px;
}
.field textarea { min-height: 118px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(15, 28, 38, 0.06);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field-hint { font-size: 12.5px; color: var(--muted); margin-top: 7px; }
.field-error { font-size: 12.5px; color: var(--danger); margin-top: 7px; display: none; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--danger); }
.field.has-error .field-error { display: block; }
.file-drop {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 16px;
  font-size: 13.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.file-drop:hover { border-color: var(--gold-soft); background: var(--cream-2); }
.file-drop input { display: none; }
.file-name { color: var(--ink); font-size: 13px; }

.form-alert {
  display: none;
  padding: 13px 16px;
  font-size: 13.5px;
  margin-bottom: 20px;
  border-left: 2px solid var(--danger);
  background: #fdf3f2;
  color: #8d332c;
  line-height: 1.7;
}
.form-alert.ok { border-left-color: var(--ok); background: #f2f8f4; color: #23553c; }
.form-alert.show { display: block; }

/* 位置说明 */
.location-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.location-card { background: #fff; padding: 32px 30px; }
.location-card h4 { font-family: var(--font-sans); font-size: 15px; margin-bottom: 10px; }
.location-card p { margin: 0; font-size: 14px; line-height: 1.85; }

/* ------------------------------------------------------------ 登录 / 注册 */

.auth-page { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; }
.auth-visual {
  position: relative;
  background: var(--ink) url("/assets/img/desk.jpg") center/cover no-repeat;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
}
.auth-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(8, 16, 22, 0.92), rgba(8, 16, 22, 0.76));
}
.auth-visual > * { position: relative; z-index: 1; }
.auth-visual .brand-mark { background: rgba(255, 255, 255, 0.12); color: #fff; }
.auth-visual .brand-name { color: #fff; }
.auth-visual .brand-sub { color: rgba(255, 255, 255, 0.45); }
.auth-quote { max-width: 420px; }
.auth-quote h2 { color: #fff; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.5; margin-bottom: 18px; }
.auth-quote p { color: rgba(255, 255, 255, 0.64); font-size: 14.5px; line-height: 1.95; margin: 0; }
.auth-foot { font-size: 12.5px; color: rgba(255, 255, 255, 0.4); letter-spacing: 0.04em; }

.auth-main { display: flex; align-items: center; justify-content: center; padding: 60px 40px; background: #fff; }
.auth-box { width: 100%; max-width: 400px; }
.auth-box .back { font-size: 13px; color: var(--muted); display: inline-flex; gap: 6px; margin-bottom: 34px; }
.auth-box .back:hover { color: var(--ink); }
.auth-box h1 { font-size: 30px; margin-bottom: 10px; }
.auth-box .sub { font-size: 14px; color: var(--muted); margin: 0 0 32px; }

.tabs { display: flex; gap: 30px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.tab {
  border: 0;
  background: none;
  padding: 0 0 14px;
  font-size: 15px;
  color: var(--muted);
  cursor: pointer;
  position: relative;
  letter-spacing: 0.04em;
}
.tab::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 0; height: 1.5px; background: var(--ink); transition: width 0.3s var(--ease); }
.tab.active { color: var(--ink); }
.tab.active::after { width: 100%; }

.pwd-wrap { position: relative; }
.pwd-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: none;
  font-size: 12.5px;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
}
.pwd-toggle:hover { color: var(--ink); }

.auth-extra { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 22px; font-size: 13px; color: var(--muted); }
.checkbox { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.checkbox input { width: 15px; height: 15px; accent-color: var(--ink); }
.auth-agree { font-size: 12.5px; color: var(--muted); line-height: 1.8; margin-top: 18px; }
.auth-agree a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------ 会员中心 */

.portal-head {
  background: var(--cream);
  padding: 140px 0 48px;
  border-bottom: 1px solid var(--line-soft);
}
.portal-head-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.portal-head h1 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 10px; }
.portal-head p { margin: 0; font-size: 14.5px; color: var(--muted); }
.portal-user { display: flex; align-items: center; gap: 14px; }
.portal-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-serif); font-size: 18px;
}
.portal-user .name { font-size: 15px; color: var(--ink); }
.portal-user .meta { font-size: 12.5px; color: var(--muted); }

.card { background: #fff; border: 1px solid var(--line); }
.card-head { padding: 26px 30px; border-bottom: 1px solid var(--line-soft); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.card-head h2 { font-size: 19px; }
.card-body { padding: 8px 30px 30px; }

.record { display: grid; grid-template-columns: 118px 1fr 96px; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line-soft); align-items: start; }
.record:last-child { border-bottom: 0; }
.record-time { font-size: 13px; color: var(--muted); line-height: 1.7; }
.record-time b { display: block; color: var(--ink-2); font-weight: 500; font-size: 13.5px; }
.record-main h3 { font-family: var(--font-sans); font-size: 14.5px; margin-bottom: 6px; font-weight: 600; }
.record-main p { margin: 0; font-size: 14px; line-height: 1.8; color: var(--body); word-break: break-word; }
.record-attach { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--gold); margin-top: 8px; }
.pill {
  display: inline-block;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  white-space: nowrap;
}
.pill.new { border-color: #dfd0b6; background: #fbf6ec; color: var(--gold); }
.pill.contacted { border-color: #c9d8d0; background: #f2f8f4; color: var(--ok); }
.pill.closed { border-color: var(--line); color: var(--muted); }

.empty { text-align: center; padding: 70px 20px; }
.empty h3 { font-size: 19px; margin-bottom: 10px; }
.empty p { margin: 0 0 24px; font-size: 14.5px; color: var(--muted); }

.grid-2 { display: grid; grid-template-columns: 1.6fr 1fr; gap: 30px; align-items: start; }
.info-list { display: grid; gap: 0; margin: 0; }
.info-list div { padding: 16px 0; border-bottom: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: 20px; font-size: 14px; }
.info-list div:last-child { border-bottom: 0; }
.info-list dt { color: var(--muted); font-size: 13px; }
.info-list dd { margin: 0; color: var(--ink); }

/* ------------------------------------------------------------ 后台 */

.admin-wrap { padding: 140px 0 90px; }
.admin-bar { display: flex; gap: 12px; align-items: center; margin-bottom: 30px; flex-wrap: wrap; }
.admin-bar input {
  height: 44px; padding: 0 14px; border: 1px solid var(--line);
  border-radius: var(--radius); font-family: inherit; font-size: 14px; min-width: 220px;
}
.admin-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.admin-table th {
  text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line);
  font-weight: 500; color: var(--muted); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  white-space: nowrap;
}
.admin-table td { padding: 16px 12px; border-bottom: 1px solid var(--line-soft); vertical-align: top; color: var(--body); }
.admin-table td b { color: var(--ink); font-weight: 500; }

/* ------------------------------------------------------------ 404 */

.err-page { min-height: 76vh; display: grid; place-items: center; text-align: center; padding: 140px 20px 80px; }
.err-page h1 { font-size: 86px; color: var(--ink); line-height: 1; margin-bottom: 18px; }
.err-page p { color: var(--muted); margin: 0 0 30px; }

/* ------------------------------------------------------------ 动效 */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

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

/* ------------------------------------------------------------ 响应式 */

@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
  .footer-grid .footer-col:last-child { grid-column: 1 / -1; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .split { gap: 52px; }
  .about-intro { gap: 52px; }
  .contact-grid { gap: 48px; }
}

@media (max-width: 900px) {
  .nav, .header-phone { display: none; }
  .nav-toggle { display: inline-flex; }
  body.nav-open .nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 28px 24px;
    box-shadow: 0 24px 40px -30px rgba(15, 28, 38, 0.5);
  }
  body.nav-open .nav a { width: 100%; padding: 15px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
  body.nav-open .nav a::after { display: none; }

  .hero { min-height: auto; padding: 128px 0 110px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { border-left: 1px solid var(--line-soft); }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line-soft); }

  .service-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .split-media::after { display: none; }
  .process { grid-template-columns: 1fr 1fr; }
  .step { padding: 32px 24px 0 0; }
  .quote-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .about-intro { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 1fr; gap: 34px; }
  .contact-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .section { padding: 76px 0; }
  .section-head-row { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .container { padding: 0 20px; }
  .hero h1 { font-size: 30px; }
  .hero p { font-size: 15px; }
  .service-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .stat { padding: 24px 20px; }
  .stat-num { font-size: 28px; }
  .form-card { padding: 30px 22px; }
  .field-row { grid-template-columns: 1fr; }
  .feature-cols { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .record { grid-template-columns: 1fr; gap: 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .page-hero { padding: 128px 0 52px; }
  .auth-main { padding: 40px 22px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .admin-table { display: block; overflow-x: auto; white-space: nowrap; }
}
