:root {
  --ink: #14201b;
  --muted: #5d6b66;
  --line: #e1ebe6;
  --soft: #f5faf7;
  --green: #42f000;
  --green-dark: #078a00;
  --coral: #ff9700;
  --amber: #ffbd35;
  --blue: #4387d7;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(21, 63, 43, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: #fbfdfb;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 253, 251, 0.9);
  border-bottom: 1px solid rgba(225, 235, 230, 0.78);
  backdrop-filter: blur(16px);
}

.xmr-nav {
  max-width: 1200px;
  height: 74px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 300px;
}

.brand-image img {
  width: 152px;
  height: 56px;
  object-fit: contain;
  object-position: left center;
  flex: 0 0 auto;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 20px;
  background: linear-gradient(135deg, var(--green) 0%, #6bcf8f 100%);
  box-shadow: 0 12px 30px rgba(32, 167, 101, 0.28);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.15;
}

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

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  min-height: 42px;
  padding: 11px 14px;
  border-radius: 8px;
  color: #2f3d38;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--green-dark);
  background: #edf8f1;
}

.nav-links a.active {
  color: var(--green-dark);
  background: #e9f8ef;
}

.nav-links .nav-cta {
  margin-left: 8px;
  color: #fff;
  background: var(--ink);
}

.nav-links .nav-cta:hover {
  color: #fff;
  background: var(--green-dark);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: #edf8f1;
  padding: 12px;
}

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

.hero {
  position: relative;
  max-width: 1280px;
  min-height: calc(100vh - 74px);
  margin: 0 auto;
  padding: 74px 24px 44px;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(520px, 1.14fr);
  gap: 34px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding: 12px 0 20px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.flow-copy h2,
.contact-section h2 {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
  line-height: 1.18;
  overflow-wrap: normal;
  word-break: keep-all;
}

.hero h1 {
  max-width: 620px;
  font-size: clamp(28px, 2.55vw, 40px);
  line-height: 1.18;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: keep-all;
}

.hero h1 span {
  display: block;
}

.hero-lead {
  max-width: 600px;
  margin: 24px 0 0;
  color: #44534e;
  font-size: 18px;
  line-height: 1.8;
  overflow-wrap: normal;
  word-break: normal;
}

.hero-lead-mobile {
  display: none;
}

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

.primary-btn,
.secondary-btn {
  min-height: 50px;
  border-radius: 8px;
  padding: 15px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 900;
}

.primary-btn {
  color: #fff;
  background: var(--green-dark);
  box-shadow: 0 16px 34px rgba(13, 115, 69, 0.26);
}

.secondary-btn {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.hero-metrics {
  margin: 42px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 530px;
  border-top: 1px solid var(--line);
}

.hero-metrics div {
  padding: 22px 20px 0 0;
}

.hero-metrics dt {
  color: var(--green-dark);
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
}

.hero-metrics dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 32%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(251, 253, 251, 0.72) 100%);
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: center;
}

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 24px;
}

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

.section-heading.narrow {
  max-width: 720px;
}

.section-heading h2,
.flow-copy h2,
.contact-section h2 {
  font-size: clamp(23px, 2vw, 30px);
  line-height: 1.16;
}

.section-heading p:not(.eyebrow),
.flow-copy p,
.contact-section p,
.service-card p,
.delivery-grid p,
.capability-grid p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.section-heading p:not(.eyebrow) {
  margin: 18px auto 0;
  max-width: 760px;
}

.intro-strip {
  padding-top: 80px;
}

.vi-lockup {
  max-width: 760px;
  margin: -12px auto 34px;
  padding: 20px 28px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 50px rgba(25, 71, 47, 0.06);
}

.vi-lockup img {
  width: 100%;
  height: 82px;
  object-fit: contain;
}

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

.capability-grid article,
.delivery-grid article,
.service-card,
.console-shell,
.contact-section,
.flow-image {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
}

.capability-grid article {
  padding: 30px;
  min-height: 260px;
}

.cap-icon {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--green-dark);
  font-size: 22px;
  background: #eaf8f0;
}

.capability-grid h3,
.service-card h3 {
  margin: 22px 0 12px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.25;
  font-weight: 900;
}

.capability-grid p,
.service-card p,
.delivery-grid p {
  margin: 0;
}

.services {
  max-width: 1240px;
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr);
  gap: 20px;
}

.service-card {
  overflow: hidden;
  box-shadow: 0 16px 50px rgba(25, 71, 47, 0.06);
}

.service-card.featured {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
}

.service-copy {
  padding: 38px;
}

.service-card.featured img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
}

