/* ============================================================
   深圳鲲鹏环宇科技有限公司 · 官网设计系统
   Rocniverse Design System v2.0
   风格：浅色科技金融风（Light Corporate Tech）
   ============================================================ */

/* ---------- 1. 设计令牌 ---------- */
:root {
  /* 品牌主色 —— 深海蓝定调，青蓝点缀 */
  --brand-900: #0a2240;
  --brand-800: #103358;
  --brand-700: #16406e;
  --brand-600: #1b4d80;

  --cyan-400: #0a9db8;
  --cyan-500: #0891b2;
  --cyan-600: #067a96;
  --blue-400: #3b82f6;
  --blue-500: #2563eb;
  --blue-600: #1d4ed8;

  /* 功能色（浅底上加深，保证对比度） */
  --gold-400: #c2740a;
  --green-400: #0d8f63;
  --red-400: #d93a3a;

  /* 中性色阶（浅色主题） */
  --ink-900: #ffffff;
  --ink-850: #fbfcfe;
  --ink-800: #ffffff;
  --ink-750: #f6f9fd;
  --ink-700: #eef3f9;
  --ink-600: #e2eaf4;

  --line: rgba(13, 42, 78, 0.13);
  --line-soft: rgba(13, 42, 78, 0.075);

  /* 文本色阶 */
  --text-hi: #0c1e33;
  --text-mid: #3d5470;
  --text-lo: #5c7592;
  --text-dim: #8a9cb2;

  /* 阴影（浅色主题靠柔和投影建立层次） */
  --sh-sm: 0 1px 3px rgba(13, 42, 78, 0.06), 0 1px 2px rgba(13, 42, 78, 0.04);
  --sh-md: 0 6px 20px rgba(13, 42, 78, 0.08), 0 2px 6px rgba(13, 42, 78, 0.04);
  --sh-lg: 0 16px 44px rgba(13, 42, 78, 0.12), 0 4px 12px rgba(13, 42, 78, 0.05);
  --sh-hover: 0 18px 48px rgba(13, 42, 78, 0.15), 0 6px 14px rgba(13, 42, 78, 0.06);

  /* 字体 */
  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei",
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", "Roboto Mono", Consolas,
    "Courier New", monospace;

  /* 尺度 */
  --nav-h: 72px;
  --maxw: 1280px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. 基础重置 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--ink-900);
  color: var(--text-mid);
  font-size: 15px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  color: var(--text-hi);
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

/* 带尺寸属性的图片：浏览器可预留宽高比，避免布局抖动 */
img[width][height] {
  height: auto;
}

button,
input,
textarea {
  font-family: inherit;
}

::selection {
  background: rgba(37, 99, 235, 0.18);
  color: var(--brand-900);
}

/* 滚动条 */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: #f2f6fb;
}
::-webkit-scrollbar-thumb {
  background: #c6d4e4;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--cyan-500);
}

/* 防止中文词组在换行时被拆断 */
.nb {
  white-space: nowrap;
}

/* ---------- 3. 布局 ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  position: relative;
  padding: 112px 0;
}

.section--tight {
  padding: 80px 0;
}

.section-line {
  border-top: 1px solid var(--line-soft);
}

/* 浅色分区底（交替节奏） */
.section--tint {
  background: linear-gradient(180deg, #f8fbfe 0%, #f1f7fd 100%);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

/* ---------- 4. 全局装饰：网格与光晕 ---------- */
.grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(13, 42, 78, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 42, 78, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 55% at 50% 0%, #000 15%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 90% 55% at 50% 0%, #000 15%, transparent 72%);
}

.aurora {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.55;
}
.aurora--a {
  width: 620px;
  height: 620px;
  top: -260px;
  left: -160px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.13), transparent 68%);
}
.aurora--b {
  width: 700px;
  height: 700px;
  top: 6%;
  right: -300px;
  background: radial-gradient(circle, rgba(10, 157, 184, 0.1), transparent 70%);
}
.aurora--c {
  width: 560px;
  height: 560px;
  bottom: -200px;
  left: 32%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.07), transparent 70%);
}

