/* ============================================================
   繁星文化 · 官网样式
   品牌色：深青 #0E5C63 / 暖橙 #E98A47 / 米白 #F7F3EC
   ============================================================ */

:root {
  --ink: #0E5C63;
  --ink-deep: #062C31;
  --ink-soft: #3D7B80;
  --accent: #E98A47;
  --accent-deep: #D2732F;
  --paper: #F3EDE3;
  --shell: #FBF7F0;
  --white: #FFFFFF;
  --text: #1B2A2D;
  --muted: #64757A;
  --line: rgba(14, 92, 99, 0.12);
  --line-strong: rgba(14, 92, 99, 0.22);

  --radius-s: 8px;
  --radius: 14px;
  --radius-l: 22px;

  --container: 1160px;
  --pad-x: 24px;

  --shadow-s: 0 1px 2px rgba(6, 44, 49, 0.04);
  --shadow: 0 8px 30px -12px rgba(6, 44, 49, 0.16);
  --shadow-l: 0 24px 60px -28px rgba(6, 44, 49, 0.28);

  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
          "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
  /* 页面底色用暖米色而非纯白：卡片保持纯白，靠"纸白 vs 米底"的差
     形成层次。整站纯白会让区块之间没有边界，读起来一片空旷。 */
  background: var(--shell);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--ink-deep);
}

p { margin: 0; }

::selection { background: rgba(233, 138, 71, 0.24); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* 区块底色分三层：body 暖米（默认，透明接班）→ --paper 稍深的米 → --ink 深青。
   纯白只留给卡片，不再做整屏底色，避免大段留白显得空。 */
.section { padding: 96px 0; }
.section--tight { padding: 72px 0; }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section--ink { background: var(--ink-deep); color: rgba(255,255,255,0.82); }
.section--ink h2, .section--ink h3 { color: #fff; }

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

/* ---------- eyebrow / headings ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--accent-deep);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
}

.section-head h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.section-head .lead {
  margin-top: 20px;
  font-size: 16.5px;
  line-height: 1.9;
  color: var(--muted);
}

.section--ink .section-head .lead { color: rgba(255,255,255,0.66); }
.section--ink .eyebrow { color: var(--accent); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border: 1px solid transparent;
  border-radius: 100px;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease,
              border-color .18s ease, color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}

.btn--accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(233, 138, 71, 0.9);
}
.btn--accent:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -12px rgba(210, 115, 47, 0.9);
}

.btn--ink {
  background: var(--ink);
  color: #fff;
}
.btn--ink:hover { background: var(--ink-deep); transform: translateY(-1px); }

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--ink); background: rgba(14, 92, 99, 0.04); }

.btn--white {
  background: #fff;
  color: var(--ink-deep);
}
.btn--white:hover { background: var(--paper); transform: translateY(-1px); }

.btn--ghost-light {
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}
.btn--ghost-light:hover { border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.06); }

.btn--block { width: 100%; }
.btn--lg { padding: 17px 36px; font-size: 16px; }

.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  /* 与页面暖米底同色系，略提亮，滚动时才出现描边，避免顶部多一条硬线 */
  background: rgba(251, 247, 240, 0.9);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 20px -12px rgba(6, 44, 49, 0.3);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.brand__mark {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand__name {
  font-size: 17.5px;
  font-weight: 600;
  color: var(--ink-deep);
  letter-spacing: 0.08em;
}
.brand__sub {
  font-size: 8.5px;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav a {
  position: relative;
  padding: 8px 14px;
  font-size: 15px;
  color: var(--muted);
  border-radius: 100px;
  transition: color .18s ease, background-color .18s ease;
}
.nav a:hover { color: var(--ink); background: rgba(14, 92, 99, 0.05); }
.nav a.is-active { color: var(--ink); font-weight: 500; }
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 1px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.header__cta { flex-shrink: 0; padding: 11px 24px; font-size: 14.5px; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  /* 首屏用"暖米底 + 双暖光斑"承接页面底色，光斑比白底更有温度，
     同时保留右侧深色图片作为视觉重心 */
  background:
    radial-gradient(1100px 620px at 84% -14%, rgba(233, 138, 71, 0.20), transparent 62%),
    radial-gradient(900px 560px at -8% 108%, rgba(14, 92, 99, 0.13), transparent 62%),
    var(--shell);
  padding: 92px 0 100px;
  border-bottom: 1px solid var(--line);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.28;
  letter-spacing: 0.02em;
}
.hero h1 .hl {
  position: relative;
  white-space: nowrap;
  color: var(--ink);
}
.hero h1 .hl::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 6px;
  height: 10px;
  background: rgba(233, 138, 71, 0.26);
  border-radius: 2px;
  z-index: -1;
}

.hero__lead {
  margin-top: 26px;
  font-size: 17px;
  line-height: 1.95;
  color: var(--muted);
  max-width: 32em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
}
.hero__meta li {
  display: flex;
  align-items: center;
  gap: 7px;
  list-style: none;
}
.hero__meta li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.hero__meta { padding-left: 0; margin-bottom: 0; }

.hero__visual {
  position: relative;
}
.hero__figure {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-l);
  aspect-ratio: 4 / 4.4;
}
.hero__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,44,49,0) 45%, rgba(6,44,49,0.42) 100%);
}

