:root {
  --ink: #14212b;
  --muted: #64727f;
  --line: #dbe4e9;
  --paper: #f7faf9;
  --white: #ffffff;
  --teal: #0e7c7b;
  --green: #3b8a5f;
  --amber: #d89d2b;
  --coral: #cd5b48;
  --shadow: 0 20px 50px rgba(22, 45, 57, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", 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: 20;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(247, 250, 249, 0.92);
  border-bottom: 1px solid rgba(219, 228, 233, 0.9);
  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;
  color: var(--white);
  font-weight: 800;
  background: linear-gradient(135deg, var(--teal), var(--green));
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(14, 124, 123, 0.22);
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

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

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

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #2b3d48;
  font-size: 14px;
}

.main-nav a {
  padding: 8px 0;
}

.header-cta,
.btn {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 700;
}

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

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

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

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 75px);
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
  overflow: hidden;
  padding: clamp(46px, 8vw, 92px) clamp(18px, 6vw, 76px) 42px;
  background:
    linear-gradient(105deg, rgba(247, 250, 249, 0.98) 0%, rgba(247, 250, 249, 0.88) 44%, rgba(247, 250, 249, 0.2) 100%),
    url("./assets/information-technology-network.svg") center right / min(820px, 62vw) auto no-repeat,
    #eef5f1;
}

.hero-media {
  position: absolute;
  inset: auto 2vw 5vh auto;
  width: min(700px, 50vw);
  opacity: 0.28;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

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

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

h1 {
  max-width: 850px;
  margin-bottom: 20px;
  font-size: 78px;
  line-height: 1.06;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 680px;
  color: #3d4d57;
  font-size: 21px;
}

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

.btn {
  border: 1px solid transparent;
  padding: 0 22px;
  cursor: pointer;
}

.btn.primary {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 14px 28px rgba(14, 124, 123, 0.22);
}

.btn.secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.hero-panel {
  position: relative;
  z-index: 2;
  align-self: end;
  display: grid;
  gap: 12px;
  max-width: 390px;
  justify-self: end;
}

.hero-panel div {
  padding: 18px;
  border: 1px solid rgba(219, 228, 233, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 30px rgba(20, 33, 43, 0.08);
}

.metric {
  display: block;
  margin-bottom: 6px;
  color: var(--coral);
  font-size: 26px;
  font-weight: 800;
}

.hero-panel p {
  margin: 0;
  color: #455760;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.trust-strip div {
  padding: 24px clamp(18px, 4vw, 56px);
  background: var(--white);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: clamp(64px, 8vw, 108px) clamp(18px, 6vw, 76px);
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head.compact {
  margin-bottom: 24px;
}

h2 {
  margin-bottom: 12px;
  font-size: 46px;
  line-height: 1.16;
  letter-spacing: 0;
}

.section-head p:not(.eyebrow),
.contact-copy p,
.about-band p {
  color: var(--muted);
}

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

.service-card {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(20, 33, 43, 0.06);
}

.icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 28px;
  color: var(--white);
  font-weight: 800;
  background: var(--amber);
  border-radius: 8px;
}

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

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

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

.service-card h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

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

.tinted {
  background: #eaf2ef;
}

.solution-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: 22px;
  align-items: stretch;
}

.solution-list {
  display: grid;
  gap: 12px;
}

.solution-item {
  width: 100%;
  min-height: 86px;
  padding: 16px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
}

.solution-item span,
.solution-item small {
  display: block;
}

.solution-item span {
  font-weight: 800;
  font-size: 17px;
}

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

.solution-item.active {
  border-color: rgba(14, 124, 123, 0.45);
  box-shadow: inset 4px 0 0 var(--teal), 0 12px 28px rgba(14, 124, 123, 0.12);
}

.solution-detail {
  min-height: 282px;
  padding: clamp(24px, 4vw, 42px);
  color: var(--white);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(20, 33, 43, 0.94), rgba(14, 124, 123, 0.88)),
    url("./assets/information-technology-network.svg") right center / 560px auto no-repeat;
  box-shadow: var(--shadow);
}

.solution-detail h3 {
  font-size: 30px;
}

.solution-detail p,
.solution-detail li {
  color: rgba(255, 255, 255, 0.84);
}

.solution-detail ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding-left: 20px;
}

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

.timeline article {
  position: relative;
  min-height: 220px;
  padding: 24px;
  border-top: 4px solid var(--teal);
  background: var(--white);
  border-radius: 8px;
}

.timeline article:nth-child(2) {
  border-color: var(--amber);
}

.timeline article:nth-child(3) {
  border-color: var(--green);
}

.timeline article:nth-child(4) {
  border-color: var(--coral);
}

.timeline span {
  display: block;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 34px;
  font-weight: 800;
}

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

.about-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  padding: clamp(56px, 7vw, 92px) clamp(18px, 6vw, 76px);
  color: var(--white);
  background: #173239;
}

.about-band .eyebrow,
.about-band p {
  color: rgba(255, 255, 255, 0.76);
}

.about-band h2 {
  margin-bottom: 0;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.7fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.contact-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.contact-notes span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--teal);
  background: var(--white);
  font-size: 14px;
  font-weight: 700;
}

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

.contact-form label,
.contact-form span {
  display: grid;
  gap: 7px;
}

.contact-form span {
  color: #34464f;
  font-weight: 700;
  font-size: 14px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
  background: #fbfdfc;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(216, 157, 43, 0.36);
  outline-offset: 2px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 6vw, 76px);
  color: rgba(255, 255, 255, 0.78);
  background: var(--ink);
}

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

@media (max-width: 1060px) {
  .service-grid,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero-panel {
    grid-template-columns: repeat(3, 1fr);
    max-width: none;
    justify-self: stretch;
  }
}

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

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

  .nav-toggle {
    display: block;
  }

  .site-header.nav-open .main-nav {
    position: absolute;
    inset: 74px 14px auto;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-header.nav-open .main-nav a {
    padding: 12px;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 36px;
  }

  .hero-lede {
    font-size: 18px;
  }

  .hero-panel,
  .trust-strip,
  .solution-layout,
  .about-band,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-media {
    width: 82vw;
    opacity: 0.18;
  }
}

@media (max-width: 620px) {
  .brand small {
    white-space: normal;
  }

  h1 {
    font-size: 39px;
  }

  h2 {
    font-size: 31px;
  }

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

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

  .btn {
    width: 100%;
  }
}
