/* ==========================================================================
   星点匠心建站 xdianjiangxin.com — 全站基础样式
   风格：防晒简约风 · 纯白 + 浅黄 + 淡蓝
   布局：横向卷轴缓慢翻阅（首页签名布局）+ 内页通透轻奢版式
   原创定制，全网无同款
   ========================================================================== */

/* ---------- 设计变量 ---------- */
:root {
  /* 纯白系 */
  --white: #FFFFFF;
  --paper: #F8FBFF;
  --mist: #F1F6FC;
  --cloud: #ECF3FB;

  /* 浅黄系（日光暖色，主点缀） */
  --sun: #FFF4D6;
  --sun-2: #FFE9A8;
  --sun-deep: #F5C518;
  --sun-ink: #7A5A00;

  /* 淡蓝系（清凉防晒感，辅助） */
  --sky: #E3F0FC;
  --sky-2: #BFD9F2;
  --sky-deep: #5B8BC9;
  --sky-ink: #1F4E8C;

  /* 中性墨色 */
  --ink: #15233E;
  --body: #3D4A66;
  --muted: #7A869F;
  --line: #E5EDF7;
  --line-2: #D6E2F0;

  /* 阴影：柔光，无硬边 */
  --shadow-xs: 0 1px 3px rgba(31, 78, 140, 0.05);
  --shadow-sm: 0 4px 16px rgba(31, 78, 140, 0.06);
  --shadow-md: 0 12px 34px rgba(31, 78, 140, 0.10);
  --shadow-lg: 0 28px 64px rgba(31, 78, 140, 0.14);
  --shadow-sun: 0 14px 36px rgba(245, 197, 24, 0.22);

  /* 圆角 */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 34px;
  --r-pill: 999px;

  /* 布局 */
  --topbar-h: 70px;
  --maxw: 1240px;

  /* 字体 */
  --font: "PingFang SC", "Microsoft YaHei", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-en: "Georgia", "Times New Roman", serif;
  --font-mono: "SF Mono", "Menlo", monospace;
}

/* ---------- 重置 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font);
  color: var(--body);
  background: var(--paper);
  line-height: 1.78;
  font-size: 15px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--sky-ink);
  text-decoration: none;
  transition: color 0.28s ease;
}

a:hover {
  color: var(--sun-deep);
}

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 0.3px;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

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

::selection {
  background: var(--sun-2);
  color: var(--sun-ink);
}

/* ==========================================================================
   顶部浮动导航栏（全站统一，滚动变色）
   ========================================================================== */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--topbar-h);
  z-index: 200;
  display: flex;
  align-items: center;
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0) 100%);
  backdrop-filter: blur(6px);
}

.topbar.scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(214, 226, 240, 0.7), 0 8px 30px rgba(31, 78, 140, 0.06);
}

.topbar-inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

/* 品牌标志 */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

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

.brand .brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  white-space: nowrap;
}

.brand .brand-text strong {
  font-size: 17px;
  color: var(--ink);
  letter-spacing: 0.5px;
}

.brand .brand-text span {
  font-size: 9.5px;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--font-en);
}

/* 主导航 */
.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.main-nav > li > a,
.main-nav > li > .nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 13px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--body);
  transition: all 0.25s ease;
  position: relative;
  white-space: nowrap;
}

.main-nav > li > a:hover,
.main-nav > li > .nav-trigger:hover {
  color: var(--sky-ink);
  background: var(--sky);
}

.main-nav > li > a.active,
.main-nav > li > .nav-trigger.active {
  color: var(--sky-ink);
}

.main-nav > li > a.active::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 3px;
  height: 2px;
  background: linear-gradient(90deg, var(--sun-deep), var(--sky-deep));
  border-radius: 2px;
}

.nav-trigger .caret {
  width: 9px;
  height: 9px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.3s ease;
  opacity: 0.6;
}

.has-mega:hover .caret,
.has-mega.open .caret {
  transform: rotate(225deg) translate(-1px, -1px);
}

/* 下拉 mega */
.main-nav .has-mega {
  position: relative;
}

.mega {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 420px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 24px 22px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 50;
}

.main-nav .has-mega:hover .mega,
.main-nav .has-mega.open .mega {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 14px;
  height: 14px;
  background: var(--white);
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 18px;
}

