@charset "UTF-8";
/* ==========================================================================
   福州星火教育官网 · 样式表
   视觉规范对齐星火教育总部官网 https://www.xinghuo100.com
   主色 #6e529f / 浅紫 #9B7EC4 / 深紫 #5A3D8A / 页脚紫 #8B6FC0
   ========================================================================== */
/* 字体：使用系统本地字体栈，避免 Google Fonts 的跨域请求阻塞首屏渲染。
   --font-sans / --font-serif 已包含 Noto Sans SC / Noto Serif SC 优先项，
   本机安装时会沿用总部视觉，未安装时回退到苹方 / 微软雅黑 / 宋体。 */

:root {
  --primary-purple: #6e529f;
  --primary-purple-light: #9B7EC4;
  --primary-purple-dark: #5A3D8A;
  --footer-purple: #8B6FC0;
  --accent-green: #abc236;
  --accent-gold: #c4a882;
  --bg-white: #ffffff;
  --bg-light: #f8f6fb;
  --text-primary: #333333;
  --text-secondary: #666666;
  --text-muted: #999999;
  --border-color: #eeeeee;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 2px 14px rgba(90, 61, 138, .06);
  --shadow-md: 0 10px 34px rgba(90, 61, 138, .11);
  --shadow-lg: 0 18px 48px rgba(90, 61, 138, .16);
  --gradient-brand: linear-gradient(135deg, #8B6FC0 0%, #6e529f 100%);
  --gradient-brand-h: linear-gradient(90deg, #6e529f 0%, #a082c8 100%);
  --gradient-soft: linear-gradient(135deg, #f5f0fa 0%, #ede4f7 100%);
  --max-width: 1200px;
  --font-sans: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Helvetica, Arial, sans-serif;
  --font-serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg-white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4 { line-height: 1.35; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--primary-purple-light); outline-offset: 3px; }

.container { width: 100%; max-width: var(--max-width); min-width: 0; margin: 0 auto; padding: 0 24px; }

/* ---------------- 顶部信息条 ---------------- */
.topbar { background: var(--primary-purple-dark); color: rgba(255,255,255,.82); font-size: 13px; height: 36px; }
.topbar .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar strong { color: #fff; font-weight: 600; }
.topbar a { color: rgba(255,255,255,.82); }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar-right { display: flex; gap: 18px; align-items: center; }
.topbar-sep { width: 1px; height: 12px; background: rgba(255,255,255,.3); }

/* ---------------- 导航 ---------------- */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: box-shadow .3s ease;
}
.navbar.is-scrolled { box-shadow: 0 4px 20px rgba(90,61,138,.10); }
.nav-container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; height: 80px; display: flex; align-items: center; gap: 16px; }
.nav-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-brand img { height: 68px; width: auto; }
.brand-divider { width: 1px; height: 30px; background: #ddd; }
.brand-city { font-family: var(--font-serif); font-size: 19px; font-weight: 700; color: var(--primary-purple); letter-spacing: 2px; line-height: 1.1; }
.brand-city small { display: block; font-family: var(--font-sans); font-size: 10px; font-weight: 400; letter-spacing: 1.5px; color: var(--text-muted); }
.nav-menu { display: contents; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; list-style: none; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: block; padding: 10px 12px; font-size: 15px; font-weight: 500;
  color: var(--text-primary); border-radius: var(--radius-sm); position: relative;
  transition: color .2s ease;
}
.nav-links > li > a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 5px; height: 2px;
  background: var(--primary-purple); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--primary-purple); }
.nav-links > li > a:hover::after, .nav-links > li > a.active::after { transform: scaleX(1); }
/* 下拉子菜单（对齐总部 nav-dropdown，悬停展开） */
.dropdown-menu {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px);
  min-width: 168px; background: rgba(255,255,255,.97); backdrop-filter: blur(10px);
  border: 1px solid var(--border-color); border-radius: var(--radius-md);
  box-shadow: var(--shadow-md); padding: 8px 0; margin: 0; z-index: 1002;
  opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s;
}
.nav-links > li.has-sub:hover .dropdown-menu,
.nav-links > li.has-sub:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown-menu a { display: block; padding: 9px 18px; font-size: 14px; color: var(--text-secondary); white-space: nowrap; }
.dropdown-menu a:hover { color: var(--primary-purple); background: var(--bg-light); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; cursor: pointer; padding: 9px; }
.nav-toggle span { display: block; height: 2px; background: var(--primary-purple); margin: 6px 0; border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: 999px; font-size: 15px; font-weight: 600;
  border: 1.5px solid transparent; cursor: pointer; transition: all .25s ease; white-space: nowrap;
}
.btn-primary { background: var(--gradient-brand); color: #fff; box-shadow: 0 6px 18px rgba(110,82,159,.24); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(110,82,159,.32); }
.btn-outline { border-color: var(--primary-purple); color: var(--primary-purple); background: transparent; }
.btn-outline:hover { background: var(--primary-purple); color: #fff; transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--primary-purple); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.16); }
.btn-ghost-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--primary-purple); }
.btn-sm { padding: 9px 20px; font-size: 14px; }
.btn-arrow::after { content: "→"; font-weight: 400; }

