/* ============================================================
   阳光动量 · 站点样式（v6.82 改版）
   ------------------------------------------------------------
   结构（**顺序不可打乱**）：
     1. 设计令牌        2. 基础重置      3. 容器
     4. 顶栏            5. 首屏          6. 信任数据条
     7. 区块通用        8. 服务卡片      9. 为什么选我们
    10. 成果与赛事     11. 教练团队     12. 客户评价
    13. 最新动态       14. 合作单位     15. 转化区
    16. 页脚           17. 栏目页兼容   18. 媒体查询（必须放最后）

   ⚠️ 本项目已因「基础样式写在媒体查询之后」被覆盖过一次：
      手机端规则会被后面的基础样式盖掉。所以媒体查询**只在文件末尾出现**。

   设计方向：深色运动 + 编辑式排版 + 大留白 + 克制动效
   ============================================================ */

/* ============================================================
   1. 设计令牌
   ============================================================ */
:root {
  /* --- 底色：品牌紫转成「夜幕」 --- */
  --ink-900: #150B18;
  --ink-800: #1E1226;
  --ink-700: #2A1B33;
  --ink-600: #3A2945;

  /* --- 内容区：暖白比纯白更耐看 --- */
  --paper: #FAF8F5;
  --paper-2: #FFFFFF;

  /* --- 行动色：阳光橙，只用于可点元素与关键数字 --- */
  --accent: #FF6A2B;
  --accent-d: #E85A1C;
  --accent-soft: rgba(255, 106, 43, .10);

  /* --- 品牌紫：保留作基因，面积不超过 5% --- */
  --brand: #660874;
  --brand-soft: rgba(102, 8, 116, .07);

  /* --- 文字 --- */
  --t-strong: #12101A;
  --t-body: #3A3540;
  --t-mute: #6B6675;
  --t-on-dark: #F5F2F7;
  --t-on-dark-mute: #A8A2B3;

  --line: #EAE6E1;
  --line-dark: rgba(255, 255, 255, .10);

  /* --- 4px 网格 --- */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px;
  --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;

  /* --- 圆角与动效 --- */
  --r-sm: 4px; --r-md: 10px; --r-lg: 16px; --r-pill: 999px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur-1: 180ms; --dur-2: 420ms; --dur-3: 620ms;

  --wrap: 1120px;
  --shadow-1: 0 1px 2px rgba(18, 16, 26, .05);
  --shadow-2: 0 8px 24px rgba(18, 16, 26, .08);
  --shadow-3: 0 16px 48px rgba(18, 16, 26, .12);
}

/* ============================================================
   2. 基础重置
   ============================================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, "Microsoft YaHei", "Helvetica Neue", sans-serif;
  color: var(--t-strong);
  background: var(--paper);
  line-height: 1.7;
  font-size: 15.5px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ============================================================
   3. 容器
   ============================================================ */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--s5); }

/* ============================================================
   4. 顶栏（深色磨砂，滚动后加边）
   ============================================================ */
.hd {
  position: sticky; top: 0; z-index: 60;
  background: rgba(21, 11, 24, .72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  transition: background var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease);
  border-bottom: 1px solid transparent;
}
.hd.scrolled {
  background: rgba(21, 11, 24, .94);
  border-bottom-color: var(--line-dark);
}
.hd-in { display: flex; align-items: center; gap: var(--s5); height: 72px; }

/* 顶栏是深色底，品牌紫的 LOGO 在上面几乎看不见 —— 转成白色（与页脚同处理） */
.hd-logo img { height: 32px; width: auto; filter: brightness(0) invert(1); opacity: .96; }

.hd-nav { display: flex; gap: var(--s6); margin-left: auto; }
.hd-nav a {
  font-size: 14.5px; color: var(--t-on-dark-mute);
  padding: 6px 0; position: relative;
  transition: color var(--dur-1) var(--ease);
}
.hd-nav a:hover, .hd-nav a.on { color: var(--t-on-dark); }
.hd-nav a.on::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -3px;
  height: 2px; background: var(--accent); border-radius: 2px;
}

