:root {
  --blue: #0f4c81;
  --blue-900: #07365f;
  --blue-700: #0b5d9a;
  --blue-100: #eaf4ff;
  --sky: #55a7df;
  --orange: #f59e0b;
  --ink: #172033;
  --muted: #5d6b82;
  --line: #dbe5ef;
  --paper: #ffffff;
  --soft: #f5f8fc;
  --radius: 8px;
  --shadow: 0 18px 45px rgba(15, 76, 129, 0.12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.7;
  background: var(--paper);
}

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

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

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(219, 229, 239, 0.9);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
  flex-wrap: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  min-width: 190px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  border-radius: var(--radius);
}

.brand strong {
  display: block;
  color: var(--blue-900);
  font-size: 16px;
  letter-spacing: 0;
  line-height: 1.2;
  white-space: nowrap;
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: nowrap;
}

.nav-links a {
  padding: 10px 7px;
  color: #25324a;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
  border-radius: 6px;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--blue);
  background: var(--blue-100);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  width: 42px;
  height: 42px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--blue-900);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  color: var(--blue);
  font-weight: 700;
  border: 1px solid rgba(15, 76, 129, 0.22);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(15, 76, 129, 0.12);
}

.btn-primary {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.btn-primary:hover {
  background: var(--blue-900);
}

.btn-accent {
  color: #fff;
  background: var(--orange);
  border-color: var(--orange);
}

.btn-light {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.38);
}

.hero {
  position: relative;
  min-height: 680px;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 54, 95, 0.92), rgba(15, 76, 129, 0.78), rgba(15, 76, 129, 0.35)),
    url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1800&q=82") center / cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--paper));
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 54px;
  align-items: center;
  min-height: 680px;
  padding: 70px 0 96px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: currentColor;
}

.hero h1,
.page-hero h1 {
  margin: 16px 0 18px;
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero p {
  max-width: 720px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.hero-badges span {
  padding: 12px 14px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
}

.lead-panel {
  padding: 28px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.lead-panel h2,
.lead-panel h3 {
  margin: 0 0 8px;
  color: var(--blue-900);
  font-size: 24px;
}

.lead-panel p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.form-grid {
  display: grid;
  gap: 12px;
}

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

.field label {
  display: block;
  margin-bottom: 6px;
  color: #344154;
  font-size: 13px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.field textarea {
  min-height: 112px;
  resize: vertical;
}

.form-note,
.success-message {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.success-message {
  display: none;
  color: #0d7a4f;
  font-weight: 700;
}

.section {
  padding: 82px 0;
}

.section.soft {
  background: var(--soft);
}

.section.dark {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-900), var(--blue));
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.55fr);
  gap: 38px;
  align-items: end;
  margin-bottom: 36px;
}

.section-head h2 {
  margin: 8px 0 0;
  color: var(--blue-900);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.18;
  text-wrap: balance;
}

.balanced-title span {
  display: block;
}

.dark .section-head h2 {
  color: #fff;
}

.section-head p,
.intro {
  margin: 0;
  color: var(--muted);
}

.dark .section-head p,
.dark .intro {
  color: rgba(255, 255, 255, 0.78);
}

.grid {
  display: grid;
  gap: 22px;
}

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

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

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

.card,
.metric,
.timeline-item,
.news-item,
.teacher,
.case-card,
.faq-item {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 28px rgba(15, 76, 129, 0.06);
}

.card h3,
.teacher h3,
.case-card h3,
.news-item h3 {
  margin: 0 0 10px;
  color: var(--blue-900);
  font-size: 21px;
}

.card p,
.teacher p,
.case-card p,
.news-item p,
.timeline-item p {
  margin: 0;
  color: var(--muted);
}

.icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  color: #fff;
  font-weight: 900;
  background: var(--blue);
  border-radius: var(--radius);
}

.icon.orange {
  background: var(--orange);
}

.metric strong {
  display: block;
  color: var(--blue);
  font-size: 34px;
  line-height: 1.1;
}

.metric span {
  color: var(--muted);
  font-size: 14px;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 36px;
  align-items: center;
}

.media-frame {
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(0deg, rgba(15, 76, 129, 0.18), rgba(15, 76, 129, 0.18)),
    url("https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&w=1200&q=82") center / cover;
  box-shadow: var(--shadow);
}

.media-frame.office {
  background:
    linear-gradient(0deg, rgba(15, 76, 129, 0.16), rgba(15, 76, 129, 0.16)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1200&q=82") center / cover;
}

.media-frame.teacher-room {
  background:
    linear-gradient(0deg, rgba(15, 76, 129, 0.14), rgba(15, 76, 129, 0.14)),
    url("https://images.unsplash.com/photo-1523580846011-d3a5bc25702b?auto=format&fit=crop&w=1200&q=82") center / cover;
}

.list-check {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.list-check li {
  position: relative;
  padding-left: 30px;
  color: #344154;
}

.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--orange);
  font-weight: 900;
}

.dark .list-check li {
  color: rgba(255, 255, 255, 0.84);
}

.page-hero {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7, 54, 95, 0.94), rgba(15, 76, 129, 0.78)),
    url("https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&w=1800&q=82") center / cover;
}