/* ---------------- 首页 Hero ---------------- */
.hero { position: relative; min-height: 600px; display: flex; align-items: center; overflow: hidden; background: #f3f1f8; }
.hero-bg { position: absolute; inset: 0; background: url('../images/hero-banner.jpg') center center / cover no-repeat; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg,
    #ffffff 0%, #ffffff 36%, rgba(255,255,255,.97) 44%,
    rgba(255,255,255,.62) 55%, rgba(255,255,255,.08) 72%, rgba(255,255,255,0) 100%);
}
.hero::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; z-index: 2;
  background: var(--gradient-brand);
}
.hero .container { position: relative; z-index: 3; padding-top: 60px; padding-bottom: 60px; min-width: 0; max-width: 100%; }
.hero-content { max-width: 660px; min-width: 0; width: 100%; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: 3px; color: var(--primary-purple); text-transform: uppercase; margin-bottom: 20px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent-green); }
.hero h1 { font-family: var(--font-serif); font-size: clamp(32px, 3.4vw, 46px); font-weight: 700; color: var(--primary-purple-dark); letter-spacing: 1px; margin-bottom: 20px; overflow-wrap: break-word; }
.hero h1 em { font-style: normal; color: var(--primary-purple); position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 8px; background: rgba(171,194,54,.35); z-index: -1; border-radius: 4px; }
.hero .lead { font-size: 17px; color: var(--text-secondary); line-height: 1.9; margin-bottom: 14px; max-width: 560px; }
.hero .lead strong { color: var(--text-primary); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.hero-tags span { font-size: 13px; color: var(--primary-purple); background: rgba(110,82,159,.08); border: 1px solid rgba(110,82,159,.16); padding: 6px 14px; border-radius: 999px; }

/* ---------------- 数据条 ---------------- */
.stats-strip { background: var(--bg-white); border-bottom: 1px solid var(--border-color); position: relative; z-index: 4; }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.stat-item { padding: 34px 16px; text-align: center; position: relative; }
.stat-item + .stat-item::before { content: ""; position: absolute; left: 0; top: 26%; height: 48%; width: 1px; background: var(--border-color); }
.stat-num { font-family: var(--font-serif); font-size: 38px; font-weight: 700; color: var(--primary-purple); line-height: 1.1; }
.stat-num small { font-size: 17px; margin-left: 2px; font-family: var(--font-sans); }
.stat-label { font-size: 14px; color: var(--text-secondary); margin-top: 6px; }
.stat-note { font-size: 12px; color: var(--text-muted); }

/* ---------------- 通用区块 ---------------- */
.section { padding: 88px 0; }
.section--light { background: var(--bg-light); }
.section--soft { background: var(--gradient-soft); }
.section--purple { background: var(--gradient-brand); color: #fff; }
.section--purple .section-head .sub, .section--purple .section-head .en { color: rgba(255,255,255,.78); }
.section--purple .section-head h2 { color: #fff; }
.section--purple .section-head .en::before { background: rgba(255,255,255,.7); }
.section-head { text-align: center; max-width: 780px; margin: 0 auto 52px; }
.section-head .en { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: 3px; font-weight: 600; color: var(--primary-purple); text-transform: uppercase; margin-bottom: 14px; }
.section-head .en::before { content: ""; width: 24px; height: 2px; background: var(--primary-purple); }
.section-head h2 { font-family: var(--font-serif); font-size: clamp(26px, 3vw, 34px); color: var(--primary-purple); margin-bottom: 14px; letter-spacing: 1px; }
.section-head .sub { font-size: 16px; color: var(--text-secondary); line-height: 1.9; }
.section-head--left { text-align: left; margin-left: 0; }
.section-head--left .en::before { display: none; }
.section-foot { text-align: center; margin-top: 44px; }

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

.card {
  background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius-lg);
  padding: 32px 28px; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(110,82,159,.25); }
.card-num { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--gradient-soft); color: var(--primary-purple); font-family: var(--font-serif); font-size: 20px; font-weight: 700; margin-bottom: 20px; }
.card h3 { font-size: 20px; color: var(--primary-purple-dark); margin-bottom: 12px; }
.card h3 a { color: inherit; }
.card p { font-size: 15px; color: var(--text-secondary); line-height: 1.85; margin-bottom: 0; }
.card .card-tag { display: inline-block; font-size: 12px; color: var(--primary-purple); background: rgba(110,82,159,.08); border-radius: 999px; padding: 3px 12px; margin-bottom: 14px; }
.card ul { margin-top: 14px; }
.card li { font-size: 14px; color: var(--text-secondary); padding-left: 20px; position: relative; margin-bottom: 8px; }
.card li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-green); font-weight: 700; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--primary-purple); }
.card-link:hover { gap: 12px; }
.card-link::after { content: "→"; }

