/* ============================================
   广易驾校 - 全局样式
   主题：广易红 + 深蓝 + 金
============================================ */
:root {
  /* 品牌色 */
  --c-red: #C8102E;
  --c-red-dark: #9E0C24;
  --c-red-soft: #FDECEF;
  --c-navy: #0F2A47;
  --c-navy-2: #1B3A63;
  --c-gold: #FFB81C;
  --c-gold-soft: #FFF6E0;

  /* 中性色 */
  --c-text: #1F2937;
  --c-text-2: #475569;
  --c-muted: #7A8699;
  --c-line: #E9EDF3;
  --c-line-2: #F1F4F8;
  --c-bg: #F6F8FB;
  --c-white: #fff;

  /* 字号梯度（流式缩放） */
  --fs-hero: clamp(30px, 4.2vw, 50px);
  --fs-h2: clamp(24px, 2.6vw, 34px);
  --fs-h3: clamp(20px, 1.8vw, 27px);
  --fs-body: 15.5px;
  --fs-sm: 14.5px;
  --fs-xs: 13px;

  /* 间距 */
  --sec-py: clamp(60px, 6.2vw, 96px);
  --container: 1200px;

  /* 阴影 */
  --sh-1: 0 1px 2px rgba(15,42,71,.04), 0 4px 14px rgba(15,42,71,.05);
  --sh-2: 0 6px 16px rgba(15,42,71,.07), 0 18px 40px rgba(15,42,71,.08);
  --sh-3: 0 14px 34px rgba(15,42,71,.10), 0 32px 70px rgba(15,42,71,.12);

  /* 圆角 */
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --header-h: 78px;
  --tr: .28s cubic-bezier(.4,0,.2,1);
}

*,*::before,*::after { box-sizing: border-box; }
html,body { margin:0; padding:0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "PingFang SC","Hiragino Sans GB","Microsoft YaHei","Helvetica Neue",Arial,sans-serif;
  font-size: var(--fs-body);
  line-height: 1.8;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: color var(--tr); }
