/* ============================================================
   某某律师事务所 — 「墨律」设计语言
   深墨蓝 × 鎏金 × 暖纸白 | Serif 权威感 + 现代交互
   ============================================================ */

/* ---------- CSS 变量 ---------- */
:root {
  color-scheme: light;
  --ink: #0B1830;            /* 最深墨蓝：页脚/深色区 */
  --navy: #10254B;           /* 主深蓝 */
  --blue: #1E3A8A;           /* 辅助蓝 */
  --gold: #C9A45C;           /* 鎏金 */
  --gold-2: #E4C98A;         /* 亮金（深底文字） */
  --cta: #B45309;            /* 行动色 */
  --cta-hover: #92400E;
  --paper: #F7F4ED;          /* 暖纸底 */
  --white: #FFFFFF;
  --text: #17263F;
  --muted: #51607A;
  --line: #E4DDCC;
  --line-dark: rgba(228, 201, 138, .25);
  --radius: 18px;
  --radius-s: 10px;
  --shadow: 0 18px 50px -18px rgba(11, 24, 48, .18);
  --shadow-gold: 0 18px 44px -16px rgba(201, 164, 92, .45);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --font-serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-latin: "EB Garamond", Georgia, serif;
  --nav-h: 76px;
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--paper);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
a, button, input, select, textarea { touch-action: manipulation; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 700; line-height: 1.3; color: var(--ink); text-wrap: balance; }
[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }
.stat b, .case-metrics b, .compare td, .hero-meta .m b { font-variant-numeric: tabular-nums; }
::selection { background: var(--gold); color: var(--ink); }

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

/* 跳转链接（无障碍） */
.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 3000;
  background: var(--ink); color: #fff; padding: 10px 18px;
  border-radius: 8px; transition: top .25s var(--ease);
}
.skip-link:focus { top: 14px; }

