:root {
  --ink: #102136;
  --muted: #5d6b7c;
  --line: #e4ebf2;
  --panel: #f7fafd;
  --blue: #24417c;
  --blue-2: #3a5da5;
  --accent: #1c9a8a;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(16, 33, 54, 0.12);
  --radius: 8px;
  --shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--blue);
  color: var(--white);
}

.skip-link:focus {
  top: 16px;
}

.shell {
  width: min(var(--shell), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.topbar {
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 8px 20px;
  background: var(--blue);
  color: var(--white);
  font-size: 14px;
}

.topbar p {
  margin: 0;
}

.topbar a {
  font-weight: 700;
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  max-width: 360px;
}

.brand strong,
.brand small {
  display: block;
}

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

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 700;
}

.nav-links a {
  color: var(--ink);
}

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

.lang-toggle,
.menu-toggle {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--blue);
  cursor: pointer;
}

.lang-toggle {
  min-width: 54px;
  min-height: 38px;
  border-radius: 999px;
  font-weight: 800;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  place-items: center;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px 0;
  background: var(--blue);
}

.hero {
  min-height: 660px;
  display: grid;
  align-items: center;
  background: linear-gradient(180deg, #f7fafd 0%, #ffffff 78%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 48px;
  align-items: center;
  padding: 64px 0 72px;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.08;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.18;
}

h3 {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.25;
}

.lead {
  max-width: 650px;
  margin: 24px 0 0;
  font-size: 18px;
  color: var(--muted);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--blue);
  font-weight: 800;
  cursor: pointer;
}

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

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

.hero-media {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

.section {
  padding: 92px 0;
}

.tinted {
  background: var(--panel);
}

.narrow {
  max-width: 840px;
}

.center {
  text-align: center;
}

.intro p:not(.eyebrow),
.section-head p:not(.eyebrow) {
  margin: 20px auto 0;
  color: var(--muted);
}

.section-head {
  margin-bottom: 42px;
}

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

.stat-card,
.solution-grid article {
  min-height: 240px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover,
.solution-grid article:hover,
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.stat-number {
  display: block;
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 34px;
  font-weight: 900;
}

.stat-card p,
.solution-grid p,
.product-card p,
.copy-stack p,
.feature p,
.project-band p,
.contact p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 54px;
}

.copy-stack p {
  margin: 0 0 18px;
  font-size: 17px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-card div {
  padding: 24px;
}

.value-row {
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue) 35%, #ffffff 35%, #ffffff 100%);
}

.feature,
.project-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.feature.reverse img {
  order: 2;
}

.feature img,
.project-band img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature p,
.project-band p {
  font-size: 17px;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.solution-grid span {
  display: block;
  margin-bottom: 30px;
  color: var(--blue-2);
  font-size: 40px;
  font-weight: 900;
}

.project-band {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.project-band .button {
  margin-top: 16px;
}

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

.contact .eyebrow,
.contact p,
.contact-list span {
  color: #d8e4ef;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 54px;
}

.contact-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
}

.contact-panel {
  display: grid;
  gap: 16px;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

.contact-panel h3 {
  margin: 0;
  color: var(--ink);
}

.contact-panel ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-panel li {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdff;
  color: var(--muted);
}

.lang-toggle:focus,
.menu-toggle:focus,
.button:focus {
  outline: 3px solid rgba(58, 93, 165, 0.25);
  outline-offset: 2px;
}

.contact-panel p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  padding: 34px 0;
  background: #081522;
  color: var(--white);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-grid p,
.copyright {
  color: #b9c7d7;
}

.footer-grid div:last-child {
  display: flex;
  gap: 22px;
  align-items: center;
  font-weight: 700;
}

.copyright {
  width: min(var(--shell), calc(100% - 40px));
  margin: 20px auto 0;
  font-size: 14px;
}

.beian-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 10px;
}

.beian-police {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.beian-line img {
  width: 16px;
  height: auto;
  flex: 0 0 auto;
}

.beian-line a {
  color: #b9c7d7;
}

.beian-line a:hover {
  color: var(--white);
}

@media (max-width: 1024px) {
  .hero-grid,
  .feature,
  .feature.reverse,
  .project-band,
  .contact-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .feature.reverse img {
    order: 0;
  }

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

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

  .value-row {
    background: var(--white);
  }
}

@media (max-width: 760px) {
  .topbar {
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
  }

  .menu-toggle {
    display: grid;
  }

  .nav-links {
    position: fixed;
    inset: 112px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a,
  .nav-links button {
    width: 100%;
    padding: 14px 8px;
    text-align: left;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding: 42px 0 56px;
  }

  .hero-media img {
    min-height: 260px;
  }

  .section {
    padding: 64px 0;
  }

  .stat-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .project-band,
  .contact-panel {
    padding: 22px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