.hero__badge {
  position: absolute;
  left: -26px;
  bottom: 34px;
  z-index: 2;
  background: #fff;
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  max-width: 240px;
}
.hero__badge strong {
  display: block;
  font-size: 15px;
  color: var(--ink-deep);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.hero__badge span {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 差异化三栏 ---------- */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.diff-item {
  background: #fff;
  padding: 34px 32px 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-s);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.diff-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}
.diff-item__num {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--accent-deep);
  font-weight: 500;
  margin-bottom: 14px;
}
.diff-item h3 {
  font-size: 17.5px;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}
.diff-item p {
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--muted);
}

/* ---------- 痛点列表 ---------- */
.pain {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.pain__item {
  position: relative;
  padding: 30px 32px 30px 68px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.pain__item:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}
.pain__idx {
  position: absolute;
  left: 30px;
  top: 32px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
}
.pain__item h3 {
  font-size: 16.5px;
  margin-bottom: 9px;
  letter-spacing: 0.02em;
}
.pain__item p {
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--muted);
}

/* ---------- 业务板块（深色区块） ---------- */
/* 首页中段此前是一整屏白，读起来没有落点。业务板块是"三个板块覆盖
   完整链路"的收束段，改成深青底最能形成节奏断点；卡片仍留白，
   在深底上浮起来，深色只是背景，不压内容。 */
.biz-section {
  background:
    radial-gradient(900px 480px at 88% -10%, rgba(233, 138, 71, 0.16), transparent 62%),
    radial-gradient(760px 420px at 4% 108%, rgba(61, 123, 128, 0.24), transparent 60%),
    var(--ink-deep);
}
.biz-section .section-head h2 { color: #fff; }
.biz-section .section-head .lead { color: rgba(255,255,255,0.62); }
.biz-section .eyebrow { color: var(--accent); }

.biz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.biz-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px 38px;
  display: flex;
  flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.biz-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}
