:root {
  --ink: #10202f;
  --muted: #596775;
  --line: #d8e0e7;
  --paper: #ffffff;
  --soft: #f4f7f9;
  --brand: #15344a;
  --teal: #32c4aa;
  --blue: #2563eb;
  --gold: #d99a28;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 6vw;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(216, 224, 231, 0.9);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
  white-space: nowrap;
}

.brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #2d3f4f;
  font-size: 15px;
}

.nav a {
  padding: 8px 0;
}

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

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 78vh;
  padding: 96px 6vw 108px;
  color: #fff;
  background-image:
    linear-gradient(90deg, rgba(6, 18, 28, 0.9), rgba(6, 18, 28, 0.64) 46%, rgba(6, 18, 28, 0.2)),
    url("/assets/hero-bg.png");
  background-size: cover;
  background-position: center;
}

.hero-content {
  width: min(760px, 100%);
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 800;
}

.hero h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2.4vw, 25px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 700;
}

.button.primary {
  color: #06121c;
  background: var(--teal);
}

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

.section {
  padding: 84px 6vw;
}

.section:nth-of-type(odd) {
  background: var(--soft);
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.split,
.model-layout,
.contact-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 1.1fr);
  gap: 56px;
  align-items: center;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin: 16px 0 10px;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: 0;
}

p {
  margin: 0;
}

.split p,
.model-layout p,
.contact-panel p {
  color: var(--muted);
  font-size: 17px;
}

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

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

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

.service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: var(--brand);
  border-radius: 50%;
  font-weight: 800;
}

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

.service-card:nth-child(3) .service-number {
  background: var(--teal);
  color: #06201a;
}

.service-card:nth-child(4) .service-number {
  background: var(--gold);
  color: #241700;
}

.model {
  background: #fff;
}

.triangle {
  position: relative;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(50, 196, 170, 0.1), rgba(37, 99, 235, 0.08)),
    #fff;
}

.triangle::before {
  content: "";
  position: absolute;
  inset: 76px 70px 70px;
  border-left: 2px solid rgba(21, 52, 74, 0.22);
  border-right: 2px solid rgba(21, 52, 74, 0.22);
  border-bottom: 2px solid rgba(21, 52, 74, 0.22);
  transform: skewX(-28deg);
}

.triangle-item {
  position: absolute;
  display: grid;
  gap: 4px;
  width: 150px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(16, 32, 47, 0.08);
}

.triangle-item strong {
  font-size: 18px;
}

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

.triangle-item.top {
  top: 34px;
  left: 50%;
  transform: translateX(-50%);
}

.triangle-item.left {
  bottom: 38px;
  left: 36px;
}

.triangle-item.right {
  right: 36px;
  bottom: 38px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  min-height: 190px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  color: #fff;
  background: var(--blue);
  border-radius: 50%;
  font-weight: 800;
}

.steps strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

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

.contact {
  background: #10202f;
  color: #fff;
}

.contact .section-label {
  color: var(--teal);
}

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

.contact-link {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  color: #06121c;
  background: #fff;
  border-radius: 8px;
  font-weight: 800;
  word-break: break-word;
}

.site-footer {
  padding: 24px 6vw 28px;
  color: rgba(255, 255, 255, 0.8);
  background: #07111a;
  text-align: center;
}

.footer-inner {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.site-footer a {
  color: #dbeafe;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 860px) {
  .site-header {
    min-height: 66px;
    padding: 0 20px;
  }

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

  .hero {
    min-height: 76vh;
    padding: 72px 20px 86px;
    background-position: center right;
  }

  .section {
    padding: 64px 20px;
  }

  .split,
  .model-layout,
  .contact-panel {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .service-card,
  .steps li {
    min-height: auto;
  }

  .contact-link {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
  }

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

  .hero {
    min-height: 74vh;
    padding: 56px 18px 74px;
  }

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

  .button {
    width: 100%;
  }

  .triangle {
    min-height: 430px;
  }

  .triangle::before {
    inset: 112px 50px 112px;
  }

  .triangle-item {
    width: min(170px, calc(100% - 40px));
  }

  .triangle-item.top {
    top: 24px;
  }

  .triangle-item.left {
    left: 20px;
    bottom: 26px;
  }

  .triangle-item.right {
    right: 20px;
    bottom: 138px;
  }
}
