/* 原能矩阵 · 老回忆 — 全站样式 */
:root {
  --ink: #2b2118;
  --ink-soft: #5c5044;
  --paper: #faf6f0;
  --paper-deep: #f1e9dd;
  --amber: #c8873a;
  --amber-deep: #a06423;
  --teal: #3f6f6a;
  --card: #ffffff;
  --shadow: 0 6px 24px rgba(43, 33, 24, .08);
  --radius: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  font-size: 17px;
}

h1, h2, h3 { font-family: "Songti SC", "Noto Serif SC", "SimSun", serif; line-height: 1.35; }

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

a { color: var(--amber-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 240, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(43, 33, 24, .08);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--ink); }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--amber), var(--teal));
  color: #fff; display: grid; place-items: center;
  font-family: serif; font-size: 18px;
}
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { color: var(--ink-soft); font-size: 15.5px; }
.nav-links a:hover { color: var(--amber-deep); text-decoration: none; }
.nav-links a.active { color: var(--amber-deep); font-weight: 600; }

/* ---------- Hero ---------- */
.hero {
  padding: 88px 0 72px;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(200, 135, 58, .14), transparent 60%),
    radial-gradient(900px 420px at 10% 110%, rgba(63, 111, 106, .12), transparent 60%);
  text-align: left;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.hero-content { max-width: 620px; }
.hero-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(43, 33, 24, .18);
}
.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.hero-eyebrow {
  display: inline-block; font-size: 14px; letter-spacing: 4px;
  color: var(--teal); border: 1px solid rgba(63, 111, 106, .35);
  padding: 6px 18px; border-radius: 999px; margin-bottom: 28px;
}
.hero h1 { font-size: clamp(34px, 6vw, 58px); letter-spacing: 2px; }
.hero h1 em { font-style: normal; color: var(--amber-deep); }
.hero-sub { margin: 22px auto 0; max-width: 620px; color: var(--ink-soft); font-size: clamp(16px, 2.4vw, 20px); }
.hero-actions { margin-top: 40px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 13px 32px; border-radius: 999px;
  font-size: 16px; font-weight: 600; cursor: pointer; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--amber); color: #fff; box-shadow: 0 8px 20px rgba(200, 135, 58, .35); }
.btn-primary:hover { background: var(--amber-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(43, 33, 24, .25); }
.btn-ghost:hover { border-color: var(--amber-deep); color: var(--amber-deep); }

/* ---------- 通用区块 ---------- */
.section { padding: 80px 0; }
.section.alt { background: var(--paper-deep); }
.section-head { text-align: center; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(26px, 4vw, 36px); letter-spacing: 2px; }
.section-head p { color: var(--ink-soft); margin-top: 12px; }

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

.card {
  background: var(--card); border-radius: var(--radius);
  padding: 34px 30px; box-shadow: var(--shadow);
  border: 1px solid rgba(43, 33, 24, .05);
  transition: transform .2s ease;
}
.card:hover { transform: translateY(-4px); }
.card-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center;
  color: var(--amber-deep);
  background: rgba(200, 135, 58, .12); margin-bottom: 20px;
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 15.5px; }

/* 流程步骤 */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 76px; }
.step + .step { margin-top: 36px; }
.step-num {
  position: absolute; left: 0; top: 0;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--teal); color: #fff;
  display: grid; place-items: center;
  font-family: serif; font-size: 24px;
}
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { color: var(--ink-soft); font-size: 15.5px; }

/* 引用 */
.quote {
  max-width: 720px; margin: 0 auto; text-align: center;
  padding: 0 24px;
}
.quote blockquote {
  font-family: "Songti SC", "Noto Serif SC", serif;
  font-size: clamp(20px, 3.4vw, 28px); line-height: 1.7;
  color: var(--ink);
}
.quote cite { display: block; margin-top: 18px; color: var(--ink-soft); font-style: normal; font-size: 15px; }

/* 古典引用 */
.quote-classic .seal {
  display: inline-block; width: 46px; height: 46px; line-height: 46px;
  background: var(--amber-deep); color: var(--paper);
  border-radius: 6px; font-family: "Songti SC", "Noto Serif SC", serif;
  font-size: 24px; text-align: center; letter-spacing: 0;
  transform: rotate(-8deg); box-shadow: 0 3px 10px rgba(160, 100, 35, .35);
  margin-bottom: 22px;
}
.quote-classic blockquote {
  font-size: clamp(28px, 4.6vw, 42px);
  font-weight: 600; color: var(--amber-deep);
  line-height: 1.5; letter-spacing: 3px;
}
.quote-note { margin-top: 16px; color: var(--ink-soft); font-size: 16px; }

/* 关于页图片 */
.about-photo img {
  width: 100%; height: auto; max-height: 380px;
  object-fit: cover; border-radius: 12px; margin-bottom: 16px;
}
.about-caption { text-align: center; color: var(--ink-soft); }

/* 联系 */
.contact-list { list-style: none; display: grid; gap: 18px; max-width: 560px; margin: 0 auto; }
.contact-list li {
  background: var(--card); border-radius: var(--radius);
  padding: 20px 26px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 16px;
}
.contact-list .ci { color: var(--amber-deep); display: grid; place-items: center; }
.contact-list .ci svg { width: 24px; height: 24px; }

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--ink); color: rgba(250, 246, 240, .75);
  padding: 44px 0; text-align: center; font-size: 14.5px;
}
.site-footer .brand { color: #fff; justify-content: center; margin-bottom: 14px; }
.site-footer a { color: rgba(250, 246, 240, .9); }

/* ---------- 移动端 ---------- */
@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 14px; }
  .hero { padding: 64px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-image { max-width: 70%; margin: 0 auto; }
  .section { padding: 56px 0; }
}
@media (max-width: 560px) {
  .nav { height: auto; flex-direction: column; gap: 10px; padding: 12px 0; }
  .nav-links { flex-wrap: wrap; justify-content: center; gap: 12px 20px; }
  body { font-size: 16px; }
  .contact-list li { flex-direction: column; text-align: center; }
}
