/* =========================================================
   一絮造梦 · 企业官网 — 共享样式
   设计语言：简约大气 / 纸感米白 + 墨色 + 梦境渐变
   ========================================================= */

:root {
  /* 色彩 */
  --paper: #f7f4ef;
  --paper-2: #fdfbf8;
  --ink: #16161a;
  --ink-soft: #4a4a52;
  --ink-faint: #8a8a92;
  --line: #e6e0d6;
  --line-strong: #d6cdbc;

  /* 梦境渐变（品牌强调） */
  --dream-1: #6c5ce7;
  --dream-2: #b07ce8;
  --dream-3: #e59a9a;
  --dream-grad: linear-gradient(120deg, #6c5ce7 0%, #b07ce8 48%, #e59a9a 100%);
  --dream-grad-soft: linear-gradient(120deg, rgba(108,92,231,.12), rgba(229,154,154,.12));

  /* 尺度 */
  --maxw: 1200px;
  --radius: 16px;
  --radius-sm: 10px;
  --gap: clamp(64px, 9vw, 128px);

  /* 字体 */
  --serif: "Noto Serif SC", "Songti SC", "STSong", Georgia, serif;
  --sans: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.2; letter-spacing: .01em; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-size: 13px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 500;
  margin-bottom: 18px;
}
.eyebrow .dot { color: var(--dream-1); }

.grad-text {
  background: var(--dream-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(22,22,26,.5); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-dream { background: var(--dream-grad); color: #fff; }
.btn-dream:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(108,92,231,.6); }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(247,244,239,.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-weight: 600; font-size: 20px; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 10px;
  flex: none; display: block; overflow: hidden;
  box-shadow: 0 8px 18px -8px rgba(108,92,231,.6);
}
.brand .mark img { width: 100%; height: 100%; display: block; border-radius: 10px; }
.brand small { font-family: var(--sans); font-weight: 400; font-size: 12px; color: var(--ink-faint); letter-spacing: .12em; }

.nav-links { display: flex; align-items: center; gap: 38px; }
.nav-links a { font-size: 15px; color: var(--ink-soft); position: relative; padding: 6px 0; transition: color .2s ease; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--dream-grad); transition: width .25s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }

/* ---------- 通用区块 ---------- */
.section { padding: var(--gap) 0; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); }
.section-head p { margin-top: 18px; color: var(--ink-soft); font-size: 17px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* 装饰光斑 */
.blob {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5;
  pointer-events: none; z-index: 0;
}
.blob.a { width: 420px; height: 420px; background: radial-gradient(circle, #b07ce8, transparent 70%); top: -120px; right: -80px; }
.blob.b { width: 360px; height: 360px; background: radial-gradient(circle, #e59a9a, transparent 70%); bottom: -120px; left: -60px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--ink); color: #cfcad6; padding: 72px 0 36px; margin-top: var(--gap); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: #8d8896; }
.footer-about { color: #a7a2ae; font-size: 15px; margin-top: 18px; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 18px; font-family: var(--sans); font-weight: 600; }
.footer-col a { display: block; color: #a7a2ae; font-size: 15px; padding: 7px 0; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1);
  color: #8d8896; font-size: 13px;
}

/* ---------- 卡片 ---------- */
.card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -28px rgba(22,22,26,.3); border-color: var(--line-strong); }
.card .ico {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 22px;
  background: var(--dream-grad-soft); color: var(--dream-1);
  font-size: 24px;
}
.card h3 { font-size: 20px; margin-bottom: 12px; }
.card p { color: var(--ink-soft); font-size: 15px; }

/* 网格 */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* 统计 */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 28px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2); }
.stat .num { font-family: var(--serif); font-size: clamp(30px, 4vw, 44px); font-weight: 600; }
.stat .label { color: var(--ink-faint); font-size: 14px; margin-top: 6px; }

/* 流程步骤 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 56px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 0; left: 0; font-family: var(--serif);
  font-size: 38px; font-weight: 600; color: transparent;
  background: var(--dream-grad); -webkit-background-clip: text; background-clip: text;
}
.step h3 { font-size: 19px; margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-size: 15px; }

/* 列表式带勾 */
.feat-list { list-style: none; display: grid; gap: 14px; }
.feat-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); font-size: 16px; }
.feat-list .tick {
  flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: 3px;
  background: var(--dream-grad); color: #fff; display: grid; place-items: center; font-size: 12px;
}

/* 联系表单 */
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 14px; color: var(--ink-soft); margin-bottom: 8px; font-weight: 500; }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--sans); font-size: 15px; color: var(--ink);
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px 15px; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--dream-2); box-shadow: 0 0 0 3px rgba(176,124,232,.15);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 13px; color: var(--ink-faint); margin-top: 6px; }
.form-ok { display: none; padding: 14px 18px; border-radius: var(--radius-sm); background: #eaf6ec; color: #2f7d3f; font-size: 14px; margin-top: 14px; }
.form-ok.show { display: block; }

/* 信息块 */
.info-block { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.info-block:last-child { border-bottom: 0; }
.info-block .ico { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--dream-grad-soft); color: var(--dream-1); display: grid; place-items: center; font-size: 20px; }
.info-block h4 { font-family: var(--sans); font-size: 15px; color: var(--ink-faint); font-weight: 500; margin-bottom: 4px; }
.info-block p { font-size: 16px; }

/* 地图占位 */
.map-frame {
  height: 280px; border-radius: var(--radius); border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(108,92,231,.06), rgba(229,154,154,.06)),
    repeating-linear-gradient(0deg, var(--line) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 32px),
    var(--paper-2);
  display: grid; place-items: center; color: var(--ink-faint); font-size: 14px; position: relative; overflow: hidden;
}
.map-frame .pin { position: absolute; font-size: 30px; }

/* 面包屑 */
.crumb { padding-top: 120px; font-size: 14px; color: var(--ink-faint); }
.crumb a:hover { color: var(--ink); }

/* 时间线 */
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 36px 0; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -28px; top: 6px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--dream-1);
}
.tl-item .yr { font-family: var(--serif); font-weight: 600; font-size: 18px; }
.tl-item h3 { font-size: 18px; margin: 4px 0 6px; }
.tl-item p { color: var(--ink-soft); font-size: 15px; }

/* 引用 */
.quote { font-family: var(--serif); font-size: clamp(22px, 3vw, 32px); line-height: 1.5; max-width: 820px; }
.quote .by { font-family: var(--sans); font-size: 15px; color: var(--ink-faint); margin-top: 22px; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 76px; left: 0; right: 0;
    background: var(--paper-2); border-bottom: 1px solid var(--line);
    padding: 12px 24px 24px;
  }
  .nav-links.open a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .stats, .steps { grid-template-columns: 1fr; }
}
