/* ==========================================================================
   澜驰动力冲浪学院 · 主样式
   深海 / 竞技 / 高级：近黑底 + 深蓝 + 湖蓝高光 + 橙色行动点
   ========================================================================== */
@font-face {
  font-family: "Bebas";
  src: url("/static/fonts/bebas.woff2") format("woff2");
  font-display: swap;
  font-weight: 400;
}
@font-face {
  font-family: "Inter";
  src: url("/static/fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/static/fonts/inter-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/static/fonts/inter-800.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

:root {
  --ink: #05080f;
  --ink-2: #070c16;
  --ink-3: #0a121f;
  --navy: #0b1a2b;
  --navy-2: #0e2438;
  --lake: #2bb3e0;
  --lake-2: #63d7f7;
  --orange: #ff4d1c;
  --red: #d8261b;
  --text: #edf4fa;
  --muted: #93a7b8;
  --muted-2: #6b8296;
  --line: rgba(120, 180, 220, .14);
  --line-2: rgba(120, 180, 220, .28);
  --wrap: 1240px;
  --r: 4px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --head-h: 74px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.14; font-weight: 800; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--lake-2); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px); }
.wrap.narrow { max-width: 860px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; }

/* ---------------------------------------------------------------- 通用组件 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  height: 46px; padding: 0 22px; border: 1px solid transparent; border-radius: var(--r);
  font-size: 15px; font-weight: 600; letter-spacing: .01em; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, border-color .25s, color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 30px -12px rgba(255, 77, 28, .9); }
.btn-primary:hover { background: #ff5f33; box-shadow: 0 16px 40px -14px rgba(255, 77, 28, 1); }
.btn-line { border-color: var(--line-2); color: var(--text); background: rgba(255, 255, 255, .02); }
.btn-line:hover { border-color: var(--lake); color: var(--lake-2); background: rgba(43, 179, 224, .08); }
.btn-ghost { color: var(--muted); border-color: transparent; }
.btn-ghost:hover { color: var(--text); }
.btn-lg { height: 54px; padding: 0 30px; font-size: 16px; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 13.5px; }
.btn-block { width: 100%; }
.ico { display: inline-flex; width: 1em; height: 1em; }
.ico svg { width: 100%; height: 100%; }
.ico-arrow { width: .95em; height: .95em; transition: transform .3s var(--ease); }
a:hover .ico-arrow { transform: translateX(4px); }

.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 100px;
  font-size: 12px; font-weight: 600; letter-spacing: .04em; background: rgba(43, 179, 224, .14);
  color: var(--lake-2); border: 1px solid rgba(43, 179, 224, .3);
}
.chip-live { background: rgba(255, 77, 28, .16); color: #ff8a66; border-color: rgba(255, 77, 28, .4); }
.event-feature-body > .chip, .event-card .ec-body > .chip { align-self: flex-start; }

/* 首屏统一冷色分级 */
.hero-media::after {
  content: ""; position: absolute; inset: 0; background: #0a2a44; mix-blend-mode: color;
  opacity: .55; pointer-events: none;
}

.eyebrow, .sec-label {
  font-family: "Bebas", "Inter", sans-serif; font-size: 14px; letter-spacing: .28em;
  color: var(--lake); text-transform: uppercase; margin: 0 0 14px; display: flex; align-items: center; gap: 10px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255, 77, 28, .18); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(255, 77, 28, 0); } }

/* ---------------------------------------------------------------- 页头 */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 90; height: var(--head-h);
  display: flex; align-items: center; transition: background .35s, backdrop-filter .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(5, 8, 15, .86); backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 100%; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 34px; height: 34px; color: var(--lake); }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { font-size: 17px; letter-spacing: .06em; font-weight: 800; }
