:root {
  --ink: #15212f;
  --muted: #617082;
  --line: #dbe3ea;
  --paper: #ffffff;
  --soft: #f4f7f8;
  --navy: #173f5f;
  --green: #16705f;
  --gold: #c79a3a;
  --coral: #df694f;
  --shadow: 0 22px 60px rgba(21, 33, 47, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 5vw;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(219, 227, 234, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  letter-spacing: 0;
}

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

.brand small {
  display: block;
  margin-top: -5px;
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #334154;
  font-size: 14px;
}

.main-nav a {
  white-space: nowrap;
}

.nav-cta {
  padding: 9px 15px;
  color: #fff;
  background: var(--green);
  border-radius: 6px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 92vh;
  padding: 148px 5vw 86px;
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.84) 36%, rgba(255, 255, 255, 0.2) 68%),
    linear-gradient(0deg, rgba(21, 33, 47, 0.24), rgba(21, 33, 47, 0));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 670px;
}

.eyebrow,
.section-kicker {
  display: inline-block;
  margin: 0 0 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(54px, 8vw, 108px);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 600px;
  margin: 26px 0 0;
  color: #304052;
  font-size: clamp(18px, 2vw, 24px);
}

.hero-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 750;
}

.hero-actions {
  margin-top: 34px;
}

.button.primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 10px 30px rgba(22, 112, 95, 0.24);
}

.button.secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(23, 63, 95, 0.18);
}

.button.wide {
  width: 100%;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 590px;
  margin: 42px 0 0;
}

.hero-metrics div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(219, 227, 234, 0.9);
  border-radius: 8px;
}

.hero-metrics dt {
  font-size: 25px;
  font-weight: 850;
}

.hero-metrics dd {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.quick-assess,
.section,
.consult-section,
.site-footer {
  padding-left: 5vw;
  padding-right: 5vw;
}

.quick-assess {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 28px;
  align-items: end;
  padding-top: 42px;
  padding-bottom: 42px;
  background: var(--navy);
  color: #fff;
}

.quick-assess h2,
.section-heading h2,
.consult-copy h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: 0;
}

.quick-assess .section-kicker {
  color: #8ed7ca;
}

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

label {
  display: grid;
  gap: 7px;
  color: inherit;
  font-size: 13px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(22, 112, 95, 0.13);
}

.section {
  padding-top: 92px;
  padding-bottom: 96px;
}

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

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

.section-heading p,
.consult-copy p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.section-heading.split {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.section-heading.split p {
  max-width: 470px;
}

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

.program-card,
.case-card,
.news-card,
.school-card,
details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.program-card {
  min-height: 305px;
  padding: 24px;
}

.news-card {
  min-height: 215px;
  padding: 24px;
  border-top: 4px solid var(--gold);
}

.news-card span {
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
}

.news-card h3 {
  margin: 16px 0 10px;
  font-size: 22px;
  line-height: 1.25;
}

.news-card p {
  margin: 0;
  color: var(--muted);
}

.card-icon {
  display: inline-grid;
  min-width: 46px;
  height: 34px;
  place-items: center;
  padding: 0 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  background: var(--navy);
  border-radius: 6px;
}

.program-card h3,
.case-card h3,
.school-card h3,
.timeline h3 {
  margin: 18px 0 8px;
  font-size: 21px;
  line-height: 1.25;
}

.program-card p,
.case-card p,
.school-card p,
.timeline p,
details p {
  color: var(--muted);
}

.program-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: #435267;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  min-height: 236px;
  padding: 24px;
  background: #fff;
  border-top: 4px solid var(--green);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(21, 33, 47, 0.06);
}

.timeline span {
  color: var(--gold);
  font-size: 14px;
  font-weight: 850;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.filter {
  min-height: 40px;
  padding: 0 15px;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 750;
}

.filter.active {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}

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

.school-card {
  padding: 22px;
}

.school-card span {
  display: block;
  margin-top: 16px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.case-card {
  min-height: 245px;
  padding: 24px;
}

.case-card div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--green);
  font-size: 13px;
}

.case-card span {
  color: var(--muted);
}

.two-column {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.sticky-heading {
  position: sticky;
  top: 110px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  padding: 20px 22px;
}

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

.consult-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
  padding-top: 86px;
  padding-bottom: 88px;
  color: #fff;
  background: var(--navy);
}

.consult-copy {
  max-width: 570px;
}

.consult-copy .section-kicker {
  color: #8ed7ca;
}

.consult-copy p {
  color: #d5e1e8;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  color: var(--ink);
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--green);
  font-weight: 750;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 34px;
  padding-bottom: 92px;
  color: #dbe3ea;
  background: #102437;
}

.site-footer p {
  margin: 6px 0 0;
  color: #9caab5;
}

.mobile-cta {
  display: none;
}

@media (max-width: 1040px) {
  .program-grid,
  .case-grid,
  .news-grid,
  .school-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .mini-form,
  .quick-assess,
  .consult-section,
  .two-column {
    grid-template-columns: 1fr;
  }

  .sticky-heading {
    position: static;
  }
}

@media (max-width: 820px) {
  .site-header {
    min-height: 64px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 5vw 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 0;
  }

  .nav-cta {
    margin-top: 6px;
    padding: 12px 14px;
    text-align: center;
  }

  .hero {
    min-height: 88vh;
    padding-top: 118px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.88) 58%, rgba(255, 255, 255, 0.26) 100%),
      linear-gradient(0deg, rgba(21, 33, 47, 0.25), rgba(21, 33, 47, 0));
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    max-width: 330px;
  }

  .section-heading.split {
    display: block;
  }

  .program-grid,
  .case-grid,
  .news-grid,
  .school-list,
  .timeline {
    grid-template-columns: 1fr;
  }

  .mobile-cta {
    position: fixed;
    z-index: 18;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -10px 30px rgba(21, 33, 47, 0.12);
  }

  .mobile-cta a {
    display: grid;
    min-height: 56px;
    place-items: center;
    color: var(--navy);
    font-weight: 800;
  }

  .mobile-cta a:last-child {
    color: #fff;
    background: var(--green);
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 90vh;
    padding-bottom: 54px;
  }

  .hero-image {
    object-position: 68% center;
  }

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

  .hero-actions .button {
    width: 100%;
  }

  .quick-assess,
  .section,
  .consult-section {
    padding-top: 58px;
    padding-bottom: 62px;
  }

  .quick-assess {
    padding-top: 36px;
    padding-bottom: 38px;
  }

  .program-card,
  .case-card,
  .lead-form {
    padding: 20px;
  }

  .site-footer {
    display: block;
  }

  .footer-links {
    margin-top: 18px;
  }
}