.mega-grid a {
  display: flex;
  gap: 12px;
  padding: 11px 12px;
  border-radius: var(--r-sm);
  transition: background 0.22s ease;
}

.mega-grid a:hover {
  background: var(--paper);
}

.mega-grid a .m-ico {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--sun), var(--sky));
  display: flex;
  align-items: center;
  justify-content: center;
}

.mega-grid a .m-txt strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
  font-weight: 600;
}

.mega-grid a .m-txt span {
  font-size: 12px;
  color: var(--muted);
  display: block;
}

/* 顶栏右侧操作 */
.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.top-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  font-family: var(--font-en);
  white-space: nowrap;
}

.top-phone .ph-ico {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sun), var(--sun-2));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sun-ink);
  flex-shrink: 0;
}

/* 汉堡按钮（默认隐藏） */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  background: var(--white);
  border: 1px solid var(--line);
}

.hamburger span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 移动端抽屉 */
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 86%;
  max-width: 360px;
  height: 100vh;
  background: var(--white);
  z-index: 300;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  padding: 24px 22px 40px;
}

.drawer.show {
  transform: translateX(0);
}

.drawer .d-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}

.drawer-close {
  margin-left: auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--mist);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

.drawer-nav a {
  display: block;
  padding: 13px 14px;
  border-radius: var(--r-sm);
  font-size: 15px;
  color: var(--body);
  font-weight: 500;
}

.drawer-nav a:hover,
.drawer-nav a.active {
  background: var(--sky);
  color: var(--sky-ink);
}

.drawer-nav .d-sub {
  padding-left: 14px;
}

.drawer-nav .d-sub a {
  font-size: 13.5px;
  color: var(--muted);
  padding: 9px 12px;
}

.drawer-nav .d-sub a::before {
  content: "·";
  margin-right: 7px;
  color: var(--sun-deep);
}

.drawer-cta {
  margin-top: 18px;
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--sun), var(--sun-deep));
  color: var(--sun-ink);
  font-weight: 700;
}

.drawer-cta:hover {
  color: var(--sun-ink);
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(21, 35, 62, 0.4);
  backdrop-filter: blur(2px);
  z-index: 250;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.overlay.show {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   横向卷轴布局（首页签名骨架）
   原理：scroll-stage 设为超长高度，reel-pin 粘性吸顶，
        内部 track 按滚动进度横向位移，实现“缓慢翻阅”。
   ========================================================================== */
.scroll-stage {
  position: relative;
  /* 高度由 JS 按面板数设置 */
}

.reel-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.reel-track {
  display: flex;
  width: max-content;
  height: 100%;
  /* transform 由 JS 控制 */
  will-change: transform;
}

.panel {
  flex: 0 0 100vw;
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* 卷轴进度刻度（右侧章节点） */
.reel-rail {
  position: fixed;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.reel-rail .rail-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-2);
  border: 2px solid var(--white);
  box-shadow: var(--shadow-xs);
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
}

.reel-rail .rail-dot.active {
  background: var(--sun-deep);
  transform: scale(1.25);
  box-shadow: var(--shadow-sun);
}

.reel-rail .rail-dot .tip {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  white-space: nowrap;
  font-size: 11.5px;
  color: var(--ink);
  background: var(--white);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  pointer-events: none;
}

.reel-rail .rail-dot:hover .tip,
.reel-rail .rail-dot.active .tip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

/* 横向滚动提示 */
.reel-hint {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 110;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 14px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--muted);
  box-shadow: var(--shadow-sm);
  transition: opacity 0.4s ease;
}

.reel-hint.hide {
  opacity: 0;
  pointer-events: none;
}

.reel-hint .arrows {
  display: flex;
  gap: 3px;
}

.reel-hint .arrows i {
  width: 14px;
  height: 1.5px;
  background: var(--sky-deep);
  border-radius: 2px;
  animation: slideHint 1.6s infinite;
}

.reel-hint .arrows i:nth-child(2) { animation-delay: 0.2s; }
.reel-hint .arrows i:nth-child(3) { animation-delay: 0.4s; }

@keyframes slideHint {
  0%, 100% { opacity: 0.3; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(4px); }
}

/* ==========================================================================
   通用容器与按钮
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 36px;
}

.container-narrow {
  max-width: 880px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: var(--r-pill);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.4px;
  transition: all 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
}

.btn-sun {
  background: linear-gradient(135deg, var(--sun) 0%, var(--sun-deep) 100%);
  color: var(--sun-ink);
  box-shadow: var(--shadow-sun);
}

.btn-sun:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(245, 197, 24, 0.32);
  color: var(--sun-ink);
}

.btn-sky {
  background: linear-gradient(135deg, var(--sky-2) 0%, var(--sky-deep) 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(91, 139, 201, 0.28);
}

.btn-sky:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(91, 139, 201, 0.36);
  color: #fff;
}

.btn-ghost {
  background: var(--white);
  color: var(--sky-ink);
  border-color: var(--line-2);
}

.btn-ghost:hover {
  border-color: var(--sky-deep);
  color: var(--sky-ink);
  background: var(--sky);
}

.btn-ink {
  background: var(--ink);
  color: #fff;
}

.btn-ink:hover {
  background: #0c1730;
  color: #fff;
  transform: translateY(-2px);
}

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

/* ==========================================================================
   区块标题
   ========================================================================== */
.sec-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.sec-head.left {
  text-align: left;
  margin-left: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--sky-deep);
  text-transform: uppercase;
  font-family: var(--font-en);
  margin-bottom: 16px;
  padding: 5px 16px;
  background: var(--sky);
  border-radius: var(--r-pill);
}

