/* ==========================================================================
   龙樱学园 Dragon Sakura — 设计系统
   风格：现代简约 · 暖白留白 · 大标题 · 大圆角卡片
   品牌色：樱红 #C91449 / 墨黑 #182327 / 暖白 #FCFAF6
   ========================================================================== */

/* ---------- 1. 设计令牌 ---------- */
:root {
  --sakura: #C91449;
  --sakura-700: #9E0E38;
  --sakura-600: #B01140;
  --sakura-wash: #FCEBF1;
  --sakura-line: #F2CBDA;

  --ink: #182327;
  --ink-80: #2E3C42;
  --ink-65: #52626A;
  --ink-45: #808F96;
  --ink-25: #B9C3C8;

  --cream: #FCFAF6;
  --sand: #F5F0E7;
  --sand-2: #EFE8DB;
  --white: #FFFFFF;

  --line: rgba(24, 35, 39, .10);
  --line-soft: rgba(24, 35, 39, .06);

  /* 业务分区淡彩（呼应参考站的粉彩卡片） */
  --t-gaokao: #FCEBF1;
  --t-study: #E8F0F7;
  --t-life: #E8F1EA;
  --t-care: #F1ECF6;
  --t-guide: #F3ECDD;

  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 30px;
  --radius-xl: 40px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(24, 35, 39, .05);
  --shadow-sm: 0 1px 2px rgba(24, 35, 39, .04), 0 10px 26px -14px rgba(24, 35, 39, .14);
  --shadow-md: 0 2px 6px rgba(24, 35, 39, .04), 0 26px 50px -28px rgba(24, 35, 39, .22);
  --shadow-lg: 0 4px 10px rgba(24, 35, 39, .05), 0 44px 80px -40px rgba(24, 35, 39, .28);

  --max: 1160px;
  --max-narrow: 860px;
  --gutter: 20px;
  --header-h: 72px;

  --ease: cubic-bezier(.22, .68, .32, 1);
}

