:root {
  color-scheme: light;
  --ink: #17212b;
  --muted: #65717d;
  --line: #dbe3e8;
  --paper: #f6f9fb;
  --white: #ffffff;
  --teal: #0d8f8a;
  --teal-dark: #086f6b;
  --gold: #d89b2b;
  --coral: #e86f51;
  --blue: #276fbf;
  --shadow: 0 18px 48px rgba(23, 33, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(23, 33, 43, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--teal);
  color: var(--white);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: -4px;
  font-size: 12px;
  color: currentColor;
  opacity: 0.76;
}

.nav {
  display: flex;
  gap: 24px;
  font-size: 15px;
}

.header-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 10px 18px;
  font-weight: 700;
}

.header-cta,
.primary-button {
  color: var(--white);
  background: var(--teal);
}

.language-toggle {
  min-width: 48px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 8px;
  color: currentColor;
  background: rgba(255, 255, 255, 0.12);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.site-header.is-scrolled .language-toggle,
.site-header.is-open .language-toggle {
  border-color: var(--line);
  background: var(--white);
}

.secondary-button {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.68);
}

.secondary-button.light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.56);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  color: var(--white);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 28, 38, 0.88) 0%, rgba(9, 28, 38, 0.58) 48%, rgba(9, 28, 38, 0.16) 100%),
    linear-gradient(0deg, rgba(9, 28, 38, 0.55), transparent 38%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  padding: 168px 0 72px;
  margin-left: clamp(18px, 7vw, 96px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 40px;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-metrics span {
  min-width: 136px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.hero-metrics strong {
  display: block;
  font-size: 26px;
  line-height: 1;
}

.hero-metrics em {
  display: block;
  font-style: normal;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 86px 0;
}

.intro,
.audience {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(280px, 1.2fr);
  gap: 44px;
  align-items: start;
}

.section h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
}

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

.section-heading p,
.intro > p,
.contact p {
  color: var(--muted);
}

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

.resource-card,
.route-card {
  min-height: 214px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 28px rgba(23, 33, 43, 0.06);
}

.resource-card span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 5px 10px;
  border-radius: 8px;
  color: var(--teal-dark);
  background: #e6f5f3;
  font-size: 13px;
  font-weight: 800;
}

.resource-card:nth-child(2n) span {
  color: #8a5b05;
  background: #fff3d7;
}

.resource-card:nth-child(3n) span {
  color: #a63c25;
  background: #ffe6df;
}

.resource-card h3,
.route-card h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.resource-card p,
.route-card p,
.steps p,
.program-list p {
  color: var(--muted);
}

.programs {
  width: 100%;
  padding-inline: max(18px, calc((100% - 1180px) / 2));
  background: var(--white);
}

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

.program-list article {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfe;
}

.program-index {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue);
  font-weight: 900;
}

.program-list article:nth-child(2) .program-index {
  background: var(--coral);
}

.program-list article:nth-child(3) .program-index {
  background: var(--teal);
}

.program-list article:nth-child(4) .program-index {
  background: var(--gold);
}

.route-card {
  min-height: 236px;
  display: flex;
  flex-direction: column;
}

.route-card strong {
  margin-top: auto;
  color: var(--teal-dark);
}

.service {
  width: 100%;
  padding-inline: max(18px, calc((100% - 1180px) / 2));
  background: #eaf2f4;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps li {
  padding: 24px;
  border-radius: 8px;
  background: var(--white);
}

.steps span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--white);
  background: var(--teal);
  font-weight: 800;
}

.steps strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

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

.tags span {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(23, 33, 43, 0.05);
}

.contact {
  padding: 88px clamp(18px, 4vw, 56px);
  background: #12252b;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 320px;
  gap: 32px;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(13, 143, 138, 0.9), rgba(18, 37, 43, 0.96)),
    radial-gradient(circle at 85% 20%, rgba(216, 155, 43, 0.35), transparent 32%);
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.8);
}

.contact-actions {
  display: grid;
  align-content: center;
  gap: 14px;
}

.contact-person {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 8px;
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
}

.wechat-card {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.wechat-card img {
  width: min(100%, 210px);
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 8px;
  background: var(--white);
}

.wechat-card p {
  margin: 0;
  color: var(--white);
  font-weight: 800;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 26px clamp(18px, 4vw, 56px);
  color: #81909b;
  background: #0e1d22;
}

@media (max-width: 900px) {
  .site-header {
    gap: 14px;
  }

  .nav {
    position: absolute;
    top: 74px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .nav {
    display: flex;
  }

  .nav a {
    padding: 12px;
  }

  .header-cta {
    display: none;
  }

  .language-toggle {
    margin-left: auto;
  }

  .menu-button {
    display: block;
  }

  .hero {
    min-height: 860px;
  }

  .hero-content {
    padding-top: 132px;
  }

  .intro,
  .audience,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .resource-grid,
  .route-grid,
  .program-list,
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .brand small {
    display: none;
  }

  .hero {
    min-height: 820px;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-left: 16px;
  }

  h1 {
    font-size: 40px;
  }

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

  .hero-metrics span {
    width: 100%;
  }

  .resource-grid,
  .route-grid,
  .program-list,
  .steps {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .program-list article {
    grid-template-columns: 1fr;
  }
}
