:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #667085;
  --line: #d8dee8;
  --paper: #f7f9fc;
  --white: #ffffff;
  --blue: #1769e0;
  --teal: #078b8b;
  --green: #20885a;
  --gold: #c78218;
  --shadow: 0 18px 50px rgba(18, 32, 54, 0.14);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(216, 222, 232, 0.86);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  font-weight: 800;
}

.brand strong {
  display: block;
  font-size: 16px;
  line-height: 1.25;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.3;
}

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

.site-nav a {
  padding: 10px 12px;
  border-radius: 6px;
  color: #344054;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--blue);
  background: #edf4ff;
}

.site-nav .nav-action {
  margin-left: 8px;
  color: #fff;
  background: var(--ink);
}

.site-nav .nav-action:hover {
  color: #fff;
  background: var(--blue);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 600px;
  display: grid;
  align-items: start;
  overflow: hidden;
  background: #111827;
}

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

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 20, 34, 0.9), rgba(12, 20, 34, 0.55) 52%, rgba(12, 20, 34, 0.18));
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(780px, calc(100% - 36px));
  margin: 0 auto;
  padding: 52px 0 76px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: #2f9bff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #8ee4de;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.35;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.hero-actions,
.button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.button {
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 6px;
  font-weight: 800;
}

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

.button.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.08);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 1120px;
  margin: -56px auto 0;
  position: relative;
  z-index: 2;
  padding: 0 18px;
}

.metrics div {
  min-height: 112px;
  padding: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.metrics div:first-child {
  border-radius: 8px 0 0 8px;
}

.metrics div:last-child {
  border-radius: 0 8px 8px 0;
}

.metrics strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.metrics span,
.section-heading p,
.service-card p,
.about-section p,
.readiness-list span,
.contact-section p,
.contact-panel small {
  color: var(--muted);
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 96px 18px 0;
}

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

.section-heading.compact {
  margin-bottom: 0;
}

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

.service-card {
  min-height: 292px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 8px;
  color: #fff;
  background: var(--teal);
  font-weight: 900;
}

.service-card:nth-child(2) .icon {
  background: var(--blue);
}

.service-card:nth-child(3) .icon {
  background: var(--green);
}

.service-card:nth-child(4) .icon {
  background: var(--gold);
}

.page-hero {
  max-width: none;
  padding: 86px clamp(18px, 5vw, 72px) 76px;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(23, 32, 51, 0.96), rgba(7, 139, 139, 0.82)),
    url("assets/hero-tech.png") center / cover;
}

.page-hero h1,
.page-hero p {
  max-width: 860px;
  margin-inline: auto;
}

.page-hero .eyebrow {
  color: #8ee4de;
}

.page-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4vw, 54px);
}

.page-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

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

.case-card {
  min-height: 238px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(18, 32, 54, 0.08);
}

.case-card span,
.case-label {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

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

.text-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--blue);
  font-weight: 900;
}

.text-link:hover {
  text-decoration: underline;
}

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

.detail-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(18, 32, 54, 0.08);
}

.detail-card h2 {
  margin-bottom: 12px;
  font-size: 26px;
}

.detail-card p {
  color: var(--muted);
}

.detail-card ul,
.case-row ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.detail-card li,
.case-row li {
  position: relative;
  padding-left: 18px;
  color: #344054;
}

.detail-card li::before,
.case-row li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.76em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

.case-list {
  display: grid;
  gap: 22px;
}

.case-row {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(18, 32, 54, 0.08);
}

.case-row h2 {
  margin-bottom: 0;
  font-size: 28px;
}

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

.split-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 44px;
  align-items: start;
}

.readiness-list {
  display: grid;
  gap: 14px;
}

.readiness-list div {
  padding: 20px 22px;
  border-left: 4px solid var(--blue);
  border-radius: 0 8px 8px 0;
  background: #fff;
}

.readiness-list strong {
  display: block;
  margin-bottom: 5px;
}

.scope-section {
  max-width: none;
  margin-top: 96px;
  padding: 82px clamp(18px, 5vw, 72px);
  background: #172033;
  color: #fff;
}

.scope-section .section-heading {
  max-width: 1120px;
  margin-inline: auto;
}

.scope-section .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.scope-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 1120px;
  margin: 0 auto;
}

.scope-tags span {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
}

.about-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.company-info {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.company-info div {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

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

.company-info dt {
  color: var(--muted);
  font-weight: 800;
}

.company-info dd {
  margin: 0;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  max-width: 1120px;
  margin: 96px auto 0;
  padding: 46px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #1769e0, #078b8b);
}

.contact-page-panel {
  margin-top: 72px;
}

.contact-grid-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}

.map-panel,
.client-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(18, 32, 54, 0.08);
}

.map-panel {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  min-height: 430px;
}

.map-visual {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: #eef4f8;
}

.map-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-info,
.client-panel {
  padding: 34px;
}

.map-info p:not(.eyebrow),
.client-list span {
  color: var(--muted);
}

.map-button {
  margin-top: 18px;
}

.client-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.client-list div {
  padding: 18px;
  border-left: 4px solid var(--teal);
  border-radius: 0 8px 8px 0;
  background: #f7f9fc;
}

.client-list strong {
  display: block;
  margin-bottom: 5px;
}

.contact-section .eyebrow,
.contact-section p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-panel {
  padding: 24px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
}

.contact-panel a {
  display: block;
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 900;
}

.contact-panel p,
.contact-panel small {
  color: rgba(255, 255, 255, 0.82);
}

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

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

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 66px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

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

  .site-nav .nav-action {
    margin-left: 0;
    text-align: center;
  }

  .hero {
    min-height: 520px;
  }

  .hero-media::after {
    background: linear-gradient(180deg, rgba(12, 20, 34, 0.92), rgba(12, 20, 34, 0.62));
  }

  .metrics,
  .service-grid,
  .case-preview-grid,
  .service-detail-grid,
  .case-row,
  .map-panel,
  .split-section,
  .about-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .metrics {
    margin-top: 0;
    padding: 0;
  }

  .metrics div,
  .metrics div:first-child,
  .metrics div:last-child {
    border-radius: 0;
    box-shadow: none;
  }

  .section {
    padding-top: 72px;
  }

  .page-hero {
    padding-top: 62px;
    padding-bottom: 58px;
  }

  .section-heading.compact {
    margin-bottom: 26px;
  }

  .contact-section {
    margin-top: 72px;
    border-radius: 0;
    padding: 42px 18px;
  }

  .case-row,
  .detail-card,
  .case-card,
  .map-panel,
  .client-panel {
    box-shadow: none;
  }

  .map-visual {
    min-height: 300px;
  }
}

@media (max-width: 560px) {
  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .brand strong {
    font-size: 14px;
  }

  .hero-content {
    width: calc(100% - 32px);
    padding: 42px 0 58px;
  }

  h1 {
    font-size: 36px;
  }

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

  .page-hero p:not(.eyebrow) {
    font-size: 16px;
  }

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

  .button {
    width: 100%;
  }

  .company-info div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .detail-card ul,
  .case-row ul {
    grid-template-columns: 1fr;
  }

  .map-info,
  .client-panel {
    padding: 24px;
  }

  .client-list {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}