.service-card ul {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  margin-top: 12px;
  padding-left: 22px;
  color: #33423c;
  line-height: 1.6;
  font-weight: 700;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.tag {
  display: inline-flex;
  min-height: 30px;
  padding: 6px 11px;
  border-radius: 8px;
  color: var(--green-dark);
  background: #e9f8ef;
  font-size: 13px;
  font-weight: 900;
}

.tag.warm {
  color: #925f12;
  background: #fff3dc;
}

.tag.blue {
  color: #225c9f;
  background: #e8f2ff;
}

.service-stack {
  display: grid;
  gap: 20px;
}

.service-card.compact {
  padding: 34px;
}

.product-flow {
  max-width: 1240px;
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(480px, 1.26fr);
  gap: 38px;
  align-items: center;
}

.flow-copy p {
  margin: 22px 0 0;
}

.flow-steps {
  margin-top: 32px;
  display: grid;
  gap: 10px;
}

.flow-steps span {
  position: relative;
  min-height: 48px;
  padding: 14px 18px 14px 42px;
  border-radius: 8px;
  color: #26352f;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 900;
}

.flow-steps span::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 20px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--coral);
}

.flow-image {
  overflow: hidden;
  box-shadow: var(--shadow);
}

.flow-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.operations {
  max-width: 1240px;
}

