﻿/* ============================================================
   中船智设官网 - 全站样式
   风格：深蓝科技风，简约大气
   ============================================================ */

/* ---------- 基础变量与重置 ---------- */
:root {
  --navy-900: #071a33;      /* 最深蓝：页脚/主视觉底色 */
  --navy-800: #0c2547;      /* 主深蓝 */
  --navy-700: #10335e;      /* 次深蓝 */
  --blue-600: #1664e5;      /* 强调蓝：按钮/链接 */
  --blue-500: #2e76f5;
  --blue-100: #e4effc;      /* 浅蓝底 */
  --ink: #16253a;           /* 正文深色 */
  --ink-soft: #51647c;      /* 次级文字 */
  --line: #dce6f1;          /* 分割线 */
  --bg-soft: #f2f7fc;       /* 浅色区块背景 */
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(12, 37, 71, 0.10);
  --maxw: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;              /* 防止导航项增多时 LOGO 被压缩变形 */
  font-size: 20px;
  font-weight: 700;
  color: var(--navy-800);
  letter-spacing: 1px;
}

.logo svg { flex-shrink: 0; }

.logo .logo-en {
  font-size: 11px;
  font-weight: 400;
  color: var(--ink-soft);
  letter-spacing: 2px;
  display: block;
  line-height: 1.2;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;           /* 导航项始终单行，不换行堆叠 */
}

.main-nav a {
  position: relative;
  padding: 8px 16px;
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;         /* 文字不折行，避免"拥挤在一起" */
  transition: color 0.2s, background 0.2s;
}

.main-nav a:hover { color: var(--blue-600); background: var(--blue-100); }

/* 当前页高亮：只改颜色与底色 + 底部指示条，
   不改字重，避免加粗导致文字变宽、相邻项位移跳动 */
.main-nav a.active {
  color: var(--blue-600);
  background: var(--blue-100);
}
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue-600);
}

.nav-auth {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-shrink: 0;
  min-width: 132px;            /* 预留宽度：登录前后导航项位置不跳动 */
  font-size: 14px;
}

.nav-user {
  color: var(--navy-800);
  font-size: 14px;
  padding: 8px 12px;
  background: var(--bg-soft);
  border-radius: 8px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block;
  padding: 10px 26px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-align: center;
}