/* 图文混排 */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.split-media img { width: 100%; height: 100%; object-fit: cover; min-height: 340px; }
.split-media::after { content: ""; position: absolute; right: -18px; bottom: -18px; width: 120px; height: 120px; border: 3px solid rgba(110,82,159,.22); border-radius: var(--radius-lg); z-index: -1; }
.split-body h2 { font-family: var(--font-serif); font-size: clamp(26px, 3vw, 34px); color: var(--primary-purple-dark); margin-bottom: 18px; }
.split-body > p { font-size: 16px; color: var(--text-secondary); line-height: 1.95; }
.check-list { margin: 22px 0 28px; }
.check-list li { position: relative; padding-left: 28px; margin-bottom: 12px; font-size: 15px; color: var(--text-secondary); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 2px; width: 19px; height: 19px;
  border-radius: 50%; background: rgba(171,194,54,.16); color: #7d9027;
  font-size: 12px; display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.check-list li strong { color: var(--text-primary); }

/* 定义式事实框（GEO 可引用） */
.fact-box { background: #fff; border-left: 4px solid var(--primary-purple); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; padding: 26px 30px; box-shadow: var(--shadow-sm); }
.fact-box p { font-size: 16px; line-height: 1.95; color: var(--text-secondary); margin: 0; }
.fact-box strong { color: var(--primary-purple-dark); font-weight: 600; }

/* 体系 / 班型卡片 */
.tier-card { position: relative; overflow: hidden; }
.tier-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--gradient-brand-h); }
.tier-card--top { background: linear-gradient(180deg, #faf7ff 0%, #fff 46%); }
.tier-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.tier-head h3 { margin: 0; }
.tier-badge { font-size: 12px; font-weight: 600; color: #fff; background: var(--primary-purple); border-radius: 999px; padding: 3px 12px; white-space: nowrap; }
.tier-desc { min-height: 72px; }
.tier-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--border-color); }
.tier-meta span { font-size: 12px; color: var(--text-secondary); background: var(--bg-light); border-radius: var(--radius-sm); padding: 4px 10px; }

/* 表格 */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); }
table.data-table { width: 100%; border-collapse: collapse; background: #fff; font-size: 15px; min-width: 640px; }
.data-table thead th { background: var(--primary-purple); color: #fff; font-weight: 600; padding: 16px 18px; text-align: left; white-space: nowrap; }
.data-table td { padding: 15px 18px; border-bottom: 1px solid var(--border-color); color: var(--text-secondary); vertical-align: top; }
.data-table tbody tr:nth-child(even) { background: var(--bg-light); }
.data-table tbody tr:hover { background: #f3eefb; }
.data-table td:first-child { color: var(--primary-purple-dark); font-weight: 600; white-space: nowrap; }
.table-caption { font-size: 13px; color: var(--text-muted); margin-top: 12px; }

/* 流程时间线 */
.flow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.flow-step { background: #fff; border-radius: var(--radius-lg); padding: 28px 26px; border: 1px solid var(--border-color); position: relative; box-shadow: var(--shadow-sm); }
.flow-step .step-no { font-family: var(--font-serif); font-size: 34px; font-weight: 700; color: rgba(110,82,159,.18); line-height: 1; margin-bottom: 12px; }
.flow-step h3 { font-size: 18px; color: var(--primary-purple-dark); margin-bottom: 10px; }
.flow-step p { font-size: 14px; color: var(--text-secondary); line-height: 1.85; margin: 0; }

/* 阶段条 */
.phase-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 40px; position: relative; }
.phase-item { position: relative; padding: 0 18px 0 0; }
.phase-item::after { content: ""; position: absolute; right: 0; top: 17px; width: 100%; height: 2px; background: rgba(110,82,159,.16); }
.phase-item:last-child::after { display: none; }
.phase-dot { width: 34px; height: 34px; border-radius: 50%; background: var(--gradient-brand); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; position: relative; z-index: 2; margin-bottom: 16px; }
.phase-item h4 { font-size: 17px; color: var(--primary-purple-dark); margin-bottom: 8px; }
.phase-item p { font-size: 14px; color: var(--text-secondary); line-height: 1.8; }

/* 校区 */
.district-group { margin-bottom: 34px; }
.district-title { display: flex; align-items: center; gap: 12px; font-size: 20px; font-family: var(--font-serif); color: var(--primary-purple-dark); margin-bottom: 16px; }
.district-title span { font-size: 12px; font-family: var(--font-sans); font-weight: 500; color: #fff; background: var(--primary-purple-light); border-radius: 999px; padding: 2px 10px; }
.district-title::after { content: ""; flex: 1; height: 1px; background: var(--border-color); }
.campus-card { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 20px 22px; height: 100%; transition: all .25s ease; }
.campus-card:hover { border-color: var(--primary-purple-light); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.campus-pin { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--gradient-soft); color: var(--primary-purple); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.campus-card h4 { font-size: 16px; color: var(--primary-purple-dark); margin-bottom: 4px; }
.campus-card p { font-size: 14px; color: var(--text-secondary); margin: 0; line-height: 1.7; }
.campus-card .campus-area { font-size: 12px; color: var(--text-muted); }

/* FAQ */
.faq-list { max-width: 900px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius-md); margin-bottom: 14px; overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-item[open] { border-color: rgba(110,82,159,.35); box-shadow: var(--shadow-md); }
.faq-item summary { display: flex; align-items: center; gap: 14px; padding: 20px 24px; cursor: pointer; font-size: 17px; font-weight: 600; color: var(--primary-purple-dark); list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--gradient-brand); color: #fff; font-size: 13px; display: flex; align-items: center; justify-content: center; font-weight: 600; }
.faq-item summary::after { content: "+"; margin-left: auto; font-size: 24px; font-weight: 300; color: var(--primary-purple); line-height: 1; }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding: 0 24px 22px 66px; font-size: 15px; color: var(--text-secondary); line-height: 1.95; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer strong { color: var(--text-primary); }

/* 文章 / 指南卡片 */
.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post-card img { width: 100%; height: 190px; object-fit: cover; }
.post-body { padding: 24px 26px 28px; }
.post-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; display: flex; gap: 12px; }
.post-meta .dot { color: var(--accent-green); }
.post-card h3 { font-size: 19px; line-height: 1.5; margin-bottom: 10px; }
.post-card p { font-size: 14px; }

/* CTA */
.cta-band { position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 420px; height: 420px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; right: -80px; top: -180px; }
.cta-band::after { content: ""; position: absolute; width: 260px; height: 260px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; left: -100px; bottom: -160px; }
.cta-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-inner h2 { font-family: var(--font-serif); font-size: clamp(26px, 3vw, 36px); margin-bottom: 10px; }
.cta-inner p { color: rgba(255,255,255,.86); font-size: 16px; margin: 0; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* 内页页头 */
.page-hero { position: relative; overflow: hidden; background: var(--gradient-brand); color: #fff; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 82% 30%, rgba(255,255,255,.16), transparent 45%); }
.page-hero .container { position: relative; z-index: 2; padding-top: 68px; padding-bottom: 68px; }
.page-hero h1 { font-family: var(--font-serif); font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 14px; }
.page-hero .lead { font-size: 17px; color: rgba(255,255,255,.9); max-width: 760px; margin: 0; line-height: 1.9; }
.page-hero .eyebrow { color: #fff; }
.page-hero .eyebrow::before { background: #fff; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,.72); margin-bottom: 22px; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb span { margin: 0 8px; }
.breadcrumb strong { color: #fff; font-weight: 500; }

/* 内页锚点目录 */
.toc { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 30px; }
.toc a { font-size: 14px; color: var(--primary-purple); border: 1px solid rgba(110,82,159,.28); background: #fff; border-radius: 999px; padding: 7px 18px; transition: .2s; }
.toc a:hover { background: var(--primary-purple); color: #fff; }


/* 联系信息卡片 */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card { text-align: center; padding: 34px 26px; }
.contact-card .card-num { margin: 0 auto 18px; }
.contact-card h3 { font-size: 19px; margin-bottom: 10px; }
.contact-card p { font-size: 14px; }

.placeholder-note { font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 14px; }

/* 图片画廊 */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery figure { position: relative; overflow: hidden; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; height: 200px; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 14px; font-size: 13px; color: #fff; background: linear-gradient(to top, rgba(51,30,80,.82), transparent); }


/* 页脚 */
.footer { background: linear-gradient(135deg, #8B6FC0 0%, #6e529f 100%); color: rgba(255,255,255,.82); }
.footer-top { padding: 66px 0 46px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-brand .f-logo { font-family: var(--font-serif); font-size: 26px; font-weight: 700; color: #fff; letter-spacing: 2px; }
.footer-brand .f-logo small { display: block; font-family: var(--font-sans); font-size: 11px; letter-spacing: 3px; font-weight: 400; color: rgba(255,255,255,.6); margin-top: 2px; }
.footer-brand p { font-size: 14px; line-height: 1.9; margin-top: 20px; max-width: 330px; }
.footer-brand .f-slogan { display: inline-block; margin-top: 16px; padding: 6px 16px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; font-size: 13px; color: #fff; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 2px; background: #fff; }
.footer ul li { margin-bottom: 10px; font-size: 14px; }
.footer ul a:hover { color: #fff; text-decoration: underline; }
.footer-contact p { font-size: 14px; margin-bottom: 12px; line-height: 1.8; }
.footer-contact .f-label { color: rgba(255,255,255,.6); font-size: 12px; display: block; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.16); padding: 20px 0; font-size: 13px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; }
.footer-bottom .f-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-bottom .f-legal { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.footer-bottom .f-beian { display: inline-flex; align-items: center; gap: 4px; }
.footer-bottom .f-beian img { width: 16px; height: 16px; vertical-align: middle; }

/* 返回顶部 */
.backtop { position: fixed; right: 24px; bottom: 26px; z-index: 90; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--gradient-brand); color: #fff; font-size: 20px; cursor: pointer; box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(12px); transition: .3s; }
.backtop.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* 滚动出现动画（对齐总部 .reveal-item）
   仅在 html.js 存在时隐藏，保证无 JS 环境（含 AI 爬虫）看到的始终是完整内容 */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .45s ease, transform .45s ease; }
.js .reveal.revealed { opacity: 1; transform: translateY(0); }
.js .reveal:nth-child(2) { transition-delay: .06s; }
.js .reveal:nth-child(3) { transition-delay: .12s; }
.js .reveal:nth-child(4) { transition-delay: .18s; }
.js .reveal:nth-child(5) { transition-delay: .24s; }
.js .reveal:nth-child(6) { transition-delay: .30s; }
/* 首屏元素不做淡入，页面打开即完整可见 */
.js .reveal.instant { transition: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1100px) {
  .nav-links > li > a { padding: 10px 8px; font-size: 14px; }
  .nav-container { gap: 14px; }
  .stats-grid { grid-template-columns: repeat(5, 1fr); }
  .stat-num { font-size: 32px; }
  .footer-top { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-contact { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; margin-left: auto; }
  .nav-links { position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 22px; box-shadow: var(--shadow-md); border-bottom: 1px solid var(--border-color); display: none; max-height: 78vh; overflow-y: auto; }
  .nav-links.open { display: flex; }
  .nav-links > li > a { padding: 12px 4px; font-size: 16px; border-bottom: 1px solid #f4f4f4; }
  .nav-links > li > a::after { display: none; }
  .dropdown-menu {
    position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none;
    border: 0; border-radius: 0; background: var(--bg-light); padding: 4px 0 8px 14px; min-width: 0;
  }
  .dropdown-menu a { padding: 8px 12px; font-size: 14px; }
  .nav-container { height: 68px; }
  .grid-4, .grid-5, .flow-grid, .contact-cards, .gallery { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split-media img { min-height: 260px; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-item:nth-child(4)::before { display: none; }
  .phase-track { grid-template-columns: repeat(2, 1fr); gap: 26px 0; }
  .phase-item:nth-child(2)::after { display: none; }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .topbar { height: auto; padding: 7px 0; }
  .topbar .container { flex-direction: column; gap: 2px; font-size: 12px; }
  .topbar-right { gap: 10px; }
  .topbar-sep { display: none; }
  .section { padding: 58px 0; }
  .section-head { margin-bottom: 34px; }
  .hero { min-height: 0; }
  .hero::before { background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.95) 70%, rgba(255,255,255,.86) 100%); }
  .hero .container { padding-top: 52px; padding-bottom: 52px; }
  .hero h1 { font-size: 27px; letter-spacing: 0; }
  .hero h1 em { white-space: normal; }
  .hero .lead { font-size: 15px; }
  .grid-2, .grid-3, .grid-4, .grid-5, .flow-grid, .contact-cards, .gallery { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 22px 8px; }
  .stat-item:nth-child(odd)::before { display: none; }
  .stat-num { font-size: 28px; }
  .phase-track { grid-template-columns: 1fr; }
  .phase-item::after { display: none; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; padding: 46px 0 32px; }
  .footer-bottom { flex-direction: column; }
  .faq-answer { padding-left: 24px; }
  .page-hero .container { padding-top: 48px; padding-bottom: 48px; }
  .brand-divider, .brand-city { display: none; }
}