.biz-card__mark {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(14, 92, 99, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--ink);
}
.biz-card h3 {
  font-size: 18px;
  margin-bottom: 14px;
  letter-spacing: 0.03em;
}
.biz-card p {
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--muted);
}
.biz-card__list {
  margin: 20px 0 0;
  padding: 20px 0 0;
  border-top: 1px dashed var(--line-strong);
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.biz-card__list li {
  font-size: 12.5px;
  color: var(--ink);
  background: rgba(14, 92, 99, 0.07);
  padding: 4px 11px;
  border-radius: 100px;
}

/* ---------- 流程 ---------- */
.flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.flow::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 21px;
  height: 1px;
  background: var(--line-strong);
}
.flow__step {
  position: relative;
  padding: 0 14px;
  text-align: center;
}
.flow__dot {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.flow__step:first-child .flow__dot {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.flow__step h3 {
  font-size: 15.5px;
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}
.flow__step p {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--muted);
}

/* ---------- 课程方向 ---------- */
.dir-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.dir-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease;
}
.dir-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.dir-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper);
}
.dir-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.dir-card:hover .dir-card__media img { transform: scale(1.04); }
.dir-card__body { padding: 28px 28px 32px; flex: 1; }
.dir-card h3 {
  font-size: 17.5px;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}
.dir-card p {
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--muted);
}
.dir-card__tag {
  display: inline-block;
  margin-top: 18px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--accent-deep);
  border: 1px solid rgba(233, 138, 71, 0.35);
  background: rgba(233, 138, 71, 0.07);
  padding: 3px 11px;
  border-radius: 100px;
}
.dir-card__tag--soft {
  color: var(--muted);
  border-color: var(--line-strong);
  background: rgba(14, 92, 99, 0.04);
}

/* ---------- 合作老师 ---------- */
/* 卡片顶部是老师本人的照片，三张统一裁成 4:5（与 .tch-card__media 比例
   一致），所以三张卡在同一行里高度天然对齐，图片不会被二次裁切。
   换照片时请保持 800×1000，否则 object-fit:cover 会重新取景。 */
.tch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.tch-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-s);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.tch-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}
.tch-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper);
}
.tch-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 人像焦点偏上，cover 裁切时优先保住头部 */
  object-position: center 22%;
  display: block;
  transition: transform .5s ease;
}
.tch-card:hover .tch-card__media img { transform: scale(1.04); }

.tch-card__body {
  padding: 24px 26px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.tch-card__name {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 4px;
}
.tch-card__name h3 {
  font-size: 18px;
  letter-spacing: 0.03em;
}
.tch-card__name h3 small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--accent-deep);
  margin-top: 4px;
}
.tch-card__body > p {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--muted);
}
.tch-card__meta {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tch-card__meta span {
  font-size: 12px;
  color: var(--ink);
  background: rgba(14, 92, 99, 0.07);
  padding: 4px 11px;
  border-radius: 100px;
}
.tch-card__meta span.is-soft {
  color: var(--muted);
  background: rgba(14, 92, 99, 0.04);
}

/* 板块尾注：说明名单口径，避免读者以为这里是全部合作方 */
.tch-note {
  margin-top: 30px;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 56em;
}

/* ---------- 强调色块 ---------- */
.claim {
  position: relative;
  border-radius: var(--radius-l);
  padding: 68px 72px;
  background:
    radial-gradient(700px 340px at 92% -20%, rgba(233, 138, 71, 0.22), transparent 65%),
    var(--ink-deep);
  color: rgba(255,255,255,0.8);
  overflow: hidden;
}
.claim::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -70px;
  width: 280px;
  height: 280px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23E98A47' fill-opacity='0.14' d='M12 0c0 6.6-5.4 12-12 12 6.6 0 12 5.4 12 12 0-6.6 5.4-12 12-12-6.6 0-12-5.4-12-12z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.claim h2 {
  color: #fff;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.45;
  max-width: 20em;
  position: relative;
  z-index: 1;
}
.claim p {
  margin-top: 22px;
  font-size: 16px;
  line-height: 1.95;
  max-width: 46em;
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,0.72);
}
.claim__actions {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ---------- 页头（内页） ---------- */
.page-head {
  padding: 64px 0 56px;
  background:
    radial-gradient(900px 400px at 88% -30%, rgba(233, 138, 71, 0.10), transparent 60%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}
.page-head h1 {
  font-size: clamp(28px, 3.6vw, 42px);
  letter-spacing: 0.03em;
}
.page-head .lead {
  margin-top: 18px;
  font-size: 16.5px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 40em;
}
.crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 22px;
}
.crumb a:hover { color: var(--ink); }
.crumb span { opacity: 0.5; }

/* ---------- 正文排版块 ---------- */
.prose { max-width: 780px; }
.prose h2 {
  font-size: 24px;
  margin: 52px 0 18px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  letter-spacing: 0.03em;
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.prose h3 {
  font-size: 17.5px;
  margin: 32px 0 10px;
  letter-spacing: 0.03em;
}
.prose p {
  font-size: 15.5px;
  line-height: 2;
  color: #2E4044;
  margin-bottom: 16px;
}
.prose p:last-child { margin-bottom: 0; }

/* ---------- 能力分组 ---------- */
.cap-group { margin-bottom: 48px; }
.cap-group:last-child { margin-bottom: 0; }
.cap-group__title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--accent-deep);
  text-transform: uppercase;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.cap-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px 40px;
}
.cap-item h4 {
  font-size: 16px;
  margin-bottom: 8px;
  letter-spacing: 0.03em;
  color: var(--ink-deep);
}
.cap-item p {
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--muted);
}

