/* 快通达育官网样式 —— 移动优先 */
:root {
  --primary: #2456e6;
  --primary-dark: #1a3fae;
  --primary-light: #e8eefc;
  --accent: #ff8a3d;
  --text: #1f2937;
  --text-light: #6b7280;
  --bg: #f7f9fc;
  --white: #ffffff;
  --border: #e5e7eb;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(31, 41, 55, .08);
  --maxw: 1080px;
}
* { 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", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}
a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- 头部导航 ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 36px; }
.brand .brand-name { font-size: 20px; font-weight: 700; color: var(--text); }
.nav-toggle { display: none; background: none; border: none; font-size: 26px; color: var(--text); cursor: pointer; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a { color: var(--text); font-size: 15px; }
.main-nav a:hover, .main-nav a.active { color: var(--primary); }
.main-nav a.cta {
  background: var(--primary); color: var(--white);
  padding: 8px 18px; border-radius: 999px; font-weight: 600;
}
.main-nav a.cta:hover { background: var(--primary-dark); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: var(--white); flex-direction: column; align-items: stretch;
    padding: 12px 20px 20px; gap: 0; border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 4px; border-bottom: 1px solid var(--border); }
  .main-nav a.cta { margin-top: 14px; text-align: center; border-bottom: none; }
}

/* ---------- Hero ---------- */
.hero { background: linear-gradient(135deg, #f0f4ff 0%, #eaf7ff 100%); padding: 56px 0; }
.hero-inner { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.hero-text { flex: 1 1 380px; }
.hero-text h1 { font-size: 34px; line-height: 1.35; margin-bottom: 16px; }
.hero-text h1 em { font-style: normal; color: var(--primary); }
.hero-text p.sub { color: var(--text-light); font-size: 17px; margin-bottom: 26px; }
.hero-img { flex: 1 1 320px; }
.btn { display: inline-block; padding: 12px 30px; border-radius: 999px; font-size: 16px; font-weight: 600; }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost { border: 2px solid var(--primary); color: var(--primary); margin-left: 12px; }
.hero-badges { margin-top: 26px; display: flex; gap: 18px; flex-wrap: wrap; }
.hero-badges span { font-size: 13px; color: var(--text-light); background: var(--white); padding: 6px 14px; border-radius: 999px; box-shadow: var(--shadow); }

/* ---------- 通用 section ---------- */
.section { padding: 56px 0; }
.section.alt { background: var(--white); }
.section-head { text-align: center; margin-bottom: 38px; }
.section-head h2 { font-size: 28px; margin-bottom: 8px; }
.section-head p { color: var(--text-light); }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
  background: var(--white); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.card .icon { font-size: 34px; margin-bottom: 12px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--text-light); font-size: 14.5px; }
.card .more { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 600; }
.card img.thumb { border-radius: 8px; margin-bottom: 14px; aspect-ratio: 16/9; object-fit: cover; width: 100%; }

/* 我们不做什么 */
.nolist { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.nolist .no-item {
  background: var(--white); border-left: 4px solid var(--accent);
  padding: 16px 18px; border-radius: 8px; box-shadow: var(--shadow); font-size: 15px;
}
.nolist .no-item strong { display: block; margin-bottom: 4px; }

/* ---------- 路线图 ---------- */
.route { position: relative; margin: 0 auto; max-width: 760px; }
.route::before {
  content: ""; position: absolute; left: 19px; top: 0; bottom: 0;
  width: 3px; background: var(--primary-light);
}
.route-step { position: relative; padding: 0 0 34px 58px; }
.route-step::before {
  content: attr(data-step); position: absolute; left: 0; top: 0;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.route-step h3 { font-size: 18px; }
.route-step .age { color: var(--accent); font-size: 13.5px; font-weight: 600; }
.route-step p { color: var(--text-light); font-size: 14.5px; margin-top: 4px; }

/* 表格 */
table.tbl { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); font-size: 14.5px; }
table.tbl th, table.tbl td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); }
table.tbl th { background: var(--primary-light); color: var(--primary-dark); }
table.tbl tr:last-child td { border-bottom: none; }
.tbl-scroll { overflow-x: auto; }

/* ---------- 文章 ---------- */
.article { background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); margin-bottom: 26px; }
.article h3 { font-size: 20px; margin-bottom: 6px; }
.article .meta { color: var(--text-light); font-size: 13px; margin-bottom: 14px; }
.article p, .article li { font-size: 15px; color: #374151; margin-bottom: 10px; }
.article ul, .article ol { padding-left: 22px; }
.article .tip { background: var(--primary-light); border-radius: 8px; padding: 12px 16px; font-size: 14px; }

/* ---------- 表单 ---------- */
.form-card { background: var(--white); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); max-width: 560px; margin: 0 auto; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 6px; }
.form-row label .req { color: #dc2626; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border);
  border-radius: 8px; font-size: 15px; font-family: inherit; background: #fbfcfe;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: 2px solid var(--primary-light); border-color: var(--primary); }
.form-msg { margin-top: 14px; font-size: 14.5px; display: none; padding: 10px 14px; border-radius: 8px; }
.form-msg.ok { display: block; background: #ecfdf5; color: #047857; }
.form-msg.err { display: block; background: #fef2f2; color: #b91c1c; }
.privacy-note { font-size: 12.5px; color: var(--text-light); margin-top: 14px; }

/* ---------- 页脚 ---------- */
.site-footer { background: #111827; color: #9ca3af; padding: 40px 0 26px; margin-top: 30px; font-size: 13.5px; }
.site-footer a { color: #d1d5db; }
.footer-cols { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-bottom: 26px; }
.footer-cols h4 { color: #f3f4f6; font-size: 15px; margin-bottom: 10px; }
.disclaimer {
  border-top: 1px solid #374151; padding-top: 18px; line-height: 1.9;
}
.disclaimer strong { color: #fbbf24; }

/* 面包屑页头 */
.page-head { background: linear-gradient(135deg, #eef3ff, #eafaff); padding: 40px 0; text-align: center; }
.page-head h1 { font-size: 30px; }
.page-head p { color: var(--text-light); margin-top: 6px; }

/* ---------- 2.0 扩容：测评/工具/FAQ/下载 ---------- */
.quiz-box { max-width: 640px; margin: 0 auto; }
.quiz-q { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); margin-bottom: 18px; }
.quiz-q h3 { font-size: 16.5px; margin-bottom: 14px; }
.quiz-q .opts { display: flex; flex-wrap: wrap; gap: 10px; }
.quiz-q .opts button {
  border: 1.5px solid var(--border); background: #fbfcfe; border-radius: 999px;
  padding: 9px 18px; font-size: 14.5px; cursor: pointer; font-family: inherit;
}
.quiz-q .opts button.sel { border-color: var(--primary); background: var(--primary-light); color: var(--primary-dark); font-weight: 600; }
.quiz-progress { text-align: center; color: var(--text-light); font-size: 13.5px; margin-bottom: 16px; }
.report { background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.report .grade { font-size: 22px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.report .bar { height: 10px; background: var(--primary-light); border-radius: 999px; overflow: hidden; margin: 14px 0 22px; }
.report .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 999px; }
.report h4 { margin: 16px 0 6px; font-size: 15.5px; }
.report p, .report li { font-size: 14.5px; color: #374151; }
.report ul { padding-left: 20px; }

.checklist label { display: flex; gap: 10px; align-items: flex-start; background: var(--white); border-radius: 10px; padding: 14px 16px; box-shadow: var(--shadow); margin-bottom: 10px; font-size: 14.5px; cursor: pointer; }
.checklist input { margin-top: 3px; }
.score-pill { display: inline-block; padding: 10px 22px; border-radius: 999px; font-weight: 700; font-size: 16px; }
.score-good { background: #ecfdf5; color: #047857; }
.score-mid { background: #fffbeb; color: #b45309; }
.score-bad { background: #fef2f2; color: #b91c1c; }

.calc-box { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.calc-box input { width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: 8px; font-size: 15px; margin-top: 4px; }
.calc-row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); margin-bottom: 14px; }

.faq-item { background: var(--white); border-radius: 10px; box-shadow: var(--shadow); margin-bottom: 10px; overflow: hidden; }
.faq-item summary { padding: 16px 18px; font-weight: 600; font-size: 15px; cursor: pointer; list-style: none; position: relative; padding-right: 40px; }
.faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 14px; font-size: 20px; color: var(--primary); }
.faq-item[open] summary::after { content: "−"; }
.faq-item .a { padding: 0 18px 16px; font-size: 14.5px; color: #374151; line-height: 1.8; }

.dl-card { display: flex; gap: 16px; align-items: center; background: var(--white); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); margin-bottom: 14px; }
.dl-card .ic { font-size: 34px; }
.dl-card h3 { font-size: 16px; }
.dl-card p { color: var(--text-light); font-size: 13.5px; margin-top: 3px; }
.dl-card .btn { margin-left: auto; white-space: nowrap; padding: 9px 20px; font-size: 14px; }

.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.filter-bar button { border: 1.5px solid var(--border); background: var(--white); border-radius: 999px; padding: 7px 16px; font-size: 13.5px; cursor: pointer; font-family: inherit; }
.filter-bar button.on { border-color: var(--primary); background: var(--primary-light); color: var(--primary-dark); font-weight: 600; }

.assure { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.assure .item { background: var(--white); border-top: 4px solid var(--primary); border-radius: 10px; padding: 20px; box-shadow: var(--shadow); }
.assure .item h3 { font-size: 16px; margin-bottom: 6px; }
.assure .item p { font-size: 13.5px; color: var(--text-light); }

/* 导航 11 项压缩 */
.main-nav { gap: 16px; }
.main-nav a { font-size: 14px; }