/* 仅提升正文层级，装饰层（fixed/absolute）保持自身定位 */
.page > main,
.page > header,
.page > footer {
  position: relative;
  z-index: 1;
}

/* ---------- 5. 导航 ---------- */
/* 阅读进度条 */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--blue-600), var(--cyan-500));
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.5);
  z-index: 200;
  pointer-events: none;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 1px 12px rgba(13, 42, 78, 0.05);
}

.nav__inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 40px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.logo__img {
  height: 48px;
  width: auto;
  max-width: none;
  display: block;
}

.logo__mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.logo__text b {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--brand-900);
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.logo__text span {
  display: block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  color: var(--cyan-500);
  text-transform: uppercase;
  line-height: 1.4;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav__links a {
  position: relative;
  padding: 8px 15px;
  font-size: 14px;
  color: var(--text-lo);
  border-radius: var(--r-sm);
  transition: color 0.2s, background 0.2s;
}

.nav__links a:hover {
  color: var(--brand-900);
  background: rgba(37, 99, 235, 0.06);
}

.nav__links a.is-active {
  color: var(--blue-600);
  font-weight: 600;
}

.nav__links a.is-active::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 1px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-500), var(--cyan-500));
  border-radius: 2px;
}

/* ---------- 移动端：无 hover，层级平铺显示在抽屉里 ---------- */
@media (max-width: 860px) {
  .nav__links {
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }

  .nav__links > li {
    height: auto;
    display: block;
  }

  .nav__links > li.nav__item--has > a {
    padding-right: 14px;
  }

  .nav__links > li.nav__item--has::after {
    display: none;
  }

  .nav__drop {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
    padding: 2px 0 6px 14px;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }

  .nav__drop::before {
    display: none;
  }

  .nav__drop--sub {
    padding-left: 26px;
  }

  .nav__drop a {
    padding: 8px 12px;
    font-size: 13.5px;
  }
}

/* ---------- 导航下拉：body 级浮层（JS 渲染，避开 fixed 导航内的定位/裁剪问题） ---------- */
.nav-flyout {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 300;
  display: none;
  pointer-events: none;
}

.nav-flyout.is-open {
  display: block;
}

.nav-flyout__panel {
  position: fixed;
  pointer-events: auto;
  min-width: 218px;
  max-width: 320px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(18, 38, 68, 0.18);
  animation: nav-fly-in 0.16s ease both;
}

/* 过桥区：覆盖面板与导航条之间的空隙，鼠标斜向移动时不会中途失去面板 */
.nav-flyout__panel::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
  background: transparent;
}

/* 二级面板向上对齐时，过桥区改到下方 */
.nav-flyout--sub .nav-flyout__panel::before {
  top: auto;
  bottom: -14px;
}

@keyframes nav-fly-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

.nav-flyout__item {
  position: relative;
}

.nav-flyout__item a {
  display: block;
  padding: 9px 12px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-lo);
  border-radius: 9px;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}

.nav-flyout__item a:hover {
  color: var(--brand-900);
  background: rgba(37, 99, 235, 0.07);
}

.nav-flyout__item--top a {
  color: var(--brand-900);
  font-weight: 600;
}

.nav-flyout__item--has > a {
  padding-right: 28px;
}

.nav-flyout__item--has > a::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  margin-top: -3px;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid var(--text-lo);
  border-bottom: 1.5px solid var(--text-lo);
  transform: rotate(45deg);
  opacity: 0.55;
}

.nav-flyout__sep {
  height: 1px;
  background: var(--line-soft);
  margin: 6px 6px;
}

/* JS 浮层启用时，隐藏导航条内部的面板（链接仍保留在 HTML 里供 SEO 与无 JS 场景） */
.js-flyout .nav__drop {
  display: none;
}

/* ---------- 顶部导航下拉：悬停展开二级 / 三级目录 ---------- */
.nav__links > li {
  position: relative;
  list-style: none;
  display: flex;
  align-items: center;
  height: var(--nav-h);
}

.nav__links > li > a {
  display: block;
}

/* 导航条本身不能裁剪下拉面板 */
.nav,
.nav__inner,
.nav__links {
  overflow: visible;
}