/* ---------- 项目经验 ---------- */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.proj {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 34px;
}
.proj h3 {
  font-size: 16.5px;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.proj h3::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.proj p {
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--muted);
}

/* ---------- 原则 ---------- */
.principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius);
  overflow: hidden;
}
.principle {
  background: var(--ink-deep);
  padding: 32px 26px;
}
.principle h3 {
  font-size: 15.5px;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}
.principle p {
  font-size: 13.5px;
  line-height: 1.9;
  color: rgba(255,255,255,0.6);
}

/* ---------- 表单 ---------- */
.form-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 64px;
  align-items: start;
}
.form-aside { position: sticky; top: 100px; }
.form-aside h2 {
  font-size: 22px;
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}
.form-aside p {
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--muted);
  margin-bottom: 16px;
}

.aside-steps {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.aside-steps li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}
.aside-steps b {
  flex-shrink: 0;
  width: 22px;
  font-weight: 600;
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 44px 44px 48px;
  box-shadow: var(--shadow);
}
.form-card__title {
  font-size: 19px;
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}
.form-card__sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 34px;
}

.field { margin-bottom: 26px; }
.field__label {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-deep);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
.field__req { color: var(--accent); font-size: 13px; }
.field__hint {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--muted);
  margin-left: auto;
}

.input, .textarea, .select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  background: #fff;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
  transition: border-color .18s ease, box-shadow .18s ease;
  appearance: none;
}
.input::placeholder, .textarea::placeholder { color: #A9B5B7; }
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(14, 92, 99, 0.09);
}
.textarea { min-height: 104px; resize: vertical; }

.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%2364757A' stroke-width='1.6' stroke-linecap='round' d='M1 1.5L6 6.5L11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
  cursor: pointer;
}

.radios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.radio {
  position: relative;
  display: block;
  cursor: pointer;
}
.radio input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.radio span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 13px 8px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  font-size: 14.5px;
  color: var(--muted);
  transition: all .18s ease;
  background: #fff;
  text-align: center;
}
.radio:hover span { border-color: var(--ink-soft); color: var(--ink); }
.radio input:checked + span {
  border-color: var(--ink);
  background: rgba(14, 92, 99, 0.05);
  color: var(--ink);
  font-weight: 500;
}
.radio input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
  cursor: pointer;
}
.check input {
  width: 17px;
  height: 17px;
  margin: 3px 0 0;
  accent-color: var(--ink);
  flex-shrink: 0;
  cursor: pointer;
}
.check a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.field__error {
  display: none;
  margin-top: 7px;
  font-size: 12.5px;
  color: #C0492B;
}
.field.is-invalid .input,
.field.is-invalid .textarea,
.field.is-invalid .select { border-color: #C0492B; }
.field.is-invalid .field__error { display: block; }
.field.is-invalid .radios span { border-color: rgba(192, 73, 43, 0.4); }

.hidden { display: none !important; }

.form-note {
  margin-top: 20px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted);
}

