/* ============================================================
   精兵管家 · 官网
   设计语言「铁军·家暖」：军橄榄绿 × 纸感米白 × 军星红 × 金穗黄
   首屏深绿军旅气势，正文纸感卷宗叙事——区别于常见模板的深色满屏
   ============================================================ */

:root {
  --olive-900: #161e14;
  --olive-800: #1b241a;
  --olive-700: #232f1f;
  --olive-600: #2e3b28;
  --olive-500: #3a4a30;
  --khaki: #5a6b4a;
  --red: #c7202c;
  --red-deep: #a31622;
  --gold: #c9a052;
  --gold-bright: #e0bc72;
  --paper: #f5f2e9;
  --paper-2: #ede9db;
  --ink: #232a1e;
  --ink-soft: #5b6353;
  --line: rgba(201, 160, 82, 0.28);
  --line-dark: rgba(224, 188, 114, 0.18);
  --serif: "Noto Serif SC", "Source Han Serif SC", "STZhongsong", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 18px 50px rgba(22, 30, 20, 0.16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* 键盘焦点可见性 */
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px dashed var(--gold-bright); outline-offset: 3px;
}

/* 锚点跳转不被固定导航遮挡 */
section[id] { scroll-margin-top: 74px; }

/* 阅读进度条 */
.scroll-progress {
  position: fixed; left: 0; top: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--red), var(--gold-bright));
  z-index: 1600; pointer-events: none;
  transition: width 0.08s linear;
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  touch-action: pan-x pan-y;         /* 只允许平移滚动，禁止双击/捏合缩放 */
  -webkit-text-size-adjust: 100%;     /* 防止 iOS 横竖屏切换后文字自动放大 */
  -ms-text-size-adjust: 100%;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