.console-shell {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  min-height: 500px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.console-shell aside {
  padding: 28px;
  background: #153a2a;
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.console-shell aside strong {
  margin-bottom: 18px;
  color: #fff;
  font-size: 22px;
}

.console-shell aside span {
  min-height: 42px;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 800;
}

.console-shell aside .active {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.console-main {
  padding: 32px;
  background: linear-gradient(180deg, #fbfffc 0%, #f3f8f5 100%);
}

.console-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.console-top p {
  margin: 0 0 8px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
}

.console-top h3 {
  margin: 0;
  font-size: 28px;
  font-weight: 900;
}

.console-top button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 16px;
  background: #fff;
  font-weight: 900;
}

.dashboard-cards {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.dashboard-cards div,
.module-table div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.dashboard-cards div {
  min-height: 118px;
  padding: 22px;
}

.dashboard-cards b {
  display: block;
  color: var(--green-dark);
  font-size: 34px;
  line-height: 1;
}

.dashboard-cards span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-weight: 800;
}

.module-table {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.module-table div {
  min-height: 62px;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.module-table span {
  color: #26352f;
  font-weight: 900;
}

.module-table b {
  color: var(--green-dark);
  font-size: 14px;
}

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

.delivery-grid article {
  padding: 28px;
  min-height: 190px;
}

.delivery-grid strong {
  display: block;
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
}

.contact-section {
  max-width: 1120px;
  margin: 20px auto 0;
  padding: 44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 30px;
  align-items: center;
  background: #153a2a;
  color: #fff;
}

.contact-section h2,
.contact-section .eyebrow {
  color: #fff;
}

.contact-section p {
  max-width: 700px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.contact-card {
  padding: 24px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  gap: 12px;
}

.contact-card span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 800;
}

.contact-card a {
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 24px 44px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  color: #66746e;
  font-size: 13px;
}

.footer a:hover {
  color: var(--green-dark);
}

/* 公安备案号：警徽图标与文字对齐 */
.footer a.beian-mps {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer a.beian-mps img {
  width: 20px;
  height: 20px;
  border: 0;
  vertical-align: middle;
}

.subpage-hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 88px 24px 58px;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1.06fr);
  gap: 44px;
  align-items: center;
}

.subpage-hero h1 {
  margin: 0;
  max-width: 720px;
  color: var(--ink);
  font-size: clamp(28px, 2.75vw, 38px);
  line-height: 1.18;
  font-weight: 900;
  overflow-wrap: normal;
  word-break: keep-all;
}

.subpage-hero h1 span {
  display: block;
}

.subpage-hero p:not(.eyebrow) {
  margin: 22px 0 0;
  color: #44534e;
  font-size: 17px;
  line-height: 1.85;
}

.subpage-panel,
.text-panel,
.timeline,
.info-band {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 50px rgba(25, 71, 47, 0.06);
}

.subpage-panel {
  padding: 30px;
}

.subpage-panel img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  border-radius: 8px;
}

.panel-kpis {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.panel-kpis div {
  min-height: 84px;
  padding: 16px;
  border-radius: 8px;
  background: var(--soft);
}

.panel-kpis b {
  display: block;
  color: var(--green-dark);
  font-size: 28px;
  line-height: 1;
}

.panel-kpis span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

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

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

.text-panel {
  padding: 28px;
}

.text-panel h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 23px;
  line-height: 1.25;
  font-weight: 900;
}

.text-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.text-panel ul,
.timeline ol {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.text-panel li,
.timeline li {
  position: relative;
  margin-top: 12px;
  padding-left: 22px;
  color: #33423c;
  line-height: 1.65;
  font-weight: 700;
}

.text-panel li::before,
.timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.timeline {
  padding: 34px;
}

.timeline h3 {
  margin: 0;
  font-size: 28px;
  font-weight: 900;
}

.info-band {
  padding: 38px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  background: #153a2a;
  color: #fff;
}

.info-band h2 {
  margin: 0;
  font-size: clamp(23px, 2.2vw, 30px);
  line-height: 1.15;
  font-weight: 900;
  overflow-wrap: normal;
  word-break: keep-all;
}

.info-band p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 16px;
  line-height: 1.7;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.contact-list {
  display: grid;
  gap: 14px;
}

.contact-list a,
.contact-list span {
  display: block;
  padding: 16px 18px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--ink);
  font-weight: 900;
}

@media (max-width: 1080px) {
  .hero,
  .product-flow,
  .service-card.featured,
  .subpage-hero {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 52px;
  }

  .hero h1 {
    max-width: 720px;
    font-size: 32px;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 460px;
  }

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

  .service-card.featured img,
  .flow-image img,
  .subpage-panel img {
    min-height: 360px;
    height: 420px;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 82px;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

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

  .nav-links a {
    width: 100%;
  }

  .nav-links .nav-cta {
    margin-left: 0;
  }

  .hero {
    min-height: auto;
  }

  .capability-grid,
  .delivery-grid,
  .dashboard-cards,
  .contact-section,
  .page-grid,
  .page-grid.two,
  .info-band {
    grid-template-columns: 1fr;
  }

  .console-shell {
    grid-template-columns: 1fr;
  }

  .console-shell aside {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .console-shell aside strong {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .xmr-nav {
    height: 66px;
    padding: 0 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand-image img {
    width: 116px;
    height: 44px;
  }

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

  .brand small {
    display: none;
  }

  .hero,
  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    display: block;
    width: 100%;
    max-width: 100vw;
    padding-top: 38px;
    gap: 26px;
    overflow: hidden;
  }

  .hero-copy {
    width: 100%;
    max-width: calc(100vw - 32px);
  }

  .hero h1 {
    display: block;
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
    font-size: 25px;
    line-height: 1.22;
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: normal;
  }

  .hero h1 span {
    display: block;
  }

  .hero-lead-full {
    display: none;
  }

  .hero-lead-mobile {
    display: block;
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
    font-size: 15px;
    line-height: 1.75;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .hero-actions {
    display: grid;
    width: calc(100vw - 32px);
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
  }

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

  .hero-metrics div {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-visual,
  .hero-visual img {
    min-height: 310px;
  }

  .hero-visual {
    width: calc(100vw - 32px);
    margin-top: 26px;
  }

  .vi-lockup {
    margin: -18px 0 26px;
    padding: 16px;
  }

  .vi-lockup img {
    height: 52px;
  }

  .hero-visual img {
    object-position: 51% center;
  }

  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

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

  .section-heading h2,
  .flow-copy h2,
  .contact-section h2 {
    font-size: 24px;
    line-height: 1.22;
  }

  .capability-grid article,
  .service-copy,
  .service-card.compact,
  .delivery-grid article,
  .console-main,
  .contact-section {
    padding: 24px;
  }

  .service-card.featured img,
  .flow-image img {
    height: 300px;
    min-height: 300px;
  }

  .console-shell aside {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .console-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-section {
    margin-left: 16px;
    margin-right: 16px;
  }

  .subpage-hero {
    display: block;
    width: 100%;
    max-width: 100vw;
    padding: 42px 16px 48px;
    overflow: hidden;
  }

  .subpage-hero > div:first-child,
  .subpage-panel,
  .page-grid,
  .page-grid.two,
  .timeline,
  .info-band {
    width: 100%;
    max-width: calc(100vw - 32px);
  }

  .subpage-hero h1 {
    width: 100%;
    max-width: 100%;
    font-size: 25px;
    line-height: 1.22;
    word-break: keep-all;
  }

  .subpage-hero p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.78;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .subpage-panel {
    margin-top: 28px;
    padding: 18px;
  }

  .subpage-panel img {
    height: 240px;
    min-height: 240px;
  }

  .panel-kpis {
    grid-template-columns: 1fr;
  }

  .text-panel,
  .timeline,
  .info-band {
    padding: 24px;
  }
}