/* 提交结果 */
.result {
  display: none;
  text-align: center;
  padding: 32px 8px 12px;
}
.result.is-shown { display: block; }
.result__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: rgba(14, 92, 99, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.result h3 { font-size: 20px; margin-bottom: 12px; }
.result p { font-size: 14.5px; line-height: 1.9; color: var(--muted); max-width: 26em; margin: 0 auto 8px; }
.result__actions { margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* 兜底态：回显已填写内容，供一键复制 */
.fallback__box {
  margin: 22px auto 0;
  max-width: 460px;
  text-align: left;
}
.fallback__box pre {
  margin: 0 0 12px;
  padding: 16px 18px;
  background: rgba(14, 92, 99, 0.045);
  border: 1px solid rgba(14, 92, 99, 0.12);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--text);
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 260px;
  overflow-y: auto;
}
.fallback__box pre:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.form-error {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-s);
  background: rgba(192, 73, 43, 0.06);
  border: 1px solid rgba(192, 73, 43, 0.22);
  font-size: 13.5px;
  line-height: 1.8;
  color: #A03A1F;
}
.form-error.is-shown { display: block; }

/* ---------- 联系方式 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: stretch;
}

.contact-primary {
  background: var(--ink-deep);
  color: rgba(255,255,255,0.75);
  border-radius: var(--radius-l);
  padding: 52px 50px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.contact-primary::after {
  content: "";
  position: absolute;
  right: -50px;
  top: -50px;
  width: 240px;
  height: 240px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23E98A47' fill-opacity='0.12' d='M12 0c0 6.6-5.4 12-12 12 6.6 0 12 5.4 12 12 0-6.6 5.4-12 12-12-6.6 0-12-5.4-12-12z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.contact-primary h2 {
  color: #fff;
  font-size: 26px;
  line-height: 1.45;
  letter-spacing: 0.03em;
  position: relative;
  z-index: 1;
}
.contact-primary > p {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.95;
  color: rgba(255,255,255,0.65);
  max-width: 30em;
  position: relative;
  z-index: 1;
}
.contact-primary .btn {
  margin-top: 34px;
  align-self: flex-start;
  position: relative;
  z-index: 1;
}
.contact-primary__foot {
  margin-top: auto;
  padding-top: 34px;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255,255,255,0.42);
  position: relative;
  z-index: 1;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-item:hover { border-color: var(--line-strong); box-shadow: var(--shadow-s); }
.contact-item__icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 11px;
  background: rgba(14, 92, 99, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.contact-item__body { flex: 1; min-width: 0; }
.contact-item__label {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 6px;
}
.contact-item__value {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink-deep);
  letter-spacing: 0.03em;
  word-break: break-all;
}
.contact-item__desc {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

.qr-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 18px;
}
.qr-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 28px;
  text-align: center;
}
.qr {
  position: relative;
  width: 148px;
  height: 148px;
  margin: 0 auto 18px;
  border-radius: var(--radius-s);
  overflow: hidden;
  /* 正常态不要底色：微信图自带白色静区，卡片本身也是白的，
     再垫一层米白会变成一块"贴纸"；底色只在占位态给 */
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qr img { width: 100%; height: 100%; object-fit: contain; }
.qr__ph {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  color: #9AA7AA;
  padding: 0 12px;
  line-height: 1.6;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-s);
  width: 100%;
  height: 100%;
  justify-content: center;
}
.qr.is-empty { background: var(--paper); }
.qr.is-empty img { display: none; }
.qr.is-empty .qr__ph { display: flex; }