.brand-text i {
  font-family: "Bebas", sans-serif; font-style: normal; font-size: 11px; letter-spacing: .26em;
  color: var(--muted-2);
}
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav-link {
  position: relative; padding: 8px 14px; font-size: 14.5px; color: #c6d6e2; border-radius: 3px;
  transition: color .2s;
}
.nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line-2); background: none; border-radius: 3px; position: relative; cursor: pointer; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--text); transition: .3s; }
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 24px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------------------------------------------------------------- 首屏 */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 92px; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { filter: contrast(1.06) saturate(1.05) brightness(.92); }
.hero-media img, .hero-video { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero-grad {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 8, 15, .82) 0%, rgba(5, 8, 15, .28) 34%, rgba(5, 8, 15, .55) 68%, var(--ink) 100%),
    linear-gradient(100deg, rgba(5, 8, 15, .85) 0%, rgba(5, 8, 15, .12) 62%);
}
.hero-grid-lines {
  position: absolute; inset: 0; opacity: .35; pointer-events: none;
  background-image: linear-gradient(to right, rgba(120, 180, 220, .12) 1px, transparent 1px);
  background-size: 25% 100%;
}
.hero-inner { position: relative; z-index: 2; }
.hero h1 {
  font-size: clamp(2.6rem, 7.4vw, 6.2rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.02;
  margin: 0 0 24px; max-width: 15ch;
  text-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}
.hero-sub { max-width: 46ch; color: #c3d5e2; font-size: clamp(.95rem, 1.35vw, 1.1rem); margin-bottom: 34px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; border-top: 1px solid var(--line); padding: 18px 0; background: linear-gradient(180deg, rgba(5, 8, 15, .1), rgba(5, 8, 15, .6)); }
.hero-stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat b { font-family: "Bebas", sans-serif; font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 400; letter-spacing: .02em; color: #fff; line-height: 1; }
.stat span { font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.hero-side {
  position: absolute; right: clamp(10px, 2vw, 26px); bottom: 120px; z-index: 2;
  writing-mode: vertical-rl; display: flex; flex-direction: column; align-items: center; gap: 14px;
  font-family: "Bebas", sans-serif; font-size: 11px; letter-spacing: .3em; color: var(--muted-2);
}
.hero-side i { display: block; width: 1px; height: 46px; background: var(--line-2); }

/* ---------------------------------------------------------------- 滚动字幕 */
.ticker { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink-2); }
.ticker-track { display: flex; gap: 60px; padding: 12px 0; white-space: nowrap; animation: marquee 38s linear infinite; }
.ticker-track span { font-size: 13px; letter-spacing: .16em; color: var(--muted); }
.ticker-track span::before { content: "◆"; color: var(--orange); margin-right: 14px; font-size: 9px; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- 区块 */
.section { padding: clamp(52px, 6.2vw, 104px) 0; position: relative; }
.section-dark { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { margin-bottom: clamp(32px, 5vw, 56px); max-width: 720px; }
.sec-head h2 { font-size: clamp(1.9rem, 3.9vw, 3.3rem); margin-bottom: 16px; letter-spacing: -.025em; }
.sec-desc { color: var(--muted); font-size: 1.02rem; max-width: 56ch; margin: 0; }
.sec-head.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }
.sec-foot { margin-top: 40px; }

/* ---------------------------------------------------------------- 业务卡 */
.biz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.biz-card {
  position: relative; padding: 34px 30px 30px; background: var(--ink-2); overflow: hidden;
  display: flex; flex-direction: column; gap: 10px; min-height: 232px;
  transition: background .35s var(--ease);
}
.biz-card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: var(--orange);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.biz-card:hover { background: #0a1420; }
.biz-card:hover::before { transform: scaleX(1); }
.biz-no { position: absolute; right: 22px; top: 18px; font-family: "Bebas", sans-serif; font-size: 42px; color: rgba(120, 180, 220, .12); letter-spacing: .04em; }
.biz-ico { width: 38px; height: 38px; color: var(--lake); margin-bottom: 10px; }
.biz-card h3 { font-size: 1.24rem; }
.biz-card p { font-size: .93rem; color: var(--muted); margin: 0; }
.biz-more { margin-top: auto; font-size: .85rem; color: var(--lake-2); display: inline-flex; align-items: center; gap: 6px; opacity: 0; transform: translateY(6px); transition: .35s var(--ease); }
.biz-card:hover .biz-more { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- Tabs */
.tab-btns { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.tab-btn {
  height: 44px; padding: 0 20px; border: 1px solid var(--line-2); background: transparent; border-radius: 3px;
  font-size: 14.5px; color: var(--muted); cursor: pointer; transition: .25s; display: inline-flex; align-items: center; gap: 8px;
}
.tab-btn i { font-style: normal; font-size: 11px; opacity: .6; }
.tab-btn:hover { color: var(--text); border-color: var(--lake); }
.tab-btn.is-on { background: var(--lake); border-color: var(--lake); color: #04121a; font-weight: 700; }
.tab-panel { display: none; }
.tab-panel.is-on { display: block; animation: fade .4s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }

/* ---------------------------------------------------------------- 课程卡 */
.course-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.course-card {
  display: flex; flex-direction: column; background: #0a1320; border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; transition: border-color .3s, transform .3s var(--ease), background .3s;
}
.course-card:hover { border-color: var(--line-2); transform: translateY(-4px); background: #0c1826; }
.course-thumb {
  height: 146px; background-size: cover; background-position: center;
  background-image:
    repeating-linear-gradient(112deg, rgba(43, 179, 224, .07) 0 1px, transparent 1px 16px),
    radial-gradient(120% 90% at 18% 108%, rgba(43, 179, 224, .26), transparent 62%),
    linear-gradient(135deg, #103049, #0a1a28 58%, #070e17);
  position: relative; border-bottom: 1px solid var(--line);
}
.course-thumb::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 20% 100%, rgba(43, 179, 224, .22), transparent 60%);
}
.course-thumb.has-img::after { background: linear-gradient(180deg, rgba(5, 8, 15, .1), rgba(5, 8, 15, .55)); }
.course-tag { position: absolute; left: 12px; top: 12px; z-index: 2; font-size: 11px; letter-spacing: .08em; padding: 4px 9px; border-radius: 2px; background: rgba(5, 8, 15, .62); border: 1px solid var(--line-2); color: #cfe6f4; }
.course-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.course-body h3 { font-size: 1.1rem; }
.course-body p { font-size: .9rem; color: var(--muted); margin: 0; flex: 1; }
.course-meta { display: flex; align-items: baseline; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted-2); }
.price { font-family: "Bebas", "Inter", sans-serif; font-size: 1.5rem; color: #fff; letter-spacing: .02em; }
.price::before { content: "¥"; font-size: .8rem; color: var(--orange); margin-right: 1px; }
.price s { font-size: .8rem; color: var(--muted-2); margin-left: 8px; }

/* 课程行（教学页） */
.course-list { display: flex; flex-direction: column; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.course-row { display: grid; grid-template-columns: 260px 1fr; background: var(--ink-2); transition: background .3s; }
.course-row:hover { background: #0b1622; }
.cr-media { position: relative; background-size: cover; background-position: center; min-height: 168px; border-right: 1px solid var(--line); background-color: #0c1c2b; }
.cr-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 8, 15, .5), rgba(5, 8, 15, .18) 70%, rgba(5, 8, 15, .35)); }
.cr-body { padding: 24px 30px; display: flex; flex-direction: column; gap: 8px; }
.cr-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cr-top h3 { font-size: 1.2rem; }
.cr-tag { font-size: 11px; color: var(--lake-2); border: 1px solid rgba(43, 179, 224, .3); padding: 2px 8px; border-radius: 2px; }
.cr-body p { color: var(--muted); font-size: .94rem; margin: 0; }
.cr-meta { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 10px; }
.cr-meta span { display: inline-flex; align-items: center; gap: 7px; color: var(--muted-2); font-size: .86rem; }

/* ---------------------------------------------------------------- 图文分栏 */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--r); aspect-ratio: 4/5; object-fit: cover; filter: saturate(1.05) contrast(1.05); }
.split-media::after { content: ""; position: absolute; inset: 12px -12px -12px 12px; border: 1px solid var(--line-2); border-radius: var(--r); z-index: -1; }
.split-badge {
  position: absolute; right: -14px; bottom: 26px; background: var(--orange); color: #fff; padding: 14px 18px;
  display: flex; flex-direction: column; border-radius: 2px; box-shadow: 0 18px 40px -18px rgba(255, 77, 28, .9);
}
.split-badge b { font-family: "Bebas", sans-serif; font-size: 1.8rem; line-height: 1; }
.split-badge span { font-size: 11px; letter-spacing: .08em; opacity: .9; }
.split-text h2 { font-size: clamp(1.8rem, 3.4vw, 2.9rem); margin-bottom: 26px; }
.feature-list { display: flex; flex-direction: column; gap: 0; margin: 0 0 30px; border-top: 1px solid var(--line); }
.feature-list li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.feature-list b { font-size: .94rem; color: #dbe9f4; }
.feature-list span { font-size: .9rem; color: var(--muted); }

/* ---------------------------------------------------------------- 价格表 */
.price-table { border-top: 1px solid var(--line-2); }
.price-row {
  display: grid; grid-template-columns: minmax(160px, 1.1fr) 1.6fr auto; gap: 24px; align-items: center;
  padding: 20px 4px; border-bottom: 1px solid var(--line); transition: background .25s, padding .25s;
}
.price-row:hover { background: rgba(43, 179, 224, .05); padding-left: 14px; }
.price-name { font-weight: 600; font-size: 1rem; }
.price-spec { color: var(--muted-2); font-size: .86rem; }
.price-num { font-family: "Bebas", sans-serif; font-size: 1.7rem; color: #fff; letter-spacing: .02em; white-space: nowrap; }
.price-num i { font-family: "Inter", sans-serif; font-style: normal; font-size: .7rem; color: var(--muted-2); font-weight: 400; margin-left: 4px; }
.fineprint { margin: 20px 0 0; font-size: .8rem; color: var(--muted-2); }

/* ---------------------------------------------------------------- 赛事 */
.event-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: start; }
.event-feature { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #091320; }
.event-feature-media { aspect-ratio: 16/9; background-size: cover; background-position: center; border-bottom: 1px solid var(--line); background-color: #0d2033; position: relative; }
.event-feature-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(5, 8, 15, .8)); }
.event-feature-body { padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 10px; }
.event-feature-body h3 { font-size: 1.4rem; }
.event-feature-body p { color: var(--muted); font-size: .93rem; margin: 0; }
.event-meta { display: flex; gap: 18px; font-size: .82rem; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.link-more { color: var(--lake-2); font-size: .88rem; display: inline-flex; gap: 6px; align-items: center; margin-top: 4px; }
.event-list { border-top: 1px solid var(--line-2); }
.event-row { display: grid; grid-template-columns: 62px 1fr auto; gap: 14px; align-items: center; padding: 18px 4px; border-bottom: 1px solid var(--line); transition: background .25s; }
.event-row:hover { background: rgba(43, 179, 224, .05); }
.event-date { font-family: "Bebas", sans-serif; font-size: 1.15rem; color: var(--lake); letter-spacing: .04em; }
.event-name { font-size: .94rem; }
.event-status { font-size: .74rem; color: var(--muted-2); border: 1px solid var(--line-2); padding: 2px 8px; border-radius: 2px; white-space: nowrap; }

.event-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.event-card { border: 1px solid var(--line); background: #091320; border-radius: var(--r); overflow: hidden; transition: .3s var(--ease); display: flex; flex-direction: column; }
.event-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.event-card.is-big { grid-column: span 2; }
.ec-media { aspect-ratio: 16/9; background-size: cover; background-position: center; position: relative; border-bottom: 1px solid var(--line); background-color: #0d2033; }
.ec-media .chip { position: absolute; left: 14px; top: 14px; }
.event-card.is-big .ec-media { aspect-ratio: 21/9; }
.ec-body { padding: 22px 24px 24px; }
.ec-date { font-size: .78rem; color: var(--muted-2); letter-spacing: .04em; margin-bottom: 8px; }
.ec-body h3 { font-size: 1.16rem; margin-bottom: 8px; }
.ec-body p { color: var(--muted); font-size: .9rem; margin-bottom: 12px; }
.ec-level { font-size: 11px; color: var(--lake-2); }

.ath-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.ath-card { display: flex; gap: 18px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: #091320; }
.ath-avatar { width: 84px; height: 84px; border-radius: 50%; background-size: cover; background-position: center; flex-shrink: 0; background-color: #0e2438; border: 1px solid var(--line-2); }
.ath-card h3 { font-size: 1.1rem; }
.ath-proj { color: var(--lake); font-size: .8rem; letter-spacing: .03em; margin: 2px 0 8px; }
.ath-card ul li { font-size: .82rem; color: var(--muted); }
.ath-card ul li::before { content: "·"; color: var(--orange); margin-right: 6px; }

/* ---------------------------------------------------------------- 影像 */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.g-item { position: relative; aspect-ratio: 4 / 3; background-size: cover; background-position: center; background-color: #0c1c2b; border: 1px solid var(--line); overflow: hidden; }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(5, 8, 15, .78)); opacity: .9; transition: .4s; }
.g-item span { position: absolute; left: 16px; bottom: 14px; z-index: 2; font-size: .82rem; color: #d8e8f3; letter-spacing: .04em; }
.g-item:hover::after { background: linear-gradient(180deg, rgba(43, 179, 224, .12), rgba(5, 8, 15, .85)); }
.g-tall, .g-wide { grid-column: auto; grid-row: auto; }
.g-item img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------------------------------------------- 教练 */
.coach-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.coach-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--r); background: #091320; }
.coach-avatar { width: 100%; aspect-ratio: 1/1; background-size: cover; background-position: center; border-radius: 2px; margin-bottom: 18px; background-color: #0e2438; filter: grayscale(.25) contrast(1.05); }
.coach-card h3 { font-size: 1.1rem; display: flex; flex-direction: column; gap: 3px; }
.coach-card h3 span { font-size: .76rem; font-weight: 400; color: var(--lake); letter-spacing: .06em; }
.coach-card p { font-size: .88rem; color: var(--muted); margin: 12px 0; }
.coach-certs li { font-size: .78rem; color: var(--muted-2); border-top: 1px solid var(--line); padding: 6px 0; }

/* ---------------------------------------------------------------- 动态 */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.news-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #091320; transition: .3s var(--ease); }
.news-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.news-thumb { aspect-ratio: 16/10; background-size: cover; background-position: center; background-color: #0d2033; }
.news-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-tag { font-size: 11px; letter-spacing: .1em; color: var(--orange); text-transform: uppercase; }
.news-body h3 { font-size: 1.05rem; }
.news-body p { font-size: .88rem; color: var(--muted); margin: 0; flex: 1; }
.news-body time { font-size: .76rem; color: var(--muted-2); font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- CTA */
.cta-band { position: relative; padding: clamp(60px, 9vw, 120px) 0; overflow: hidden; }
.cta-media { position: absolute; inset: 0; background-size: cover; background-position: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(5, 8, 15, .94) 0%, rgba(5, 8, 15, .7) 55%, rgba(5, 8, 15, .45)); z-index: 1; }
.cta-inner { position: relative; z-index: 2; }
.cta-inner h2 { font-size: clamp(1.9rem, 4.4vw, 3.4rem); margin-bottom: 16px; }
.cta-inner p { color: #c6d6e2; max-width: 46ch; margin-bottom: 30px; }
.cta-inline { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(28px, 4vw, 44px); border: 1px solid var(--line-2); background: linear-gradient(120deg, #0b1a2b, #081019); border-radius: var(--r); }
.cta-inline h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: 6px; }
.cta-inline p { color: var(--muted); margin: 0; font-size: .94rem; }

/* ---------------------------------------------------------------- 内页头 */
.page-hero { position: relative; padding: calc(var(--head-h) + clamp(60px, 11vw, 130px)) 0 clamp(50px, 7vw, 90px); overflow: hidden; }
.page-hero-media { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 8, 15, .82), rgba(5, 8, 15, .62) 55%, var(--ink)); z-index: 1; }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.2rem, 5.2vw, 4.2rem); letter-spacing: -.03em; margin-bottom: 16px; }
.page-hero-sub { color: #c3d5e2; max-width: 56ch; margin: 0; }
.anchor-bar { position: sticky; top: var(--head-h); z-index: 40; background: rgba(7, 12, 22, .92); backdrop-filter: blur(10px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.anchor-bar .wrap { display: flex; gap: 26px; overflow-x: auto; padding: 0 clamp(18px, 4vw, 40px); }
.anchor-bar a { padding: 15px 0; font-size: .88rem; color: var(--muted); white-space: nowrap; border-bottom: 2px solid transparent; transition: .25s; }
.anchor-bar a:hover { color: #fff; border-bottom-color: var(--orange); }

/* 详情页 */
.detail-hero { position: relative; padding: calc(var(--head-h) + clamp(50px, 9vw, 110px)) 0 clamp(40px, 6vw, 70px); overflow: hidden; }
.detail-media { position: absolute; inset: 0; background-size: cover; background-position: center; }
.detail-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 8, 15, .78), rgba(5, 8, 15, .72) 50%, var(--ink)); z-index: 1; }
.detail-hero .wrap { position: relative; z-index: 2; }
.detail-hero h1 { font-size: clamp(1.9rem, 4.6vw, 3.4rem); margin-bottom: 14px; }
.detail-sub { color: #c3d5e2; max-width: 60ch; margin: 0; }
.detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.detail-main p { color: #c2d3e0; }
.detail-h2 { font-size: 1.3rem; margin: 30px 0 14px; padding-top: 24px; border-top: 1px solid var(--line); }
.include-list li { padding: 10px 0 10px 22px; border-bottom: 1px solid var(--line); position: relative; font-size: .93rem; color: #c2d3e0; }
.include-list li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 6px; height: 6px; background: var(--lake); transform: rotate(45deg); }
.result-list li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.info-list li { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.info-list span { color: var(--muted-2); min-width: 60px; }
.price-box { border: 1px solid var(--line-2); border-radius: var(--r); padding: 26px; background: linear-gradient(180deg, #0c1a29, #081019); position: sticky; top: calc(var(--head-h) + 20px); }
.pb-label { font-size: .74rem; letter-spacing: .16em; color: var(--muted-2); text-transform: uppercase; margin-bottom: 6px; }
.pb-price { font-family: "Bebas", sans-serif; font-size: 2.6rem; line-height: 1; color: #fff; margin-bottom: 14px; }
.pb-price::before { content: "¥"; font-size: 1.1rem; color: var(--orange); margin-right: 2px; }
.pb-price s { font-family: "Inter", sans-serif; font-size: .9rem; color: var(--muted-2); margin-left: 10px; }
.pb-meta { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .86rem; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.pb-note { font-size: .74rem; color: var(--muted-2); margin: 12px 0 0; text-align: center; }
.price-box .btn + .btn { margin-top: 8px; }

/* 流程 / FAQ / 规则 */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.step { background: var(--ink-2); padding: 28px 24px; }
.step b { font-family: "Bebas", sans-serif; font-size: 2.2rem; color: var(--lake); line-height: 1; }
.step h3 { font-size: 1.02rem; margin: 12px 0 8px; }
.step p { font-size: .88rem; color: var(--muted); margin: 0; }
.faq { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.02rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--orange); font-weight: 400; }
.faq[open] summary::after { content: "−"; }
.faq p { color: var(--muted); font-size: .93rem; margin: 12px 0 0; }
.rule-list li { display: grid; grid-template-columns: 130px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.rule-list b { color: #dbe9f4; }
.rule-list span { color: var(--muted); }
.facility-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.fac { padding: 26px; border: 1px solid var(--line); border-radius: var(--r); background: #091320; }
.fac b { display: block; font-size: 1.02rem; margin-bottom: 8px; color: #fff; }
.fac span { font-size: .88rem; color: var(--muted); }

/* 租赁卡 */
.rent-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.rent-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: #091320; transition: .3s; }
.rent-card:hover { border-color: var(--line-2); }
.rc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-bottom: 8px; }
.rc-head h3 { font-size: 1rem; }
.rc-price { font-family: "Bebas", sans-serif; font-size: 1.7rem; color: #fff; white-space: nowrap; }
.rc-price::before { content: "¥"; font-size: .8rem; color: var(--orange); }
.rc-price i { font-family: "Inter", sans-serif; font-style: normal; font-size: .7rem; color: var(--muted-2); margin-left: 4px; }
.rc-spec { font-size: .86rem; color: var(--muted); margin-bottom: 8px; }
.rc-note { font-size: .78rem; color: var(--muted-2); margin: 0; }

/* 联系页 */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 60px); align-items: start; }
.contact-form-wrap h2 { font-size: 1.5rem; margin-bottom: 20px; }
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: .82rem; color: var(--muted); letter-spacing: .04em; }
.field input, .field select, .field textarea {
  background: #08111c; border: 1px solid var(--line-2); border-radius: 3px; color: var(--text);
  padding: 13px 15px; font-size: .94rem; font-family: inherit; transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lake); background: #0a1624; }
.field textarea { resize: vertical; min-height: 90px; }
.form-note { font-size: .76rem; color: var(--muted-2); }
.form-ok { padding: 14px 16px; border: 1px solid rgba(43, 179, 224, .4); background: rgba(43, 179, 224, .1); color: var(--lake-2); font-size: .9rem; border-radius: 3px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--r); padding: 26px; background: #091320; }
.contact-card h3 { font-size: 1.1rem; margin-bottom: 18px; }
.contact-list li { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.contact-list .ico { color: var(--lake); width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; }
.contact-list span { display: block; font-size: .74rem; color: var(--muted-2); letter-spacing: .06em; }
.contact-list b { font-size: .92rem; font-weight: 500; }
.qr-box { display: flex; gap: 18px; align-items: center; margin-top: 22px; }
.qr-ph { width: 92px; height: 92px; display: grid; place-items: center; text-align: center; border: 1px dashed var(--line-2); font-size: .68rem; color: var(--muted-2); line-height: 1.3; }
.qr-ph span { font-size: .6rem; opacity: .7; }
.qr-box p { font-size: .8rem; color: var(--muted); margin: 0; }
.map-ph { margin-top: 16px; border: 1px solid var(--line); border-radius: var(--r); min-height: 170px; display: grid; place-content: center; text-align: center; background: repeating-linear-gradient(45deg, #08111c, #08111c 12px, #09141f 12px, #09141f 24px); }
.map-ph span { font-size: .9rem; }
.map-ph p { font-size: .74rem; color: var(--muted-2); margin: 6px 0 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: #04070d; padding-top: 60px; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 46px; }
.footer-brand b { font-size: 1.05rem; letter-spacing: .04em; }
.footer-brand p { color: var(--muted-2); font-size: .86rem; margin: 12px 0 0; }
.footer-social { margin-top: 16px; font-size: .82rem; color: var(--lake); }
.site-footer h4 { font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 16px; font-weight: 600; }
.site-footer ul { display: flex; flex-direction: column; gap: 9px; }
.site-footer a { color: #b6c8d6; font-size: .86rem; transition: color .2s; }
.site-footer a:hover { color: var(--lake-2); }
.footer-contact li { color: #b6c8d6; font-size: .86rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0 26px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--muted-2); flex-wrap: wrap; }
.footer-bottom a { color: var(--muted-2); }

/* 滚动揭示 */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}


/* 锚点偏移（固定页头 + 粘性锚点条） */
section[id] { scroll-margin-top: calc(var(--head-h) + 56px); }

/* 影像灯箱 */
.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(3, 6, 11, .94);
  display: none; place-items: center; padding: 4vw;
}
.lightbox.on { display: grid; }
.lightbox img { max-width: 100%; max-height: 88vh; object-fit: contain; border: 1px solid var(--line-2); }
.lb-close {
  position: absolute; top: 20px; right: 24px; background: none; border: 1px solid var(--line-2);
  color: #fff; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 16px;
}

/* ================================================================ 响应式 */
@media (max-width: 1080px) {
  .biz-grid { grid-template-columns: repeat(2, 1fr); }
  .event-layout { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr 300px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .header-phone { display: none; }
  .nav {
    position: fixed; inset: var(--head-h) 0 auto; flex-direction: column; gap: 0; padding: 10px 0 20px;
    background: rgba(5, 8, 15, .98); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .3s var(--ease);
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-link { padding: 14px 24px; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .nav-link::after { display: none; }
  .nav-toggle { display: block; }
  .split-grid, .contact-grid, .detail-grid { grid-template-columns: 1fr; }
  .split-media::after { display: none; }
  .split-badge { right: 10px; }
  .price-box { position: static; }
  .course-row { grid-template-columns: 1fr; }
  .cr-media { min-height: 190px; border-right: none; border-bottom: 1px solid var(--line); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .event-card.is-big { grid-column: span 1; }
  .event-card.is-big .ec-media { aspect-ratio: 16/9; }
  .hero-side { display: none; }
}

@media (max-width: 640px) {
  .hero { min-height: 0; padding: calc(var(--head-h) + 48px) 0 0; justify-content: flex-start; }
  .hero-stats { position: static; margin-top: 34px; }
  .hero h1 { font-size: clamp(2.2rem, 11vw, 3.2rem); }
  .hero-sub { font-size: .92rem; }
  .hero-cta .btn { flex: 1 1 auto; }
  .hero-stats .wrap { grid-template-columns: repeat(2, 1fr); gap: 14px 10px; }
  .biz-grid { grid-template-columns: 1fr; }
  .biz-card { min-height: 0; }
  .biz-more { opacity: 1; transform: none; }
  .feature-list li, .rule-list li { grid-template-columns: 1fr; gap: 4px; }
  .price-row { grid-template-columns: 1fr auto; gap: 6px 16px; }
  .price-spec { grid-column: 1; grid-row: 2; }
  .price-num { grid-row: 1 / span 2; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-inline { flex-direction: column; align-items: flex-start; }
  .sec-head.row { flex-direction: column; align-items: flex-start; }
  .section { padding: 52px 0; }
  .tab-btns { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .anchor-bar .wrap { gap: 20px; }
}