/* ---------- 2. 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Source Han Sans SC",
               "Noto Sans CJK SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.no-bottom-bar { padding-bottom: 0 !important; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.24; letter-spacing: -.015em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--sakura); color: #fff; }

:focus-visible {
  outline: 3px solid var(--sakura);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- 3. 布局 ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { width: 100%; max-width: var(--max-narrow); margin: 0 auto; padding: 0 var(--gutter); }

.section { padding: 96px 0; position: relative; }
.section-sm { padding: 64px 0; }
.section-tight { padding: 72px 0; }
.section-sand { background: var(--sand); }
.section-white { background: var(--white); }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- 4. 文字 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--sakura);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: currentColor;
  opacity: .55;
}
.eyebrow.plain::before { display: none; }

.display {
  font-size: clamp(2rem, 5.2vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.display-sm {
  font-size: clamp(1.65rem, 3.6vw, 2.4rem);
  font-weight: 750;
  line-height: 1.28;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.h2 { font-size: clamp(1.5rem, 3.2vw, 2.15rem); font-weight: 750; letter-spacing: -.025em; line-height: 1.3; text-wrap: balance; }
.h3 { font-size: clamp(1.1rem, 2vw, 1.3rem); font-weight: 700; line-height: 1.45; text-wrap: balance; }

.lead { font-size: clamp(1rem, 1.5vw, 1.12rem); color: var(--ink-65); line-height: 1.9; }
.muted { color: var(--ink-65); }
.small { font-size: 13.5px; line-height: 1.75; color: var(--ink-45); }
.tiny { font-size: 12.5px; line-height: 1.7; color: var(--ink-45); }

.accent { color: var(--sakura); }
.mark-hl {
  background: linear-gradient(transparent 62%, var(--sakura-wash) 62%);
  padding: 0 .12em;
}

.stack-sm > * + * { margin-top: 12px; }
.stack > * + * { margin-top: 20px; }
.stack-lg > * + * { margin-top: 32px; }

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .22s var(--ease), background .22s var(--ease),
              border-color .22s var(--ease), box-shadow .22s var(--ease), color .22s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--sakura); color: #fff; box-shadow: 0 12px 26px -14px rgba(201, 20, 73, .75); }
.btn-primary:hover { background: var(--sakura-600); box-shadow: 0 16px 32px -14px rgba(201, 20, 73, .85); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(24, 35, 39, .03); }

.btn-light { background: rgba(255, 255, 255, .9); color: var(--ink); border-color: var(--line); }
.btn-light:hover { background: #fff; border-color: var(--ink-25); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-80); }

.btn-sm { min-height: 42px; padding: 0 20px; font-size: 14.5px; }
.btn-lg { min-height: 56px; padding: 0 32px; font-size: 16.5px; }
.btn-block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--sakura);
}
.link-arrow svg { transition: transform .24s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 6. 头部导航 ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(252, 250, 246, .82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--line-soft); background: rgba(252, 250, 246, .94); }

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 34px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 18px; font-weight: 750; letter-spacing: .02em; }
.brand-sub { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-45); font-weight: 600; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 550;
  color: var(--ink-80);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav-link:hover { background: rgba(24, 35, 39, .05); color: var(--ink); }
.nav-link[aria-current="page"], .nav-link.is-active { color: var(--sakura); background: var(--sakura-wash); }
.nav-link .chev { transition: transform .24s var(--ease); opacity: .5; }

.nav-item:hover > .nav-link .chev,
.nav-item:focus-within > .nav-link .chev { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 260px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.nav-item:hover > .dropdown,
.nav-item:focus-within > .dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: block;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  transition: background .18s var(--ease);
}
.dropdown a:hover { background: var(--sand); }
.dropdown .dd-title { font-size: 15px; font-weight: 650; }
.dropdown .dd-desc { font-size: 12.5px; color: var(--ink-45); line-height: 1.6; margin-top: 2px; }

.header-cta { flex-shrink: 0; }

.burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: transparent;
  cursor: pointer;
}
.burger span { display: block; width: 17px; height: 1.6px; background: var(--ink); border-radius: 2px; position: relative; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 17px; height: 1.6px; background: var(--ink); border-radius: 2px;
}
.burger span::before { top: -5.5px; }
.burger span::after { top: 5.5px; }

/* 手机抽屉 */
.drawer {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--cream);
  z-index: 99;
  overflow-y: auto;
  padding: 20px var(--gutter) 120px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .26s var(--ease), transform .26s var(--ease), visibility .26s;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
body.drawer-open { overflow: hidden; }

.drawer .dg + .dg { margin-top: 6px; }
.drawer .dg-title {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  padding: 16px 4px;
  font-size: 17px; font-weight: 650;
  background: none; border: 0; border-bottom: 1px solid var(--line-soft);
  cursor: pointer; text-align: left;
}
.drawer .dg-title .chev { transition: transform .24s var(--ease); color: var(--ink-45); }
.drawer .dg.is-open .dg-title .chev { transform: rotate(180deg); }
.drawer .dg-body { display: none; padding: 8px 0 12px; }
.drawer .dg.is-open .dg-body { display: block; }
.drawer .dg-body a {
  display: block; padding: 11px 10px; border-radius: 12px;
  font-size: 15px; color: var(--ink-65);
}
.drawer .dg-body a:hover { background: var(--sand); color: var(--ink); }
.drawer .drawer-cta { margin-top: 28px; }
.drawer .drawer-meta { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line-soft); }

/* 顶栏底部滚动进度线 */
.header-progress {
  position: absolute; left: 0; bottom: -1px; height: 1.5px; width: 0;
  background: var(--sakura); opacity: .9;
  transition: width .1s linear;
}

/* ---------- 7. 首屏 ---------- */
.hero { padding: 64px 0 88px; position: relative; overflow: hidden; }
.hero::after {
  content: "";
  position: absolute;
  top: -260px; right: -180px;
  width: 640px; height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(201, 20, 73, .07), rgba(201, 20, 73, 0) 68%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-note {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 10px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 600; color: var(--ink-65);
  box-shadow: var(--shadow-xs);
  margin-bottom: 22px;
}
.hero-note .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sakura); flex-shrink: 0; }
.hero .display { margin-bottom: 22px; }
.br-m { display: none; }
.br-d { display: none; }
@media (max-width: 720px) { .br-m { display: inline; } }
/* 桌面双栏时首屏文字列较窄，需额外断行避免末行孤字 */
@media (min-width: 1081px) { .br-d { display: inline; } }
.hero .lead { max-width: 520px; margin-bottom: 30px; }
.hero-actions { margin-bottom: 30px; }

