/* =========================================================
   聊城军途摩托车培训驾校 · 企业版官网
   共享样式 / 6 套主题（经典蓝 / 活力红 / 清新绿 / 高端黑金 / 五行金 / 五行土）
   主题机制：html[data-theme="red|green|dark|gold|earth"] 覆盖 CSS 变量；
   五行每日主题由后台按当日干支自动注入（blue=水 red=火 green=木 gold=金 earth=土）
   ========================================================= */

/* ---------- 主题变量 ---------- */
:root, html[data-theme="blue"] {
  --primary: #1560a8;
  --primary-deep: #0d3f70;
  --primary-soft: #e8f1fa;
  --accent: #f5a623;
  --accent-deep: #d98a0b;
  --bg: #f6f8fb;
  --surface: #ffffff;
  --band: #eef3f9;
  --ink: #1b2a3a;
  --muted: #5c7089;
  --line: #dfe7f0;
  --on-primary: #ffffff;
  --shadow: 0 10px 30px rgba(13, 63, 112, .10);
  --header-bg: rgba(255, 255, 255, .92);
}
html[data-theme="red"] {
  --primary: #c0392b;
  --primary-deep: #8e2418;
  --primary-soft: #fbeae8;
  --accent: #f5a623;
  --accent-deep: #d98a0b;
  --bg: #faf6f5;
  --surface: #ffffff;
  --band: #f6ecea;
  --ink: #2b1c1a;
  --muted: #7a5c57;
  --line: #eddcda;
  --on-primary: #ffffff;
  --shadow: 0 10px 30px rgba(142, 36, 24, .10);
  --header-bg: rgba(255, 255, 255, .92);
}
html[data-theme="green"] {
  --primary: #1e7e4e;
  --primary-deep: #14532d;
  --primary-soft: #e7f4ed;
  --accent: #f5a623;
  --accent-deep: #d98a0b;
  --bg: #f5f9f6;
  --surface: #ffffff;
  --band: #ecf4ef;
  --ink: #17281f;
  --muted: #54705f;
  --line: #d9e8de;
  --on-primary: #ffffff;
  --shadow: 0 10px 30px rgba(20, 83, 45, .10);
  --header-bg: rgba(255, 255, 255, .92);
}
html[data-theme="gold"] {
  --primary: #b08d2c;
  --primary-deep: #7a5f14;
  --primary-soft: #f7f0dc;
  --accent: #f5a623;
  --accent-deep: #d98a0b;
  --bg: #faf8f1;
  --surface: #ffffff;
  --band: #f4efe0;
  --ink: #2b2416;
  --muted: #6f6448;
  --line: #e8e0c8;
  --on-primary: #ffffff;
  --shadow: 0 10px 30px rgba(122, 95, 20, .10);
  --header-bg: rgba(255, 255, 255, .92);
}
html[data-theme="earth"] {
  --primary: #a05a2c;
  --primary-deep: #6f3d1a;
  --primary-soft: #f7ede3;
  --accent: #f5a623;
  --accent-deep: #d98a0b;
  --bg: #faf7f3;
  --surface: #ffffff;
  --band: #f4ece3;
  --ink: #2b201a;
  --muted: #74604f;
  --line: #e9dcd0;
  --on-primary: #ffffff;
  --shadow: 0 10px 30px rgba(111, 61, 26, .10);
  --header-bg: rgba(255, 255, 255, .92);
}
html[data-theme="dark"] {
  --primary: #3f8cff;
  --primary-deep: #14304f;
  --primary-soft: #16283d;
  --accent: #ffc53d;
  --accent-deep: #e0a520;
  --bg: #0f141b;
  --surface: #161d27;
  --band: #121924;
  --ink: #e8eef6;
  --muted: #9fb0c3;
  --line: #263344;
  --on-primary: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --header-bg: rgba(22, 29, 39, .92);
}

