:root {
  --blue: #0b63e5;
  --blue-dark: #0748a9;
  --blue-soft: #eaf3ff;
  --ink: #07142f;
  --muted: #687083;
  --line: #dfe7f3;
  --bg: #f8fbff;
  --sage: #dff2e8;
  --warm: #fbf2df;
  --shadow: 0 24px 70px rgba(21, 77, 145, 0.13);
  font-family: "Instrument Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

main,
section,
div,
article,
aside {
  min-width: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--font, "Instrument Sans", "PingFang SC", sans-serif);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.72s ease,
    transform 0.72s ease;
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 240px 1fr auto;
  gap: 32px;
  align-items: center;
  min-height: 76px;
  padding: 0 88px;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

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

.brand-logo {
  display: block;
  width: 218px;
  height: auto;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #fff;
  background: var(--blue);
  border-radius: 12px;
}

.brand-mark svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.brand-mark .slash-logo {
  width: 30px;
  height: 30px;
  fill: currentColor;
  stroke: none;
}

.brand strong {
  display: block;
  font-size: 21px;
  line-height: 1.1;
  letter-spacing: 0;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 48px;
  color: #111827;
  font-size: 15px;
  white-space: nowrap;
}

.nav-links a {
  color: #1d2433;
}

.nav-cta,
.primary-btn,
.assessment-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  color: #fff;
  font-weight: 700;
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 12px;
  box-shadow: 0 12px 26px rgba(11, 99, 229, 0.22);
}

.section-shell {
  max-width: 1420px;
  margin: 0 auto;
  padding-right: 88px;
  padding-left: 88px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 90px;
  align-items: center;
  min-height: 690px;
  padding-top: 12px;
  padding-bottom: 84px;
  overflow: hidden;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  width: fit-content;
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
}

.hero-copy {
  align-self: start;
  padding-top: 0;
}

.eyebrow {
  padding: 9px 14px;
  background: #f0f6ff;
  border: 1px solid #bcd6ff;
  border-radius: 999px;
}

.dot {
  width: 9px;
  height: 9px;
  background: var(--blue);
  border-radius: 50%;
}

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

