/* =========================================================
   壹玖模式 yijiumoshi.com —— 高端商务风（深蓝 + 香槟金）
   ========================================================= */
:root {
  --ink: #0a1729;
  --ink-2: #0e2138;
  --ink-3: #17304f;
  --gold: #c9a55c;
  --gold-2: #e0c489;
  --paper: #f7f5f0;
  --paper-2: #ffffff;
  --text: #1d2735;
  --text-2: #5d6b7d;
  --line: rgba(10, 23, 41, 0.1);
  --radius: 4px;
  --shadow: 0 18px 50px rgba(10, 23, 41, 0.12);
  --header-h: 78px;
  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", Georgia, "Times New Roman", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "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(--sans);
  color: var(--text);
  background: var(--paper);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea { font-family: inherit; font-size: inherit; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- 排版 ---------- */
.eyebrow {
  font-size: 13px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 14px;
}
.sec-title {
  font-family: var(--serif);
  font-size: 40px; line-height: 1.3; font-weight: 700;
  color: var(--ink); letter-spacing: 1px;
}
.sec-title .gold { color: var(--gold); }
.sec-desc { color: var(--text-2); margin-top: 16px; max-width: 640px; }
.sec-head { margin-bottom: 54px; }
.sec-head.center { text-align: center; }
.sec-head.center .sec-desc { margin-left: auto; margin-right: auto; }
.sec-head.light .sec-title { color: #fff; }
.sec-head.light .sec-desc { color: rgba(255, 255, 255, 0.7); }

section { padding: 96px 0; }
.section-dark { background: var(--ink); }
.section-dark .sec-desc { color: rgba(255, 255, 255, 0.7); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 34px; border: 1px solid transparent; border-radius: 2px;
  font-size: 15px; font-weight: 600; letter-spacing: 1px; cursor: pointer;
  transition: all 0.3s ease; white-space: nowrap;
}
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #17212e; }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(201, 165, 92, 0.4); }
.btn-line { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.btn-line:hover { background: rgba(255, 255, 255, 0.12); }
.btn-line-dark { border-color: rgba(10, 23, 41, 0.25); color: var(--ink); }
.btn-line-dark:hover { background: var(--ink); color: #fff; }
.btn-block { width: 100%; }

/* ---------- 头部 ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(10, 23, 41, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease, height 0.3s ease;
}
.header.scrolled { background: rgba(10, 23, 41, 0.98); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 42px; height: 42px; border: 1px solid var(--gold); border-radius: 2px;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 19px; color: var(--gold); font-weight: 700;
}
.logo-text { color: #fff; font-family: var(--serif); font-size: 21px; font-weight: 700; letter-spacing: 3px; }
.logo-sub { display: block; font-family: var(--sans); font-size: 10px; letter-spacing: 2px; color: var(--gold); opacity: 0.85; font-weight: 400; }

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

.nav-toggle {
  display: none; width: 44px; height: 44px; background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 2px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: #fff; transition: 0.3s; }
.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 {
  position: relative; min-height: 100vh; padding: 0;
  display: flex; align-items: center;
  background: var(--ink); color: #fff; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8, 18, 33, 0.94) 0%, rgba(10, 23, 41, 0.75) 45%, rgba(10, 23, 41, 0.35) 100%);
}
.hero .container { position: relative; z-index: 2; padding-top: var(--header-h); }
.hero-inner { max-width: 760px; }
.hero h1 {
  font-family: var(--serif); font-size: 60px; line-height: 1.25; font-weight: 700;
  letter-spacing: 2px; margin: 18px 0 22px;
}
.hero h1 .gold { color: var(--gold-2); }
.hero p.lead { font-size: 18px; color: rgba(255, 255, 255, 0.78); max-width: 620px; }
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 42px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin-top: 70px; border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 30px;
}
.hero-stats div { padding-right: 20px; }
.hero-stats strong {
  display: block; font-family: var(--serif); font-size: 34px; color: var(--gold-2); line-height: 1.2;
}
.hero-stats span { font-size: 13px; color: rgba(255, 255, 255, 0.6); letter-spacing: 1px; }

/* 内页首屏 */
.page-hero {
  position: relative; padding: calc(var(--header-h) + 90px) 0 90px;
  background: var(--ink); color: #fff; overflow: hidden;
}
.page-hero img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.32;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8, 18, 33, 0.95), rgba(10, 23, 41, 0.6));
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-family: var(--serif); font-size: 44px; letter-spacing: 2px; margin-bottom: 16px; }
.page-hero p { color: rgba(255, 255, 255, 0.72); max-width: 700px; }
.crumb { font-size: 13px; color: rgba(255, 255, 255, 0.5); margin-bottom: 16px; letter-spacing: 1px; }
.crumb a:hover { color: var(--gold-2); }

/* ---------- 优势 ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 46px; align-items: center; }

.adv-card {
  background: var(--paper-2); padding: 40px 32px; border: 1px solid var(--line);
  border-radius: var(--radius); transition: all 0.35s ease; position: relative;
}
.adv-card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 0; height: 2px;
  background: var(--gold); transition: width 0.4s ease;
}
.adv-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.adv-card:hover::before { width: 100%; }
.adv-num {
  font-family: var(--serif); font-size: 30px; color: var(--gold);
  margin-bottom: 16px; letter-spacing: 1px;
}
.adv-card h3 { font-size: 20px; margin-bottom: 12px; color: var(--ink); font-weight: 700; }
.adv-card p { color: var(--text-2); font-size: 15px; }

/* ---------- 服务卡片 ---------- */
.svc-card {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all 0.35s ease; display: flex; flex-direction: column;
}
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.svc-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.svc-card:hover .svc-media img { transform: scale(1.06); }
.svc-body { padding: 30px 28px 34px; flex: 1; display: flex; flex-direction: column; }
.svc-body h3 { font-size: 20px; color: var(--ink); margin-bottom: 12px; font-weight: 700; }
.svc-body p { color: var(--text-2); font-size: 15px; flex: 1; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.svc-tags span {
  font-size: 12px; color: var(--ink-3); border: 1px solid var(--line);
  padding: 4px 12px; border-radius: 20px;
}
.svc-link { margin-top: 22px; color: var(--ink); font-weight: 600; font-size: 14px; letter-spacing: 1px; }
.svc-link::after { content: " →"; color: var(--gold); }

/* 服务清单（无图） */
.svc-list li {
  display: flex; gap: 18px; padding: 26px 0; border-bottom: 1px dashed var(--line);
}
.svc-list .idx { font-family: var(--serif); color: var(--gold); font-size: 18px; min-width: 42px; }
.svc-list h4 { font-size: 17px; color: var(--ink); margin-bottom: 6px; }
.svc-list p { color: var(--text-2); font-size: 15px; }

/* ---------- 数据条 ---------- */
.stats-bar { background: var(--ink-2); color: #fff; padding: 62px 0; }
.stats-bar .grid-4 { text-align: center; gap: 20px; }
.stats-bar strong { display: block; font-family: var(--serif); font-size: 44px; color: var(--gold-2); line-height: 1.2; }
.stats-bar span { font-size: 14px; color: rgba(255, 255, 255, 0.62); letter-spacing: 2px; }

/* ---------- 关于 ---------- */
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.about-media .badge {
  position: absolute; right: -18px; bottom: -18px; background: var(--ink); color: #fff;
  padding: 22px 26px; border-radius: var(--radius); text-align: center;
  border: 1px solid rgba(201, 165, 92, 0.5);
}
.about-media .badge strong { display: block; font-family: var(--serif); font-size: 30px; color: var(--gold-2); }
.about-media .badge span { font-size: 12px; color: rgba(255, 255, 255, 0.7); letter-spacing: 1px; }
.about-text h2 { font-family: var(--serif); font-size: 36px; color: var(--ink); line-height: 1.35; margin-bottom: 20px; }
.about-text p { color: var(--text-2); margin-bottom: 16px; }
.about-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 26px; }
.about-points li { display: flex; gap: 10px; font-size: 15px; color: var(--text); }
.about-points li::before { content: ""; width: 6px; height: 6px; margin-top: 10px; background: var(--gold); flex: none; }

/* 时间轴 */
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.timeline li { position: relative; padding-bottom: 34px; }
.timeline li::before {
  content: ""; position: absolute; left: -28px; top: 8px; width: 11px; height: 11px;
  border-radius: 50%; background: var(--paper); border: 2px solid var(--gold);
}
.timeline .year { font-family: var(--serif); color: var(--gold); font-size: 18px; font-weight: 700; }
.timeline h4 { font-size: 17px; margin: 6px 0; color: var(--ink); }
.timeline p { color: var(--text-2); font-size: 15px; }

/* ---------- 团队 ---------- */
.team-card { background: var(--paper-2); border: 1px solid var(--line); padding: 34px 28px; border-radius: var(--radius); }
.team-card .avatar {
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--serif); font-size: 20px; color: #fff;
  background: linear-gradient(135deg, var(--ink-3), var(--ink)); margin-bottom: 18px;
}
.team-card h4 { font-size: 18px; color: var(--ink); }
.team-card .role { font-size: 13px; color: var(--gold); letter-spacing: 1px; margin: 4px 0 12px; }
.team-card p { font-size: 15px; color: var(--text-2); }

/* ---------- 流程 ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step {
  counter-increment: step; background: var(--paper-2); border: 1px solid var(--line);
  padding: 34px 26px; border-radius: var(--radius); position: relative;
}
.step::before {
  content: "0" counter(step); font-family: var(--serif); font-size: 26px;
  color: var(--gold); display: block; margin-bottom: 14px;
}
.step h4 { font-size: 18px; color: var(--ink); margin-bottom: 10px; }
.step p { font-size: 15px; color: var(--text-2); }

/* ---------- CTA ---------- */
.cta { background: var(--ink-2); color: #fff; text-align: center; }
.cta h2 { font-family: var(--serif); font-size: 38px; margin-bottom: 18px; letter-spacing: 2px; }
.cta p { color: rgba(255, 255, 255, 0.72); margin-bottom: 34px; }
.cta .btn-row { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }

/* ---------- 联系 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 50px; align-items: start; }
.info-card {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; margin-bottom: 20px;
}
.info-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.info-item:last-child { border-bottom: 0; padding-bottom: 0; }
.info-item:first-child { padding-top: 0; }
.info-ico {
  width: 40px; height: 40px; flex: none; border-radius: 2px; display: grid; place-items: center;
  background: rgba(201, 165, 92, 0.12); color: var(--gold); font-size: 16px; font-weight: 700;
}
.info-item h4 { font-size: 14px; color: var(--text-2); font-weight: 500; letter-spacing: 1px; }
.info-item p { font-size: 17px; color: var(--ink); font-weight: 600; }
.info-item small { color: var(--text-2); font-size: 13px; }

.form-card {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px 36px; box-shadow: var(--shadow);
}
.form-card h3 { font-family: var(--serif); font-size: 24px; color: var(--ink); margin-bottom: 8px; }
.form-card .hint { color: var(--text-2); font-size: 14px; margin-bottom: 26px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; color: var(--text-2); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 2px;
  background: #fbfaf7; color: var(--text); transition: border-color 0.25s ease, background 0.25s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); background: #fff;
}
.field textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-note { font-size: 13px; color: var(--text-2); margin-top: 14px; }
.map-box {
  margin-top: 20px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(135deg, #eef1f5, #e3e8ee);
  min-height: 220px; display: grid; place-items: center; text-align: center; padding: 30px;
}
.map-box strong { font-family: var(--serif); font-size: 20px; color: var(--ink); display: block; }
.map-box span { color: var(--text-2); font-size: 14px; }

/* ---------- 页脚 ---------- */
.footer { background: #071223; color: rgba(255, 255, 255, 0.66); padding: 70px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 20px; letter-spacing: 1px; }
.footer h4::after { content: ""; display: block; width: 28px; height: 2px; background: var(--gold); margin-top: 10px; }
.footer .logo { margin-bottom: 18px; }
.footer p { line-height: 1.9; }
.footer li { margin-bottom: 10px; }
.footer li a:hover { color: var(--gold-2); }
.footer-company { color: rgba(255, 255, 255, 0.85); font-weight: 600; margin-bottom: 8px; }
.footer-bottom {
  margin-top: 56px; border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0; display: flex; flex-wrap: wrap; gap: 10px 26px;
  justify-content: space-between; font-size: 13px; color: rgba(255, 255, 255, 0.55);
}
.footer-bottom a:hover { color: var(--gold-2); }

/* ---------- 回到顶部 ---------- */
.to-top {
  position: fixed; right: 24px; bottom: 26px; width: 46px; height: 46px;
  border-radius: 2px; border: 1px solid rgba(201, 165, 92, 0.6);
  background: var(--ink); color: var(--gold-2); cursor: pointer;
  display: grid; place-items: center; font-size: 18px;
  opacity: 0; visibility: hidden; transition: all 0.3s ease; z-index: 900;
}
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--gold); color: var(--ink); }

/* ---------- 动效 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* =========================================================
   响应式
   ========================================================= */
@media (max-width: 1080px) {
  .nav { gap: 24px; }
  .header-tel { display: none; }
  .hero h1 { font-size: 48px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  :root { --header-h: 66px; }
  section { padding: 68px 0; }
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: rgba(10, 23, 41, 0.99); flex-direction: column; gap: 0;
    padding: 10px 24px 26px; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(-140%); transition: transform 0.35s ease; z-index: 998;
  }
  .nav.open { transform: translateY(0); }
  .nav a { width: 100%; padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-size: 16px; }
  .nav a::after { display: none; }
  .header-cta .btn { display: none; }

  .hero { min-height: auto; padding: calc(var(--header-h) + 70px) 0 70px; }
  .hero h1 { font-size: 36px; letter-spacing: 1px; }
  .hero p.lead { font-size: 16px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px 0; margin-top: 46px; }
  .hero-stats strong { font-size: 28px; }

  .sec-title { font-size: 30px; }
  .page-hero { padding: calc(var(--header-h) + 56px) 0 56px; }
  .page-hero h1 { font-size: 30px; }
  .grid-3, .grid-2, .contact-grid { grid-template-columns: 1fr; }
  .grid-2 { gap: 34px; }
  .about-text h2 { font-size: 28px; }
  .about-media .badge { right: 12px; bottom: -14px; padding: 16px 20px; }
  .stats-bar strong { font-size: 34px; }
  .cta h2 { font-size: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 30px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer { padding-top: 50px; }
  .to-top { right: 14px; bottom: 16px; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .hero h1 { font-size: 30px; }
  .grid-4, .steps, .about-points { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .sec-title { font-size: 26px; }
  .logo-text { font-size: 18px; letter-spacing: 2px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
