/* ===== 阳光驾校官网 - 统一样式 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --blue-dark: #0f2a52;
  --blue-main: #1a4a8a;
  --blue-light: #2f6fc4;
  --gold: #c9a24b;
  --gold-light: #e8c97a;
  --bg-gray: #f5f7fa;
  --text-dark: #2b2f36;
  --text-gray: #666f7d;
  --white: #ffffff;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== 顶部信息条 ===== */
.top-bar {
  background: var(--blue-dark);
  color: #cdd8e8;
  font-size: 13px;
  padding: 6px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px;
}
.top-bar .hotline { color: var(--gold-light); font-weight: bold; }

/* ===== 导航 ===== */
.header {
  background: var(--white);
  box-shadow: 0 2px 8px rgba(15, 42, 82, 0.12);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-dark);
  font-size: 24px; font-weight: 900;
}
.logo-text .cn { font-size: 22px; font-weight: 800; color: var(--blue-dark); letter-spacing: 2px; }
.logo-text .en { font-size: 11px; color: var(--text-gray); letter-spacing: 1px; }

.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a {
  padding: 8px 16px;
  font-size: 16px;
  color: var(--text-dark);
  border-radius: 4px;
  transition: all .2s;
}
.nav a:hover, .nav a.active {
  color: var(--white);
  background: var(--blue-main);
}

/* ===== 通用布局 ===== */
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