.quick-links { display: flex; flex-wrap: wrap; gap: 8px; }
.quick-links a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 13.5px; font-weight: 550; color: var(--ink-65);
  background: rgba(255, 255, 255, .6);
  transition: all .2s var(--ease);
}
.quick-links a:hover { border-color: var(--sakura-line); color: var(--sakura); background: var(--sakura-wash); }

.hero-visual { position: relative; }
.hero-visual .hl-caption { margin-top: 14px; }

/* 考试科目卡（首屏视觉） */
.exam-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-md);
}
.exam-card .ec-label {
  font-size: 12px; letter-spacing: .14em; font-weight: 700;
  color: var(--ink-45); text-transform: uppercase;
}
.ec-subjects {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px; margin: 18px 0 24px;
}
.ec-subject {
  padding: 14px 8px; text-align: center;
  border-radius: var(--radius-sm);
  background: var(--sand);
  font-size: 16px; font-weight: 650;
}
.ec-subject.dim { color: var(--ink-45); background: transparent; border: 1px dashed var(--line); }
.ec-divider { height: 1px; background: var(--line-soft); margin: 0 0 22px; }
.ec-langs { display: flex; flex-wrap: wrap; gap: 9px; }
.ec-lang {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 16px; border-radius: var(--radius-pill);
  background: var(--sand); font-size: 14.5px; font-weight: 600; color: var(--ink-65);
}
.ec-lang.on {
  background: var(--sakura); color: #fff;
  box-shadow: 0 10px 22px -12px rgba(201, 20, 73, .8);
}
.ec-lang.on::after { content: "✓"; font-size: 13px; opacity: .9; }
.ec-foot { margin-top: 20px; font-size: 12.5px; color: var(--ink-45); line-height: 1.7; }

/* ---------- 8. 卡片 ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2-1 { grid-template-columns: 1.25fr .75fr; }

/* 主内容 + 侧栏：宽屏双栏，窄屏自动单栏
   注意：栏宽必须用类，不能用内联样式——内联样式优先级高于媒体查询，
   会导致手机端仍按双栏渲染，被卡片 min-width 撑宽到 600px+。 */
.grid-aside { display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: start; }
.grid-aside-wide { display: grid; grid-template-columns: 1.35fr .65fr; gap: 40px; align-items: start; }
.side-sticky { position: sticky; top: 100px; }

@media (max-width: 1080px) {
  .grid-aside, .grid-aside-wide { grid-template-columns: 1fr; gap: 32px; }
  .side-sticky { position: static; top: auto; }
}

.card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card-pad-sm { padding: 24px; }
.card-tint { background: var(--sand); border-color: transparent; }
.card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--sakura-line); }

.card-icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--sakura-wash);
  color: var(--sakura);
  margin-bottom: 20px;
  flex-shrink: 0;
}
.card-icon.blue { background: var(--t-study); color: #3C6C93; }
.card-icon.green { background: var(--t-life); color: #47735A; }
.card-icon.purple { background: var(--t-care); color: #6C5A83; }
.card-icon.sand { background: var(--t-guide); color: #8A7546; }

.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-65); font-size: 15px; line-height: 1.85; }

/* 编号步骤 */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative;
  padding: 30px 28px 28px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
}
.step-num {
  display: block;
  font-size: 13px; font-weight: 800; letter-spacing: .1em;
  color: var(--sakura); margin-bottom: 16px;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--ink-65); font-size: 14.5px; line-height: 1.8; }
.step-tag { display: block; font-size: 12.5px; color: var(--ink-45); margin-top: 6px; }

/* 汉字词卡 */
.word-row { display: flex; flex-wrap: wrap; gap: 12px; }
.word-chip {
  display: inline-flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 16px 22px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  min-width: 108px;
}
.word-chip .w { font-size: 26px; font-weight: 750; letter-spacing: .04em; }
.word-chip .r { font-size: 12px; color: var(--ink-45); letter-spacing: .06em; }