::selection { background: var(--red); color: #fff; }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--olive-900); }
::-webkit-scrollbar-thumb { background: var(--olive-500); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ---------- 加载页 · 军营开门 ---------- */
.loader {
  position: fixed; inset: 0; z-index: 3000;
  display: flex; align-items: center; justify-content: center;
}
.loader-half {
  position: absolute; top: 0; bottom: 0; width: 50.5%;
  background: radial-gradient(1200px 700px at 50% 30%, var(--olive-700), var(--olive-900) 72%);
}
.loader-half.l { left: 0; }
.loader-half.r { right: 0; }
.loader.done { pointer-events: none; }
.loader.done .loader-half.l { transform: translateX(-101%); }
.loader.done .loader-half.r { transform: translateX(101%); }
.loader.done .loader-frame { opacity: 0; transform: scale(0.94); }
.loader-half { transition: transform 0.85s var(--ease); }
.loader-frame {
  position: relative; z-index: 2; text-align: center; width: min(420px, 82vw);
  transition: opacity 0.45s ease, transform 0.45s var(--ease);
}
.loader-stars { display: flex; justify-content: center; gap: 18px; font-size: 18px; color: var(--red); }
.loader-stars i {
  font-style: normal; opacity: 0.18; text-shadow: 0 0 18px rgba(199, 32, 44, 0.55);
  animation: starRoll 1.5s ease-in-out infinite;
}
.loader-stars i:nth-child(2) { animation-delay: 0.25s; font-size: 24px; }
.loader-stars i:nth-child(3) { animation-delay: 0.5s; }
@keyframes starRoll {
  0%, 100% { opacity: 0.18; transform: scale(0.9); }
  30% { opacity: 1; transform: scale(1.15); }
}
.loader-name {
  margin-top: 16px;
  font-family: var(--serif); font-size: 34px; letter-spacing: 0.28em;
  color: var(--paper); text-indent: 0.28em;
}
.loader-name span {
  display: block; margin-top: 6px;
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.5em;
  color: var(--gold-bright); opacity: 0.75; text-indent: 0.5em;
}
.loader-tip {
  margin-top: 22px; min-height: 24px;
  font-size: 13px; letter-spacing: 0.24em;
  color: rgba(245, 242, 233, 0.7);
}
.loader-tip.typed::after { content: "▍"; color: var(--gold-bright); animation: blink 0.9s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- 章节导航轨 ---------- */
.rail {
  position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 1100;
  display: flex; flex-direction: column; gap: 14px;
}
.rail a { position: relative; display: flex; align-items: center; justify-content: flex-end; padding: 2px; }
.rail a span {
  position: absolute; right: 22px; top: 50%; transform: translateY(-50%) translateX(6px);
  font-size: 11px; letter-spacing: 0.2em; color: var(--olive-700);
  background: var(--paper); border: 1px solid var(--line);
  padding: 2px 8px; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s, transform 0.25s var(--ease);
}
.rail a i {
  width: 8px; height: 8px; border-radius: 50%;
  border: 1px solid var(--gold); background: transparent;
  transition: all 0.3s var(--ease);
}
.rail a:hover span { opacity: 1; transform: translateY(-50%) translateX(0); }
.rail a.active i { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 4px rgba(199, 32, 44, 0.15); }
@media (max-width: 1200px) { .rail { display: none; } }

/* ---------- 返回顶部 · 军牌方块 ---------- */
.totop {
  position: fixed; right: 22px; bottom: 24px; z-index: 1200;
  width: 56px; height: 56px; border: 0; cursor: pointer;
  background: var(--olive-800); color: var(--paper);
  border: 1px solid rgba(201, 160, 82, 0.55);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity 0.4s, visibility 0.4s, transform 0.4s var(--ease), background 0.3s, color 0.3s;
}
.totop span { font-size: 17px; font-weight: 700; line-height: 1; }
.totop em { font-style: normal; font-size: 10px; letter-spacing: 0.3em; text-indent: 0.3em; color: var(--gold-bright); }
.totop.show { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--red); border-color: var(--red); }
.totop:hover em { color: #fff; }

/* ---------- 导航 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 44px;
  transition: padding 0.4s var(--ease), background 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 9px 44px;
  background: rgba(22, 30, 20, 0.9);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-dark);
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand img { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; box-shadow: 0 0 0 1px var(--line); }
.nav-brand .t1 {
  font-family: var(--serif); font-size: 21px; letter-spacing: 0.22em; color: var(--paper); line-height: 1.2;
}
.nav-brand .t2 { font-size: 10.5px; letter-spacing: 0.18em; color: var(--gold-bright); opacity: 0.85; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  position: relative; font-size: 14.5px; letter-spacing: 0.12em;
  color: rgba(245, 242, 233, 0.85); padding: 6px 0;
  transition: color 0.3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 2px;
  background: var(--red); transition: width 0.35s var(--ease), left 0.35s var(--ease);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; left: 0; }
.nav-links a.active { color: var(--gold-bright); }
.nav-links a.active::after { width: 100%; left: 0; background: var(--gold); }
.nav-links .nav-cta {
  background: var(--red); color: #fff; border: 1px solid var(--red);
  padding: 9px 20px; margin-left: 6px;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: all 0.3s;
}
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover { background: var(--red-deep); border-color: var(--red-deep); color: var(--gold-bright); }
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: transparent; border: 0; cursor: pointer; padding: 8px;
}
.nav-burger span { width: 24px; height: 2px; background: var(--paper); transition: all 0.3s var(--ease); }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden; color: var(--paper);
  background: var(--olive-900);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.5;
  animation: heroDrift 26s ease-in-out infinite alternate;
  filter: saturate(0.92);
}
@keyframes heroDrift {
  from { transform: scale(1.02) translateX(0); }
  to { transform: scale(1.1) translateX(-1.6%); }
}
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(22, 30, 20, 0.78) 0%, rgba(22, 30, 20, 0.35) 42%, rgba(22, 30, 20, 0.88) 100%),
    radial-gradient(900px 480px at 18% 62%, rgba(199, 32, 44, 0.14), transparent 60%);
}
.hero-fx { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-inner { position: relative; z-index: 2; width: min(1200px, 92vw); margin: 0 auto; padding: 130px 0 40px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: 0.22em; color: var(--gold-bright);
  border: 1px solid var(--line-dark); padding: 8px 18px;
  background: rgba(22, 30, 20, 0.4);
}
.hero-kicker .star { color: var(--red); font-style: normal; }
.hero h1 {
  margin-top: 30px;
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(44px, 8.4vw, 104px);
  line-height: 1.18; letter-spacing: 0.06em;
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.45);
}
.hero h1 .line.indent { margin-left: clamp(28px, 7vw, 150px); }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > * { display: inline-block; }
.hero h1 .em { color: var(--gold-bright); position: relative; }
.hero h1 .em::after {
  content: ""; position: absolute; left: 2%; right: 2%; bottom: 6px; height: 10px;
  background: rgba(199, 32, 44, 0.4); z-index: -1;
}
.hero-sub {
  margin-top: 26px; font-size: clamp(15px, 1.6vw, 19px);
  color: rgba(245, 242, 233, 0.88); letter-spacing: 0.08em;
}
.hero-cta { margin-top: 40px; display: flex; gap: 18px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 34px; font-size: 15.5px; letter-spacing: 0.16em;
  cursor: pointer; border: 0;
  clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s, color 0.3s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 12px 32px rgba(199, 32, 44, 0.35); }
.btn-primary:hover { background: var(--red-deep); }
.btn-ghost {
  background: rgba(245, 242, 233, 0.08); color: var(--paper);
  border: 1px solid rgba(245, 242, 233, 0.35); backdrop-filter: blur(4px);
}
.btn-ghost:hover { border-color: var(--gold-bright); color: var(--gold-bright); }
.hero-badges { margin-top: 44px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-badges span {
  font-family: var(--serif); font-size: 14px; letter-spacing: 0.3em; text-indent: 0.3em;
  color: var(--gold-bright); padding: 7px 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(201, 160, 82, 0.1), rgba(201, 160, 82, 0.02));
}
.hero-strip {
  position: relative; z-index: 2;
  border-top: 1px solid var(--line-dark);
  background: rgba(22, 30, 20, 0.55); backdrop-filter: blur(10px);
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.strip-item {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 20px 10px; text-align: center;
  border: 0; border-right: 1px solid var(--line-dark);
  background: transparent; color: inherit; cursor: pointer; font-family: inherit;
  transition: background 0.3s;
}
.strip-item:hover { background: rgba(199, 32, 44, 0.22); }
.strip-item:hover b { color: var(--gold-bright); }
.strip-item:last-child { border-right: 0; }
.strip-item b { font-family: var(--serif); font-size: 17px; letter-spacing: 0.2em; color: var(--paper); }
.strip-item span { font-size: 12px; letter-spacing: 0.14em; color: rgba(245, 242, 233, 0.6); }

/* ---------- 通用 Section ---------- */
.section { position: relative; padding: 110px 0; }
.section.paper {
  background:
    linear-gradient(180deg, rgba(201, 160, 82, 0.05), transparent 240px),
    var(--paper);
}
.section.olive {
  background:
    radial-gradient(1100px 600px at 85% 8%, rgba(58, 74, 48, 0.55), transparent 60%),
    linear-gradient(180deg, var(--olive-800), var(--olive-900));
  color: var(--paper);
}
.section.film {
  background:
    radial-gradient(900px 500px at 50% 50%, rgba(199, 32, 44, 0.12), transparent 65%),
    var(--olive-900);
  color: var(--paper);
  padding: 130px 0;
}
.sec-inner, .soul-grid, .unit-panel, .std-grid, .trust-grid, .join-grid, .contact-grid, .std-quote {
  width: min(1200px, 92vw); margin: 0 auto;
}
.sec-head { text-align: center; margin-bottom: 64px; }
.sec-tag {
  display: inline-block; font-size: 12.5px; letter-spacing: 0.42em; text-indent: 0.42em;
  color: var(--red); padding: 6px 18px;
  border-top: 1px solid var(--red); border-bottom: 1px solid var(--red);
  margin-bottom: 22px;
}
.section.olive .sec-tag, .section.film .sec-tag { color: var(--gold-bright); border-color: var(--gold); }
.sec-head h2 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(28px, 4.2vw, 44px); letter-spacing: 0.06em; line-height: 1.4;
}
.sec-head h2 em { font-style: normal; color: var(--red); }
.section.olive .sec-head h2 em, .section.film .sec-head h2 em { color: var(--gold-bright); }
.sec-head.light h2 { color: var(--paper); }

/* 入场动画 */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 军魂 ---------- */
.soul-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: start; }
.soul-quote { position: relative; padding-left: 26px; border-left: 3px solid var(--red); }
.soul-quote .q-mark {
  position: absolute; left: 14px; top: -34px;
  font-family: var(--serif); font-size: 64px; color: rgba(199, 32, 44, 0.25); line-height: 1;
}
.soul-quote p { font-family: var(--serif); font-size: 19px; line-height: 2; color: var(--ink); }
.soul-para { margin-top: 22px; color: var(--ink-soft); font-size: 15.5px; }
.soul-file {
  margin-top: 34px; border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}
.file-row {
  display: flex; align-items: baseline; gap: 18px;
  padding: 14px 22px; border-bottom: 1px dashed rgba(90, 107, 74, 0.3);
  font-size: 14.5px;
}
.file-row:last-child { border-bottom: 0; }
.file-row span {
  flex: 0 0 76px; color: var(--red); font-weight: 700; letter-spacing: 0.1em;
  font-size: 13px;
}
.file-row b { color: var(--ink); font-weight: 600; }
.soul-media { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 12px; }
.polaroid {
  background: #fff; padding: 10px 10px 14px; box-shadow: var(--shadow);
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
}
.polaroid img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.polaroid figcaption {
  padding-top: 10px; text-align: center; font-size: 12.5px;
  letter-spacing: 0.1em; color: var(--ink-soft);
}
.tilt-l { transform: rotate(-2.2deg); }
.tilt-r { transform: rotate(2deg) translateY(26px); }
.polaroid:hover { transform: rotate(0) translateY(-4px); box-shadow: 0 26px 60px rgba(22, 30, 20, 0.24); z-index: 2; position: relative; }
.soul-stamp {
  position: absolute; right: -6px; top: -18px; z-index: 3;
  width: 108px; height: 108px; border-radius: 50%;
  border: 2px solid rgba(199, 32, 44, 0.85);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  color: var(--red); font-family: var(--serif); font-size: 15px; letter-spacing: 0.14em;
  transform: rotate(12deg);
  background: radial-gradient(circle at 50% 40%, rgba(199, 32, 44, 0.07), transparent 70%);
  box-shadow: inset 0 0 0 4px rgba(199, 32, 44, 0.12);
}
.soul-stamp::before {
  content: "★"; font-size: 12px; color: var(--red);
}

/* ---------- 三大业务 ---------- */
.unit-tabs {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin-bottom: 54px;
}
.unit-tab {
  display: flex; align-items: center; gap: 16px;
  background: rgba(245, 242, 233, 0.04);
  border: 1px solid var(--line-dark);
  padding: 20px 24px; cursor: pointer; text-align: left;
  color: rgba(245, 242, 233, 0.75);
  transition: all 0.35s var(--ease);
  clip-path: polygon(16px 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
}
.unit-tab .no {
  font-family: var(--serif); font-size: 34px; color: var(--gold);
  line-height: 1; transition: color 0.3s;
}
.unit-tab .t { display: flex; flex-direction: column; gap: 2px; font-family: var(--serif); font-size: 19px; letter-spacing: 0.14em; }
.unit-tab .t em { font-style: normal; font-size: 12px; letter-spacing: 0.24em; color: rgba(245, 242, 233, 0.5); }
.unit-tab:hover { border-color: var(--gold); background: rgba(201, 160, 82, 0.08); }
.unit-tab.active {
  background: linear-gradient(180deg, rgba(199, 32, 44, 0.18), rgba(199, 32, 44, 0.06));
  border-color: var(--red); color: #fff;
  box-shadow: inset 0 0 0 1px rgba(199, 32, 44, 0.35);
}
.unit-tab.active .no { color: var(--red); text-shadow: 0 0 18px rgba(199, 32, 44, 0.6); }
.unit-tab.active .t em { color: var(--gold-bright); }

.unit-panel { display: none; grid-template-columns: 1.08fr 1fr; gap: 56px; align-items: center; }
.unit-panel.active { display: grid; animation: panelIn 0.7s var(--ease); }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
.unit-media { display: grid; grid-template-columns: 1fr; gap: 16px; }
.unit-photo {
  position: relative; overflow: hidden; background: var(--olive-700);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.4);
}
.unit-photo.main img { width: 100%; height: 420px; object-fit: cover; transition: transform 0.8s var(--ease); }
.unit-photo.sub img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.8s var(--ease); }
.unit-photo:hover img { transform: scale(1.05); }
.unit-photo figcaption {
  position: absolute; left: 0; bottom: 0; right: 0;
  padding: 26px 18px 12px; font-size: 13px; letter-spacing: 0.14em;
  color: rgba(245, 242, 233, 0.92);
  background: linear-gradient(180deg, transparent, rgba(22, 30, 20, 0.85));
}
.unit-body h3 {
  font-family: var(--serif); font-size: clamp(24px, 2.8vw, 32px);
  letter-spacing: 0.08em; color: var(--gold-bright);
}
.unit-body h3::after {
  content: ""; display: block; width: 64px; height: 3px;
  background: var(--red); margin-top: 16px;
}
.unit-lead { margin-top: 20px; color: rgba(245, 242, 233, 0.82); font-size: 15.5px; }
.unit-services { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.svc {
  border: 1px solid var(--line-dark); padding: 16px 18px;
  background: rgba(245, 242, 233, 0.03);
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease);
}
.svc:hover { border-color: var(--gold); background: rgba(201, 160, 82, 0.08); transform: translateY(-3px); }
.svc i {
  font-style: normal; font-family: var(--serif); font-size: 12.5px;
  color: var(--red); letter-spacing: 0.1em;
}
.svc b {
  display: block; margin-top: 4px; font-size: 15.5px; letter-spacing: 0.08em; color: var(--paper);
}
.svc span { display: block; margin-top: 6px; font-size: 12.8px; line-height: 1.7; color: rgba(245, 242, 233, 0.6); }