/* 顶栏右侧常驻转化按钮 */
.hd-cta {
  display: inline-flex; align-items: center; gap: 6px;
  height: 38px; padding: 0 18px;
  background: var(--accent); color: #fff;
  border-radius: var(--r-pill);
  font-size: 14px; font-weight: 600;
  transition: background var(--dur-1) var(--ease), transform var(--dur-1) var(--ease);
}
.hd-cta:hover { background: var(--accent-d); transform: translateY(-1px); }

.hd-burger {
  display: none; background: none; border: 0;
  width: 40px; height: 40px; padding: 10px; margin-left: auto;
}
.hd-burger span {
  display: block; height: 2px; background: var(--t-on-dark);
  border-radius: 2px; margin: 4px 0;
  transition: transform var(--dur-1) var(--ease), opacity var(--dur-1) var(--ease);
}

/* ============================================================
   5. 首屏（深色大图 + 主标语 + 双按钮）
   ============================================================ */
.hero {
  position: relative;
  height: 88vh; min-height: 520px; max-height: 780px;
  overflow: hidden;
  background: var(--ink-900);
  margin-top: -72px;          /* 顶栏浮在首屏之上 */
  padding-top: 72px;
}

.hero-track { display: flex; height: 100%; transition: transform var(--dur-3) var(--ease); }

.hero-slide {
  position: relative; flex: 0 0 100%; height: 100%;
}
/* 背景图**压暗并降饱和**：
 * 2013 年那两张素材本身带大字标题（「奥运健儿公益服务大行动」），
 * 若按原样铺底会和主标语叠成两套标题。压到 .34 + brightness(.66) 后，
 * 背景退为「氛围」而不是「另一段文字」，主标语才立得住。
 * 换新素材（纯场景、无字）后可把这两个值调回 .55 / .85。 */
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .34;
  filter: brightness(.66) saturate(.9);
}

/* 从深到透明的斜向遮罩，保证文字可读 */
.hero-slide::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(21, 11, 24, .96) 0%, rgba(21, 11, 24, .80) 40%, rgba(21, 11, 24, .40) 100%),
    linear-gradient(to top, rgba(21, 11, 24, .90) 0%, rgba(21, 11, 24, 0) 58%);
}

/* 首屏文案层 */
.hero-inner {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  pointer-events: none;      /* 只有按钮可点，不挡轮播手势 */
}
.hero-inner .wrap { width: 100%; }
.hero-copy { max-width: 640px; pointer-events: auto; }

.hero-kicker {
  display: inline-block;
  font-size: 12px; letter-spacing: 2px; font-weight: 600;
  color: var(--accent); text-transform: uppercase;
  margin-bottom: var(--s4);
}

.hero-title {
  font-size: clamp(34px, 5.2vw, 60px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -.5px;
  color: var(--t-on-dark);
  margin-bottom: var(--s4);
}
.hero-title em { font-style: normal; color: var(--accent); }

.hero-sub {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.7;
  color: var(--t-on-dark-mute);
  max-width: 520px;
  margin-bottom: var(--s6);
}

.hero-actions { display: flex; gap: var(--s3); flex-wrap: wrap; }

.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 28px;
  border-radius: var(--r-pill);
  font-size: 15px; font-weight: 600;
  border: 1px solid transparent;
  transition: all var(--dur-1) var(--ease);
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-d); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(255, 106, 43, .34); }

.btn-ghost { background: transparent; color: var(--t-on-dark); border-color: rgba(255, 255, 255, .34); }
.btn-ghost:hover { background: rgba(255, 255, 255, .10); border-color: rgba(255, 255, 255, .6); }