h1 {
  max-width: 660px;
  margin: 34px 0 18px;
  font-size: clamp(46px, 4.7vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h1 span {
  color: var(--blue);
}

.tagline {
  margin-bottom: 22px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
}

.hero-text {
  max-width: 690px;
  color: #495366;
  font-size: 20px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  gap: 24px;
  align-items: center;
  margin: 34px 0 26px;
}

.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  color: var(--blue);
  font-weight: 700;
  background: #fff;
  border: 1px solid #87b7ff;
  border-radius: 12px;
}

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

.hero-note span {
  padding: 10px 14px;
  color: #0c452b;
  font-weight: 700;
  background: var(--sage);
  border-radius: 999px;
}

.hero-note small {
  max-width: 430px;
  color: var(--muted);
  font-size: 13px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 690px;
  margin-top: 18px;
}

.hero-stats div {
  padding: 12px 14px;
  background: #f8fbff;
  border: 1px solid #dce9ff;
  border-radius: 14px;
}

.hero-stats strong {
  display: block;
  color: var(--blue);
  font-size: 22px;
  line-height: 1;
}

.hero-stats span {
  display: block;
  margin-top: 7px;
  color: #526079;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.hero-visual {
  position: relative;
  min-height: 500px;
  padding: 38px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 32%, rgba(11, 99, 229, 0.14), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f2f7ff 100%);
  border: 1px solid var(--line);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.orb {
  position: absolute;
  border-radius: 999px;
  opacity: 0.8;
}

.orb-one {
  right: -110px;
  bottom: -80px;
  width: 360px;
  height: 360px;
  background: #d9eaff;
}

.orb-two {
  top: 58px;
  right: 120px;
  width: 110px;
  height: 110px;
  background: var(--sage);
}

.metric-card {
  position: relative;
  z-index: 2;
  width: 255px;
  padding: 24px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(204, 218, 237, 0.85);
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(17, 65, 121, 0.12);
}

.metric-main {
  width: 350px;
  margin-left: 34px;
}

.metric-card:nth-of-type(4) {
  margin-left: 185px;
}

.metric-card:nth-of-type(5) {
  margin-left: 64px;
}

.metric-card:nth-of-type(6) {
  margin-left: 168px;
}

.metric-number {
  display: block;
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 54px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.metric-card strong {
  display: block;
  font-size: 20px;
  white-space: nowrap;
}

.benefit-card {
  width: 310px;
  padding: 24px 26px;
}

.benefit-card strong {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.2;
  white-space: normal;
}

.benefit-icon {
  display: inline-grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  font-size: 17px;
  font-weight: 850;
  background: linear-gradient(135deg, #0b63e5 0%, #16c7c1 100%);
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(11, 99, 229, 0.18);
}

.benefit-card p {
  margin: 10px 0 0;
  color: #4c586d;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
  white-space: nowrap;
}

.metric-highlight {
  color: var(--blue);
  font-size: 1.65em;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.metric-text-only {
  padding-top: 30px;
  padding-bottom: 30px;
}

.metric-text-only strong {
  font-size: 22px;
  line-height: 1.45;
}

.metric-card small,
.metric-row {
  color: var(--muted);
}

.metric-row {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 14px;
  margin-top: 12px;
  font-size: 14px;
}

.metric-row span {
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.value-section,
.process-section,
.service-content-section,
.assessment-section {
  padding: 82px 88px;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 1420px;
  margin: 0 auto 36px;
}

.section-heading.split {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 96px;
  align-items: end;
}

.section-heading.centered {
  max-width: 760px;
  text-align: center;
}

.section-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(40px, 4vw, 64px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.section-heading h2 span,
.text-link {
  color: var(--blue);
}

.section-heading p {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.75;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1420px;
  margin: 0 auto;
}

.info-card,
.case-card,
.contact-card,
.assessment-card,
details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 12px 40px rgba(18, 54, 104, 0.06);
}

.info-card {
  min-height: 178px;
  padding: 26px;
}

.card-icon {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 24px;
  color: var(--blue);
  font-weight: 800;
  background: var(--blue-soft);
  border-radius: 16px;
}

.card-icon.blue {
  background: #e7f1ff;
}

.card-icon.green {
  color: #147a4a;
  background: var(--sage);
}

.card-icon.warm {
  color: #8b610e;
  background: var(--warm);
}

.info-card h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.info-card p,
.case-card span,
.contact-card p,
.faq-list p {
  color: var(--muted);
  line-height: 1.65;
}

.compare-section {
  padding: 82px 88px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.compare-shell {
  max-width: 1420px;
  margin: 0 auto;
}

.compare-table {
  display: grid;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 18px 54px rgba(18, 54, 104, 0.08);
}

.compare-row {
  display: grid;
  grid-template-columns: 0.55fr repeat(3, minmax(0, 1fr));
  min-height: 74px;
  border-top: 1px solid var(--line);
}

.compare-row:first-child {
  border-top: 0;
}

.compare-row > * {
  display: flex;
  align-items: center;
  padding: 18px 22px;
  color: #263349;
  font-size: 17px;
  line-height: 1.45;
  border-left: 1px solid var(--line);
}

.compare-row > *:first-child {
  color: var(--ink);
  font-weight: 800;
  background: #f8fbff;
  border-left: 0;
}

.compare-head > * {
  color: #fff;
  font-weight: 800;
  background: #0d48a8;
}

.compare-head > *:first-child {
  color: #fff;
  background: #0a377e;
}

.compare-row strong {
  color: #08479f;
  font-size: 19px;
  font-weight: 800;
  background: linear-gradient(180deg, #f4f9ff 0%, #fff 100%);
}

.compare-row > *:nth-child(4) {
  font-size: 19px;
  font-weight: 800;
}

.compare-head > *:nth-child(4) {
  color: #fff;
  font-size: 18px;
  background: linear-gradient(135deg, #0b63e5 0%, #063b8f 100%);
}

.schools-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.school-alert {
  max-width: 960px;
  padding: 18px 22px;
  margin: 0 auto 30px;
  color: #7c1d1d;
  background: linear-gradient(135deg, #fff1f1 0%, #fffafa 100%);
  border: 1px solid #f3a6a6;
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(160, 40, 40, 0.08);
  font-family: Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
}

.school-alert strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.school-alert p {
  margin: 0;
  color: #8b2d2d;
  font-size: 15px;
  line-height: 1.65;
}

.school-alert p strong {
  display: block;
  margin-top: 6px;
  font-size: 16px;
}

.school-marquee {
  display: grid;
  gap: 20px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.school-track {
  display: flex;
  width: max-content;
  gap: 20px;
  animation: schoolMarquee 96s linear infinite;
}

.school-track.reverse {
  animation-direction: reverse;
  animation-duration: 112s;
}

.school-marquee:hover .school-track {
  animation-play-state: paused;
}

.school-tile {
  flex: 0 0 190px;
  display: grid;
  gap: 12px;
  min-height: 218px;
  padding: 22px;
  align-content: center;
  justify-items: center;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 16px 44px rgba(17, 65, 121, 0.08);
}

.school-logo {
  display: block;
  width: 86px;
  height: 72px;
  padding: 10px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(15, 64, 126, 0.12);
}

.school-tile .rank,
.school-tile .region {
  display: inline-block;
  margin-right: 6px;
  padding: 5px 8px;
  font-size: 12px;
  line-height: 1;
  border-radius: 9px;
}

.school-tile .rank {
  color: var(--blue);
  background: #edf5ff;
}

.school-tile .region {
  color: #18563d;
  background: var(--sage);
}

.school-tile .region.uk {
  color: #194b8a;
  background: #e8f1ff;
}

.school-tile strong {
  display: block;
  font-size: 17px;
  line-height: 1.25;
}

.school-en {
  display: block;
  max-width: 150px;
  color: #8a98aa;
  font-size: 11px;
  line-height: 1.25;
}

@keyframes schoolMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 10px));
  }
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
  max-width: 1420px;
  margin: 0 auto;
}

.timeline::before {
  position: absolute;
  top: 32px;
  right: 90px;
  left: 90px;
  height: 1px;
  content: "";
  border-top: 1px dashed #a9c7ef;
}

.step {
  position: relative;
  z-index: 1;
  min-height: 140px;
  padding: 18px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.step span {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  margin-bottom: 16px;
  color: #fff;
  font-weight: 800;
  background: var(--blue);
  border-radius: 50%;
}

.step strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
}

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

.service-content-section {
  background:
    radial-gradient(circle at 12% 12%, rgba(11, 99, 229, 0.08), transparent 26%),
    linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.service-content-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1420px;
  margin: 0 auto;
}

.service-content-card {
  display: grid;
  gap: 20px;
  align-content: start;
  min-height: 198px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 14px 42px rgba(18, 54, 104, 0.07);
}

.service-content-card span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  background: var(--blue);
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(11, 99, 229, 0.2);
}

.service-content-card p {
  margin: 0;
  color: #263349;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.62;
}

.service-content-card strong {
  color: var(--ink);
}

.service-content-card.highlight {
  border-color: #ffd49a;
  background: linear-gradient(180deg, #fffaf2 0%, #fff 100%);
}

.service-content-card.highlight span {
  background: #f59e0b;
  box-shadow: 0 10px 22px rgba(245, 158, 11, 0.2);
}

.service-content-card.highlight strong {
  color: #c56a00;
}

.cases-section {
  padding-top: 82px;
  padding-bottom: 82px;
}

.cases-section .section-heading.split {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
}

.cases-section .text-link {
  align-self: end;
  justify-self: end;
  margin-bottom: 10px;
  white-space: nowrap;
}

.case-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
}

.case-marquee {
  position: relative;
  display: grid;
  gap: 18px;
  min-width: 0;
  padding: 6px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.case-track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: caseMarquee 34s linear infinite;
}

.case-track.reverse {
  animation-direction: reverse;
  animation-duration: 40s;
}

.case-marquee:hover .case-track {
  animation-play-state: paused;
}

.case-card {
  flex: 0 0 390px;
  display: flex;
  min-height: 308px;
  padding: 28px;
  flex-direction: column;
  justify-content: flex-start;
}

.case-topline {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.case-topline span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.case-topline b {
  padding: 7px 11px;
  color: var(--blue);
  font-size: 14px;
  background: #edf5ff;
  border-radius: 999px;
}

.case-profile {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.case-profile span {
  padding: 7px 10px;
  color: #263349;
  font-size: 13px;
  font-weight: 700;
  background: #f4f8ff;
  border: 1px solid #dbe8fa;
  border-radius: 999px;
}

.case-card strong {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
}

.case-offers {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0 0 18px;
  list-style: none;
}

.case-offers li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.case-offers span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.case-offers b {
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.case-offers small {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.case-offers em {
  color: var(--blue);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.case-card small {
  margin-top: auto;
  color: #8791a3;
  font-size: 14px;
}

.case-card:nth-child(3n + 1) {
  border-color: #b9d5ff;
  background: linear-gradient(180deg, #fff 0%, #f7fbff 100%);
}

.case-card:nth-child(3n + 2) {
  border-color: #c8e6d6;
  background: linear-gradient(180deg, #fff 0%, #f7fffb 100%);
}

.case-card:nth-child(3n) {
  border-color: #f0d6a7;
  background: linear-gradient(180deg, #fff 0%, #fffaf0 100%);
}

@keyframes caseMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 9px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .case-track,
  .school-track {
    animation: none;
  }
}

.contact-card {
  padding: 30px;
  background: linear-gradient(180deg, #f9fcff 0%, #fff 100%);
}

.contact-card h3 {
  font-size: 26px;
}

.qr-placeholder,
.qr-code {
  width: 220px;
  height: 220px;
  margin: 24px 0 18px;
  border: 1px solid #bfc9d8;
  border-radius: 10px;
}

.qr-placeholder {
  display: grid;
  place-items: center;
  color: #748094;
  background: #f7f9fc;
}

.qr-code {
  display: block;
  object-fit: cover;
  background: #fff;
}

.contact-card small {
  color: var(--muted);
}

.floating-wecom {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  width: 188px;
  padding: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #cfe0f5;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(7, 20, 47, 0.18);
  backdrop-filter: blur(16px);
}

.floating-wecom.is-hidden {
  display: none;
}

.floating-wecom-close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  padding: 0;
  color: #6b7485;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  background: #f4f7fb;
  border: 1px solid #d8e2ef;
  border-radius: 50%;
}

.floating-wecom-close:hover {
  color: var(--blue);
  background: #edf5ff;
}

.floating-wecom-copy {
  display: grid;
  gap: 4px;
  margin-bottom: 10px;
}

.floating-wecom-copy strong {
  color: var(--blue);
  font-size: 17px;
  line-height: 1.15;
}

.floating-wecom-copy span,
.floating-wecom small {
  color: #4c5668;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.floating-wecom img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.floating-wecom small {
  display: block;
  margin-top: 9px;
}

.faq-section {
  padding-top: 82px;
  padding-bottom: 82px;
}

.faq-list {
  display: grid;
  gap: 16px;
  max-width: 1420px;
  margin: 0 auto;
}

details {
  padding: 24px 28px;
}

summary {
  cursor: pointer;
  font-size: 22px;
  font-weight: 800;
}

summary::marker {
  color: var(--blue);
}

details p {
  max-width: 820px;
  margin: 14px 0 0;
}

.case-library-hero {
  padding-top: 88px;
  padding-bottom: 70px;
}

.case-library-hero h1 {
  max-width: 860px;
}

.case-library-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1040px;
  margin: 36px 0 22px;
}

.case-library-stats div {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(21, 77, 145, 0.08);
}

.case-library-stats strong {
  display: block;
  color: var(--blue);
  font-size: 34px;
  line-height: 1;
}

.case-library-stats span {
  display: block;
  margin-top: 10px;
  color: #4c5668;
  font-size: 15px;
  font-weight: 700;
}

.case-library-note {
  max-width: 900px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.case-library-section {
  padding: 74px 88px;
  background: var(--bg);
}

.case-library-section .section-heading,
.case-tag-grid,
.case-library-cta {
  max-width: 1420px;
  margin-right: auto;
  margin-left: auto;
}

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

.case-tag-grid a {
  display: flex;
  min-height: 76px;
  align-items: center;
  padding: 20px 22px;
  color: #1c2b43;
  font-size: 17px;
  font-weight: 800;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(21, 77, 145, 0.08);
}

.case-detail-section {
  display: grid;
  gap: 34px;
  padding-top: 82px;
  padding-bottom: 88px;
}

.case-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.72fr);
  gap: 28px;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 22px 58px rgba(21, 77, 145, 0.1);
  scroll-margin-top: 100px;
}

.case-detail-copy h2 {
  margin: 16px 0 18px;
  font-size: 36px;
  line-height: 1.18;
}

.case-detail-copy p,
.case-insight p {
  color: #4c5668;
  font-size: 17px;
  line-height: 1.85;
}

.case-detail-panel {
  display: grid;
  gap: 18px;
}

.case-meta {
  display: grid;
  gap: 10px;
  margin: 0;
}

.case-meta div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  background: #f7fbff;
  border: 1px solid #dce9fa;
  border-radius: 12px;
}

.case-meta dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.case-meta dd {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.case-result-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.case-result-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  padding: 14px;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.case-result-list span {
  color: var(--ink);
  font-size: 16px;
  font-weight: 850;
}

.case-result-list b {
  color: var(--blue);
  font-size: 14px;
}

.case-result-list small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.case-insight {
  grid-column: 1 / -1;
  padding: 26px;
  background: #f9fcff;
  border: 1px solid #dce9fa;
  border-radius: 16px;
}

.case-insight h3 {
  margin-bottom: 12px;
  font-size: 24px;
}

.case-insight details {
  margin-top: 18px;
  padding: 18px 20px;
  background: #fff;
}

.case-insight summary {
  font-size: 18px;
}

.case-library-cta {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  padding: 46px;
  margin-bottom: 74px;
  background: linear-gradient(135deg, #f3f8ff 0%, #ffffff 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.case-library-cta h2 {
  margin: 14px 0 12px;
  font-size: 42px;
  line-height: 1.16;
}

.case-library-cta p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.assessment-section {
  background: var(--bg);
}

.scan-assessment-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 44px;
  align-items: center;
  max-width: 1420px;
  padding: 58px;
  margin: 0 auto;
}

.scan-assessment-copy h2 {
  max-width: 760px;
  margin: 18px 0 18px;
  font-size: 52px;
  line-height: 1.12;
}

.scan-assessment-copy p {
  max-width: 780px;
  color: #4c5668;
  font-size: 20px;
  line-height: 1.85;
}

.scan-benefits {
  display: grid;
  gap: 12px;
  max-width: 720px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.scan-benefits li {
  position: relative;
  padding: 16px 18px 16px 46px;
  color: #1d2d44;
  font-size: 17px;
  font-weight: 800;
  background: #fff;
  border: 1px solid #dce9fa;
  border-radius: 14px;
}

.scan-benefits li::before {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 14px;
  height: 14px;
  content: "";
  background: var(--blue);
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px #dcecff;
}

.scan-qr-card {
  padding: 30px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 22px 58px rgba(21, 77, 145, 0.12);
}

.scan-qr-card h3 {
  margin-bottom: 10px;
  font-size: 28px;
}

.scan-qr-card p {
  color: #4c5668;
  font-size: 16px;
  line-height: 1.65;
}

.scan-qr-card .qr-code {
  width: 260px;
  height: 260px;
  margin: 22px auto 16px;
}

.scan-qr-card small {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.assessment-card {
  display: grid;
  grid-template-columns: 0.72fr 1fr 360px;
  gap: 32px;
  align-items: stretch;
  max-width: 1420px;
  padding: 46px;
  margin: 0 auto;
}

.assessment-card h2 {
  font-size: 48px;
  line-height: 1.15;
}

.assessment-card p {
  color: var(--muted);
  font-size: 19px;
}

.assessment-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 16px;
}

.assessment-form label {
  display: grid;
  gap: 6px;
  color: #263349;
  font-size: 14px;
  font-weight: 650;
}

.assessment-form input,
.assessment-form select {
  width: 100%;
  height: 44px;
  padding: 0 13px;
  color: var(--ink);
  background: #f9fbff;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: 500 14px/1.3 var(--font-sans);
}

.assessment-form input::placeholder {
  color: #a7b1c2;
  font-size: 13px;
  font-weight: 400;
}

.assessment-form button {
  grid-column: 1 / -1;
  cursor: pointer;
  min-height: 44px;
  font-size: 15px;
}

.assessment-form .wide-field {
  grid-column: 1 / -1;
}

.site-footer {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding: 34px 24px;
  color: #596273;
  background: #fff;
  border-top: 1px solid var(--line);
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding: 0 24px;
  }

  .nav-links {
    display: none;
  }

  .section-shell,
  .value-section,
  .compare-section,
  .process-section,
  .service-content-section,
  .case-library-section,
  .assessment-section {
    padding-right: 24px;
    padding-left: 24px;
  }

  .hero,
  .section-heading.split,
  .case-contact-grid,
  .case-detail,
  .scan-assessment-card,
  .assessment-card {
    grid-template-columns: 1fr;
  }

  .value-grid,
  .timeline,
  .case-library-stats,
  .case-tag-grid,
  .assessment-form {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    display: none;
  }

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

  h1 {
    max-width: 640px;
    font-size: 48px;
  }

  .case-card {
    grid-template-columns: 1fr;
  }

  .case-library-cta {
    align-items: flex-start;
    flex-direction: column;
    margin-right: 24px;
    margin-left: 24px;
  }

  .scan-assessment-card {
    gap: 30px;
    padding: 42px 24px;
  }

  .scan-qr-card {
    max-width: 420px;
  }

  .site-footer {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 520px) {
  .site-header {
    display: flex;
    min-height: 72px;
    gap: 0;
    padding: 0 18px;
  }

  .site-header .nav-cta {
    display: none;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 170px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }

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

  .brand small {
    font-size: 10px;
  }

  .nav-cta {
    min-height: 42px;
    padding: 0 16px;
    font-size: 14px;
    border-radius: 11px;
  }

  .section-shell,
  .value-section,
  .process-section,
  .service-content-section,
  .case-library-section,
  .assessment-section {
    padding-right: 20px;
    padding-left: 20px;
    max-width: 100vw;
  }

  .hero {
    gap: 44px;
    min-height: auto;
    padding-top: 16px;
    padding-bottom: 58px;
  }

  .hero-copy {
    padding-top: 0;
  }

  .eyebrow {
    max-width: 100%;
    font-size: 13px;
  }

  h1 {
    max-width: 100%;
    margin-top: 28px;
    font-size: 36px;
    line-height: 1.14;
    word-break: normal;
  }

  .tagline {
    font-size: 26px;
  }

  .hero-text {
    max-width: 100%;
    font-size: 17px;
    line-height: 1.8;
    overflow-wrap: anywhere;
  }

  .hero-actions {
    align-items: stretch;
    gap: 12px;
    flex-direction: column;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
  }

  .hero-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-note small {
    max-width: 100%;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .hero-stats div {
    padding: 11px 12px;
  }

  .hero-stats strong {
    font-size: 20px;
  }

  .hero-stats span {
    font-size: 11px;
  }

  .hero-visual {
    width: 100%;
    max-width: 100%;
    min-height: 560px;
    padding: 22px;
    border-radius: 26px;
    overflow: hidden;
  }

  .metric-card,
  .metric-main,
  .benefit-card,
  .metric-card:nth-of-type(4),
  .metric-card:nth-of-type(5),
  .metric-card:nth-of-type(6) {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  .metric-number {
    font-size: 44px;
  }

  .benefit-card strong {
    font-size: 21px;
  }

  .benefit-card p {
    font-size: 15px;
    white-space: normal;
  }

  .metric-row {
    flex-direction: column;
  }

  .metric-row span {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .section-heading.split {
    gap: 18px;
  }

  .section-heading h2 {
    font-size: 38px;
  }

  .section-heading p {
    font-size: 16px;
  }

  .value-section,
  .compare-section,
  .process-section,
  .service-content-section,
  .case-library-section,
  .assessment-section,
  .schools-section,
  .cases-section,
  .faq-section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .school-alert {
    padding: 16px 18px;
  }

  .compare-table {
    gap: 14px;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .compare-head {
    display: none;
  }

  .compare-row {
    grid-template-columns: 1fr;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 10px 32px rgba(18, 54, 104, 0.06);
  }

  .compare-row > * {
    display: block;
    padding: 13px 16px;
    border-top: 1px solid var(--line);
    border-left: 0;
    font-size: 15px;
  }

  .compare-row > *:first-child {
    border-top: 0;
  }

  .compare-row:not(.compare-head) > *:nth-child(2)::before,
  .compare-row:not(.compare-head) > *:nth-child(3)::before,
  .compare-row:not(.compare-head) > *:nth-child(4)::before {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
  }

  .compare-row:not(.compare-head) > *:nth-child(2)::before {
    content: "DIY";
  }

  .compare-row:not(.compare-head) > *:nth-child(3)::before {
    content: "收费中介";
  }

  .compare-row:not(.compare-head) > *:nth-child(4)::before {
    content: "我们：志硕留学";
  }

  .school-tile {
    flex-basis: 168px;
    min-height: 184px;
    padding: 18px;
    border-radius: 24px;
  }

  .school-logo {
    width: 58px;
    height: 58px;
    border-radius: 18px;
  }

  .timeline {
    gap: 12px;
  }

  .service-content-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service-content-card {
    min-height: auto;
    padding: 20px;
    border-radius: 18px;
  }

  .service-content-card p {
    font-size: 16px;
  }

  .case-contact-grid {
    gap: 22px;
  }

  .case-card {
    min-height: auto;
    padding: 22px;
  }

  .case-card strong {
    font-size: 22px;
  }

  .case-library-hero {
    padding-top: 58px;
    padding-bottom: 50px;
  }

  .case-library-stats {
    gap: 12px;
    margin-top: 28px;
  }

  .case-library-stats div,
  .case-tag-grid a {
    padding: 18px;
    border-radius: 14px;
  }

  .case-library-stats strong {
    font-size: 30px;
  }

  .case-detail-section {
    gap: 22px;
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .case-detail {
    gap: 20px;
    padding: 22px;
    border-radius: 16px;
  }

  .case-detail-copy h2 {
    font-size: 28px;
  }

  .case-detail-copy p,
  .case-insight p {
    font-size: 16px;
  }

  .case-meta div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .case-result-list li {
    grid-template-columns: 1fr;
  }

  .case-insight {
    padding: 18px;
  }

  .case-library-cta {
    padding: 24px;
    margin-right: 20px;
    margin-bottom: 54px;
    margin-left: 20px;
  }

  .case-library-cta h2 {
    font-size: 30px;
  }

  .scan-assessment-card {
    gap: 24px;
    padding: 30px 0;
  }

  .scan-assessment-copy h2 {
    font-size: 34px;
  }

  .scan-assessment-copy p {
    font-size: 17px;
  }

  .scan-benefits {
    gap: 10px;
    margin-top: 22px;
  }

  .scan-benefits li {
    padding: 14px 16px 14px 42px;
    font-size: 15px;
  }

  .scan-benefits li::before {
    top: 17px;
    left: 17px;
  }

  .scan-qr-card {
    width: 100%;
    padding: 24px;
    border-radius: 18px;
  }

  .scan-qr-card h3 {
    font-size: 24px;
  }

  .scan-qr-card .qr-code {
    width: 100%;
    max-width: 260px;
    height: auto;
    aspect-ratio: 1;
  }

  .contact-card {
    padding: 24px;
  }

  .qr-placeholder {
    width: 100%;
    max-width: 240px;
    height: auto;
    aspect-ratio: 1;
  }

  .qr-code {
    width: 100%;
    max-width: 240px;
    height: auto;
    aspect-ratio: 1;
  }

  .floating-wecom {
    right: 14px;
    bottom: 14px;
    width: 132px;
    padding: 12px 10px 10px;
    border-radius: 14px;
  }

  .floating-wecom-close {
    top: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    font-size: 15px;
  }

  .floating-wecom-copy {
    gap: 2px;
    margin: 6px 18px 8px 0;
  }

  .floating-wecom-copy strong {
    font-size: 14px;
  }

  .floating-wecom-copy span,
  .floating-wecom small {
    font-size: 11px;
  }

  .floating-wecom img {
    border-radius: 8px;
  }

  .assessment-card {
    gap: 28px;
    padding: 26px;
  }

  .assessment-card h2 {
    font-size: 34px;
  }
}
