/* =========================================================
   补习班 bukeban.cn｜深海蓝专业视觉
   Mobile First：基础样式适配手机，768px / 1024px 向上增强
   ========================================================= */
:root {
  --navy-950: #0b2032;
  --navy-900: #102d46;
  --navy-800: #1a3a5c;
  --blue-600: #287fb4;
  --blue-500: #3498db;
  --blue-100: #dceef7;
  --ice: #f3f8fb;
  --paper: #fff;
  --ink: #142b3e;
  --muted: #5e7180;
  --gold: #eebc68;
  --line: #dce6ec;
  --shadow: 0 22px 60px rgba(12, 45, 68, .1);
  --radius-lg: 24px;
  --radius-md: 16px;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans SC", "Source Han Sans CN", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.25; }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.section { padding: 76px 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; z-index: 9999; top: 8px; left: 8px; padding: 10px 16px;
  color: #fff; background: var(--navy-950); transform: translateY(-150%); border-radius: 8px;
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* 顶部导航 */
.site-header {
  position: fixed; z-index: 1000; top: 0; left: 0; width: 100%;
  border-bottom: 1px solid transparent; transition: background .25s, border-color .25s, box-shadow .25s;
}
.site-header.scrolled { background: rgba(255,255,255,.94); border-color: var(--line); box-shadow: 0 8px 26px rgba(10,35,53,.06); backdrop-filter: blur(12px); }
.nav-wrap { min-height: 72px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; line-height: 1; }
.brand-mark {
  width: 42px; height: 42px; display: grid; place-items: center; color: #fff;
  background: var(--navy-800); border-radius: 11px; font: 700 25px/1 Georgia, serif;
  box-shadow: inset -6px -6px 12px rgba(0,0,0,.1);
}
.brand strong { display: block; font-size: 18px; letter-spacing: .12em; }
.brand small { display: block; margin-top: 7px; color: var(--muted); font-size: 9px; letter-spacing: .14em; }
.menu-toggle {
  width: 48px; height: 48px; display: grid; align-content: center; gap: 5px; padding: 0 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; cursor: pointer;
}
.menu-toggle span:not(.sr-only) { display: block; width: 100%; height: 2px; background: var(--navy-800); transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.main-nav {
  position: fixed; inset: 72px 0 auto; display: grid; gap: 6px; padding: 18px 20px 24px;
  background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  transform: translateY(-140%); opacity: 0; visibility: hidden; transition: .25s ease;
}
.main-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
.main-nav a { min-height: 46px; display: flex; align-items: center; padding: 0 14px; font-weight: 650; border-radius: 9px; }
.main-nav a:hover { background: var(--ice); color: var(--blue-600); }
.main-nav .nav-cta { justify-content: center; color: #fff; background: var(--navy-800); }

/* 通用标题与按钮 */
.section-heading { max-width: 720px; margin-bottom: 38px; }
.section-heading.compact { margin-inline: auto; text-align: center; }
.section-kicker, .eyebrow {
  margin-bottom: 12px; color: var(--blue-600); font-size: 12px; font-weight: 800;
  letter-spacing: .17em; text-transform: uppercase;
}
.section-heading h2, .area-copy h2, .cert-copy h2, .faq-intro h2, .contact-copy h2 {
  margin-bottom: 16px; font-size: clamp(30px, 8vw, 46px); letter-spacing: -.035em;
}
.section-heading > p:last-child, .split > p, .area-copy > p, .cert-copy > p, .faq-intro > p { color: var(--muted); font-size: 18px; }
.btn {
  min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  padding: 0 22px; border: 1px solid transparent; border-radius: 10px; font-weight: 750;
  cursor: pointer; transition: transform .2s, background .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: var(--navy-800); box-shadow: 0 12px 24px rgba(26,58,92,.2); }
.btn-primary:hover { background: var(--navy-950); box-shadow: 0 16px 30px rgba(26,58,92,.28); }
.btn-ghost { border-color: #b8cad5; background: rgba(255,255,255,.55); }
.btn-ghost:hover { background: #fff; border-color: var(--navy-800); }

/* Hero */
.hero {
  position: relative; min-height: 100svh; padding: 112px 0 44px; overflow: hidden;
  background: linear-gradient(130deg, #f8fbfd 0%, #edf6fa 58%, #daeaf2 100%);
}
.hero::before { content: ""; position: absolute; width: 430px; height: 430px; right: -240px; top: 85px; border: 1px solid rgba(52,152,219,.2); border-radius: 50%; box-shadow: 0 0 0 55px rgba(52,152,219,.04), 0 0 0 120px rgba(52,152,219,.025); }
.hero-grid { position: absolute; inset: 0; opacity: .35; background-image: linear-gradient(rgba(37,105,144,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(37,105,144,.07) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to right, #000, transparent 75%); }
.hero-layout { position: relative; display: grid; gap: 42px; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 9px; }
.eyebrow span { width: 28px; height: 2px; background: var(--blue-500); }
.hero h1 { margin-bottom: 22px; font-size: clamp(38px, 11vw, 70px); letter-spacing: -.045em; }
.hero h1 em { color: var(--blue-600); font-style: normal; }
.hero-subtitle { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-bottom: 13px; color: var(--navy-800); font-size: 18px; font-weight: 750; }
.hero-subtitle i { width: 3px; height: 3px; background: var(--gold); border-radius: 50%; }
.hero-intro { max-width: 650px; margin-bottom: 28px; color: var(--muted); font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.micro-trust { margin: 17px 0 0; color: var(--muted); font-size: 13px; }
.micro-trust span { color: var(--blue-600); }
.hero-visual { position: relative; }
.visual-card { position: relative; padding: 16px; background: rgba(20,54,78,.96); border: 1px solid rgba(255,255,255,.2); border-radius: 18px; box-shadow: 0 28px 70px rgba(16,45,70,.22); transform: rotate(1deg); overflow: hidden; }
.visual-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255,255,255,.08), transparent 35%); pointer-events: none; }
.visual-label { display: flex; justify-content: space-between; color: #c8dce7; font-size: 10px; letter-spacing: .16em; }
.visual-card svg { width: 100%; }
.formula { position: absolute; padding: 4px 9px; color: rgba(255,255,255,.68); border: 1px solid rgba(255,255,255,.16); border-radius: 5px; font: italic 12px Georgia, serif; }
.formula-a { top: 62px; left: 28px; }
.formula-b { top: 94px; right: 21px; }
.visual-note { display: flex; gap: 8px; justify-content: center; margin-top: -15px; padding-bottom: 5px; }
.visual-note span { padding: 5px 8px; color: #d9ebf3; background: rgba(255,255,255,.08); border-radius: 4px; font-size: 10px; }
.stat-row { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 42px; background: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.9); border-radius: 14px; box-shadow: 0 16px 40px rgba(16,55,78,.08); backdrop-filter: blur(8px); }
.stat-row div { padding: 18px 10px; text-align: center; }
.stat-row div:nth-child(odd) { border-right: 1px solid var(--line); }
.stat-row div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.stat-row strong { display: block; color: var(--navy-800); font: 700 29px/1 Georgia, serif; }
.stat-row sup { margin-left: 2px; font: 650 11px sans-serif; }
.stat-row span { display: block; margin-top: 7px; color: var(--muted); font-size: 12px; }

/* 师资介绍 */
.about { background: #fff; }
.about-layout { display: grid; gap: 34px; }
.teacher-card { max-width: 430px; padding: 13px; background: var(--ice); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.method-board { position: relative; min-height: 420px; padding: 27px 23px 23px; color: #fff; background: linear-gradient(145deg, #244d6a, #102d46); border-radius: 17px; overflow: hidden; }
.method-board::before { content: ""; position: absolute; width: 220px; height: 220px; right: -105px; top: -95px; border: 34px solid rgba(255,255,255,.04); border-radius: 50%; }
.method-head { position: relative; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.15); }
.method-head small { display: block; margin-bottom: 8px; color: #8fd0f1; font: 800 10px/1.4 sans-serif; letter-spacing: .2em; }
.method-head strong { display: block; font-size: 23px; line-height: 1.4; }
.method-head p { margin: 7px 0 0; color: #bfd3df; font-size: 14px; }
.method-steps { position: relative; display: grid; gap: 8px; margin: 20px 0; padding: 0; list-style: none; }
.method-steps li { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: center; min-height: 58px; padding: 9px 11px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.11); border-radius: 10px; }
.method-steps b { width: 32px; height: 32px; display: grid; place-items: center; color: var(--navy-900); background: var(--gold); border-radius: 8px; font: 800 10px/1 sans-serif; }
.method-steps strong, .method-steps small { display: block; }
.method-steps strong { font-size: 15px; }
.method-steps small { margin-top: 1px; color: #bfd3df; font-size: 12px; }
.method-evidence { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.method-evidence span { padding: 6px 3px; color: #dcecf4; background: rgba(255,255,255,.07); border-radius: 5px; font-size: 11px; font-weight: 700; text-align: center; }
.teacher-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 8px 5px; }
.teacher-meta p { margin: 0; color: var(--muted); font-size: 12px; }
.teacher-meta .teacher-name { margin-bottom: 5px; color: var(--ink); font-size: 20px; font-weight: 800; }
.verified { padding: 5px 9px; color: var(--blue-600); background: var(--blue-100); border-radius: 5px; font-size: 11px; font-weight: 750; }
.about-content blockquote { position: relative; margin: 0 0 24px; padding-left: 25px; color: var(--navy-800); border-left: 3px solid var(--gold); font-size: clamp(20px, 5vw, 27px); font-weight: 700; line-height: 1.65; }
.about-content > p { color: var(--muted); font-size: 18px; }
.credential-list { display: grid; gap: 12px; margin-top: 28px; }
.credential-list article { display: flex; gap: 14px; align-items: center; padding: 14px; background: var(--ice); border-radius: 12px; }
.credential-list article > span { flex: 0 0 44px; height: 44px; display: grid; place-items: center; color: #fff; background: var(--navy-800); border-radius: 10px; font-weight: 800; }
.credential-list h3 { margin: 0 0 3px; font-size: 16px; }
.credential-list p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

/* 信任墙 */
.trust-strip { background: var(--navy-950); color: #fff; }
.trust-strip .section-kicker { color: #83c8ec; }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.13); }
.trust-item { padding: 27px 15px; background: var(--navy-950); text-align: center; }
.line-icon { width: 46px; height: 46px; display: grid; place-items: center; margin: 0 auto 13px; color: var(--gold); border: 1px solid rgba(238,188,104,.4); border-radius: 50%; font-size: 23px; }
.trust-item h3 { margin: 0 0 5px; font-size: 16px; }
.trust-item p { margin: 0; color: #9fb4c2; font-size: 15px; }

/* 课程 */
.courses { background: var(--ice); }
.course-grid { display: grid; gap: 16px; }
.course-card, .one-to-one { position: relative; padding: 28px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.course-card { transition: transform .25s, box-shadow .25s; }
.course-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.course-card.featured { color: #fff; background: var(--navy-800); border-color: var(--navy-800); }
.course-no { position: absolute; top: 17px; right: 20px; color: rgba(26,58,92,.1); font: 700 50px Georgia, serif; }
.featured .course-no { color: rgba(255,255,255,.08); }
.subject-tag { display: inline-block; margin-bottom: 28px; color: var(--blue-600); font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.featured .subject-tag { color: #91d2f4; }
.course-card h3 { margin-bottom: 14px; font-size: 25px; }
.course-card > p { color: var(--muted); }
.featured > p { color: #c5d8e4; }
.course-card ul { display: grid; gap: 7px; margin: 22px 0 28px; padding: 0; list-style: none; }
.course-card li { position: relative; padding-left: 18px; font-size: 14px; }
.course-card li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }
.course-card a { display: inline-flex; gap: 18px; align-items: center; color: var(--blue-600); font-weight: 750; }
.featured a { color: #fff; }
.course-card a span { transition: transform .2s; }
.course-card a:hover span { transform: translateX(5px); }
.one-to-one { display: grid; place-content: center; min-height: 285px; text-align: center; background: linear-gradient(145deg, #fff 0 50%, #eef6fa 50%); }
.one-to-one > p:first-child { margin-bottom: 0; color: var(--muted); font-size: 10px; letter-spacing: .25em; }
.one-to-one strong { display: block; color: var(--navy-800); font: 700 65px/1.1 Georgia, serif; }
.one-to-one strong span { margin: 0 2px; color: var(--gold); font-size: 32px; font-style: italic; }
.one-to-one h3 { margin: 7px 0 12px; }
.one-to-one p:last-child { margin: 0; color: var(--muted); font-size: 13px; }

/* 上门范围 */
.service-area { overflow: hidden; }
.area-layout { display: grid; gap: 34px; align-items: center; }
.districts { display: flex; flex-wrap: wrap; gap: 9px; margin: 25px 0 14px; }
.districts span { padding: 7px 12px; color: var(--navy-800); background: var(--ice); border: 1px solid var(--blue-100); border-radius: 6px; font-size: 13px; font-weight: 700; }
.area-copy small { color: var(--muted); font-size: 14px; }
.map-card { width: min(100%, 500px); justify-self: center; padding: 14px; background: linear-gradient(145deg, #f5fafc, #e5f1f6); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.map-card { margin: 0 auto; overflow: hidden; }
.map-card img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; border-radius: 15px; }
.map-card figcaption { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 12px 0 0; color: var(--muted); font-size: 11px; text-align: center; }
.pulse { width: 8px; height: 8px; background: #3ca65f; border-radius: 50%; box-shadow: 0 0 0 5px rgba(60,166,95,.12); }

/* 成果示例 */
.results { background: var(--navy-950); color: #fff; }
.results .section-kicker { color: #83c8ec; }
.results .section-heading > p { color: #9fb4c2; }
.result-grid { display: grid; gap: 14px; }
.result-card { position: relative; padding: 28px 22px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-md); }
.demo-badge, .score-badge { position: absolute; top: 15px; right: 15px; padding: 3px 7px; color: var(--gold); border: 1px solid rgba(238,188,104,.35); border-radius: 4px; font-size: 10px; }
.result-card > p:first-of-type { color: #9fb4c2; font-size: 13px; }
.result-card h3 { display: flex; align-items: baseline; gap: 9px; margin: 24px 0; font: 400 28px/1 Georgia, serif; }
.result-card h3 strong { color: var(--gold); font-size: 44px; }
.result-card h3 i { color: #6c8a9d; font-size: 17px; }
.result-card h3 small { font: 14px sans-serif; }
.result-card h3.rank { font-family: inherit; font-size: 15px; }
.result-card h3.rank strong { font-size: 25px; }
.progress { height: 3px; margin-bottom: 15px; background: rgba(255,255,255,.12); }
.progress span { display: block; width: var(--progress); height: 100%; background: linear-gradient(to right, var(--blue-500), var(--gold)); }
.result-card > p:last-child { margin: 0; color: #b4c7d2; font-size: 15px; }
.case-heading { display: flex; flex-wrap: wrap; gap: 12px 30px; align-items: end; justify-content: space-between; margin: 52px 0 20px; padding-top: 34px; border-top: 1px solid rgba(255,255,255,.13); }
.case-heading .section-kicker { margin-bottom: 7px; }
.case-heading h3 { margin: 0; color: #fff; font-size: 29px; }
.case-heading > p { margin: 0; color: #9fb4c2; font-size: 16px; }
.case-grid { display: grid; gap: 14px; }
.case-card { padding: 24px 21px; color: var(--ink); background: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius-md); box-shadow: 0 20px 45px rgba(0,0,0,.13); }
.case-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.case-top span { color: var(--navy-800); font-size: 17px; font-weight: 800; }
.case-top small { color: var(--muted); font-size: 13px; }
.score-change { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; margin: 22px 0 18px; }
.score-change > span { padding: 13px 10px; background: var(--ice); border-radius: 10px; text-align: center; }
.score-change > span.after { background: #fff6e6; border: 1px solid #f2d29c; }
.score-change small, .score-change strong { display: block; }
.score-change small { color: var(--muted); font-size: 12px; }
.score-change strong { margin-top: 4px; color: var(--navy-800); font: 700 34px/1.2 Georgia, serif; }
.score-change .after strong { color: #a46415; }
.score-change strong em { margin-left: 2px; font: normal 13px sans-serif; }
.score-change > i { color: var(--blue-500); font: normal 24px/1 sans-serif; }
.case-card > p { margin: 0; color: var(--muted); font-size: 15px; }
.case-card > p strong { color: var(--navy-800); }
.evidence-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 7px; align-items: center; margin: 22px 0 18px; }
.evidence-flow span { min-height: 64px; display: grid; place-items: center; padding: 9px 5px; color: var(--navy-800); background: var(--ice); border: 1px solid var(--line); border-radius: 10px; font-size: 13px; font-weight: 800; text-align: center; }
.evidence-flow span:last-child { color: #85540e; background: #fff6e6; border-color: #f2d29c; }
.evidence-flow i { color: var(--blue-500); font: normal 18px/1 sans-serif; }
.content-note { margin: 22px auto 0; max-width: 950px; color: #a9bdc9; font-size: 14px; text-align: center; }
.content-note a { color: #91d2f4; border-bottom: 1px solid rgba(145,210,244,.45); }

/* 证书墙 */
.certificates { background: #fff; }
.cert-layout { display: grid; gap: 35px; align-items: center; }
.seal { display: inline-flex; gap: 8px; align-items: center; margin-top: 8px; padding: 8px 12px; color: #277341; background: #edf8f0; border-radius: 6px; font-size: 12px; font-weight: 700; }
.seal span { width: 20px; height: 20px; display: grid; place-items: center; color: #fff; background: #3ca65f; border-radius: 50%; }
.cert-wall { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.certificate { position: relative; min-height: 230px; padding: 24px 12px; background: #fbfcfd; border: 1px solid var(--line); text-align: center; box-shadow: 7px 7px 0 #edf3f6; }
.certificate::before { content: ""; position: absolute; inset: 8px; border: 1px solid #e7c98f; pointer-events: none; }
.cert-icon { width: 64px; height: 64px; display: grid; place-items: center; margin: 14px auto 21px; color: var(--gold); border: 2px solid var(--gold); border-radius: 50%; font: 700 26px serif; box-shadow: 0 0 0 4px #f8ecd6; }
.certificate h3 { margin-bottom: 8px; font-size: 16px; }
.certificate p { margin-bottom: 14px; color: var(--muted); font-size: 14px; }
.certificate > span { color: #98a7b0; font: 9px Georgia, serif; letter-spacing: .2em; }

/* 大连本地指南与站内内容入口 */
.guides { background: var(--ice); }
.guide-grid { display: grid; gap: 14px; }
.guide-card { display: flex; flex-direction: column; min-height: 260px; padding: 25px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: 0 14px 34px rgba(12,45,68,.06); transition: transform .2s, box-shadow .2s, border-color .2s; }
.guide-card:hover { transform: translateY(-4px); border-color: #aacdde; box-shadow: var(--shadow); }
.guide-card > span { align-self: flex-start; padding: 4px 9px; color: var(--blue-600); background: var(--blue-100); border-radius: 5px; font-size: 12px; font-weight: 800; }
.guide-card h3 { margin: 22px 0 12px; font-size: 23px; }
.guide-card p { color: var(--muted); font-size: 16px; }
.guide-card b { margin-top: auto; color: var(--blue-600); font-size: 14px; }

/* FAQ */
.faq { background: var(--ice); }
.faq-layout { display: grid; gap: 35px; }
.faq-intro a { display: inline-flex; gap: 15px; align-items: center; color: var(--blue-600); font-weight: 750; }
.accordion details { border-top: 1px solid #cddde5; }
.accordion details:last-child { border-bottom: 1px solid #cddde5; }
.accordion summary { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 15px; cursor: pointer; font-weight: 750; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary span { position: relative; flex: 0 0 25px; height: 25px; border: 1px solid #abc2cf; border-radius: 50%; }
.accordion summary span::before, .accordion summary span::after { content: ""; position: absolute; top: 11px; left: 6px; width: 11px; height: 1px; background: var(--navy-800); transition: transform .2s; }
.accordion summary span::after { transform: rotate(90deg); }
.accordion details[open] summary span::after { transform: rotate(0); }
.accordion details p { margin: -2px 38px 22px 0; color: var(--muted); font-size: 16px; }

/* 联系 */
.contact { color: #fff; background: linear-gradient(120deg, var(--navy-950), var(--navy-800)); overflow: hidden; }
.contact-layout { display: grid; gap: 36px; }
.section-kicker.light { color: #83c8ec; }
.contact-copy > p:not(.section-kicker) { color: #bbceda; }
.contact-methods { display: grid; gap: 10px; margin: 27px 0 15px; }
.contact-methods a, .contact-methods button { min-height: 67px; display: flex; align-items: center; gap: 14px; padding: 10px 14px; color: #fff; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 10px; text-align: left; cursor: pointer; transition: background .2s; }
.contact-methods a:hover, .contact-methods button:hover { background: rgba(255,255,255,.12); }
.contact-methods > * > span { width: 38px; height: 38px; display: grid; place-items: center; color: var(--gold); border: 1px solid rgba(238,188,104,.35); border-radius: 50%; font-size: 9px; font-weight: 800; }
.contact-methods small, .contact-methods strong { display: block; }
.contact-methods small { color: #91aaba; font-size: 10px; }
.contact-methods strong { margin-top: 2px; font-size: 15px; }
.privacy-note { color: #819baa; font-size: 11px; }
.contact-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 25px 0 16px; }
.contact-tags span { padding: 7px 11px; color: #d8e8f1; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13); border-radius: 7px; font-size: 12px; }
.contact-card { padding: 25px 20px; color: var(--ink); background: #fff; border-radius: var(--radius-lg); box-shadow: 0 28px 70px rgba(0,0,0,.2); }
.contact-card-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.contact-card-head span { font-size: 20px; font-weight: 800; }
.contact-card-head small { padding: 4px 9px; color: #277341; background: #edf8f0; border-radius: 5px; font-size: 10px; }
.contact-label { margin: 24px 0 4px; color: var(--muted); font-size: 12px; font-weight: 700; }
.contact-number { width: min(100%, 310px); height: auto; margin: 0 auto 4px 0; }
.contact-tip { margin: 0; color: var(--muted); font-size: 11px; }
.wechat-line { width: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; margin: 20px 0 0; padding: 14px 16px; color: var(--navy-800); background: var(--ice); border: 1px solid var(--blue-100); border-radius: 9px; cursor: pointer; text-align: left; }
.wechat-line span { color: var(--muted); font-size: 12px; }
.wechat-line strong { font: 800 20px/1 sans-serif; letter-spacing: .04em; }
.wechat-line em { color: var(--blue-600); font-size: 12px; font-style: normal; font-weight: 800; }
.wechat-line:hover { border-color: var(--blue-500); background: #eaf5fa; }
.contact-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 23px; padding-top: 18px; border-top: 1px dashed var(--line); }
.contact-steps span { padding: 8px 5px; color: var(--navy-800); background: var(--ice); border-radius: 6px; font-size: 10px; font-weight: 750; text-align: center; }
.contact-form { padding: 24px 20px; color: var(--ink); background: #fff; border-radius: var(--radius-lg); box-shadow: 0 28px 70px rgba(0,0,0,.2); }
.form-title { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 25px; }
.form-title h3 { margin: 0; font-size: 23px; }
.form-title span { color: #a0adb5; font: 11px Georgia, serif; }
.contact-form label { display: block; margin-bottom: 16px; }
.contact-form label > span { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 700; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-height: 48px; padding: 11px 12px; color: var(--ink); background: #f7fafb; border: 1px solid var(--line); border-radius: 8px; outline: none; transition: border-color .2s, box-shadow .2s; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(52,152,219,.12); }
.form-submit { width: 100%; border: 0; }
.form-status { margin: 12px 0 0; color: var(--muted); font-size: 11px; text-align: center; }
.form-status.active { color: #236a3b; font-weight: 700; }

/* 页脚、移动联系栏、提示 */
.site-footer { padding: 55px 0 35px; color: #aec0cc; background: #071925; }
.brand.inverse strong { color: #fff; }
.brand.inverse small { color: #8198a6; }
.footer-top { display: grid; gap: 32px; }
.footer-brand p { margin: 16px 0 0; font-size: 12px; }
.footer-top nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.footer-top nav a { font-size: 13px; }
.footer-top nav a:hover, .site-footer a:hover { color: #fff; }
.friend-link small { display: block; margin-bottom: 8px; color: #708895; font-size: 10px; letter-spacing: .15em; }
.friend-link a { color: #fff; font-size: 13px; }
.friend-link span { color: var(--gold); }
.footer-bottom { display: grid; gap: 7px; margin-top: 35px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.1); font-size: 10px; }
.footer-bottom p { margin: 0; }
.footer-bottom span { margin: 0 5px; color: #506673; }
.mobile-bar { position: fixed; z-index: 900; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: 1fr 1.3fr; min-height: 59px; padding: 7px; background: rgba(255,255,255,.95); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(12,45,68,.1); backdrop-filter: blur(10px); }
.mobile-bar a { display: grid; place-items: center; font-size: 14px; font-weight: 750; }
.mobile-bar a:last-child { color: #fff; background: var(--navy-800); border-radius: 8px; }
.toast { position: fixed; z-index: 2000; left: 50%; bottom: 24px; max-width: calc(100% - 30px); padding: 10px 17px; color: #fff; background: #173a50; border-radius: 8px; box-shadow: var(--shadow); font-size: 13px; transform: translate(-50%, 20px); opacity: 0; visibility: hidden; transition: .25s; }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

/* 独立指南页：服务搜索意图与长尾问题 */
.guide-page .site-header { background: rgba(255,255,255,.97); border-color: var(--line); box-shadow: 0 8px 26px rgba(10,35,53,.06); }
.guide-hero { padding: 125px 0 66px; background: linear-gradient(135deg, #f7fbfd, #e6f2f7); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 25px; color: var(--muted); font-size: 13px; }
.breadcrumb a { color: var(--blue-600); }
.guide-hero h1 { max-width: 880px; margin-bottom: 18px; font-size: clamp(36px, 8vw, 60px); letter-spacing: -.045em; }
.guide-hero > .container > p { max-width: 820px; color: var(--muted); font-size: 19px; }
.guide-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.guide-tags span { padding: 6px 10px; color: var(--navy-800); background: #fff; border: 1px solid var(--blue-100); border-radius: 7px; font-size: 13px; font-weight: 750; }
.guide-main { padding: 66px 0 90px; }
.guide-layout { display: grid; gap: 38px; align-items: start; }
.guide-article { min-width: 0; }
.guide-block { padding: 0 0 46px; margin-bottom: 46px; border-bottom: 1px solid var(--line); }
.guide-block:last-child { margin-bottom: 0; border-bottom: 0; }
.guide-block h2 { margin-bottom: 17px; font-size: clamp(27px, 6vw, 38px); }
.guide-block h3 { margin: 28px 0 10px; font-size: 21px; }
.guide-block p, .guide-block li { color: #425b6d; font-size: 17px; }
.guide-block ul, .guide-block ol { display: grid; gap: 10px; padding-left: 1.3em; }
.guide-lead { padding: 19px 20px; color: var(--navy-800) !important; background: var(--ice); border-left: 4px solid var(--blue-500); border-radius: 0 10px 10px 0; font-weight: 700; }
.guide-points { display: grid; gap: 12px; margin-top: 24px; }
.guide-points article { padding: 19px 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.guide-points h3 { margin: 0 0 7px; font-size: 19px; }
.guide-points p { margin: 0; font-size: 15px; }
.guide-aside { padding: 22px; background: var(--ice); border: 1px solid var(--line); border-radius: var(--radius-md); }
.guide-aside h2 { margin-bottom: 12px; font-size: 22px; }
.guide-aside p { color: var(--muted); font-size: 15px; }
.guide-aside nav { display: grid; margin: 18px 0 22px; border-top: 1px solid var(--line); }
.guide-aside nav a { padding: 10px 0; color: var(--navy-800); border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 750; }
.guide-aside .btn { width: 100%; }
.guide-related { display: grid; gap: 10px; margin-top: 18px; }
.guide-related a { padding: 13px; background: #fff; border: 1px solid var(--line); border-radius: 9px; font-size: 14px; font-weight: 700; }
.guide-cta { padding: 27px 23px; color: #fff; background: var(--navy-900); border-radius: var(--radius-md); }
.guide-cta h2 { color: #fff; }
.guide-cta p { color: #c4d7e2; }
.guide-cta .btn { color: var(--navy-900); background: var(--gold); }
.guide-page .site-footer { padding-bottom: 35px; }

/* 滚动渐显；关闭动画偏好时不执行 */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
.js .delay-1 { transition-delay: .08s; }
.js .delay-2 { transition-delay: .16s; }
.js .delay-3 { transition-delay: .24s; }

/* 平板：768px 以上 */
@media (min-width: 768px) {
  .container { width: min(100% - 64px, var(--container)); }
  .section { padding: 100px 0; }
  .hero { padding-top: 130px; }
  .hero-layout { grid-template-columns: 1.08fr .92fr; gap: 35px; }
  .hero h1 { font-size: clamp(48px, 6.4vw, 70px); }
  .stat-row { grid-template-columns: repeat(4, 1fr); margin-top: 65px; }
  .stat-row div { padding: 22px 12px; }
  .stat-row div:not(:last-child) { border-right: 1px solid var(--line); }
  .stat-row div:nth-child(-n+2) { border-bottom: 0; }
  .about-layout { grid-template-columns: .82fr 1.18fr; gap: 60px; align-items: center; }
  .credential-list { grid-template-columns: repeat(2, 1fr); }
  .credential-list article { align-items: flex-start; flex-direction: column; }
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .one-to-one { grid-column: 1 / -1; min-height: 230px; }
  .area-layout { grid-template-columns: .9fr 1.1fr; gap: 55px; }
  .result-grid, .case-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-grid { grid-template-columns: repeat(3, 1fr); }
  .cert-layout { grid-template-columns: .9fr 1.1fr; gap: 70px; }
  .certificate { min-height: 280px; padding-top: 43px; }
  .faq-layout { grid-template-columns: .75fr 1.25fr; gap: 80px; }
  .contact-layout { grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
  .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .contact-form { padding: 34px; }
  .footer-top { grid-template-columns: 1.2fr .8fr 1fr; align-items: start; }
  .footer-bottom { grid-template-columns: 1fr auto; }
  .footer-bottom > a { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .guide-points { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .map-card { width: min(86vw, 320px); padding: 10px; }
  .map-card figcaption { font-size: 10px; line-height: 1.5; }
}

/* 电脑：1024px 以上 */
@media (min-width: 1024px) {
  .site-header { position: absolute; }
  .site-header.scrolled { position: fixed; }
  .nav-wrap { min-height: 82px; }
  .menu-toggle { display: none; }
  .main-nav { position: static; display: flex; align-items: center; gap: 5px; padding: 0; background: none; border: 0; box-shadow: none; transform: none; opacity: 1; visibility: visible; }
  .main-nav a { min-height: 44px; padding: 0 15px; font-size: 14px; }
  .main-nav .nav-cta { margin-left: 12px; padding-inline: 20px; }
  .hero { min-height: 870px; padding-top: 160px; }
  .hero-layout { gap: 70px; }
  .hero-visual { margin-top: 15px; }
  .visual-card { padding: 20px; }
  .formula { font-size: 14px; }
  .stat-row { margin-top: 78px; }
  .section-heading.split { max-width: none; display: grid; grid-template-columns: 1fr 410px; gap: 60px; align-items: end; }
  .section-heading.split > p { margin: 0; }
  .course-grid { grid-template-columns: repeat(3, 1fr); }
  .one-to-one { grid-column: 1 / -1; min-height: 180px; }
  .course-card, .one-to-one { padding: 36px 32px; }
  .contact-card { padding: 36px; }
  .site-footer { padding-bottom: 30px; }
  .mobile-bar { display: none; }
  .toast { bottom: 28px; }
  .guide-layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 70px; }
  .guide-aside { position: sticky; top: 105px; }
}

@media (min-width: 1280px) {
  .hero h1 { font-size: 70px; }
  .about-layout { gap: 95px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .mobile-bar, .hero-visual, .contact-form, .toast { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero { min-height: 0; padding-top: 40px; }
  .section { padding: 35px 0; }
  body { color: #000; background: #fff; }
}