/* 对照清单 */
.check-list { display: grid; gap: 14px; }
.check-list li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.check-list .ck {
  width: 26px; height: 26px; flex-shrink: 0; margin-top: 2px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--sakura-wash); color: var(--sakura);
  font-size: 12px; font-weight: 800;
}
.check-list li.soft .ck { background: var(--sand); color: var(--ink-45); }
.check-list .cl-t { font-weight: 650; font-size: 15.5px; }
.check-list .cl-d { font-size: 14.5px; color: var(--ink-65); line-height: 1.8; margin-top: 3px; }

/* 服务卡（带分区色） */
.svc-card {
  display: flex; flex-direction: column;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line-soft);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  height: 100%;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.svc-card .svc-tag {
  align-self: flex-start;
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
  padding: 5px 12px; border-radius: var(--radius-pill);
  background: var(--sakura-wash); color: var(--sakura);
  margin-bottom: 18px;
}
.svc-card[data-tone="study"] .svc-tag { background: var(--t-study); color: #3A6A92; }
.svc-card[data-tone="life"] .svc-tag { background: var(--t-life); color: #467356; }
.svc-card[data-tone="care"] .svc-tag { background: var(--t-care); color: #6C5A83; }
.svc-card h3 { margin-bottom: 10px; }
.svc-card p { color: var(--ink-65); font-size: 14.5px; line-height: 1.8; flex: 1; }
.svc-card .link-arrow { margin-top: 20px; }

/* ---------- 9. 问答手风琴 ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.faq details[open] { border-color: var(--sakura-line); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 22px 24px;
  cursor: pointer;
  font-size: 16px; font-weight: 650;
  list-style: none;
  line-height: 1.6;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q {
  flex-shrink: 0;
  width: 26px; height: 26px; margin-top: 1px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px; background: var(--sakura-wash); color: var(--sakura);
  font-size: 12.5px; font-weight: 800;
}
.faq summary .sign {
  margin-left: auto; flex-shrink: 0;
  width: 22px; height: 22px; margin-top: 2px;
  position: relative; color: var(--ink-45);
}
.faq summary .sign::before, .faq summary .sign::after {
  content: ""; position: absolute; background: currentColor; border-radius: 2px;
  transition: transform .28s var(--ease), opacity .28s var(--ease);
}
.faq summary .sign::before { left: 3px; top: 10px; width: 16px; height: 1.7px; }
.faq summary .sign::after { top: 3px; left: 10px; width: 1.7px; height: 16px; }
.faq details[open] summary .sign::after { transform: rotate(90deg); opacity: 0; }
.faq details[open] summary .sign { color: var(--sakura); }
.faq .a { padding: 0 24px 24px 64px; color: var(--ink-65); font-size: 15px; line-height: 1.9; }
.faq .a strong { color: var(--ink); font-weight: 650; }

/* ---------- 10. 文章 / 指南 ---------- */
.article-card {
  display: grid; grid-template-columns: 1fr 320px; gap: 0;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.article-body { padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.article-cover {
  background: linear-gradient(140deg, var(--sakura) 0%, #E04A72 48%, #F3A2B8 100%);
  position: relative;
  min-height: 220px;
  display: flex; align-items: center; justify-content: center;
  padding: 28px;
}
.article-cover .cover-txt {
  color: #fff; font-size: 20px; font-weight: 750; line-height: 1.5;
  letter-spacing: -.01em;
  text-shadow: 0 2px 12px rgba(120, 0, 30, .25);
}
.article-cover .cover-badge {
  position: absolute; top: 20px; left: 20px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em;
  padding: 5px 11px; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .92); color: var(--sakura);
}

.prose { max-width: 720px; }
.prose > * + * { margin-top: 22px; }
.prose h2 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); margin-top: 44px; }
.prose h3 { font-size: 1.12rem; margin-top: 32px; }
.prose p { color: var(--ink-80); font-size: 16.5px; line-height: 1.95; }
.prose ul { display: grid; gap: 12px; }
.prose ul li {
  position: relative; padding-left: 26px; color: var(--ink-80); font-size: 16px; line-height: 1.9;
}
.prose ul li::before {
  content: ""; position: absolute; left: 6px; top: 13px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--sakura);
}
.prose ol { display: grid; gap: 14px; counter-reset: n; }
.prose ol li {
  position: relative; padding-left: 40px; color: var(--ink-80); font-size: 16px; line-height: 1.9;
}
.prose ol li::before {
  counter-increment: n; content: counter(n);
  position: absolute; left: 0; top: 4px;
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--sakura-wash); color: var(--sakura);
  font-size: 13px; font-weight: 800;
}
.prose blockquote {
  margin: 0; padding: 22px 26px;
  background: var(--sand); border-radius: var(--radius);
  border-left: 3px solid var(--sakura);
  color: var(--ink-80); font-size: 15.5px;
}
.prose hr { border: 0; border-top: 1px solid var(--line-soft); margin: 40px 0; }

.callout {
  padding: 22px 26px;
  border-radius: var(--radius);
  background: var(--sand);
  font-size: 14.5px; line-height: 1.85; color: var(--ink-65);
}
.callout.warn { background: var(--sakura-wash); }
.callout .callout-t { font-weight: 700; color: var(--ink); margin-bottom: 6px; font-size: 15px; }

.source-list { display: grid; gap: 10px; }
.source-list a {
  display: inline-flex; align-items: flex-start; gap: 8px;
  font-size: 13.5px; color: var(--ink-65); line-height: 1.7;
  text-decoration: underline; text-decoration-color: var(--line);
  text-underline-offset: 3px;
}
.source-list a:hover { color: var(--sakura); text-decoration-color: var(--sakura-line); }

/* ---------- 11. 页面头（内页） ---------- */
.page-head { padding: 52px 0 20px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-45); margin-bottom: 26px; }
.breadcrumb a:hover { color: var(--sakura); }
.breadcrumb .sep { opacity: .5; }
.page-head .display-sm { max-width: 760px; margin-bottom: 20px; }
.page-head .lead { max-width: 680px; }