.container { width: min(1180px, 92%); margin-inline: auto; }
.section { padding: clamp(72px, 9vw, 120px) 0; }
.bg-paper { background: var(--paper); }
.bg-white { background: var(--white); }
.bg-ink { background: var(--ink); color: #EAEFF7; }

/* ---------- 加载印章动画 ---------- */
.loader {
  position: fixed; inset: 0; z-index: 4000;
  background: var(--ink);
  display: grid; place-items: center;
  transition: opacity .6s var(--ease), visibility .6s;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; }
.seal {
  width: 92px; height: 92px; margin: 0 auto 22px;
  border: 3px solid var(--gold); border-radius: 14px;
  display: grid; place-items: center;
  font-family: var(--font-serif); font-weight: 900;
  color: var(--gold-2); font-size: 22px; letter-spacing: 4px;
  line-height: 1.25;
  animation: stamp .8s var(--ease) both;
  box-shadow: inset 0 0 0 2px rgba(228,201,138,.25);
}
@keyframes stamp {
  0% { transform: scale(1.9) rotate(-14deg); opacity: 0; }
  55% { transform: scale(.94) rotate(2deg); opacity: 1; }
  100% { transform: scale(1) rotate(0); }
}
.loader-text {
  color: #8FA0BE; letter-spacing: 6px; font-size: 13px;
  animation: fadeUp .8s .3s var(--ease) both;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- 顶部信息条 ---------- */
.topbar {
  background: var(--ink); color: #9DB0CF;
  font-size: 12.5px; letter-spacing: .5px;
  position: relative; z-index: 60;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  height: 34px; gap: 16px;
}
.topbar a { transition: color .2s; }
.topbar a:hover { color: var(--gold-2); }
.topbar-list { display: flex; gap: 22px; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; }
.topbar-item svg { width: 13px; height: 13px; stroke: var(--gold); }
.topbar-slogan { color: var(--gold-2); font-family: var(--font-serif); letter-spacing: 3px; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(247, 244, 237, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: height .35s var(--ease), background .35s, border-color .35s, box-shadow .35s;
}
.nav.scrolled {
  height: 62px;
  background: rgba(247, 244, 237, .95);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -18px rgba(11,24,48,.25);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-seal {
  width: 44px; height: 44px; flex: none;
  border: 2.5px solid var(--cta); border-radius: 9px;
  display: grid; place-items: center;
  font-family: var(--font-serif); font-weight: 900;
  color: var(--cta); font-size: 15px; line-height: 1.15;
  letter-spacing: 2px; text-align: center;
  transform: rotate(-4deg);
  transition: transform .35s var(--ease);
}
.brand:hover .brand-seal { transform: rotate(0deg) scale(1.05); }
.brand-name { font-family: var(--font-serif); font-weight: 700; font-size: 19px; color: var(--ink); line-height: 1.25; }
.brand-name small { display: block; font-family: var(--font-latin); font-size: 10.5px; font-weight: 500; color: var(--muted); letter-spacing: 2.5px; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link {
  position: relative; padding: 10px 16px;
  font-size: 15px; font-weight: 500; color: var(--text);
  transition: color .25s;
}
.nav-link::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px;
  height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--navy); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 14px; }

/* 汉堡按钮 */
.burger {
  display: none; width: 46px; height: 46px;
  border-radius: 12px; place-items: center;
  border: 1px solid var(--line);
  background: var(--white);
}
.burger span {
  display: block; width: 20px; height: 2px; background: var(--ink);
  margin: 4px auto; border-radius: 2px;
  transition: transform .3s var(--ease), opacity .25s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: 1px;
  cursor: pointer; white-space: nowrap;
  transition: background .25s, color .25s, box-shadow .3s var(--ease), border-color .25s, transform .2s var(--ease);
}
.btn svg { width: 17px; height: 17px; }
.btn-gold { background: var(--cta); color: #fff; box-shadow: 0 10px 24px -10px rgba(180, 83, 9, .55); }
.btn-gold:hover { background: var(--cta-hover); box-shadow: 0 14px 30px -10px rgba(146, 64, 14, .6); }
.btn-line { border: 1.5px solid currentColor; color: var(--navy); background: transparent; }
.btn-line:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-line-light { border: 1.5px solid rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-line-light:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-ghost-dark { border: 1.5px solid var(--line-dark); color: var(--gold-2); background: transparent; }
.btn-ghost-dark:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-sm { padding: 9px 20px; font-size: 13.5px; }

/* ---------- 章节标题 ---------- */
.sec-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-tag {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--gold-deep, #A87E2F); font-size: 13px; font-weight: 600;
  letter-spacing: 4px; margin-bottom: 14px; text-transform: uppercase;
}
.sec-tag .no { font-family: var(--font-latin); font-size: 15px; letter-spacing: 1px; }
.sec-tag::before { content: ""; width: 34px; height: 1.5px; background: var(--gold); }
.sec-head.center .sec-tag::after { content: ""; width: 34px; height: 1.5px; background: var(--gold); }
.sec-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); letter-spacing: 1px; }
.sec-title em { font-style: normal; color: var(--gold-deep, #A87E2F); }
.sec-sub { color: var(--muted); margin-top: 14px; font-size: 15.5px; }
.bg-ink .sec-title { color: #F3EFE6; }
.bg-ink .sec-sub { color: #A9B7D0; }

/* 竖排装饰字 */
.vertical-motto {
  position: absolute; top: 0; right: max(3vw, 16px);
  writing-mode: vertical-rl; text-orientation: upright;
  font-family: var(--font-serif); font-size: 15px; letter-spacing: 14px;
  color: rgba(201, 164, 92, .5); user-select: none; pointer-events: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: calc(100svh - var(--nav-h));
  display: flex; align-items: center;
  overflow: hidden; background: var(--ink);
  padding: clamp(60px, 8vh, 110px) 0 clamp(80px, 10vh, 130px);
}
.hero-bg {
  position: absolute; inset: -6%;
  background: url("../images/hero.jpg") center 32% / cover no-repeat;
  animation: kenburns 22s ease-in-out infinite alternate;
  filter: saturate(.85);
}
@keyframes kenburns { from { transform: scale(1) translateY(0); } to { transform: scale(1.12) translateY(-1.5%); } }
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(11,24,48,.94) 8%, rgba(16,37,75,.78) 46%, rgba(11,24,48,.42) 78%),
    linear-gradient(to top, rgba(11,24,48,.9), transparent 36%);
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }

.hero-copy { color: #fff; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--line-dark); border-radius: 999px;
  padding: 7px 18px; color: var(--gold-2);
  font-size: 13px; letter-spacing: 3px; margin-bottom: 26px;
  background: rgba(201,164,92,.08);
}
.hero-kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: #7BE0A8; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(123,224,168,.5);} 50% { box-shadow: 0 0 0 6px rgba(123,224,168,0);} }

.hero-title {
  color: #fff; font-size: clamp(2.4rem, 5.6vw, 4.2rem);
  font-weight: 900; line-height: 1.22; letter-spacing: 2px;
  margin-bottom: 24px;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span { display: inline-block; transform: translateY(112%); animation: lineUp 1s var(--ease) forwards; }
.hero-title .line:nth-child(2) > span { animation-delay: .15s; }
.hero-title .line:nth-child(3) > span { animation-delay: .3s; }
.hero-title em { font-style: normal; color: var(--gold-2); position: relative; }
.hero-title em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 10px;
  background: rgba(201,164,92,.22); z-index: -1; transform: skewX(-12deg);
}
@keyframes lineUp { to { transform: translateY(0); } }

.hero-desc { color: #B9C6DE; max-width: 520px; font-size: 16.5px; margin-bottom: 38px; animation: fadeUp .9s .55s var(--ease) both; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; animation: fadeUp .9s .7s var(--ease) both; }
.hero-meta {
  display: flex; gap: clamp(24px, 4vw, 48px); margin-top: 48px;
  animation: fadeUp .9s .85s var(--ease) both;
}
.hero-meta .m b { display: block; font-family: var(--font-latin); font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--gold-2); line-height: 1.1; }
.hero-meta .m span { font-size: 13px; color: #93A5C6; letter-spacing: 1px; }
.hero-meta .m { border-left: 1px solid var(--line-dark); padding-left: 18px; }

/* Hero AI 卡片 */
.ai-card {
  position: relative;
  background: rgba(255,255,255,.07);
  border: 1px solid var(--line-dark);
  border-radius: 20px; padding: 20px;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  animation: floatY 6s ease-in-out infinite;
}
@keyframes floatY { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-12px);} }
.ai-card-head {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 14px; margin-bottom: 14px;
  border-bottom: 1px dashed var(--line-dark);
}
.ai-avatar {
  width: 40px; height: 40px; border-radius: 12px; flex: none;
  background: linear-gradient(135deg, var(--gold), #8a6a2a);
  display: grid; place-items: center;
}
.ai-avatar svg { width: 22px; height: 22px; stroke: var(--ink); }
.ai-card-head b { color: #fff; font-size: 15px; display: block; line-height: 1.3; }
.ai-card-head small { color: #8FE3B4; font-size: 11.5px; letter-spacing: 1px; }
.ai-card-head .live { margin-left: auto; font-size: 11px; color: #8FE3B4; display: inline-flex; align-items: center; gap: 6px; }
.ai-card-head .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #7BE0A8; animation: pulse 1.8s infinite; }
.ai-msgs { display: grid; gap: 12px; min-height: 210px; align-content: start; }
.ai-msg { max-width: 88%; padding: 10px 14px; border-radius: 14px; font-size: 13.5px; line-height: 1.7; opacity: 0; }
.ai-msg.user { justify-self: end; background: rgba(255,255,255,.14); color: #E8EDF7; border-bottom-right-radius: 4px; }
.ai-msg.bot { justify-self: start; background: rgba(201,164,92,.16); color: #F3E9D2; border: 1px solid rgba(201,164,92,.2); border-bottom-left-radius: 4px; }
.ai-msg.show { animation: msgIn .45s var(--ease) forwards; }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
.ai-typing { display: inline-flex; gap: 5px; padding: 12px 16px; }
.ai-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-2); animation: blink 1.2s infinite; }
.ai-typing i:nth-child(2) { animation-delay: .18s; }
.ai-typing i:nth-child(3) { animation-delay: .36s; }
@keyframes blink { 0%,80%,100% { opacity: .25; transform: translateY(0);} 40% { opacity: 1; transform: translateY(-3px);} }

/* 滚动提示 */
.scroll-hint {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  color: #7d90b5; font-size: 11px; letter-spacing: 3px;
  display: grid; justify-items: center; gap: 8px;
}
.scroll-hint::after {
  content: ""; width: 1.5px; height: 42px;
  background: linear-gradient(var(--gold), transparent);
  animation: drop 1.6s var(--ease) infinite;
}
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- 跑马灯 ---------- */
.marquee {
  background: var(--navy); color: var(--gold-2);
  overflow: hidden; padding: 18px 0;
  border-block: 1px solid var(--line-dark);
  position: relative;
}
.marquee-track { display: flex; gap: 0; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-track li {
  display: inline-flex; align-items: center; gap: 28px;
  padding: 0 28px; font-family: var(--font-serif);
  font-size: clamp(15px, 1.8vw, 19px); letter-spacing: 6px; white-space: nowrap;
}
.marquee-track li::after {
  content: ""; width: 8px; height: 8px; background: var(--gold);
  transform: rotate(45deg); opacity: .7;
}

/* ---------- 数据统计 ---------- */
.stats { background: var(--white); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
  text-align: center; padding: 34px 16px; position: relative;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat b {
  display: block; font-family: var(--font-latin); font-weight: 500;
  font-size: clamp(2.4rem, 4.6vw, 3.6rem); color: var(--navy); line-height: 1;
}
.stat b i { font-style: normal; font-size: .5em; color: var(--gold-deep, #A87E2F); margin-left: 4px; font-family: var(--font-serif); }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; letter-spacing: 2px; }

/* ---------- 服务卡片 ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card {
  position: relative; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px 30px; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.svc-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(201,164,92,.5); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-ico {
  width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(201,164,92,.18), rgba(30,58,138,.08));
  display: grid; place-items: center; margin-bottom: 22px;
  transition: background .3s, transform .35s var(--ease);
}
.svc-card:hover .svc-ico { transform: rotate(-6deg) scale(1.06); background: linear-gradient(135deg, var(--gold), #a8843e); }
.svc-ico svg { width: 27px; height: 27px; stroke: var(--navy); transition: stroke .3s; }
.svc-card:hover .svc-ico svg { stroke: var(--ink); }
.svc-card h3 { font-size: 19.5px; margin-bottom: 10px; letter-spacing: 1px; }
.svc-card p { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }
.svc-link {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--gold-deep, #A87E2F); font-size: 14px; font-weight: 600; letter-spacing: 1px;
}
.svc-link svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.svc-card:hover .svc-link svg { transform: translateX(5px); }
.svc-no {
  position: absolute; right: 20px; top: 16px;
  font-family: var(--font-latin); font-size: 44px; line-height: 1;
  color: rgba(23,38,63,.06); font-weight: 600;
}

/* ---------- 图文分栏（金角框） ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.split.rev .split-media { order: 2; }
.split-media { position: relative; }
.split-media .frame { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split-media .frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 5/4; transition: transform 1.2s var(--ease); }
.split-media:hover .frame img { transform: scale(1.05); }
.split-media::before {
  content: ""; position: absolute; inset: 26px -22px -22px 26px;
  border: 1.5px solid var(--gold); border-radius: var(--radius);
  z-index: -1; opacity: .65;
}
.split-media::after {
  content: ""; position: absolute; top: -14px; left: -14px;
  width: 54px; height: 54px;
  border-top: 3px solid var(--gold); border-left: 3px solid var(--gold);
  border-top-left-radius: 12px; opacity: .9;
}
.split-body .sec-title { margin-bottom: 20px; }
.split-body p.lead { color: var(--muted); margin-bottom: 26px; }
.feat-list { display: grid; gap: 16px; margin-bottom: 32px; }
.feat-list li { display: flex; gap: 14px; align-items: flex-start; }
.feat-ico {
  width: 42px; height: 42px; flex: none; border-radius: 12px;
  background: rgba(201,164,92,.14); border: 1px solid rgba(201,164,92,.35);
  display: grid; place-items: center;
}
.feat-ico svg { width: 20px; height: 20px; stroke: var(--gold-deep, #A87E2F); }
.feat-list b { display: block; font-size: 15.5px; color: var(--ink); }
.feat-list span { color: var(--muted); font-size: 14px; }

/* ---------- 深色 AI 能力区 ---------- */
.dark-cap { position: relative; overflow: hidden; }
.dark-cap::before {
  content: ""; position: absolute; right: -160px; top: -160px;
  width: 520px; height: 520px; border-radius: 50%;
  border: 1px solid var(--line-dark); opacity: .6;
}
.dark-cap::after {
  content: ""; position: absolute; right: -80px; top: -80px;
  width: 360px; height: 360px; border-radius: 50%;
  border: 1px dashed var(--line-dark); opacity: .5;
  animation: spin 40s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.cap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; position: relative; }
.cap-card {
  background: rgba(255,255,255,.045);
  border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: 30px 28px; transition: background .3s, transform .35s var(--ease), border-color .3s;
}
.cap-card:hover { background: rgba(201,164,92,.09); transform: translateY(-6px); border-color: rgba(201,164,92,.5); }
.cap-card .num { font-family: var(--font-latin); font-size: 15px; color: var(--gold); letter-spacing: 2px; }
.cap-card h3 { color: #F3EFE6; font-size: 18.5px; margin: 10px 0 8px; }
.cap-card p { color: #A9B7D0; font-size: 14.5px; }

/* ---------- 解决方案卡片 ---------- */
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sol-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  min-height: 420px; display: flex; align-items: flex-end;
  isolation: isolate;
}
.sol-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.sol-card:hover img { transform: scale(1.08); }
.sol-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(11,24,48,.92) 22%, rgba(11,24,48,.15) 62%);
  transition: background .4s;
}
.sol-body { padding: 28px; color: #fff; width: 100%; }
.sol-kicker { color: var(--gold-2); font-size: 12.5px; letter-spacing: 3px; margin-bottom: 8px; }
.sol-body h3 { color: #fff; font-size: 21px; margin-bottom: 10px; }
.sol-body p { color: #C4CFE4; font-size: 14px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s, margin .4s; }
.sol-card:hover .sol-body p { max-height: 130px; opacity: 1; margin-bottom: 16px; }
.sol-go {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold-2); font-size: 13.5px; font-weight: 600; letter-spacing: 2px;
}
.sol-go svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.sol-card:hover .sol-go svg { transform: translateX(6px); }

/* ---------- 案例卡片 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.case-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.case-media { position: relative; overflow: hidden; aspect-ratio: 16/10; }
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.case-card:hover .case-media img { transform: scale(1.08); }
.case-tag {
  position: absolute; left: 14px; top: 14px;
  background: rgba(11,24,48,.72); color: var(--gold-2);
  backdrop-filter: blur(6px); border: 1px solid var(--line-dark);
  padding: 5px 13px; border-radius: 999px; font-size: 12px; letter-spacing: 2px;
}
.case-body { padding: 22px 24px 24px; }
.case-body h3 { font-size: 17.5px; margin-bottom: 8px; line-height: 1.5; }
.case-body p { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.case-metrics { display: flex; gap: 18px; border-top: 1px dashed var(--line); padding-top: 14px; }
.case-metrics b { font-family: var(--font-latin); font-size: 20px; color: var(--cta); }
.case-metrics span { display: block; font-size: 11.5px; color: var(--muted); letter-spacing: 1px; }

/* ---------- 团队 ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/3.6; }
.team-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; }
.team-card:hover img { transform: scale(1.06); filter: grayscale(.2); }
.team-info {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 40px 20px 20px; color: #fff;
  background: linear-gradient(to top, rgba(11,24,48,.94), transparent);
}
.team-info b { font-family: var(--font-serif); font-size: 18px; letter-spacing: 2px; }
.team-info span { display: block; color: var(--gold-2); font-size: 12.5px; letter-spacing: 2px; margin-bottom: 6px; }
.team-tags { display: flex; flex-wrap: wrap; gap: 6px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .45s var(--ease), opacity .35s, margin .3s; }
.team-card:hover .team-tags { max-height: 80px; opacity: 1; margin-top: 4px; }
.team-tags i { font-style: normal; font-size: 11.5px; padding: 3px 10px; border: 1px solid var(--line-dark); border-radius: 999px; color: #D8E1F0; }

/* ---------- 客户评价 ---------- */
.quotes { background: var(--navy); position: relative; overflow: hidden; }
.quotes::before {
  content: "”"; position: absolute; top: -40px; right: 4%;
  font-family: var(--font-latin); font-size: 340px; line-height: 1;
  color: rgba(201,164,92,.08); pointer-events: none;
}
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
.quote-card {
  background: rgba(255,255,255,.05); border: 1px solid var(--line-dark);
  border-radius: var(--radius); padding: 30px 28px;
  display: flex; flex-direction: column; gap: 18px;
  transition: transform .35s var(--ease), background .3s;
}
.quote-card:hover { transform: translateY(-6px); background: rgba(201,164,92,.08); }
.quote-stars { display: flex; gap: 3px; }
.quote-stars svg { width: 15px; height: 15px; fill: var(--gold); stroke: none; }
.quote-card blockquote { color: #D5DEED; font-size: 14.5px; line-height: 1.9; flex: 1; }
.quote-who { display: flex; align-items: center; gap: 12px; border-top: 1px dashed var(--line-dark); padding-top: 16px; }
.quote-ava {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--gold), #7d6230);
  display: grid; place-items: center; color: var(--ink);
  font-family: var(--font-serif); font-weight: 700; font-size: 16px;
}
.quote-who b { color: #F3EFE6; font-size: 14px; display: block; }
.quote-who span { color: #93A5C6; font-size: 12px; }

/* ---------- 行动条 ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--ink); }
.cta-band .inner {
  position: relative; text-align: center;
  padding: clamp(56px, 8vw, 96px) 6%;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: url("../images/library.jpg") center / cover no-repeat;
  opacity: .16;
}
.cta-band h2 { color: #F3EFE6; font-size: clamp(1.6rem, 3.2vw, 2.4rem); margin-bottom: 14px; }
.cta-band h2 em { font-style: normal; color: var(--gold-2); }
.cta-band p { color: #A9B7D0; margin-bottom: 32px; }
.cta-band .hero-cta { justify-content: center; animation: none; }

/* ---------- 内页 Banner ---------- */
.page-hero {
  position: relative; padding: clamp(90px, 12vw, 150px) 0 clamp(56px, 7vw, 90px);
  overflow: hidden; background: var(--ink); color: #fff;
}
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 40%; opacity: .34; transform: scale(1.06); animation: kenburns 20s ease-in-out infinite alternate; }
.page-hero .container { position: relative; }
.crumbs { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #93A5C6; margin-bottom: 18px; letter-spacing: 1px; }
.crumbs a:hover { color: var(--gold-2); }
.crumbs .sep { color: var(--gold); }
.crumbs .cur { color: var(--gold-2); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.3rem); letter-spacing: 3px; }
.page-hero .sub { color: #B9C6DE; margin-top: 14px; max-width: 640px; }

/* ---------- 解决方案页：选项卡 ---------- */
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(36px, 5vw, 54px); }
.tab-btn {
  padding: 11px 26px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--white);
  color: var(--muted); font-size: 14.5px; font-weight: 600; letter-spacing: 2px;
  transition: border-color .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.tab-btn:hover { border-color: var(--gold); color: var(--navy); }
.tab-btn[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: var(--gold-2); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: panelIn .55s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* 对比表 */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.compare th, .compare td { padding: 18px 22px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--navy); color: #E8EDF7; font-family: var(--font-serif); letter-spacing: 2px; font-size: 15.5px; }
.compare thead th.hl { background: var(--gold); color: var(--ink); }
.compare td:first-child { font-weight: 600; color: var(--ink); width: 130px; }
.compare .bad { color: #9AA6BC; }
.compare .good { color: var(--ink); }
.compare .good svg, .compare .bad svg { width: 15px; height: 15px; vertical-align: -2px; margin-right: 6px; }
.compare .good svg { stroke: #1E7F4F; }
.compare .bad svg { stroke: #B3453A; }
.compare tr:last-child td { border-bottom: 0; }
.compare tbody tr { transition: background .25s; }
.compare tbody tr:hover { background: rgba(201,164,92,.06); }
.compare tbody tr td.hl { background: rgba(201,164,92,.08); }

/* ---------- 案例筛选 ---------- */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: clamp(32px, 4vw, 48px); }
.filter-chip {
  padding: 10px 24px; border-radius: 999px; font-size: 14px; font-weight: 600; letter-spacing: 2px;
  border: 1.5px solid var(--line); background: var(--white); color: var(--muted);
  transition: border-color .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.filter-chip:hover { border-color: var(--gold); color: var(--navy); }
.filter-chip.active { background: var(--cta); border-color: var(--cta); color: #fff; }
.case-card.hide { display: none; }
.case-card.pop { animation: casePop .5s var(--ease) both; }
@keyframes casePop { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-s); overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.faq-item.open { border-color: rgba(201,164,92,.55); box-shadow: var(--shadow); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; text-align: left; font-weight: 600; font-size: 15.5px; color: var(--ink);
}
.faq-q .ico {
  width: 30px; height: 30px; flex: none; border-radius: 50%;
  border: 1.5px solid var(--gold); display: grid; place-items: center;
  transition: transform .4s var(--ease), background .3s;
}
.faq-q .ico svg { width: 13px; height: 13px; stroke: var(--gold-deep, #A87E2F); transition: stroke .3s; }
.faq-item.open .ico { transform: rotate(135deg); background: var(--gold); }
.faq-item.open .ico svg { stroke: var(--ink); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.faq-a p { padding: 0 24px 22px; color: var(--muted); font-size: 14.5px; }

/* ---------- 流程步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 30px; left: 8%; right: 8%; height: 1.5px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 16px); opacity: .5;
}
.step { text-align: center; position: relative; padding: 0 10px; }
.step-no {
  width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--white); border: 1.5px solid var(--gold);
  display: grid; place-items: center; position: relative; z-index: 1;
  font-family: var(--font-latin); font-size: 21px; color: var(--gold-deep, #A87E2F);
  transition: background .3s, color .3s, transform .3s var(--ease);
}
.step:hover .step-no { background: var(--gold); color: var(--ink); transform: scale(1.1) rotate(-6deg); }
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 13.5px; }

/* ---------- 时间线（关于我们） ---------- */
.timeline { position: relative; max-width: 860px; margin-inline: auto; padding-left: 40px; }
.timeline::before { content: ""; position: absolute; left: 10px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--gold), rgba(201,164,92,.1)); }
.tl-item { position: relative; padding-bottom: clamp(30px, 4vw, 48px); }
.tl-item::before {
  content: ""; position: absolute; left: -36px; top: 8px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--gold);
  transition: background .3s, transform .3s var(--ease);
}
.tl-item:hover::before { background: var(--gold); transform: scale(1.25); }
.tl-year { font-family: var(--font-latin); font-size: 26px; color: var(--gold-deep, #A87E2F); }
.tl-item h3 { font-size: 18px; margin: 4px 0 8px; }
.tl-item p { color: var(--muted); font-size: 14.5px; max-width: 620px; }

/* ---------- 荣誉徽章 ---------- */
.honor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.honor {
  text-align: center; padding: 30px 18px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .3s var(--ease), border-color .3s;
}
.honor:hover { transform: translateY(-6px); border-color: rgba(201,164,92,.55); }
.honor .medal {
  width: 62px; height: 62px; margin: 0 auto 16px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--gold-2), var(--gold) 60%, #9a7a3a);
  display: grid; place-items: center; box-shadow: var(--shadow-gold);
}
.honor .medal svg { width: 28px; height: 28px; stroke: var(--ink); }
.honor b { display: block; font-size: 15px; color: var(--ink); margin-bottom: 4px; }
.honor span { font-size: 12.5px; color: var(--muted); }

/* ---------- 联系表单 ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 5vw, 70px); align-items: start; }
.contact-info h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 18px; }
.contact-info > p { color: var(--muted); margin-bottom: 30px; }
.ci-list { display: grid; gap: 18px; margin-bottom: 34px; }
.ci-list li { display: flex; gap: 16px; align-items: flex-start; }
.ci-list .feat-ico { width: 46px; height: 46px; }
.ci-list b { display: block; font-size: 15px; color: var(--ink); }
.ci-list span { color: var(--muted); font-size: 14px; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 3.4vw, 40px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink); letter-spacing: 1px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 10px;
  border: 1.5px solid var(--line); background: var(--paper); color: var(--text);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); background: var(--white);
  box-shadow: 0 0 0 4px rgba(201,164,92,.15);
}
.form-ok { display: none; text-align: center; padding: 30px 10px; }
.form-ok.show { display: block; animation: panelIn .5s var(--ease); }
.form-ok .ok-ico {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  background: rgba(30,127,79,.12); border: 2px solid #1E7F4F;
  display: grid; place-items: center;
}
.form-ok .ok-ico svg { width: 30px; height: 30px; stroke: #1E7F4F; }
.form-note { grid-column: 1 / -1; font-size: 12.5px; color: var(--muted); }

/* ---------- 页脚 ---------- */
.footer { background: var(--ink); color: #9DB0CF; padding: clamp(60px, 7vw, 90px) 0 0; position: relative; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--gold), transparent 60%); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: clamp(28px, 4vw, 56px); padding-bottom: 54px; }
.footer .brand-name { color: #F3EFE6; }
.footer .brand-name small { color: #7183A5; }
.footer-about { margin: 18px 0 22px; font-size: 14px; line-height: 1.9; max-width: 300px; }
.footer h4 { color: #EAEFF7; font-size: 15.5px; letter-spacing: 3px; margin-bottom: 20px; font-family: var(--font-sans); font-weight: 600; }
.footer-links { display: grid; gap: 11px; }
.footer-links a { font-size: 14px; transition: color .25s, padding-left .25s; }
.footer-links a:hover { color: var(--gold-2); padding-left: 6px; }
.footer-ci { display: grid; gap: 14px; font-size: 14px; }
.footer-ci li { display: flex; gap: 10px; align-items: flex-start; }
.footer-ci svg { width: 15px; height: 15px; stroke: var(--gold); flex: none; margin-top: 4px; }
.footer-bar {
  border-top: 1px solid rgba(157,176,207,.15);
  padding: 20px 0; font-size: 12.5px;
}
.footer-bar .container { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

/* ---------- AI 浮窗 ---------- */
.ai-fab {
  position: fixed; right: 26px; bottom: 26px; z-index: 900;
  width: 62px; height: 62px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cta), #7C3305);
  display: grid; place-items: center;
  box-shadow: 0 16px 34px -10px rgba(180,83,9,.6);
  transition: transform .3s var(--ease);
}
.ai-fab:hover { transform: scale(1.08) rotate(-6deg); }
.ai-fab svg { width: 27px; height: 27px; stroke: #fff; }
.ai-fab::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid rgba(180,83,9,.45); animation: ring 2.2s var(--ease) infinite; }
@keyframes ring { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.ai-fab .tip {
  position: absolute; right: 74px; white-space: nowrap;
  background: var(--ink); color: var(--gold-2);
  font-size: 12.5px; padding: 8px 14px; border-radius: 8px;
  letter-spacing: 1px; opacity: 0; transform: translateX(8px);
  transition: opacity .3s, transform .3s; pointer-events: none;
}
.ai-fab:hover .tip { opacity: 1; transform: none; }

.ai-panel {
  position: fixed; right: 26px; bottom: 102px; z-index: 950;
  width: min(380px, calc(100vw - 32px));
  height: min(560px, calc(100svh - 140px));
  background: var(--white); border-radius: 20px;
  border: 1px solid var(--line); box-shadow: 0 30px 80px -20px rgba(11,24,48,.4);
  display: flex; flex-direction: column; overflow: hidden;
  transform-origin: bottom right;
  transform: translateY(16px) scale(.96); opacity: 0; visibility: hidden;
  transition: transform .35s var(--ease), opacity .3s, visibility .3s;
}
.ai-panel.open { transform: none; opacity: 1; visibility: visible; }
.ai-panel-head {
  background: var(--ink); color: #fff; padding: 16px 20px;
  display: flex; align-items: center; gap: 12px;
}
.ai-panel-head .ai-avatar { width: 36px; height: 36px; border-radius: 10px; }
.ai-panel-head b { font-size: 14.5px; display: block; line-height: 1.35; }
.ai-panel-head small { color: #8FE3B4; font-size: 11px; }
.ai-panel-head .close {
  margin-left: auto; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; transition: background .25s;
}
.ai-panel-head .close:hover { background: rgba(255,255,255,.12); }
.ai-panel-head .close svg { width: 16px; height: 16px; stroke: #fff; }
.ai-panel-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 18px 16px; display: grid; gap: 12px; align-content: start; background: var(--paper); }
.ai-panel-body .ai-msg { opacity: 1; animation: msgIn .4s var(--ease); }
.ai-panel-body .ai-msg.user { background: var(--navy); color: #fff; }
.ai-panel-body .ai-msg.bot { background: var(--white); color: var(--text); border: 1px solid var(--line); }
.ai-chips { padding: 10px 14px 4px; display: flex; flex-wrap: wrap; gap: 8px; background: var(--paper); }
.chip {
  font-size: 12.5px; padding: 7px 14px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line); color: var(--muted);
  transition: border-color .25s, color .25s, background .25s;
}
.chip:hover { border-color: var(--gold); color: var(--navy); background: rgba(201,164,92,.1); }
.ai-input-row { display: flex; gap: 10px; padding: 12px 14px; background: var(--white); border-top: 1px solid var(--line); }
.ai-input-row input {
  flex: 1; padding: 11px 15px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--paper); font-size: 14px;
}
.ai-input-row input:focus { outline: none; border-color: var(--gold); background: #fff; }
.ai-send {
  width: 44px; height: 44px; flex: none; border-radius: 50%;
  background: var(--cta); display: grid; place-items: center;
  transition: background .25s, transform .25s var(--ease);
}
.ai-send:hover { background: var(--cta-hover); transform: scale(1.06); }
.ai-send svg { width: 18px; height: 18px; stroke: #fff; }

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed; right: 26px; bottom: 102px; z-index: 890;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--line);
  display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .35s var(--ease), visibility .35s, transform .35s var(--ease), background .25s, border-color .25s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--navy); border-color: var(--navy); }
.to-top:hover svg { stroke: var(--gold-2); }
.to-top svg { width: 18px; height: 18px; stroke: var(--navy); transition: stroke .25s; }

/* ---------- 滚动显现 ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.reveal-l { opacity: 0; transform: translateX(-44px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal-l.in { opacity: 1; transform: none; }
.reveal-r { opacity: 0; transform: translateX(44px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal-r.in { opacity: 1; transform: none; }

/* ---------- 移动端底部快捷条 ---------- */
.mobile-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 920;
  background: rgba(11,24,48,.96); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line-dark);
  grid-template-columns: 1fr 1fr;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.mobile-bar a, .mobile-bar button {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; font-size: 14.5px; font-weight: 600; letter-spacing: 1px; color: #EAEFF7;
}
.mobile-bar a svg, .mobile-bar button svg { width: 17px; height: 17px; stroke: var(--gold-2); }
.mobile-bar > * + * { border-left: 1px solid var(--line-dark); background: var(--cta); }
.mobile-bar > * + * svg { stroke: #fff; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .svc-grid, .sol-grid, .case-grid, .quote-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid, .honor-grid { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .cap-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .ai-card { max-width: 520px; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .split.rev .split-media { order: 0; }
  .split-media::before { inset: 18px -14px -14px 18px; }
  .contact-wrap { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .honor-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .topbar .topbar-list .topbar-item:nth-child(n+2) { display: none; }
  .nav-links, .nav-actions .btn { display: none; }
  .burger { display: grid; }
  .hero { min-height: auto; }
  .hero-title { letter-spacing: 1px; }
  .hero-meta { flex-wrap: wrap; gap: 18px; }
  .hero-meta .m { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-dark); padding-top: 12px; flex: 1 1 40%; }
  .svc-grid, .sol-grid, .case-grid, .quote-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .compare th, .compare td { padding: 14px 12px; font-size: 13px; }
  .compare td:first-child { width: 76px; }
  .mobile-bar { display: grid; }
  body { padding-bottom: 56px; }
  .ai-fab { right: 18px; bottom: 74px; width: 56px; height: 56px; }
  .to-top { right: 18px; bottom: 146px; }
  .ai-panel { right: 16px; bottom: 148px; height: min(520px, calc(100svh - 200px)); }
  .scroll-hint { display: none; }
  .vertical-motto { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
}

/* 移动端全屏抽屉菜单 */
.drawer {
  position: fixed; inset: 0; z-index: 990;
  background: rgba(11,24,48,.98); backdrop-filter: blur(12px);
  display: grid; place-items: center;
  overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
}
.drawer.open { opacity: 1; visibility: visible; }
.drawer-close {
  position: absolute; top: 22px; right: 22px;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-dark); display: grid; place-items: center;
}
.drawer-close svg { width: 18px; height: 18px; stroke: var(--gold-2); }
.drawer nav { display: grid; gap: 8px; text-align: center; }
.drawer nav a {
  font-family: var(--font-serif); font-size: 26px; letter-spacing: 8px;
  color: #EAEFF7; padding: 12px 30px;
  opacity: 0; transform: translateY(18px);
  transition: opacity .45s var(--ease), transform .45s var(--ease), color .25s;
}
.drawer.open nav a { opacity: 1; transform: none; transition-delay: calc(.06s * var(--i, 0)); }
.drawer nav a:hover, .drawer nav a.active { color: var(--gold-2); }
.drawer-foot { margin-top: 30px; color: #7183A5; font-size: 13px; letter-spacing: 3px; text-align: center; }

/* ---------- 减弱动态 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .hero-title .line > span { transform: none; animation: none; }
  .reveal, .reveal-l, .reveal-r { opacity: 1; transform: none; }
  .loader { display: none; }
}
