:root {
  color-scheme: light;
  --ink: #111318;
  --text: #2c3440;
  --muted: #687383;
  --soft: #9aa3af;
  --line: #dde3ea;
  --line-strong: #c4ccd6;
  --bg: #f5f5f7;
  --paper: #ffffff;
  --wash: rgba(255, 255, 255, 0.74);
  --blue: #0066cc;
  --blue-dark: #004a99;
  --max: 1120px;
  --shadow: 0 24px 64px rgba(20, 31, 48, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.58;
  letter-spacing: 0;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 20px clamp(22px, 4vw, 60px);
  background: rgba(245, 245, 247, 0.72);
  border-bottom: 1px solid transparent;
  backdrop-filter: saturate(180%) blur(22px);
  transition: padding 180ms ease, background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  padding-block: 14px;
  background: rgba(245, 245, 247, 0.9);
  border-color: rgba(0, 0, 0, 0.08);
}

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

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

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

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

.brand-text small {
  margin-top: 1px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(26px, 3.4vw, 46px);
  color: rgba(17, 19, 24, 0.72);
  font-size: 15.5px;
  font-weight: 720;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  transition: color 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  border-radius: 999px;
  background: var(--blue);
  opacity: 0;
  transform: scaleX(0.55);
  transition: opacity 180ms ease, transform 180ms ease;
}

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

.site-nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-action,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 19px;
  border-radius: 999px;
  font-weight: 760;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.nav-action {
  padding-inline: 22px;
  color: #fff;
  background: var(--ink);
}

.button.primary {
  color: #fff;
  background: var(--blue);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-action:hover,
.button:hover {
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: 94svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 112px clamp(20px, 4vw, 56px) 38px;
  background: #eef1f5;
}

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

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transform-origin: center;
  transition: transform 280ms ease-out;
}

.hero-overlay {
  background: rgba(255, 255, 255, 0.2);
}

.hero-content {
  position: relative;
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding-bottom: clamp(34px, 6vh, 66px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.11em;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(40px, 5.2vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 720px;
  margin-bottom: 30px;
  color: rgba(17, 19, 24, 0.76);
  font-size: clamp(17px, 1.45vw, 20px);
}

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

.hero-metrics {
  position: relative;
  display: grid;
  width: min(var(--max), 100%);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.hero-metrics div {
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.58);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  margin-bottom: 4px;
  font-size: 30px;
  line-height: 1;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 15px;
}

.section {
  padding: clamp(72px, 8.5vw, 112px) clamp(20px, 4vw, 56px);
}

.section-inner {
  width: min(var(--max), 100%);
  margin-inline: auto;
}

.intro {
  background: #fff;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: end;
}

.section-title h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 4.1vw, 44px);
  line-height: 1.12;
  letter-spacing: 0;
}

.section-title.center {
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: center;
}

.section-title.center h2 {
  margin-bottom: 14px;
}

.section-title.center p,
.intro-copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.capabilities {
  background: var(--bg);
}

.capability-showcase {
  overflow: hidden;
  border: 1px solid rgba(17, 19, 24, 0.06);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.capability-tabs {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
  padding: 0 22px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}

.service-tab {
  position: relative;
  min-height: 62px;
  padding: 0 10px;
  border: 0;
  border-radius: 0;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 720;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease;
}

.service-tab::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 2px;
  background: var(--blue);
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 180ms ease, transform 180ms ease;
}

.service-tab:hover,
.service-tab.is-active {
  color: var(--blue);
  background: #f7fafd;
}

.service-tab.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.slides {
  position: relative;
  min-height: 430px;
}

.service-slide {
  display: grid;
  grid-template-columns: minmax(96px, 0.18fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  min-height: 430px;
  padding: clamp(30px, 4.8vw, 56px);
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.service-slide.is-active {
  opacity: 1;
  transform: translateX(0);
}

.service-slide[hidden] {
  display: none;
}

.slide-number {
  color: #e6ebf1;
  font-size: clamp(72px, 10vw, 126px);
  font-weight: 850;
  line-height: 0.9;
}

.slide-kicker {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.service-slide h3 {
  margin-bottom: 14px;
  font-size: clamp(30px, 3.7vw, 46px);
  line-height: 1.1;
}

.service-slide p {
  max-width: 680px;
  margin-bottom: 22px;
  color: var(--text);
  font-size: 18px;
}

.service-slide ul {
  display: grid;
  gap: 11px;
  max-width: 720px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--muted);
  font-size: 16px;
}

.service-slide li {
  position: relative;
  padding-left: 18px;
}

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

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 0 22px 22px;
}

.carousel-controls button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.carousel-controls span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.solutions {
  background: #fff;
}

.solutions .section-title {
  max-width: 760px;
  margin-bottom: 40px;
}

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

.solution-item {
  min-height: 270px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fbfbfd;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.solution-item:hover {
  transform: translateY(-6px);
  background: #fff;
  box-shadow: 0 22px 54px rgba(20, 31, 48, 0.11);
}

.solution-item span {
  display: block;
  margin-bottom: 42px;
  color: var(--blue);
  font-size: 44px;
  font-weight: 760;
  line-height: 1;
  letter-spacing: 0;
  opacity: 0.28;
}

.solution-item h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.2;
}

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

.process {
  background: var(--bg);
}

.process-panel {
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid rgba(17, 19, 24, 0.06);
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(20, 31, 48, 0.1);
}

.process-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: end;
  margin-bottom: 34px;
}

.process-copy .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -18px;
}

