/* 智扣原创模板 ZK-004 · K12 素养教育官网 · 版权归智扣所有 */
:root {
  --navy: #12244F;
  --navy-2: #1E3B78;
  --navy-3: #0C1838;
  --yellow: #FFC53D;
  --yellow-2: #FFD666;
  --yellow-deep: #B87F00;
  --ink: #1B2436;
  --ink-2: #38445C;
  --muted: #6B7690;
  --line: #E6E8EF;
  --cream: #FFF8EA;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 20px 50px rgba(18, 36, 79, .12);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink); background: var(--white); line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.eyebrow {
  display: inline-block; font-size: 12px; letter-spacing: .16em; font-weight: 800;
  color: var(--navy); margin-bottom: 12px;
}
.eyebrow::before {
  content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 8px;
  background: var(--yellow); border-radius: 3px; vertical-align: 1px;
}
.eyebrow.light { color: var(--yellow); }
h1, h2, h3 { line-height: 1.22; letter-spacing: -.01em; }
h2 { font-size: clamp(26px, 3vw, 40px); font-weight: 900; }
.lead { font-size: 17px; color: var(--ink-2); margin: 16px 0 10px; }
.muted { color: var(--muted); font-size: 14.5px; }
.section { padding: 86px 0; }
.section-cream { background: var(--cream); }
.section-deep { background: var(--navy); color: #fff; }
.section-yellow { background: var(--yellow); }
.section-yellow .eyebrow::before { background: var(--navy); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 40px; }
.section-head p { max-width: 420px; font-size: 14px; color: var(--muted); }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head.center p { max-width: 560px; }
.section-deep .section-head p { color: rgba(255,255,255,.64); }

.site-header { position: sticky; top: 0; z-index: 20; background: var(--navy); border-bottom: 3px solid var(--yellow); }
.header-inner { display: flex; align-items: center; gap: 20px; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: var(--yellow); color: var(--navy); font-weight: 900; font-size: 15px; letter-spacing: -.02em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text b { font-size: 16.5px; color: #fff; }
.brand-text small { font-size: 11px; color: rgba(255,255,255,.52); letter-spacing: .1em; }
.site-nav { display: flex; gap: 26px; margin-left: auto; }
.site-nav a { font-size: 14px; color: rgba(255,255,255,.76); padding: 6px 0; position: relative; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 3px;
  background: var(--yellow); border-radius: 2px; transition: width .2s ease;
}
.site-nav a:hover { color: var(--yellow); }
.site-nav a:hover::after { width: 100%; }
.header-cta {
  background: var(--yellow); color: var(--navy); padding: 10px 22px; border-radius: 999px;
  font-size: 13px; font-weight: 800; white-space: nowrap; transition: transform .18s ease, background .18s ease;
}
.header-cta:hover { background: var(--yellow-2); transform: translateY(-2px); }
.nav-toggle { display: none; border: 0; background: none; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }

.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(620px 420px at 86% 42%, rgba(255,197,61,.16), transparent 66%),
    radial-gradient(700px 460px at 8% 8%, rgba(30,59,120,.72), transparent 70%),
    linear-gradient(160deg, #162B5C 0%, #101F45 62%, #0C1838 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.7), transparent 82%);
}
.hero-inner {
  position: relative; z-index: 2; display: grid; grid-template-columns: 1.16fr .84fr;
  gap: 52px; align-items: center; padding: 96px 0 92px;
}
.hero-copy { max-width: 640px; }
.hero h1 {
  font-size: clamp(34px, 3.7vw, 46px); font-weight: 900; letter-spacing: -.03em;
  color: var(--yellow); line-height: 1.16; margin: 8px 0 18px; max-width: 640px;
}
.hero-sub { font-size: clamp(17px, 1.7vw, 22px); font-weight: 700; color: #fff; margin-bottom: 12px; }
.hero-desc { font-size: 14.5px; color: rgba(255,255,255,.64); max-width: 560px; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 999px; font-weight: 800; font-size: 14px; border: 0; cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.btn-primary { background: var(--yellow); color: var(--navy); box-shadow: 0 14px 30px rgba(255,197,61,.26); }
.btn-primary:hover { background: var(--yellow-2); transform: translateY(-2px); }
.btn-ghost { border: 2px solid rgba(255,255,255,.32); color: #fff; }
.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); }
.hero-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tile {
  border-radius: var(--radius); padding: 26px 22px; min-height: 152px;
  display: flex; flex-direction: column; justify-content: center;
  transition: transform .18s ease, border-color .18s ease;
}
.tile b { font-size: 34px; font-weight: 900; line-height: 1; letter-spacing: -.02em; }
.tile b span { font-size: 14px; font-weight: 800; margin-left: 3px; }
.tile small { font-size: 12.5px; margin-top: 10px; letter-spacing: .02em; }
.tile-a { background: var(--yellow); color: var(--navy); }
.tile-b { background: #fff; color: var(--navy); }
.tile-c { background: transparent; border: 2px solid rgba(255,255,255,.34); color: #fff; }
.tile-c b { color: var(--yellow); }
.tile-c small { color: rgba(255,255,255,.6); }
.tile-d { background: linear-gradient(140deg, #2B4C96 0%, #12244F 100%); color: var(--yellow); border: 1px solid rgba(255,197,61,.45); }
.tile-d small { color: rgba(255,255,255,.66); }
.tile:hover { transform: translateY(-5px); }
.tile-c:hover { border-color: var(--yellow); }

.about-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 60px; align-items: start; }
.about-copy { min-width: 0; }
.about-numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 30px; }
.num-block { padding: 18px 18px 16px; border-radius: 12px; background: var(--cream); border: 1px solid var(--line); }
.num-block:nth-child(1) { background: var(--yellow); border-color: var(--yellow); }
.num-block b { display: block; font-size: 28px; font-weight: 900; color: var(--navy); line-height: 1.1; }
.num-block span { font-size: 12px; color: var(--muted); }
.num-block:nth-child(1) span { color: rgba(18,36,79,.72); }
.about-points { display: grid; gap: 14px; }
.point { display: flex; gap: 16px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .18s ease, transform .18s ease; }
.point:hover { border-color: var(--yellow); transform: translateY(-3px); }
.point b {
  flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: var(--yellow); color: var(--navy); font-size: 13px; font-weight: 900;
}
.point strong { font-size: 15.5px; }
.point p { font-size: 13px; color: var(--muted); margin-top: 4px; }

.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.course-card {
  display: flex; flex-direction: column; padding: 26px 24px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); transition: transform .18s ease, box-shadow .18s ease;
}
.course-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.course-card.feature { grid-column: span 2; background: var(--yellow); border-color: var(--yellow); padding: 32px; }
.course-card.dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.course-card.edge { background: transparent; border: 2px solid var(--navy); }
.course-no { font-size: 13px; font-weight: 900; letter-spacing: .14em; color: var(--yellow-deep); margin-bottom: 18px; }
.course-card.feature .course-no { font-size: 44px; letter-spacing: -.02em; color: rgba(18,36,79,.28); margin-bottom: 10px; }
.course-card.dark .course-no { color: var(--yellow); }
.course-card h3 { font-size: 19px; margin-bottom: 10px; }
.course-card.feature h3 { font-size: 34px; font-weight: 900; letter-spacing: -.02em; }
.course-card p { font-size: 13.5px; color: var(--muted); }
.course-card.feature p { font-size: 15px; color: rgba(18,36,79,.78); max-width: 520px; }
.course-card.dark p { color: rgba(255,255,255,.66); }
.course-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 20px; }
.course-tag {
  font-size: 11px; padding: 4px 11px; border-radius: 999px;
  border: 1px solid rgba(18,36,79,.18); color: var(--navy); background: rgba(18,36,79,.05);
}
.course-card.feature .course-tag { border-color: rgba(18,36,79,.26); background: rgba(18,36,79,.08); }
.course-card.dark .course-tag { border-color: rgba(255,197,61,.42); color: var(--yellow); background: transparent; }
.course-cta {
  background: var(--navy); color: #fff; border-radius: var(--radius); padding: 28px 26px;
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.course-cta:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.course-cta-label { font-size: 11px; letter-spacing: .14em; font-weight: 800; color: var(--yellow); }
.course-cta b { font-size: 18px; }
.course-cta p { font-size: 12.5px; color: rgba(255,255,255,.62); }
.course-cta a { margin-top: 6px; font-size: 12.5px; font-weight: 800; color: var(--yellow); }
.course-cta a:hover { text-decoration: underline; }

.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step {
  padding: 28px 24px 30px; border-radius: var(--radius);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.13);
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.step:hover { background: rgba(255,197,61,.10); border-color: rgba(255,197,61,.5); transform: translateY(-4px); }
.step-num { display: block; font-size: 48px; font-weight: 900; line-height: 1; color: var(--yellow); letter-spacing: -.03em; margin-bottom: 22px; }
.step b { display: block; font-size: 17px; margin-bottom: 7px; }
.step p { font-size: 13px; color: rgba(255,255,255,.62); }

.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cert {
  min-height: 126px; padding: 24px 22px; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 8px;
}
.cert b { font-size: 17.5px; font-weight: 800; line-height: 1.35; }
.cert span { font-size: 12.5px; color: var(--muted); }
.cert.yellow { background: var(--yellow); border-color: var(--yellow); }
.cert.yellow span { color: rgba(18,36,79,.68); }
.cert.navy { background: var(--navy); border-color: var(--navy); }
.cert.navy b { color: #fff; }
.cert.navy span { color: rgba(255,255,255,.6); }
.cert.line { background: transparent; border: 2px solid var(--navy); }

.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case-card {
  padding: 28px 26px 26px; background: #fff; border: 1px solid var(--line);
  border-top: 6px solid var(--yellow); border-radius: 14px; transition: transform .18s ease, box-shadow .18s ease;
}
.case-card:nth-child(2) { border-top-color: var(--navy); }
.case-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.case-tag {
  display: inline-block; font-size: 11px; font-weight: 800; color: var(--navy);
  background: var(--cream); border: 1px solid rgba(18,36,79,.10); padding: 4px 11px; border-radius: 999px;
}
.case-card h3 { font-size: 18px; margin: 15px 0 8px; }
.case-card p { font-size: 13px; color: var(--muted); }
.case-metric { display: flex; align-items: baseline; gap: 9px; margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--line); }
.case-metric b { font-size: 30px; font-weight: 900; color: var(--navy); line-height: 1; }
.case-metric b span { font-size: 13px; color: var(--yellow-deep); margin-left: 3px; }
.case-metric span { font-size: 12px; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-copy h2 { color: var(--navy); }
.contact-desc { margin-top: 14px; font-size: 14.5px; color: rgba(18,36,79,.78); max-width: 470px; }
.contact-info { display: grid; gap: 13px; margin-top: 30px; }
.contact-info div { display: flex; gap: 14px; font-size: 14px; }
.contact-info span { width: 46px; color: rgba(18,36,79,.6); font-weight: 700; }
.contact-info b { color: var(--navy); }
.contact-form {
  background: var(--navy); color: #fff; border-radius: var(--radius); padding: 32px;
  display: grid; gap: 14px; box-shadow: 0 28px 60px rgba(18,36,79,.26);
}
.contact-form label { display: grid; gap: 7px; font-size: 12.5px; font-weight: 700; color: rgba(255,255,255,.72); }
.contact-form input, .contact-form select {
  width: 100%; background: #FBFCFE; color: var(--ink); border: 1px solid transparent;
  border-radius: 10px; padding: 11px 13px; font: inherit; font-size: 14px; outline: none;
  transition: border-color .18s ease, background .18s ease;
}
.contact-form input::placeholder { color: #9AA6B8; }
.contact-form input:focus, .contact-form select:focus { border-color: var(--yellow); background: #fff; }
.contact-form select { cursor: pointer; }
.btn-submit {
  width: 100%; margin-top: 4px; padding: 14px 20px; border: 0; border-radius: 10px; cursor: pointer;
  background: var(--yellow); color: var(--navy); font: inherit; font-size: 15px; font-weight: 900;
  transition: background .18s ease, transform .18s ease;
}
.btn-submit:hover { background: var(--yellow-2); transform: translateY(-2px); }
.form-tip { font-size: 11.5px; text-align: center; color: rgba(255,255,255,.5); }

.site-footer { background: var(--navy-3); color: rgba(255,255,255,.56); padding: 48px 0 32px; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 40px; align-items: start; }
.brand-footer .brand-text small { color: rgba(255,255,255,.42); }
.footer-desc { font-size: 12.5px; margin-top: 13px; max-width: 320px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; }
.footer-links a:hover { color: var(--yellow); }
.footer-meta { text-align: right; font-size: 12px; line-height: 1.9; }
.powered { color: rgba(255,255,255,.34); }

.toast {
  position: fixed; left: 50%; bottom: 34px; transform: translate(-50%, 16px);
  background: var(--navy); color: #fff; border: 1px solid rgba(255,197,61,.5);
  padding: 12px 22px; border-radius: 999px; font-size: 13px; opacity: 0; pointer-events: none;
  transition: .25s ease; z-index: 30; max-width: calc(100% - 40px); text-align: center;
  box-shadow: 0 16px 36px rgba(12,24,56,.3);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 960px) {
  .wrap { width: calc(100% - 40px); }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 72px 0 68px; }
  .hero h1 { max-width: 720px; }
  .hero-mosaic { max-width: 560px; margin: 0 auto; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .course-grid { grid-template-columns: 1fr 1fr; }
  .course-card.feature { grid-column: span 2; }
  .step-grid { grid-template-columns: 1fr 1fr; }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .case-grid { grid-template-columns: 1fr 1fr; }
  .case-card:nth-child(3) { grid-column: span 2; }
  .site-nav {
    position: absolute; top: 74px; left: 0; right: 0; z-index: 21;
    display: none; flex-direction: column; gap: 0; margin: 0;
    background: var(--navy); padding: 8px 20px 18px; border-bottom: 3px solid var(--yellow);
    box-shadow: 0 24px 40px rgba(12,24,56,.28);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.10); }
  .site-nav a::after { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .header-cta { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 26px; }
  .footer-meta { text-align: left; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { height: 66px; }
  .site-nav { top: 66px; padding: 8px 16px 16px; }
  .section { padding: 58px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-inner { padding: 56px 0 58px; }
  .hero-mosaic { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile { min-height: 128px; padding: 20px 16px; }
  .tile b { font-size: 28px; }
  .about-numbers { grid-template-columns: 1fr; }
  .course-grid, .step-grid, .cert-grid, .case-grid { grid-template-columns: 1fr; }
  .course-card.feature, .case-card:nth-child(3) { grid-column: span 1; }
  .contact-form { padding: 22px; }
}