a:hover { color: var(--c-red); }
img { max-width: 100%; display: block; }
ul,ol { margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4,h5 { margin: 0; line-height: 1.35; color: var(--c-navy); font-weight: 700; letter-spacing: .01em; }
p { margin: 0 0 12px; }
p:last-child { margin-bottom: 0; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
input,textarea,select { font-family: inherit; font-size: var(--fs-body); outline: none; color: var(--c-text); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.center { text-align: center; }
.muted { color: var(--c-muted); }
.num { font-variant-numeric: tabular-nums; }

/* ========== 通用按钮 ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: .02em;
  transition: transform var(--tr), box-shadow var(--tr), background var(--tr), color var(--tr), border-color var(--tr);
  white-space: nowrap; border: 1.5px solid transparent; will-change: transform;
}
.btn-lg { padding: 15px 36px; font-size: 16px; }
.btn-sm { padding: 9px 20px; font-size: 13.5px; }
.btn-primary { background: var(--c-red); color: #fff; box-shadow: 0 6px 18px rgba(200,16,46,.22); }
.btn-primary:hover { background: var(--c-red-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(200,16,46,.32); }
.btn-primary:active { transform: translateY(0); }
.btn-navy { background: var(--c-navy); color: #fff; }
.btn-navy:hover { background: #0a1f36; color:#fff; transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.45); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; color: var(--c-navy); transform: translateY(-2px); }
.btn-outline { background:#fff; color: var(--c-red); border-color: rgba(200,16,46,.35); }
.btn-outline:hover { background: var(--c-red); color:#fff; border-color: var(--c-red); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(200,16,46,.22); }
.btn-block { width: 100%; }

/* ========== 导航 ========== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94); backdrop-filter: saturate(180%) blur(12px);
  height: var(--header-h); box-shadow: var(--sh-1);
}
.header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo .mark {
  width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(135deg, #E11D36 0%, var(--c-red) 45%, #7A0A1C 100%);
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 18px;
  box-shadow: 0 8px 20px rgba(200,16,46,.3); letter-spacing: 1px;
}
.logo .text strong { display:block; color: var(--c-navy); font-size: 20px; letter-spacing: 2px; line-height: 1.25; }
.logo .text span { display:block; color: var(--c-muted); font-size: 10.5px; letter-spacing: 2.4px; }
.nav { display: flex; gap: 2px; flex: 0 0 auto; min-width: 0; flex-wrap: nowrap; }
.nav > li { flex-shrink: 0; }
.nav > li > a {
  display: inline-block; padding: 10px 12px; font-size: 14.5px; font-weight: 500;
  border-radius: var(--r-sm); position: relative; color: var(--c-navy);
  white-space: nowrap;
  transition: color var(--tr), background var(--tr);
}
.nav > li > a:hover { color: var(--c-red); }
.nav > li.active > a { color: var(--c-red); font-weight: 600; }
.nav > li > a::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 0; height: 2.5px; border-radius: 2px;
  background: var(--c-red); transition: width var(--tr); transform: translateX(-50%);
}
.nav > li > a:hover::after, .nav > li.active > a::after { width: 22px; }

/* 导航下拉 */
.nav > li.has-sub { position: relative; }
.nav > li.has-sub > .nav-more {
  display: inline-flex; align-items: center; padding: 10px 12px;
  font-size: 14.5px; font-weight: 500; border-radius: var(--r-sm);
  position: relative; color: var(--c-navy); white-space: nowrap;
  transition: color var(--tr);
}
.nav > li.has-sub > .nav-more:hover { color: var(--c-red); }
.nav > li.has-sub.active > .nav-more { color: var(--c-red); font-weight: 600; }
.nav > li.has-sub > .nav-more::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 0; height: 2.5px; border-radius: 2px;
  background: var(--c-red); transition: width var(--tr); transform: translateX(-50%);
}
.nav > li.has-sub:hover > .nav-more::after,
.nav > li.has-sub.active > .nav-more::after { width: 22px; }
.nav .caret {
  font-style: normal; font-size: 10px; margin-left: 3px;
  display: inline-block; transition: transform var(--tr); color: var(--c-muted);
}
.nav > li.has-sub:hover .caret { transform: rotate(180deg); color: var(--c-red); }
.nav .sub {
  display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 138px; background: #fff; border-radius: var(--r);
  box-shadow: var(--sh-2); border: 1px solid var(--c-line-2);
  padding: 8px; margin-top: 8px; z-index: 20;
}
.nav .sub::before {
  content: ""; position: absolute; top: -6px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 11px; height: 11px; background: #fff; border-left: 1px solid var(--c-line-2);
  border-top: 1px solid var(--c-line-2); border-radius: 2px;
}
.nav > li.has-sub:hover > .sub,
.nav > li.has-sub.sub-open > .sub { display: block; }
.nav .sub li a {
  display: block; padding: 10px 16px; font-size: 14px; border-radius: var(--r-sm);
  color: var(--c-navy); white-space: nowrap; transition: background var(--tr), color var(--tr);
}
.nav .sub li a:hover { background: var(--c-red-soft); color: var(--c-red); }
.nav .sub li a::after { display: none; }

.header-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-phone { color: var(--c-navy); font-weight: 700; font-size: 19px; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.header-phone i { color: var(--c-red); margin-right: 5px; font-style: normal; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; background: var(--c-bg); }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--c-navy); margin: 4px auto; border-radius: 2px; transition: var(--tr); }

/* ========== Hero ========== */
.hero {
  position: relative; height: clamp(470px, 66vh, 640px);
  color: #fff; overflow: hidden; background: var(--c-navy);
}
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease;
  background-size: cover; background-position: center;
}
.hero-slide.active { opacity: 1; }
.hero-slide::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(9,26,45,.92) 0%, rgba(9,26,45,.78) 38%, rgba(9,26,45,.34) 68%, rgba(9,26,45,.18) 100%),
    linear-gradient(180deg, rgba(9,26,45,.5) 0%, transparent 30%, rgba(9,26,45,.45) 100%);
}
.hero-inner { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; }
.hero-content { max-width: 660px; }
.hero-tag {
  display: inline-block; padding: 7px 16px; border-radius: 999px;
  background: rgba(255,184,28,.16); color: var(--c-gold);
  font-size: 12.5px; letter-spacing: .28em; font-weight: 600;
  margin-bottom: 22px; border: 1px solid rgba(255,184,28,.38);
}
.hero h1 {
  color: #fff; font-size: var(--fs-hero); line-height: 1.24;
  margin-bottom: 18px; letter-spacing: .005em; font-weight: 800;
  text-shadow: 0 2px 24px rgba(0,0,0,.25);
}
.hero h1 em { color: var(--c-gold); font-style: normal; }
.hero p {
  font-size: clamp(14.5px, 1.2vw, 17px); color: #d7e2f2;
  line-height: 1.95; margin-bottom: 34px; max-width: 560px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-content > * { animation: heroIn .85s cubic-bezier(.22,.7,.28,1) backwards; }
.hero-content > *:nth-child(1) { animation-delay: .08s; }
.hero-content > *:nth-child(2) { animation-delay: .18s; }
.hero-content > *:nth-child(3) { animation-delay: .30s; }
.hero-content > *:nth-child(4) { animation-delay: .42s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.hero-dots {
  position: absolute; left: 0; right: 0; bottom: 34px; z-index: 5;
  display: flex; gap: 10px; justify-content: center;
}
.hero-dots button { width: 26px; height: 4px; border-radius: 999px; background: rgba(255,255,255,.35); transition: var(--tr); }
.hero-dots button:hover { background: rgba(255,255,255,.6); }
.hero-dots button.active { background: var(--c-gold); width: 44px; }

/* ========== 板块通用 ========== */
section { padding: var(--sec-py) 0; }
.section-head { text-align: center; margin-bottom: clamp(38px, 4vw, 58px); }
.section-head .eyebrow {
  display: inline-block; color: var(--c-red); font-weight: 700;
  letter-spacing: .3em; font-size: 12.5px; margin-bottom: 14px;
}
.section-head h1,
.section-head h2 { font-size: var(--fs-h2); font-weight: 800; letter-spacing: .02em; }
.section-head h1 em,
.section-head h2 em { color: var(--c-red); font-style: normal; }
.section-head h2 + .deco,
.section-head p:last-child { margin-top: 16px; }
.section-head p {
  color: var(--c-muted); margin: 16px auto 0; max-width: 680px;
  font-size: var(--fs-sm); line-height: 1.9;
}

/* ========== 统计指标 ========== */
.stats { background: linear-gradient(135deg, #0F2A47 0%, #1B3A63 100%); color: #fff; padding: clamp(48px, 4.4vw, 68px) 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; text-align: center; }
.stat-item .num {
  font-size: clamp(34px, 3.6vw, 50px); font-weight: 800; color: var(--c-gold);
  line-height: 1.1; display: inline-block; letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
}
.stat-item .num small { font-size: .45em; margin-left: 3px; font-weight: 700; }
.stat-item .label { color: #c3d0e2; margin-top: 12px; font-size: var(--fs-sm); letter-spacing: .1em; }

/* ========== 优势对比 ========== */
.advantages { background: var(--c-bg); }
.compare-table { background: #fff; border-radius: var(--r-xl); box-shadow: var(--sh-2); overflow: hidden; border: 1px solid var(--c-line-2); }
.compare-row { display: grid; grid-template-columns: 1.05fr 1.45fr 1.45fr; transition: background var(--tr); }
.compare-row:not(.head):hover { background: #FAFCFF; }
.compare-row + .compare-row { border-top: 1px solid var(--c-line-2); }
.compare-row.head { background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-navy-2) 100%); }
.compare-row.head .compare-cell { padding: 17px 30px; font-weight: 700; letter-spacing: .06em; font-size: 14.5px; }
.compare-cell { padding: 20px 30px; display: flex; align-items: flex-start; gap: 12px; font-size: var(--fs-sm); line-height: 1.75; }
.compare-cell:first-child { font-weight: 700; color: var(--c-navy); }
.compare-cell.bad { color: var(--c-muted); }
.compare-cell.good { color: var(--c-text-2); }
.compare-cell .dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; margin-top: 11px; }
.compare-cell.bad .dot { background: #cbd3df; }
.compare-cell.good .dot { background: var(--c-red); box-shadow: 0 0 0 4px var(--c-red-soft); }
.compare-row.head .compare-cell:first-child { color: #fff; }
.compare-row.head .compare-cell.bad { color: rgba(255,255,255,.55); }
.compare-row.head .compare-cell.good { color: var(--c-gold); }

/* ========== 学车方案 ========== */
.courses-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 38px; }
.courses-tabs button {
  padding: 12px 26px; border-radius: 999px; background: #fff; color: var(--c-text-2);
  font-weight: 600; font-size: 15px; border: 1px solid var(--c-line); transition: var(--tr);
}
.courses-tabs button:hover { border-color: rgba(200,16,46,.4); color: var(--c-red); }
.courses-tabs button.active {
  background: var(--c-red); color: #fff; border-color: var(--c-red);
  box-shadow: 0 8px 20px rgba(200,16,46,.25);
}
.course-card {
  display: none; background: #fff; border-radius: var(--r-xl);
  box-shadow: var(--sh-2); overflow: hidden; grid-template-columns: 1.05fr 1fr;
  border: 1px solid var(--c-line-2);
}
.course-card.active { display: grid; }
.course-img {
  position: relative; min-height: 440px; height: 100%;
  background-size: cover; background-position: center;
}
.course-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, transparent 55%, rgba(15,42,71,.42)); }
.course-img .tag {
  position: absolute; top: 22px; left: 22px; z-index: 2;
  background: var(--c-gold); color: #4A3400; font-weight: 800;
  padding: 7px 16px; border-radius: 999px; font-size: 12.5px; letter-spacing: .08em;
  box-shadow: 0 6px 16px rgba(0,0,0,.18);
}
.course-info { padding: clamp(28px, 3vw, 46px); display: flex; flex-direction: column; justify-content: center; }
.course-info h3 { font-size: var(--fs-h3); margin-bottom: 4px; }
.course-info .price {
  color: var(--c-red); font-size: 34px; font-weight: 800; margin: 6px 0 16px;
  letter-spacing: -.01em; font-variant-numeric: tabular-nums;
}
.course-info .price small { font-size: 14px; color: var(--c-muted); font-weight: 500; margin-left: 8px; letter-spacing: 0; }
.course-info .features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin-bottom: 26px; }
.course-info .features li { display: flex; align-items: flex-start; gap: 9px; font-size: var(--fs-sm); color: var(--c-text-2); line-height: 1.6; }
.course-info .features i {
  color: #fff; font-style: normal; font-weight: 700; font-size: 11px; line-height: 1;
  width: 18px; height: 18px; border-radius: 50%; background: var(--c-red);
  display: grid; place-items: center; flex-shrink: 0; margin-top: 3px;
}
.course-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ========== 教练团队 ========== */
.coach-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.coach-card {
  background: #fff; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-1); transition: transform var(--tr), box-shadow var(--tr);
  border: 1px solid var(--c-line-2); text-align: center; padding-bottom: 26px;
}
.coach-card:hover { transform: translateY(-8px); box-shadow: var(--sh-3); border-color: transparent; }
.coach-avatar {
  width: 100%; aspect-ratio: 4/5; position: relative;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(150deg, #24497A 0%, var(--c-navy) 60%, #0A1D33 100%);
  overflow: hidden;
}
.coach-avatar::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 28%, rgba(255,184,28,.22), transparent 58%);
}
.coach-avatar::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 42%;
  background: linear-gradient(180deg, transparent, rgba(10,29,51,.5));
}
.coach-avatar > span:not(.gold) {
  position: relative; z-index: 2; font-size: 76px; font-weight: 800;
  letter-spacing: .04em; text-shadow: 0 6px 24px rgba(0,0,0,.28);
}
.coach-avatar .gold {
  position: absolute; top: 16px; left: 16px; z-index: 3;
  background: var(--c-gold); color: #4A3400; font-size: 12px;
  padding: 5px 12px; border-radius: 999px; font-weight: 800; letter-spacing: .06em;
}
.coach-card h4 { font-size: 21px; margin: 20px 0 5px; }
.coach-card .meta { color: var(--c-muted); font-size: var(--fs-xs); margin-bottom: 14px; }
.coach-tags { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; padding: 0 16px; }
.coach-tags span {
  font-size: 12px; padding: 4px 11px; border-radius: 999px;
  background: var(--c-red-soft); color: var(--c-red); font-weight: 500;
}
.coach-card .stats-row {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px dashed var(--c-line); border-bottom: 1px dashed var(--c-line);
  margin: 0 24px 18px; padding: 14px 0; gap: 8px;
}
.coach-card .stats-row div { font-size: var(--fs-xs); color: var(--c-muted); }
.coach-card .stats-row strong {
  display: block; color: var(--c-red); font-size: 20px; font-weight: 800;
  font-variant-numeric: tabular-nums; line-height: 1.4;
}