/* 轮播控制 */
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .10); color: #fff;
  font-size: 22px; line-height: 1;
  opacity: 0; transition: opacity var(--dur-1) var(--ease), background var(--dur-1) var(--ease);
  backdrop-filter: blur(6px);
}
.hero:hover .hero-arrow { opacity: 1; }
.hero-arrow:hover { background: rgba(255, 255, 255, .22); }
.hero-arrow.prev { left: var(--s5); }
.hero-arrow.next { right: var(--s5); }

.hero-dots {
  position: absolute; left: 0; right: 0; bottom: var(--s6);
  display: flex; justify-content: center; gap: var(--s2);
}
.hero-dots i {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255, 255, 255, .34);
  cursor: pointer; transition: all var(--dur-1) var(--ease);
}
.hero-dots i.on { background: var(--accent); width: 22px; border-radius: 4px; }

/* 首屏无图时的降级 */
.hero-empty { background: linear-gradient(135deg, var(--ink-800), var(--ink-700)); }

/* ============================================================
   6. 信任数据条（紧贴首屏，深色）
   ============================================================ */
.trust-bar {
  background: var(--ink-800);
  border-bottom: 1px solid var(--line-dark);
}
.trust-in {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: var(--s6) 0;
}
.trust-item {
  text-align: center;
  padding: 0 var(--s4);
  border-right: 1px solid var(--line-dark);
}
.trust-item:last-child { border-right: 0; }
.trust-num {
  display: block;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.trust-num small { font-size: .5em; font-weight: 600; margin-left: 2px; }
.trust-label { display: block; font-size: 13px; color: var(--t-on-dark-mute); margin-top: 6px; }

/* ============================================================
   7. 区块通用
   ============================================================ */
.sec { padding: var(--s9) 0; }
.sec-alt { background: var(--paper-2); }
.sec-dark { background: var(--ink-900); color: var(--t-on-dark); }

.sec-hd { margin-bottom: var(--s7); }
.sec-hd.center { text-align: center; }
.sec-hd h2 {
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 700; letter-spacing: -.3px;
  line-height: 1.24;
}
.sec-hd h2::after {
  content: ''; display: block;
  width: 36px; height: 3px;
  background: var(--accent); border-radius: 2px;
  margin-top: var(--s3);
}
.sec-hd.center h2::after { margin-left: auto; margin-right: auto; }
.sec-hd p { color: var(--t-mute); font-size: 15px; margin-top: var(--s3); max-width: 640px; }
.sec-hd.center p { margin-left: auto; margin-right: auto; }
.sec-dark .sec-hd h2 { color: var(--t-on-dark); }
.sec-dark .sec-hd p { color: var(--t-on-dark-mute); }

/* ============================================================
   8. 服务卡片
   ============================================================ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }

.card {
  display: block;
  padding: var(--s6) var(--s5) var(--s5);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-3);
  border-color: rgba(255, 106, 43, .30);
}

.card-ico {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-md);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 22px;
  margin-bottom: var(--s4);
}
.card-ico svg { width: 24px; height: 24px; }

.card h3 { font-size: 19px; font-weight: 700; margin-bottom: var(--s2); letter-spacing: -.2px; }
.card p { font-size: 14px; color: var(--t-body); line-height: 1.6; }

.cards-empty, .partners-empty, .news-empty {
  text-align: center; color: var(--t-mute); font-size: 13px;
  padding: var(--s6) var(--s4);
  border: 1px dashed var(--line); border-radius: var(--r-md);
  grid-column: 1 / -1;
}

/* ============================================================
   9. 为什么选我们（深色，左标题右列表）
   ============================================================ */
.adv-in { display: grid; grid-template-columns: .85fr 1.15fr; gap: var(--s8); align-items: start; }

.adv-left h2 {
  font-size: clamp(24px, 3.2vw, 34px); font-weight: 700; line-height: 1.26;
  color: var(--t-on-dark); letter-spacing: -.3px;
  margin-bottom: var(--s4);
}
.adv-left p { color: var(--t-on-dark-mute); font-size: 15px; line-height: 1.8; }

.adv-list { display: grid; gap: var(--s5); }
.adv-item { display: flex; gap: var(--s4); }
.adv-num {
  flex: 0 0 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 106, 43, .46);
  border-radius: var(--r-sm);
  color: var(--accent); font-size: 14px; font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.adv-item h3 { font-size: 16px; font-weight: 600; color: var(--t-on-dark); margin-bottom: var(--s1); }
.adv-item p { font-size: 14px; color: var(--t-on-dark-mute); line-height: 1.7; }

/* ============================================================
   10. 成果与赛事（横向赛果卡，非仪表盘）
   ============================================================ */
.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }

