/* ========== 港湾驾校 BNBU 校区 官网样式 ========== */

:root {
  /* 主色：天蓝 + 橙色 */
  --primary: #1E88E5;          /* 天蓝主色 */
  --primary-dark: #1565C0;     /* 深天蓝 */
  --primary-light: #E3F2FD;    /* 浅天蓝背景 */
  --accent: #FF8A3D;           /* 橙色强调 */
  --accent-dark: #F57C00;      /* 深橙 */
  --accent-light: #FFF3E0;     /* 浅橙背景 */

  /* 中性色 */
  --ink: #0F1B2D;              /* 主文字 */
  --ink-2: #3A4A5C;            /* 次文字 */
  --ink-3: #6B7A8C;            /* 辅助文字 */
  --line: #E5EAF0;             /* 分割线 */
  --bg: #FFFFFF;               /* 主背景 */
  --bg-soft: #F7FAFC;          /* 软背景 */
  --bg-cream: #FAFBFD;         /* 米色背景 */

  /* 排版 */
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;

  /* 阴影 */
  --shadow-sm: 0 2px 8px rgba(15, 27, 45, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 27, 45, 0.08);
  --shadow-lg: 0 20px 60px rgba(15, 27, 45, 0.12);

  /* 圆角 */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
}

* { box-sizing: border-box; }
*::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
  word-break: break-word;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* 标题字重渲染优化（兼容 iOS：不用 text-wrap: balance） */
h1, h2, h3, h4, .section-title, .hero h1 {
  text-wrap: pretty;
}

/* 电话/数字不换行 */
.nav-phone,
.mm-phone,
.contact-item .txt strong,
.service-price strong,
.hero-stat strong,
.trust-num,
.story-stat strong {
  white-space: nowrap;
}

.hero h1, .section-title, .trust-num, .service-price strong {
  font-variation-settings: "wght" 800;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== 顶部导航 ========== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.nav-logo img {
  height: 36px;
  width: auto;
  /* 白底 logo 在浅色导航条上保持可读 */
  border-radius: 4px;
  background: #fff;
  padding: 2px 4px;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-text strong {
  font-size: 16px;
  color: var(--ink);
}

.nav-logo-text small {
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav-links a {
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 8px;
  transition: all 0.2s;
}

.nav-links a:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-links a.active {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 汉堡菜单按钮（移动端） */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 10px;
  background: var(--primary-light);
  cursor: pointer;
  transition: background 0.2s;
}

.nav-burger:hover { background: #D6EAFB; }

.nav-burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.25s;
}

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

/* 移动端抽屉导航 */
.mobile-menu {
  display: flex;
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(320px, 84vw);
  background: #fff;
  z-index: 200;
  padding: 96px 32px 32px;
  box-shadow: -12px 0 40px rgba(15, 27, 45, 0.15);
  flex-direction: column;
  gap: 6px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  visibility: hidden;
}

.mobile-menu.open { transform: translateX(0); visibility: visible; }

.mobile-menu a {
  padding: 14px 16px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  border-radius: 12px;
  transition: all 0.2s;
}

.mobile-menu a:hover,
.mobile-menu a.active { background: var(--primary-light); color: var(--primary); }

.mobile-menu .mm-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 14px 16px;
  background: var(--accent-light);
  color: var(--accent-dark);
  border-radius: 12px;
  font-weight: 700;
}

.mobile-menu .mm-cta {
  margin-top: 8px;
  justify-content: center;
}

/* 学员登录入口（app 子系统） */
.mobile-menu .mm-login {
  margin-top: 8px;
  padding: 14px 16px;
  text-align: center;
  border: 1px solid rgba(30, 136, 229, 0.35);
  color: var(--primary);
  border-radius: 12px;
  font-weight: 700;
  background: transparent;
}

.mobile-overlay {
  display: block;
  position: fixed;
  inset: 0;
  background: rgba(15, 27, 45, 0.45);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-overlay.show { opacity: 1; pointer-events: auto; }

.nav-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--ink);
  font-size: 15px;
}

.nav-phone svg { color: var(--primary); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 138, 61, 0.3);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 138, 61, 0.4);
}

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