/* ---------- 军人标准 ---------- */
.std-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.std-card {
  position: relative; background: #fff; border: 1px solid rgba(90, 107, 74, 0.22);
  padding: 30px 26px 26px; box-shadow: var(--shadow);
  transition: transform 0.45s var(--ease), box-shadow 0.45s;
}
.std-card:hover { transform: translateY(-8px); box-shadow: 0 30px 70px rgba(22, 30, 20, 0.2); }
.std-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--red), var(--gold));
}
.std-no {
  position: absolute; top: 20px; right: 22px;
  font-family: var(--serif); font-size: 44px; line-height: 1;
  color: rgba(199, 32, 44, 0.14);
}
.std-card h3 {
  font-family: var(--serif); font-size: 20px; letter-spacing: 0.1em; color: var(--ink);
  margin-bottom: 10px;
}
.std-card p { font-size: 14px; color: var(--ink-soft); min-height: 84px; }
.std-card img { width: 100%; height: 190px; object-fit: cover; }
.std-quote { margin-top: 58px; text-align: center; }
.std-quote p {
  font-family: var(--serif); font-size: clamp(17px, 2vw, 22px); line-height: 2;
  color: var(--ink); max-width: 820px; margin: 0 auto;
  padding: 26px 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}

/* ---------- 信任背书 ---------- */
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 230px 230px; gap: 16px;
}
.trust-item {
  position: relative; overflow: hidden; cursor: pointer;
  background: var(--olive-700); box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}