.nav__links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__drop {
  position: absolute;
  top: calc(100% + 10px);
  left: -12px;
  z-index: 30;
  min-width: 216px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(18, 38, 68, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.nav__links > li:hover > .nav__drop,
.nav__links > li:focus-within > .nav__drop,
.nav__links > li.is-open > .nav__drop {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* 鼠标从导航项移到面板中间不留空隙 */
.nav__drop::before {
  content: "";
  position: absolute;
  top: -13px;
  left: 0;
  right: 0;
  height: 13px;
}

.nav__drop a {
  display: block;
  padding: 9px 12px;
  font-size: 13.5px;
  color: var(--text-lo);
  border-radius: 9px;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}

.nav__drop a:hover {
  color: var(--brand-900);
  background: rgba(37, 99, 235, 0.07);
}

/* 三级：向右展开 */
.nav__item--has {
  position: relative;
}

.nav__drop--sub {
  top: -9px;
  left: calc(100% - 6px);
  min-width: 204px;
}

.nav__drop--sub::before {
  top: 0;
  bottom: 0;
  left: -13px;
  right: auto;
  width: 13px;
  height: auto;
}

.nav__item--has:hover > .nav__drop--sub,
.nav__item--has:focus-within > .nav__drop--sub,
.nav__item--has.is-open > .nav__drop--sub {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* 有下拉的顶级项加小箭头（用 li 画，避开 a.is-active::after 的下划线） */
.nav__links > li.nav__item--has > a {
  padding-right: 26px;
}

.nav__links > li.nav__item--has::after {
  content: "";
  position: absolute;
  right: 11px;
  top: 50%;
  margin-top: -3px;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid var(--text-lo);
  border-bottom: 1.5px solid var(--text-lo);
  transform: rotate(45deg);
  opacity: 0.55;
  pointer-events: none;
}

/* 导航右侧转化按钮 */
.nav__cta {
  flex-shrink: 0;
  margin-left: 14px;
  padding: 10px 20px;
  font-size: 13.5px;
}

.nav__toggle {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 17px;
  height: 1.5px;
  background: var(--brand-900);
  position: relative;
  transition: 0.25s;
}

.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 17px;
  height: 1.5px;
  background: var(--brand-900);
  transition: 0.25s;
}
.nav__toggle span::before {
  top: -5.5px;
}
.nav__toggle span::after {
  top: 5.5px;
}

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 26px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}

.btn svg {
  width: 15px;
  height: 15px;
  transition: transform 0.25s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--primary {
  background: linear-gradient(120deg, var(--blue-600), var(--blue-400));
  color: #fff;
  box-shadow: 0 6px 18px rgba(29, 78, 216, 0.24);
}

.btn--primary:hover {
  box-shadow: 0 10px 28px rgba(29, 78, 216, 0.34);
  transform: translateY(-2px);
}

.btn--ghost {
  border-color: var(--line);
  color: var(--brand-900);
  background: #fff;
  box-shadow: var(--sh-sm);
}

.btn--ghost:hover {
  border-color: var(--blue-500);
  color: var(--blue-600);
  background: rgba(37, 99, 235, 0.03);
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}

.btn--sm {
  padding: 9px 18px;
  font-size: 13px;
}

/* ---------- 7. 区块标题 ---------- */
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 56px;
}

.sec-head__main {
  max-width: 660px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan-600);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan-500), transparent);
}

.sec-title {
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.28;
  color: var(--brand-900);
}

.sec-desc {
  margin-top: 16px;
  font-size: 15px;
  color: var(--text-lo);
  max-width: 600px;
}

/* ---------- 8. 卡片通用 ---------- */
.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 30px 28px;
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--cyan-500));
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow: var(--sh-hover);
}

.card:hover::before {
  opacity: 1;
}

.card__no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--cyan-600);
  margin-bottom: 16px;
}

.card__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.1), rgba(10, 157, 184, 0.06));
  border: 1px solid rgba(37, 99, 235, 0.14);
}

.card__icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--blue-600);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card__title {
  font-size: 17px;
  margin-bottom: 11px;
  color: var(--brand-900);
}