.btn-secondary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #fff;
}

/* Hero 高对比白底按钮 */
.btn-white {
  background: #fff;
  color: var(--primary-dark);
  border: 2px solid #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.btn-white:hover {
  background: var(--primary-light);
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.24);
}

.btn-lg { padding: 14px 28px; font-size: 15px; }

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(15, 27, 45, 0.78) 0%, rgba(21, 101, 192, 0.55) 60%, rgba(30, 136, 229, 0.35) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0 60px;
  max-width: 720px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 138, 61, 0.18);
  border: 1px solid rgba(255, 138, 61, 0.4);
  color: #FFD8B5;
  font-size: 13px;
  font-weight: 500;
  border-radius: 999px;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero-eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 138, 61, 0.3);
}

.hero h1 {
  font-size: clamp(36px, 5.4vw, 64px);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 20px;
  letter-spacing: -0.5px;
}

.hero h1 .accent {
  background: linear-gradient(135deg, #FFB37D, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 36px;
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 640px;
}

.hero-stat {
  border-left: 2px solid rgba(255, 138, 61, 0.6);
  padding-left: 14px;
}

.hero-stat strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}

.hero-stat span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

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

.section-sm { padding: 64px 0; }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 16px;
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: 16px;
  color: var(--ink-3);
  line-height: 1.7;
  margin: 0;
}

/* ========== 信任条 ========== */
.trust-strip {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 56px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.trust-item {
  text-align: center;
}

.trust-num {
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #fff, #FFD8B5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.trust-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

/* ========== 特色卡片 ========== */
.features-section {
  background: var(--bg-cream);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--primary);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.feature-card:hover::before {
  transform: scaleY(1);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card:nth-child(2n) .feature-icon {
  background: var(--accent-light);
  color: var(--accent);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--ink);
}

.feature-card p {
  font-size: 14.5px;
  color: var(--ink-3);
  line-height: 1.7;
  margin: 0;
}

/* ========== 校园优势 ========== */
.campus-section {
  background: #fff;
}

.campus-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}

.campus-visual {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.campus-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.campus-floating {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: var(--r-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-md);
}

.campus-floating .ic {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.campus-floating .txt strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
}

.campus-floating .txt span {
  font-size: 13px;
  color: var(--ink-3);
}

.campus-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
}

.campus-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.campus-list .num {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.campus-list strong {
  display: block;
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 4px;
}

.campus-list span {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.6;
}

/* ========== 服务卡 ========== */
.services-section {
  background: var(--bg-cream);
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.service-card {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 36px 32px;
  border: 1px solid var(--line);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
}

.service-card.featured {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border: none;
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.service-card.featured .service-name,
.service-card.featured .service-price strong,
.service-card.featured .service-feature { color: #fff; }

.service-card.featured .service-feature .check { color: var(--accent); }

.service-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.5px;
}

.service-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.service-tag {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 24px;
}

.service-card.featured .service-tag {
  color: rgba(255, 255, 255, 0.8);
}

.service-price {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px dashed var(--line);
}

.service-card.featured .service-price {
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.service-price .old {
  font-size: 14px;
  color: var(--ink-3);
  text-decoration: line-through;
  margin-right: 10px;
}

.service-card.featured .service-price .old {
  color: rgba(255, 255, 255, 0.6);
}

.service-price strong {
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
}

.service-price strong .unit {
  font-size: 14px;
  font-weight: 500;
  margin-left: 4px;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 12px;
}

.service-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
}

.service-feature .check {
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}

.service-card .btn {
  margin-top: auto;
  justify-content: center;
}

.service-card:not(.featured) .btn-primary {
  background: var(--primary);
  box-shadow: 0 4px 12px rgba(30, 136, 229, 0.25);
}

.service-card:not(.featured) .btn-primary:hover {
  background: var(--primary-dark);
}

/* ========== 流程图 ========== */
.process-section {
  background: #fff;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
  padding: 24px 8px;
}

.process-step::after {
  content: "→";
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 18px;
  font-weight: 700;
}

.process-step:last-child::after { display: none; }

.process-num {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  border: 2px solid var(--primary);
}

.process-step h4 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--ink);
}

.process-step p {
  font-size: 12.5px;
  color: var(--ink-3);
  margin: 0;
  line-height: 1.5;
}

/* ========== CTA Banner ========== */
.cta-banner {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent 60%);
  border-radius: 50%;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.cta-inner h3 {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 8px;
}

.cta-inner p {
  font-size: 16px;
  margin: 0;
  opacity: 0.9;
}

.cta-inner .actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-inner .btn-primary {
  background: #fff;
  color: var(--accent-dark);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.cta-inner .btn-primary:hover {
  background: #fff;
  color: var(--accent-dark);
  transform: translateY(-2px);
}

.cta-inner .btn-ghost-light {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}

/* ========== 关于页 / 通用页头 ========== */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 96px 0 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 70%);
  border-radius: 50%;
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 138, 61, 0.2), transparent 70%);
  border-radius: 50%;
}

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