.trust-item.big { grid-column: span 2; grid-row: span 2; }
.trust-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease), opacity 0.5s; }
.trust-item:hover img { transform: scale(1.06); }
.trust-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 40px 18px 14px;
  background: linear-gradient(180deg, transparent, rgba(22, 30, 20, 0.9));
  display: flex; flex-direction: column; gap: 2px;
  transform: translateY(6px); opacity: 0.94; transition: transform 0.4s var(--ease);
}
.trust-item:hover figcaption { transform: none; }
.trust-item b { font-family: var(--serif); font-size: 16.5px; letter-spacing: 0.12em; color: var(--paper); }
.trust-item span { font-size: 12.5px; letter-spacing: 0.1em; color: rgba(245, 242, 233, 0.66); }

/* ---------- 影像志 ---------- */
.film-inner { width: min(860px, 92vw); margin: 0 auto; text-align: center; }
.film-btn {
  margin-top: 46px; width: 100%; cursor: pointer;
  background: rgba(245, 242, 233, 0.04);
  border: 1px solid var(--line-dark);
  padding: 44px 30px; color: var(--paper);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  transition: all 0.4s var(--ease);
  clip-path: polygon(22px 0, 100% 0, calc(100% - 22px) 100%, 0 100%);
}
.film-btn:hover { border-color: var(--red); background: rgba(199, 32, 44, 0.1); transform: translateY(-4px); }
.film-play {
  width: 84px; height: 84px; border-radius: 50%;
  border: 2px solid var(--red); color: var(--red);
  display: flex; align-items: center; justify-content: center; font-size: 26px;
  text-indent: 5px;
  transition: all 0.4s var(--ease);
  box-shadow: 0 0 0 rgba(199, 32, 44, 0.5);
  animation: ringPulse 2.4s ease-out infinite;
}
@keyframes ringPulse {
  0% { box-shadow: 0 0 0 0 rgba(199, 32, 44, 0.45); }
  70% { box-shadow: 0 0 0 26px rgba(199, 32, 44, 0); }
  100% { box-shadow: 0 0 0 0 rgba(199, 32, 44, 0); }
}
.film-btn:hover .film-play { background: var(--red); color: #fff; }
.film-t1 { font-family: var(--serif); font-size: 20px; letter-spacing: 0.2em; }
.film-t2 { font-size: 12.5px; letter-spacing: 0.18em; color: rgba(245, 242, 233, 0.55); }

/* ---------- 加入精兵 ---------- */
.join-grid { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 60px; align-items: center; }
.join-media { position: relative; }
.join-media img {
  width: 100%; box-shadow: var(--shadow);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
}
.join-media::after {
  content: "★"; position: absolute; right: -20px; bottom: -24px;
  font-size: 120px; color: rgba(199, 32, 44, 0.12); line-height: 1;
}
.join-lead { font-size: 16px; color: var(--ink); font-family: var(--serif); }
.join-list { margin: 26px 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.join-item {
  border-left: 3px solid var(--gold); background: #fff;
  padding: 14px 18px; box-shadow: 0 8px 24px rgba(22, 30, 20, 0.08);
}
.join-item b { display: block; font-size: 15px; letter-spacing: 0.08em; color: var(--ink); }
.join-item span { display: block; margin-top: 4px; font-size: 12.8px; color: var(--ink-soft); line-height: 1.7; }

/* ---------- 预约联系 ---------- */
.contact-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 44px; align-items: start; }
.order-form {
  background: rgba(245, 242, 233, 0.04);
  border: 1px solid var(--line-dark);
  padding: 34px 34px 28px;
}
.form-head {
  font-family: var(--serif); font-size: 19px; letter-spacing: 0.22em; color: var(--gold-bright);
  padding-bottom: 18px; margin-bottom: 24px;
  border-bottom: 1px dashed var(--line);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 18px; }
.order-form label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; letter-spacing: 0.14em; color: rgba(245, 242, 233, 0.75); }
.form-full { margin-bottom: 22px; }
.order-form input, .order-form select, .order-form textarea {
  width: 100%; background: rgba(22, 30, 20, 0.5);
  border: 1px solid var(--line-dark); color: var(--paper);
  padding: 13px 15px; font-size: 14.5px; font-family: inherit;
  transition: border-color 0.3s, background 0.3s;
  resize: vertical;
}
.order-form select option { background: var(--olive-800); }
.order-form input:focus, .order-form select:focus, .order-form textarea:focus {
  outline: none; border-color: var(--gold); background: rgba(22, 30, 20, 0.75);
}
.order-form input.err, .order-form textarea.err { border-color: var(--red); }
.btn-block { width: 100%; }
.form-tip { margin-top: 14px; text-align: center; font-size: 12px; letter-spacing: 0.12em; color: rgba(245, 242, 233, 0.45); }
.contact-side { display: flex; flex-direction: column; gap: 22px; }
.contact-card {
  border: 1px solid var(--line-dark); background: rgba(245, 242, 233, 0.04);
  padding: 26px 26px 16px;
}
.contact-card h3 {
  font-family: var(--serif); font-size: 18px; letter-spacing: 0.2em; color: var(--gold-bright);
  margin-bottom: 14px;
}
.c-row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 11px 0; border-bottom: 1px dashed rgba(224, 188, 114, 0.14); font-size: 14px;
}
.c-row:last-child { border-bottom: 0; }
.c-row span { color: rgba(245, 242, 233, 0.55); letter-spacing: 0.1em; flex: 0 0 auto; }
.c-row b { color: var(--paper); font-weight: 600; text-align: right; }
.demo-chip { display: none; }
.contact-note { padding: 0 6px; }
.contact-note b { color: var(--gold-bright); font-size: 14px; letter-spacing: 0.12em; }
.contact-note p { margin-top: 8px; font-size: 13px; line-height: 1.9; color: rgba(245, 242, 233, 0.65); }