/* ---------- 基础 ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
  font-size: 16px; line-height: 1.75; color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 15px; color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 84px 0; }
.section--band { background: var(--band); }
.section--surface { background: var(--surface); }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head .plate { margin-bottom: 14px; }
.section-head h2 { font-size: 34px; font-weight: 800; letter-spacing: 1px; }
.section-head p { color: var(--muted); margin-top: 10px; font-size: 16px; }
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .section-head h2 { font-size: 26px; }
}

/* ---------- 招牌元素：车牌徽章 + 道路虚线 ---------- */
.plate {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 14px; border: 2px solid var(--primary);
  border-radius: 8px; color: var(--primary);
  font-weight: 800; font-size: 14px; letter-spacing: 3px;
  background: var(--surface);
}
.plate--solid { background: var(--primary); color: var(--on-primary); }
.plate--accent { background: var(--accent); border-color: var(--accent); color: #1b2a3a; }
.plate--dark { background: var(--primary-deep); border-color: var(--primary-deep); color: #fff; }

.road-dash {
  height: 4px; width: 180px; margin: 18px auto 0; border-radius: 2px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 26px, transparent 26px 40px);
}
.road-dash--left { margin-left: 0; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: 8px; border: 2px solid transparent;
  font-size: 16px; font-weight: 700; letter-spacing: 1px;
  transition: transform .15s, box-shadow .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--primary { background: var(--primary); color: var(--on-primary); }
.btn--primary:hover { color: var(--on-primary); background: var(--primary-deep); }
.btn--accent { background: var(--accent); color: #1b2a3a; }
.btn--accent:hover { color: #1b2a3a; background: var(--accent-deep); }
.btn--ghost { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn--ghost:hover { background: var(--primary); color: var(--on-primary); }
.btn--white { background: #fff; color: var(--primary-deep); }
.btn--white:hover { color: var(--primary-deep); background: var(--accent); }
.btn--lg { padding: 15px 36px; font-size: 17px; }
.btn--block { width: 100%; }

/* ---------- 顶栏 / 头部 ---------- */
.topbar {
  background: var(--primary-deep); color: rgba(255, 255, 255, .85);
  font-size: 13px; letter-spacing: 1px;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.topbar a { color: #fff; font-weight: 700; }
@media (max-width: 768px) { .topbar { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--header-bg); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .08); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 76px; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo { height: 46px; max-width: 190px; object-fit: contain; display: block; }
.brand-plate {
  font-size: 22px; font-weight: 900; letter-spacing: 2px;
  padding: 4px 12px; border: 2.5px solid var(--primary); border-radius: 9px;
  color: var(--primary); background: var(--surface);
  box-shadow: inset 0 0 0 1.5px var(--primary-soft);
}
html[data-theme="dark"] .brand-plate { background: var(--primary-soft); }
.brand-text b { display: block; font-size: 17px; font-weight: 800; letter-spacing: 1px; line-height: 1.3; }
.brand-text span { display: block; font-size: 11px; color: var(--muted); letter-spacing: 2.5px; }

.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: block; padding: 10px 16px; font-size: 16px; font-weight: 600;
  border-radius: 8px; letter-spacing: 1px;
}
.main-nav > ul > li > a:hover, .main-nav li.is-active > a { color: var(--primary); background: var(--primary-soft); }
.main-nav > ul > li > a .caret { font-size: 11px; margin-left: 4px; }
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 176px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow); padding: 8px;
  opacity: 0; visibility: hidden; transition: all .22s;
}
.main-nav li:hover .dropdown, .main-nav li:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.dropdown a { display: block; padding: 10px 14px; border-radius: 8px; font-size: 15px; }
.dropdown a:hover { background: var(--primary-soft); color: var(--primary); }

.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

/* 主题切换圆点 */
.theme-dots { display: flex; align-items: center; gap: 7px; }
.theme-dot {
  width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line);
  cursor: pointer; transition: transform .15s, border-color .2s; padding: 0;
}
.theme-dot:hover { transform: scale(1.18); }
.theme-dot.is-active { border-color: var(--ink); }
.theme-dot[data-t="blue"] { background: #1560a8; }
.theme-dot[data-t="red"] { background: #c0392b; }
.theme-dot[data-t="green"] { background: #1e7e4e; }
.theme-dot[data-t="gold"] { background: #b08d2c; }
.theme-dot[data-t="earth"] { background: #a05a2c; }
.theme-dot[data-t="dark"] { background: #171e28; }

.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--primary); font-size: 17px; white-space: nowrap; }
.header-phone svg { width: 20px; height: 20px; fill: currentColor; }
@media (max-width: 1080px) {
  .header-phone { display: none; }
  .main-nav { display: none; }
}
.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--surface);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink);
  margin: 0 auto; position: relative; transition: all .2s;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
@media (max-width: 1080px) { .nav-toggle { display: block; } }

/* 移动端抽屉 */
.drawer { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.drawer-mask { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); opacity: 0; transition: opacity .25s; }
.drawer-panel {
  position: absolute; top: 0; right: -300px; width: 280px; height: 100%;
  background: var(--surface); padding: 24px; overflow-y: auto;
  transition: right .28s; box-shadow: -10px 0 40px rgba(0, 0, 0, .2);
}
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer-mask { opacity: 1; }
.drawer.is-open .drawer-panel { right: 0; }
.drawer-close { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: none; font-size: 18px; color: var(--ink); }
.drawer-panel nav a { display: block; padding: 13px 6px; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 600; }
.drawer-panel nav a.is-active { color: var(--primary); }
.drawer-theme { display: flex; gap: 10px; margin-top: 18px; align-items: center; }
.drawer-theme .label { font-size: 13px; color: var(--muted); margin-right: 4px; }

/* ---------- 首页 Hero（模板A 轮播） ---------- */
.hero { position: relative; height: 640px; overflow: hidden; background: var(--primary-deep); }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease;
  background-size: cover; background-position: center;
  animation: kenburns 26s ease-in-out infinite alternate;
  will-change: transform;
}
.hero-slide.is-on { opacity: 1; }
@keyframes kenburns {
  from { transform: scale(1.03) translateX(0); }
  to { transform: scale(1.16) translateX(-1.5%); }
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 1; background: var(--primary-deep);
}
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(9, 30, 52, .78) 0%, rgba(9, 30, 52, .45) 55%, rgba(9, 30, 52, .15) 100%);
}
.hero-content {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: center; color: #fff;
}
.hero-kicker { display: inline-flex; margin-bottom: 18px; }
.hero-kicker .plate { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .5); color: #fff; }
.hero-content h1 {
  font-size: 52px; font-weight: 900; letter-spacing: 2px; line-height: 1.25;
  max-width: 640px; text-shadow: 0 2px 16px rgba(0, 0, 0, .3);
}
.hero-content h1 em { font-style: normal; color: var(--accent); }
.hero-content p { margin-top: 18px; font-size: 19px; opacity: .92; max-width: 560px; letter-spacing: 1px; }
.hero-actions { display: flex; gap: 16px; margin-top: 34px; }

/* Hero 文字入场动画 */
.hero-content > * { opacity: 0; animation: fadeUp .8s cubic-bezier(.22,.61,.36,1) forwards; }
.hero-content > *:nth-child(1) { animation-delay: .15s; }
.hero-content > *:nth-child(2) { animation-delay: .35s; }
.hero-content > *:nth-child(3) { animation-delay: .55s; }
.hero-content > *:nth-child(4) { animation-delay: .75s; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-content > * { animation: none; opacity: 1; }
  .hero-slide { animation: none; }
}
.hero-dots { position: absolute; z-index: 3; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.hero-dots button {
  width: 34px; height: 5px; border-radius: 3px; border: 0;
  background: rgba(255, 255, 255, .4); transition: background .2s; padding: 0;
}
.hero-dots button.is-on { background: var(--accent); }

/* ---------- 教练团队页 教官风采大图轮播（复用 .hero-slide 渐隐+缓推动画） ---------- */
.coach-hero {
  position: relative; height: 420px; overflow: hidden; background: var(--primary-deep);
}
.coach-hero .hero-slide::after {
  background: linear-gradient(100deg, rgba(9, 30, 52, .60) 0%, rgba(9, 30, 52, .26) 55%, rgba(9, 30, 52, .08) 100%);
}
.coach-hero-caption {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 66px; color: #fff;
}
.coach-hero-caption .plate { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .5); color: #fff; }
.coach-hero-caption h2 {
  font-size: 30px; font-weight: 900; letter-spacing: 1px; margin-top: 12px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .35);
}
@media (max-width: 768px) {
  .coach-hero { height: 250px; }
  .coach-hero-caption { padding-bottom: 56px; }
  .coach-hero-caption h2 { font-size: 20px; }
}
@media (max-width: 768px) {
  .hero { height: 480px; }
  .hero-content h1 { font-size: 32px; }
  .hero-content p { font-size: 16px; }
  .hero-actions { flex-wrap: wrap; }
}

/* ---------- 数据条 ---------- */
.stats-bar { background: var(--primary-deep); color: #fff; padding: 34px 0; }
html[data-theme="dark"] .stats-bar { background: #0b0f15; }
.stats-bar .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat b { display: block; font-size: 38px; font-weight: 900; color: var(--accent); font-variant-numeric: tabular-nums; letter-spacing: 1px; }
.stat span { font-size: 14px; opacity: .85; letter-spacing: 2px; }
@media (max-width: 768px) {
  .stats-bar .container { grid-template-columns: repeat(2, 1fr); }
  .stat b { font-size: 28px; }
}

/* ---------- 通用卡片网格 ---------- */
.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* ---------- 班型卡片 ---------- */
.course-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 30px 26px; position: relative; overflow: hidden;
  transition: transform .2s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.course-card.is-hot { border-color: var(--accent); box-shadow: 0 8px 30px rgba(245, 166, 35, .18); }
.course-card .ribbon {
  position: absolute; top: 18px; right: -34px; transform: rotate(45deg);
  background: var(--accent); color: #1b2a3a; font-size: 12px; font-weight: 800;
  padding: 4px 40px; letter-spacing: 2px;
}
.course-code {
  font-size: 15px; font-weight: 900; letter-spacing: 4px; color: #fff;
  background: var(--primary); display: inline-flex; align-self: flex-start;
  padding: 4px 14px; border-radius: 8px; margin-bottom: 16px;
}
.course-card h3 { font-size: 21px; font-weight: 800; }
.course-card .desc { color: var(--muted); font-size: 14.5px; margin: 10px 0 14px; min-height: 48px; }
.course-card ul { border-top: 1px dashed var(--line); padding-top: 14px; margin-bottom: 18px; }
.course-card li { font-size: 14px; color: var(--muted); padding: 3px 0; display: flex; gap: 8px; }
.course-card li::before { content: "✓"; color: var(--primary); font-weight: 800; }
.course-price { margin-top: auto; display: flex; align-items: baseline; gap: 6px; }
.course-price b { font-size: 30px; font-weight: 900; color: var(--primary); font-variant-numeric: tabular-nums; }
.course-price i { font-style: normal; color: var(--muted); font-size: 13px; }
.course-card .btn { margin-top: 16px; }

/* ---------- 优势 ---------- */
.feature-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 34px 28px; transition: transform .2s, box-shadow .25s;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature-ico {
  width: 58px; height: 58px; border-radius: 14px; background: var(--primary-soft);
  display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 18px;
}
.feature-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 14.5px; }

/* ---------- 流程（道路虚线连接） ---------- */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 30px; left: 8%; right: 8%;
  border-top: 3px dashed var(--accent); z-index: 0;
}
.step { text-align: center; position: relative; z-index: 1; }
.step-num {
  width: 60px; height: 60px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--surface); border: 3px solid var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 900; color: var(--primary);
}
.step h4 { font-size: 16px; font-weight: 800; }
.step p { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .steps::before { display: none; }
}

/* ---------- 教练卡片 ---------- */
.coach-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; transition: transform .2s, box-shadow .25s;
}
.coach-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.coach-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.coach-info { padding: 20px 22px 24px; }
.coach-info h3 { font-size: 19px; font-weight: 800; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.coach-info .role { font-size: 12.5px; color: #fff; background: var(--primary); border-radius: 6px; padding: 1px 9px; font-weight: 700; letter-spacing: 1px; }
.coach-info .meta { color: var(--muted); font-size: 13.5px; margin: 8px 0 10px; }
.coach-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.coach-tags span { font-size: 12px; color: var(--primary); background: var(--primary-soft); border-radius: 999px; padding: 2px 11px; }

/* 教官卡片多图轮播（最多 5 张自动循环，单图不启用） */
.coach-media { position: relative; width: 100%; aspect-ratio: 3/4; overflow: hidden; }
.coach-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .9s ease;
}
.coach-media img.is-on { opacity: 1; }
.coach-media-count {
  position: absolute; right: 10px; bottom: 10px; z-index: 2;
  font-size: 11.5px; color: #fff; background: rgba(9, 30, 52, .62);
  border-radius: 999px; padding: 2px 10px; letter-spacing: 1px; pointer-events: none;
}

/* ---------- 口碑 ---------- */
.review-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 28px; display: flex; flex-direction: column;
}
.review-stars { color: var(--accent); font-size: 17px; letter-spacing: 3px; }
.review-card p { margin: 14px 0; color: var(--ink); font-size: 15px; flex: 1; }
.review-user { display: flex; align-items: center; gap: 12px; border-top: 1px dashed var(--line); padding-top: 14px; }
.review-avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--primary-soft);
  color: var(--primary); font-weight: 800; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
}
.review-user b { font-size: 15px; }
.review-user span { display: block; font-size: 12.5px; color: var(--muted); }