.page-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  margin: 0 0 16px;
  letter-spacing: -0.5px;
}

.page-hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto;
}

/* ========== 故事区 ========== */
.story-section {
  background: #fff;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.story-img {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}

.story-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-text h2 {
  font-size: 36px;
  font-weight: 800;
  margin: 0 0 20px;
  line-height: 1.25;
}

.story-text p {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.8;
  margin: 0 0 18px;
}

.story-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.story-stat strong {
  display: block;
  font-size: 30px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}

.story-stat span {
  font-size: 13px;
  color: var(--ink-3);
}

/* ========== 团队/承诺 ========== */
.promise-section {
  background: var(--bg-cream);
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.promise-card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 32px 28px;
  text-align: center;
  border: 1px solid var(--line);
  transition: all 0.25s;
}

.promise-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.promise-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.promise-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
}

.promise-card p {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.7;
  margin: 0;
}

/* ========== 训练场图集 ========== */
.gallery-section {
  background: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  height: 520px;
}

.gallery-item {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item:nth-child(1) {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px 20px;
  background: linear-gradient(0deg, rgba(15, 27, 45, 0.85), transparent);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}

/* ========== 价格表 ========== */
.pricing-section {
  background: var(--bg-cream);
}

.pricing-table {
  background: #fff;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}

.pricing-table table {
  width: 100%;
  border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
  padding: 20px 24px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.pricing-table th {
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.3px;
}

.pricing-table tr:last-child td { border-bottom: none; }

.pricing-table tr:hover td { background: var(--bg-cream); }

.pricing-table .class-name {
  font-weight: 700;
  color: var(--ink);
  font-size: 16px;
}

.pricing-table .price-new {
  color: var(--accent);
  font-weight: 800;
  font-size: 18px;
}

.pricing-table .price-old {
  color: var(--ink-3);
  text-decoration: line-through;
  font-size: 14px;
  margin-right: 4px;
}

.pricing-table .tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  margin-left: 8px;
}

.pricing-table .tag-hot {
  background: var(--accent-light);
  color: var(--accent-dark);
}

.pricing-table .tag-recommend {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.pricing-note {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 32px 36px;
  margin-top: 32px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.pricing-note::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--accent), var(--accent-dark));
}

.pricing-note .note-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--line);
}