/* 表单成功提示 */
.toast {
  position: fixed; left: 50%; top: 84px; transform: translate(-50%, -16px);
  z-index: 2600; background: var(--olive-800); color: var(--paper);
  border: 1px solid var(--gold); border-left: 4px solid var(--red);
  padding: 14px 26px; font-size: 14px; letter-spacing: 0.08em;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
  opacity: 0; visibility: hidden; transition: all 0.4s var(--ease);
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- 页脚 ---------- */
.footer {
  background: var(--olive-900);
  border-top: 1px solid var(--line-dark);
  padding: 54px 44px 30px;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  text-align: center;
}
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-brand img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; }
.foot-brand .t1 { font-family: var(--serif); font-size: 22px; letter-spacing: 0.24em; color: var(--paper); }
.foot-brand .t2 { font-size: 11px; letter-spacing: 0.2em; color: var(--gold-bright); opacity: 0.8; }
.foot-nav { display: flex; gap: 26px; flex-wrap: wrap; justify-content: center; }
.foot-nav a { font-size: 13px; letter-spacing: 0.14em; color: rgba(245, 242, 233, 0.6); transition: color 0.3s; }
.foot-nav a:hover { color: var(--gold-bright); }
.foot-line { font-size: 13px; letter-spacing: 0.1em; color: rgba(245, 242, 233, 0.5); }
.foot-copy { font-size: 11.5px; letter-spacing: 0.08em; color: rgba(245, 242, 233, 0.32); }

