:root {
  --ink: #1d2524;
  --muted: #69736f;
  --line: #d8ded8;
  --paper: #f7f5f0;
  --surface: #ffffff;
  --green: #315e56;
  --green-deep: #173d38;
  --sage: #dfe9e3;
  --copper: #b17a4a;
  --plum: #503a56;
  --mist: #edf3f0;
  --shadow: 0 24px 70px rgba(23, 61, 56, 0.13);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100svh;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(210px, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  min-height: 76px;
  padding: 14px clamp(20px, 4vw, 56px);
  background: rgba(247, 245, 240, 0.9);
  border-bottom: 1px solid rgba(216, 222, 216, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 210px;
  color: var(--ink);
  text-decoration: none;
}

.brand-logo {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  object-fit: contain;
}

.brand-text {
  display: grid;
  gap: 2px;
  min-width: 96px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--green-deep);
  border-radius: 50%;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: 17px;
  line-height: 1.18;
}

.brand small {
  margin-top: -3px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.1;
  letter-spacing: 0;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  min-width: 64px;
  padding: 8px 12px;
  color: #47524f;
  text-align: center;
  text-decoration: none;
  border-radius: 999px;
  transition: background 180ms ease, color 180ms ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--green-deep);
  background: var(--sage);
}

.header-cta,
.primary-button,
.secondary-button,
.text-button,
.service-card button,
.person-card button,
.article-card button,
.site-footer button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: var(--radius);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.header-cta,
.primary-button {
  min-height: 44px;
  padding: 0 18px;
  color: #fff;
  background: var(--green-deep);
}

.header-cta:hover,
.primary-button:hover {
  transform: translateY(-1px);
  background: #0f302c;
}

.primary-button.dark {
  background: #111816;
}

.secondary-button {
  min-height: 44px;
  padding: 0 18px;
  color: var(--green-deep);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
}

.secondary-button:hover {
  transform: translateY(-1px);
  border-color: var(--green);
}

.text-button {
  width: fit-content;
  padding: 0;
  color: var(--green-deep);
  background: transparent;
  font-weight: 700;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.menu-toggle {
  display: none;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 35%);
  align-items: end;
  gap: clamp(24px, 5vw, 72px);
  min-height: min(760px, 78svh);
  padding: clamp(72px, 10vw, 128px) clamp(20px, 5vw, 72px) clamp(44px, 7vw, 84px);
  overflow: hidden;
  background: #111816;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(17, 24, 22, 0.82), rgba(17, 24, 22, 0.48) 48%, rgba(17, 24, 22, 0.16)),
    linear-gradient(180deg, rgba(17, 24, 22, 0.18), rgba(17, 24, 22, 0.34));
  pointer-events: none;
}

.hero-carousel,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-carousel {
  z-index: 0;
}

.hero-slide {
  opacity: 0;
  background-image: url("https://images.unsplash.com/photo-1583847268964-b28dc8f51f92?auto=format&fit=crop&w=2200&q=86");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
  transition: opacity 700ms ease, transform 1800ms ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide-consulting {
  background-image: url("https://images.unsplash.com/photo-1583847268964-b28dc8f51f92?auto=format&fit=crop&w=2200&q=86");
  background-position: center right;
}

.hero-slide-family {
  background-image: url("https://images.unsplash.com/photo-1502672260266-1c1ef2d93688?auto=format&fit=crop&w=2200&q=86");
  background-position: center;
}

.hero-slide-enterprise {
  background-image: url("https://images.unsplash.com/photo-1533090161767-e6ffed986c88?auto=format&fit=crop&w=2200&q=86");
  background-position: center right;
}

.hero-content,
.hero-panel,
.hero-controls {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 800px;
  color: #fff;
}

.hero-message {
  display: none;
  max-width: 780px;
}

.hero-message.active {
  display: block;
  animation: heroMessageIn 420ms ease both;
}

@keyframes heroMessageIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 800;
}

.hero .eyebrow,
.enterprise-hero .eyebrow,
.image-band .eyebrow {
  color: #d8b487;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.16;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(25px, 2.8vw, 38px);
  font-weight: 750;
}

.hero-copy {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(15px, 1.25vw, 17px);
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-highlights span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 12px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}

.hero-highlights svg {
  width: 16px;
  height: 16px;
  color: #d8b487;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-controls {
  position: absolute;
  left: clamp(20px, 5vw, 72px);
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.hero-arrow,
.hero-dots button {
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.hero-arrow {
  width: 38px;
  height: 38px;
}

.hero-dots {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-dots button {
  width: 28px;
  height: 8px;
  padding: 0;
  border-radius: 999px;
}

.hero-arrow:hover,
.hero-dots button:hover,
.hero-dots button.active {
  background: rgba(255, 255, 255, 0.38);
  border-color: rgba(255, 255, 255, 0.52);
}

.hero-arrow:focus-visible,
.hero-dots button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.78);
  outline-offset: 3px;
}

.hero-panel {
  display: grid;
  gap: 1px;
  align-self: end;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-panel div {
  padding: 22px;
  color: #fff;
  background: rgba(10, 16, 15, 0.34);
}

.hero-panel span {
  display: block;
  font-size: 26px;
  font-weight: 760;
}

.hero-panel p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.55;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.trust-band div {
  padding: 26px clamp(20px, 4vw, 54px);
  border-right: 1px solid var(--line);
}

.trust-band div:last-child {
  border-right: 0;
}

.trust-band span,
.service-card span,
.person-card span,
.expert-profile-copy span,
.course-card span,
.article-grid span {
  display: block;
  color: var(--copper);
  font-size: 12px;
  font-weight: 800;
}

.trust-band strong {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.5;
}

.section {
  padding: clamp(64px, 8vw, 112px) 0;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: start;
}

.split-section h2 {
  margin-bottom: 0;
  font-size: clamp(22px, 2.3vw, 32px);
}

.enterprise-copy h1 {
  margin-bottom: 0;
  font-size: clamp(24px, 2.5vw, 34px);
}

.image-band h2 {
  margin-bottom: 0;
  font-size: clamp(21px, 2vw, 27px);
}

.commitment-copy {
  max-width: 720px;
  margin: 18px 0 0;
}

.page-hero h1 {
  margin-bottom: 0;
  font-size: clamp(23px, 2vw, 30px);
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(22px, 2vw, 30px);
}

#home .section-heading h2 {
  font-size: clamp(22px, 2vw, 30px);
}

.lead-stack p,
.page-hero p,
.enterprise-copy p,
.image-band-content p:not(.eyebrow) {
  color: var(--muted);
  font-size: 16px;
}

#home .lead-stack p,
#home .image-band-content p:not(.eyebrow) {
  font-size: 15px;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 32px;
}