/* 圆形变体：抖音码本身是圆形 + 透明底，套方形浅底容器会「圆套方」 */
.qr--round {
  border-radius: 50%;
  background: transparent;
}
.qr--round.is-empty { background: var(--paper); }
.qr--round .qr__ph { border-radius: 50%; }
/* 视觉配平：微信码可见图案约 123px（148 × 320/384，四周留了静区），
   抖音圆按 contain 会是 143px，比微信大一圈。缩到同量级，两张码才对称。 */
.qr--round img { transform: scale(0.88); }

.qr-card h3 { font-size: 15.5px; margin-bottom: 6px; letter-spacing: 0.04em; }
.qr-card p { font-size: 13px; color: var(--muted); line-height: 1.8; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  background: none;
  border: none;
  text-align: left;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-deep);
  letter-spacing: 0.02em;
  cursor: pointer;
  line-height: 1.7;
}
.faq__q:hover { color: var(--ink); }
.faq__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  position: relative;
  transition: transform .22s ease;
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  background: var(--accent);
  border-radius: 2px;
}
.faq__icon::before { left: 0; right: 0; top: 9px; height: 1.5px; }
.faq__icon::after { top: 0; bottom: 0; left: 9px; width: 1.5px; transition: opacity .22s ease; }
.faq__item.is-open .faq__icon { transform: rotate(180deg); }
.faq__item.is-open .faq__icon::after { opacity: 0; }
.faq__a {
  display: none;
  padding: 0 60px 26px 0;
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--muted);
}
.faq__item.is-open .faq__a { display: block; }

/* ---------- footer ---------- */
.footer {
  background: var(--ink-deep);
  color: rgba(255,255,255,0.55);
  padding: 68px 0 34px;
  font-size: 14px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer .brand__name { color: #fff; }
.footer .brand__sub { color: rgba(255,255,255,0.34); }
.footer__desc {
  margin-top: 20px;
  font-size: 13.5px;
  line-height: 1.9;
  color: rgba(255,255,255,0.44);
  max-width: 26em;
}
.footer h4 {
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
  font-weight: 500;
  text-transform: uppercase;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 11px; }
.footer a { transition: color .18s ease; }
.footer a:hover { color: var(--accent); }
.footer__bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(255,255,255,0.34);
}
.footer__bottom .disclaimer { max-width: 52em; line-height: 1.9; }
.footer__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  flex-shrink: 0;
}
.footer__meta a { color: inherit; }
.footer__meta a:hover { color: var(--accent); }