.process-copy h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 4.1vw, 44px);
  line-height: 1.12;
}

.process-copy p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.process-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--line);
  list-style: none;
}

.process-track li {
  position: relative;
  min-height: 260px;
  padding: 26px;
  background: #fbfbfd;
  transition: transform 220ms ease, background 220ms ease;
}

.process-track li:hover {
  transform: translateY(-4px);
  background: #fff;
}

.process-track li::after {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  top: 104px;
  height: 1px;
  background: var(--line);
}

.process-track span {
  display: block;
  margin-bottom: 70px;
  color: var(--blue);
  font-size: 46px;
  font-weight: 760;
  line-height: 1;
  letter-spacing: 0;
  opacity: 0.3;
}

.process-track strong {
  display: block;
  margin-bottom: 12px;
  font-size: 23px;
  line-height: 1.2;
}

.process-track p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
}

.contact-section {
  padding: clamp(72px, 8vw, 112px) clamp(20px, 4vw, 56px);
  background: #fff;
}

.contact-card {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: clamp(36px, 6vw, 76px);
  border-radius: 30px;
  color: #fff;
  background: #111318;
  box-shadow: var(--shadow);
}

.contact-card .eyebrow {
  color: #8cc2ff;
}

.contact-card h2 {
  max-width: 860px;
  margin-bottom: 18px;
  font-size: clamp(34px, 4.4vw, 48px);
  line-height: 1.12;
}

.contact-card p {
  max-width: 800px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.contact-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 36px;
}

.contact-row span,
.contact-row a {
  display: flex;
  min-height: 66px;
  align-items: center;
  padding: 0 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 760;
  overflow-wrap: anywhere;
}

.contact-row a {
  transition: background 180ms ease, transform 180ms ease;
}

.contact-row a:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 4vw, 56px);
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--soft);
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 700ms ease, transform 700ms ease;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .hero-image {
    transform: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1120px) {
  .site-nav {
    display: none;
  }

  .intro-grid,
  .process-copy {
    grid-template-columns: 1fr;
  }

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

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

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

  .brand-text small {
    display: none;
  }

  .nav-action {
    min-height: 38px;
    padding-inline: 14px;
    font-size: 14px;
  }

  .hero,
  .section,
  .contact-section {
    padding-inline: 18px;
  }

  .hero {
    min-height: 94svh;
    padding-top: 102px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-lead,
  .section-title.center p,
  .intro-copy p {
    font-size: 17px;
  }

  .hero-actions,
  .hero-metrics,
  .solution-grid,
  .contact-row {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .hero-metrics {
    border-radius: 22px;
  }

  .capability-showcase,
  .process-panel,
  .process-track,
  .contact-card {
    border-radius: 24px;
  }

  .capability-tabs {
    display: flex;
    gap: 8px;
    padding: 12px;
  }

  .service-tab {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 14px;
  }

  .service-tab::after {
    display: none;
  }

  .service-slide {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 32px 24px;
  }

  .slide-number {
    font-size: 76px;
  }

  .service-slide h3 {
    font-size: 34px;
  }

  .service-slide p {
    font-size: 18px;
  }

  .carousel-controls {
    justify-content: space-between;
  }

  .solution-item {
    min-height: auto;
  }

  .solution-item span {
    margin-bottom: 30px;
    font-size: 38px;
  }

  .process-track {
    grid-template-columns: 1fr;
  }

  .process-track li {
    min-height: auto;
  }

  .process-track span {
    margin-bottom: 42px;
    font-size: 38px;
  }

  .site-footer {
    flex-direction: column;
    padding-inline: 18px;
  }
}