.content-fallback-note {
  grid-column: 1 / -1;
  min-height: 180px;
  padding: 28px 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(237, 243, 240, 0.96));
  border: 1px dashed rgba(49, 94, 86, 0.26);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(23, 61, 56, 0.05);
}

.content-fallback-note strong {
  display: block;
  margin-bottom: 10px;
  color: var(--green-deep);
  font-size: 18px;
}

.content-fallback-note p {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-grid.full {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: 24px;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 290px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(23, 61, 56, 0.07);
}

.service-card.accent {
  color: #fff;
  background: var(--green-deep);
  border-color: var(--green-deep);
}

.service-card > svg,
.enterprise-grid svg {
  width: 30px;
  height: 30px;
  margin-bottom: 24px;
  color: var(--green);
}

.service-card.accent > svg {
  color: #d8b487;
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.service-card p {
  color: var(--muted);
}

.service-card.accent p {
  color: rgba(255, 255, 255, 0.76);
}

.service-card ul {
  padding-left: 18px;
  margin: 6px 0 22px;
  color: var(--muted);
}

.service-card button,
.person-card button {
  min-height: 40px;
  margin-top: auto;
  padding: 0 14px;
  color: var(--green-deep);
  background: var(--mist);
}

.service-card.accent button {
  color: var(--green-deep);
  background: #fff;
}

#services .service-grid.full {
  gap: 18px;
}

#services .service-item {
  --service-accent: #315e56;
  --service-soft: rgba(223, 233, 227, 0.74);
  --service-border: rgba(49, 94, 86, 0.2);
  --service-bg-start: #fffdf8;
  --service-bg-end: #eef4f0;
  position: relative;
  min-height: 350px;
  padding: 26px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--service-bg-start), var(--service-bg-end));
  border-color: var(--service-border);
  box-shadow: 0 18px 46px rgba(23, 61, 56, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

#services .service-item::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  content: "";
  background: var(--service-accent);
}

#services .service-item > svg,
#services .service-item h3,
#services .service-item p,
#services .service-item ul,
#services .service-item button {
  position: relative;
  z-index: 1;
}

#services .service-item > svg {
  width: 44px;
  height: 44px;
  padding: 10px;
  margin-bottom: 20px;
  color: var(--service-accent);
  background: var(--service-soft);
  border: 1px solid var(--service-border);
  border-radius: var(--radius);
}

#services .service-item h3 {
  margin-bottom: 10px;
  color: var(--ink);
}

#services .service-item p {
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.7;
}

#services .service-item ul {
  display: grid;
  gap: 8px;
  padding-left: 0;
  margin: 0 0 24px;
  list-style: none;
  font-size: 14px;
}

#services .service-item li {
  position: relative;
  padding-left: 22px;
}

#services .service-item li::before {
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--service-accent);
  border-radius: 50%;
  transform: translateY(-50%);
}

#services .service-item button {
  width: 100%;
  min-height: 42px;
  justify-content: flex-start;
  padding: 0 14px 0 16px;
  color: var(--service-accent);
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid var(--service-border);
  font-weight: 700;
}

#services .service-item button::after {
  width: 8px;
  height: 8px;
  margin-left: auto;
  content: "";
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

#services .service-item:hover,
#services .service-item:focus-within {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--service-accent) 48%, transparent);
  box-shadow: 0 24px 62px rgba(23, 61, 56, 0.12);
}

#services .service-item button:hover,
#services .service-item button:focus-visible {
  background: #fff;
  outline: 0;
}

#services .service-item button:focus-visible {
  box-shadow: 0 0 0 3px var(--service-soft);
}

.service-grid.compact {
  gap: 18px;
}