/* 锚点子导航 */
.anchor-nav {
  position: sticky; top: var(--header-h);
  z-index: 50;
  background: rgba(252, 250, 246, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 8px;
}
.anchor-nav ul {
  display: flex; gap: 4px; overflow-x: auto;
  padding: 12px 0;
  scrollbar-width: none;
}
.anchor-nav ul::-webkit-scrollbar { display: none; }
.anchor-nav a {
  display: inline-block;
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 550; color: var(--ink-65);
  white-space: nowrap;
  transition: all .2s var(--ease);
}
.anchor-nav a:hover { background: var(--sand); color: var(--ink); }
.anchor-nav a.is-active { background: var(--ink); color: #fff; }

/* ---------- 12. 咨询表单 ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14.5px; font-weight: 650; }
.field label .req { color: var(--sakura); margin-left: 3px; }
.field .hint { font-size: 12.5px; color: var(--ink-45); line-height: 1.6; }

.input, .select, .textarea {
  width: 100%;
  padding: 13px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--sakura);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(201, 20, 73, .10);
}
.textarea { min-height: 120px; resize: vertical; line-height: 1.8; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23808F96' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }

.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block;
  padding: 10px 17px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 14.5px; font-weight: 550; color: var(--ink-65);
  cursor: pointer;
  transition: all .2s var(--ease);
  background: var(--cream);
}
.chip input:checked + span { background: var(--sakura); border-color: var(--sakura); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--sakura); outline-offset: 2px; }

.checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.7; }
.checkbox input { width: 19px; height: 19px; margin-top: 3px; accent-color: var(--sakura); flex-shrink: 0; }
.checkbox a { color: var(--sakura); text-decoration: underline; text-underline-offset: 3px; }

.form-note { font-size: 12.5px; color: var(--ink-45); line-height: 1.75; }

/* ---------- 13. 底部行动区 ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: 76px 0;
  background: var(--ink);
  color: #fff;
}
.cta-band::after {
  content: "";
  position: absolute; right: -120px; top: -160px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 20, 73, .55), rgba(201, 20, 73, 0) 66%);
  pointer-events: none;
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band .display-sm { color: #fff; max-width: 640px; margin-bottom: 18px; }
.cta-band p { color: rgba(255, 255, 255, .72); max-width: 620px; font-size: 16px; line-height: 1.9; }
.cta-band .btn-row { margin-top: 30px; }
.cta-band .btn-ghost { border-color: rgba(255, 255, 255, .28); color: #fff; }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .5); }

/* ---------- 14. 页脚 ---------- */
.footer { background: var(--cream); border-top: 1px solid var(--line-soft); padding: 68px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px 30px; }
.footer-brand img { height: 42px; width: auto; margin-bottom: 18px; }
.footer-brand .fb-name { font-size: 17px; font-weight: 750; margin-bottom: 10px; }
.footer-brand p { font-size: 14px; color: var(--ink-65); line-height: 1.85; max-width: 320px; }
.footer h4 { font-size: 14px; font-weight: 700; letter-spacing: .04em; margin-bottom: 16px; color: var(--ink); }
.footer-links { display: grid; gap: 11px; }
.footer-links a { font-size: 14px; color: var(--ink-65); transition: color .2s var(--ease); }
.footer-links a:hover { color: var(--sakura); }
.footer-contact { display: grid; gap: 12px; }
.footer-contact .fc-item { display: flex; gap: 10px; font-size: 14px; color: var(--ink-65); line-height: 1.7; }
.footer-contact .fc-item strong { color: var(--ink); font-weight: 650; }
.footer-bottom {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between;
  font-size: 13px; color: var(--ink-45);
}
.footer-bottom .fb-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom a:hover { color: var(--sakura); }

/* ---------- 15. 手机底部操作栏 ---------- */
.bottom-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(252, 250, 246, .95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line-soft);
  transform: translateY(110%);
  transition: transform .32s var(--ease);
}
.bottom-bar.is-visible { transform: translateY(0); }
.bottom-bar .btn { flex: 1; min-height: 48px; font-size: 15px; padding: 0 12px; }

/* ---------- 16. 通用小件 ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 9px; }
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--sand);
  font-size: 13.5px; font-weight: 600; color: var(--ink-65);
}
.pill.sakura { background: var(--sakura-wash); color: var(--sakura); }

.kv { display: grid; grid-template-columns: 96px 1fr; gap: 10px 18px; font-size: 14.5px; }
.kv dt { color: var(--ink-45); }
.kv dd { margin: 0; color: var(--ink-80); }

.tag-line { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 13px; color: var(--ink-45); }

.divider { height: 1px; background: var(--line-soft); }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat { padding: 26px; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.stat .stat-t { font-size: 14px; font-weight: 650; margin-bottom: 6px; }
.stat .stat-d { font-size: 13.5px; color: var(--ink-65); line-height: 1.75; }

.note-box {
  padding: 18px 22px;
  background: var(--sand);
  border-radius: var(--radius-sm);
  font-size: 13.5px; color: var(--ink-65); line-height: 1.8;
}

/* 动画 */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- 17. 响应式 ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 520px; }
  /* 品牌区独占一行，下面 4 个链接栏两两排布，避免出现半行孤栏 */
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 30px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 940px) {
  :root { --header-h: 64px; }
  .nav, .header-cta { display: none; }
  .burger { display: inline-flex; margin-left: auto; }
  .brand img { height: 30px; }

  .section { padding: 68px 0; }
  .section-sm { padding: 48px 0; }
  .hero { padding: 40px 0 60px; }

  .grid-3, .grid-4, .steps, .stat-row { grid-template-columns: 1fr 1fr; }
  .grid-2-1, .grid-2 { grid-template-columns: 1fr; }
  .article-card { grid-template-columns: 1fr; }
  .article-cover { order: -1; min-height: 180px; }
  .form-card { padding: 28px 22px; }

  .bottom-bar { display: flex; }
  body { padding-bottom: 78px; }
  .footer { padding-bottom: 40px; }
}

