:root {
  --ink: #152024;
  --muted: #5c6970;
  --line: #d9e1e4;
  --paper: #f7f8f5;
  --white: #ffffff;
  --teal: #0d766d;
  --teal-dark: #0a514d;
  --gold: #c88f2d;
  --coral: #d66f4d;
  --shadow: 0 18px 45px rgba(21, 32, 36, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(21, 32, 36, 0.1);
  background: rgba(247, 248, 245, 0.92);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1160px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: grid;
  gap: 0;
  font-weight: 800;
  letter-spacing: 0;
}

.brand small {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 15px;
}

.button {
  border: 0;
  border-radius: 8px;
  min-height: 44px;
  padding: 12px 18px;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--dark {
  color: var(--white);
  background: var(--teal-dark);
  box-shadow: 0 10px 20px rgba(10, 81, 77, 0.18);
}

.button--light {
  color: var(--teal-dark);
  background: var(--white);
}

.hero {
  min-height: calc(100vh - 72px);
  position: relative;
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 31, 34, 0.83) 0%, rgba(10, 31, 34, 0.68) 34%, rgba(10, 31, 34, 0.16) 72%),
    url("assets/hero-study-tour.png") center / cover no-repeat;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 110px;
  background: linear-gradient(180deg, rgba(247, 248, 245, 0), var(--paper));
  z-index: -1;
}

.hero__inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 92px;
  color: var(--white);
}

.eyebrow {
  color: #f1c77d;
  font-size: 14px;
  font-weight: 800;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(40px, 6vw, 78px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero p {
  max-width: 620px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 16px;
  margin-top: 48px;
}

.hero__stats div {
  border-left: 3px solid var(--gold);
  padding-left: 14px;
}

.hero__stats strong {
  display: block;
  font-size: 28px;
  line-height: 1.1;
}

.hero__stats span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.section {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.section--split {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1fr);
  gap: 42px;
  align-items: start;
}

.section__head {
  max-width: 720px;
  margin-bottom: 26px;
}

.section__head h2,
.split-copy h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.18;
  letter-spacing: 0;
}

.section__head p,
.split-copy p {
  color: var(--muted);
}

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

.pathway {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.pathway span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  border-radius: 8px;
  color: var(--white);
  background: var(--teal);
  font-weight: 800;
}

.pathway:nth-child(2) span {
  background: var(--coral);
}

.pathway:nth-child(3) span {
  background: var(--gold);
}

.pathway:nth-child(4) span {
  background: #3d5f91;
}

.pathway h3 {
  margin-bottom: 8px;
  font-size: 21px;
}

.pathway p {
  color: var(--muted);
  margin-bottom: 0;
}

.tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 22px;
}

.tab {
  min-height: 40px;
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  background: var(--white);
  color: var(--muted);
  font: inherit;
  cursor: pointer;
}

.tab.is-active {
  border-color: var(--teal-dark);
  color: var(--white);
  background: var(--teal-dark);
}

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

.program-card {
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(21, 32, 36, 0.04);
}

.program-card__top,
.program-card__footer,
.program-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.program-card__top span {
  color: var(--teal-dark);
  font-weight: 800;
}

.program-card__top strong {
  color: var(--coral);
  font-size: 14px;
}

.program-card h3 {
  margin-bottom: 0;
  font-size: 24px;
  line-height: 1.25;
}

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

.program-card__meta {
  justify-content: flex-start;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}

.program-card__meta span {
  padding: 6px 10px;
  border-radius: 999px;
  background: #edf2f0;
}

.program-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--ink);
}

.price {
  display: block;
  font-size: 26px;
  font-weight: 850;
}

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

.process {
  display: grid;
  gap: 14px;
}

.process__item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.process__item strong {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
}

.process__item h3 {
  margin-bottom: 4px;
  font-size: 20px;
}

.process__item p {
  color: var(--muted);
  margin-bottom: 0;
}

.payment-panel {
  padding: 28px;
  border-radius: 8px;
  background: var(--teal-dark);
  color: var(--white);
  box-shadow: var(--shadow);
}

.payment-panel h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

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

.payment-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.payment-list div {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
}

.payment-list span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--teal-dark);
  background: #f1c77d;
  font-weight: 900;
}

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

.faq article {
  padding: 24px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
}

.faq h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.faq p {
  color: var(--muted);
  margin-bottom: 0;
}

.cta {
  padding: 58px 0 74px;
  background: var(--ink);
  color: var(--white);
}

.cta__inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta h2 {
  margin-bottom: 8px;
  font-size: clamp(28px, 3vw, 40px);
}

.cta p {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.68);
}

.site-footer__inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

dialog {
  width: min(560px, calc(100% - 28px));
  border: 0;
  border-radius: 8px;
  padding: 0;
  box-shadow: var(--shadow);
}

dialog::backdrop {
  background: rgba(10, 20, 22, 0.62);
}

.modal {
  padding: 28px;
}

.modal__top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.icon-button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.amounts {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}

.amounts label,
.field {
  display: grid;
  gap: 8px;
}

.amounts label {
  grid-template-columns: 20px 1fr;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.field span {
  font-weight: 750;
}

.field input {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  font: inherit;
}

.modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

.button--ghost {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}

.thank-you-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    linear-gradient(90deg, rgba(10, 31, 34, 0.88), rgba(10, 31, 34, 0.5)),
    url("assets/hero-study-tour.png") center / cover no-repeat;
}

.thank-you {
  width: min(680px, 100%);
  padding: 40px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.thank-you h1 {
  margin-bottom: 14px;
  font-size: clamp(34px, 5vw, 56px);
  color: var(--ink);
}

.thank-you p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 18px;
}

@media (max-width: 900px) {
  .nav__links {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .hero__stats,
  .pathways,
  .program-grid,
  .faq,
  .section--split {
    grid-template-columns: 1fr;
  }

  .cta__inner,
  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .hero__inner {
    padding-top: 34px;
  }

  h1 {
    font-size: 40px;
  }

  .program-card__footer,
  .modal__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