.service-grid.compact .service-card {
  --service-accent: #8fa59a;
  --service-tint: rgba(223, 233, 227, 0.62);
  --service-tint-strong: rgba(49, 94, 86, 0.13);
  --service-bg-start: #fffdf8;
  --service-bg-end: #f4f6f1;
  --service-border: rgba(216, 222, 216, 0.9);
  --service-button-bg: rgba(237, 243, 240, 0.86);
  --service-button-hover: #e6eee9;
  position: relative;
  min-height: 324px;
  padding: 26px;
  overflow: hidden;
  cursor: pointer;
  background:
    radial-gradient(circle at 100% 0, var(--service-tint), transparent 40%),
    linear-gradient(180deg, var(--service-bg-start), var(--service-bg-end));
  border-color: var(--service-border);
  box-shadow: 0 16px 42px rgba(23, 61, 56, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-grid.compact .service-card-family {
  --service-accent: #b79a77;
  --service-tint: rgba(239, 228, 215, 0.68);
  --service-tint-strong: rgba(177, 122, 74, 0.13);
  --service-bg-start: #fffaf3;
  --service-bg-end: #f7f2ea;
  --service-border: rgba(222, 211, 197, 0.92);
  --service-button-bg: rgba(246, 235, 221, 0.88);
  --service-button-hover: #eee0ce;
}

.service-grid.compact .service-card-youth {
  --service-accent: #819da4;
  --service-tint: rgba(232, 242, 244, 0.7);
  --service-tint-strong: rgba(63, 100, 114, 0.13);
  --service-bg-start: #fbfdfc;
  --service-bg-end: #eef4f4;
  --service-border: rgba(205, 220, 222, 0.92);
  --service-button-bg: rgba(232, 242, 244, 0.88);
  --service-button-hover: #deebed;
}

.service-grid.compact .service-card-enterprise {
  --service-accent: #96899b;
  --service-tint: rgba(239, 232, 241, 0.68);
  --service-tint-strong: rgba(80, 58, 86, 0.12);
  --service-bg-start: #fffdfb;
  --service-bg-end: #f3eff4;
  --service-border: rgba(219, 211, 222, 0.9);
  --service-button-bg: rgba(239, 232, 241, 0.88);
  --service-button-hover: #e8dfeb;
}

.service-grid.compact .service-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  content: "";
  background: var(--service-accent);
  opacity: 0.86;
}

.service-grid.compact .service-card::after {
  position: absolute;
  right: -54px;
  bottom: -64px;
  width: 148px;
  height: 148px;
  content: "";
  background: radial-gradient(circle, var(--service-tint-strong), transparent 68%);
  pointer-events: none;
}

.service-grid.compact .service-card > svg,
.service-grid.compact .service-card h3,
.service-grid.compact .service-card p,
.service-grid.compact .service-card button {
  position: relative;
  z-index: 1;
}

.service-grid.compact .service-card > svg {
  width: 48px;
  height: 48px;
  padding: 11px;
  margin-bottom: 22px;
  color: var(--service-accent);
  background: var(--service-tint);
  border: 1px solid var(--service-border);
  border-radius: var(--radius);
  transition: transform 180ms ease, background 180ms ease;
}

.service-grid.compact .service-card h3 {
  margin-bottom: 12px;
  font-size: 18px;
}

.service-grid.compact .service-card p {
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.68;
}

.service-grid.compact .service-card button {
  width: 100%;
  min-height: 44px;
  justify-content: flex-start;
  padding: 0 14px 0 16px;
  color: var(--green-deep);
  background: var(--service-button-bg);
  border: 1px solid var(--service-border);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.service-grid.compact .service-card button::after {
  width: 8px;
  height: 8px;
  margin-left: auto;
  content: "";
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

.service-grid.compact .service-card:hover,
.service-grid.compact .service-card:focus-within {
  transform: translateY(-5px);
  border-color: var(--service-tint-strong);
  box-shadow: 0 24px 58px rgba(23, 61, 56, 0.1);
}

.service-grid.compact .service-card:hover > svg,
.service-grid.compact .service-card:focus-within > svg {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.72);
}

.service-grid.compact .service-card button:hover,
.service-grid.compact .service-card button:focus-visible {
  background: var(--service-button-hover);
  border-color: var(--service-tint-strong);
  outline: 0;
}

.service-grid.compact .service-card button:focus-visible {
  box-shadow: 0 0 0 3px var(--service-tint-strong);
}

.image-band {
  min-height: min(560px, 72svh);
  display: grid;
  align-items: center;
  padding-inline: clamp(20px, 5vw, 72px);
  background-image: linear-gradient(90deg, rgba(17, 24, 22, 0.74), rgba(17, 24, 22, 0.32)), url("https://images.unsplash.com/photo-1544027993-37dbfe43562a?auto=format&fit=crop&w=2200&q=85");
  background-position: center;
  background-size: cover;
}

.image-band-content {
  width: min(880px, 100%);
  color: #fff;
}

.image-band-content p {
  color: rgba(255, 255, 255, 0.78);
}

.commitment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0 30px;
}

.commitment-grid article {
  min-height: 150px;
  padding: 18px;
  background: rgba(10, 16, 15, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
}

.commitment-grid svg {
  width: 22px;
  height: 22px;
  margin-bottom: 14px;
  color: #d8b487;
}

.commitment-grid strong,
.commitment-grid span {
  display: block;
}

.commitment-grid strong {
  margin-bottom: 8px;
  color: #fff;
  font-size: 15px;
}

.commitment-grid span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.62;
}

.page-hero {
  padding: clamp(72px, 9vw, 118px) 0 36px;
}

.page-hero p {
  max-width: 780px;
  margin-top: 18px;
}

#courses .page-hero {
  padding: clamp(48px, 6vw, 76px) 0 18px;
}

#courses .page-hero p {
  max-width: 760px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 12px;
}