/* ---------- 弹窗 ---------- */
.modal { position: fixed; inset: 0; z-index: 2200; display: none; }
.modal.open { display: block; }
.modal-mask {
  position: absolute; inset: 0;
  background: rgba(10, 14, 9, 0.9); backdrop-filter: blur(6px);
}
.modal-box {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(960px, 94vw); z-index: 2;
  animation: modalIn 0.45s var(--ease);
}
@keyframes modalIn {
  from { opacity: 0; transform: translate(-50%, -46%); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}
.modal-box video { width: 100%; display: block; background: #000; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6); }
.img-box img { max-height: 86vh; width: auto; max-width: 100%; margin: 0 auto; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6); }
.modal-close {
  position: absolute; right: 0; top: -44px;
  background: transparent; border: 0; color: var(--paper);
  font-size: 30px; cursor: pointer; line-height: 1;
  transition: color 0.3s, transform 0.3s;
}
.modal-close:hover { color: var(--red); transform: rotate(90deg); }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .nav { padding: 14px 24px; }
  .nav.scrolled { padding: 9px 24px; }
  .soul-grid, .unit-panel, .join-grid, .contact-grid { gap: 40px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 220px); }
  .trust-item.big { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 900px) {
  .nav-links {
    position: fixed; top: 0; right: -78vw; width: 72vw; height: 100vh;
    background: linear-gradient(180deg, var(--olive-800), var(--olive-900));
    border-left: 1px solid var(--line-dark);
    flex-direction: column; justify-content: center; gap: 30px;
    transition: right 0.45s var(--ease);
  }
  .nav-links.open { right: 0; box-shadow: -30px 0 80px rgba(0, 0, 0, 0.5); }
  .nav-links a { font-size: 17px; }
  .nav-burger { display: flex; z-index: 2; position: relative; }
  .section { padding: 78px 0; }
  .soul-grid { grid-template-columns: 1fr; }
  .soul-stamp { right: 6px; top: -26px; }
  .unit-tabs { grid-template-columns: 1fr; }
  .unit-panel { grid-template-columns: 1fr; }
  .unit-photo.main img { height: 300px; }
  .unit-services { grid-template-columns: 1fr; }
  .std-grid { grid-template-columns: 1fr; }
  .std-card p { min-height: 0; }
  .join-grid { grid-template-columns: 1fr; }
  .join-media { max-width: 420px; margin: 0 auto; }
  .join-list { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-strip { grid-template-columns: 1fr; }
  .strip-item { border-right: 0; border-bottom: 1px solid var(--line-dark); padding: 13px 10px; flex-direction: row; gap: 12px; justify-content: center; }
  .strip-item:last-child { border-bottom: 0; }
}
@media (max-width: 560px) {
  .trust-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .trust-item { height: 220px; }
  .trust-item.big { grid-column: span 1; height: 300px; }
  .hero-badges { gap: 8px; }
  .hero-badges span { font-size: 12.5px; padding: 6px 12px; }
  .form-row { grid-template-columns: 1fr; }
  .totop { right: 16px; bottom: 16px; }
}

/* 减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   V2 新增：实战档案 / 五步流程 / 数字铁军 / 老兵答问 / 兵法科普
   ============================================================ */

/* 副标题 */
.sec-sub { margin-top: 16px; font-size: 14.5px; letter-spacing: 0.1em; color: var(--ink-soft); }
.sec-sub.light { color: rgba(245, 242, 233, 0.65); }

/* 业务面板 → 数字铁军跳转链接 */
.unit-link {
  display: inline-block; margin-top: 24px; font-size: 13.5px; letter-spacing: 0.12em;
  color: var(--gold-bright); border-bottom: 1px dashed var(--gold);
  padding-bottom: 3px; transition: color 0.3s, border-color 0.3s;
}
.unit-link:hover { color: #fff; border-color: #fff; }

/* ---------- 五步作战流程 ---------- */
.flow-strip {
  width: min(1200px, 92vw); margin: 64px auto 0;
  border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow);
}
.flow-title {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-size: 17px; letter-spacing: 0.16em; color: var(--ink);
  padding: 16px 24px; border-bottom: 1px dashed rgba(90, 107, 74, 0.3);
}
.flow-title i { font-style: normal; color: var(--red); }
.flow-steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); }
.flow-steps li {
  position: relative; padding: 20px 18px 18px; border-right: 1px dashed rgba(90, 107, 74, 0.25);
  transition: background 0.3s;
}
.flow-steps li:last-child { border-right: 0; }
.flow-steps li:hover { background: rgba(201, 160, 82, 0.08); }
.flow-steps i {
  font-style: normal; font-family: var(--serif); font-size: 13px; letter-spacing: 0.1em;
  color: var(--red);
}
.flow-steps b { display: block; margin-top: 4px; font-size: 15.5px; letter-spacing: 0.08em; color: var(--ink); }
.flow-steps span { display: block; margin-top: 5px; font-size: 12.3px; line-height: 1.65; color: var(--ink-soft); }
/* ---------- 实战档案 ---------- */
.section.stories {
  background:
    linear-gradient(180deg, rgba(201, 160, 82, 0.06), transparent 200px),
    var(--paper-2);
}
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.story-card {
  cursor: pointer; background: #fff; border: 1px solid rgba(90, 107, 74, 0.22);
  box-shadow: var(--shadow); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.45s var(--ease), box-shadow 0.45s;
}
.story-card:hover { transform: translateY(-8px); box-shadow: 0 30px 70px rgba(22, 30, 20, 0.22); }
.story-media { overflow: hidden; }
.story-media img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.7s var(--ease); }
.story-card:hover .story-media img { transform: scale(1.06); }
.story-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.story-no {
  display: inline-block; font-family: var(--serif); font-size: 12px; letter-spacing: 0.18em;
  color: var(--red); border: 1px solid rgba(199, 32, 44, 0.4); padding: 2px 10px;
}
.story-body h3 {
  margin-top: 12px; font-family: var(--serif); font-size: 19px; letter-spacing: 0.08em; color: var(--ink);
}
.story-body p { margin-top: 8px; font-size: 13.5px; line-height: 1.8; color: var(--ink-soft); }
.story-more {
  display: inline-block; margin-top: auto; padding-top: 14px; align-self: flex-start;
  font-size: 12.5px; letter-spacing: 0.14em;
  color: var(--gold); transition: color 0.3s;
}
.story-card:hover .story-more { color: var(--red); }

/* ---------- 数字铁军 ---------- */
.dig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.dig-card {
  position: relative; display: flex; flex-direction: column;
  background: rgba(245, 242, 233, 0.045);
  border: 1px solid var(--line-dark); padding: 28px 26px 24px;
  transition: border-color 0.35s, transform 0.45s var(--ease), box-shadow 0.45s;
}
.dig-card:hover { border-color: var(--gold); transform: translateY(-6px); box-shadow: 0 26px 60px rgba(0, 0, 0, 0.35); }
.dig-no {
  display: inline-block; font-family: var(--serif); font-size: 12px; letter-spacing: 0.2em;
  color: var(--red); background: rgba(199, 32, 44, 0.12);
  border: 1px solid rgba(199, 32, 44, 0.5); padding: 3px 12px;
}
.dig-head h3 {
  margin-top: 14px; font-family: var(--serif); font-size: 21px; letter-spacing: 0.1em;
  line-height: 1.5; color: var(--gold-bright);
}
.dig-lead { margin-top: 14px; font-size: 13.8px; line-height: 1.9; color: rgba(245, 242, 233, 0.78); }

/* 服务报告示意 */
.report-demo, .daily-demo {
  margin-top: 20px; background: #fff; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  position: relative;
}
.rd-top, .dd-top {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  padding: 12px 16px; border-bottom: 2px solid var(--olive-700);
}
.rd-top b, .dd-top b { font-family: var(--serif); font-size: 14.5px; letter-spacing: 0.12em; color: var(--ink); }
.rd-top span, .dd-top span { font-size: 10.5px; color: var(--ink-soft); letter-spacing: 0.06em; }
.rd-row, .dd-row {
  display: flex; gap: 12px; padding: 9px 16px; font-size: 12.3px;
  border-bottom: 1px dashed rgba(90, 107, 74, 0.25); align-items: baseline;
}
.rd-row span, .dd-row span { flex: 0 0 58px; color: var(--red); letter-spacing: 0.06em; }
.rd-row b, .dd-row b { color: var(--ink); font-weight: 600; line-height: 1.6; }
.rd-stamp {
  margin: 14px auto 16px; width: fit-content;
  font-family: var(--serif); font-size: 13px; letter-spacing: 0.14em; color: var(--red);
  border: 2px solid rgba(199, 32, 44, 0.8); border-radius: 50%; padding: 12px 16px;
  transform: rotate(-8deg);
  box-shadow: inset 0 0 0 3px rgba(199, 32, 44, 0.12);
}
.dd-row span { flex-basis: 52px; }
.dd-foot {
  padding: 10px 16px 12px; font-size: 11.5px; letter-spacing: 0.1em;
  color: var(--ink-soft); text-align: right;
}