.eyebrow.sun {
  color: var(--sun-ink);
  background: var(--sun);
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sun-deep), var(--sky-deep));
}

.sec-head h2 {
  font-size: 38px;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.sec-head h2 .accent {
  color: var(--sky-ink);
  position: relative;
}

.sec-head h2 .accent.sun {
  color: var(--sun-ink);
}

.sec-head h2 .accent::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 4px;
  height: 10px;
  background: linear-gradient(90deg, var(--sun), transparent);
  z-index: -1;
  border-radius: 4px;
  opacity: 0.6;
}

.sec-head p {
  color: var(--muted);
  font-size: 15.5px;
}

/* ==========================================================================
   通用 section
   ========================================================================== */
.section {
  padding: 96px 0;
  position: relative;
}

.section.tight {
  padding: 64px 0;
}

.bg-paper { background: var(--paper); }
.bg-mist { background: var(--mist); }
.bg-cloud { background: linear-gradient(180deg, var(--cloud) 0%, var(--paper) 100%); }
.bg-sun {
  background: linear-gradient(180deg, var(--sun) 0%, var(--paper) 100%);
}
.bg-sky {
  background: linear-gradient(180deg, var(--sky) 0%, var(--paper) 100%);
}

/* 防晒渐变带 */
.sun-screen-band {
  background:
    linear-gradient(120deg, var(--sun) 0%, var(--white) 35%, var(--sky) 100%);
}

/* 深色块 */
.bg-deep {
  background: linear-gradient(135deg, #15233E 0%, #1F4E8C 100%);
  color: var(--paper);
}

.bg-deep h2,
.bg-deep h3 {
  color: #fff;
}

.bg-deep p {
  color: rgba(248, 251, 255, 0.78);
}

/* ==========================================================================
   面包屑
   ========================================================================== */
.breadcrumb {
  padding: 22px 0;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--sky-ink);
}

.breadcrumb span.sep {
  color: var(--line-2);
}

.breadcrumb .current {
  color: var(--sky-ink);
  font-weight: 600;
}

/* ==========================================================================
   页面顶部 hero（内页通用，非首页）
   ========================================================================== */
.page-hero {
  padding: calc(var(--topbar-h) + 56px) 0 56px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sky) 0%, var(--white) 55%, var(--sun) 100%);
}

.page-hero::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 197, 24, 0.22) 0%, transparent 70%);
}

.page-hero::after {
  content: "";
  position: absolute;
  left: -60px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 139, 201, 0.2) 0%, transparent 70%);
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-size: 44px;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.page-hero .hero-lead {
  color: var(--body);
  font-size: 16px;
  max-width: 620px;
  line-height: 1.85;
}

.page-hero .crumb-wrap {
  margin-bottom: 18px;
}

