/* =========================================================
   星轨科技 OrbitTech — 企业官网样式
   设计系统 / 全局样式 / 响应式
   ========================================================= */

/* ---------- 设计变量 ---------- */
:root {
  --primary: #2563eb;
  --primary-600: #1d4ed8;
  --primary-700: #1e40af;
  --ink: #0b1220;
  --ink-2: #111c33;
  --text: #1e293b;
  --muted: #64748b;
  --line: #e7ecf3;
  --bg: #ffffff;
  --bg-soft: #f6f9ff;
  --bg-dark: #0b1220;
  --bg-darker: #070d18;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 4px 16px rgba(15, 23, 42, .06);
  --shadow: 0 18px 50px rgba(15, 23, 42, .10);
  --shadow-lg: 0 30px 80px rgba(15, 23, 42, .16);
  --grad: linear-gradient(135deg, #2f6bff 0%, #1d4ed8 100%);
  --grad-soft: linear-gradient(135deg, #eef3ff 0%, #e2ecff 100%);
  --maxw: 1200px;
  /* 语义色（浅色面状态用） */
  --success: #16a34a; --success-bg: #e6f7ee;
  --danger: #ef4444; --danger-bg: #fee2e2;
  --info: #06b6d4;
  /* 间距刻度（4px 基数）：s1..s10 */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px;
  --s5: 20px; --s6: 24px; --s7: 32px; --s8: 40px; --s9: 56px; --s10: 96px;
  --font: "HarmonyOS Sans SC", "MiSans", "Source Han Sans SC", "Noto Sans SC",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei",
    system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  /* 拉丁 display 字体在前，CJK 回退系统栈 */
  --font-display: "Space Grotesk", var(--font);
}

/* ---------- 自托管拉丁 display 字体（CJK 回退系统栈） ---------- */
@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/space-grotesk-var.woff2") format("woff2-variations");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- 基础重置 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; scrollbar-color: #b9c8e2 #f2f6fd; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  accent-color: var(--primary);
}
/* 浏览器表面：文本选中 / 滚动条 / 光标（craft 检查项） */
::selection { background: var(--primary); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: #b9c8e2; border-radius: 8px; border: 2px solid var(--bg-soft); }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.25; color: var(--ink); font-weight: 800; letter-spacing: -.01em; text-wrap: balance; }
p { text-wrap: pretty; }
section { position: relative; }

.container { width: min(var(--maxw), 92%); margin-inline: auto; }
.section { padding: var(--s10) 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto var(--s9); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700; letter-spacing: .12em;
  color: var(--primary); text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
  background: linear-gradient(135deg, #eef3ff, #e2ecff);
}
.section-head h2 { font-size: clamp(26px, 3.4vw, 40px); margin: var(--s4) 0 var(--s3); }
.section-head p { color: var(--muted); font-size: 17px; max-width: 58ch; margin-inline: auto; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 15px;
  cursor: pointer; border: 1px solid transparent; transition: .25s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px rgba(37, 99, 235, .35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(37, 99, 235, .45); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .25); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); }
.btn-outline { background: #fff; color: var(--primary); border-color: var(--line); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary-600); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); }
/* 键盘可达性：统一焦点样式（鼠标点击不触发） */
a:focus-visible, .btn:focus-visible, .faq-q:focus-visible, .case-filter button:focus-visible, .hamburger:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 8px; }

/* 跳转到主要内容（键盘用户） */
.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 300;
  background: var(--ink); color: #fff; padding: 10px 18px;
  border-radius: 10px; font-weight: 700; font-size: 14px;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- 顶部导航 ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; padding: 0 5%;
  background: rgba(255, 255, 255, .78); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(231, 236, 243, .8);
  transition: .3s ease;
}
.nav.scrolled { box-shadow: var(--shadow-sm); height: 64px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 800; font-size: 19px; color: var(--ink); }
.brand .logo { width: 34px; height: 34px; flex: 0 0 auto; }
.brand .sub { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .08em; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 9px 15px; border-radius: 10px; font-weight: 600; font-size: 15px;
  color: var(--text); transition: .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); background: var(--bg-soft); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.hamburger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: 150px 0 110px; color: #fff; overflow: hidden;
  background: radial-gradient(1200px 600px at 70% -10%, rgba(59, 130, 246, .40), transparent 60%),
    radial-gradient(900px 500px at 10% 10%, rgba(96, 165, 250, .20), transparent 55%),
    linear-gradient(160deg, #0b1220 0%, #0e1730 60%, #111c33 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 40%, transparent 80%);
  animation: gridfloat 18s linear infinite;
}
@keyframes gridfloat { from { background-position: 0 0; } to { background-position: 48px 48px; } }
.hero .glow {
  position: absolute; width: 480px; height: 480px; border-radius: 50%;
  filter: blur(80px); opacity: .55;
}
.hero .glow.a { background: #2563eb; top: -120px; left: -80px; }
.hero .glow.b { background: #3b82f6; bottom: -160px; right: -60px; }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px;
  border-radius: 999px; font-size: 13px; font-weight: 600; color: #cfe0ff;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .15);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #38bdf8; box-shadow: 0 0 10px #38bdf8; }
.hero h1 { font-size: clamp(34px, 5vw, 60px); color: #fff; margin: 22px 0 18px; letter-spacing: -.01em; }
.hero h1 .grad-text { background: none; color: #60a5fa; }
.hero p.lead { color: #b9c6de; font-size: 18px; max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; margin-top: 46px; flex-wrap: wrap; }
.hero-stats .num { font-size: 34px; font-weight: 800; color: #fff; }
.hero-stats .num span { color: #38bdf8; }
.hero-stats .label { font-size: 13px; color: #93a4c4; }

/* Hero 焦点入场：一个编排好的错峰序列（纯 CSS，默认可见；减弱动效时跳过） */
.hero-text > * { animation: heroIn .7s cubic-bezier(.16, 1, .3, 1) both; }
.hero-text > *:nth-child(1) { animation-delay: .08s; }
.hero-text > *:nth-child(2) { animation-delay: .18s; }
.hero-text > *:nth-child(3) { animation-delay: .28s; }
.hero-text > *:nth-child(4) { animation-delay: .38s; }
.hero-text > *:nth-child(5) { animation-delay: .48s; }
.hero-visual { animation: heroIn .9s cubic-bezier(.16, 1, .3, 1) .45s both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* 统计数字：动效计数的用系统栈 + 等宽数字（不抖动宽度）；静态数字用 display 字体 */
.num, .stat-box .n, .earn-box .v { font-variant-numeric: tabular-nums; }
.case-metric .v, .case-detail-metrics .v, .tl-year, .cond-card .price {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
}

/* Hero 视觉卡 */
.hero-visual { position: relative; }
.float-card {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px; padding: 20px; backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
}
.float-card .row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.float-card .row:last-child { border-bottom: 0; }
.float-card .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); font-size: 20px; }
.float-card .t { color: #fff; font-weight: 700; font-size: 15px; }
.float-card .d { color: #9fb0cf; font-size: 13px; }
.float-card .orb { animation: floaty 5s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* 合作伙伴条 */
.logos { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); padding: 26px 0; }
.logos .container { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; }
.logos .label { color: var(--muted); font-size: 14px; font-weight: 600; }
.logos .chip { padding: 8px 18px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-weight: 700; color: var(--ink); font-size: 15px; }

/* ---------- 通用卡片 ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); transition: .3s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #d8e3ff; }
/* 卡片上浮统一使用指数缓出，避免生硬 */
.card, .svc-card, .case-card, .sup-card, .value-card, .news-card, .news-feature,
.step, .stat-box, .info-item, .branch, .join-card, .cond-card, .team-card,
.float-card { transition-timing-function: cubic-bezier(.16, 1, .3, 1); }

/* 关于 / 数据 */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-visual { position: relative; border-radius: 24px; padding: 40px; background: var(--grad-soft); border: 1px solid #e3e9ff; min-height: 360px; display: grid; place-items: center; overflow: hidden; }
.about-visual .bignum { font-size: 90px; font-weight: 900; color: var(--primary); line-height: 1; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 8px; }
.stat-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px; }
.stat-box .n { font-size: 30px; font-weight: 800; color: var(--primary); }
.stat-box .t { color: var(--muted); font-size: 14px; }
.about-text h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 16px; }
.about-text p { color: var(--muted); margin-bottom: 18px; }
.feature-list { display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; }
.feature-list .ck { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; background: var(--success-bg); color: var(--success); display: grid; place-items: center; font-size: 13px; font-weight: 800; margin-top: 3px; }
.feature-list .ft { font-weight: 700; color: var(--ink); }
.feature-list .fd { color: var(--muted); font-size: 14px; }

/* ---------- 服务 ---------- */
.services { background: var(--bg-soft); }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.svc-card { position: relative; overflow: hidden; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; transition: .35s; }
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: #d8e3ff; }
.svc-icon { width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center; font-size: 30px; color: #fff; background: var(--grad); box-shadow: 0 12px 28px rgba(37, 99, 235, .3); margin-bottom: 20px; transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.svc-card:hover .svc-icon { transform: scale(1.08) rotate(-4deg); }
.svc-card .svc-link { margin-top: auto; }
/* 主打卡：浅色渐变高亮（四等分布局下不再跨行） */
.svc-card.featured { background: linear-gradient(180deg, #fff 0%, #f4f8ff 100%); border-color: #d6e6ff; }
.svc-card.featured .svc-icon { width: 72px; height: 72px; font-size: 34px; }
.svc-card.featured h3 { font-size: 26px; }
.svc-card.featured .desc { font-size: 16px; }
.svc-card h3 { font-size: 22px; margin-bottom: 10px; }
.svc-card .desc { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.svc-card h4 { font-size: 14px; color: var(--primary); margin: 18px 0 10px; letter-spacing: .04em; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.tag { font-size: 12.5px; padding: 5px 12px; border-radius: 999px; background: var(--bg-soft); color: var(--ink); border: 1px solid var(--line); font-weight: 600; }
.tag.adv { background: #eef6ff; color: var(--primary-600); border-color: #d6e6ff; }
.svc-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 700; color: var(--primary); font-size: 14px; }

/* ---------- 流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.step .idx { width: 46px; height: 46px; border-radius: 14px; background: var(--grad); color: #fff; font-weight: 800; font-size: 20px; display: grid; place-items: center; margin-bottom: 16px; }
.step h4 { font-size: 17px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; }
.step:not(:last-child)::after { content: "→"; position: absolute; right: -16px; top: 48px; color: #c3cfe6; font-size: 22px; font-weight: 800; }

/* ---------- 案例 / 评价 ---------- */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); transition: .3s; }
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.case-card .more { margin-top: 16px; display: inline-block; color: var(--primary); font-weight: 700; font-size: 14px; }
.case-card:hover .more { text-decoration: underline; }
.case-thumb { height: 150px; background: radial-gradient(120px 90px at 82% 0%, rgba(255,255,255,.16), transparent 60%), var(--grad); position: relative; display: grid; place-items: center; color: #fff; overflow: hidden; }
/* 星轨母题：封面右上角的轨道环 */
.case-thumb::after, .news-card .cover::after, .news-feature .cover::after { content: ""; position: absolute; width: 110px; height: 110px; border-radius: 50%; border: 1.5px dashed rgba(255, 255, 255, .22); right: -28px; top: -34px; pointer-events: none; }
/* 浅色封面（新闻卡）换蓝色调轨道环 */
.news-card .cover::after { border-color: rgba(37, 99, 235, .28); }
.case-thumb .emoji { font-size: 46px; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .25)); }
.case-thumb .cat { position: absolute; left: 16px; bottom: 14px; font-size: 12px; font-weight: 700; background: rgba(0, 0, 0, .25); padding: 4px 12px; border-radius: 999px; backdrop-filter: blur(4px); }
.case-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.case-body h4 { font-size: 18px; margin-bottom: 8px; }
.case-body p { color: var(--muted); font-size: 14px; margin-bottom: 14px; flex: 1; }
.case-metric { display: flex; gap: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.case-metric .m .v { font-size: 20px; font-weight: 800; color: var(--primary); }
.case-metric .m .k { font-size: 12px; color: var(--muted); }

.reviews { background: var(--bg-soft); }
.review-grid { columns: 3; column-gap: 22px; }
.review-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); margin-bottom: 22px; break-inside: avoid; }
.review-card .stars { color: #f59e0b; letter-spacing: 2px; margin-bottom: 12px; }
.review-card p { color: var(--text); font-size: 15px; margin-bottom: 18px; }
.review-card .who { display: flex; align-items: center; gap: 12px; }
.review-card .avatar { width: 44px; height: 44px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; font-weight: 800; color: #fff; }
.review-card .who .name { font-weight: 700; color: var(--ink); }
.review-card .who .role { font-size: 13px; color: var(--muted); }

/* ---------- CTA 条 ---------- */
.cta-band { background: var(--grad); color: #fff; border-radius: 28px; padding: 54px 50px; text-align: center; position: relative; overflow: hidden; }
/* 星轨母题：CTA 两侧的轨道环装饰 */
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 50%; border: 1.5px dashed rgba(255, 255, 255, .16); pointer-events: none; }
.cta-band::before { width: 300px; height: 300px; right: -90px; top: -120px; }
.cta-band::after { width: 190px; height: 190px; left: -60px; bottom: -80px; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.5vw, 38px); margin-bottom: 14px; }
.cta-band p { color: #e6ecff; max-width: 560px; margin: 0 auto 26px; }
.cta-band .btn-ghost { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .4); }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, .28); }

/* ---------- 联系 / 表单 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: start; }
.contact-info h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 16px; }
.contact-info p { color: var(--muted); margin-bottom: 26px; }
.info-list { display: grid; gap: 16px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-soft); }
.info-item .ic { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 12px; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 20px; }
.info-item .k { font-weight: 700; color: var(--ink); }
.info-item .v { color: var(--muted); font-size: 14px; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 7px; color: var(--ink); }
.field label .req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; color: var(--text); background: #fff; transition: .2s; caret-color: var(--primary);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, .14); }
.field textarea { resize: vertical; min-height: 110px; }
.field .err { color: var(--danger); font-size: 12.5px; margin-top: 5px; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.field.invalid .err { display: block; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 4px; }
.form-card button[type="submit"] { width: 100%; }
.side-list .btn { width: 100%; }
.cta-band .hero-actions, .agent-hero .hero-actions { justify-content: center; }
.section-soft { background: var(--bg-soft); }

/* 内联样式收敛为类（redesign 清理） */
.about-fig { text-align: center; }
.bignum .unit { font-size: 40px; }
.fig-caption { color: var(--muted); max-width: 300px; margin: 10px auto 0; }
.side-list + .side-list { margin-top: 22px; }
.side-list .tip { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.map-box .title { margin-top: 10px; font-weight: 700; color: #fff; }
.map-box .addr { font-size: 13px; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 32px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 12px; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: .35s; z-index: 200; display: flex; align-items: center; gap: 10px; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast .ok { width: 22px; height: 22px; border-radius: 50%; background: #22c55e; display: grid; place-items: center; font-size: 13px; }

/* ---------- 页脚 ---------- */
.footer { background: var(--bg-darker); color: #aebbd4; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 36px; }
.footer .brand { color: #fff; margin-bottom: 16px; }
.footer p.about { font-size: 14px; max-width: 320px; }
.footer h5 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: #aebbd4; font-size: 14px; transition: .2s; }
.footer ul a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: #7e8cab; }

/* ---------- 滚动揭示（渐进增强：无 JS / 减弱动效时始终可见） ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s cubic-bezier(.16, 1, .3, 1), transform .6s cubic-bezier(.16, 1, .3, 1); }
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
/* 禁用脚本：直接显示，避免内容永久不可见 */
@media (scripting: none) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-text > *, .hero-visual, .hero-grid, .float-card.orb { animation: none !important; }
  .card, .svc-card, .case-card, .sup-card, .value-card, .news-card, .news-feature,
  .step, .stat-box, .info-item, .branch, .join-card, .cond-card, .team-card,
  .float-card, .btn, .faq-ic, .faq-a, .faq-item, .nav, .nav-links, .hamburger span { transition: none !important; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   代理招商页 agent.html 专用
   ========================================================= */
.agent-hero {
  position: relative; padding: 150px 0 100px; color: #fff; overflow: hidden;
  background: radial-gradient(1000px 520px at 80% -20%, rgba(59, 130, 246, .44), transparent 60%),
    radial-gradient(800px 460px at 0% 0%, rgba(96, 165, 250, .24), transparent 55%),
    linear-gradient(160deg, #0b1220, #111c33 70%);
}
.agent-hero .container { position: relative; z-index: 2; text-align: center; }
.agent-hero h1 { font-size: clamp(34px, 5vw, 56px); color: #fff; margin: 18px 0 16px; }
.agent-hero p.lead { color: #b9c6de; font-size: 18px; max-width: 640px; margin: 0 auto 30px; }
.agent-hero .badges { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.agent-hero .badge { padding: 9px 18px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); font-size: 14px; font-weight: 600; }

.pill-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.pill { padding: 8px 16px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-weight: 700; font-size: 14px; color: var(--ink); }

/* 加盟对象双卡 */
.join-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.join-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; background: #fff; box-shadow: var(--shadow-sm); }
.join-card.highlight { background: var(--grad-soft); border-color: #d8e3ff; }
.join-card .jh { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.join-card .jh .ic { width: 54px; height: 54px; border-radius: 14px; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 26px; }
.join-card h3 { font-size: 22px; }
.join-card .jt { color: var(--muted); margin-bottom: 18px; }
.join-card ul li { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); color: var(--text); font-size: 15px; }
.join-card ul li:last-child { border-bottom: 0; }
.join-card ul li .ck { color: var(--success); font-weight: 800; }

/* 条件表 */
.cond-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cond-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: #fff; }
.cond-card .lv { display: inline-block; font-size: 13px; font-weight: 800; padding: 5px 14px; border-radius: 999px; margin-bottom: 14px; }
.cond-card.l1 .lv { background: var(--success-bg); color: var(--success); }
.cond-card.l2 .lv { background: #eef3ff; color: var(--primary); }
.cond-card.l3 .lv { background: #e0eaff; color: var(--primary-700); }
.cond-card h4 { font-size: 19px; margin-bottom: 12px; }
.cond-card ul li { font-size: 14px; color: var(--text); padding: 7px 0; border-bottom: 1px dashed var(--line); display: flex; gap: 8px; }
.cond-card ul li:last-child { border-bottom: 0; }
.cond-card .price { margin-top: 16px; font-weight: 800; color: var(--primary); }

/* 支持政策 */
.support { background: var(--bg-soft); }
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sup-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: .3s; }
.sup-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.sup-card .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--grad-soft); border: 1px solid #e3e9ff; display: grid; place-items: center; font-size: 26px; margin-bottom: 16px; }
.sup-card h4 { font-size: 18px; margin-bottom: 8px; }
.sup-card p { color: var(--muted); font-size: 14px; }

/* 收益（与 support 形成浅色面↔白卡的正反对调节奏） */
.earn { background: #fff; }
.earn-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.earn-box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-align: center; }
.earn-box .v { font-size: 38px; font-weight: 900; color: var(--primary); }
.earn-box .k { color: var(--muted); font-size: 14px; margin-top: 6px; }
.earn-note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 26px; }

/* 流程（招商） */
.agent-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.agent-step { text-align: center; padding: 24px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; position: relative; }
.agent-step .n { width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; display: grid; place-items: center; margin: 0 auto 12px; }
.agent-step h4 { font-size: 16px; margin-bottom: 6px; }
.agent-step p { font-size: 13px; color: var(--muted); }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 18px 22px; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { font-size: 22px; color: var(--primary); transition: .3s; }
.faq-item[open] summary .plus { transform: rotate(45deg); }
.faq-item .ans { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .svc-grid, .cases-grid, .cond-grid, .support-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-card.featured { grid-column: 1 / -1; grid-row: auto; }
  .review-grid { columns: 2; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps .step::after { display: none; }
  .earn-grid { grid-template-columns: repeat(2, 1fr); }
  .agent-steps { grid-template-columns: repeat(3, 1fr); }
  .join-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .section { padding: 64px 0; }
  .nav-links { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 14px; box-shadow: var(--shadow); transform: translateY(-130%); transition: .3s; border-top: 1px solid var(--line); }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 13px 14px; }
  .nav-cta .btn-outline { display: none; }
  .hamburger { display: flex; }
  .svc-grid, .cases-grid, .cond-grid, .support-grid, .earn-grid, .agent-steps, .footer-grid, .stat-grid, .form-row { grid-template-columns: 1fr; }
  .review-grid { columns: 1; }
  .hero-stats { gap: 22px; }
  .cta-band { padding: 40px 24px; }
  .form-card { padding: 24px; }
}

/* =========================================================
   新独立页面专用样式
   ========================================================= */

/* 子页通用 Hero（深色） */
.subhero {
  position: relative; padding: 140px 0 84px; color: #fff; overflow: hidden;
  background: radial-gradient(900px 460px at 80% -20%, rgba(59, 130, 246, .42), transparent 60%),
    radial-gradient(720px 420px at 0% 0%, rgba(96, 165, 250, .22), transparent 55%),
    linear-gradient(160deg, #0b1220, #111c33 70%);
}
.subhero .container { position: relative; z-index: 2; }
.subhero .eyebrow { background: rgba(255,255,255,.08); color: #cfe0ff; }
.subhero h1 { color: #fff; font-size: clamp(30px, 4.4vw, 50px); margin: 16px 0 12px; }
.subhero p.lead { color: #b9c6de; font-size: 18px; max-width: 640px; }
.subhero .crumbs { font-size: 13px; color: #93a4c4; margin-bottom: 14px; }
.subhero .crumbs a:hover { color: #fff; }

/* 关于我们：使命愿景价值观 */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: #fff; box-shadow: var(--shadow-sm); transition: .3s; }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value-card .ic { width: 54px; height: 54px; border-radius: 14px; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 26px; margin-bottom: 16px; }
.value-card h3 { font-size: 20px; margin-bottom: 8px; }
.value-card p { color: var(--muted); font-size: 14.5px; }

/* 关于我们：发展历程时间线 */
.timeline { position: relative; max-width: 880px; margin: 0 auto; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--primary), var(--primary-700)); }
.tl-item { position: relative; padding: 0 0 30px 28px; }
.tl-item::before { content: ""; position: absolute; left: -24px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--line); }
.tl-year { font-weight: 800; color: var(--primary); font-size: 17px; }
.tl-title { font-weight: 700; color: var(--ink); margin: 2px 0 4px; }
.tl-desc { color: var(--muted); font-size: 14.5px; }

/* 关于我们：团队文化 */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; text-align: center; box-shadow: var(--shadow-sm); }
.team-card .ava { height: 130px; background: var(--grad); display: grid; place-items: center; color: #fff; font-size: 42px; }
.team-card .body { padding: 18px; }
.team-card h4 { font-size: 17px; }
.team-card .role { color: var(--primary); font-size: 13px; font-weight: 700; }
.team-card .bio { color: var(--muted); font-size: 13px; margin-top: 6px; }

/* 产品服务：详情块 */
.prod-block { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--line); }
.prod-block:last-of-type { border-bottom: 0; }
.prod-block.reverse .prod-media { order: 2; }
.prod-media { border-radius: var(--radius); padding: 40px; background: var(--grad-soft); border: 1px solid #e3e9ff; min-height: 280px; display: grid; place-items: center; font-size: 68px; }
.prod-text h3 { font-size: 26px; margin-bottom: 10px; }
.prod-text .lead { color: var(--muted); margin-bottom: 16px; }
.prod-list { display: grid; gap: 11px; margin: 16px 0; }
.prod-list li { display: flex; gap: 10px; font-size: 15px; }
.prod-list .ck { color: var(--success); font-weight: 800; flex: 0 0 auto; }
.prod-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.prod-num { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 12px; background: var(--grad); color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 14px; }

/* 客户案例：筛选 + 网格 */
.case-filter { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 38px; }
.case-filter button { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; cursor: pointer; transition: .2s; color: var(--text); font-size: 14px; }
.case-filter button.active, .case-filter button:hover { background: var(--grad); color: #fff; border-color: transparent; }

/* 新闻资讯 */
.news-feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; text-decoration: none; color: inherit; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); margin-bottom: 40px; transition: .3s; }
.news-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-feature .cover { min-height: 300px; background: var(--grad); display: grid; place-items: center; color: #fff; font-size: 64px; }
.news-feature .body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.news-feature h3 { font-size: 26px; margin: 12px 0 12px; }
.news-feature p { color: var(--muted); margin-bottom: 18px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); transition: .3s; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.news-card .cover { height: 150px; background: var(--grad-soft); display: grid; place-items: center; font-size: 40px; border-bottom: 1px solid var(--line); }
.news-card .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.news-meta { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; display: flex; gap: 10px; align-items: center; }
.news-cat { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #eef3ff; color: var(--primary-600); }
.news-card h4 { font-size: 17px; margin-bottom: 8px; line-height: 1.4; }
.news-card p { color: var(--muted); font-size: 14px; flex: 1; }
.news-card .more { margin-top: 14px; color: var(--primary); font-weight: 700; font-size: 14px; }
.side-list { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; box-shadow: var(--shadow-sm); }
.side-list h4 { font-size: 18px; margin-bottom: 14px; }
.side-list li { padding: 0; border: 0; display: block; }
.side-list li:last-child { border-bottom: 0; }
.side-list .d { font-size: 12px; color: var(--muted); flex: 0 0 auto; width: 64px; }
.side-list .t { font-size: 14.5px; color: var(--text); font-weight: 600; }
.news-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }

/* 联系我们：分支 + 地图 */
.branch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.branch { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px; background: #fff; box-shadow: var(--shadow-sm); }
.branch h4 { font-size: 17px; margin-bottom: 8px; }
.branch p { color: var(--muted); font-size: 14px; }
.map-box { height: 340px; border-radius: var(--radius); background: linear-gradient(135deg, #0b1220, #111c33); position: relative; overflow: hidden; display: grid; place-items: center; color: #cdd8ee; text-align: center; }
.map-box .pin { font-size: 46px; }
.map-box .note { position: absolute; bottom: 16px; font-size: 12px; color: #93a4c4; }

/* =========================================================
   新页面响应式
   ========================================================= */
@media (max-width: 1024px) {
  .value-grid, .news-grid, .branch-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .news-feature, .prod-block, .news-layout { grid-template-columns: 1fr; }
  .prod-block.reverse .prod-media { order: 0; }
}
@media (max-width: 680px) {
  .value-grid, .news-grid, .branch-grid, .team-grid { grid-template-columns: 1fr; }
  .subhero { padding: 120px 0 64px; }
}

/* =========================================================
   文章 / 案例 详情页
   ========================================================= */
.article-meta { margin-top: 16px; font-size: 14px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.article-meta span + span::before { content: "·"; margin-right: 8px; color: var(--line); }

.article-main { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 44px 48px; box-shadow: var(--shadow-sm); }
.article-cover { width: 96px; height: 96px; border-radius: 22px; background: var(--grad); display: grid; place-items: center; font-size: 48px; margin-bottom: 24px; box-shadow: var(--shadow); }
.article-lead { font-size: 18px; line-height: 1.8; color: var(--ink); background: var(--bg-soft); padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 28px; font-weight: 500; }
.article-main h3 { font-size: 22px; margin: 30px 0 14px; color: var(--ink); }
.article-main p { color: var(--text); line-height: 1.9; margin-bottom: 18px; font-size: 16px; }
.article-main ul { margin: 0 0 20px; padding-left: 0; list-style: none; }
.article-main ul li { position: relative; padding-left: 26px; margin-bottom: 12px; line-height: 1.8; color: var(--text); font-size: 16px; }
.article-main ul li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 8px; height: 8px; border-radius: 2px; background: var(--grad); }
.article-main blockquote { margin: 26px 0; padding: 20px 24px; background: linear-gradient(135deg, rgba(37,99,235,.05), rgba(59,130,246,.05)); border: 1px solid rgba(37, 99, 235, .18); border-radius: var(--radius-sm); color: var(--ink); font-size: 17px; line-height: 1.85; font-style: italic; }
.article-main a { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
.article-main a:hover { color: var(--primary-600); }

/* 案例详情：指标行 */
.case-detail-metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 8px 0 28px; }
.case-detail-metrics .cm { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px; background: var(--bg-soft); text-align: center; }
.case-detail-metrics .cm .v { font-size: 32px; font-weight: 800; color: var(--primary); }
.case-detail-metrics .cm .k { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* 侧栏相关链接 */
.side-list a { display: flex; gap: 10px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); transition: .2s; }
.side-list a:last-child { border-bottom: none; }
.side-list a:hover { color: var(--primary); }
.side-list a .e { font-size: 18px; line-height: 1.4; }
.side-list a .tt { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.45; }
.side-list a .ts { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }

/* 未找到 */
.not-found { text-align: center; padding: 60px 20px; }
.not-found .nf-emoji { font-size: 56px; margin-bottom: 12px; }
.not-found h3 { font-size: 24px; margin-bottom: 10px; color: var(--ink); }
.not-found p { color: var(--muted); margin-bottom: 24px; }

@media (max-width: 1024px) {
  .article-main { padding: 32px 28px; }
}
@media (max-width: 680px) {
  .article-cover { width: 72px; height: 72px; font-size: 36px; }
  .article-lead { font-size: 16px; }
  .article-main p, .article-main ul li { font-size: 15px; }
  .case-detail-metrics { grid-template-columns: 1fr; }
}

/* ---------- FAQ 常见问题（手风琴） ---------- */
.faq-list { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; overflow: hidden;
  transition: border-color .25s, background-color .25s;
}
.faq-item:hover { border-color: #d8e3ff; }
.faq-item.open { border-color: rgba(37, 99, 235, .42); background: linear-gradient(180deg, #fbfdff, #f6f9ff); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 24px; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: inherit; font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.5;
  transition: color .2s;
}
.faq-q:hover { color: var(--primary); }
.faq-ic { position: relative; flex: 0 0 auto; width: 22px; height: 22px; transition: transform .35s ease; }
.faq-ic::before, .faq-ic::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: var(--primary); border-radius: 2px;
  transform: translate(-50%, -50%);
}
.faq-ic::before { width: 16px; height: 2px; }
.faq-ic::after { width: 2px; height: 16px; transition: opacity .3s, transform .3s; }
.faq-item.open .faq-ic { transform: rotate(180deg); }
.faq-item.open .faq-ic::after { opacity: 0; transform: translate(-50%, -50%) rotate(90deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a-inner p { padding: 0 24px 22px; color: var(--muted); font-size: 15.5px; }
.faq-a-inner b { color: var(--ink); font-weight: 700; }
.faq-a-inner a { color: var(--primary); font-weight: 700; }
.faq-a-inner a:hover { text-decoration: underline; }
.faq-more { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }

@media (max-width: 680px) {
  .faq-q { font-size: 15.5px; padding: 16px 18px; gap: 12px; }
  .faq-a-inner p { padding: 0 18px 18px; }
}

/* ---------- 导航二级菜单 ---------- */
.nav-links li { position: relative; }
.nav-links .has-children > a::after {
  content: ""; display: inline-block; margin-left: 6px; vertical-align: 2px;
  border: 4px solid transparent; border-top-color: currentColor;
}
.nav-links .submenu {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 60;
  min-width: 168px; display: block; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: .22s;
}
.nav-links .submenu li { display: block; }
.nav-links .submenu a {
  display: block; padding: 9px 12px; border-radius: 8px; font-size: 14px; font-weight: 500;
}
.nav-links .submenu a:hover { background: var(--bg-soft); }
.nav-links .has-children:hover > .submenu,
.nav-links .has-children:focus-within > .submenu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
@media (max-width: 1024px) {
  .nav-links .submenu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; background: transparent; padding: 0 0 0 12px; min-width: 0;
  }
}
