:root {
  --ink: #101827;
  --muted: #5d6b82;
  --line: #dbe4f0;
  --soft: #f5f8fc;
  --blue: #1967d2;
  --blue-dark: #0b3475;
  --teal: #0c9c8c;
  --amber: #c47a18;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(16, 24, 39, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.7;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 7vw;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
}

.brand-mark {
  width: 36px;
  height: 36px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  position: relative;
  transform: rotate(45deg);
  background: #fff;
}

.brand-mark::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  inset: 0;
  margin: auto;
  border: 2px solid var(--blue);
  border-radius: 4px;
}

.nav {
  display: flex;
  gap: 34px;
  font-weight: 700;
  color: #324258;
}

.nav a {
  padding: 24px 0 20px;
  border-bottom: 3px solid transparent;
}

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

.hero {
  min-height: 640px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.88) 45%, rgba(239,246,255,0.7) 100%),
    linear-gradient(#e9f0f8 1px, transparent 1px),
    linear-gradient(90deg, #e9f0f8 1px, transparent 1px);
  background-size: auto, 72px 72px, 72px 72px;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: 54px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-weight: 800;
}

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

h1 {
  margin-bottom: 24px;
  font-size: 56px;
  line-height: 1.15;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: 34px;
  line-height: 1.25;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.lead {
  max-width: 650px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 600;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 6px;
  font-weight: 800;
  border: 1px solid var(--ink);
}

.button.primary {
  background: var(--ink);
  color: var(--white);
}

.button.secondary {
  background: var(--white);
  color: var(--ink);
}

.hero-media {
  position: relative;
}

.hero-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 92px 0;
}

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

.section-heading.align-left {
  margin: 0;
  text-align: left;
}

.section-heading p,
.about p,
.contact-copy p,
.legal-content p {
  color: var(--muted);
}

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

.service-card {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

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

.service-card:nth-child(3) .service-icon {
  color: var(--amber);
  background: #fff4e5;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 8px;
  color: var(--blue);
  background: #edf5ff;
  font-weight: 900;
}

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

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.scene-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.scene-list div {
  min-height: 72px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  font-weight: 800;
}

.about {
  width: 100%;
  max-width: none;
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-panel {
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
  padding: 10px 0;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.contact-copy h2 {
  font-size: 42px;
}

.contact-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.contact-row {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding: 26px 28px;
  border-bottom: 1px solid var(--line);
}

.contact-row:last-child {
  border-bottom: 0;
}

.contact-row strong,
.contact-row a,
.contact-row span:not(.contact-icon) {
  display: block;
}

.contact-row a,
.contact-row span:not(.contact-icon) {
  color: var(--muted);
  word-break: break-word;
}

.contact-icon {
  color: var(--blue);
  font-size: 24px;
  line-height: 1;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 34px 7vw;
  color: #d8e2f1;
  background: #101827;
}

.site-footer p {
  margin: 8px 0 0;
  color: #98a9bf;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  color: #d8e2f1;
}

.footer-links a:hover {
  color: #ffffff;
}

.legal-page {
  background: var(--soft);
  padding: 64px 24px;
}

.legal-content {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: 52px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.legal-content h1 {
  font-size: 42px;
}

.legal-content h2 {
  margin-top: 34px;
  font-size: 22px;
}

@media (max-width: 980px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 18px 24px;
  }

  .nav {
    width: 100%;
    gap: 18px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .nav a {
    padding: 0 0 10px;
  }

  .hero-inner,
  .split,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 62px 0;
  }

  h1 {
    font-size: 42px;
  }

  h2,
  .contact-copy h2 {
    font-size: 30px;
  }

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

@media (max-width: 640px) {
  .hero-inner,
  .section,
  .about-panel {
    width: calc(100% - 32px);
  }

  h1 {
    font-size: 34px;
  }

  h2,
  .contact-copy h2,
  .legal-content h1 {
    font-size: 26px;
  }

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

  .section {
    padding: 64px 0;
  }

  .service-card {
    min-height: auto;
  }

  .contact-row {
    grid-template-columns: 32px 1fr;
    padding: 22px;
  }

  .site-footer {
    flex-direction: column;
    padding: 28px 24px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .legal-content {
    padding: 30px 22px;
  }
}