.card__desc {
  font-size: 14px;
  color: var(--text-lo);
  line-height: 1.8;
}

.card__list {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

.card__list li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  color: var(--text-lo);
  line-height: 2;
}

.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan-500);
}

/* ---------- 9. 栅格 ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ---------- 10. 页脚 ---------- */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #f7fafd, #eef4fa);
  padding: 64px 0 28px;
  margin-top: 40px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line-soft);
}

.footer__about p {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--text-lo);
  line-height: 1.9;
  max-width: 330px;
}

.footer__col h5 {
  font-size: 14px;
  margin-bottom: 18px;
  color: var(--brand-900);
}

.footer__col li {
  margin-bottom: 11px;
  font-size: 13.5px;
  color: var(--text-lo);
  transition: color 0.2s;
}

.footer__col a:hover {
  color: var(--blue-600);
}

/* 页脚快速导航：与顶部导航一致的分组结构（一级=导航项，二级=归属页面） */
.footer__nav > li {
  margin-bottom: 13px;
}

.footer__nav > li:last-child {
  margin-bottom: 0;
}

.footer__nav > li > a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand-900);
}

.footer__nav > li > a:hover {
  color: var(--blue-600);
}

.footer__nav ul {
  margin: 7px 0 0;
  padding-left: 11px;
  border-left: 1px solid var(--line);
}

.footer__nav ul li {
  margin-bottom: 8px;
  font-size: 12.8px;
}

.footer__nav ul li:last-child {
  margin-bottom: 0;
}

.footer__contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.7;
}

.footer__contact svg {
  width: 14px;
  height: 14px;
  margin-top: 4px;
  flex-shrink: 0;
  stroke: var(--cyan-600);
  fill: none;
  stroke-width: 1.6;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  padding-right: 64px;
  font-size: 12.5px;
  color: var(--text-dim);
  flex-wrap: wrap;
}

.footer__beian a {
  color: var(--text-dim);
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.footer__beian a:hover {
  color: var(--brand-900);
  border-bottom-color: var(--line);
}

.footer__bottom a {
  color: var(--text-lo);
}

.footer__bottom a:hover {
  color: var(--blue-600);
}

/* ---------- 11. 标签/徽章 ---------- */
.tag {
  display: inline-block;
  padding: 4px 11px;
  font-size: 11.5px;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  color: var(--blue-600);
  background: rgba(37, 99, 235, 0.07);
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 100px;
}

.tag--green {
  color: var(--green-400);
  background: rgba(13, 143, 99, 0.07);
  border-color: rgba(13, 143, 99, 0.2);
}

.tag--gold {
  color: var(--gold-400);
  background: rgba(194, 116, 10, 0.07);
  border-color: rgba(194, 116, 10, 0.2);
}

/* ---------- 12. 入场动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 13. 返回顶部 ---------- */
.totop {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--blue-600);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: 0.3s var(--ease);
  z-index: 90;
  box-shadow: var(--sh-md);
}

.totop.is-show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.totop:hover {
  background: var(--blue-500);
  border-color: var(--blue-500);
  color: #fff;
}

.totop svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* ---------- 14. 响应式 ---------- */
@media (max-width: 1080px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 860px) {
  :root {
    --nav-h: 62px;
  }
  .wrap,
  .nav__inner {
    padding: 0 20px;
  }
  .section {
    padding: 76px 0;
  }
  .sec-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 36px;
  }
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .logo__img {
    height: 34px;
  }
  .nav__toggle {
    display: flex;
    margin-left: 10px;
  }
  .nav__cta {
    margin-left: auto;
    padding: 8px 14px;
    font-size: 12.5px;
  }
  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 20px 22px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-lg);
    backdrop-filter: blur(18px);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: 0.28s var(--ease);
  }
  .nav__links.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .nav__links a {
    padding: 12px 14px;
    font-size: 15px;
  }
  .nav__links a.is-active::after {
    display: none;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 30px;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-right: 0;
  }
}

@media (max-width: 560px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
  .totop {
    right: 16px;
    bottom: 16px;
  }
}