/* ===== 硕成专升本 全站样式 ===== */
:root {
  --red: #C8102E;
  --red-dark: #A00D24;
  --gold: #F2B441;
  --gold-soft: #FBE4B8;
  --ink: #2B2B2B;
  --ink-soft: #555;
  --bg: #FFFFFF;
  --bg-soft: #F7F5F2;
  --line: #ECECEC;
  --radius: 14px;
  --shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}

img { max-width: 100%; display: block; }

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== 顶部导航 ===== */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 16px;
}
.brand img { height: 44px; width: auto; }
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; stroke: var(--ink); }
.site-nav { display: none; }
.site-nav ul { list-style: none; display: flex; gap: 6px; }
.site-nav a {
  display: block;
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 500;
}
.site-nav a:hover { background: var(--bg-soft); text-decoration: none; }
.site-nav a.active { color: var(--red); background: #FDECEF; }
.header-phone {
  display: none;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-weight: 700;
  font-size: 17px;
}
.header-phone svg { width: 18px; height: 18px; stroke: var(--red); }

.site-nav.open { display: block; border-top: 1px solid var(--line); padding: 10px 0; }
.site-nav.open ul { flex-direction: column; gap: 0; }
.site-nav.open a { padding: 12px 4px; border-radius: 0; }

@media (min-width: 860px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; }
  .header-phone { display: inline-flex; }
}

/* ===== 通用区块 ===== */
section { padding: 56px 0; }
section.alt { background: var(--bg-soft); }
.section-head { text-align: center; margin-bottom: 36px; }
.section-head h2 {
  font-size: 28px;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}
.section-head h2::after {
  content: "";
  display: block;
  width: 48px; height: 3px;
  background: var(--gold);
  margin: 12px auto 0;
  border-radius: 2px;
}
.section-head p { color: var(--ink-soft); max-width: 640px; margin: 0 auto; }

.lead { font-size: 17px; color: var(--ink-soft); }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, #C8102E 0%, #A00D24 100%);
  color: #fff;
  padding: 72px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(242,180,65,0.25), transparent 70%);
  border-radius: 50%;
}
.hero h1 {
  font-size: 38px;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: 1px;
}
.hero .sub {
  font-size: 17px;
  opacity: 0.92;
  max-width: 560px;
  margin-bottom: 28px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: #4a2f00; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-red { background: var(--red); color: #fff; }

@media (min-width: 768px) {
  .hero h1 { font-size: 48px; }
}

/* ===== 数据条 ===== */
.stats-bar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: center;
}
.stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--red);
  line-height: 1.1;
}
.stat-label { font-size: 13px; color: var(--ink-soft); margin-top: 4px; }

/* ===== 卡片网格 ===== */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 720px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow);
}
.card h3 {
  font-size: 19px;
  margin-bottom: 8px;
  color: var(--ink);
}
.card .tag {
  display: inline-block;
  font-size: 12px;
  color: var(--red);
  background: #FDECEF;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.card p { color: var(--ink-soft); font-size: 15px; }
.card .more {
  display: inline-block;
  margin-top: 14px;
  font-weight: 600;
  font-size: 14px;
}

/* ===== 海报图 ===== */
.poster-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--line);
}
.poster-card img { width: 100%; height: auto; }
.poster-cap {
  padding: 14px 18px;
  font-size: 14px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}

/* ===== 十大督学 ===== */
.dushu-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 20px;
}
@media (min-width: 640px) {
  .dushu-list { grid-template-columns: repeat(2, 1fr); }
}
.dushu-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14.5px;
}
.dushu-item .dot {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: #8a5a00;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* ===== 表格 ===== */
.table-wrap { overflow-x: auto; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
table.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  table-layout: fixed;
}
table.compare th, table.compare td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  vertical-align: top;
}
table.compare thead th {
  background: #FDECEF;
  color: var(--red);
  font-weight: 700;
}
table.compare tbody th { width: 18%; color: var(--ink); background: #FAFAFA; }

/* ===== 联系页 ===== */
.contact-hero {
  background: linear-gradient(135deg, #C8102E, #8a0b20);
  color: #fff;
  text-align: center;
  padding: 48px 20px;
  border-radius: var(--radius);
  margin-bottom: 28px;
}
.contact-hero .big-phone {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 1px;
  display: inline-block;
  margin: 10px 0;
}
.contact-hero a { color: #fff; }
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 14px; margin-bottom: 6px; color: var(--ink); font-weight: 500; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
}
.form-row textarea { min-height: 90px; resize: vertical; }
.form-msg {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #FFF6E0;
  color: #8a5a00;
  font-size: 14px;
  display: none;
}
.form-msg.show { display: block; }

/* ===== 页脚 ===== */
.site-footer {
  background: #231f20;
  color: #cfc8c4;
  padding: 44px 0 24px;
  margin-top: 40px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: #cfc8c4; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid #3a3335;
  margin-top: 28px;
  padding-top: 18px;
  text-align: center;
  font-size: 12.5px;
  color: #8d8580;
}

/* ===== 页面标题条 ===== */
.page-title {
  background: linear-gradient(135deg, #C8102E, #8a0b20);
  color: #fff;
  padding: 44px 0;
  text-align: center;
}
.page-title h1 { font-size: 30px; margin-bottom: 8px; }
.page-title p { opacity: 0.9; font-size: 15px; }

/* ===== 双栏 ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
@media (min-width: 800px) {
  .two-col { grid-template-columns: 1fr 1fr; }
}

/* ===== 案例卡 ===== */
.case-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.case-card .step {
  display: inline-block;
  font-size: 12px;
  background: var(--gold-soft);
  color: #8a5a00;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.case-card h3 { font-size: 17px; margin-bottom: 8px; }
.case-card p { font-size: 14.5px; color: var(--ink-soft); }

.mascot-deco {
  width: 140px;
  margin: 0 auto;
  display: block;
}