.chip {
  min-height: 38px;
  padding: 0 16px;
  color: var(--green-deep);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.chip.active,
.chip:hover {
  color: #fff;
  background: var(--green-deep);
  border-color: var(--green-deep);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 6px;
}

.team-hero {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(24px, 4vw, 54px);
  padding-bottom: clamp(42px, 6vw, 72px);
}

.team-hero-copy {
  max-width: 520px;
}

.team-hero-copy p {
  max-width: 500px;
}

.expert-feature {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
  min-width: 0;
}

/* 精选专家：多位并排、大小一致、都很醒目 */
.expert-profile {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(49, 94, 86, 0.18);
  border-top: 3px solid var(--green);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(23, 61, 56, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.expert-profile:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 54px rgba(23, 61, 56, 0.18);
}

/* 第一位专家再强调一点点（更粗顶边 + 更强阴影），但不再占满整块 */
.expert-profile.is-primary {
  border-top-width: 5px;
  box-shadow: 0 20px 48px rgba(23, 61, 56, 0.15);
}

.expert-profile-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.expert-profile-media::after {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  content: "";
  background: linear-gradient(180deg, rgba(29, 37, 36, 0), rgba(29, 37, 36, 0.18));
  pointer-events: none;
}

.expert-profile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.expert-profile-copy {
  display: grid;
  align-content: start;
  padding: 22px 22px 24px;
}

.expert-profile-copy h2 {
  margin: 6px 0 12px;
  font-size: 20px;
  line-height: 1.3;
}

.expert-profile-copy p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* 卡片保持紧凑：只展示第一段简介 */
.expert-profile-copy p + p {
  display: none;
}

.expert-profile-copy dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 16px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.expert-profile-copy dl div {
  padding: 12px;
  background: #fbfcfa;
}

.expert-profile-copy dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.expert-profile-copy dd {
  margin: 5px 0 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
}

.person-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(23, 61, 56, 0.05);
}

.person-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.person-card div {
  padding: 16px 18px 18px;
}

.person-card h3 {
  margin: 4px 0 5px;
  font-size: 17px;
}

.person-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.person-card button {
  min-height: 34px;
  padding: 0 12px;
  font-size: 13px;
}

.standards {
  padding-top: 18px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.process-grid div {
  position: relative;
  min-height: 250px;
  padding: 26px;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0, rgba(223, 233, 227, 0.78), transparent 42%),
    linear-gradient(180deg, #fffdf8, #eef4f0);
  border: 1px solid rgba(49, 94, 86, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 18px 46px rgba(23, 61, 56, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.process-grid div::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  content: "";
  background: var(--green);
}

.process-grid div::after {
  position: absolute;
  right: -42px;
  bottom: -52px;
  width: 132px;
  height: 132px;
  content: "";
  background: radial-gradient(circle, rgba(49, 94, 86, 0.12), transparent 68%);
  pointer-events: none;
}

.process-grid div > * {
  position: relative;
  z-index: 1;
}

.process-grid strong {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  color: var(--green-deep);
  background: rgba(223, 233, 227, 0.86);
  border: 1px solid rgba(49, 94, 86, 0.18);
  border-radius: var(--radius);
  font-size: 13px;
}

.process-grid h3 {
  margin-bottom: 12px;
  font-size: 18px;
}

.process-grid p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

.process-grid div:hover,
.process-grid div:focus-within {
  transform: translateY(-4px);
  border-color: rgba(49, 94, 86, 0.32);
  box-shadow: 0 24px 62px rgba(23, 61, 56, 0.12);
}

.method-layout {
  display: grid;
  gap: 22px;
  padding-top: 28px;
}

.method-overview {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: end;
  padding: clamp(28px, 5vw, 46px);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.method-overview-copy span,
.method-flow-head span,
.method-boundary-band span,
.method-assurance-card span {
  display: block;
  color: var(--copper);
  font-size: 12px;
  font-weight: 800;
}

.method-overview-copy h2,
.method-flow-head h2,
.method-boundary-band h2 {
  max-width: 640px;
  margin: 8px 0 0;
  font-size: clamp(22px, 2.2vw, 30px);
}

.method-overview-copy p,
.method-flow-head p {
  max-width: 650px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.method-proof-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.method-proof-list div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 12px 14px;
  background: #f9faf7;
  border: 1px solid rgba(49, 94, 86, 0.13);
  border-radius: var(--radius);
}

.method-proof-list svg {
  width: 18px;
  height: 18px;
  color: var(--green);
  flex: 0 0 auto;
}

.method-proof-list strong {
  font-size: 14px;
  line-height: 1.45;
}

.method-assurance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.method-assurance-card {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  min-height: 292px;
  padding: 24px;
  background:
    radial-gradient(circle at 100% 0, rgba(237, 243, 240, 0.9), transparent 46%),
    linear-gradient(180deg, #fffdf8, #f4f7f4);
  border: 1px solid rgba(49, 94, 86, 0.16);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(23, 61, 56, 0.08);
}

.method-assurance-card > div {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.method-assurance-card svg {
  width: 42px;
  height: 42px;
  padding: 10px;
  color: #fff;
  background: var(--green-deep);
  border-radius: var(--radius);
}

.method-assurance-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.method-assurance-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.68;
}

.method-assurance-card ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.method-assurance-card li {
  position: relative;
  padding-left: 14px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.5;
}

.method-assurance-card li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 5px;
  height: 5px;
  content: "";
  background: var(--copper);
  border-radius: 50%;
}

.method-flow-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.45fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 58px);
  padding: clamp(28px, 5vw, 50px);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 52px rgba(23, 61, 56, 0.09);
}

.timeline {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 54px 180px 1fr;
  gap: 16px;
  padding: 0 0 20px;
  border-bottom: 1px solid var(--line);
}

.timeline li + li {
  padding-top: 20px;
}

.timeline li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.timeline span {
  color: var(--copper);
  font-weight: 800;
}

.timeline p {
  margin: 0;
}

.method-boundary-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1fr);
  gap: clamp(22px, 4vw, 46px);
  align-items: center;
  padding: clamp(28px, 5vw, 46px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(23, 61, 56, 0.97), rgba(80, 58, 86, 0.93)),
    var(--green-deep);
  border-radius: var(--radius);
}

.method-boundary-band span {
  color: rgba(255, 255, 255, 0.72);
}

.method-boundary-band h2 {
  color: #fff;
}

.method-boundary-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.78;
}

.course-path {
  padding-top: 22px;
  padding-bottom: 28px;
}