.page-banner {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-main));
  color: var(--white);
  text-align: center;
  padding: 56px 20px;
}
.page-banner h1 { font-size: 32px; letter-spacing: 4px; margin-bottom: 8px; }
.page-banner p { color: #b9cbe4; font-size: 15px; }
/* 阳光承诺四行两列对齐：整块居中，左右两列各成一线 */
.page-banner .promise-lines { display: inline-block; text-align: left; }
.promise-lines .pl-row { display: flex; line-height: 2; }
.promise-lines .pl-a { width: 5.4em; text-align: right; }
.promise-lines .pl-b { width: 8em; text-align: left; padding-left: 1.4em; }

.section { padding: 64px 0; }
.section.gray { background: var(--bg-gray); }
.section-title { text-align: center; margin-bottom: 44px; }
.section-title .en { color: var(--gold); font-size: 13px; letter-spacing: 3px; text-transform: uppercase; }
.section-title h2 { font-size: 28px; color: var(--blue-dark); margin: 6px 0 10px; }
.section-title .line {
  width: 56px; height: 3px;
  background: var(--gold);
  margin: 0 auto;
}

/* ===== 首页 Hero ===== */
.hero {
  background:
    linear-gradient(rgba(15, 42, 82, 0.72), rgba(15, 42, 82, 0.72)),
    url('../images/hero.jpg') center 65% / cover no-repeat;
  background-color: var(--blue-dark);
  color: var(--white);
  padding: 90px 20px 100px;
  text-align: center;
}
.hero h1 { font-size: 42px; letter-spacing: 6px; margin-bottom: 14px; }
.hero h1 span { color: var(--gold-light); }
.hero .slogan { font-size: 18px; color: #c9d8ec; margin-bottom: 8px; }
.hero .sub { font-size: 14px; color: #8fa8c8; margin-bottom: 36px; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 13px 36px;
  border-radius: 4px;
  font-size: 16px;
  transition: all .2s;
  cursor: pointer;
  border: none;
}
.btn-gold { background: var(--gold); color: var(--blue-dark); font-weight: bold; }
.btn-gold:hover { background: var(--gold-light); }
.btn-outline { border: 1px solid rgba(255,255,255,.5); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-blue { background: var(--blue-main); color: var(--white); }
.btn-blue:hover { background: var(--blue-light); }

/* ===== 数据条 ===== */
.stats {
  background: var(--white);
  margin-top: -46px;
  position: relative;
  z-index: 5;
  box-shadow: 0 8px 30px rgba(15, 42, 82, 0.1);
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
}
.stat-item {
  flex: 1 1 140px;
  text-align: center;
  padding: 30px 12px;
  border-right: 1px solid #e8ecf2;
}
.stat-item:last-child { border-right: none; }
.stat-item .num { font-size: 34px; font-weight: 800; color: var(--blue-main); }
.stat-item .num small { font-size: 16px; color: var(--gold); }
.stat-item .label { font-size: 14px; color: var(--text-gray); margin-top: 4px; }

/* ===== 卡片 ===== */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
/* 固定每行 3 列（6 个卡片时排成整齐的 3 + 3；小屏自适应降为 2 列 / 1 列） */
.cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
/* 固定每行 4 列（8 个卡片时排成整齐的 4 + 4；小屏自适应降为 2 列 / 1 列） */
.cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) {
  .cards.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .cards.cols-4 .card { padding: 26px 20px; }
}
@media (max-width: 620px) {
  .cards.cols-4 { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .cards.cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .cards.cols-3 { grid-template-columns: 1fr; }
}
.card {
  background: var(--white);
  border-radius: 8px;
  padding: 34px 26px;
  box-shadow: 0 3px 14px rgba(15, 42, 82, 0.08);
  border-top: 3px solid transparent;
  transition: all .25s;
}
.card:hover { transform: translateY(-4px); border-top-color: var(--gold); box-shadow: 0 10px 26px rgba(15,42,82,.14); }
.card .icon {
  width: 58px; height: 58px;
  border-radius: 10px;
  background: #eef4fc;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin-bottom: 18px;
}
.card h3 { font-size: 19px; color: var(--blue-dark); margin-bottom: 10px; }
.card p { font-size: 14px; color: var(--text-gray); }
.card .more { display: inline-block; margin-top: 14px; color: var(--blue-main); font-size: 14px; font-weight: bold; }
.card .more:hover { color: var(--gold); }

/* ===== 班型表 ===== */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; }
.plan {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 14px rgba(15,42,82,.08);
  transition: all .25s;
}
.plan:hover { transform: translateY(-5px); }
.plan .plan-head {
  background: var(--blue-main);
  color: var(--white);
  padding: 22px;
  text-align: center;
}
.plan.hot .plan-head { background: linear-gradient(135deg, var(--gold), #b8912f); color: var(--blue-dark); }
/* 理论培训：独立配色（青绿），与其他车型区分 */
.plan.theory .plan-head { background: linear-gradient(135deg, #1e7a5e, #145c48); }
.plan .plan-head h3 { font-size: 21px; }
.plan .plan-head .tag { font-size: 12px; opacity: .85; }
.plan .price { text-align: center; padding: 20px 0 6px; color: #d0402b; }
.plan .price .amount { font-size: 32px; font-weight: 800; }
.plan .price .unit { font-size: 13px; color: var(--text-gray); }
.plan ul { padding: 10px 26px 20px; }
.plan li {
  font-size: 14px;
  color: var(--text-gray);
  padding: 8px 0 8px 24px;
  border-bottom: 1px dashed #e8ecf2;
  position: relative;
}
.plan li::before { content: "✔"; position: absolute; left: 0; color: var(--gold); font-size: 13px; }

/* ===== 时间线 / 流程 ===== */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; }
.step {
  background: var(--white);
  border-radius: 8px;
  padding: 26px 16px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(15,42,82,.07);
  position: relative;
}
.step .no {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blue-main);
  color: var(--white);
  font-size: 20px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.step:nth-child(even) .no { background: var(--gold); color: var(--blue-dark); }
.step h3 { font-size: 16px; color: var(--blue-dark); margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--text-gray); }

/* ===== 两栏图文 ===== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
/* 《关于我们》驾校简介区：文字包图（图片浮动右侧，文字自然环绕） */
.intro-title { font-size: 26px; color: var(--blue-dark); margin-bottom: 16px; }
.intro-text { font-size: 15px; color: var(--text-gray); }
.intro-text p { margin-bottom: 12px; }
.intro-img {
  float: right;
  width: 38%;
  max-width: 380px;
  height: auto;
  margin: 6px 0 16px 28px;
  border-radius: 8px;
  shape-outside: margin-box;
  display: block;
}
@media (max-width: 860px) {
  .intro-img { float: none; width: 100%; max-width: 560px; margin: 0 auto 18px; display: block; }
}
.two-col h2 { font-size: 26px; color: var(--blue-dark); margin-bottom: 16px; }
.two-col p { font-size: 15px; color: var(--text-gray); margin-bottom: 12px; }
.two-col .img-ph img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; border-radius: 8px; display: block; }
.two-col .img-ph {
  background: linear-gradient(135deg, #dbe6f5, #c3d5ec);
  border-radius: 10px;
  min-height: 300px;
  display: flex; align-items: center; justify-content: center;
  color: #7e97b8; font-size: 15px;
  border: 2px dashed #a9c0dd;
}

/* ===== 列表型内容 ===== */
.feature-list li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #eef1f5;
  font-size: 15px;
  color: var(--text-gray);
}
.feature-list li::before { content: "●"; color: var(--gold); font-size: 12px; margin-top: 5px; }

/* ===== 表格 ===== */
.table-wrap { overflow-x: auto; }
table.data {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 14px;
}
table.data th {
  background: var(--blue-main);
  color: var(--white);
  padding: 13px 14px;
  text-align: left;
  white-space: nowrap;
}
table.data td { padding: 12px 14px; border-bottom: 1px solid #e8ecf2; color: var(--text-gray); }
table.data tr:nth-child(even) td { background: #f7f9fc; }
table.data tr:hover td { background: #eef4fc; }

/* ===== 新闻列表 ===== */
.news-list li {
  background: var(--white);
  border-radius: 8px;
  padding: 22px 26px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(15,42,82,.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  transition: all .2s;
}
.news-list li:hover { box-shadow: 0 6px 18px rgba(15,42,82,.12); transform: translateX(4px); }
.news-list .date {
  background: var(--bg-gray);
  border-radius: 6px;
  text-align: center;
  padding: 8px 14px;
  min-width: 74px;
}
.news-list .date .d { font-size: 22px; font-weight: 800; color: var(--blue-main); display: block; line-height: 1.1; }
.news-list .date .m { font-size: 12px; color: var(--text-gray); }
.news-list h3 { font-size: 17px; color: var(--blue-dark); margin-bottom: 4px; }
.news-list p { font-size: 13px; color: var(--text-gray); }
.news-loading { justify-content: center; color: var(--text-gray); font-size: 14px; }

/* 新闻列表（数据驱动版） */
.news-item { margin-bottom: 16px; }
.news-link {
  display: flex; align-items: center; gap: 20px;
  background: var(--white);
  border-radius: 8px;
  padding: 20px 26px;
  box-shadow: 0 2px 8px rgba(15,42,82,.06);
  transition: all .2s;
}
.news-link:hover { box-shadow: 0 6px 18px rgba(15,42,82,.12); transform: translateX(4px); }
.news-link:hover h3 { color: var(--blue-main); }
.news-link .news-text { flex: 1 1 auto; min-width: 0; }
.news-link .news-cover {
  flex: 0 0 auto; width: 132px; height: 88px;
  border-radius: 6px; overflow: hidden; background: var(--bg-gray);
}
.news-link .news-cover img { width: 100%; height: 100%; object-fit: cover; }
.news-link .news-more {
  flex: 0 0 auto; font-size: 13px; font-weight: 700;
  color: var(--gold); white-space: nowrap;
}
@media (max-width: 700px) {
  .news-link { flex-wrap: wrap; gap: 14px; padding: 18px 20px; }
  .news-link .news-cover { width: 100%; height: 170px; order: -1; }
  .news-link .news-more { width: 100%; }
}

/* ===== 新闻详情页 ===== */
.post {
  max-width: 860px; margin: 0 auto;
  background: var(--white);
  border-radius: 10px;
  padding: 44px 52px 40px;
  box-shadow: 0 3px 14px rgba(15,42,82,.07);
}
.post-head { padding-bottom: 20px; border-bottom: 2px solid var(--gold); margin-bottom: 26px; }
.post-head h1 { font-size: 27px; line-height: 1.5; color: var(--blue-dark); margin-bottom: 12px; }
.post-meta { font-size: 13px; color: var(--text-gray); }
.post-meta .pm-date { margin-right: 18px; }
.post-meta .pm-src { color: var(--gold); }
.post-cover { margin: 0 0 26px; border-radius: 8px; overflow: hidden; }
.post-cover img { width: 100%; display: block; }
.post-body p {
  font-size: 15.5px; color: var(--text-dark);
  line-height: 2.05; margin-bottom: 18px;
  text-align: justify;
}
.post-gallery { margin-top: 30px; padding-top: 26px; border-top: 1px solid #e8ecf2; }
.post-gallery .post-fig { margin: 0 0 22px; }
.post-gallery .post-fig img { width: 100%; border-radius: 8px; display: block; }
.post-gallery .post-fig figcaption {
  font-size: 13px; color: var(--text-gray);
  text-align: center; margin-top: 10px; line-height: 1.7;
}
.post-nav {
  max-width: 860px; margin: 26px auto 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.post-nav .pn-item {
  background: var(--white); border-radius: 8px;
  padding: 16px 20px; box-shadow: 0 2px 8px rgba(15,42,82,.06);
  transition: all .2s; display: block;
}
.post-nav .pn-item:hover { box-shadow: 0 6px 18px rgba(15,42,82,.12); }
.post-nav .pn-label { display: block; font-size: 12px; color: var(--gold); margin-bottom: 5px; letter-spacing: 1px; }
.post-nav .pn-title { font-size: 14px; color: var(--blue-dark); line-height: 1.6; }
.post-back { max-width: 860px; margin: 26px auto 0; text-align: center; }
.btn-line {
  display: inline-block; padding: 11px 30px;
  border: 1px solid var(--blue-main); border-radius: 4px;
  color: var(--blue-main); font-size: 14px; transition: all .2s;
}
.btn-line:hover { background: var(--blue-main); color: var(--white); }
@media (max-width: 760px) {
  .post { padding: 28px 22px 26px; }
  .post-head h1 { font-size: 21px; }
  .post-nav { grid-template-columns: 1fr; }
}

/* ===== 公告 ===== */
.notice {
  background: #fffaf0;
  border: 1px solid #f0dcae;
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  padding: 18px 22px;
  margin-bottom: 30px;
  font-size: 14px;
  color: #6b5a2c;
}

/* ===== 问答 ===== */
.faq-item {
  background: var(--white);
  border-radius: 8px;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(15,42,82,.06);
  overflow: hidden;
}
.faq-item .q {
  padding: 16px 22px;
  font-weight: bold;
  color: var(--blue-dark);
  font-size: 15px;
  cursor: pointer;
  display: flex;
  gap: 10px;
}
.faq-item .q::before { content: "问"; background: var(--blue-main); color: var(--white); border-radius: 4px; padding: 0 8px; font-size: 13px; flex-shrink: 0; }
.faq-item .a { padding: 0 22px 16px 60px; font-size: 14px; color: var(--text-gray); }
.faq-item .a::before { content: "答："; color: var(--gold); font-weight: bold; }

/* ===== 联系 ===== */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.contact-card {
  background: var(--white);
  border-radius: 10px;
  padding: 34px 26px;
  text-align: center;
  box-shadow: 0 3px 12px rgba(15,42,82,.08);
}
.contact-card .icon {
  width: 62px; height: 62px; margin: 0 auto 16px;
  border-radius: 50%;
  background: #eef4fc;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
}
.contact-card h3 { font-size: 17px; color: var(--blue-dark); margin-bottom: 8px; }
.contact-card p { font-size: 14px; color: var(--text-gray); }
.contact-card .big { font-size: 22px; font-weight: 800; color: #d0402b; }
/* 联系页：地址卡占满整行，内部两栏（驾校地址 / 训练场地址） */
@media (min-width: 861px) {
  .contact-grid.addr2 { grid-template-columns: repeat(2, 1fr); }
}
.contact-card.addr-wide { grid-column: 1 / -1; }
.addr-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 34px; margin-top: 12px; text-align: left; }
.addr-cols h4 { margin: 0 0 8px; font-size: 15px; color: var(--blue-dark); border-left: 3px solid var(--gold); padding-left: 8px; }
.addr-cols p { margin: 0 0 6px; line-height: 1.7; }
@media (max-width: 720px) { .addr-cols { grid-template-columns: 1fr; } }

/* 表单 */
.form-card {
  background: var(--white);
  border-radius: 10px;
  padding: 36px;
  box-shadow: 0 3px 14px rgba(15,42,82,.08);
  max-width: 720px;
  margin: 0 auto;
}
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 14px; font-weight: bold; color: var(--blue-dark); margin-bottom: 6px; }
.form-row label .req { color: #d0402b; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #d5dce6;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  background: #fbfcfe;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--blue-light);
  background: var(--white);
}
.form-note { font-size: 12px; color: var(--text-gray); margin-top: 10px; }

/* ===== 页面两侧悬浮按钮（咨询报名 / 投诉建议） ===== */
.side-float { position: fixed; top: 50%; transform: translateY(-50%); z-index: 900; display: flex; flex-direction: column; gap: 14px; }
.side-float.sf-left { left: 0; }
.side-float.sf-right { right: 0; }
.sf-btn {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; width: 66px; padding: 22px 0;
  writing-mode: vertical-rl; letter-spacing: 5px;
  font-size: 15.5px; font-weight: 700; color: #fff; text-decoration: none;
  border-radius: 0 14px 14px 0;
  box-shadow: 0 6px 18px rgba(15, 42, 82, .32), inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .2s, box-shadow .2s, filter .2s;
}
.sf-right .sf-btn { border-radius: 14px 0 0 14px; }
/* 顶部一条高光，让按钮更有立体感 */
.sf-btn::before {
  content: ""; position: absolute; left: 8px; right: 8px; top: 6px; height: 3px;
  border-radius: 3px; background: rgba(255, 255, 255, .45);
}
.sf-btn .sf-ico {
  writing-mode: horizontal-tb; font-size: 22px; letter-spacing: 0; line-height: 1;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .18));
}
.sf-btn:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(15, 42, 82, .42), inset 0 1px 0 rgba(255, 255, 255, .35); filter: brightness(1.06); }
.sf-btn.sf-ask {
  background: linear-gradient(160deg, #e6c37a 0%, var(--gold) 45%, #a8823a 100%);
  border-right: 1px solid rgba(255, 255, 255, .25);
}
.sf-btn.sf-complain {
  background: linear-gradient(160deg, #2c5aa8 0%, #1a3f7e 45%, var(--blue-dark) 100%);
  border-left: 1px solid rgba(255, 255, 255, .2);
}
@media (max-width: 760px) {
  .side-float { top: auto; bottom: 90px; transform: none; }
  .sf-btn { width: 52px; padding: 16px 0; font-size: 13.5px; letter-spacing: 4px; border-radius: 0 10px 10px 0 !important; }
  .sf-btn .sf-ico { font-size: 19px; }
}

/* ===== 在线投诉 / 建议留言（联系我们页） ===== */
.fb-tabs {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 18px; max-width: 860px; margin: 0 auto 26px;
}
.fb-tab {
  display: flex; align-items: center; gap: 14px;
  background: var(--white);
  border: 2px solid #e6ebf2;
  border-radius: 10px;
  padding: 18px 22px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: all .2s;
}
.fb-tab:hover { border-color: var(--gold-light); transform: translateY(-2px); }
.fb-tab.active { border-color: var(--gold); box-shadow: 0 6px 20px rgba(201,162,75,.18); }
.fb-tab .fb-ic {
  flex: 0 0 auto;
  width: 46px; height: 46px; border-radius: 50%;
  background: #eef4fc;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.fb-tab.active .fb-ic { background: #fdf7e6; }
.fb-tab .fb-tx { display: block; min-width: 0; }
.fb-tab .fb-tx strong { display: block; font-size: 16px; color: var(--blue-dark); margin-bottom: 3px; }
.fb-tab .fb-tx em { display: block; font-style: normal; font-size: 12.5px; color: var(--text-gray); line-height: 1.6; }
.fb-panel[hidden] { display: none; }

@media (max-width: 700px) {
  .fb-tabs { grid-template-columns: 1fr; gap: 12px; }
  .fb-tab { padding: 14px 16px; }
  .fb-tab .fb-tx strong { font-size: 15px; }
}

/* ===== CTA 横幅 ===== */
.cta {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-main));
  color: var(--white);
  text-align: center;
  padding: 56px 20px;
}
.cta h2 { font-size: 26px; margin-bottom: 10px; }
.cta p { color: #b9cbe4; margin-bottom: 26px; }
.cta .phone { font-size: 32px; font-weight: 800; color: var(--gold-light); margin: 0 8px; }

/* ===== 页脚 ===== */
.footer { background: #0b1f3d; color: #92a6c2; padding: 56px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 40px; padding-bottom: 36px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h3 { color: var(--white); font-size: 16px; margin-bottom: 16px; }
.footer li { padding: 4px 0; }
.footer li a:hover { color: var(--gold-light); }
.footer .brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer .brand .logo-mark { width: 38px; height: 38px; font-size: 19px; }
.footer .brand span { color: var(--white); font-size: 18px; font-weight: 800; }
.footer .hot { color: var(--gold-light); font-size: 22px; font-weight: 800; }
.copyright {
  border-top: 1px solid #1b3255;
  text-align: center;
  padding: 18px 0;
  font-size: 12.5px;
  color: #6a80a3;
}

/* ===== 面包屑 ===== */
.crumb { padding: 16px 0; font-size: 13px; color: var(--text-gray); background: var(--bg-gray); border-bottom: 1px solid #e8ecf2; }
.crumb a { color: var(--blue-main); }

/* ===== 响应式 ===== */
@media (max-width: 860px) {
  .header .container { flex-direction: column; gap: 10px; }
  .hero h1 { font-size: 30px; }
  .stats { margin-top: -30px; }
}

/* ===== LOGO 图片 ===== */
.logo-img { width: 46px; height: 46px; object-fit: contain; flex-shrink: 0; }
.footer .brand .logo-img { width: 38px; height: 38px; }
/* 页脚各校区电话：固定起点，三行"电话"上下对齐 */
.footer li.has-tel { display: flex; align-items: baseline; }
.footer li.has-tel .addr { flex: 0 0 auto; }
.footer li.has-tel .tel {
  flex: 0 0 auto;
  margin-left: 24px;
  color: var(--gold-light); font-weight: 700; letter-spacing: .5px;
  white-space: nowrap;
}
@media (max-width: 620px) {
  .footer li.has-tel { display: block; }
  .footer li.has-tel .tel { display: block; margin-left: 0; }
}

/* ===== 驾校环境展示 ===== */
.env-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
/* 固定每行 3 列（小屏自适应降为 2 列 / 1 列） */
.env-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) {
  .env-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .env-grid.cols-3 { grid-template-columns: 1fr; }
}
.env-item { background: var(--white); border-radius: 10px; overflow: hidden; box-shadow: 0 3px 14px rgba(15,42,82,.08); transition: all .25s; }
.env-item:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(15,42,82,.14); }
.env-ph {
  height: 170px;
  background: linear-gradient(135deg, #dbe6f5, #c3d5ec);
  border-bottom: 3px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  color: #7e97b8; font-size: 15px;
}
.env-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.env-item h3 { font-size: 17px; color: var(--blue-dark); padding: 14px 18px 0; }
.env-item p { font-size: 13.5px; color: var(--text-gray); padding: 6px 18px 16px; }

/* ===== 车型卡“点击报名”链接 ===== */
.plan .price .unit a.signup-link {
  color: var(--blue-dark);
  font-weight: 700;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
  transition: color .2s, border-color .2s;
}
.plan .price .unit a.signup-link:hover { color: #d0402b; border-color: #d0402b; }

/* ===== 页面内锚点跳转 ===== */
html { scroll-behavior: smooth; }
#message { scroll-margin-top: 90px; }

/* ===== 页脚 使命/愿景/价值观 ===== */
.footer .mission p { font-size: 13px; line-height: 1.9; color: #b9c4d6; margin-bottom: 8px; }
.footer .mission strong { color: var(--gold-light); }

/* ===== 车型分类详细表格 ===== */
.section-lead { font-size: 14.5px; color: var(--text-gray); margin: 0 0 18px; line-height: 1.8; }
.vehicle-cat {
  font-size: 20px;
  color: var(--blue-dark);
  margin: 30px 0 12px;
  padding-left: 14px;
  border-left: 4px solid var(--gold);
}
.vehicle-cat:first-of-type { margin-top: 8px; }
.v-cat-tip {
  margin: 8px 0 8px;
  font-size: 13.5px;
  color: var(--text-gray);
  padding-left: 14px;
}
.table-wrap .data tbody tr td strong { color: var(--blue-dark); }

/* ===== 报名条件详细卡片 ===== */
.req-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 24px; }
.req-card { background: var(--white); border-radius: 10px; box-shadow: 0 3px 14px rgba(15,42,82,.08); overflow: hidden; border: 1px solid #e8eef5; transition: all .25s; }
.req-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(15,42,82,.14); }
.req-head { background: linear-gradient(135deg, var(--blue-main), var(--blue-dark)); color: #fff; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; }
.req-head h3 { color: #fff; font-size: 18px; letter-spacing: 1px; }
.req-head .tag { background: var(--gold); color: var(--blue-dark); font-size: 12px; padding: 4px 10px; border-radius: 4px; font-weight: 700; }
.req-body { padding: 16px 22px 20px; }
.req-sub { font-size: 14px; color: var(--blue-dark); font-weight: 700; margin: 10px 0 8px; padding-left: 10px; border-left: 3px solid var(--gold); }
.req-body ul { padding-left: 20px; }
.req-body ul li { font-size: 13.5px; color: var(--text-gray); line-height: 1.85; padding: 3px 0; }
.req-body ul li strong { color: var(--blue-dark); }

/* ===== 各校区简介 ===== */
.campus { }
.campus-head {
  display: flex; align-items: center; gap: 18px;
  padding-bottom: 18px; margin-bottom: 22px;
  border-bottom: 2px solid var(--gold);
}
.campus-no {
  font-size: 40px; font-weight: 800; line-height: 1;
  color: var(--gold); letter-spacing: 1px;
  font-family: Georgia, serif;
}
.campus-title h2 { font-size: 27px; color: var(--blue-dark); margin: 0 0 4px; letter-spacing: 2px; }
.campus-en { font-size: 12px; color: var(--text-gray); letter-spacing: 2px; text-transform: uppercase; }
.campus-meta {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-bottom: 22px;
}
.campus-meta.cols-2 { grid-template-columns: repeat(2, 1fr); }
.campus-meta-item {
  background: var(--bg-gray);
  border-left: 3px solid var(--blue-main);
  border-radius: 6px;
  padding: 14px 18px;
}
.campus-meta-item .k { display: block; font-size: 12.5px; color: var(--text-gray); margin-bottom: 6px; letter-spacing: 1px; }
.campus-meta-item .v { display: block; font-size: 14.5px; color: var(--blue-dark); font-weight: 700; line-height: 1.6; }
.campus-meta-item .v-tel { color: #d0402b; font-size: 15px; margin-top: 4px; letter-spacing: .5px; }
.campus-desc {
  font-size: 15px; color: var(--text-gray); line-height: 2;
  margin: 0 0 30px; text-align: justify;
}
.campus-sub {
  display: flex; align-items: baseline; gap: 12px;
  margin-bottom: 20px;
}
.campus-sub .campus-sub-en { font-size: 12px; color: var(--gold); letter-spacing: 3px; text-transform: uppercase; }
.campus-sub h3 {
  font-size: 20px; color: var(--blue-dark); margin: 0;
  padding-left: 12px; border-left: 4px solid var(--gold); line-height: 1.2;
}
@media (max-width: 860px) {
  .campus-meta { grid-template-columns: 1fr; }
  .campus-no { font-size: 32px; }
  .campus-title h2 { font-size: 23px; }
}

/* ===== 校区训练场：全部横向并排 ===== */
/* 2 个相册：各占一半，横向排列 */
.env-gallery-grid.campus-2 {
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
/* 3 个相册：三等分横向排列（总校 3 个训练场一行看完） */
.env-gallery-grid.campus-3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.env-gallery-grid.campus-3 .env-gallery .env-main { height: 190px; }
.env-gallery-grid.campus-3 .env-gallery h3 { font-size: 16.5px; padding: 12px 16px 4px; }
.env-gallery-grid.campus-3 .env-gallery .env-addr { font-size: 12.5px; padding: 6px 10px; margin: 2px 16px 0; }

@media (max-width: 960px) {
  .env-gallery-grid.campus-3 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .env-gallery-grid.campus-3 .env-gallery .env-main { height: 200px; }
}
@media (max-width: 760px) {
  .env-gallery-grid.campus-2 { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 620px) {
  .env-gallery-grid.campus-3 { grid-template-columns: 1fr; gap: 20px; }
}

/* ===== 董事长箴言 ===== */
.chairman {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 34px;
  align-items: start;
  max-width: 1020px;
  margin: 0 auto 48px;
}
.chairman-photo {
  background: var(--white);
  border-radius: 10px;
  padding: 14px 14px 18px;
  box-shadow: 0 3px 14px rgba(15,42,82,.10);
  text-align: center;
}
.chairman-photo img { width: 100%; border-radius: 6px; display: block; }
.chairman-photo .name { font-size: 21px; font-weight: 800; color: var(--blue-dark); margin-top: 14px; letter-spacing: 2px; }
.chairman-photo .role { font-size: 12.5px; color: var(--gold); letter-spacing: 3px; margin-top: 5px; }
.chairman-body {
  background: var(--white);
  border-radius: 10px;
  padding: 30px 36px 26px;
  box-shadow: 0 3px 14px rgba(15,42,82,.08);
}
.chairman-body .head {
  display: flex; align-items: baseline; gap: 10px;
  margin-bottom: 18px; padding-bottom: 14px;
  border-bottom: 2px solid var(--gold);
}
.chairman-body .head .mark {
  font-family: Georgia, serif;
  font-size: 34px; line-height: .9;
  color: var(--gold); opacity: .55;
}
.chairman-body .head h3 { font-size: 21px; color: var(--blue-dark); margin: 0; letter-spacing: 1px; }
.chairman-body .head .en {
  margin-left: auto;
  font-size: 11.5px; color: var(--text-gray);
  letter-spacing: 2px; text-transform: uppercase;
}
.chairman-body p {
  font-size: 14.5px; color: var(--text-gray);
  line-height: 2.05; margin-bottom: 13px;
  text-align: justify;
}
.chairman-body p strong { color: var(--blue-dark); }
.chairman-body .sign {
  display: flex; justify-content: flex-end; align-items: center;
  margin: 10px 0 0;
}
.chairman-body .sign img {
  height: 64px;
  mix-blend-mode: multiply; /* 白底签名融入白卡 */
}
@media (max-width: 900px) {
  .chairman { grid-template-columns: 1fr; gap: 24px; }
  .chairman-photo { max-width: 300px; margin: 0 auto; }
  .chairman-body { padding: 24px 22px 20px; }
}

/* ===== 企业文化简介（企业文化页·使命愿景与十怕十诺之间） ===== */
.culture-lead {
  display: flex; align-items: flex-start; gap: 10px;
  max-width: 900px; margin: 0 auto 30px;
  background: #fdf7e6;
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: 18px 24px;
}
.culture-lead .mark {
  flex: 0 0 auto;
  font-family: Georgia, serif;
  font-size: 38px; line-height: .9;
  color: var(--gold); opacity: .55;
}
.culture-lead p { margin: 0; font-size: 15.5px; color: #6b5a2c; line-height: 1.95; }
.culture-lead p strong { color: var(--blue-dark); }

.culture-pillar {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px; margin-bottom: 30px;
}
.culture-pillar-item {
  background: var(--white);
  border-radius: 8px;
  border-top: 3px solid var(--gold);
  padding: 26px 26px 22px;
  box-shadow: 0 3px 14px rgba(15,42,82,.08);
  display: flex; align-items: center; gap: 18px;
}
.culture-pillar-item .p-icon {
  flex: 0 0 auto;
  width: 54px; height: 54px; border-radius: 50%;
  background: #eef4fc;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
}
.culture-pillar-item .p-text h3 { font-size: 18px; color: var(--blue-dark); margin: 0 0 6px; }
.culture-pillar-item .p-text p { font-size: 14px; color: var(--text-gray); margin: 0; line-height: 1.85; }

.culture-body { max-width: 900px; margin: 0 auto; }
.culture-body p {
  font-size: 15px; color: var(--text-gray);
  margin-bottom: 15px; line-height: 2; text-align: justify;
}
.culture-body p strong { color: var(--blue-dark); }

.culture-actions {
  max-width: 900px; margin: 4px auto 0;
  padding: 22px 26px;
  background: var(--bg-gray);
  border-radius: 8px;
}
.culture-actions .a-head {
  font-size: 14px; font-weight: 700; color: var(--blue-dark);
  margin-bottom: 16px; padding-left: 10px;
  border-left: 3px solid var(--gold);
}
.culture-actions ul {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 12px 26px;
}
.culture-actions li {
  position: relative;
  font-size: 14px; color: var(--text-gray); line-height: 1.8;
  padding-left: 20px;
}
.culture-actions li::before {
  content: "✔"; position: absolute; left: 0; top: 0;
  color: var(--gold); font-size: 13px;
}
.culture-quote {
  max-width: 900px; margin: 30px auto 0;
  text-align: center;
  padding: 26px 30px;
  border-top: 1px solid #e8ecf2;
  border-bottom: 1px solid #e8ecf2;
}
.culture-quote .q-main {
  font-size: 20px; font-weight: 700; letter-spacing: 2px;
  color: var(--blue-dark); line-height: 1.9; margin: 0 0 8px;
}
.culture-quote .q-sub { font-size: 14px; color: var(--text-gray); letter-spacing: 1px; margin: 0; }

@media (max-width: 960px) {
  .culture-pillar { grid-template-columns: 1fr; gap: 16px; }
  .culture-actions ul { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .culture-lead { padding: 16px 18px; }
  .culture-quote .q-main { font-size: 17px; letter-spacing: 1px; }
}

/* ===== 训练场地 - 多图相册 ===== */
.env-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 26px;
}
.env-gallery-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) {
  .env-gallery-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .env-gallery-grid.cols-3 { grid-template-columns: 1fr; }
}
.env-gallery {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 14px rgba(15,42,82,.08);
  border: 1px solid #e8eef5;
  transition: box-shadow .25s, transform .25s;
  display: flex; flex-direction: column;
}
.env-gallery:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(15,42,82,.14); }
.env-gallery .env-main {
  position: relative;
  height: 220px;
  background: #c3d5ec;
  overflow: hidden;
  cursor: zoom-in;
}
.env-gallery .env-main img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: opacity .25s;
}
.env-gallery .env-main.loading img { opacity: .4; }
.env-gallery .env-arrow {
  position: absolute; top: 50%;
  transform: translateY(-50%);
  width: 38px; height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(15,42,82,.55);
  color: #fff;
  font-size: 26px;
  line-height: 38px;
  cursor: pointer;
  display: none;
  transition: background .2s;
}
.env-gallery .env-arrow:hover { background: rgba(15,42,82,.85); }
.env-gallery .env-arrow.dir-prev { left: 10px; }
.env-gallery .env-arrow.dir-next { right: 10px; }
.env-gallery.multi .env-arrow { display: block; }
.env-gallery .env-count {
  position: absolute; right: 10px; bottom: 10px;
  background: rgba(15,42,82,.7); color: #fff;
  font-size: 12px; padding: 3px 8px; border-radius: 4px;
  letter-spacing: 1px;
}
.env-gallery .env-thumbs {
  display: none; gap: 6px;
  padding: 8px 12px; overflow-x: auto;
  background: #f4f7fb;
  border-top: 1px solid #e8eef5;
}
.env-gallery.multi .env-thumbs { display: flex; }
.env-gallery .env-thumbs::-webkit-scrollbar { height: 4px; }
.env-gallery .env-thumbs::-webkit-scrollbar-thumb { background: #c3d5ec; border-radius: 2px; }
.env-gallery .env-thumbs button {
  flex: 0 0 auto;
  width: 54px; height: 38px;
  border: 2px solid transparent;
  border-radius: 4px;
  background-size: cover; background-position: center;
  cursor: pointer;
  padding: 0;
  transition: border-color .15s, transform .15s;
}
.env-gallery .env-thumbs button:hover { transform: scale(1.05); }
.env-gallery .env-thumbs button.active { border-color: var(--gold); }
.env-gallery .env-empty {
  font-size: 12.5px;
  color: #b94e3b;
  background: #fff3f0;
  border-top: 1px dashed #f3c2b9;
  padding: 6px 12px;
  text-align: center;
}
.env-gallery h3 {
  font-size: 18px; color: var(--blue-dark);
  padding: 14px 18px 4px;
  margin: 0;
}
.env-gallery .env-desc {
  font-size: 13.5px; color: var(--text-gray);
  padding: 4px 18px 16px;
  line-height: 1.7;
  margin: 0;
}
.env-gallery .env-desc:empty { display: none; }
.env-gallery .env-addr {
  font-size: 13px; color: #8a6d1f;
  background: #fdf7e6;
  border-left: 3px solid var(--gold);
  margin: 2px 18px 0;
  padding: 7px 12px;
  line-height: 1.6;
  border-radius: 0 4px 4px 0;
}

/* ===== 董事长箴言 · 阳光哲学手册书本卡片 ===== */
.chairman .book-card {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 13px 16px;
  background: linear-gradient(135deg, #12275c 0%, #1a3f7e 70%, #27549e 100%);
  border-radius: 8px;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 4px 14px rgba(18, 39, 92, .35), inset 0 1px 0 rgba(255, 255, 255, .12);
  transition: transform .25s, box-shadow .25s;
}
.chairman .book-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(18, 39, 92, .45), inset 0 1px 0 rgba(255, 255, 255, .12);
}
.chairman .book-icon {
  position: relative;
  width: 36px;
  height: 46px;
  flex-shrink: 0;
  background: linear-gradient(150deg, #e6c37a 0%, #c9a24b 55%, #a8823a 100%);
  border-radius: 3px 6px 6px 3px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25), 2px 3px 6px rgba(0, 0, 0, .3);
}
.chairman .book-icon::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, .45);
}
.chairman .book-icon::after {
  content: "";
  position: absolute;
  left: -4px;
  top: 3px;
  bottom: 3px;
  width: 5px;
  background: linear-gradient(180deg, #a8823a, #7c5f26);
  border-radius: 3px 0 0 3px;
}
.chairman .book-txt { display: flex; flex-direction: column; line-height: 1.5; }
.chairman .book-txt b { font-size: 15.5px; letter-spacing: 2px; }
.chairman .book-txt i {
  font-style: normal;
  font-size: 12px;
  color: #ffe9b8;
  letter-spacing: 1px;
  margin-top: 2px;
}
@media (max-width: 760px) {
  .chairman .book-card { padding: 11px 13px; }
  .chairman .book-txt b { font-size: 14px; }
}