@media (max-width: 640px) {
  :root { --gutter: 18px; --radius-lg: 24px; --radius-xl: 28px; }
  body { font-size: 15.5px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 32px; }

  .grid-3, .grid-4, .steps, .stat-row, .form-grid, .ec-subjects { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .ec-subjects { grid-template-columns: repeat(3, 1fr); }
  .card { padding: 24px 22px; }
  .svc-card { padding: 24px 22px; }
  .step { padding: 24px 22px; }
  .faq summary { padding: 18px 18px; font-size: 15.5px; }
  .faq .a { padding: 0 18px 20px 58px; font-size: 14.5px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; }
  .hero-actions .btn { width: 100%; }
  .quick-links { gap: 7px; }
  .quick-links a { font-size: 13px; padding: 8px 13px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer { padding: 48px 0 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .word-chip { min-width: 92px; padding: 13px 16px; }
  .word-chip .w { font-size: 22px; }
  .exam-card { padding: 22px; }
  .article-body { padding: 26px 22px; }
  .cta-band { padding: 56px 0; }
  .form-card { padding: 24px 18px; }
  .kv { grid-template-columns: 1fr; gap: 4px 0; }
  .kv dt { font-size: 12.5px; }
}

/* ==========================================================================
   18. 美术层：日式纹样与原创插画
   纹样统一用 mask + background-color 染色，一个 svg 适配任意区块底色
   ========================================================================== */

/* 18.1 暖沙分区的青海波底纹 */
.section-sand { isolation: isolate; }
.section-sand::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-color: rgba(24, 35, 39, .036);
  -webkit-mask-image: url(../img/pattern-wave.svg);
  mask-image: url(../img/pattern-wave.svg);
  -webkit-mask-size: 92px 46px; mask-size: 92px 46px;
  -webkit-mask-repeat: repeat; mask-repeat: repeat;
  pointer-events: none;
}

/* 18.2 白色分区：极淡格子（障子）底纹，与暖沙区的青海波呼应 */
.section-white { isolation: isolate; }
.section-white::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-color: rgba(24, 35, 39, .022);
  -webkit-mask-image: url(../img/pattern-lattice.svg);
  mask-image: url(../img/pattern-lattice.svg);
  -webkit-mask-size: 30px 30px; mask-size: 30px 30px;
  -webkit-mask-repeat: repeat; mask-repeat: repeat;
  pointer-events: none;
}

/* 18.3 首屏：樱花枝 + 底部波纹 + 飘落花瓣 */
.hero-deco { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-deco .hd-branch {
  position: absolute; top: -54px; right: -60px;
  width: 430px; height: 430px;
  background: url(../img/art-sakura.svg) no-repeat center / contain;
  opacity: .5;
}
.hero-deco .hd-wave {
  position: absolute; left: 0; right: 0; bottom: 0; height: 104px;
  background-color: rgba(24, 35, 39, .05);
  -webkit-mask-image: url(../img/pattern-wave.svg);
  mask-image: url(../img/pattern-wave.svg);
  -webkit-mask-size: 84px 42px; mask-size: 84px 42px;
  -webkit-mask-repeat: repeat; mask-repeat: repeat;
  -webkit-mask-position: bottom left; mask-position: bottom left;
}
.hero-deco .hd-wave::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(252, 250, 246, 0) 42%, var(--cream) 100%);
}
.hero-deco .hd-petal {
  position: absolute; top: -34px;
  width: 13px; height: 13px;
  background: url(../img/petal.svg) no-repeat center / contain;
  opacity: 0;
  animation: petal-fall 24s linear infinite;
  will-change: transform, opacity;
}
@keyframes petal-fall {
  0%   { transform: translate3d(0, -40px, 0) rotate(0deg); opacity: 0; }
  9%   { opacity: .75; }
  72%  { opacity: .6; }
  100% { transform: translate3d(62px, 720px, 0) rotate(230deg); opacity: 0; }
}
.hero-deco .p1 { left:  6%; animation-duration: 23s; animation-delay: 0s; }
.hero-deco .p2 { left: 21%; animation-duration: 29s; animation-delay: 4.5s; width: 10px; height: 10px; }
.hero-deco .p3 { left: 38%; animation-duration: 26s; animation-delay: 9s; }
.hero-deco .p4 { left: 57%; animation-duration: 32s; animation-delay: 2s; width: 11px; height: 11px; }
.hero-deco .p5 { left: 74%; animation-duration: 25s; animation-delay: 12s; }
.hero-deco .p6 { left: 88%; animation-duration: 30s; animation-delay: 6.5s; width: 9px; height: 9px; }