/* AI 对话示意 */
.ai-demo {
  margin-top: 20px; padding: 16px 14px;
  background: rgba(22, 30, 20, 0.55); border: 1px solid var(--line-dark);
  display: flex; flex-direction: column; gap: 10px;
}
.ai-msg {
  max-width: 86%; padding: 9px 13px; font-size: 12.5px; line-height: 1.7;
  color: var(--ink); background: var(--paper); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.ai-msg.me {
  align-self: flex-end; background: rgba(199, 32, 44, 0.9); color: #fff;
  clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%);
}
.ai-msg:not(.me) { clip-path: polygon(0 0, 100% 0, 100% 100%, 8px 100%); }
.qr-slot { margin-top: 20px; text-align: center; }
.qr-box {
  width: 148px; height: 148px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  text-align: center;
  background: #fff; color: var(--ink-soft);
  border: 2px dashed rgba(90, 107, 74, 0.5);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35);
}
.qr-box .qr-badge { font-style: normal; font-size: 26px; color: var(--red); line-height: 1; }
.qr-box .qr-wait {
  font-family: var(--serif); font-size: 14px; letter-spacing: 0.22em; text-indent: 0.22em;
  color: var(--olive-700);
}
.qr-box.ready { border-style: solid; padding: 6px; }
.qr-box.ready svg { display: block; }
.qr-slot p { margin-top: 10px; font-size: 12px; letter-spacing: 0.14em; color: rgba(245, 242, 233, 0.55); }
.demo-chip2 {
  margin-top: auto; align-self: flex-start;
  font-size: 10.5px; letter-spacing: 0.12em; color: var(--gold-bright);
  border: 1px dashed var(--gold); padding: 2px 10px; opacity: 0.85;
}
.report-demo, .daily-demo, .ai-demo, .qr-slot { margin-bottom: 14px; }

/* ---------- 老兵答问 ---------- */
.faq-wrap { width: min(880px, 92vw); margin: 0 auto; }
.faq-group { margin: 30px 0 12px; }
.faq-group-t {
  display: inline-block; font-family: var(--serif); font-size: 15px; letter-spacing: 0.2em;
  color: var(--red); border-left: 3px solid var(--red); padding-left: 12px;
}
.faq-item {
  border: 1px solid rgba(90, 107, 74, 0.22); background: #fff; margin-top: 10px;
  box-shadow: 0 6px 20px rgba(22, 30, 20, 0.06);
}
.faq-item summary {
  cursor: pointer; list-style: none; user-select: none;
  padding: 15px 46px 15px 20px; position: relative;
  font-size: 15px; letter-spacing: 0.05em; color: var(--ink); font-weight: 600;
  transition: color 0.3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  font-size: 20px; color: var(--gold); transition: transform 0.3s var(--ease), color 0.3s;
}
.faq-item[open] summary { color: var(--red); }
.faq-item[open] summary::after { content: "−"; color: var(--red); }
.faq-item summary:hover { color: var(--red); }
.faq-a {
  padding: 0 20px 16px; font-size: 14px; line-height: 1.9; color: var(--ink-soft);
  border-top: 1px dashed rgba(90, 107, 74, 0.25); padding-top: 12px; margin: 0 0;
}

/* FAQ 收尾引导 */
.faq-tail {
  margin-top: 28px; padding: 18px 22px; text-align: center;
  border: 1px dashed rgba(90, 107, 74, 0.35); background: rgba(201, 160, 82, 0.08);
  font-size: 14px; color: var(--ink-soft);
}
.faq-tail a {
  color: var(--red); font-weight: 600; margin-left: 14px;
  border-bottom: 1px dashed var(--red); padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}
.faq-tail a:hover { color: var(--red-deep); border-color: var(--red-deep); }
@media (max-width: 640px) {
  .faq-tail a { display: inline-block; margin: 8px 6px 0; }
}

/* ---------- 兵法科普 ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.guide-card {
  cursor: pointer; padding: 26px 22px 24px; position: relative;
  background: rgba(245, 242, 233, 0.045); border: 1px solid var(--line-dark);
  transition: all 0.4s var(--ease);
}
.guide-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--red), var(--gold));
  transform: scaleY(0); transform-origin: top; transition: transform 0.4s var(--ease);
}
.guide-card:hover { border-color: var(--gold); background: rgba(201, 160, 82, 0.08); transform: translateY(-6px); }
.guide-card:hover::before { transform: scaleY(1); }
.g-no {
  font-family: var(--serif); font-size: 12px; letter-spacing: 0.2em; color: var(--gold-bright);
}
.guide-card h3 {
  margin-top: 10px; font-family: var(--serif); font-size: 17.5px; letter-spacing: 0.06em;
  line-height: 1.6; color: var(--paper); min-height: 88px;
}
.guide-card p { margin-top: 10px; font-size: 12.8px; line-height: 1.8; color: rgba(245, 242, 233, 0.6); }
.g-more {
  display: inline-block; margin-top: 14px; font-size: 12px; letter-spacing: 0.14em;
  color: var(--gold); transition: color 0.3s;
}
.guide-card:hover .g-more { color: #fff; }

/* ---------- 文章弹窗 ---------- */
.article-box { width: min(760px, 94vw); }
.article-scroll {
  background: var(--paper); max-height: 84vh; overflow-y: auto;
  padding: 40px 44px 36px; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
}
.article h2 {
  font-family: var(--serif); font-size: 26px; letter-spacing: 0.08em; color: var(--ink);
  margin: 12px 0 18px; padding-bottom: 14px; border-bottom: 2px solid var(--olive-700);
}
.art-tag {
  display: inline-block; font-family: var(--serif); font-size: 12px; letter-spacing: 0.18em;
  color: var(--red); border: 1px solid rgba(199, 32, 44, 0.4); padding: 3px 12px;
}
.article img { width: 100%; max-height: 420px; object-fit: cover; margin: 4px 0 18px; box-shadow: var(--shadow); }
.article p { font-size: 14.8px; line-height: 2; color: var(--ink); margin-bottom: 12px; }
.article p b { color: var(--red-deep); }
.article .art-src {
  margin-top: 22px; padding: 12px 16px; font-size: 12px; letter-spacing: 0.06em;
  color: var(--ink-soft); background: rgba(201, 160, 82, 0.12); border-left: 3px solid var(--gold);
}
.article .art-tip {
  margin-top: 18px; padding: 12px 16px; font-size: 13.5px; color: var(--red-deep);
  background: rgba(199, 32, 44, 0.06); border-left: 3px solid var(--red);
}