.pricing-note .note-title .ic {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent-light);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.pricing-note .note-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.pricing-note .fee-card {
  background: linear-gradient(135deg, var(--primary-light) 0%, #F8FBFF 100%);
  border-radius: var(--r-md);
  padding: 16px 18px;
  border: 1px solid rgba(30, 136, 229, 0.1);
}

.pricing-note .fee-card.feat {
  background: linear-gradient(135deg, var(--accent-light) 0%, #FFF9F2 100%);
  border-color: rgba(255, 138, 61, 0.18);
}

.pricing-note .fee-card small {
  display: block;
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.3px;
  margin-bottom: 6px;
  text-transform: uppercase;
  font-weight: 600;
}

.pricing-note .fee-card strong {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-dark);
}

.pricing-note .fee-card.feat strong { color: var(--accent-dark); }

.pricing-note .retest {
  background: #FAFBFD;
  border-radius: var(--r-md);
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.8;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  align-items: center;
}

.pricing-note .retest .lbl {
  font-weight: 600;
  color: var(--ink-3);
  margin-right: 4px;
}

.pricing-note .retest span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pricing-note .retest span b {
  color: var(--primary);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.pricing-note .retest span.free {
  color: var(--accent-dark);
  font-weight: 600;
}

.pricing-note .promise {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #FFF9F2 0%, #FFF3E0 100%);
  border: 1px solid rgba(255, 138, 61, 0.2);
  border-radius: var(--r-md);
  font-size: 14px;
  color: var(--accent-dark);
  font-weight: 600;
}

.pricing-note .promise .check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .pricing-note { padding: 24px 20px; }
  .pricing-note .note-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pricing-note .fee-card { padding: 12px 14px; }
  .pricing-note .fee-card strong { font-size: 16px; }
}

/* ========== 联系页 ========== */
.contact-section {
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: stretch;
}

.contact-info {
  background: linear-gradient(160deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border-radius: var(--r-xl);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(255, 138, 61, 0.4), transparent 60%);
  border-radius: 50%;
}

.contact-info h2 {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 8px;
  position: relative;
}

.contact-info .lead {
  font-size: 15px;
  opacity: 0.85;
  margin: 0 0 32px;
  position: relative;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 22px;
  position: relative;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-item .ic {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.contact-item .txt small {
  display: block;
  font-size: 12px;
  opacity: 0.7;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.contact-item .txt strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.qr-box {
  margin-top: 32px;
  background: #fff;
  border-radius: var(--r-md);
  padding: 20px;
  text-align: center;
  position: relative;
}

.qr-placeholder {
  width: 100%;
  max-width: 180px;
  aspect-ratio: 1;
  margin: 0 auto 12px;
  background: repeating-conic-gradient(#F0F2F5 0% 25%, #E5EAF0 0% 50%) 50% / 16px 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-3);
  font-size: 13px;
  border: 1px dashed var(--line);
}

.qr-box small {
  color: var(--ink-3);
  font-size: 13px;
}

/* 地图区 */
.map-block {
  background: var(--bg-cream);
  border-radius: var(--r-xl);
  padding: 32px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.map-block h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--ink);
}

.map-block .map-sub {
  font-size: 14px;
  color: var(--ink-3);
  margin: 0 0 20px;
}

.map-block iframe {
  width: 100%;
  height: 280px;
  border: 0;
  border-radius: var(--r-md);
  margin-bottom: 20px;
}

.map-list {
  display: grid;
  gap: 14px;
}

.map-card {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  align-items: center;
}

.map-card .badge {
  flex-shrink: 0;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.map-card .badge.campus {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.map-card .badge.field {
  background: var(--accent-light);
  color: var(--accent-dark);
}

.map-card .info { flex: 1; }
.map-card .info strong { display: block; font-size: 15px; color: var(--ink); margin-bottom: 4px; }
.map-card .info span { font-size: 13px; color: var(--ink-3); line-height: 1.5; }

/* FAQ */
.faq-section {
  background: var(--bg-cream);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  background: #fff;
  border-radius: var(--r-md);
  padding: 22px 26px;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: all 0.2s;
}

.faq-item:hover { border-color: var(--primary); }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.faq-q .toggle {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  transition: transform 0.25s;
}

.faq-a {
  display: none;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink-3);
  line-height: 1.8;
}

.faq-item.open .faq-a { display: block; }
.faq-item.open .toggle { transform: rotate(45deg); }

/* ========== Footer ========== */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

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

.footer-brand img {
  height: 40px;
  background: #fff;
  padding: 4px 6px;
  border-radius: 4px;
}

.footer-brand-text strong {
  display: block;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.footer-brand-text span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-about {
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  max-width: 320px;
}

.footer h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 18px;
  letter-spacing: 0.5px;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer ul a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

.footer ul a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.4);
  flex-wrap: wrap;
  gap: 12px;
}

/* 内部管理 / 校园代理入口（app 子系统） */
.footer-bottom .footer-admin-links {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-bottom .footer-admin-links a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: underline;
  transition: color 0.2s;
}
.footer-bottom .footer-admin-links a:hover {
  color: var(--accent);
}

/* ========== 移动端 ========== */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-phone { display: none; }
  .nav-burger { display: flex; }
  body.menu-open { overflow: hidden; }

  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }

  .hero { min-height: auto; }
  .hero-content { padding: 48px 0; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .hero-stat strong { font-size: 22px; }

  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .trust-num { font-size: 32px; }

  .features-grid { grid-template-columns: 1fr; }
  .campus-grid { grid-template-columns: 1fr; gap: 36px; }
  .service-cards { grid-template-columns: 1fr; }
  .service-card.featured { transform: none; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .process-step::after { display: none; }
  .process-num { width: 48px; height: 48px; font-size: 18px; }

  .story-grid { grid-template-columns: 1fr; gap: 36px; }
  .promise-grid { grid-template-columns: 1fr; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 200px);
    height: auto;
  }
  .gallery-item:nth-child(1) { grid-column: span 2; grid-row: auto; }

  .contact-grid { grid-template-columns: 1fr; }
  .pricing-table { font-size: 14px; }
  .pricing-table th, .pricing-table td { padding: 14px 12px; }
  .pricing-table .class-name { font-size: 14px; }

  .cta-inner { flex-direction: column; text-align: center; }
  .cta-inner h3 { font-size: 24px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .nav-inner { height: 64px; }
  .nav-logo img { height: 32px; }
  .nav-logo-text strong { font-size: 14px; }
  .nav-cta .btn { padding: 8px 14px; font-size: 13px; }

  .hero h1 { font-size: 32px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-ctas .btn { flex: 1; justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; }
}

/* ========== 移动端浮动咨询条 ========== */
.float-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 120;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 24px rgba(15, 27, 45, 0.08);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
}

.float-bar-inner {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
}

.float-bar .fb-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 16px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 700;
  transition: all 0.2s;
}

.float-bar .fb-tel {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 138, 61, 0.3);
}

.float-bar .fb-tel:hover { background: var(--accent-dark); }

.float-bar .fb-wx {
  background: var(--primary-light);
  color: var(--primary-dark);
  border: 1px solid rgba(30, 136, 229, 0.25);
}

.float-bar .fb-wx:hover { background: #D6EAFB; }

@media (max-width: 960px) {
  .float-bar { display: block; }
}

/* ========== 滚动入场动画 ========== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ========== 二维码占位（待用户替换真图） ========== */
.qr-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background:
    repeating-conic-gradient(#F0F2F5 0% 25%, #E5EAF0 0% 50%) 50% / 16px 16px,
    #fff;
  color: var(--ink-3);
  font-size: 13px;
  border: 2px dashed var(--line);
  transition: border-color 0.2s;
}

.qr-placeholder:hover { border-color: var(--primary); }

.qr-placeholder .qr-ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-box small {
  display: block;
  margin-top: 10px;
  color: var(--ink-3);
  font-size: 13px;
}

.qr-box img {
  display: block;
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(15, 27, 45, 0.08);
  background: #fff;
  padding: 6px;
}

.qr-box small strong {
  color: var(--accent-dark);
  font-weight: 700;
}

/* ========== 顶部滚动公告条 ========== */
.top-announce {
  width: 100%;
  overflow: hidden;
  background: var(--primary);
  color: #fff;
  font-size: 13.5px;
  white-space: nowrap;
  z-index: 999;
}
.announce-track {
  display: inline-flex;
  animation: announce-scroll 30s linear infinite;
  will-change: transform;
}
.announce-item {
  padding: 8px 0;
  padding-right: 70px;
  display: inline-block;
}
.announce-item b { font-weight: 700; }
@keyframes announce-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.top-announce:hover .announce-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .announce-track { animation: none; } }
@media (max-width: 640px) {
  .announce-item { font-size: 12.5px; padding-right: 50px; }
}

/* 悬停暂停 + 无障碍 */
.top-announce:hover .announce-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .announce-track { animation: none; }
}