/* ---------- 资讯卡片 ---------- */
.news-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .25s;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.news-card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.news-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.news-meta { font-size: 12.5px; color: var(--muted); display: flex; gap: 14px; margin-bottom: 10px; align-items: center; }
.news-meta .tag { color: var(--primary); background: var(--primary-soft); border-radius: 5px; padding: 0 8px; }
.news-body h3 { font-size: 18px; font-weight: 800; line-height: 1.5; }
.news-body p { color: var(--muted); font-size: 14px; margin: 10px 0 16px; flex: 1; }
.news-body .more { color: var(--primary); font-weight: 700; font-size: 14px; }

/* ---------- CTA 报名条 ---------- */
.cta-band {
  background: linear-gradient(110deg, var(--primary-deep), var(--primary));
  color: #fff; padding: 60px 0; position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 26px, transparent 26px 40px);
  opacity: .5;
}
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; position: relative; }
.cta-band h2 { font-size: 30px; font-weight: 900; letter-spacing: 1px; }
.cta-band p { opacity: .9; margin-top: 8px; }
@media (max-width: 768px) { .cta-band h2 { font-size: 23px; } }

/* ---------- 内页 banner + 面包屑 ---------- */
.page-hero {
  background: linear-gradient(110deg, var(--primary-deep), var(--primary));
  color: #fff; padding: 64px 0 56px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 300px; height: 300px;
  border: 30px dashed rgba(255, 255, 255, .12); border-radius: 50%;
}
.page-hero .plate { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .5); color: #fff; }
.page-hero h1 { font-size: 38px; font-weight: 900; letter-spacing: 2px; margin-top: 14px; }
.page-hero p { margin-top: 10px; opacity: .88; letter-spacing: 1px; max-width: 760px; }
@media (max-width: 768px) { .page-hero h1 { font-size: 28px; } .page-hero { padding: 44px 0 40px; } }

