:root {
  --ink: #11242f;
  --muted: #5f6f78;
  --line: #d9e2e5;
  --paper: #fbfcfb;
  --soft: #eef5f2;
  --brand: #0f5f63;
  --brand-dark: #093d44;
  --gold: #c6933d;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(12, 40, 48, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease,
    padding 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 30px rgba(15, 42, 48, 0.12);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 8px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.site-header.is-scrolled .brand-mark,
.site-header.is-open .brand-mark {
  border-color: rgba(15, 95, 99, 0.28);
  background: rgba(15, 95, 99, 0.08);
}

.brand-mark svg {
  width: 29px;
  height: 29px;
  display: block;
}

.logo-peak {
  fill: currentColor;
}

.logo-cut {
  fill: rgba(198, 147, 61, 0.95);
}

.logo-line {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 4;
}

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

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

.brand small {
  margin-top: 4px;
  color: currentColor;
  font-size: 12px;
  opacity: 0.82;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}

.nav a {
  opacity: 0.9;
}

.nav a:hover {
  opacity: 1;
}

.header-cta,
.button,
.language-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 6px;
  font-weight: 700;
  white-space: nowrap;
}

.language-toggle {
  border: 1px solid rgba(255, 255, 255, 0.46);
  color: currentColor;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.site-header.is-scrolled .language-toggle,
.site-header.is-open .language-toggle {
  border-color: rgba(15, 95, 99, 0.24);
  color: var(--brand);
  background: rgba(15, 95, 99, 0.08);
}

.header-cta {
  color: var(--ink);
  background: var(--white);
}

.site-header.is-scrolled .header-cta,
.site-header.is-open .header-cta {
  color: var(--white);
  background: var(--brand);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid currentColor;
  border-radius: 6px;
  color: currentColor;
  background: transparent;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  display: flex;
  min-height: 92vh;
  align-items: center;
  overflow: hidden;
  padding: 118px clamp(20px, 6vw, 82px) 86px;
  color: var(--white);
}

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

.hero-media {
  background:
    linear-gradient(90deg, rgba(11, 36, 43, 0.35), rgba(11, 36, 43, 0.02)),
    url("https://images.pexels.com/photos/5553959/pexels-photo-5553959.jpeg?auto=compress&cs=tinysrgb&w=1800")
      center / cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 28, 33, 0.92) 0%, rgba(6, 28, 33, 0.73) 42%, rgba(6, 28, 33, 0.18) 100%),
    linear-gradient(0deg, rgba(6, 28, 33, 0.5), transparent 40%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(38px, 5.8vw, 68px);
  line-height: 1.04;
}

h1 span {
  display: block;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2vw, 20px);
}

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

.button.primary {
  border: 1px solid var(--gold);
  color: var(--ink);
  background: var(--gold);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.44);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.hero-proof {
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
}

.hero-proof span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.stats div {
  min-height: 132px;
  padding: 28px clamp(18px, 3vw, 42px);
  border-right: 1px solid var(--line);
}

.stats div:last-child {
  border-right: 0;
}

.stats strong,
.stats span {
  display: block;
}

.stats strong {
  color: var(--brand);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
}

.stats span {
  margin-top: 10px;
  color: var(--muted);
}

.section {
  padding: 84px clamp(20px, 5vw, 72px);
}

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

.section-heading h2,
.contact-copy h2 {
  margin-bottom: 28px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
}

.section-note {
  max-width: 740px;
  margin: -12px 0 28px;
  color: var(--muted);
  font-size: 16px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 6vw, 86px);
  max-width: 1120px;
  color: var(--muted);
  font-size: 18px;
}

.service-grid,
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.service-catalog {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 10px 0 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-catalog article {
  min-height: 245px;
  padding: 26px;
  border-right: 1px solid var(--line);
}

.service-catalog article:last-child {
  border-right: 0;
}

.service-catalog h3 {
  margin-bottom: 16px;
  color: var(--brand);
  font-size: 22px;
}

.service-catalog ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-catalog li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
}

.service-catalog li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.service-card,
.case-grid article {
  min-height: 236px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 2px 0 rgba(15, 95, 99, 0.04);
}

.service-card:hover,
.case-grid article:hover {
  border-color: rgba(15, 95, 99, 0.35);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.service-card,
.case-grid article {
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.card-number,
.case-grid article span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.service-card h3,
.case-grid article h3,
.step h3 {
  margin: 14px 0 10px;
  font-size: 22px;
  line-height: 1.2;
}

.service-card p,
.case-grid article p,
.step p {
  color: var(--muted);
}

.pathways {
  padding: 86px clamp(20px, 5vw, 72px);
  background: var(--brand-dark);
}

.pathways-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 6vw, 82px);
  color: var(--white);
}

.pathways .section-heading h2 {
  color: var(--white);
}

.steps {
  display: grid;
  gap: 16px;
}

.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  column-gap: 18px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.step span {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 6px;
  color: var(--ink);
  background: var(--gold);
  font-size: 22px;
  font-weight: 800;
}

.step h3,
.step p {
  grid-column: 2;
}

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

.contact-band {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(26px, 5vw, 72px);
  align-items: start;
  padding: 92px clamp(20px, 5vw, 72px);
  background: var(--soft);
}

.contact-copy p {
  max-width: 560px;
  color: var(--muted);
}

.wechat-card {
  display: flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(12, 40, 48, 0.08);
}

.wechat-card img {
  width: 128px;
  height: 128px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
}

.wechat-card strong,
.wechat-card span {
  display: block;
}

.wechat-card strong {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 18px;
}

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

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  outline: 3px solid rgba(15, 95, 99, 0.14);
}

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

.form-note.is-success {
  color: var(--brand);
  font-weight: 700;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.72);
  background: #071f25;
}

.footer strong,
.footer span {
  display: block;
}

.footer strong {
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px 24px;
}

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

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

  .menu-button {
    display: block;
  }

  .site-header.is-open .nav,
  .site-header.is-open .header-cta {
    display: flex;
    grid-column: 1 / -1;
    width: 100%;
  }

  .site-header.is-open .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-top: 12px;
  }

  .site-header.is-open .header-cta {
    width: fit-content;
  }

  .language-toggle {
    min-height: 44px;
    padding: 0 14px;
  }

  .hero {
    min-height: 86vh;
    padding-top: 116px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(6, 28, 33, 0.95), rgba(6, 28, 33, 0.62));
  }

  .stats,
  .service-catalog,
  .service-grid,
  .case-grid,
  .pathways-inner,
  .contact-band,
  .intro-grid {
    grid-template-columns: 1fr;
  }

  .stats div {
    min-height: 112px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stats div:last-child {
    border-bottom: 0;
  }

  .service-catalog article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-catalog article:last-child {
    border-bottom: 0;
  }

  .footer {
    display: grid;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .brand strong {
    font-size: 16px;
  }

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

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

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

  .service-card,
  .case-grid article,
  .contact-form {
    padding: 22px;
  }

  .wechat-card {
    width: 100%;
    align-items: flex-start;
  }

  .wechat-card img {
    width: 104px;
    height: 104px;
  }

  .step {
    grid-template-columns: 48px 1fr;
    padding: 18px;
  }

  .step span {
    width: 44px;
    height: 44px;
  }
}