.result-card {
  position: relative;
  padding: var(--s4) var(--s4) var(--s4) var(--s5);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease);
}
.result-card::before {
  content: ''; position: absolute; left: 0; top: var(--s4); bottom: var(--s4);
  width: 3px; border-radius: 2px; background: var(--accent);
}
.result-card:hover { border-color: rgba(255, 106, 43, .3); box-shadow: var(--shadow-2); }

.result-meta { font-size: 12px; color: var(--t-mute); margin-bottom: 6px; letter-spacing: .3px; }
.result-name { font-size: 17px; font-weight: 600; color: var(--t-strong); }
.result-name span { color: var(--t-mute); font-weight: 400; font-size: 14px; }
.result-score { display: block; font-size: 15px; font-weight: 700; color: var(--accent); margin-top: var(--s2); font-variant-numeric: tabular-nums; }

/* ============================================================
   11. 教练团队（深色，竖版卡）
   ============================================================ */
.coaches { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); }

.coach-card {
  background: var(--ink-800);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease);
}
.coach-card:hover { transform: translateY(-3px); border-color: rgba(255, 106, 43, .34); }

.coach-photo {
  aspect-ratio: 3 / 4;
  background: var(--ink-700);
  overflow: hidden;
}
.coach-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--dur-2) var(--ease);
}
.coach-card:hover .coach-photo img { transform: scale(1.04); }

.coach-body { padding: var(--s4); }
.coach-name { font-size: 16px; font-weight: 600; color: var(--t-on-dark); }
.coach-title { font-size: 13px; color: var(--accent); margin-top: 2px; }
.coach-cert { font-size: 12px; color: var(--t-on-dark-mute); margin-top: 6px; line-height: 1.5; }

/* ============================================================
   12. 客户评价
   ============================================================ */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s5); }