.btn-primary {
  background: var(--blue-600);
  color: #fff;
}
.btn-primary:hover { background: #124fc2; transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

.btn-outline {
  background: #fff;
  color: var(--blue-600);
  border: 1px solid var(--blue-600);
}
.btn-outline:hover { background: var(--blue-100); }

.btn-sm { padding: 7px 18px; font-size: 14px; }

/* ---------- 首页主视觉 ---------- */
.hero {
  background:
    linear-gradient(135deg, rgba(7, 26, 51, 0.92) 0%, rgba(16, 51, 94, 0.88) 55%, rgba(22, 100, 229, 0.35) 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 60px);
  color: #fff;
  padding: 110px 0 130px;
  position: relative;
  overflow: hidden;
}

.hero .container { position: relative; z-index: 2; }

.hero-tag {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 22px;
  color: #bcd6ff;
}

.hero h1 {
  font-size: 46px;
  line-height: 1.3;
  letter-spacing: 2px;
  margin-bottom: 18px;
  font-weight: 700;
}

.hero p.lead {
  font-size: 18px;
  color: #c8d9ee;
  max-width: 640px;
  margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* 装饰性管路线条 */
.hero-pipes {
  position: absolute;
  right: -40px;
  top: 0;
  height: 100%;
  width: 46%;
  opacity: 0.5;
  z-index: 1;
}

/* ---------- 通用区块 ---------- */
.section { padding: 84px 0; }
.section.alt { background: var(--bg-soft); }

.section-head { text-align: center; margin-bottom: 52px; }

.section-head .kicker {
  display: inline-block;
  color: var(--blue-600);
  font-size: 14px;
  letter-spacing: 3px;
  margin-bottom: 10px;
  font-weight: 600;
}

.section-head h2 {
  font-size: 32px;
  color: var(--navy-800);
  letter-spacing: 1px;
}

.section-head p.sub {
  color: var(--ink-soft);
  margin-top: 12px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- 卡片网格 ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  align-items: center;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.card .icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--blue-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.card h3 {
  font-size: 19px;
  color: var(--navy-800);
  margin-bottom: 10px;
}

.card p { color: var(--ink-soft); font-size: 14.5px; }

/* ---------- 数字统计条 ---------- */
.stats-band {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  color: #fff;
  padding: 44px 0;
}

.stats-band .grid-4 { gap: 16px; }

.stat-item { text-align: center; }
.stat-item .num {
  font-size: 34px;
  font-weight: 700;
  color: #7db4ff;
  letter-spacing: 1px;
}
.stat-item .label {
  font-size: 14px;
  color: #a9c3e2;
  margin-top: 4px;
}

/* ---------- 流程步骤 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-size: 30px;
  font-weight: 800;
  color: var(--blue-100);
  -webkit-text-stroke: 1px var(--blue-600);
  display: block;
  margin-bottom: 10px;
}

.step h4 { color: var(--navy-800); font-size: 17px; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--ink-soft); }

/* ---------- 页面内页头 ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700) 70%, rgba(22, 100, 229, 0.4));
  color: #fff;
  padding: 72px 0;
}

.page-hero h1 { font-size: 36px; letter-spacing: 2px; }
.page-hero p { color: #b8cdea; margin-top: 10px; max-width: 680px; }

/* ---------- 关于页时间线 ---------- */
.timeline { position: relative; padding-left: 28px; border-left: 2px solid var(--blue-100); }

.timeline .t-item { position: relative; padding-bottom: 28px; }

.timeline .t-item::before {
  content: "";
  position: absolute;
  left: -35px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue-600);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--blue-600);
}

.timeline .t-year { font-weight: 700; color: var(--blue-600); }
.timeline .t-text { color: var(--ink-soft); font-size: 14.5px; }

/* ---------- 服务页详情卡 ---------- */
.service-block {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  margin-bottom: 24px;
  transition: box-shadow 0.25s;
}

.service-block:hover { box-shadow: var(--shadow); }

.service-block .s-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy-800), var(--blue-600));
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-block h3 { font-size: 21px; color: var(--navy-800); margin-bottom: 8px; }
.service-block p { color: var(--ink-soft); font-size: 15px; }

.service-block ul.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.service-block ul.tags li {
  font-size: 13px;
  color: var(--blue-600);
  background: var(--blue-100);
  padding: 3px 12px;
  border-radius: 999px;
}

/* ---------- 联系页 ---------- */
.contact-info-card {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-700));
  color: #fff;
  border-radius: var(--radius);
  padding: 40px 36px;
}

.contact-info-card h3 { font-size: 20px; margin-bottom: 24px; }

.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-line:last-child { border-bottom: none; }

.contact-line .c-label { color: #8fb4dd; font-size: 13px; min-width: 64px; padding-top: 2px; }
.contact-line .c-value { font-size: 15px; }

/* 留言表单 */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow);
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 14px;
  color: var(--navy-800);
  font-weight: 600;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  transition: border 0.2s;
  background: var(--bg-soft);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-600);
  background: #fff;
}

.form-msg { font-size: 14px; margin-top: 12px; min-height: 20px; }
.form-msg.ok { color: #0f9d58; }
.form-msg.err { color: #d93025; }

/* 多选框行（设计师入驻-专业方向） */
.check-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 4px 0;
}

.check-row label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
  cursor: pointer;
}

.check-row input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--blue-600);
}