/* ========== 学员评价 ========== */
.reviews { background: var(--c-bg); }
.review-tabs { display: flex; gap: 10px; justify-content: center; margin-bottom: 34px; flex-wrap: wrap; }
.review-tabs button {
  padding: 9px 22px; border-radius: 999px; background: #fff; color: var(--c-text-2);
  border: 1px solid var(--c-line); font-weight: 500; font-size: var(--fs-sm); transition: var(--tr);
}
.review-tabs button:hover { border-color: var(--c-navy); color: var(--c-navy); }
.review-tabs button.active { background: var(--c-navy); color: #fff; border-color: var(--c-navy); box-shadow: 0 8px 20px rgba(15,42,71,.2); }
.review-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.review-card {
  background: #fff; border-radius: var(--r-lg); padding: 28px 26px 24px;
  border: 1px solid var(--c-line-2); position: relative;
  transition: transform var(--tr), box-shadow var(--tr); box-shadow: var(--sh-1);
}
.review-card:hover { transform: translateY(-6px); box-shadow: var(--sh-2); border-color: transparent; }
.review-card .quote {
  position: absolute; top: 8px; right: 22px; font-size: 64px; line-height: 1;
  color: var(--c-red-soft); font-family: Georgia, "Songti SC", serif;
}
.review-card .stars { color: var(--c-gold); letter-spacing: 3px; margin-bottom: 12px; font-size: 15px; }
.review-card p { color: var(--c-text-2); margin: 0 0 20px; min-height: 96px; line-height: 1.85; font-size: var(--fs-sm); }
.review-user { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px dashed var(--c-line); }
.review-user .av {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--c-red) 0%, var(--c-red-dark) 100%);
  color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 16px;
}
.review-user .info strong { display: block; font-size: 14.5px; color: var(--c-navy); }
.review-user .info span { color: var(--c-muted); font-size: 12.5px; }