/* ==========================================================================
   滚动渐入动画
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal.from-left {
  transform: translateX(-40px);
}

.reveal.from-right {
  transform: translateX(40px);
}

.reveal.from-left.in,
.reveal.from-right.in {
  transform: translateX(0);
}

.reveal.scale {
  transform: scale(0.94);
}

.reveal.scale.in {
  transform: scale(1);
}

.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.4s; }
.reveal.d5 { transition-delay: 0.5s; }

/* ==========================================================================
   页脚（统一，独创浮岛式 dock，非传统底栏）
   ========================================================================== */
.site-foot {
  background: linear-gradient(160deg, #11203B 0%, #1A2E52 100%);
  color: rgba(248, 251, 255, 0.74);
  padding: 72px 0 0;
  position: relative;
  overflow: hidden;
}

.site-foot::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 197, 24, 0.12) 0%, transparent 70%);
}

.foot-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 2;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.foot-brand strong {
  color: #fff;
  font-size: 19px;
  letter-spacing: 1px;
}

.foot-about p {
  font-size: 13.5px;
  line-height: 1.9;
  color: rgba(248, 251, 255, 0.6);
}

.foot-col h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 20px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.foot-col h4::before {
  content: "";
  width: 5px;
  height: 16px;
  background: linear-gradient(180deg, var(--sun-deep), var(--sky-deep));
  border-radius: 3px;
}

.foot-col ul li {
  margin-bottom: 11px;
}

.foot-col ul li a {
  color: rgba(248, 251, 255, 0.64);
  font-size: 13.5px;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.foot-col ul li a:hover {
  color: var(--sun-2);
  transform: translateX(4px);
}

.foot-contact li {
  display: flex;
  gap: 11px;
  margin-bottom: 15px;
  font-size: 13.5px;
  color: rgba(248, 251, 255, 0.64);
}

.foot-contact li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--sun-2);
}

.foot-bottom {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: rgba(248, 251, 255, 0.5);
  flex-wrap: wrap;
  gap: 12px;
}

.foot-bottom a {
  color: rgba(248, 251, 255, 0.5);
}

.foot-bottom a:hover {
  color: var(--sun-2);
}

.foot-links a {
  margin-left: 18px;
}

/* ==========================================================================
   返回顶部
   ========================================================================== */
.back-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky-2), var(--sky-deep));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(91, 139, 201, 0.32);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.35s ease;
  z-index: 90;
}

.back-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(91, 139, 201, 0.42);
}

/* ==========================================================================
   响应式
   ========================================================================== */
/* 大屏但不足以放完整顶栏：收紧、隐藏英文副标、电话只留图标（font-size:0 隐藏文字而 SVG 图标保留） */
@media (max-width: 1240px) {
  .topbar-inner { padding: 0 22px; gap: 14px; }
  .brand .brand-text span { display: none; }
  .main-nav > li > a,
  .main-nav > li > .nav-trigger { padding: 7px 11px; font-size: 13.5px; }
  .main-nav > li > a.active::after { left: 11px; right: 11px; }
  .top-phone { font-size: 0 !important; gap: 0; }
  .top-actions { gap: 8px; }
}

/* 1180px 以下切换汉堡菜单（避免主菜单拥挤折行） */
@media (max-width: 1180px) {
  .main-nav,
  .top-phone { display: none; }
  .hamburger { display: flex; }

  /* 横向卷轴降级为纵向堆叠 */
  .scroll-stage { height: auto !important; }
  .reel-pin {
    position: static;
    height: auto;
    overflow: visible;
  }
  .reel-track {
    flex-direction: column;
    width: 100%;
    transform: none !important;
  }
  .panel {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 64px 0;
  }
  .reel-rail,
  .reel-hint { display: none; }

  .foot-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 1100px) {
  :root { --maxw: 960px; }
  .container { padding: 0 28px; }
  .sec-head h2 { font-size: 32px; }
  .page-hero h1 { font-size: 36px; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .sec-head h2 { font-size: 26px; }
  .page-hero h1 { font-size: 28px; }
  .foot-top { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; text-align: center; }
  .foot-links a { margin: 0 9px; }
  .section { padding: 64px 0; }
}