.quote {
  position: relative;
  padding: var(--s6) var(--s5) var(--s5);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.quote-mark {
  font-size: 52px; line-height: 1;
  color: var(--accent); opacity: .22;
  font-family: Georgia, serif;
  margin-bottom: calc(var(--s2) * -1);
}
.quote-text { font-size: 16px; line-height: 1.8; color: var(--t-body); }
.quote-author { margin-top: var(--s4); font-size: 13px; color: var(--t-mute); }
.quote-author b { color: var(--t-strong); font-weight: 600; }

/* ============================================================
   13. 最新动态
   ============================================================ */
.news { list-style: none; }
.news li { border-bottom: 1px solid var(--line); }
.news li:first-child { border-top: 1px solid var(--line); }
.news a {
  display: flex; gap: var(--s5); align-items: baseline;
  padding: var(--s4) var(--s1);
  transition: color var(--dur-1) var(--ease);
}
.news a:hover { color: var(--accent); }
.news time {
  flex: 0 0 104px; font-size: 13px; color: var(--t-mute);
  font-variant-numeric: tabular-nums;
}
.news span { font-size: 15.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.news-more { margin-top: var(--s5); }
.news-more a {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--accent);
}
.news-more a:hover { color: var(--accent-d); }

.pin {
  display: inline-block; font-style: normal; font-size: 11px;
  background: var(--accent); color: #fff;
  padding: 1px 6px; border-radius: var(--r-sm);
  margin-right: 6px; vertical-align: 1px;
}

/* ============================================================
   14. 合作单位（横向无缝滚动）
   ============================================================ */
.partners {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.partners-track {
  display: flex; gap: var(--s4); width: max-content;
  animation: scrollX 38s linear infinite;
}
.partners:hover .partners-track { animation-play-state: paused; }
@keyframes scrollX {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.partner {
  flex: 0 0 auto;
  width: 172px; height: 88px;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s3);
}
.partner img { max-height: 48px; max-width: 100%; object-fit: contain; }
.partner span {
  font-size: 14px; color: var(--t-mute); font-weight: 600;
  text-align: center; line-height: 1.35;
}

/* ============================================================
   15. 转化区（深色通栏）
   ============================================================ */
.cta { background: var(--ink-900); padding: var(--s8) 0; }
.cta-in {
  display: grid; grid-template-columns: 1.4fr auto auto;
  gap: var(--s7); align-items: center;
}
.cta-title {
  font-size: clamp(22px, 2.6vw, 30px); font-weight: 700;
  color: var(--t-on-dark); line-height: 1.3; letter-spacing: -.3px;
}
.cta-title em { font-style: normal; color: var(--accent); }
.cta-note { font-size: 14px; color: var(--t-on-dark-mute); margin-top: var(--s2); }

.cta-phone {
  display: block; font-size: clamp(24px, 3vw, 32px); font-weight: 700;
  color: var(--accent); font-variant-numeric: tabular-nums;
  letter-spacing: .5px;
}
.cta-phone:hover { color: var(--accent-d); }

.cta-qr {
  display: flex; align-items: center; gap: var(--s3);
}
.cta-qr img, .cta-qr .qr-box {
  width: 96px; height: 96px; border-radius: var(--r-md);
  background: #fff; object-fit: cover;
}
.cta-qr p { font-size: 12px; color: var(--t-on-dark-mute); line-height: 1.6; max-width: 96px; }

/* ============================================================
   16. 页脚
   ============================================================ */
.ft { background: var(--ink-900); color: var(--t-on-dark-mute); padding-top: var(--s8); }
.ft-in {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--s6); padding-bottom: var(--s7);
}
.ft-logo { height: 30px; margin-bottom: var(--s4); filter: brightness(0) invert(1); opacity: .9; }
.ft-col p { font-size: 13px; line-height: 2; }
.ft-col h5 {
  font-size: 13px; color: var(--t-on-dark); margin-bottom: var(--s3);
  font-weight: 600; letter-spacing: .5px;
}
.ft-col a { display: block; font-size: 13px; line-height: 2.1; transition: color var(--dur-1) var(--ease); }
.ft-col a:hover { color: var(--accent); }
.ft-bot {
  border-top: 1px solid var(--line-dark);
  padding: var(--s4) var(--s5);
  text-align: center; font-size: 12px; color: #6E6875;
}

/* ============================================================
   17. 栏目页兼容样式（about / service / news / contact）
   ============================================================ */
.page-hd {
  padding: var(--s8) 0 var(--s7);
  background: linear-gradient(135deg, rgba(102, 8, 116, .06), rgba(255, 106, 43, .06));
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.page-hd h1 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 700; letter-spacing: -.4px; }
.page-hd p { color: var(--t-body); font-size: 15px; margin-top: var(--s2); }

.prose { max-width: 820px; margin: 0 auto; font-size: 16px; line-height: 1.9; color: var(--t-body); }
.prose h2 {
  font-size: 21px; color: var(--t-strong); font-weight: 700;
  margin: var(--s7) 0 var(--s3);
  padding-left: var(--s3); border-left: 4px solid var(--accent);
  line-height: 1.4;
}
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: var(--s3); }
.prose strong { color: var(--t-strong); font-weight: 600; }
.prose ul { margin: 0 0 var(--s4) 0; padding-left: 20px; }
.prose li { margin-bottom: var(--s2); }

.tip {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  padding: var(--s3) var(--s4);
  border-radius: var(--r-md);
  font-size: 14px; color: var(--t-body);
  margin: var(--s5) 0;
}