.course-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.course-step {
  position: relative;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  min-height: 270px;
  padding: 28px 26px 30px;
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
  background:
    radial-gradient(circle at top right, var(--step-glow, rgba(49, 94, 86, 0.1)), transparent 44%),
    linear-gradient(145deg, var(--step-bg-start, #fff), var(--step-bg-end, #fbfcfa));
  border: 1px solid var(--step-border, rgba(216, 222, 216, 0.94));
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(23, 61, 56, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.course-step::before {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  content: "";
  background: var(--step-accent, var(--green));
  opacity: 0.72;
  transition: opacity 180ms ease;
}

.course-step:hover,
.course-step:focus-visible {
  transform: translateY(-4px);
  border-color: var(--step-accent, rgba(49, 94, 86, 0.36));
  box-shadow: 0 24px 62px rgba(23, 61, 56, 0.15);
  outline: 0;
}

.course-step:hover::before,
.course-step:focus-visible::before {
  opacity: 1;
}

.course-step-life {
  --step-accent: #a36f42;
  --step-border: rgba(49, 94, 86, 0.24);
  --step-bg-start: #fbfdfb;
  --step-bg-end: #e7f2ec;
  --step-glow: rgba(163, 111, 66, 0.12);
}

.course-step-ability {
  --step-accent: #9a6a45;
  --step-border: rgba(154, 106, 69, 0.26);
  --step-bg-start: #fbf7f1;
  --step-bg-end: #efe4d7;
  --step-glow: rgba(154, 106, 69, 0.14);
}

.course-step-topic {
  --step-accent: #3f6472;
  --step-border: rgba(63, 100, 114, 0.28);
  --step-bg-start: #f2f7f8;
  --step-bg-end: #dfecef;
  --step-glow: rgba(63, 100, 114, 0.16);
}

.course-step-more {
  --step-accent: #503a56;
  --step-border: rgba(80, 58, 86, 0.26);
  --step-bg-start: #f7f4f8;
  --step-bg-end: #ebe4ee;
  --step-glow: rgba(80, 58, 86, 0.16);
}

.course-step-primary {
  color: var(--ink);
  border-color: var(--step-border);
}

.course-step-top,
.course-step h3,
.course-step p,
.course-step-arrow {
  position: relative;
  z-index: 1;
}

.course-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.course-step-top svg {
  width: 32px;
  height: 32px;
  color: var(--step-accent, var(--green));
}

.course-step span {
  color: var(--step-accent, var(--copper));
  font-weight: 800;
}

.course-step-primary span,
.course-step-primary .course-step-top svg {
  color: var(--step-accent);
}

.course-step h3 {
  margin: 18px 0 10px;
  font-size: 18px;
}

.course-step p,
.course-card p,
.course-card ul,
.workshop-list p,
.life-stage-card p,
.stage-courses,
.ability-grid p,
.topic-card p {
  color: var(--muted);
}

.course-step-primary p {
  color: var(--muted);
}

.course-step-arrow {
  align-self: end;
  width: 30px;
  height: 30px;
  margin-top: 24px;
  color: var(--step-accent, var(--green-deep));
}

.course-step-primary .course-step-arrow {
  color: var(--step-accent);
}

.life-course,
.ability-section,
.topic-section,
.course-more {
  scroll-margin-top: 96px;
}

.life-course {
  padding-top: 52px;
  --section-accent: #a36f42;
  --section-border: rgba(49, 94, 86, 0.18);
  --section-divider: rgba(163, 111, 66, 0.14);
  --section-card-start: #fbfdfb;
  --section-card-end: #eef6f1;
}

.ability-section {
  padding-top: 46px;
  --section-accent: #9a6a45;
  --section-border: rgba(154, 106, 69, 0.22);
  --section-divider: rgba(154, 106, 69, 0.18);
  --section-card-start: #fff;
  --section-card-end: #fbf7f1;
}

.topic-section {
  padding-top: 46px;
  --section-accent: #3f6472;
  --section-border: rgba(63, 100, 114, 0.24);
  --section-divider: rgba(63, 100, 114, 0.16);
  --section-card-start: #f8fbfc;
  --section-card-end: #e8f2f4;
}

.course-more {
  --section-accent: #503a56;
  --section-border: rgba(80, 58, 86, 0.22);
  --section-divider: rgba(80, 58, 86, 0.16);
  --section-card-start: #fbf9fb;
  --section-card-end: #efe8f1;
}

.life-course .eyebrow,
.ability-section .eyebrow,
.topic-section .eyebrow,
.course-more .eyebrow {
  color: var(--section-accent);
}

.life-stage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.life-stage-card {
  min-height: 520px;
  padding: 26px;
  background: linear-gradient(180deg, var(--section-card-start), var(--section-card-end));
  border: 1px solid var(--section-border);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(23, 61, 56, 0.07);
}

.life-stage-card.featured-stage {
  grid-column: 1 / -1;
  min-height: auto;
}

.stage-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.stage-head svg {
  width: 32px;
  height: 32px;
  color: var(--section-accent);
}

.stage-head span {
  display: block;
  color: var(--section-accent);
  font-size: 12px;
  font-weight: 800;
}

.stage-head h3 {
  margin: 5px 0 0;
  font-size: 18px;
}

.stage-courses {
  display: grid;
  gap: 10px;
  padding-left: 0;
  margin: 20px 0 0;
  list-style: none;
}

.stage-courses li {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.course-index {
  color: var(--section-accent);
  font-weight: 800;
  white-space: nowrap;
}

.ability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ability-grid article {
  position: relative;
  min-height: 230px;
  padding: 26px 24px 24px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--section-card-start), var(--section-card-end));
  border: 1px solid var(--section-border);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(23, 61, 56, 0.07);
}

.ability-grid article::before {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  content: "";
  background: var(--section-accent);
  opacity: 0.64;
}

.ability-grid svg {
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  padding: 9px;
  color: var(--section-accent);
  background: rgba(154, 106, 69, 0.1);
  border: 1px solid rgba(154, 106, 69, 0.14);
  border-radius: var(--radius);
}

.ability-grid h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.topic-card {
  min-height: 230px;
  padding: 24px;
  background: linear-gradient(180deg, var(--section-card-start), var(--section-card-end));
  border: 1px solid var(--section-border);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(23, 61, 56, 0.07);
}

.topic-card span {
  display: block;
  color: var(--section-accent);
  font-size: 12px;
  font-weight: 800;
}

.topic-card h3 {
  margin: 10px 0 12px;
  font-size: 18px;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.course-card {
  min-height: 360px;
  padding: 26px;
  background: linear-gradient(180deg, var(--section-card-start, #fff), var(--section-card-end, #fbfcfa));
  border: 1px solid var(--section-border, var(--line));
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(23, 61, 56, 0.07);
}

.course-card > svg {
  width: 30px;
  height: 30px;
  margin-bottom: 22px;
  color: var(--section-accent, var(--green));
}

.course-more .course-card span {
  color: var(--section-accent);
}

.course-card h3 {
  margin: 8px 0 12px;
  font-size: 18px;
}

.course-card ul {
  padding-left: 18px;
  margin: 18px 0 0;
}

.workshop-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  padding-top: 44px;
}

.workshop-band h2 {
  margin-bottom: 0;
  font-size: clamp(22px, 2.2vw, 30px);
}

.workshop-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.workshop-list article {
  --custom-accent: var(--green);
  --custom-border: rgba(49, 94, 86, 0.2);
  --custom-start: #fbfdfb;
  --custom-end: #eef6f1;
  position: relative;
  min-height: 210px;
  padding: 28px 24px 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--custom-accent) 16%, transparent), transparent 48%),
    linear-gradient(180deg, var(--custom-start), var(--custom-end));
  border: 1px solid var(--custom-border);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(23, 61, 56, 0.07);
}

.workshop-list article::before {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  content: "";
  background: var(--custom-accent);
  opacity: 0.68;
}

.workshop-list article:nth-child(2) {
  --custom-accent: #9a6a45;
  --custom-border: rgba(154, 106, 69, 0.22);
  --custom-start: #fff;
  --custom-end: #fbf7f1;
}

.workshop-list article:nth-child(3) {
  --custom-accent: #503a56;
  --custom-border: rgba(80, 58, 86, 0.22);
  --custom-start: #fbf9fb;
  --custom-end: #efe8f1;
}

.workshop-list strong {
  display: block;
  margin-bottom: 12px;
  color: var(--custom-accent);
  font-size: 18px;
}

.enterprise-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.85fr);
  min-height: min(690px, 78svh);
  background: #111816;
}