.breadcrumb { padding: 16px 0; font-size: 13.5px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { margin: 0 8px; color: var(--line); }

/* ---------- 价格表 ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.price-table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 14.5px; }
.price-table th {
  background: var(--primary); color: var(--on-primary); padding: 15px 18px;
  text-align: left; font-weight: 800; letter-spacing: 1px; white-space: nowrap;
}
.price-table td { padding: 14px 18px; border-top: 1px solid var(--line); vertical-align: middle; }
.price-table tr:nth-child(even) td { background: var(--band); }
.price-table .price-now { color: var(--primary); font-weight: 900; font-size: 18px; font-variant-numeric: tabular-nums; }
.price-table .badge-hot { background: var(--accent); color: #1b2a3a; border-radius: 5px; font-size: 12px; padding: 1px 8px; font-weight: 800; margin-left: 8px; }
.price-note { color: var(--muted); font-size: 13.5px; margin-top: 14px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 14px; overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 16px;
  display: flex; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "Q"; flex-shrink: 0; width: 30px; height: 30px; border-radius: 8px;
  background: var(--primary); color: #fff; font-size: 15px; font-weight: 900;
  display: inline-flex; align-items: center; justify-content: center;
}
.faq-item summary .arrow { margin-left: auto; color: var(--muted); transition: transform .2s; }
.faq-item[open] summary .arrow { transform: rotate(90deg); }
.faq-item .faq-a { padding: 0 22px 20px 64px; color: var(--muted); font-size: 15px; }
.faq-group-title { font-size: 20px; font-weight: 800; margin: 34px 0 16px; display: flex; align-items: center; gap: 10px; }
.faq-group-title:first-child { margin-top: 0; }
.faq-group-title::before { content: ""; width: 6px; height: 22px; border-radius: 3px; background: var(--accent); }

/* ---------- 表单 ---------- */
.form-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: 34px; box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 7px; }
.field label i { color: #d64541; font-style: normal; margin-left: 2px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--bg); transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); background: var(--surface);
}
.form-ok {
  display: none; background: var(--primary-soft); border: 1.5px solid var(--primary);
  color: var(--primary); border-radius: 12px; padding: 16px 18px; font-weight: 700; margin-top: 16px;
}
.form-ok.is-show { display: block; }