.tbl { width: 100%; border-collapse: collapse; margin: var(--s4) 0 var(--s5); font-size: 14px; }
.tbl th { background: var(--brand-soft); color: var(--t-strong); font-weight: 600; text-align: left; }
.tbl th, .tbl td { padding: var(--s3) var(--s4); border-bottom: 1px solid var(--line); }
.tbl tr:last-child td { border-bottom: 0; }

.news-page li { border-bottom: 1px solid var(--line); padding: var(--s4) 0; }
.news-page li:first-child { border-top: 1px solid var(--line); }
.news-page a { padding: 0; }
.news-page .sum {
  font-size: 13px; color: var(--t-mute); margin-top: 6px;
  overflow: hidden; text-overflow: ellipsis; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.news-page .empty, .news-page .loading {
  text-align: center; color: var(--t-mute); padding: var(--s7) 0; font-size: 14px;
}

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.contact-card {
  text-align: center; padding: var(--s6) var(--s5);
  background: var(--paper-2);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: transform var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease);
}
.contact-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.contact-ico {
  width: 52px; height: 52px; margin: 0 auto var(--s4);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; border-radius: var(--r-md); background: var(--accent-soft);
  color: var(--accent);
}
.contact-card h3 { font-size: 16px; font-weight: 700; margin-bottom: var(--s2); }
.contact-card p { font-size: 14px; color: var(--t-body); line-height: 2; }
.contact-card a { color: var(--accent); font-weight: 600; }
.contact-card a:hover { text-decoration: underline; }
.muted { font-size: 12px; color: var(--t-mute) !important; }

/* 滚入动画（默认隐藏，JS 加 .in 后显示；无 JS 时保持可见见下方兜底） */
.reveal { opacity: 1; transform: none; }
html.js-on .reveal { opacity: 0; transform: translateY(12px); transition: opacity var(--dur-2) var(--ease), transform var(--dur-2) var(--ease); }
html.js-on .reveal.in { opacity: 1; transform: none; }

/* ============================================================
   18. 媒体查询（**必须在文件末尾**）
   ============================================================ */