/* ========== AI 教学 ========== */
.ai-section { background: linear-gradient(135deg, #0F2A47 0%, #1B3A63 100%); color: #fff; }
.ai-section .section-head h1,
.ai-section .section-head h2 { color: #fff; }
.ai-section .section-head p { color: #c3d0e2; }
.ai-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.ai-card {
  background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg); padding: 30px 28px; transition: var(--tr);
}
.ai-card:hover { background: rgba(255,255,255,.1); transform: translateY(-6px); border-color: rgba(255,184,28,.55); }
.ai-card .icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: linear-gradient(135deg, #FFC63F 0%, var(--c-gold) 50%, #D68F00 100%);
  display: grid; place-items: center; color: var(--c-navy); font-size: 19px;
  font-weight: 800; margin-bottom: 20px; box-shadow: 0 8px 20px rgba(255,184,28,.22);
}
.ai-card h4 { color: #fff; font-size: 18.5px; margin-bottom: 12px; }
.ai-card p { color: #c3d0e2; font-size: var(--fs-sm); margin: 0; line-height: 1.85; }

/* ========== 荣誉时间轴 ========== */
.timeline { position: relative; max-width: 880px; margin: 0 auto; padding-left: 40px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--c-red), var(--c-gold)); border-radius: 2px; }
.tl-item { position: relative; margin-bottom: 34px; }
.tl-item::before {
  content: ""; position: absolute; left: -40px; top: 9px; width: 20px; height: 20px;
  border-radius: 50%; background: #fff; border: 4px solid var(--c-red);
  box-shadow: 0 0 0 5px var(--c-red-soft);
}
.tl-year { color: var(--c-red); font-weight: 800; font-size: 24px; margin-bottom: 2px; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.tl-item h4 { font-size: 18px; margin-bottom: 8px; }
.tl-item p { color: var(--c-muted); margin: 0; font-size: var(--fs-sm); line-height: 1.85; }

/* ========== 报名表单区 ========== */
.signup {
  background:
    linear-gradient(120deg, rgba(9,26,45,.94) 0%, rgba(9,26,45,.72) 45%, rgba(200,16,46,.72) 100%),
    url("../img/exam/广易驾校-梁村考场考试车队列队-实景照片-2023.jpg") center/cover;
  color: #fff; padding: clamp(64px, 6vw, 100px) 0;
}
.signup .container { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.signup h2 { color: #fff; font-size: clamp(26px, 2.6vw, 36px); margin-bottom: 16px; font-weight: 800; }
.signup p { color: #d7e2f2; line-height: 1.9; }
.signup .perks { margin-top: 32px; display: grid; gap: 18px; }
.signup .perks li { display: flex; gap: 16px; align-items: flex-start; }
.signup .perks i {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--c-gold); color: var(--c-navy); font-weight: 800; font-style: normal;
  flex-shrink: 0; margin-top: 2px; font-size: 14px;
}
.signup .perks strong { color: #fff; font-size: 17px; }
.signup .perks div { color: #cfdcee; font-size: var(--fs-sm); line-height: 1.7; }
.signup-form {
  background: #fff; color: var(--c-text); padding: clamp(26px, 3vw, 40px);
  border-radius: var(--r-xl); box-shadow: var(--sh-3);
}
.signup-form h3 { color: var(--c-navy); margin-bottom: 6px; font-size: 22px; }
.signup-form .hint { color: var(--c-muted); font-size: var(--fs-xs); margin-bottom: 24px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: var(--fs-xs); color: var(--c-text-2); margin-bottom: 7px; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--c-line); border-radius: var(--r-sm);
  background: #FAFBFD; transition: border-color var(--tr), box-shadow var(--tr), background var(--tr);
  color: var(--c-text);
}
.field input::placeholder, .field textarea::placeholder { color: #A9B4C4; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--c-red); background: #fff; box-shadow: 0 0 0 3px rgba(200,16,46,.11);
}
.field textarea { resize: vertical; min-height: 84px; line-height: 1.7; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.slider-verify {
  background: #F5F7FB; border-radius: var(--r-sm); padding: 10px 14px;
  display: flex; align-items: center; gap: 14px;
  font-size: var(--fs-xs); color: var(--c-muted); user-select: none;
}
.slider-verify .track { flex: 1; height: 34px; background: #E7ECF4; border-radius: 999px; position: relative; cursor: pointer; }
.slider-verify .knob {
  position: absolute; top: 2px; left: 2px; height: 30px; width: 48px; background: #fff;
  border-radius: 999px; box-shadow: 0 2px 8px rgba(15,42,71,.18);
  display: grid; place-items: center; transition: left var(--tr), background var(--tr), color var(--tr);
  font-weight: 700;
}
.slider-verify.ok .knob { left: calc(100% - 50px); background: var(--c-red); color: #fff; }
.slider-verify.ok .track { background: var(--c-red-soft); }
.form-result { margin-top: 14px; padding: 12px 16px; border-radius: var(--r-sm); font-size: var(--fs-sm); display: none; line-height: 1.7; }
.form-result.show { display: block; }
.form-result.success { background: #E9F9F0; color: #047857; }
.form-result.error { background: #FEE9E9; color: #B91C1C; }

/* ========== 学车攻略 ========== */
.tips-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.tip-card {
  background: #fff; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--c-line-2); box-shadow: var(--sh-1);
  transition: transform var(--tr), box-shadow var(--tr);
  display: flex; flex-direction: column;
}
.tip-card:hover { transform: translateY(-6px); box-shadow: var(--sh-2); border-color: transparent; }
.tip-thumb { aspect-ratio: 3/2; background-size: cover; background-position: center; background-color: var(--c-line-2); }
.tip-body { padding: 22px 24px 20px; flex: 1; display: flex; flex-direction: column; }
.tip-body .tag {
  display: inline-block; background: var(--c-red-soft); color: var(--c-red);
  font-size: 12px; padding: 3px 12px; border-radius: 999px; align-self: flex-start;
  margin-bottom: 12px; font-weight: 600;
}
.tip-body h4 { font-size: 17px; line-height: 1.6; margin-bottom: 10px; }
.tip-body p { color: var(--c-muted); font-size: var(--fs-xs); margin: 0 0 16px; flex: 1; line-height: 1.8; }
.tip-body .meta { color: #A3AEBE; font-size: 12px; display: flex; justify-content: space-between; border-top: 1px dashed var(--c-line); padding-top: 12px; }
.tips-grid.filterable .tip-card { display: none; }
.tips-grid.filterable .tip-card.active { display: flex; }

/* ========== 联系与地图 ========== */
.contact-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px; align-items: stretch; }
.contact-info {
  background: linear-gradient(150deg, var(--c-navy) 0%, var(--c-navy-2) 100%);
  color: #fff; border-radius: var(--r-xl); padding: clamp(30px, 3.4vw, 44px);
  box-shadow: var(--sh-2);
}
.contact-info h3 { color: #fff; font-size: clamp(20px, 1.8vw, 25px); margin-bottom: 26px; line-height: 1.5; }
.contact-info .ci-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.09); }
.contact-info .ci-item:last-child { border: 0; }
.contact-info .ci-item .ic {
  width: 44px; height: 44px; border-radius: 12px; background: rgba(255,184,28,.16);
  color: var(--c-gold); display: grid; place-items: center; font-size: 18px;
  font-weight: 800; flex-shrink: 0;
}
.contact-info .ci-item h5 { color: #fff; margin: 0 0 5px; font-size: 14.5px; font-weight: 600; }
.contact-info .ci-item p { margin: 0; color: #c3d0e2; font-size: var(--fs-sm); line-height: 1.75; }
.contact-info .ci-item a { color: #fff; font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; }
.contact-info .ci-item a:hover { color: var(--c-gold); }
.contact-map {
  border-radius: var(--r-xl); overflow: hidden; min-height: 420px;
  box-shadow: var(--sh-1); background: var(--c-line-2);
  background-size: cover; background-position: center;
}
.contact-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ========== 门店 ========== */
.store-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.store-card {
  background: #fff; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-1); border: 1px solid var(--c-line-2);
  transition: transform var(--tr), box-shadow var(--tr);
}
.store-card:hover { transform: translateY(-6px); box-shadow: var(--sh-2); border-color: transparent; }
.store-card .photo { aspect-ratio: 3/2; background-size: cover; background-position: center; background-color: var(--c-line-2); }
.store-card .body { padding: 24px; }
.store-card h4 { font-size: 18.5px; margin-bottom: 8px; line-height: 1.5; }
.store-card .addr { color: var(--c-muted); font-size: var(--fs-sm); margin-bottom: 16px; min-height: 52px; line-height: 1.75; }
.store-card .phone { display: flex; justify-content: space-between; align-items: center; padding-top: 15px; border-top: 1px dashed var(--c-line); }
.store-card .phone span { color: var(--c-muted); font-size: var(--fs-xs); }
.store-card .phone a { color: var(--c-red); font-weight: 800; font-size: 17px; font-variant-numeric: tabular-nums; }

/* ========== 学车流程 ========== */
.flow { background: var(--c-bg); }
.flow-steps { display: grid; grid-template-columns: repeat(6,1fr); gap: 20px; }
.flow-step { text-align: center; position: relative; padding-top: 8px; }
.flow-step::before {
  content: ""; position: absolute; top: 36px; right: -60%; width: 100%; height: 2px;
  background: repeating-linear-gradient(90deg, #D6DEEA 0 7px, transparent 7px 14px); z-index: 0;
}
.flow-step:last-child::before { display: none; }
.flow-step .num {
  position: relative; z-index: 2; width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 50%;
  background: linear-gradient(135deg, #E11D36 0%, var(--c-red) 45%, var(--c-red-dark) 100%);
  color: #fff; font-weight: 800; font-size: 22px; display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(200,16,46,.28);
}
.flow-step h5 { font-size: 16px; margin-bottom: 6px; }
.flow-step p { color: var(--c-muted); font-size: var(--fs-xs); margin: 0; line-height: 1.7; }

.flow-conditions { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 50px; }
.condition-card { background: #fff; padding: clamp(24px, 2.6vw, 34px); border-radius: var(--r-lg); border: 1px solid var(--c-line-2); box-shadow: var(--sh-1); }
.condition-card h4 { font-size: 19.5px; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.condition-card h4::before { content: ""; width: 5px; height: 22px; background: var(--c-red); border-radius: 4px; }
.condition-card ul li { padding: 12px 0 12px 26px; position: relative; border-bottom: 1px dashed var(--c-line); font-size: var(--fs-sm); line-height: 1.8; color: var(--c-text-2); }
.condition-card ul li:last-child { border: 0; }
.condition-card ul li::before { content: "✓"; position: absolute; left: 0; top: 12px; color: var(--c-red); font-weight: 800; }
.condition-card ul li strong { color: var(--c-navy); }

/* ========== 公告条 ========== */
.notice { background: var(--c-red-soft); padding: 15px 0; }
.notice .container { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.notice .badge { background: var(--c-red); color: #fff; padding: 5px 12px; border-radius: 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; flex-shrink: 0; }
.notice .text { color: var(--c-navy); font-size: var(--fs-sm); line-height: 1.7; }
.notice .text b { color: var(--c-red); }
.notice .btn { padding: 9px 22px; font-size: 14px; margin-left: auto; }

/* ========== 页脚 ========== */
.footer { background: linear-gradient(180deg, #0B2138 0%, #0F2A47 100%); color: #b9c7d9; padding: clamp(52px, 5vw, 72px) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.footer h5 { color: #fff; font-size: 15.5px; margin-bottom: 20px; position: relative; padding-left: 14px; letter-spacing: .06em; }
.footer h5::before { content: ""; position: absolute; left: 0; top: 5px; width: 4px; height: 15px; background: var(--c-gold); border-radius: 3px; }
.footer ul li { padding: 7px 0; font-size: var(--fs-sm); }
.footer ul li a { color: #b9c7d9; }
.footer ul li a:hover { color: var(--c-gold); }
.footer .qr { display: flex; gap: 18px; margin-top: 18px; }
.footer .qr div { text-align: center; }
.footer .qr img { width: 96px; height: 96px; border-radius: var(--r-sm); background: #fff; padding: 5px; }
.footer .qr p { margin: 8px 0 0; font-size: 12px; color: #9fb0c6; }
.footer .brand strong { color: #fff; font-size: 23px; display: block; margin-bottom: 10px; letter-spacing: 2px; }
.footer .brand p { font-size: var(--fs-xs); line-height: 1.9; color: #b9c7d9; }
.footer .hotline { margin-top: 20px; }
.footer .hotline small { color: #8fa2ba; font-size: 12px; display: block; letter-spacing: .1em; }
.footer .hotline strong { color: var(--c-gold); font-size: 25px; font-weight: 800; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.copyright {
  margin-top: 46px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.08);
  font-size: 12.5px; color: #8fa2ba; text-align: center; line-height: 1.9;
}
.copyright a { color: #8fa2ba; }
.copyright a:hover { color: var(--c-gold); }

/* ========== 移动端底部条 ========== */
.mob-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: rgba(255,255,255,.97); backdrop-filter: blur(10px);
  box-shadow: 0 -6px 24px rgba(15,42,71,.1);
}
.mob-bar a { flex: 1; padding: 9px 0; text-align: center; font-size: 11.5px; color: var(--c-navy); }
.mob-bar a.call { background: var(--c-red); color: #fff; font-size: 14px; font-weight: 700; }
.mob-bar a i { display: block; font-size: 18px; font-style: normal; font-weight: 800; line-height: 1.4; }

/* ========== 面包屑 ========== */
.breadcrumb { background: var(--c-bg); padding: 15px 0; font-size: var(--fs-xs); color: var(--c-muted); border-bottom: 1px solid var(--c-line-2); }
.breadcrumb a { color: var(--c-muted); }
.breadcrumb a:hover { color: var(--c-red); }
.breadcrumb span { margin: 0 8px; color: #c3ccd9; }

/* ========== GEO / AI 友好增强 ========== */
/* 数据统计口径（提升数据可验证性，AI 引用偏好） */
.data-source {
  display: block; font-size: 12px; line-height: 1.6; margin-top: 2px;
  color: #8fa2ba; font-weight: 400; letter-spacing: 0;
}
.stats .data-source { color: #8fa2ba; }

/* 页面摘要块（TL;DR，便于 AI 快速提取核心结论） */
.page-summary {
  background: var(--c-bg); border-left: 4px solid var(--c-red);
  padding: 15px 0; margin-bottom: 0;
}
.page-summary .container {
  display: flex; align-items: flex-start; gap: 13px;
  font-size: var(--fs-sm); color: var(--c-text-2); line-height: 1.85;
}
.page-summary .ps-label {
  flex: none; display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 11px; margin-top: 2px;
  background: var(--c-red); color: #fff;
  font-size: 12px; font-weight: 600; letter-spacing: .05em;
  border-radius: 999px; white-space: nowrap;
}
.page-summary .ps-label svg { flex: none; }
.page-summary .ps-text { margin: 0; }
.page-summary strong { color: var(--c-red); font-weight: 700; }
main > .page-summary:first-child { margin-top: -1px; }

/* 最后更新时间 */
.page-updated { text-align: center; font-size: 12.5px; color: #8fa2ba; padding: 16px 0 0; }

/* ========== 滚动动画 ========== */
.anim { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.anim.in { opacity: 1; transform: none; }

/* ========== 响应式 ========== */
@media (max-width: 1200px) {
  .nav > li > a { padding: 10px 12px; }
  .header-phone { font-size: 17px; }
  .header-cta { gap: 10px; }
  .header-cta .btn { padding: 10px 20px; font-size: 14px; }
  .logo .text strong { font-size: 18px; letter-spacing: 1.5px; }
  .logo .text span { font-size: 10px; letter-spacing: 1.6px; }
}
@media (max-width: 1100px) {
  .header-phone { display: none; }
  }
@media (max-width: 960px) {
  .nav > li > a { padding: 10px 10px; font-size: 14px; }
  .nav > li.has-sub > .nav-more { padding: 10px 10px; font-size: 14px; }
  .header-cta .btn { padding: 9px 16px; font-size: 13px; }
}
@media (max-width: 1024px) {
  .stats-grid, .coach-grid, .ai-grid, .review-grid, .tips-grid, .store-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .course-card.active { grid-template-columns: 1fr; }
  .course-img { min-height: 300px; }
  .flow-steps { grid-template-columns: repeat(3,1fr); row-gap: 36px; }
  .flow-step::before { display: none; }
  .signup .container, .contact-grid, .flow-conditions { grid-template-columns: 1fr; gap: 36px; }
  .contact-map { min-height: 340px; }
  .contact-map iframe { min-height: 340px; }
  .compare-row { grid-template-columns: 1fr 1.3fr 1.3fr; }
  .compare-cell { padding: 18px 22px; }
  }
/* ≤860：切换为汉堡抽屉，下拉项在抽屉内内联展开 */
@media (max-width: 860px) {
  .nav { gap: 0; }
  .nav > li.has-sub:hover > .sub { display: none; }
  .nav > li.has-sub.sub-open > .sub { display: block; }
  .nav .sub {
    position: static; transform: none; margin: 4px 0 8px;
    box-shadow: none; background: var(--c-bg); border: 0; padding: 4px 8px; min-width: 0;
  }
  .nav .sub::before { display: none; }
  .nav .sub li a { padding: 10px 14px; font-size: 14.5px; }
  .nav > li.sub-open > a .caret { transform: rotate(180deg); }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    flex-direction: column; padding: 10px 16px 16px; box-shadow: var(--sh-2);
    max-height: 78vh; overflow-y: auto;
  }
  .nav.open { display: flex; }
  .nav > li { width: 100%; }
  .nav > li > a { display: block; padding: 13px 14px; font-size: 15.5px; border-radius: var(--r-sm); }
  .nav > li > a::after { display: none; }
  .nav > li.has-sub > .nav-more {
    display: flex; width: 100%; justify-content: space-between; align-items: center;
    padding: 13px 14px; font-size: 15.5px;
  }
  .nav > li.has-sub > .nav-more::after { display: none; }
  .nav-toggle { display: grid; place-items: center; }
}
@media (max-width: 720px) {
  section { padding: 54px 0; }
  .container { padding: 0 20px; }
  .header { height: 66px; }
  .logo .mark { width: 42px; height: 42px; font-size: 16px; }
  .logo .text strong { font-size: 17px; letter-spacing: 1px; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .header-cta .btn { padding: 10px 20px; font-size: 14px; }
  .hero { height: auto; min-height: 470px; padding: 60px 0 78px; }
  .hero-inner { height: auto; padding: 40px 0; }
  .hero-tag { margin-bottom: 16px; font-size: 11.5px; padding: 6px 13px; }
  .hero p { margin-bottom: 26px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { flex: 1 1 auto; padding: 13px 20px; }
  .hero-dots { bottom: 24px; }
  .stats-grid, .coach-grid, .ai-grid, .review-grid, .tips-grid, .store-grid, .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { gap: 30px; }
  .compare-row { grid-template-columns: 1fr; }
  .compare-row.head { display: none; }
  .compare-cell { padding: 14px 20px; }
  .compare-cell::before { content: attr(data-label); display: block; font-weight: 700; color: var(--c-red); margin-bottom: 4px; font-size: 12.5px; letter-spacing: .06em; }
  .course-info { padding: 26px 22px; }
  .course-info .features { grid-template-columns: 1fr; gap: 9px; }
  .course-info .price { font-size: 29px; }
  .course-img { min-height: 230px; }
  .review-card p { min-height: 0; }
  .flow-steps { grid-template-columns: repeat(2,1fr); row-gap: 30px; }
  .section-head h2 { font-size: 24px; }
  .timeline { padding-left: 32px; }
  .tl-item::before { left: -32px; width: 16px; height: 16px; }
  .notice .btn { margin-left: 0; }
  .page-summary .container { flex-direction: column; gap: 9px; }
  .page-summary .ps-label { margin-top: 0; }
  .field-row { grid-template-columns: 1fr; }
  .mob-bar { display: flex; }
  body { padding-bottom: 58px; }
  .contact-map { min-height: 280px; }
  .contact-map iframe { min-height: 280px; }
  .store-card .addr { min-height: 0; }
}
@media (max-width: 400px) {
  .flow-steps { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}
