:root {
  --ink: #10202a;
  --muted: #5c6873;
  --paper: #f5f8f7;
  --surface: #ffffff;
  --line: #dbe5e3;
  --deep: #08141b;
  --teal: #0a8f88;
  --blue: #245e94;
  --green: #4b9b63;
  --gold: #d99c2f;
  --shadow: 0 18px 44px rgba(9, 25, 35, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  min-height: 72px;
  padding: 0 clamp(20px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #fff;
  background: rgba(8, 20, 27, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  color: #06161d;
  background: #fff;
  border-radius: 8px;
  font-size: 12px;
}

.brand-name {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}

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

.nav a:hover,
.nav a:focus-visible {
  color: #fff;
}

.hero {
  position: relative;
  min-height: min(760px, 92svh);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--deep);
}

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

.hero-image {
  background-image: url("assets/hero-network-tech.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.01);
}

.hero-layer {
  background:
    linear-gradient(90deg, rgba(8, 20, 27, 0.95) 0%, rgba(8, 20, 27, 0.82) 43%, rgba(8, 20, 27, 0.35) 76%, rgba(8, 20, 27, 0.52) 100%),
    linear-gradient(180deg, rgba(8, 20, 27, 0.18) 0%, rgba(8, 20, 27, 0.16) 62%, rgba(8, 20, 27, 0.96) 100%);
}

.hero-content {
  position: relative;
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 136px clamp(20px, 5vw, 72px) 96px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.08;
  font-weight: 850;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
}

.hero-copy {
  max-width: 700px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(17px, 2vw, 21px);
}

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

.button {
  min-height: 48px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  color: #07151c;
  background: #fff;
}

.button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.34);
}

.section {
  padding: clamp(72px, 10vw, 116px) 0;
}

.section-inner {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 72px);
}

.section h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.16;
  letter-spacing: 0;
}

.section p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.about {
  background: #fff;
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.about-grid > p {
  padding-top: 32px;
  font-size: 18px;
}

.services {
  background: #eef5f4;
}

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

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

.service-card {
  min-height: 270px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid rgba(16, 32, 42, 0.08);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.service-index {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 850;
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.25;
}

.service-card p {
  font-size: 15.5px;
}

.capabilities {
  color: #fff;
  background: #0a1720;
}

.capabilities .section-kicker {
  color: #5fd2c8;
}

.capabilities h2,
.capabilities strong {
  color: #fff;
}

.capabilities p,
.capabilities span {
  color: rgba(255, 255, 255, 0.74);
}

.capability-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: center;
}

.capability-copy p {
  max-width: 630px;
  margin-top: 24px;
}

.capability-list {
  display: grid;
}

.capability-item {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.capability-item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.capability-item strong {
  font-size: 22px;
  line-height: 1.1;
}

.contact {
  background: #fff;
}

.contact-grid {
  align-items: center;
}

.contact h2 {
  margin-bottom: 18px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 16px 24px;
  margin: 0;
  padding: 30px;
  background: #f5f8f7;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-style: normal;
}

.contact-panel span {
  color: var(--muted);
}

.contact-panel strong {
  color: var(--ink);
  font-size: 17px;
  word-break: break-word;
}

.site-footer {
  color: rgba(255, 255, 255, 0.72);
  background: #08141b;
}

.footer-inner {
  width: min(100%, 1180px);
  min-height: 78px;
  margin: 0 auto;
  padding: 22px clamp(20px, 5vw, 72px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: 14px;
}

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

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

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

  .nav {
    gap: 14px;
    font-size: 14px;
  }

  .hero {
    min-height: 740px;
  }

  .hero-layer {
    background:
      linear-gradient(90deg, rgba(8, 20, 27, 0.95) 0%, rgba(8, 20, 27, 0.80) 68%, rgba(8, 20, 27, 0.48) 100%),
      linear-gradient(180deg, rgba(8, 20, 27, 0.18) 0%, rgba(8, 20, 27, 0.88) 100%);
  }

  .hero-content {
    padding-top: 116px;
    padding-bottom: 72px;
  }

  .about-grid,
  .contact-grid,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .about-grid > p {
    padding-top: 0;
  }
}

@media (max-width: 560px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    flex-direction: column;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .brand-name {
    max-width: calc(100vw - 96px);
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 780px;
  }

  .hero-content {
    padding-top: 152px;
  }

  .hero h1 {
    font-size: clamp(38px, 11.2vw, 54px);
  }

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

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

  .service-card {
    min-height: 220px;
  }

  .service-index {
    margin-bottom: 28px;
  }

  .capability-item,
  .contact-panel {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-panel {
    padding: 24px;
  }
}