/* 18.4 页头：底纹 + 栏目插画 */
.page-head { position: relative; overflow: hidden; }
.page-head::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background-color: rgba(24, 35, 39, .028);
  -webkit-mask-image: url(../img/pattern-shikaku.svg);
  mask-image: url(../img/pattern-shikaku.svg);
  -webkit-mask-size: 30px 30px; mask-size: 30px 30px;
  -webkit-mask-repeat: repeat; mask-repeat: repeat;
  pointer-events: none;
}
.page-head .wrap { position: relative; z-index: 1; display: flex; align-items: center; gap: 52px; }
.page-head .ph-inner { flex: 1; min-width: 0; }
.page-head .ph-art { flex: none; width: 264px; }
.page-head .ph-art img { width: 100%; height: auto; }

/* 18.5 底部行动区：白色青海波 */
.cta-band::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background-color: rgba(255, 255, 255, .085);
  -webkit-mask-image: url(../img/pattern-wave.svg);
  mask-image: url(../img/pattern-wave.svg);
  -webkit-mask-size: 96px 48px; mask-size: 96px 48px;
  -webkit-mask-repeat: repeat; mask-repeat: repeat;
  pointer-events: none;
}

/* 18.6 页脚：极淡青海波 */
.footer { position: relative; isolation: isolate; overflow: hidden; }
.footer::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-color: rgba(24, 35, 39, .03);
  -webkit-mask-image: url(../img/pattern-wave.svg);
  mask-image: url(../img/pattern-wave.svg);
  -webkit-mask-size: 120px 60px; mask-size: 120px 60px;
  -webkit-mask-repeat: repeat; mask-repeat: repeat;
  pointer-events: none;
}