/* ---------- 动效 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-in { opacity: 1; transform: none; }

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

/* ---------- 响应式 ---------- */
@media (max-width: 1060px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { max-width: 440px; }
  .hero__badge { left: 16px; bottom: 16px; }
  .form-layout { grid-template-columns: 1fr; gap: 44px; }
  .form-aside { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .principles { grid-template-columns: repeat(2, 1fr); }
  /* 老师板块始终三列一行：窄屏只收紧间距与字号，不改列数 */
  .tch-grid { gap: 16px; }
  .tch-card__body { padding: 20px 18px 24px; }
  .tch-card__name h3 { font-size: 16.5px; }
  .tch-card__body > p { font-size: 13.5px; line-height: 1.8; }
}

@media (max-width: 900px) {
  .section { padding: 68px 0; }
  .section--tight { padding: 54px 0; }
  .section-head { margin-bottom: 38px; }
  .nav, .header__cta { display: none; }
  .nav-toggle { display: flex; }

  .tch-grid { gap: 12px; }
  .tch-card__body { padding: 16px 14px 20px; }
  .tch-card__name h3 { font-size: 15.5px; }
  .tch-card__name h3 small { font-size: 11px; margin-top: 3px; }
  .tch-card__body > p { font-size: 12.5px; line-height: 1.75; margin-top: 10px; }
  .tch-card__meta { padding-top: 12px; gap: 5px; }
  .tch-card__meta span { font-size: 10.5px; padding: 3px 8px; }

  .nav.is-open {
    display: flex;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 20px 22px;
    background: var(--shell);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -22px rgba(6,44,49,0.4);
  }
  .nav.is-open a { padding: 13px 14px; border-radius: 10px; }
  .nav.is-open a.is-active::after { display: none; }

  .diff-grid { grid-template-columns: 1fr; }
  .pain { grid-template-columns: 1fr; }
  .biz-grid { grid-template-columns: 1fr; }
  .dir-grid { grid-template-columns: 1fr; }
  .proj-grid { grid-template-columns: 1fr; }
  .cap-list { grid-template-columns: 1fr; gap: 22px; }
  .qr-row { grid-template-columns: 1fr; }

  .flow {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .flow::before { display: none; }
  .flow__step {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 20px;
    text-align: left;
    padding: 0 0 30px;
    position: relative;
  }
  .flow__step::after {
    content: "";
    position: absolute;
    left: 20px;
    top: 42px;
    bottom: 0;
    width: 1px;
    background: var(--line-strong);
  }
  .flow__step:last-child::after { display: none; }
  .flow__dot { margin: 0; }
  .flow__step h3 { margin-top: 8px; }

  .claim { padding: 44px 30px; }
  .form-card { padding: 32px 24px 36px; }
  .contact-primary { padding: 40px 30px; }
  .page-head { padding: 44px 0 38px; }

  .footer__top { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer { padding: 52px 0 28px; }
}

@media (max-width: 600px) {
  .hero { padding: 56px 0 68px; }
  .hero h1 { font-size: 30px; }
  .hero__lead { font-size: 15.5px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .hero__figure { aspect-ratio: 4 / 3.6; }
  .hero__badge { position: static; max-width: none; margin-top: 16px; box-shadow: none; }

  .radios { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .hero__meta { gap: 8px 16px; font-size: 12.5px; }
  .section-head h2 { font-size: 24px; }
  .claim h2 { font-size: 21px; }
  .claim { padding: 36px 24px; }
  .claim__actions { flex-direction: column; align-items: stretch; }
  .claim__actions .btn { width: 100%; }
  .faq__a { padding-right: 0; }

  /* 手机端仍保持一行三张：卡片内边距与字号继续压缩，图片比例不变 */
  .tch-grid { gap: 8px; }
  .tch-card__body { padding: 12px 11px 16px; }
  .tch-card__name h3 { font-size: 14px; }
  .tch-card__name h3 small { font-size: 10px; letter-spacing: 0.02em; margin-top: 2px; }
  .tch-card__body > p { font-size: 11.5px; line-height: 1.7; margin-top: 8px; }
  .tch-card__meta { padding-top: 10px; gap: 4px; }
  .tch-card__meta span { font-size: 9.5px; padding: 2px 6px; }
  .tch-note { font-size: 12.5px; }
}

/* ---------- 2026-10-31 需求：指定段落桌面端整段单行显示 ---------- */
/* 仅在足够宽的视口生效（老师板块导语约需 1030px）；手机/平板自然换行，避免横向滚动 */
@media (min-width: 1200px) {
  .one-line-head { max-width: none; }
  .one-line-head .lead { white-space: nowrap; }
  .one-line { white-space: nowrap; max-width: none; }
}

/* ---------- 2026-10-31 需求：手机端浏览优化 ---------- */
html { scroll-behavior: smooth; }
body { overflow-x: hidden; -webkit-tap-highlight-color: transparent; }
/* 锚点跳转（#teachers / #directions）预留页头高度，避免标题被顶到屏幕外 */
section[id] { scroll-margin-top: 88px; }
@media (max-width: 760px) {
  /* iOS Safari：输入框字号低于 16px 聚焦时会强制放大页面 */
  .input, .textarea, .select { font-size: 16px; }
  /* 极小字号可读性微调（仍保持一行三张老师卡不降列） */
  .tch-card__name h3 small { font-size: 10.5px; }
  .tch-card__meta span { font-size: 10px; }
  .tch-card__body > p { font-size: 12px; }
}