.page-hero-inner {
  padding: 92px 0 96px;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.tab-pill {
  padding: 9px 14px;
  color: var(--blue);
  font-weight: 700;
  border: 1px solid rgba(15, 76, 129, 0.18);
  border-radius: 999px;
  background: #fff;
}

.course-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.course-table th,
.course-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.course-table th {
  color: var(--blue-900);
  background: var(--blue-100);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list span {
  padding: 5px 9px;
  color: var(--blue-900);
  font-size: 13px;
  background: var(--blue-100);
  border-radius: 999px;
}

.teacher-photo {
  height: 210px;
  margin: -24px -24px 20px;
  background: var(--blue-100);
  background-size: cover;
  background-position: center;
  border-radius: var(--radius) var(--radius) 0 0;
}

.teacher-photo.p1 {
  background-image: url("https://images.unsplash.com/photo-1509062522246-3755977927d7?auto=format&fit=crop&w=800&q=80");
}

.teacher-photo.p2 {
  background-image: url("https://images.unsplash.com/photo-1524178232363-1fb2b075b655?auto=format&fit=crop&w=800&q=80");
}

.teacher-photo.p3 {
  background-image: url("https://images.unsplash.com/photo-1577896851231-70ef18881754?auto=format&fit=crop&w=800&q=80");
}

.teacher-photo.p4 {
  background-image: url("https://images.unsplash.com/photo-1544717297-fa95b6ee9643?auto=format&fit=crop&w=800&q=80");
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 22px;
  align-items: start;
}

.timeline-item strong {
  color: var(--orange);
  font-size: 22px;
}

.process {
  counter-reset: step;
}

.process .card {
  position: relative;
  padding-top: 54px;
}

.process .card::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 20px;
  left: 24px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  background: var(--orange);
  border-radius: 50%;
}

.quote {
  position: relative;
  padding-left: 24px;
  border-left: 4px solid var(--orange);
}

.quote p {
  color: #2f3b4f;
}

.network-map {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(15, 76, 129, 0.08), rgba(85, 167, 223, 0.14)),
    radial-gradient(circle at 65% 32%, rgba(245, 158, 11, 0.18) 0 10%, transparent 11%),
    radial-gradient(circle at 40% 52%, rgba(15, 76, 129, 0.15) 0 12%, transparent 13%),
    #fff;
}

.map-dot {
  position: absolute;
  display: grid;
  place-items: center;
  width: 13px;
  height: 13px;
  background: var(--orange);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(245, 158, 11, 0.16);
}

.map-dot span {
  position: absolute;
  left: 20px;
  top: -8px;
  width: max-content;
  color: var(--blue-900);
  font-size: 13px;
  font-weight: 800;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item button {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 18px 20px;
  color: var(--blue-900);
  font: inherit;
  font-weight: 800;
  text-align: left;
  border: 0;
  background: #fff;
  cursor: pointer;
}

.faq-item button::after {
  content: "+";
  color: var(--orange);
  font-size: 22px;
  line-height: 1;
}

.faq-item.is-open button::after {
  content: "-";
}

.faq-item p {
  display: none;
  padding: 0 20px 20px;
  margin: 0;
  color: var(--muted);
}

.faq-item.is-open p {
  display: block;
}

.cta-band {
  padding: 42px;
  color: #fff;
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(7, 54, 95, 0.96), rgba(15, 76, 129, 0.8)),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1400&q=82") center / cover;
}

.cta-band h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 4vw, 40px);
}

.cta-band p {
  max-width: 740px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.82);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 0.72fr);
  gap: 30px;
}

.contact-line {
  display: grid;
  gap: 6px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-line strong {
  color: var(--blue-900);
}

.qr-box {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
}

.qr {
  width: 116px;
  height: 116px;
  border: 6px solid #fff;
  border-radius: 6px;
  background: url("wechat-qr.jpg") center / contain no-repeat #fff;
  box-shadow: 0 0 0 1px var(--line);
}

.footer {
  color: rgba(255, 255, 255, 0.76);
  background: #061d35;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.8fr 0.8fr;
  gap: 34px;
  padding: 54px 0 34px;
}

.footer h3,
.footer h4 {
  margin: 0 0 14px;
  color: #fff;
}

.footer a {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

.floating-cta {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 60;
  display: grid;
  gap: 8px;
}

.floating-cta button {
  width: 108px;
  min-height: 40px;
  color: #fff;
  font-weight: 800;
  border: 0;
  border-radius: 6px;
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(15, 76, 129, 0.24);
  cursor: pointer;
}

.floating-cta button:nth-child(3) {
  background: var(--orange);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(6, 29, 53, 0.6);
}

.modal-backdrop.is-open {
  display: grid;
}

.modal {
  position: relative;
  width: min(100%, 440px);
  padding: 28px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.modal h2 {
  margin: 0 0 6px;
  color: var(--blue-900);
}

.modal p {
  margin: 0 0 18px;
  color: var(--muted);
}

.legal-note {
  color: #7a8799;
  font-size: 12px;
}

@media (max-width: 1120px) {
  .nav-links {
    position: fixed;
    inset: 74px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 32px rgba(15, 76, 129, 0.1);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 13px 14px;
    font-size: 15px;
    line-height: 1.2;
  }

  .menu-toggle {
    display: block;
  }

  .nav-actions .btn {
    display: none;
  }

  .hero-inner,
  .feature-band,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    min-height: auto;
    padding: 74px 0 92px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 14px;
  }

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

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

@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, var(--max));
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 16px;
  }

  .brand span {
    display: none;
  }

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

  .hero p,
  .page-hero p {
    font-size: 16px;
  }

  .hero-badges,
  .grid-2,
  .grid-3,
  .grid-4,
  .form-grid.two,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 0;
  }

  .card,
  .metric,
  .timeline-item,
  .news-item,
  .teacher,
  .case-card {
    padding: 20px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .course-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .floating-cta {
    right: 12px;
    bottom: 12px;
  }

  .floating-cta button {
    width: 92px;
    font-size: 12px;
  }

  .cta-band {
    padding: 28px;
  }
}