/* ---------- 详情文章 ---------- */
.article { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 46px; max-width: 900px; margin: 0 auto; }
.article-title { font-size: 30px; font-weight: 900; line-height: 1.45; margin-bottom: 14px; letter-spacing: .5px; }
.article img { border-radius: 14px; margin: 10px 0 26px; }
.article h2 { font-size: 24px; font-weight: 800; margin: 34px 0 14px; padding-left: 14px; border-left: 4px solid var(--accent); }
.article h3 { font-size: 18px; font-weight: 800; margin: 24px 0 10px; }
.article p { margin: 12px 0; color: var(--ink); font-size: 16px; }
.article ul { margin: 12px 0 12px 6px; }
.article ul li { padding: 6px 0 6px 24px; position: relative; }
.article ul li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 10px; height: 4px; border-radius: 2px; background: var(--accent); }
.article ol { list-style: decimal; padding-left: 26px; margin: 12px 0; }
.article ol li { padding: 6px 0; }
.article .article-meta { color: var(--muted); font-size: 13.5px; display: flex; gap: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 22px; flex-wrap: wrap; }
.article blockquote {
  background: var(--band); border-left: 4px solid var(--primary);
  padding: 16px 20px; border-radius: 0 10px 10px 0; color: var(--muted); margin: 18px 0;
}
@media (max-width: 640px) {
  .article { padding: 26px 20px; }
  .article-title { font-size: 23px; line-height: 1.4; }
  .article .article-meta { gap: 10px; font-size: 12.5px; }
  .article h2 { font-size: 21px; }
  .article p, .article ul li { font-size: 15px; }
}
/* 新闻/文章页移动端：搜索框竖排、CTA 按钮全宽 */
@media (max-width: 560px) {
  .news-search { flex-direction: column; }
  .news-search .btn { width: 100%; }
  .article-cta .btn { display: flex; width: 100%; margin: 12px 0 0 !important; }
}

