:root {
  color-scheme: light;
  --bg: #f5f5f7;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --ink: #151517;
  --muted: #6e6e73;
  --line: rgba(29, 29, 31, 0.12);
  --blue: #0071e3;
  --blue-dark: #005bbf;
  --wood: #b8875c;
  --sage: #8ca18f;
  --shadow: 0 18px 60px rgba(20, 24, 33, 0.1);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #ffffff 0%, var(--bg) 42%, #ffffff 100%);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 55%);
}

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

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

.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(calc(100% - 28px), var(--max));
  min-height: 66px;
  margin: 14px auto 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(22px) saturate(180%);
}

.brand,
.header-actions,
.nav-links,
.quick-facts,
.hero-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 11px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: #111111;
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
}

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

.brand strong {
  font-size: 15px;
  line-height: 1.2;
}

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

.nav-links {
  gap: 24px;
  color: #343438;
  font-size: 14px;
}

.nav-links a {
  transition: color 160ms ease;
}

.nav-links a:hover {
  color: var(--blue);
}

.header-actions {
  gap: 10px;
}

.language-toggle,
.call-button,
.primary-action,
.secondary-action {
  border: 0;
  border-radius: var(--radius);
  min-height: 42px;
  padding: 0 16px;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f0f1f3;
  color: #2a2a2e;
}

.toggle-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--blue);
}

.lang-zh,
.lang-en {
  opacity: 0.52;
}

html[lang="zh-CN"] .lang-zh,
html[lang="en"] .lang-en {
  opacity: 1;
}

.call-button,
.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(0, 113, 227, 0.2);
}

.call-button:hover,
.primary-action:hover {
  background: var(--blue-dark);
}

.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-strong);
  color: var(--ink);
  border: 1px solid var(--line);
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 92px);
  padding-top: 54px;
}

.hero-copy {
  max-width: 640px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(43px, 5.8vw, 74px);
  line-height: 1.04;
  font-weight: 760;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 4.5vw, 58px);
  line-height: 1.04;
  font-weight: 730;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.2;
}

.hero-text,
.contact-section p {
  color: var(--muted);
  font-size: 21px;
  line-height: 1.55;
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin: 32px 0 34px;
}

.quick-facts {
  align-items: stretch;
  gap: 10px;
  flex-wrap: wrap;
}

.quick-facts div {
  min-width: 132px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
}

.quick-facts strong,
.quick-facts span {
  display: block;
}

.quick-facts strong {
  font-size: 26px;
  line-height: 1.1;
}

.quick-facts span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.hero-visual {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #e9e3dc;
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
}

.visual-note {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px) saturate(160%);
}

.visual-note span,
.visual-note small {
  display: block;
}

.visual-note span {
  font-weight: 720;
}

.visual-note small {
  margin-top: 5px;
  color: var(--muted);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(calc(100% - 32px), var(--max));
  margin: -32px auto 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.trust-strip p {
  margin: 0;
  padding: 22px 18px;
  background: #ffffff;
  color: #242427;
  text-align: center;
  font-weight: 660;
}

.split-section {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 54px;
  align-items: start;
}

.section-heading {
  position: sticky;
  top: 108px;
}

.section-heading.compact {
  position: static;
  max-width: 780px;
  margin-bottom: 34px;
}

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

.service-card {
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 38px;
  border-radius: 999px;
  background: #f0f3f7;
  color: var(--blue);
  font-size: 13px;
  font-weight: 760;
}

.service-card p,
.case-card p,
.process-list p {
  color: var(--muted);
  line-height: 1.6;
}

.cases-section {
  padding-top: 42px;
}

.case-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 14px;
}

.case-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.case-card.large {
  grid-row: span 2;
}

.case-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.case-card.large img {
  height: 510px;
}

.case-card div {
  padding: 24px;
}

.case-card span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--sage);
  font-size: 13px;
  font-weight: 760;
}

.process-section {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 56px;
}

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

.process-list li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
}

.process-list span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  font-weight: 760;
}

.process-list h3 {
  margin-bottom: 6px;
}

.process-list p {
  margin-bottom: 0;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 440px);
  gap: 48px;
  align-items: center;
  width: min(calc(100% - 32px), var(--max));
  margin: 36px auto 0;
  padding: 54px;
  border-radius: var(--radius);
  background: #111111;
  color: #ffffff;
}

.contact-section .eyebrow {
  color: #7ab8ff;
}

.contact-section p {
  max-width: 650px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.contact-panel {
  display: grid;
  gap: 12px;
}

.contact-row {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.contact-row span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

.contact-row strong {
  font-size: 20px;
  line-height: 1.28;
}

.primary-action.full {
  width: 100%;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 34px 0 44px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin-bottom: 0;
}

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

.site-footer a {
  color: var(--blue);
  font-weight: 650;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
    padding: 8px 4px 0;
  }

  .hero,
  .split-section,
  .process-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 28px;
    min-height: auto;
  }

  .section-heading {
    position: static;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 480px;
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 0;
  }

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

  .case-card.large {
    grid-row: auto;
  }

  .case-card.large img {
    height: 340px;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 8px;
    width: min(calc(100% - 16px), var(--max));
    margin-top: 8px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .header-actions {
    width: 100%;
  }

  .language-toggle,
  .call-button {
    flex: 1;
  }

  .section {
    width: min(calc(100% - 24px), var(--max));
    padding: 58px 0;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 34px;
  }

  h3 {
    font-size: 20px;
  }

  .hero-text,
  .contact-section p {
    font-size: 18px;
  }

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

  .quick-facts {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 380px;
  }

  .trust-strip {
    width: min(calc(100% - 24px), var(--max));
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .case-card img,
  .case-card.large img {
    height: 250px;
  }

  .process-list li {
    grid-template-columns: 42px 1fr;
    padding: 18px;
  }

  .contact-section {
    width: min(calc(100% - 24px), var(--max));
    padding: 28px;
  }

  .site-footer {
    width: min(calc(100% - 24px), var(--max));
    flex-direction: column;
  }
}
