/* =========================================================
   承泽教育 · 专升本教育 官网样式
   品牌色：酒红 #3f0817 → #5a0f22 → #881538，点缀灰 #6b7280
   ========================================================= */

:root {
  --indigo: #881538;
  --violet: #6b7280;
  --purple: #6b7280;
  --crimson: #A51C30;
  --grad: linear-gradient(135deg, #ffffff 0%, #f3f4f6 100%);
  --grad-soft: linear-gradient(135deg, rgba(17, 24, 39, .03), rgba(107, 114, 128, .07));

  --ink: #1E1E1E;          /* 中性深色主文字 */
  --text: #3f4753;         /* 正文 */
  --muted: #6b7280;        /* 弱化文字 */
  --line: #e5e7eb;         /* 分割线 */
  --bg: #ffffff;           /* 页面底色 */
  --card: #ffffff;
  --amber: #6b7280;
  --green: #10b981;
  --red: #ef4444;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(88, 15, 38, .08);
  --shadow-lg: 0 20px 50px rgba(88, 15, 38, .14);
  --header-h: 64px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: #D7E3EF; color: #1E1E1E; }

.container { width: min(1200px, 92%); margin: 0 auto; }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border: none; border-radius: 4px;
  font-size: 16px; font-weight: 600; line-height: 1.2;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: #FFFFFF; color: #1E1E1E; border: 1px solid #E5E7EB; box-shadow: 0 1px 2px rgba(15, 23, 42, .05); }
.btn-primary:hover { background: #F9FAFB; border-color: #CBD5E1; color: #1E1E1E; box-shadow: 0 4px 12px rgba(15, 23, 42, .08); }
.btn-ghost { background: #ffffff; color: var(--ink); border: 1px solid #E5E7EB; }
.btn-ghost:hover { background: #F9FAFB; border-color: #CBD5E1; color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); border: 1px solid #d1d5db; box-shadow: var(--shadow); }
.btn-sm { padding: 9px 20px; font-size: 14px; }
.btn-lg { padding: 16px 40px; font-size: 18px; }
.btn-block { width: 100%; }

/* ---------- 导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid #E5E7EB;
  transition: box-shadow .25s, border-color .25s;
  display: flex;
  flex-direction: column;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(23,18,25,.08); border-color: #E5E7EB; }

.site-header .nav-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); position: relative; width: 100%; max-width: none; margin: 0; padding: 0 28px; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand-wrap { display: flex; align-items: center; min-width: 0; }
.brand svg { width: 28px; height: 28px; }
.brand .brand-name { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 22px; font-weight: 400; line-height: 1; color: var(--ink); letter-spacing: .5px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.site-header .brand .brand-name { color: #1E1E1E; }
.site-header .brand .brand-name em { display: inline-block; vertical-align: middle; color: #1E1E1E; }
.site-header .brand .brand-name em { margin-left: 0; }
.site-header .brand .brand-name em::before { content: ""; display: inline-block; width: 1px; height: 12px; background: #D1D5DB; margin: 0 10px; vertical-align: -1px; }
.brand .brand-name em { font-style: normal; color: #C8A96A; font-size: 13px; font-weight: 400; margin-left: 6px; }

.main-nav { display: none; align-items: center; gap: 4px; }
.main-nav.nav-open {
  display: flex; flex-direction: column; align-items: stretch;
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 120;
  min-width: 220px; padding: 8px;
  background: #ffffff; border: 1px solid #E5E7EB;
  border-radius: 12px; box-shadow: 0 18px 44px rgba(23,18,25,.14);
}
.main-nav a.nav-link {
  padding: 10px 14px; border-radius: 8px; font-size: 14.5px; font-weight: 500;
  color: #334155; transition: color .2s, background .2s;
}
.main-nav a.nav-link:hover { color: #1E1E1E; background: #F1F5F9; }
.main-nav a.nav-link.active { color: #1E1E1E; font-weight: 700; background: #EFF4FA; }
.main-nav .nav-cta { margin-left: 12px; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: none;
  color: #1E1E1E; width: 40px; height: 40px; border-radius: 50%;
  cursor: pointer; transition: background .2s, transform .2s;
}
.nav-toggle:hover { background: #F1F5F9; }
.nav-toggle .nav-icon-close { display: none; }
.nav-toggle.open .nav-icon { display: none; }
.nav-toggle.open .nav-icon-close { display: block; }
}

/* ---------- 通用区块 ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--card); }
.section-tint { background: var(--grad-soft); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.kicker {
  display: inline-block; padding: 6px 18px; border-radius: 999px;
  background: rgba(107, 114, 128, .12); color: var(--violet);
  font-size: 14px; font-weight: 700; letter-spacing: 2px; margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(26px, 3.4vw, 38px); color: var(--ink);
  font-weight: 800; line-height: 1.3; margin-bottom: 14px;
}
.section-head h2 .grad-text {
  background: linear-gradient(120deg, #a3173f, #C8A96A); -webkit-background-clip: text;
  background-clip: text; color: transparent;
}
.section-head p { font-size: 16.5px; color: var(--muted); }

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

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--bg);
  color: var(--text); padding: 92px 0 0;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 120px;
  background: transparent;
  pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1.12fr .88fr; gap: 48px; align-items: center; }
.hero-copy { container-type: inline-size; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(17, 24, 39, .05); border: 1px solid rgba(17, 24, 39, .12);
  padding: 7px 18px; border-radius: 999px; font-size: 14px; backdrop-filter: blur(4px);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #7CFC9B; box-shadow: 0 0 10px #7cfc9b; }

.hero-title {
  font-size: clamp(20px, 6.6cqw, 44px); line-height: 1.25; font-weight: 900;
  margin: 22px 0 18px; letter-spacing: 1px; color: var(--ink);
}
.hero-title .grad-text {
  background: linear-gradient(120deg, #a3173f, #C8A96A);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: 17.5px; color: var(--text); max-width: 540px; }

.hero-cta { display: flex; gap: 16px; margin: 34px 0 18px; flex-wrap: wrap; }
.hero-note { font-size: 13.5px; color: var(--muted); }

.hero-countdown {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 26px;
  background: var(--card); border: 1px solid var(--line);
  padding: 12px 22px; border-radius: 16px; font-size: 14px; color: var(--text);
  backdrop-filter: blur(4px);
}
.countdown-box { display: flex; gap: 6px; }
.countdown-box .cd {
  min-width: 46px; text-align: center; background: rgba(17, 24, 39, .05);
  padding: 7px 6px; border-radius: 10px;
}
.countdown-box .cd b { display: block; font-size: 21px; line-height: 1.15; color: var(--ink); font-variant-numeric: tabular-nums; }
.countdown-box .cd span { font-size: 11.5px; color: var(--muted); }

.hero-stats {
  display: flex; gap: 34px; margin-top: 42px; padding-top: 26px;
  border-top: 1px solid var(--line); flex-wrap: wrap;
}
.hero-stats .stat b {
  display: block; font-size: 30px; font-weight: 800; color: var(--ink);
  font-variant-numeric: tabular-nums; line-height: 1.15;
}
.hero-stats .stat b i { font-style: normal; font-size: 17px; color: #6b7280; }
.hero-stats .stat span { font-size: 13px; color: var(--muted); }

.hero-art { position: relative; }
.hero-art .art-main { animation: floaty 5s ease-in-out infinite; }
.hero-art .float-chip {
  position: absolute; background: #fff; color: var(--ink); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 12px 16px; font-size: 13.5px; font-weight: 600;
  display: flex; align-items: center; gap: 9px; animation: floaty 6s ease-in-out infinite;
}
.hero-art .float-chip .chip-ic {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  font-size: 17px; flex: none;
}
.hero-art .chip-1 { top: 8%; left: -4%; animation-delay: .6s; }
.hero-art .chip-2 { bottom: 16%; right: -3%; animation-delay: 1.4s; }
.hero-art .chip-3 { bottom: -4%; left: 8%; animation-delay: 2s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- 特性卡片 ---------- */
.feature-card {
  background: var(--card); border-radius: var(--radius); padding: 30px 26px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(107, 114, 128, .35); }
.icon-box {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  font-size: 27px; margin-bottom: 18px; color: #fff; flex: none;
}
.ic-1 { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.ic-2 { background: linear-gradient(135deg, #8b5cf6, #a855f7); }
.ic-3 { background: linear-gradient(135deg, #06b6d4, #6366f1); }
.ic-4 { background: linear-gradient(135deg, #C8A96A, #ef4444); }
.ic-5 { background: linear-gradient(135deg, #10b981, #06b6d4); }
.ic-6 { background: linear-gradient(135deg, #ec4899, #a855f7); }
.ic-7 { background: linear-gradient(135deg, #f97316, #C8A96A); }
.ic-8 { background: linear-gradient(135deg, #3b82f6, #8b5cf6); }

.feature-card h3 { color: var(--ink); font-size: 18.5px; margin-bottom: 8px; }
.feature-card p { font-size: 14.5px; color: var(--muted); }

/* ---------- 课程卡片 ---------- */
.course-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  display: flex; flex-direction: column; position: relative;
  transition: transform .25s, box-shadow .25s;
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.course-card .course-top {
  padding: 28px 26px 22px; color: #fff; position: relative; overflow: hidden;
}
.course-card .course-top::after {
  content: ""; position: absolute; right: -46px; top: -46px; width: 130px; height: 130px;
  border-radius: 50%; background: rgba(255, 255, 255, .12);
}
.course-card .course-top.ct-1 { background: linear-gradient(135deg, #881538, #C8A96A); }
.course-card .course-top.ct-2 { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.course-card .course-top.ct-3 { background: linear-gradient(135deg, #C8A96A, #ef4444); }
.course-card .course-top.ct-4 { background: linear-gradient(135deg, #10b981, #06b6d4); }
.course-tag {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  background: rgba(255, 255, 255, .92); color: var(--violet);
  font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px;
}
.course-tag.hot { color: #fff; background: #6b7280; }
.course-card .course-top h3 { color: #fff; }
.course-card .course-top .course-price { color: #fff; }
.course-card h3 { font-size: 21px; font-weight: 800; }
.course-card .course-slogan { font-size: 13.5px; opacity: .85; margin-top: 4px; }
.course-price { margin-top: 14px; font-size: 14px; opacity: .9; }
.course-price b { font-size: 26px; font-weight: 800; }
.course-body { padding: 22px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.course-body ul { display: grid; gap: 10px; margin-bottom: 22px; flex: 1; }
.course-body li { font-size: 14.5px; display: flex; gap: 9px; align-items: flex-start; }
.course-body li::before {
  content: "✓"; flex: none; width: 20px; height: 20px; margin-top: 2px;
  border-radius: 50%; background: rgba(16, 185, 129, .14); color: var(--green);
  font-size: 12px; font-weight: 800; display: grid; place-items: center;
}

/* ---------- 师资卡片 ---------- */
.teacher-card {
  background: var(--card); border-radius: var(--radius); padding: 30px 26px;
  box-shadow: var(--shadow); border: 1px solid var(--line); text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.teacher-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.avatar {
  width: 86px; height: 86px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center; font-size: 34px; font-weight: 800; color: #fff;
  box-shadow: 0 0 0 5px rgba(17, 24, 39, .06);
}
.teacher-card h3 { color: var(--ink); font-size: 19px; }
.teacher-card .subject {
  display: inline-block; margin: 8px 0 10px; font-size: 13px; font-weight: 700;
  color: var(--violet); background: rgba(107, 114, 128, .1); padding: 3px 13px; border-radius: 999px;
}
.teacher-card p { font-size: 14px; color: var(--muted); }
.teacher-card .years { display: block; margin-top: 12px; font-size: 13px; color: var(--amber); font-weight: 700; }

/* ---------- 评价 / 喜报 ---------- */
.testimonial-card {
  background: var(--card); border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow); border: 1px solid var(--line); position: relative;
}
.testimonial-card .quote {
  position: absolute; top: 18px; right: 24px; font-size: 60px; line-height: 1;
  color: rgba(107, 114, 128, .15); font-family: Georgia, serif; font-weight: 900;
}
.testimonial-card .stars { color: var(--amber); font-size: 16px; letter-spacing: 2px; margin-bottom: 12px; }
.testimonial-card p { font-size: 15px; color: var(--text); }
.testimonial-card .t-meta { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.testimonial-card .t-meta .avatar { width: 46px; height: 46px; font-size: 18px; margin: 0; }
.testimonial-card .t-meta b { display: block; color: var(--ink); font-size: 15px; }
.testimonial-card .t-meta span { font-size: 13px; color: var(--muted); }

/* ---------- 流程 / 时间线 ---------- */
.step-card { text-align: center; position: relative; padding: 10px 6px 0; }
.step-num {
  width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--crimson); color: #fff; font-size: 24px; font-weight: 800;
  display: grid; place-items: center; box-shadow: 0 8px 22px rgba(165, 28, 48, .24);
  position: relative; z-index: 1;
}
.step-card h3 { color: var(--ink); font-size: 17.5px; margin-bottom: 6px; }
.step-card p { font-size: 14px; color: var(--muted); }

.timeline { position: relative; max-width: 860px; margin: 0 auto; }
.timeline::before {
  content: ""; position: absolute; left: 24px; top: 8px; bottom: 8px; width: 3px;
  background: linear-gradient(180deg, var(--indigo), var(--purple)); border-radius: 3px;
}
.tl-item { position: relative; padding: 0 0 34px 76px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: 13px; top: 7px; width: 25px; height: 25px;
  border-radius: 50%; background: #fff; border: 6px solid var(--violet);
  box-shadow: 0 0 0 4px rgba(107, 114, 128, .15);
}
.tl-item .year { font-size: 20px; font-weight: 800; color: var(--violet); }
.tl-item h3 { color: var(--ink); font-size: 17px; margin: 3px 0 5px; }
.tl-item p { font-size: 14.5px; color: var(--muted); max-width: 620px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 840px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  overflow: hidden; transition: border-color .2s;
}
.faq-item.open { border-color: rgba(107, 114, 128, .45); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: 20px 24px; font-size: 16.5px; font-weight: 700; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq-q .chev { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(107, 114, 128, .1); color: var(--violet); font-size: 15px; transition: transform .25s; }
.faq-item.open .chev { transform: rotate(45deg); background: var(--crimson); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 24px 22px; font-size: 15px; color: var(--muted); }

/* ---------- CTA 横幅 ---------- */
.cta-banner {
  position: relative; overflow: hidden; border-radius: 26px;
  background: var(--card); border: 1px solid var(--line);
  color: var(--ink); padding: 60px 56px; display: flex; align-items: center;
  justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-banner::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px;
  border-radius: 50%; background: rgba(255, 255, 255, .1);
}
.cta-banner::after {
  content: ""; position: absolute; left: 36%; bottom: -120px; width: 260px; height: 260px;
  border-radius: 50%; background: rgba(255, 255, 255, .07);
}
.cta-banner h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin-bottom: 8px; }
.cta-banner p { color: var(--muted); font-size: 15.5px; }
.cta-banner .btn { position: relative; z-index: 1; }

/* ---------- 内页 Page Hero ---------- */
.page-hero {
  position: relative; overflow: hidden; color: var(--ink); padding: 84px 0 76px;
  background: var(--bg);
}
.page-hero h1 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 900; letter-spacing: 1px; }
.page-hero p { margin-top: 12px; color: var(--text); font-size: 16.5px; max-width: 640px; }
.crumbs { display: flex; gap: 8px; font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
.crumbs a:hover { color: var(--indigo); }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.price-table { width: 100%; border-collapse: collapse; background: var(--card); min-width: 780px; }
.price-table th, .price-table td { padding: 16px 18px; text-align: center; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.price-table thead th { background: var(--ink); color: #ffffff; font-size: 15px; font-weight: 600; border-bottom: none; }
.price-table thead th:first-child { background: var(--ink); text-align: left; }
.price-table tbody th { text-align: left; color: var(--ink); font-weight: 700; background: transparent; white-space: nowrap; }
.price-table tbody td { color: var(--text); }
.price-table tbody tr:hover { background: #fafafa; }
.price-table tbody tr:last-child th, .price-table tbody tr:last-child td { border-bottom: none; }
.price-table .ok { color: var(--green); font-weight: 700; }
.price-table .no { color: var(--muted); }

/* ---------- 表单 ---------- */
.form-card {
  background: var(--card); border-radius: var(--radius); padding: 40px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field label em { color: var(--red); font-style: normal; }
.field input, .field select, .field textarea {
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 15px; font-size: 15px; font-family: inherit; color: var(--ink);
  background: #ffffff; outline: none; transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--crimson); box-shadow: 0 0 0 4px rgba(165, 28, 48, .12);
}
.field .err { font-size: 12.5px; color: var(--red); display: none; }
.field.invalid input, .field.invalid select { border-color: var(--red); }
.field.invalid .err { display: block; }
.form-tip { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- 联系方式 ---------- */
.contact-card {
  background: var(--card); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; gap: 18px;
  min-height: 176px; min-width: 0; align-items: center;
  transition: transform .25s, box-shadow .25s;
}
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.contact-card .icon-box { margin: 0; width: 54px; height: 54px; font-size: 24px; }
.contact-card h3 { color: var(--ink); font-size: 17px; margin-bottom: 4px; }
.contact-card p { font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.contact-card p b { display: block; color: var(--ink); font-size: 16px; }

/* ---------- 城市 / 标签 chip ---------- */
.chip {
  display: inline-flex; align-items: center; padding: 10px 22px;
  background: var(--card); border: 1.5px solid var(--line); border-radius: 999px;
  font-size: 15px; font-weight: 600; color: var(--ink);
  box-shadow: var(--shadow); transition: transform .2s, border-color .2s;
}
.chip:hover { transform: translateY(-3px); border-color: var(--violet); }

/* ---------- 荣誉卡片 ---------- */
.honor-card {
  background: var(--card); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow); border: 1px solid var(--line); text-align: center;
}
.honor-card .medal { font-size: 40px; margin-bottom: 10px; }
.honor-card h3 { color: var(--ink); font-size: 16.5px; margin-bottom: 6px; }
.honor-card p { font-size: 13.5px; color: var(--muted); }

/* ---------- 侧边浮动按钮 ---------- */
.float-bar {
  position: fixed; right: 22px; bottom: 90px; z-index: 90;
  display: flex; flex-direction: column; gap: 12px;
}
.float-btn {
  width: 52px; height: 52px; border-radius: 50%; border: none;
  background: var(--card); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  font-size: 22px; display: grid; place-items: center;
  transition: transform .2s, background .2s, color .2s;
}
.float-btn:hover { transform: translateY(-3px); background: var(--crimson); color: #fff; border-color: var(--crimson); }
.float-btn.top { display: none; }
.float-btn.top.show { display: grid; }

/* ---------- 表单弹窗 ---------- */
.lead-modal {
  position: fixed; inset: 0; z-index: 300; display: none;
  align-items: center; justify-content: center; padding: 20px;
}
.lead-modal.open { display: flex; }
.lead-backdrop {
  position: absolute; inset: 0; background: rgba(23, 18, 25, .58);
  backdrop-filter: blur(4px);
}
.lead-dialog {
  position: relative; width: min(560px, 100%);
  max-height: calc(100vh - 40px); overflow-y: auto;
  background: #fff; border-radius: 18px; padding: 36px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}
.lead-close {
  position: absolute; top: 14px; right: 14px; width: 38px; height: 38px;
  border: 1px solid var(--line); border-radius: 50%; background: #fff;
  color: var(--ink); font-size: 16px; display: grid; place-items: center;
  transition: background .2s, color .2s, border-color .2s;
}
.lead-close:hover { background: var(--crimson); color: #fff; border-color: var(--crimson); }
.lead-title { font-size: 26px; color: var(--ink); font-weight: 800; margin: 4px 0 8px; }
.lead-sub { font-size: 15px; color: var(--muted); margin-bottom: 22px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; top: 24px; transform: translate(-50%, -90px);
  background: var(--ink); color: #fff; padding: 14px 26px; border-radius: 8px;
  font-size: 15px; z-index: 200; box-shadow: var(--shadow-lg);
  transition: transform .35s cubic-bezier(.2, .9, .3, 1.2); display: flex; gap: 10px; align-items: center;
}
.toast.show { transform: translate(-50%, 0); }
.toast .t-ic { width: 24px; height: 24px; border-radius: 50%; background: var(--green); display: grid; place-items: center; font-size: 13px; flex: none; }

/* ---------- 页脚 ---------- */
.footer { background: #171219; color: #cbd5e1; margin-top: 48px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 44px;
  padding: 64px 0 44px;
}
.footer .brand .brand-name { color: #fff; }
.footer .brand-desc { margin-top: 16px; font-size: 14px; color: #94a3b8; max-width: 300px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer ul { display: grid; gap: 10px; }
.footer ul a { font-size: 14px; color: #94a3b8; transition: color .2s; }
.footer ul a:hover { color: #e5e7eb; }
.footer .contact-line { display: flex; gap: 10px; font-size: 14px; margin-bottom: 10px; align-items: flex-start; }
.footer .contact-line b { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .09); padding: 20px 0;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; text-align: center;
  font-size: 13px; color: #94a3b8;
}
.footer-bottom a:hover { color: #e5e7eb; }

/* ---------- 动效 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { max-width: 560px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 0; }
  .hero-cta .btn { flex: 1; }
  .hero-stats { gap: 24px; }
  .cta-banner { padding: 42px 30px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 28px 22px; }
  .lead-dialog { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .float-bar { right: 14px; bottom: 70px; }
  .tl-item { padding-left: 56px; }
}