/* ---------- 登录页 ---------- */
.auth-wrap {
  min-height: calc(100vh - 68px);
  background:
    linear-gradient(135deg, rgba(7, 26, 51, 0.95), rgba(16, 51, 94, 0.9)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: 16px;
  padding: 44px 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.auth-card h1 {
  font-size: 24px;
  color: var(--navy-800);
  text-align: center;
  margin-bottom: 6px;
}

.auth-card .auth-sub {
  text-align: center;
  color: var(--ink-soft);
  font-size: 14px;
  margin-bottom: 28px;
}

/* 登录/注册切换标签 */
.auth-tabs {
  display: flex;
  margin-bottom: 26px;
  border-bottom: 2px solid var(--line);
}

.auth-tabs button {
  flex: 1;
  padding: 12px 0;
  background: none;
  border: none;
  font-size: 16px;
  color: var(--ink-soft);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  font-family: inherit;
}

.auth-tabs button.active {
  color: var(--blue-600);
  font-weight: 700;
  border-bottom-color: var(--blue-600);
}

/* 微信登录分割线与按钮 */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink-soft);
  font-size: 13px;
  margin: 22px 0;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.btn-wechat {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #2aae67;
  background: #f2fbf6;
  color: #1f9d55;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}

.btn-wechat:hover { background: #e2f6ea; }

/* ---------- 排名表（全球造船厂接单排名） ---------- */
.rank-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.rank-table th {
  text-align: left;
  padding: 12px 10px;
  color: var(--ink-soft);
  font-weight: 600;
  border-bottom: 2px solid var(--line);
  white-space: nowrap;
}

.rank-table td {
  padding: 11px 10px;
  border-bottom: 1px solid var(--line);
}

.rank-table tbody tr:last-child td { border-bottom: none; }

.rank-table tbody tr:hover { background: var(--bg-soft); }

/* 名次徽标：前三名高亮 */
.rank-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--bg-soft);
  color: var(--ink-soft);
  font-weight: 700;
}

.rank-no.top3 {
  background: linear-gradient(135deg, var(--navy-800), var(--blue-600));
  color: #fff;
}

/* 指标切换标签态 */
.rank-tab { background: #fff; color: var(--ink-soft); border: 1px solid var(--line); }
.rank-tab.active { background: var(--blue-600); color: #fff; border-color: var(--blue-600); }

/* 导航栏「设计师入驻」高亮按钮 */
.nav-join {
  background: linear-gradient(135deg, var(--blue-600), #22d3ee);
  color: #fff !important;
  padding: 7px 14px;
  border-radius: 6px;
  font-weight: 600;
  transition: .2s;
}
.nav-join:hover { opacity: .88; box-shadow: 0 4px 12px rgba(22,100,229,.28); }

/* 行业动态页：板块说明（筛选按钮下方） */
.news-section-note { text-align: center; font-size: 13px; color: #8a9aad; margin-top: 6px; }


/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--navy-900);
  color: #93a9c4;
  padding: 56px 0 28px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid h4 { color: #d5e3f5; font-size: 16px; margin-bottom: 16px; }

.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul li a:hover { color: #fff; }

.footer-brand .logo { color: #fff; margin-bottom: 14px; }

.copyright {
  text-align: center;
  padding-top: 24px;
  font-size: 13px;
  color: #647c9b;
}

/* ---------- 首页平台定位 ---------- */
/* 双边角色：需求方 | 连接符 | 供给方 */
.pos-wrap {
  display: grid;
  grid-template-columns: 1fr 76px 1fr;
  align-items: stretch;
}

.pos-side {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 22px;
  box-shadow: var(--shadow);
}

.pos-role {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--blue-600);
  background: var(--blue-100);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.pos-side h3 { font-size: 19px; color: var(--navy-800); margin-bottom: 12px; }

.pos-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.95;
}

/* 列表项目符号：小圆点，不使用伪内容以免随字重变化跳动 */
.pos-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-600);
}

.pos-link { display: flex; align-items: center; justify-content: center; }

.pos-sub {
  text-align: center;
  font-size: 20px;
  color: var(--navy-800);
  margin: 44px 0 20px;
}

/* 全流程服务链：五步卡片 */
.pos-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.pos-flow li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
}

.step-no {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--blue-600);
  color: #fff;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

.pos-flow h4 { font-size: 15.5px; color: var(--navy-800); margin-bottom: 6px; }
.pos-flow p { font-size: 13px; color: var(--ink-soft); line-height: 1.7; }

/* 服务能力状态标：区分已开通与规划中，避免过度承诺 */
.pos-status {
  display: inline-block;
  margin-top: 10px;
  font-size: 11.5px;
  padding: 2px 9px;
  border-radius: 999px;
}
.pos-status.on { background: rgba(15, 157, 88, .10); color: #0f9d58; }
.pos-status.plan { background: rgba(90, 107, 127, .10); color: var(--ink-soft); }

.pos-note { text-align: center; font-size: 12.5px; color: #8a9aad; margin-top: 14px; }

/* 三大痛点：问题 / 解法 */
.prob-q { font-size: 14.5px; color: var(--ink-soft); line-height: 1.8; }
.prob-a {
  margin-top: 12px;
  padding: 12px 14px;
  border-left: 3px solid var(--blue-600);
  border-radius: 0 8px 8px 0;
  background: linear-gradient(135deg, rgba(22, 100, 229, .06), rgba(34, 211, 238, .06));
  font-size: 13.5px;
  color: var(--navy-800);
  line-height: 1.75;
}
.prob-a b { color: var(--blue-600); }

/* ---------- 产品服务页：接单动态看板 ---------- */
.task-board {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-soft);
  overflow: hidden;
}

.tb-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.tb-title { font-size: 15px; font-weight: 600; color: var(--navy-800); }
/* 计数标签：不折行，避免载入更多后头部高度变化造成跳动 */
.tb-count { font-size: 12.5px; color: var(--ink-soft); white-space: nowrap; }

/* 滚动区：游客按 6 行高度锁定，会员解锁为可滚动 */
.tb-scroll { background: #fff; }
.task-board.is-guest .tb-scroll {
  max-height: 246px;          /* 约 6 行 + 表头 */
  overflow: hidden;           /* 禁止滚动 */
}
.task-board.is-member .tb-scroll {
  max-height: 320px;
  overflow-y: auto;           /* 会员可滚轮查看全部 */
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.task-board.is-member .tb-scroll::-webkit-scrollbar { width: 6px; }
.task-board.is-member .tb-scroll::-webkit-scrollbar-thumb {
  background: rgba(12, 37, 71, .18); border-radius: 3px;
}

.tb-table { width: 100%; border-collapse: collapse; table-layout: fixed; }

.tb-table thead th {
  position: sticky; top: 0;
  background: var(--bg-soft);
  font-size: 12.5px; font-weight: 600; color: var(--ink-soft);
  text-align: left; padding: 9px 16px;
  border-bottom: 1px solid var(--line);
}

.tb-table tbody td {
  font-size: 13.5px; color: var(--ink);
  padding: 9px 16px;
  border-bottom: 1px solid #eef3f9;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.tb-table tbody tr:last-child td { border-bottom: none; }
.tb-table tbody tr:hover td { background: #f7fbff; }
.tb-amount { color: var(--navy-800); font-weight: 600; font-variant-numeric: tabular-nums; }
.tb-date { color: var(--ink-soft); font-variant-numeric: tabular-nums; }

/* 状态色签 */
.tb-status {
  display: inline-block;
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.st-idle   { color: #5a6b7f; background: rgba(90, 107, 127, .10); }   /* 待接单 */
.st-model  { color: #1e6fff; background: rgba(22, 100, 229, .10); }   /* 建模中 */
.st-check  { color: #0891b2; background: rgba(8, 145, 178, .10); }    /* 模型提交检验中 */
.st-draw   { color: #7c3aed; background: rgba(124, 58, 237, .10); }   /* 出图中 */
.st-verify { color: #c2410c; background: rgba(194, 65, 12, .10); }    /* 图纸校验中 */
.st-done   { color: #0f9d58; background: rgba(15, 157, 88, .10); }    /* 完结 */

/* 底部渐隐 + 注册引导条 */
.tb-fade {
  height: 46px;
  margin-top: -46px;
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .96) 78%);
  pointer-events: none;
}

.tb-lock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(22, 100, 229, .06), rgba(34, 211, 238, .06));
}

.tb-lock-text { font-size: 13.5px; color: var(--navy-800); line-height: 1.6; }
.tb-lock-text b { color: var(--blue-600); }

/* 游客尝试滚动时的抖动提示 */
@keyframes tbShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}
.tb-lock.shake { animation: tbShake .32s ease-in-out; }

/* 数据源与权限口径说明 */
.tb-src-note {
  margin-top: 26px;
  padding: 14px 18px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  background: var(--bg-soft);
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.85;
}
.tb-src-note b { color: var(--navy-800); }

@media (max-width: 900px) {
  .tb-table thead th, .tb-table tbody td { padding: 8px 10px; }
  .tb-title { font-size: 14px; }
  .tb-lock { flex-direction: column; align-items: stretch; text-align: center; }
}

/* ---------- 荣誉墙（暖红渐变背景 + 飘动彩带 + 金字塔叠放） ---------- */
.honors-wall {
  position: relative;
  overflow: hidden;
  padding: 96px 0 104px;
  background:
    radial-gradient(1100px 420px at 12% 112%, rgba(255,138,92,.30), transparent 62%),
    radial-gradient(900px 380px at 86% -12%, rgba(255,209,102,.24), transparent 64%),
    linear-gradient(158deg, #6f1a17 0%, #9c2a20 42%, #c2402c 74%, #a92d22 100%);
}
/* 背景层：彩带自左向右自然飘过 */
.hw-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hw-ribbons { position: absolute; top: -8%; left: -6%; width: 112%; height: 116%; }
.hw-ribbons .rb { opacity: 0; }
.rb1 { animation: rbDrift 26s linear infinite; animation-delay: -3s; }
.rb2 { animation: rbDrift 34s linear infinite; animation-delay: -14s; }
.rb3 { animation: rbDrift 30s linear infinite; animation-delay: -22s; }
.rb4 { animation: rbDrift 38s linear infinite; animation-delay: -9s; }
.rb5 { animation: rbDrift 32s linear infinite; animation-delay: -28s; }
@keyframes rbDrift {
  0%   { transform: translate(-1180px, 12px) rotate(-3deg);   opacity: 0; }
  10%  { opacity: .85; }
  32%  { transform: translate(-460px, -32px) rotate(2deg);    opacity: .95; }
  62%  { transform: translate(300px, 28px) rotate(-1.5deg);   opacity: .9; }
  90%  { opacity: .7; }
  100% { transform: translate(1320px, -20px) rotate(3deg);    opacity: 0; }
}

.hw-inner { position: relative; z-index: 2; }
.honors-wall .section-head .kicker { color: #ffd9a0; }
.honors-wall .section-head h2 { color: #fff; text-shadow: 0 2px 20px rgba(70,12,10,.45); }
.honors-wall .section-head p.sub { color: rgba(255,255,255,.86); }
.honors-wall .honor-empty { grid-column: 1 / -1; text-align: center; color: rgba(255,255,255,.8); padding: 30px 0; }

/* 展台与金字塔单行 */
.hw-stage { position: relative; margin-top: 8px; }
.hw-pyramid {
  display: flex; align-items: flex-end; justify-content: center;
  padding: 6px 0 0; min-height: 300px;
}
.hw-card {
  --lift: 0px; --sc: 1; --tilt: 0deg; --z: 10; --d: 0ms;
  position: relative; z-index: var(--z);
  flex: 0 0 auto; width: 150px; margin: 0 -16px;
  cursor: zoom-in; background: transparent; border: 0;
  transform-origin: bottom center;
  opacity: 0;
  transform: translateY(calc(var(--lift) + 64px)) scale(calc(var(--sc) * .9)) rotate(var(--tilt));
  transition: opacity .6s ease var(--d),
              transform .68s cubic-bezier(.2,.95,.25,1) var(--d),
              filter .32s ease;
}
#honorWall.is-in .hw-card {
  opacity: 1;
  transform: translateY(var(--lift)) scale(var(--sc)) rotate(var(--tilt));
}
/* 入场结束后取消过渡延迟，避免 hover 迟滞 */
#honorWall.no-delay .hw-card { transition-delay: 0s; }
/* 同排退让：进入整排时其余证书轻微下沉，突出当前证书 */
#honorWall.is-in:hover .hw-card {
  filter: brightness(.9) saturate(.9);
  transform: translateY(calc(var(--lift) + 14px)) scale(calc(var(--sc) * .955)) rotate(var(--tilt));
}
/* 鼠标所在证书自然跃出 */
#honorWall.is-in .hw-card:hover,
#honorWall.is-in .hw-card:focus-visible {
  z-index: 90; outline: none; filter: none;
  transform: translateY(calc(var(--lift) - 44px)) scale(calc(var(--sc) * 1.16)) rotate(0deg);
}

/* 证书本体：真实证件观感（投影 + 烫金高光） */
.hw-cert {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: #fffdf6;
  box-shadow: 0 10px 26px rgba(58,10,8,.42), 0 2px 6px rgba(58,10,8,.34);
}
.hw-cert svg, .hw-cert img { display: block; width: 100%; height: auto; }
#honorWall .hw-card:hover .hw-cert,
#honorWall .hw-card:focus-visible .hw-cert {
  box-shadow: 0 24px 46px rgba(48,8,6,.52),
              0 0 0 2px rgba(255,226,152,.92),
              0 0 30px rgba(255,196,90,.55);
}
.hw-no {
  position: absolute; top: -9px; left: -9px; z-index: 3;
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, #ffe9a8, #dfa02a);
  color: #6d1a17; font: 700 12px/26px 'PingFang SC','Microsoft YaHei',sans-serif;
  text-align: center; box-shadow: 0 3px 8px rgba(0,0,0,.32);
}
/* 悬停浮出的信息卡 */
.hw-info {
  position: absolute; left: -14px; right: -14px; top: 100%;
  margin-top: 12px; padding: 12px 14px 14px;
  background: rgba(255,252,245,.98); border-radius: 10px;
  box-shadow: 0 16px 34px rgba(48,8,6,.4);
  opacity: 0; transform: translateY(-10px) scale(.96); transform-origin: top center;
  pointer-events: none;
  transition: opacity .3s ease, transform .36s cubic-bezier(.2,1.1,.3,1);
}
#honorWall .hw-card:hover .hw-info,
#honorWall .hw-card:focus-visible .hw-info { opacity: 1; transform: translateY(0) scale(1); }

/* 底部展台 */
.hw-base { position: relative; width: min(1140px, 100%); height: 34px; margin: 10px auto 0; }
.hw-base::before {
  content: ''; position: absolute; left: 3%; right: 3%; top: 0; height: 34px;
  border-radius: 46% 46% 8px 8px / 82% 82% 8px 8px;
  background: linear-gradient(180deg, #6b1b16 0%, #4a0f0c 60%, #3a0a07 100%);
  box-shadow: 0 20px 44px rgba(40,6,4,.5), inset 0 2px 0 rgba(255,220,160,.22);
}
.hw-base i {
  position: absolute; left: 10%; right: 10%; top: 8px; height: 10px; z-index: 2;
  border-radius: 50%;
  background: linear-gradient(90deg, rgba(255,214,130,0), rgba(255,214,130,.42), rgba(255,214,130,0));
  filter: blur(2px);
}

.honors-wall p.hw-note {
  max-width: 900px; margin: 26px auto 0; text-align: center;
  font-size: 12px; line-height: 1.9; color: rgba(255,255,255,.60);
}

@media (max-width: 900px) {
  .honors-wall { padding: 72px 0 76px; }
  .hw-pyramid {
    justify-content: flex-start; overflow-x: auto; padding: 6px 8px 22px;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  }
  .hw-card { width: 126px; margin: 0 -6px; scroll-snap-align: center; }
  .hw-info { left: -6px; right: -6px; padding: 10px 12px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .hw-ribbons .rb { animation: none; opacity: .5; }
  .hw-card { transition: none; opacity: 1; }
}


/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .hero-pipes { display: none; }

  /* 窄屏导航不再隐藏，改为独立一行横向滚动，
     保证 5 个栏目在任何页面都可见、间距一致 */
  .header-inner { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 8px; gap: 4px 12px; }
  .logo { font-size: 17px; }
  .logo .logo-en { font-size: 10px; letter-spacing: 1.5px; }
  .nav-auth { margin-left: auto; }
  .main-nav {
    order: 3;
    width: 100%;
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav a { padding: 6px 12px; font-size: 14px; }
  .main-nav a.active::after { left: 12px; right: 12px; }

  /* 定位区窄屏适配 */
  .pos-wrap { grid-template-columns: 1fr; gap: 14px; }
  .pos-link { transform: rotate(90deg); height: 40px; }
  .pos-flow { grid-template-columns: repeat(2, 1fr); }
}
