:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #667280;
  --line: #d9dfdd;
  --paper: #fbfaf6;
  --surface: #ffffff;
  --navy: #082545;
  --green: #17473b;
  --gold: #c7a970;
  --rose: #6f1d2d;
  --blue: #5d7f96;
  --shadow: 0 22px 60px rgba(8, 37, 69, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto minmax(120px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid rgba(216, 222, 220, 0.78);
  background: rgba(251, 250, 246, 0.92);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(199, 169, 112, 0.7);
  border-radius: 8px;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: 700;
}

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

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

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.site-nav a:hover {
  color: var(--navy);
}

.portal-link,
.primary-action,
.secondary-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 850;
}

.portal-link {
  justify-self: end;
  background: var(--green);
  color: #ffffff;
}

.hero-section {
  min-height: calc(84vh - 74px);
  display: grid;
  align-items: center;
  padding: clamp(72px, 10vw, 128px) clamp(20px, 5vw, 64px);
  background:
    linear-gradient(90deg, rgba(8, 37, 69, 0.88), rgba(23, 71, 59, 0.36), rgba(8, 37, 69, 0.08)),
    url("./assets/login-education-background.png") center / cover;
  color: #ffffff;
}

.hero-content {
  width: min(760px, 100%);
}

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

.hero-content h1 {
  margin-top: 18px;
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(54px, 8vw, 104px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-content p:not(.eyebrow) {
  width: min(670px, 100%);
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.62;
  font-weight: 600;
}

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

.primary-action {
  background: var(--green);
  color: #ffffff;
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.64);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

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

.intro-band {
  padding: 48px 0;
  background: var(--navy);
  color: #ffffff;
}

.intro-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.intro-grid h2,
.section-heading h2,
.visual-copy h2,
.contact-grid h2 {
  margin-top: 10px;
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.06;
  letter-spacing: 0;
}

.intro-grid p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.86;
}

.section-block {
  padding: clamp(70px, 9vw, 112px) 0;
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  margin-top: 14px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

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

.service-grid article,
.process-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--surface);
  box-shadow: 0 16px 36px rgba(8, 37, 69, 0.06);
}

.service-grid span {
  display: block;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 32px;
  font-weight: 700;
}

.service-grid h3,
.process-grid h3 {
  margin-top: 18px;
  color: var(--navy);
  font-size: 19px;
  line-height: 1.35;
}

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

.visual-band {
  padding: clamp(54px, 8vw, 88px) 0;
  background: #eef3f3;
}

.visual-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.visual-copy p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.78;
}

.visual-grid img {
  width: 100%;
  min-height: 340px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.school-section {
  background: var(--paper);
}

.school-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.school-list span {
  display: flex;
  min-height: 74px;
  align-items: center;
  border: 1px solid rgba(8, 37, 69, 0.11);
  border-radius: 8px;
  padding: 14px;
  background: #ffffff;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.approach-section {
  background: #ffffff;
}

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

.process-grid strong {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  background: rgba(111, 29, 45, 0.11);
  color: var(--rose);
  font-family: Georgia, serif;
}

.contact-band {
  padding: clamp(58px, 8vw, 96px) 0;
  background: var(--green);
  color: #ffffff;
}

.contact-grid p:not(.eyebrow) {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 17px;
  line-height: 1.7;
}

.contact-actions {
  display: grid;
  justify-items: start;
  gap: 16px;
}

.contact-actions .primary-action {
  background: #ffffff;
  color: var(--green);
}

.contact-actions span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 750;
}

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

  .site-nav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: start;
    overflow-x: auto;
  }

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

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

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

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

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

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

  .portal-link {
    padding: 10px 12px;
    font-size: 13px;
  }

  .hero-section {
    min-height: 78vh;
    padding: 64px 20px;
  }

  .hero-actions,
  .hero-actions a {
    width: 100%;
  }

  .service-grid,
  .process-grid,
  .school-list {
    grid-template-columns: 1fr;
  }

  .visual-grid img {
    min-height: 240px;
  }
}