.enterprise-image {
  background-image: url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1600&q=85");
  background-position: center;
  background-size: cover;
}

.enterprise-copy {
  display: grid;
  align-content: center;
  justify-items: start;
  padding: clamp(48px, 7vw, 92px);
  color: #fff;
}

.enterprise-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.enterprise-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.enterprise-grid article {
  position: relative;
  min-height: 250px;
  padding: 26px;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0, rgba(223, 233, 227, 0.8), transparent 42%),
    linear-gradient(180deg, #fffdf8, #eef4f0);
  border: 1px solid rgba(49, 94, 86, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 18px 46px rgba(23, 61, 56, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.enterprise-grid article::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  content: "";
  background: var(--green);
}

.enterprise-grid article > * {
  position: relative;
  z-index: 1;
}

.enterprise-grid span {
  display: block;
  margin-bottom: 20px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 800;
}

.enterprise-grid p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.enterprise-grid h3 {
  margin: 20px 0 10px;
  font-size: 18px;
}

.enterprise-grid svg {
  width: 44px;
  height: 44px;
  padding: 10px;
  margin-bottom: 0;
  color: var(--green);
  background: rgba(223, 233, 227, 0.78);
  border: 1px solid rgba(49, 94, 86, 0.18);
  border-radius: var(--radius);
}

.enterprise-grid article:hover,
.enterprise-grid article:focus-within {
  transform: translateY(-4px);
  border-color: rgba(49, 94, 86, 0.32);
  box-shadow: 0 24px 62px rgba(23, 61, 56, 0.12);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.article-grid article {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(23, 61, 56, 0.08);
}

.article-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.article-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  flex-shrink: 0;
}

.article-grid span,
.article-grid h3,
.article-grid p {
  margin-left: 22px;
  margin-right: 22px;
}

.article-grid span {
  margin-top: 22px;
}

.article-grid h3 {
  margin-top: 8px;
  font-size: 18px;
}

.article-grid p {
  flex: 1 1 auto;
  margin-bottom: 24px;
  color: var(--muted);
}

.article-grid button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: auto;
  min-height: 38px;
  margin: 0 22px 24px;
  padding: 0 14px;
  color: #fff;
  background: var(--green-deep);
}

.article-grid button > * {
  margin: 0;
}

.article-grid button:hover {
  transform: translateY(-1px);
  background: #0f302c;
}

.article-dialog {
  width: min(760px, calc(100% - 32px));
}

.article-dialog-meta {
  margin: 6px 0 20px;
  color: var(--muted);
  font-size: 13px;
}

.article-dialog-cover {
  width: 100%;
  aspect-ratio: 16 / 8;
  margin: 18px 0 24px;
  background-position: center;
  background-size: cover;
  border-radius: var(--radius);
}

.article-dialog-content {
  max-height: min(44vh, 420px);
  padding-right: 8px;
  margin-bottom: 24px;
  overflow: auto;
}

.article-dialog-content p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.85;
}

.site-footer {
  flex: 0 0 auto;
  padding: 10px clamp(20px, 4vw, 56px) 12px;
  color: #fff;
  background: var(--green-deep);
}

.footer-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-copy {
  max-width: 780px;
}

.site-footer strong {
  font-size: 17px;
}

.site-footer p {
  max-width: 720px;
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.45;
}

.footer-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.footer-highlights span {
  padding: 2px 9px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(223, 233, 227, 0.14);
  border-radius: var(--radius);
  font-size: 13px;
}

.footer-actions {
  display: grid;
  gap: 6px;
  justify-items: end;
}

.footer-actions div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-actions small {
  max-width: none;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  line-height: 1.45;
  text-align: right;
  white-space: nowrap;
}

.footer-legal {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.footer-legal a {
  color: inherit;
  text-decoration: none;
}

.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: underline;
}

.site-footer button {
  min-height: 36px;
  padding: 0 15px;
  color: #fff;
  background: rgba(223, 233, 227, 0.16);
}

.wechat-float {
  position: fixed;
  top: 50%;
  right: 18px;
  bottom: auto;
  z-index: 30;
  transform: translateY(-50%);
}

.wechat-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  color: #fff;
  background: var(--green-deep);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 200ms ease, box-shadow 200ms ease;
  animation: wechat-bounce 2s ease-in-out infinite;
}

/* 外扩涟漪光环：从徽标背后扩散，双环错峰、更频繁 */
.wechat-badge::before,
.wechat-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  border: 2px solid var(--green);
  opacity: 0;
  pointer-events: none;
  animation: wechat-ripple 2s ease-out infinite;
}

.wechat-badge::after {
  animation-delay: 1s;
}

/* 消息图标放大 + 频繁摆动打招呼 */
.wechat-badge i,
.wechat-badge svg {
  width: 26px;
  height: 26px;
  transform-origin: center;
  animation: wechat-nudge 2s ease-in-out infinite;
}

/* 悬停/聚焦时放大上浮，交互更明确 */
.wechat-float:hover .wechat-badge,
.wechat-float:focus-within .wechat-badge {
  transform: translateY(-2px) scale(1.07);
  box-shadow: 0 18px 34px rgba(23, 61, 56, 0.32);
  animation-play-state: paused;
}

@keyframes wechat-bounce {
  0%, 100% { transform: translateY(0) scale(1); box-shadow: var(--shadow); }
  50% { transform: translateY(-6px) scale(1.03); box-shadow: 0 18px 34px rgba(23, 61, 56, 0.32); }
}

@keyframes wechat-ripple {
  0% { transform: scale(1); opacity: 0.6; }
  70% { opacity: 0; }
  100% { transform: scale(1.9); opacity: 0; }
}

@keyframes wechat-nudge {
  0%, 70%, 100% { transform: rotate(0); }
  78% { transform: rotate(-14deg) scale(1.12); }
  86% { transform: rotate(14deg) scale(1.12); }
  94% { transform: rotate(-6deg); }
}

@media (prefers-reduced-motion: reduce) {
  .wechat-badge,
  .wechat-badge::before,
  .wechat-badge::after,
  .wechat-badge i,
  .wechat-badge svg {
    animation: none;
  }
}

.wechat-panel {
  position: absolute;
  top: 50%;
  right: calc(100% + 10px);
  bottom: auto;
  display: grid;
  justify-items: center;
  width: 180px;
  padding: 14px;
  visibility: hidden;
  opacity: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: translate(8px, -50%);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.wechat-float:hover .wechat-panel,
.wechat-float:focus-within .wechat-panel {
  visibility: visible;
  opacity: 1;
  transform: translate(0, -50%);
}

.wechat-panel strong {
  margin-top: 10px;
  color: var(--ink);
}

.wechat-panel small {
  color: var(--muted);
}

.wechat-qr {
  width: 132px;
  height: 132px;
  padding: 0;
  object-fit: cover;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  background: rgba(17, 24, 22, 0.48);
}

.booking-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 50;
  width: min(520px, 100%);
  height: 100svh;
  padding: 28px;
  overflow: auto;
  background: var(--surface);
  box-shadow: -22px 0 70px rgba(17, 24, 22, 0.26);
  transform: translateX(105%);
  transition: transform 220ms ease;
}

body.drawer-open {
  overflow: hidden;
}

body.drawer-open .drawer-backdrop {
  display: block;
}

body.drawer-open .booking-drawer {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.drawer-header h2 {
  margin-bottom: 0;
  font-size: 22px;
}

.booking-form,
.enterprise-form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 700;
}

label span {
  font-size: 13px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fbfcfa;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(49, 94, 86, 0.14);
}

.wide {
  width: 100%;
}

.form-note {
  color: var(--muted);
  font-size: 12px;
}

.form-feedback {
  min-height: 20px;
  margin: -4px 0 0;
  color: #a94632;
  font-size: 13px;
  font-weight: 600;
}

.form-feedback.is-success {
  color: var(--green);
}

.success-state {
  display: none;
  min-height: 420px;
  place-items: center;
  text-align: center;
}

.success-state svg {
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  color: var(--green);
}

.booking-drawer.submitted .booking-form {
  display: none;
}

.booking-drawer.submitted .success-state {
  display: grid;
}

.info-dialog {
  width: min(620px, calc(100% - 32px));
  padding: 32px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.info-dialog::backdrop {
  background: rgba(17, 24, 22, 0.48);
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
}

.question-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 24px 0;
}

.question-preview button {
  min-height: 44px;
  color: var(--green-deep);
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.question-preview button.active,
.question-preview button:hover {
  color: #fff;
  background: var(--green-deep);
  border-color: var(--green-deep);
}

.dialog-copy {
  color: var(--muted);
}

.profile-list {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.profile-list p {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  margin: 0;
  padding-bottom: 12px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.profile-list strong {
  color: var(--ink);
}

.profile-bio {
  margin: -4px 0 24px;
  color: var(--muted);
}

svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .menu-toggle {
    display: inline-grid;
    justify-self: end;
  }

  .main-nav {
    position: fixed;
    top: 76px;
    left: 16px;
    right: 16px;
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  body.nav-open .main-nav {
    display: grid;
  }

  .header-cta {
    display: none;
  }

  .hero,
  .enterprise-hero {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    width: min(560px, 100%);
  }

  .trust-band,
  .commitment-grid,
  .service-grid,
  .service-grid.full,
  .team-grid,
  .process-grid,
  .course-steps,
  .life-stage-grid,
  .ability-grid,
  .topic-grid,
  .course-grid,
  .workshop-list,
  .enterprise-grid,
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-hero,
  .split-section,
  .method-overview,
  .method-flow-card,
  .method-boundary-band,
  .workshop-band {
    grid-template-columns: 1fr;
  }

  .team-hero-copy {
    max-width: 760px;
  }

  .team-hero-copy p {
    max-width: 720px;
  }

  .method-assurance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .enterprise-image {
    min-height: 320px;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 68px;
    padding: 12px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .main-nav {
    top: 68px;
    grid-template-columns: 1fr;
  }

  .shell {
    width: min(100% - 28px, 1160px);
  }

  .hero {
    min-height: 76svh;
    padding: 54px 16px 34px;
  }

  .hero::after {
    background: rgba(17, 24, 22, 0.67);
  }

  .hero h1 {
    font-size: 23px;
  }

  .hero-copy {
    font-size: 15px;
  }

  .hero-highlights {
    gap: 8px;
    margin-top: 18px;
  }

  .hero-highlights span {
    min-height: 32px;
    padding: 0 10px;
    font-size: 13px;
  }

  .hero-actions,
  .footer-inner,
  .footer-actions div {
    align-items: stretch;
    flex-direction: column;
  }

  .footer-actions {
    justify-items: stretch;
    width: 100%;
  }

  .footer-actions small {
    max-width: none;
    text-align: left;
    white-space: normal;
  }

  .footer-legal {
    text-align: left;
  }

  .hero-actions > *,
  .site-footer button {
    width: 100%;
  }

  .hero-controls {
    position: relative;
    left: auto;
    bottom: auto;
    justify-content: center;
    margin-top: 22px;
  }

  .hero-panel {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-panel div {
    padding: 14px 10px;
  }

  .hero-panel span {
    font-size: 20px;
  }

  .hero-panel p {
    font-size: 12px;
  }

  .trust-band,
  .commitment-grid,
  .service-grid,
  .service-grid.full,
  .team-grid,
  .expert-feature,
  .process-grid,
  .course-steps,
  .life-stage-grid,
  .ability-grid,
  .topic-grid,
  .course-grid,
  .workshop-list,
  .expert-profile-copy dl,
  .enterprise-grid,
  .article-grid,
  .question-preview,
  .method-proof-list,
  .method-assurance-grid {
    grid-template-columns: 1fr;
  }

  .trust-band div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-band div:last-child {
    border-bottom: 0;
  }

  .service-card {
    min-height: 260px;
  }

  #services .service-item {
    min-height: auto;
    padding: 22px;
  }

  #services .service-item > svg {
    width: 40px;
    height: 40px;
    padding: 9px;
    margin-bottom: 16px;
  }

  .service-grid.compact {
    gap: 14px;
  }

  .service-grid.compact .service-card {
    min-height: 252px;
    padding: 22px;
  }

  .service-grid.compact .service-card > svg {
    width: 44px;
    height: 44px;
    padding: 10px;
    margin-bottom: 18px;
  }

  .service-grid.compact .service-card p {
    margin-bottom: 20px;
  }

  .expert-profile-copy {
    padding: 24px 18px;
  }

  .course-card,
  .course-step,
  .life-stage-card,
  .ability-grid article,
  .topic-card,
  .workshop-list article,
  .method-assurance-card {
    min-height: auto;
  }

  .method-layout {
    padding-top: 18px;
  }

  .method-overview,
  .method-flow-card,
  .method-boundary-band {
    padding: 24px 20px;
  }

  #courses .page-hero {
    padding-top: 42px;
    padding-bottom: 8px;
  }

  #courses .course-path {
    padding-top: 12px;
  }

  .life-stage-card.featured-stage {
    grid-column: auto;
  }

  .timeline li {
    grid-template-columns: 44px 1fr;
  }

  .timeline p {
    grid-column: 2;
  }

  .enterprise-hero {
    min-height: auto;
  }

  .enterprise-copy {
    padding: 42px 18px 52px;
  }

  .enterprise-copy h1 {
    font-size: 26px;
  }

  .enterprise-grid article {
    min-height: auto;
    padding: 22px;
  }

  .enterprise-grid span {
    margin-bottom: 16px;
  }

  .enterprise-grid h3 {
    margin-top: 16px;
  }

  .process-grid div {
    min-height: auto;
    padding: 22px;
  }

  .process-grid strong {
    margin-bottom: 18px;
  }

  .page-hero h1 {
    font-size: 23px;
  }

  .split-section h2,
  #home .section-heading h2 {
    font-size: 23px;
  }

  .section-heading h2,
  .method-overview-copy h2,
  .method-flow-head h2,
  .method-boundary-band h2 {
    font-size: 23px;
  }

  .image-band h2 {
    font-size: 21px;
  }

  .image-band {
    min-height: auto;
    padding-block: 52px;
  }

  .commitment-grid {
    margin: 22px 0 26px;
  }

  .commitment-grid article {
    min-height: auto;
    padding: 16px;
  }

  .booking-drawer {
    padding: 22px 16px;
  }

  .info-dialog {
    padding: 26px 18px;
  }

  .wechat-float {
    right: 14px;
  }

  .wechat-badge span {
    display: none;
  }

  .wechat-badge {
    width: 48px;
    min-height: 48px;
    padding: 0;
  }
}