/* --- 平板 --- */
@media (max-width: 1024px) {
  .sec { padding: var(--s8) 0; }
  .adv-in { grid-template-columns: 1fr; gap: var(--s6); }
  .results { grid-template-columns: repeat(2, 1fr); }
  .coaches { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cta-in { grid-template-columns: 1fr; gap: var(--s5); text-align: left; }
  .ft-in { grid-template-columns: 1fr 1fr; }
}

/* --- 手机 --- */
@media (max-width: 768px) {
  :root { --s9: 56px; --s8: 44px; }

  .wrap { padding: 0 18px; }

  /* 顶栏 */
  .hd-in { height: 60px; gap: var(--s3); }
  .hd-logo img { height: 26px; }
  .hd-burger { display: block; }
  .hd-cta { height: 34px; padding: 0 14px; font-size: 13px; }
  .hd-nav {
    display: none; position: absolute; top: 60px; left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0;
    padding: var(--s2) 18px var(--s4);
    background: var(--ink-900);
    border-bottom: 1px solid var(--line-dark);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .34);
  }
  .hd-nav.open { display: flex; }
  .hd-nav a {
    padding: var(--s3) 0; font-size: 15px;
    border-bottom: 1px solid var(--line-dark);
    color: var(--t-on-dark-mute);
  }
  .hd-nav a:last-child { border-bottom: 0; }
  .hd-nav a.on::after { display: none; }

  /* 首屏 */
  .hero { height: 76vh; min-height: 460px; margin-top: -60px; padding-top: 60px; }
  .hero-slide img { opacity: .42; }
  .hero-slide::after {
    background: linear-gradient(to top, rgba(21, 11, 24, .96) 12%, rgba(21, 11, 24, .74) 48%, rgba(21, 11, 24, .42) 100%);
  }
  .hero-inner { align-items: flex-end; padding-bottom: var(--s7); }
  .hero-kicker { font-size: 11px; letter-spacing: 1.4px; margin-bottom: var(--s3); }
  .hero-title { font-size: clamp(28px, 8vw, 38px); margin-bottom: var(--s3); }
  .hero-sub { font-size: 14px; margin-bottom: var(--s5); max-width: none; }
  .hero-arrow { display: none; }
  .hero-actions { gap: var(--s2); }
  .btn-primary, .btn-ghost { height: 44px; padding: 0 22px; font-size: 14px; flex: 1 1 auto; }
  .hero-dots { bottom: var(--s4); }

  /* 信任数据条 → 两行两列 */
  .trust-in { grid-template-columns: repeat(2, 1fr); gap: var(--s4) 0; padding: var(--s5) 0; }
  .trust-item { border-right: 0; padding: var(--s2) var(--s3); }
  .trust-item:nth-child(odd) { border-right: 1px solid var(--line-dark); }
  .trust-num { font-size: 24px; }
  .trust-label { font-size: 12px; }

  /* 区块 */
  .sec { padding: var(--s8) 0; }
  .sec-hd { margin-bottom: var(--s6); }
  .sec-hd p { font-size: 14px; }

  /* 卡片单列 */
  .cards { grid-template-columns: 1fr; gap: var(--s3); }
  .card { padding: var(--s5) var(--s4); }

  /* 能力说明 */
  .adv-list { gap: var(--s4); }
  .adv-item { gap: var(--s3); }

  /* 成果卡单列 */
  .results { grid-template-columns: 1fr; }

  /* 教练横滑 */
  .coaches {
    display: flex; gap: var(--s3);
    overflow-x: auto; scroll-snap-type: x mandatory;
    padding-bottom: var(--s2);
    -webkit-overflow-scrolling: touch;
  }
  .coaches::-webkit-scrollbar { display: none; }
  .coach-card { flex: 0 0 62%; scroll-snap-align: start; }

  /* 评价单列 */
  .quotes { grid-template-columns: 1fr; gap: var(--s4); }

  /* 动态竖排 */
  .news a { flex-direction: column; gap: 2px; padding: var(--s3) var(--s1); }
  .news time { flex: none; }
  .news span { white-space: normal; line-height: 1.55; font-size: 15px; }

  /* 合作单位 */
  .partner { width: 140px; height: 74px; }

  /* 转化区 */
  .cta { padding: var(--s7) 0; }
  .cta-qr { gap: var(--s3); }
  .cta-qr img, .cta-qr .qr-box { width: 84px; height: 84px; }

  /* 页脚 */
  .ft { padding-top: var(--s7); }
  .ft-in { grid-template-columns: 1fr; gap: var(--s5); padding-bottom: var(--s5); }
  .ft-bot { padding: var(--s3) 18px; }

  /* 栏目页 */
  .page-hd { padding: var(--s7) 0 var(--s6); }
  .page-hd h1 { font-size: 26px; }
  .prose { font-size: 15px; }
  .prose h2 { font-size: 18px; margin: var(--s6) 0 var(--s3); }
  .tbl th, .tbl td { padding: var(--s2) var(--s2); font-size: 13px; }
  .contact-grid { grid-template-columns: 1fr; gap: var(--s3); }
  .news-page .sum { -webkit-line-clamp: 3; }
}

/* --- 减少动态效果 --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  html.js-on .reveal { opacity: 1; transform: none; }
  .partners-track { animation: none; }
}

/* v6.82：教练照片缺失时的占位（姓氏首字），避免留下空白灰块 */
.coach-photo-ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 42px; font-weight: 700;
  color: rgba(255, 255, 255, .18);
  background: linear-gradient(160deg, var(--ink-700), var(--ink-800));
}
/* 深色区块里的空状态，边框与文字要适配暗底 */
.sec-dark .cards-empty {
  color: var(--t-on-dark-mute);
  border-color: var(--line-dark);
}
