/* T03 · UI08 教育知识风 #1565C0 / #0D47A1 / #EEF2FF · 结构07问答解惑型 */
:root {
  --nav-h: 58px;
  --c-prim: #1565C0;
  --c-prim-d: #0D47A1;
  --c-cta: #0D47A1;
  --c-bg: #FFFFFF;
  --c-bg2: #EEF2FF;
  --c-text: #263238;
  --c-sub: #546E7A;
  --c-line: #C5CAE9;
  --shadow: 0 4px 20px rgba(21,101,192,.12);
  --r: 12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.65;
  padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px));
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* F1 */
.navbar {
  display: block !important;
  padding: 0 !important;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--c-prim);
  border-bottom: 3px solid var(--c-prim-d);
  box-shadow: var(--shadow);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
}
.logo-ic {
  width: 34px; height: 34px;
  background: rgba(255,255,255,.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-links {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 24px;
}
.nav-links a {
  color: rgba(255,255,255,.92);
  font-size: 14px;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { border-color: #fff; color: #fff; }
.btn-nav-cta {
  background: #fff;
  color: var(--c-prim-d);
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
}
.btn-nav-cta:hover { background: var(--c-bg2); color: var(--c-prim-d); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; }

/* M1 Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(13,71,161,.88) 0%, rgba(21,101,192,.75) 55%, rgba(38,50,56,.72) 100%);
}
/* F2 全宽（navbar 在 hero 之前，hero 内 top:0 即紧贴导航下沿） */
.compliance-bar {
  position: absolute;
  top: 0;
  left: 0; right: 0;
  z-index: 3;
  background: rgba(0,0,0,.42);
  backdrop-filter: blur(4px);
  color: rgba(255,255,255,.92);
  font-size: 12px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.compliance-bar i { margin-right: 4px; }
.compliance-x {
  background: none;
  border: none;
  color: rgba(255,255,255,.75);
  font-size: 18px;
  cursor: pointer;
  flex-shrink: 0;
}
.hero-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 560px;
  padding: 80px 20px 52px;
}
.hero-body { text-align: center; color: #fff; }

/* 标签行 */
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 20px;
}
.htag {
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(4px);
}
.htag i { color: #90CAF9; }

/* 主标题 */
.hero-h1 {
  font-size: clamp(28px, 6vw, 48px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 14px;
  text-shadow: 0 2px 16px rgba(0,0,0,.4);
  letter-spacing: -.01em;
}
.hero-h1 em { font-style: normal; color: #BBDEFB; }
.hero-lead {
  font-size: 14px;
  opacity: .92;
  margin-bottom: 22px;
  line-height: 1.75;
}

/* B18 联系卡片 */
.hc-card {
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: var(--r);
  padding: 18px 16px 14px;
  text-align: left;
  margin-bottom: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
}
/* 顾问头行 */
.hc-head-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.2);
}
.hc-av {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  flex-shrink: 0;
}
.hc-label { display: block; font-size: 11px; opacity: .7; color: #E3F2FD; }
.hc-name { font-size: 15px; font-weight: 700; color: #fff; }
.hc-online-dot {
  margin-left: auto;
  font-size: 11px;
  color: #A5D6A7;
  display: flex;
  align-items: center;
  gap: 4px;
}
.hc-online-dot i { font-size: 8px; }

/* 电话行 */
.hc-phone-block {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.hc-phone-block > i { color: #90CAF9; width: 20px; text-align: center; flex-shrink: 0; }
.hc-phone-num { flex: 1; font-size: 15px; font-weight: 700; color: #fff; }
.hc-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.55);
  color: #fff;
  padding: 7px 14px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.hc-call-btn:hover { background: rgba(255,255,255,.35); }

/* 微信行 */
.hc-wx-block {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.hc-wx-block > i { color: #90CAF9; width: 20px; text-align: center; flex-shrink: 0; }
.hc-wx-num { flex: 1; font-size: 14px; color: #E3F2FD; }
.hc-copy-btn {
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.55);
  color: #fff;
  padding: 7px 14px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.hc-copy-btn:hover { background: rgba(255,255,255,.35); }

/* 底部说明 */
.hc-note {
  font-size: 12px;
  opacity: .85;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #E3F2FD;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.18);
  margin-top: 0;
}

/* 数据行 */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,.88);
  flex-wrap: wrap;
}
.hero-stats strong { color: #BBDEFB; font-size: 15px; font-weight: 900; }
.hs-div { opacity: .5; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 18px; }
.section { padding: 56px 0; }
.section-alt { background: var(--c-bg2); }
.sec-h { text-align: center; margin-bottom: 28px; }
.sec-h h2 {
  font-size: clamp(20px, 3.5vw, 26px);
  font-weight: 800;
  color: var(--c-prim-d);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.sec-h h2 i { color: var(--c-prim); }
.sec-desc { color: var(--c-sub); font-size: 14px; margin-top: 8px; }
.sec-h-light h2 { color: #fff; }
.sec-h-light h2 i { color: #BBDEFB; }
.sec-h-light .sec-desc { color: rgba(255,255,255,.85); }
.sec-h-left { text-align: left; }
.sec-h-left .sec-desc { margin-top: 6px; }

/* M8 FAQ */
.faq-it { border: 1px solid var(--c-line); border-radius: var(--r); margin-bottom: 10px; overflow: hidden; background: #fff; }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: #fff;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-text);
  text-align: left;
}
.faq-q i { color: var(--c-prim); transition: transform .25s; flex-shrink: 0; }
.faq-it.open .faq-q { background: var(--c-bg2); }
.faq-it.open .faq-q i { transform: rotate(180deg); }
.faq-a {
  display: none;
  padding: 0 18px 16px;
  font-size: 14px;
  color: var(--c-sub);
  line-height: 1.75;
  background: var(--c-bg2);
}
.faq-it.open .faq-a { display: block; }

/* M5 grid */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.svc-card {
  background: #fff;
  border-radius: var(--r);
  border: 1px solid var(--c-line);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.svc-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(21,101,192,.18); }
.svc-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; }
.svc-bd { padding: 14px 16px 16px; }
.svc-bd h3 { font-size: 16px; font-weight: 800; color: var(--c-prim-d); margin-bottom: 6px; }
.svc-bd p { font-size: 13px; color: var(--c-sub); margin-bottom: 10px; }
.svc-bd a { font-size: 13px; font-weight: 700; color: var(--c-prim); }

/* M6 */
.flow-steps { list-style: none; max-width: 720px; margin: 0 auto; counter-reset: none; }
.flow-steps li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
  padding: 18px;
  background: #fff;
  border-radius: var(--r);
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow);
}
.flow-steps .sn {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: var(--c-prim);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
.flow-steps strong { display: block; font-size: 15px; margin-bottom: 4px; color: var(--c-prim-d); }
.flow-steps p { font-size: 13px; color: var(--c-sub); }

/* M2 ticker */
.ticker { background: var(--c-prim-d); overflow: hidden; padding: 12px 0; }
.ticker-track { display: flex; white-space: nowrap; animation: tk 32s linear infinite; }
.tk-item {
  color: #E3F2FD;
  font-size: 13px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tk-item i { color: #81D4FA; }
@keyframes tk { 0% { transform: translateX(0);} 100% { transform: translateX(-50%);} }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* M3 trust */
.trust { position: relative; padding: 64px 0; overflow: hidden; }
.trust-bg { position: absolute; inset: 0; z-index: 0; }
.trust-bg img { width: 100%; height: 100%; object-fit: cover; }
.trust-mask {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(120deg, rgba(13,71,161,.9), rgba(21,101,192,.85));
}
.trust-in { position: relative; z-index: 2; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat {
  text-align: center;
  padding: 22px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--r);
}
.stat-num { font-size: clamp(28px, 5vw, 42px); font-weight: 900; color: #fff; display: block; }
.stat span { font-size: 13px; color: rgba(255,255,255,.88); }

/* M4 */
.rev {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r);
  padding: 18px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}
.rev-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.rev-av {
  width: 42px; height: 42px;
  background: var(--c-prim);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
.rev-top small { display: block; color: var(--c-sub); font-size: 12px; }
.rev-amt { margin-left: auto; font-weight: 900; color: var(--c-prim); }
.rev p { font-size: 14px; color: var(--c-sub); line-height: 1.75; }

/* M7 */
.priv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.priv {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r);
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--shadow);
}
.priv i { font-size: 26px; color: var(--c-prim); margin-bottom: 10px; }
.priv h3 { font-size: 14px; font-weight: 800; margin-bottom: 6px; color: var(--c-prim-d); }
.priv p { font-size: 12px; color: var(--c-sub); }

/* M13 */
.cond-layout { display: grid; grid-template-columns: 1fr 240px; gap: 28px; align-items: start; }
.cond-ul { list-style: none; }
.cond-ul li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--c-line);
  font-size: 14px;
}
.cond-ul i { color: var(--c-prim); margin-top: 3px; }
.cond-img img { border-radius: var(--r); box-shadow: var(--shadow); }

/* M9 */
.about-flex { display: grid; grid-template-columns: 1fr minmax(200px, 320px); gap: 32px; align-items: center; }
.about-txt p { color: var(--c-sub); font-size: 14px; line-height: 1.85; margin-top: 12px; }
.about-img img { border-radius: var(--r); box-shadow: var(--shadow); }

/* M10 */
.contact { background: var(--c-prim-d); padding: 56px 0; color: #fff; }
.contact-box { max-width: 520px; text-align: center; }
.contact h2 { font-size: 22px; font-weight: 900; margin-bottom: 8px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.contact-lead { opacity: .9; font-size: 14px; margin-bottom: 22px; }
.contact-rows { text-align: left; }
.cr {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.2);
}
.cr-lab { width: 48px; font-size: 12px; opacity: .75; }
.cr-val { flex: 1; font-weight: 600; word-break: break-all; }
.cr-btn {
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.4);
  color: #fff;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
}
.contact-big {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 22px;
  padding: 14px;
  background: #fff;
  color: var(--c-prim-d);
  border-radius: var(--r);
  font-weight: 800;
  font-size: 16px;
  border: none;
  cursor: pointer;
  text-align: center;
}
a.contact-big:hover { background: var(--c-bg2); color: var(--c-prim-d); }

/* M11 */
.foot { background: #263238; color: rgba(255,255,255,.68); padding: 40px 0; font-size: 13px; }
.foot-t { font-weight: 700; color: #fff; margin-bottom: 10px; }
.foot p { margin-bottom: 8px; line-height: 1.75; }
.foot-dis { font-size: 12px; opacity: .65; }

/* F3 F4 */
.float-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 900;
}
.fb { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 14px; font-weight: 700; font-size: 14px; }
.fb-tel { background: #37474F; color: #fff; }
.fb-wx { background: var(--c-prim); color: #fff; }
.fab-scroll {
  position: fixed;
  right: 16px;
  bottom: 72px;
  z-index: 91;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--c-prim);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  box-shadow: var(--shadow);
}

@media (max-width: 992px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .priv-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    background: var(--c-prim-d);
    padding: 12px 16px;
    gap: 0;
    border-bottom: 2px solid rgba(255,255,255,.2);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
  .nav-toggle { display: flex; }
  .btn-nav-cta { display: none; }
  .svc-grid { grid-template-columns: 1fr; }
  .priv-grid { grid-template-columns: 1fr; }
  .cond-layout { grid-template-columns: 1fr; }
  .cond-img { order: -1; }
  .about-flex { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .float-bar { display: flex; }
}