/* ---------- V2 响应式 ---------- */
@media (max-width: 1080px) {
  .story-grid { grid-template-columns: repeat(2, 1fr); }
  .dig-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .flow-steps { grid-template-columns: 1fr; }
  .flow-steps li { border-right: 0; border-bottom: 1px dashed rgba(90, 107, 74, 0.25); }
  .flow-steps li::after { display: none; }
  .article-scroll { padding: 30px 22px 26px; }
  .article h2 { font-size: 22px; }
}
@media (max-width: 640px) {
  .story-grid { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: 1fr; }
  .guide-card h3 { min-height: 0; }
}

/* ============================================================
   AI 管家 · 全站悬浮窗（桌面右下卡片 / 手机近全屏）
   ============================================================ */
.chat-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 1500;
  display: flex; align-items: center; gap: 8px;
  padding: 11px 18px 11px 12px; border: 0; cursor: pointer;
  background: linear-gradient(180deg, var(--olive-700), var(--olive-800));
  color: var(--paper); font-family: var(--serif); font-size: 15px; letter-spacing: 0.12em;
  border: 1px solid var(--gold);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  box-shadow: 0 14px 40px rgba(22, 30, 20, 0.35);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s;
}
.chat-fab img { width: 30px; height: 30px; border-radius: 6px; object-fit: cover; box-shadow: 0 0 0 1px rgba(224, 188, 114, 0.5); }
.chat-fab:hover { transform: translateY(-3px); background: linear-gradient(180deg, var(--olive-600), var(--olive-700)); box-shadow: 0 20px 50px rgba(22, 30, 20, 0.45); }
.fab-dot {
  position: absolute; top: -4px; right: -4px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--red); border: 2px solid var(--paper);
  animation: fabPulse 1.8s ease-out infinite;
}
@keyframes fabPulse {
  0% { box-shadow: 0 0 0 0 rgba(199, 32, 44, 0.5); }
  70% { box-shadow: 0 0 0 12px rgba(199, 32, 44, 0); }
  100% { box-shadow: 0 0 0 0 rgba(199, 32, 44, 0); }
}

.chat-pop {
  position: fixed; right: 24px; bottom: 96px; z-index: 1600;
  width: min(392px, calc(100vw - 32px)); height: min(640px, calc(100vh - 130px));
  background: var(--paper); border: 1px solid var(--line-dark);
  box-shadow: 0 30px 80px rgba(10, 14, 9, 0.45);
  display: none; flex-direction: column; overflow: hidden;
  opacity: 0; transform: translateY(18px) scale(0.97);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.chat-pop.open { display: flex; opacity: 1; transform: none; }
.chat-pop-head {
  flex: 0 0 auto; display: flex; align-items: center; gap: 10px;
  background: linear-gradient(180deg, var(--olive-700), var(--olive-800));
  color: var(--paper); padding: 12px 14px; border-bottom: 2px solid var(--gold);
}
.chat-pop-head img { width: 38px; height: 38px; border-radius: 8px; object-fit: cover; box-shadow: 0 0 0 1px rgba(224, 188, 114, 0.4); }
.cp-title { flex: 1; min-width: 0; }
.cp-title b { display: block; font-family: var(--serif); font-size: 15.5px; letter-spacing: 0.14em; }
.cp-title span { display: block; font-size: 10.5px; letter-spacing: 0.1em; color: var(--gold-bright); opacity: 0.85; margin-top: 2px; }
.cp-close {
  background: transparent; border: 1px solid rgba(224, 188, 114, 0.4); color: var(--gold-bright);
  width: 30px; height: 30px; font-size: 18px; line-height: 1; cursor: pointer;
  transition: all 0.25s;
}
.cp-close:hover { background: var(--red); border-color: var(--red); color: #fff; transform: rotate(90deg); }
.cp-frame { flex: 1; width: 100%; border: 0; background: #f5f2e9; }
.cp-foot {
  flex: 0 0 auto; text-align: center; font-size: 10px; letter-spacing: 0.24em; text-indent: 0.24em;
  color: rgba(245, 242, 233, 0.5); background: var(--olive-900); padding: 6px 0;
}
/* 悬浮窗出现时，返回顶部按钮上移让位 */
body.chat-open .totop { bottom: 96px; }

@media (max-width: 640px) {
  .chat-fab { right: 16px; bottom: 16px; padding: 10px 16px 10px 10px; font-size: 14px; }
  .chat-pop {
    right: 0; left: 0; bottom: 0; top: auto;
    width: 100vw; height: calc(100vh - 76px);
    border-left: 0; border-right: 0; border-bottom: 0;
  }
  body.chat-open .totop { bottom: auto; top: 18px; }
}