/* ---------- 图文分栏（关于/场地/模板B） ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media img { border-radius: 18px; box-shadow: var(--shadow); width: 100%; }
.split-body .plate { margin-bottom: 14px; }
.split-body h2 { font-size: 30px; font-weight: 800; letter-spacing: 1px; }
.split-body p { color: var(--muted); margin-top: 14px; }
.split-body .btn { margin-top: 24px; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 26px; }
  .split.reverse .split-media { order: 0; }
}

/* ---------- 数字列表（材料/须知） ---------- */
.info-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 30px; }
.info-panel h3 { font-size: 19px; font-weight: 800; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.info-panel h3::before { content: ""; width: 6px; height: 22px; border-radius: 3px; background: var(--accent); }
.info-panel li { padding: 8px 0 8px 30px; position: relative; color: var(--muted); font-size: 14.5px; border-bottom: 1px dashed var(--line); }
.info-panel li:last-child { border-bottom: 0; }
.info-panel li b { color: var(--ink); }
.info-panel li::before {
  content: attr(data-n); position: absolute; left: 0; top: 11px;
  width: 21px; height: 21px; border-radius: 6px; background: var(--primary-soft); color: var(--primary);
  font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}

/* ---------- 页脚 ---------- */
.site-footer { background: var(--primary-deep); color: rgba(255, 255, 255, .78); }
html[data-theme="dark"] .site-footer { background: #0b0f15; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; padding: 60px 0 40px; }
.footer-main h4 { color: #fff; font-size: 16.5px; font-weight: 800; margin-bottom: 18px; letter-spacing: 1px; }
.footer-about .brand-plate { border-color: rgba(255, 255, 255, .7); color: #fff; background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .25); }
.footer-about p { font-size: 13.5px; margin-top: 16px; line-height: 1.9; }
.footer-main li { padding: 5px 0; font-size: 14px; }
.footer-main li a:hover { color: var(--accent); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.7; }
.footer-hotline { font-size: 24px; font-weight: 900; color: var(--accent); letter-spacing: 1px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 18px 0; font-size: 13px; text-align: center; color: rgba(255, 255, 255, .55); }
.footer-bottom a { color: rgba(255, 255, 255, .55); }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 900px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-main { grid-template-columns: 1fr; gap: 26px; } }

/* ---------- 悬浮件 ---------- */
.fab-wrap { position: fixed; right: 22px; bottom: 90px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.fab {
  width: 52px; height: 52px; border-radius: 14px; border: 0; background: var(--primary);
  color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .18); transition: transform .15s, opacity .25s;
}
.fab:hover { transform: translateY(-3px); color: #fff; }
.fab svg { width: 24px; height: 24px; fill: currentColor; }
.fab--accent { background: var(--accent); color: #1b2a3a; }
.fab--top { opacity: 0; visibility: hidden; }
.fab--top.is-show { opacity: 1; visibility: visible; }
@media (max-width: 768px) { .fab-wrap { display: none; } }

/* 移动端底部快捷条 */
.mobile-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--surface); border-top: 1px solid var(--line);
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  grid-template-columns: 1fr 1.4fr; gap: 10px;
}
.mobile-bar a { border-radius: 10px; text-align: center; padding: 11px 0; font-weight: 800; font-size: 15px; letter-spacing: 1px; }
.mobile-bar .mb-call { border: 2px solid var(--primary); color: var(--primary); }
.mobile-bar .mb-signup { background: var(--primary); color: var(--on-primary); }
@media (max-width: 768px) {
  .mobile-bar { display: grid; }
  body { padding-bottom: 64px; }
}

/* ---------- 首页版式切换器 ---------- */
.tpl-switch {
  position: fixed; left: 18px; bottom: 18px; z-index: 95;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); padding: 8px 10px; display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--muted);
}
.tpl-switch b { font-weight: 800; color: var(--ink); margin-right: 2px; }
.tpl-switch a {
  width: 26px; height: 26px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--line); font-weight: 800; color: var(--muted);
}
.tpl-switch a.is-cur { background: var(--primary); border-color: var(--primary); color: #fff; }
@media (max-width: 768px) { .tpl-switch { display: none; } }

/* ---------- 模板C 专属 ---------- */
.lead-hero { background: var(--primary-deep); color: #fff; position: relative; overflow: hidden; }
.lead-hero::before {
  content: ""; position: absolute; inset: 0;
  background: url("../img/hero-training.jpg") center/cover; opacity: .22;
}
.lead-hero .container { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 46px; padding-top: 72px; padding-bottom: 72px; align-items: center; }
.lead-hero .promo-plate {
  display: inline-flex; gap: 8px; align-items: center; background: var(--accent); color: #1b2a3a;
  font-weight: 900; padding: 5px 16px; border-radius: 999px; font-size: 14px; letter-spacing: 1px; margin-bottom: 20px;
}
.lead-hero h1 { font-size: 44px; font-weight: 900; line-height: 1.3; letter-spacing: 1px; }
.lead-hero h1 em { font-style: normal; color: var(--accent); }
.lead-hero .sub { margin-top: 16px; font-size: 17px; opacity: .92; }
.lead-hero .price-line { display: flex; align-items: baseline; gap: 10px; margin-top: 26px; }
.lead-hero .price-line b { font-size: 52px; color: var(--accent); font-weight: 900; font-variant-numeric: tabular-nums; }
.lead-hero .price-line s { opacity: .6; font-size: 20px; }
.lead-hero .usps { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; font-size: 14.5px; }
.lead-hero .usps span::before { content: "✓ "; color: var(--accent); font-weight: 900; }
.lead-form-card { background: var(--surface); color: var(--ink); border-radius: 18px; padding: 30px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.lead-form-card h3 { font-size: 20px; font-weight: 800; text-align: center; }
.lead-form-card .tip { text-align: center; color: var(--muted); font-size: 13px; margin: 6px 0 18px; }
.lead-form-card .field { margin-bottom: 14px; }
.countdown { display: flex; justify-content: center; gap: 10px; margin: 0 0 18px; }
.countdown b {
  min-width: 52px; background: var(--primary-deep); color: #fff; border-radius: 10px;
  text-align: center; padding: 8px 6px; font-size: 22px; font-variant-numeric: tabular-nums;
}
.countdown span { display: block; font-size: 11px; font-weight: 400; opacity: .8; }
@media (max-width: 900px) {
  .lead-hero .container { grid-template-columns: 1fr; }
  .lead-hero h1 { font-size: 30px; }
}

/* 拿证时间轴（模板C） */
.cert-track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; position: relative; }
.cert-track::before { content: ""; position: absolute; top: 26px; left: 10%; right: 10%; border-top: 3px dashed var(--accent); }
.cert-node { text-align: center; position: relative; z-index: 1; }
.cert-node i {
  font-style: normal; display: inline-flex; width: 52px; height: 52px; border-radius: 50%;
  background: var(--primary); color: #fff; align-items: center; justify-content: center;
  font-weight: 900; font-size: 15px; border: 4px solid var(--bg);
}
.cert-node b { display: block; margin-top: 10px; font-size: 15.5px; }
.cert-node span { font-size: 12.5px; color: var(--muted); }
@media (max-width: 800px) { .cert-track { grid-template-columns: repeat(2, 1fr); row-gap: 28px; } .cert-track::before { display: none; } }

/* ---------- 进场动画 ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }
/* 列表逐项延迟入场（stagger）：给容器加 .rv-stagger，其直接子项 .rv 依次淡入 */
.rv-stagger > .rv:nth-child(1) { transition-delay: 0s; }
.rv-stagger > .rv:nth-child(2) { transition-delay: .08s; }
.rv-stagger > .rv:nth-child(3) { transition-delay: .16s; }
.rv-stagger > .rv:nth-child(4) { transition-delay: .24s; }
.rv-stagger > .rv:nth-child(5) { transition-delay: .32s; }
.rv-stagger > .rv:nth-child(6) { transition-delay: .40s; }
.rv-stagger > .rv:nth-child(7) { transition-delay: .48s; }
.rv-stagger > .rv:nth-child(8) { transition-delay: .56s; }
.rv-stagger > .rv:nth-child(9) { transition-delay: .64s; }
.rv-stagger > .rv:nth-child(n+10) { transition-delay: .72s; }

/* ==================================================================
   ⚡ 极速拿证醒目横幅（v9）· 30+ 动画组合
   打字机/上下滚动轮播/数字发光弹跳/扫光/渐变流/脉冲/翻转 等
   ================================================================== */

/* ---- 1. 渐变流背景 ---- */
@keyframes jtGradientFlow {
  0% { background-position: 0 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}
/* ---- 2. 发光脉冲 ---- */
@keyframes jtGlow {
  0%, 100% { text-shadow: 0 0 14px rgba(245, 166, 35, .45), 0 0 34px rgba(245, 166, 35, .2); }
  50% { text-shadow: 0 0 26px rgba(245, 166, 35, .95), 0 0 66px rgba(245, 166, 35, .5), 0 0 90px rgba(255, 120, 0, .3); }
}
/* ---- 3. 弹跳 ---- */
@keyframes jtBounce {
  0%, 100% { transform: translateY(0); }
  25% { transform: translateY(-16px); }
  50% { transform: translateY(0); }
  68% { transform: translateY(-7px); }
  82% { transform: translateY(0); }
}
/* ---- 4. 果冻挤压 ---- */
@keyframes jtJelly {
  0%, 100% { transform: scale(1, 1); }
  30% { transform: scale(1.28, .72); }
  42% { transform: scale(.76, 1.24); }
  56% { transform: scale(1.14, .86); }
  70% { transform: scale(.96, 1.04); }
}
/* ---- 5. 心跳 ---- */
@keyframes jtHeartbeat {
  0%, 40%, 80%, 100% { transform: scale(1); }
  20% { transform: scale(1.16); }
  60% { transform: scale(1.09); }
}
/* ---- 6. 摆动 ---- */
@keyframes jtWiggle {
  0%, 100% { transform: rotate(-3.5deg); }
  50% { transform: rotate(3.5deg); }
}
/* ---- 7. 3D 翻转入场 ---- */
@keyframes jtFlipIn {
  0% { transform: perspective(600px) rotateX(84deg); opacity: 0; }
  55% { transform: perspective(600px) rotateX(-14deg); opacity: 1; }
  100% { transform: perspective(600px) rotateX(0); opacity: 1; }
}
/* ---- 8. 弹出 ---- */
@keyframes jtPop {
  0% { transform: scale(0); opacity: 0; }
  62% { transform: scale(1.22); opacity: 1; }
  82% { transform: scale(.92); }
  100% { transform: scale(1); }
}
/* ---- 9. 闪烁 ---- */
@keyframes jtBlink {
  0%, 90%, 100% { opacity: 1; }
  94%, 97% { opacity: .2; }
}
/* ---- 10. 摇摆钟摆 ---- */
@keyframes jtSwing {
  0%, 100% { transform: rotate(-8deg); transform-origin: top center; }
  50% { transform: rotate(8deg); transform-origin: top center; }
}
/* ---- 11. 打字机光标 ---- */
@keyframes jtCaret { 0%, 45% { opacity: 1; } 50%, 100% { opacity: 0; } }
/* ---- 12. 上下滚动轮播（JS 克隆一份共 8 行，滚 4 行后跳回 0 无缝循环） ---- */
@keyframes jtRollUp {
  0%, 20% { transform: translateY(0); }
  25%, 45% { transform: translateY(-100%); }
  50%, 70% { transform: translateY(-200%); }
  75%, 95% { transform: translateY(-300%); }
  100% { transform: translateY(-400%); }
}
/* ---- 13. 扫光 ---- */
@keyframes jtShine {
  0% { transform: translateX(-120%) skewX(-18deg); }
  55%, 100% { transform: translateX(240%) skewX(-18deg); }
}
/* ---- 14. 扫描线 ---- */
@keyframes jtScanline {
  0% { top: -8%; opacity: 0; }
  12% { opacity: .75; }
  88% { opacity: .75; }
  100% { top: 108%; opacity: 0; }
}
/* ---- 15. 呼吸圈 ---- */
@keyframes jtPulseRing {
  0% { transform: scale(.82); opacity: .8; }
  100% { transform: scale(1.5); opacity: 0; }
}
/* ---- 16. 缩放脉冲 ---- */
@keyframes jtZoomPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.07); }
}
/* ---- 17. 颜色循环 ---- */
@keyframes jtColorCycle {
  0% { color: #fff; }
  33% { color: #ffe9b0; }
  66% { color: #ffd25e; }
  100% { color: #fff; }
}
/* ---- 18. 橡皮筋 ---- */
@keyframes jtRubber {
  0% { transform: scaleX(1); }
  32% { transform: scaleX(1.32); }
  58% { transform: scaleX(.82); }
  80% { transform: scaleX(1.08); }
  100% { transform: scaleX(1); }
}
/* ---- 19. Tada 庆祝 ---- */
@keyframes jtTada {
  0%, 100% { transform: scale(1) rotate(0); }
  12% { transform: scale(1.16) rotate(-4deg); }
  24% { transform: scale(1.16) rotate(4deg); }
  36% { transform: scale(1.16) rotate(-4deg); }
  48% { transform: scale(1.16) rotate(4deg); }
  62% { transform: scale(1) rotate(0); }
}
/* ---- 20. 波浪浮动 ---- */
@keyframes jtFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
/* ---- 21. 上下浮动呼吸 ---- */
@keyframes jtFloatSoft { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-5px) scale(1.03); } }
/* ---- 22. 虚线流动 ---- */
@keyframes jtDashFlow { to { stroke-dashoffset: -240; } }
/* ---- 23. 边框流光 ---- */
@keyframes jtBorderGlow {
  0%, 100% { box-shadow: 0 0 0 3px rgba(245,166,35,.35), 0 0 22px rgba(245,166,35,.3); }
  50% { box-shadow: 0 0 0 3px rgba(245,166,35,.85), 0 0 46px rgba(245,166,35,.65); }
}
/* ---- 24. 粒子上浮 ---- */
@keyframes jtParticleUp {
  0% { transform: translateY(16px) scale(.6); opacity: 0; }
  22% { opacity: .9; }
  100% { transform: translateY(-84px) scale(1.15); opacity: 0; }
}
/* ---- 25. 旋转 ---- */
@keyframes jtSpinSlow { to { transform: rotate(360deg); } }
/* ---- 26. 震动强调 ---- */
@keyframes jtShake {
  0%, 100% { transform: translateX(0); }
  18% { transform: translateX(-5px); }
  36% { transform: translateX(5px); }
  54% { transform: translateX(-3px); }
  72% { transform: translateX(3px); }
}
/* ---- 27. 渐入上移 ---- */
@keyframes jtSlideUpIn {
  0% { transform: translateY(22px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
/* ---- 28. 闪光背景 ---- */
@keyframes jtFlashBg {
  0%, 92%, 100% { background-color: rgba(245, 166, 35, .12); }
  96% { background-color: rgba(255, 210, 94, .4); }
}
/* ---- 29. 火箭微动 ---- */
@keyframes jtRocket { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(3px, -4px) rotate(-4deg); } }
/* ---- 30. 强调下划线伸缩 ---- */
@keyframes jtUnderline {
  0%, 100% { transform: scaleX(1); }
  50% { transform: scaleX(.6); }
}

/* ---- 横幅布局 ---- */
.fast-banner {
  position: relative; overflow: hidden; margin: 0;
  background: linear-gradient(115deg, #0d3f70 0%, #1560a8 30%, #f5a623 62%, #ff8a00 84%, #f5a623 100%);
  background-size: 320% 320%;
  animation: jtGradientFlow 11s ease infinite;
}
.fast-banner .fb-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 26px;
  padding: 30px 0; position: relative; z-index: 3; flex-wrap: wrap;
}
.fb-left { display: flex; align-items: center; gap: 22px; min-width: 0; }
.fb-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(13, 63, 112, .92); color: #ffd25e; font-weight: 900;
  padding: 7px 16px; border-radius: 999px; font-size: 14px; letter-spacing: 2px;
  animation: jtBlink 4.5s infinite, jtZoomPulse 2.6s infinite;
}
.fb-badge .fb-rocket { display: inline-block; animation: jtRocket 1.6s ease-in-out infinite; }
.fb-day { display: flex; align-items: baseline; gap: 4px; line-height: 1; }
.fb-num {
  font-size: 96px; font-weight: 900; color: #fff; letter-spacing: -2px;
  font-variant-numeric: tabular-nums;
  animation: jtFlipIn 1.1s ease both, jtGlow 2.2s infinite, jtBounce 3.4s infinite;
}
.fb-unit {
  font-size: 34px; font-weight: 900; color: #fff7e0;
  animation: jtJelly 3.2s infinite, jtColorCycle 4s infinite;
}
.fb-sub { font-size: 21px; font-weight: 900; color: #fff; min-height: 30px; letter-spacing: 1px; }
.fb-sub .fb-caret { display: inline-block; width: 3px; height: 24px; background: #ffd25e; vertical-align: -4px; margin-left: 3px; animation: jtCaret 1s step-end infinite; }
.fb-sub b { color: #ffe25e; animation: jtUnderline 3s infinite; display: inline-block; }

.fb-right { display: flex; align-items: center; gap: 24px; min-width: 0; flex-wrap: wrap; }
.fb-roller { height: 34px; overflow: hidden; position: relative; min-width: 250px; flex: 1 1 250px; max-width: 400px; }
.fb-roller ul { margin: 0; padding: 0; list-style: none; animation: jtRollUp 11s cubic-bezier(.7, 0, .3, 1) infinite; }
.fb-roller li {
  height: 34px; line-height: 34px; white-space: nowrap; color: #fff; font-weight: 800; font-size: 16.5px;
}
.fb-roller li em { font-style: normal; color: #ffe25e; }
.fb-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.fb-cta .btn--accent {
  animation: jtHeartbeat 2.1s infinite, jtBorderGlow 2.6s infinite; position: relative; overflow: hidden;
}
.fb-tel { color: #fff; font-weight: 900; font-size: 16.5px; text-decoration: none; display: inline-block; animation: jtWiggle 3.8s infinite; }
.fb-tel:hover { color: #ffe25e; }

/* 装饰层 */
.fb-shine { position: absolute; top: 0; bottom: 0; width: 34%; z-index: 2; left: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .32), transparent);
  animation: jtShine 4.6s ease infinite; }
.fb-scan { position: absolute; left: 0; right: 0; height: 3px; z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .8), transparent);
  animation: jtScanline 6.5s linear infinite; }
.fb-particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.fb-particles i { position: absolute; bottom: 6px; width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 240, 190, .9); animation: jtParticleUp 4.4s linear infinite; }
.fb-ring { position: absolute; z-index: 1; width: 200px; height: 200px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); left: 6%; top: 50%; margin-top: -100px; animation: jtPulseRing 3.2s ease-out infinite; }

@media (max-width: 900px) {
  .fast-banner .fb-inner { flex-direction: column; align-items: flex-start; padding: 22px 0; }
  .fb-num { font-size: 62px; }
  .fb-unit { font-size: 24px; }
  .fb-sub { font-size: 16.5px; }
  .fb-left { gap: 14px; }
  .fb-right { width: 100%; }
  .fb-ring { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .fast-banner *, .fast-banner *::before, .fast-banner *::after { animation: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .hero-slide { transition: none; }
}

/* ---------- 资质证照（关于我们页信任模块） ---------- */
.certs-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}
.cert-card {
  margin: 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden; transition: transform .2s, box-shadow .25s;
}
.cert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cert-card img { width: 100%; height: 170px; object-fit: cover; display: block; background: #fff; }
.cert-card figcaption { padding: 12px 14px; font-weight: 800; text-align: center; color: var(--ink); font-size: 14px; }

/* ---------- 联系页 地图一键导航 ---------- */
.map-frame { position: relative; overflow: hidden; border-radius: 16px; border: 1px solid var(--line); min-height: 340px; background: var(--surface); }
.map-frame iframe { width: 100%; height: 440px; border: 0; display: block; }
.map-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px 20px; text-align: center; min-height: 340px; }
.map-pin { font-size: 52px; margin-bottom: 8px; }
.map-addr { font-size: 17px; font-weight: 800; margin: 6px 0; }
.map-nav { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; justify-content: center; }
@media (max-width: 768px) { .map-frame iframe { height: 320px; } .certs-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } }
