:root {
  --ink: #202124;
  --muted: #5f6368;
  --paper: #fffdf8;
  --surface: #ffffff;
  --mist: #e7f4f1;
  --line: #d8dfdb;
  --teal: #08746c;
  --teal-dark: #07534f;
  --coral: #e85d42;
  --gold: #d69a29;
  --plum: #5f4b6b;
  --shadow: 0 16px 42px rgba(32, 33, 36, .1);
  --radius: 8px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif; line-height: 1.66; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,253,248,.98); border-bottom: 1px solid rgba(32,33,36,.08); }
.top-bar { background: #202124; color: rgba(255,255,255,.86); font-size: 13px; }
.top-bar-inner { max-width: var(--max); min-height: 38px; margin: 0 auto; padding: 7px 24px; display: grid; grid-template-columns: auto minmax(180px, 1fr) auto; gap: 18px; align-items: center; }
.top-contact { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.top-contact a, .language-text, .nav-cta { display: inline-flex; align-items: center; gap: 7px; }
.top-contact i, .language-text i { color: #b8eadf; font-size: 13px; }
.top-contact a:hover, .language-text:hover { color: #fff; }
.top-news { position: relative; min-height: 22px; overflow: hidden; white-space: nowrap; color: rgba(255,255,255,.74); text-align: center; }
.top-news span { position: absolute; inset: 0; opacity: 0; transform: translateY(100%) rotateX(-70deg); transition: opacity 520ms ease, transform 520ms ease; transform-origin: 50% 0; }
.top-news span.is-active { opacity: 1; transform: translateY(0) rotateX(0); }
.language-text { justify-self: end; min-height: 28px; padding: 4px 10px; border: 1px solid rgba(255,255,255,.24); border-radius: 6px; color: rgba(255,255,255,.9); font-weight: 800; white-space: nowrap; }
.nav-shell { max-width: var(--max); margin: 0 auto; min-height: 78px; padding: 10px 24px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; min-width: 300px; }
.brand img { width: 318px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 9px 11px; border-radius: 6px; color: #34373c; font-size: 14px; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--mist); color: var(--teal-dark); }
.nav-links .nav-cta { background: var(--teal); color: #fff; margin-left: 4px; }
.nav-links .nav-cta:hover { background: var(--teal-dark); color: #fff; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); }
.menu-toggle span { display: block; width: 18px; height: 2px; background: currentColor; margin: 4px auto; }
.breadcrumb { max-width: var(--max); margin: 0 auto; padding: 14px 24px; display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 13px; }
.breadcrumb a { color: var(--teal-dark); font-weight: 800; }
.breadcrumb span:last-child { color: var(--muted); }
.hero { background: linear-gradient(90deg, #e6f4f1, #fff6de); display: grid; align-items: center; overflow: hidden; }
.hero-inner { max-width: var(--max); margin: 0 auto; width: 100%; padding: 68px 24px 58px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .86fr); align-items: center; gap: 42px; }
.home-hero { position: relative; min-height: calc(100svh - 116px); color: #fff; background: #121817; }
.home-hero .hero-slider { position: absolute; inset: 0; overflow: hidden; }
.home-hero .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 900ms ease, transform 5200ms ease; transform: scale(1.04); }
.home-hero .slide.is-active { opacity: 1; transform: scale(1); }
.home-hero .slide img { width: 100%; height: 100%; object-fit: cover; }
.home-hero .slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22,42,38,.50), rgba(22,42,38,.30) 42%, rgba(22,42,38,.10)); }
.home-hero .hero-inner { position: relative; z-index: 2; display: block; padding-top: 72px; padding-bottom: 72px; min-height: calc(100svh - 116px); }
.home-hero .hero-copy { max-width: 720px; padding-top: min(8vh, 72px); }
.home-hero .kicker, .home-hero .lead { color: rgba(255,255,255,.88); }
.home-hero h1 { color: #fff; text-shadow: 0 12px 34px rgba(0,0,0,.28); }
.headline-rotator { display: grid; min-height: 1.12em; }
.headline-rotator span { grid-area: 1 / 1; opacity: 0; transform: translateY(-24px) rotateX(60deg); transition: opacity 520ms ease, transform 520ms ease; transform-origin: 50% 0; }
.headline-rotator span.is-active { opacity: 1; transform: translateY(0) rotateX(0); }
.home-hero .hero-actions { margin-top: 30px; }
.hero-dots { display: flex; gap: 9px; margin-top: 44px; }
.hero-dot { width: 34px; height: 4px; border: 0; border-radius: 999px; padding: 0; background: rgba(255,255,255,.38); cursor: pointer; }
.hero-dot.is-active { background: #fff; }
.compact-hero .hero-inner { padding-top: 46px; padding-bottom: 42px; min-height: auto; }
.kicker { margin: 0 0 12px; color: var(--teal-dark); font-weight: 800; font-size: 14px; }
.light-kicker { color: rgba(255,255,255,.72); }
h1, h2, h3 { margin: 0; line-height: 1.14; letter-spacing: 0; }
h1 { font-size: clamp(42px, 5.6vw, 72px); max-width: 920px; }
h2 { font-size: clamp(28px, 3.6vw, 46px); }
h3 { font-size: 22px; }
p { margin: 0; }
.lead { margin-top: 22px; color: #3f4549; font-size: 19px; max-width: 760px; }
.hero-actions, .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 18px; border: 1px solid transparent; border-radius: 8px; font-weight: 800; line-height: 1.2; }
.button.primary { background: var(--coral); color: #fff; }
.button.teal { background: var(--teal); color: #fff; }
.button.secondary { border-color: var(--teal); color: var(--teal-dark); background: rgba(255,255,255,.55); }
.button.light { background: #fff; color: var(--teal-dark); border-color: var(--line); }
.button:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(32,33,36,.12); }
.full-button { width: 100%; }
.hero-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #dbe7e2; aspect-ratio: 4 / 3; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.band { padding: 76px 24px; }
.band.white { background: #fff; }
.band.mist { background: var(--mist); }
.band.gold { background: #fff6df; }
.band.coral { background: #fff0eb; }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-head { display: grid; grid-template-columns: minmax(0, .9fr) minmax(280px, .65fr); gap: 32px; align-items: end; margin-bottom: 30px; }
.section-head p { color: var(--muted); font-size: 17px; }
.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card, .course-card { background: var(--surface); border: 1px solid rgba(32,33,36,.1); border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 24px rgba(32,33,36,.06); }
.card-body { padding: 22px; display: grid; gap: 12px; }
.card img, .card-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.eyebrow { color: var(--coral); font-size: 13px; font-weight: 800; }
.muted { color: var(--muted); }
.link { color: var(--teal-dark); font-weight: 800; display: inline-flex; align-items: center; gap: 6px; }
.link::after { content: "›"; font-size: 20px; line-height: 1; }
.list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.list li { padding-left: 18px; position: relative; }
.list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.feature-row { display: grid; grid-template-columns: minmax(320px, .82fr) minmax(0, 1.18fr); gap: 34px; align-items: center; }
.feature-row.reverse { grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr); }
.feature-image img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; max-height: 560px; }
.prose { max-width: 820px; display: grid; gap: 18px; font-size: 17px; }
.prose p, .prose li { color: #3d4246; }
.teacher-mini { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.teacher-mini img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 4px 14px rgba(32,33,36,.18); }
.teacher-mini a { color: var(--teal-dark); font-weight: 800; }
.course-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; }
.course-aside { display: grid; gap: 14px; position: sticky; top: 96px; }
.teacher-card { display: grid; gap: 8px; background: #fff; border: 1px solid rgba(32,33,36,.1); border-radius: var(--radius); padding: 18px; box-shadow: 0 8px 24px rgba(32,33,36,.06); }
.teacher-card img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.teacher-card span { color: var(--muted); font-size: 13px; font-weight: 800; }
.teacher-card strong { color: var(--teal-dark); }
.facts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 28px; }
.fact { background: #fff; border: 1px solid rgba(32,33,36,.1); border-radius: var(--radius); padding: 16px; }
.fact span { display: block; color: var(--muted); font-size: 13px; font-weight: 800; margin-bottom: 6px; }
.fact strong { display: block; color: var(--ink); font-size: 15px; line-height: 1.45; }
.source-note { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }
.timeline { display: grid; gap: 14px; counter-reset: step; }
.timeline-item { background: #fff; border: 1px solid rgba(32,33,36,.1); border-radius: var(--radius); padding: 20px; display: grid; gap: 8px; }
.timeline-item h3::before { counter-increment: step; content: counter(step, decimal-leading-zero) " "; color: var(--coral); }
.contact-strip { background: var(--teal-dark); color: #fff; }
.contact-strip .section-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.contact-strip p { color: rgba(255,255,255,.78); margin-top: 8px; }
.form { display: grid; gap: 14px; background: #fff; border: 1px solid rgba(32,33,36,.1); border-radius: var(--radius); padding: 24px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
label { display: grid; gap: 6px; font-weight: 800; color: #34383c; }
input, textarea, select { width: 100%; border: 1px solid #cfd7d3; border-radius: 8px; padding: 11px 12px; background: #fff; color: var(--ink); }
textarea { min-height: 132px; resize: vertical; }
.full { grid-column: 1 / -1; }
.form-note { color: var(--muted); font-size: 14px; }
.site-footer { background: #202124; color: #fff; padding: 42px 24px; }
.footer-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.4fr; gap: 28px; }
.footer-logo { width: 280px; margin-bottom: 14px; }
.footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.footer-links a { display: block; color: rgba(255,255,255,.74); margin-top: 8px; }
.profile { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 34px; align-items: start; }
.profile img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.image-placeholder { min-height: 260px; border: 1px dashed #95aaa5; border-radius: var(--radius); background: repeating-linear-gradient(135deg,#f6fbf9,#f6fbf9 12px,#edf5f2 12px,#edf5f2 24px); color: #52635f; padding: 24px; display: grid; align-content: end; gap: 8px; }
.image-placeholder strong { color: var(--teal-dark); }
@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .top-bar-inner { grid-template-columns: 1fr auto; gap: 10px; }
  .top-contact { gap: 10px; }
  .top-news { grid-column: 1 / -1; grid-row: 2; font-size: 12px; }
  .brand { min-width: 0; }
  .brand img { width: 286px; }
  .nav-links { position: fixed; top: 176px; left: 0; right: 0; bottom: 0; z-index: 120; display: none; background: var(--paper); padding: 22px; overflow: auto; box-shadow: 0 18px 42px rgba(32,33,36,.12); }
  body.menu-open .nav-links { display: flex; flex-direction: column; align-items: stretch; }
  .nav-links a { font-size: 20px; padding: 14px; }
  .nav-links .nav-cta { margin-left: 0; text-align: center; }
  .hero-inner, .feature-row, .feature-row.reverse, .section-head, .course-layout, .profile { grid-template-columns: 1fr; }
  .home-hero, .home-hero .hero-inner { min-height: 620px; }
  .home-hero .slide::after { background: linear-gradient(90deg, rgba(22,42,38,.58), rgba(22,42,38,.28)); }
  .grid.three, .grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 1fr; }
  .course-aside { position: static; }
}
@media (max-width: 640px) {
  .top-bar-inner { padding: 7px 16px; }
  .top-contact { gap: 8px; }
  .top-contact a { width: 32px; height: 32px; justify-content: center; border: 1px solid rgba(255,255,255,.2); border-radius: 6px; }
  .top-contact a span, .language-text span { display: none; }
  .language-text { width: 32px; height: 32px; justify-content: center; padding: 0; }
  .nav-shell { padding: 10px 16px; min-height: 70px; }
  .nav-links { top: 176px; }
  .brand img { width: 250px; }
  .hero-inner, .band { padding-left: 18px; padding-right: 18px; }
  .home-hero, .home-hero .hero-inner { min-height: 560px; }
  .home-hero .hero-copy { padding-top: 34px; }
  h1 { font-size: 40px; }
  .lead { font-size: 17px; }
  .grid.two, .grid.three, .grid.four, .facts-grid, .form-grid, .footer-links { grid-template-columns: 1fr; }
  .contact-strip .section-inner { display: grid; }
  .footer-logo { width: 230px; }
}