/* 18.7 卡片：柔光与角部点缀 */
.card {
  background-image: radial-gradient(120% 108% at 100% 0%, rgba(201, 20, 73, .045), rgba(201, 20, 73, 0) 62%);
}
.card-tint { background-image: radial-gradient(120% 108% at 100% 0%, rgba(201, 20, 73, .05), rgba(201, 20, 73, 0) 60%); }

.svc-card { position: relative; overflow: hidden; }
.svc-card::before {
  content: "";
  position: absolute; right: -52px; top: -52px;
  width: 168px; height: 168px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 20, 73, .13), rgba(201, 20, 73, 0) 70%);
  pointer-events: none;
}
.svc-card[data-tone="study"]::before { background: radial-gradient(circle, rgba(60, 108, 147, .14), rgba(60, 108, 147, 0) 70%); }
.svc-card[data-tone="life"]::before { background: radial-gradient(circle, rgba(71, 115, 90, .14), rgba(71, 115, 90, 0) 70%); }
.svc-card[data-tone="care"]::before { background: radial-gradient(circle, rgba(108, 90, 131, .14), rgba(108, 90, 131, 0) 70%); }
.svc-card[data-tone="guide"]::before { background: radial-gradient(circle, rgba(138, 117, 70, .14), rgba(138, 117, 70, 0) 70%); }

/* 18.8 小节分隔：樱花枝分隔线 */
.ornament { padding: 0 0 62px; }
.rule-sakura {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin: 0 auto; max-width: 260px;
}
.rule-sakura::before, .rule-sakura::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, rgba(201, 20, 73, 0), var(--sakura-line));
}
.rule-sakura::after { background: linear-gradient(90deg, var(--sakura-line), rgba(201, 20, 73, 0)); }
.rule-sakura i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--sakura); opacity: .5;
}

@media (max-width: 1080px) {
  .hero-deco .hd-branch { width: 340px; height: 340px; top: -70px; right: -110px; opacity: .4; }
}
@media (max-width: 940px) {
  .page-head .ph-art { display: none; }
  .hero-deco .hd-branch { width: 260px; height: 260px; top: -90px; right: -120px; opacity: .32; }
}
@media (max-width: 640px) {
  .section-sand::before { -webkit-mask-size: 56px 28px; mask-size: 56px 28px; }
  .hero-deco .hd-wave { height: 76px; -webkit-mask-size: 56px 28px; mask-size: 56px 28px; }
  .hero-deco .hd-petal { width: 10px; height: 10px; }
}

@media print {
  .header, .bottom-bar, .drawer, .cta-band { display: none !important; }
}
