:root {
  --blue-950: #061b3a;
  --blue-900: #082b5f;
  --blue-800: #0b3f86;
  --blue-700: #0759bd;
  --blue-600: #0b73dc;
  --blue-050: #eef6ff;
  --red: #d71920;
  --ink: #142033;
  --muted: #62708a;
  --line: #dce6f2;
  --soft: #f6f9fd;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(6, 27, 58, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

.topbar {
  background: var(--blue-950);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 0;
}

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

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-logo {
  width: 151px;
  height: auto;
  max-height: 43px;
  object-fit: contain;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--red) 0 42%, #8e99aa 42% 62%, var(--blue-800) 62%);
  box-shadow: 0 10px 26px rgba(215, 25, 32, 0.2);
}

.brand strong {
  display: block;
  color: var(--blue-950);
  font-size: 20px;
  letter-spacing: 0;
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #25334a;
  font-size: 14px;
}

.nav-links a {
  position: relative;
  padding: 25px 0;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--blue-700);
}

.nav-links a.active::after,
.nav-links a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 17px;
  height: 2px;
  background: var(--red);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.phone {
  color: var(--blue-800);
  font-weight: 700;
  white-space: nowrap;
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  font-size: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 4px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: var(--white);
  background: var(--blue-700);
  box-shadow: 0 12px 24px rgba(7, 89, 189, 0.22);
}

.btn-primary:hover {
  background: var(--blue-800);
}

.btn-outline {
  color: var(--blue-900);
  border-color: rgba(11, 63, 134, 0.28);
  background: var(--white);
}

.hero {
  position: relative;
  color: var(--white);
  background: var(--blue-950);
  overflow: hidden;
}

.hero-slider {
  position: relative;
  min-height: 620px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s ease;
  overflow: hidden;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 27, 58, 0.96) 0%, rgba(6, 27, 58, 0.86) 42%, rgba(6, 27, 58, 0.18) 76%),
    var(--slide-bg) right center / cover no-repeat;
  transform: scale(1.02);
}

.hero-slide-security::before {
  background:
    linear-gradient(90deg, rgba(6, 27, 58, 0.97) 0%, rgba(8, 43, 95, 0.9) 43%, rgba(7, 89, 189, 0.18) 78%),
    var(--slide-bg) right center / cover no-repeat;
}

.hero-slide-tech::before {
  background:
    linear-gradient(90deg, rgba(4, 21, 45, 0.98) 0%, rgba(6, 27, 58, 0.88) 42%, rgba(11, 115, 220, 0.16) 76%),
    var(--slide-bg) right center / cover no-repeat;
}

.hero-slide-cert::before {
  background:
    linear-gradient(90deg, rgba(6, 27, 58, 0.97) 0%, rgba(6, 27, 58, 0.84) 43%, rgba(215, 25, 32, 0.16) 78%),
    var(--slide-bg) right center / cover no-repeat;
}

.hero-slide .container {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: center;
  z-index: 2;
}

.hero-content {
  max-width: 670px;
  padding: 84px 0;
}

.hero h1,
.hero-title,
.page-hero h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero p {
  margin: 24px 0 0;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.84);
}

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

.hero-proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(940px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.12);
}

.hero-proof-wrap {
  position: absolute;
  left: 50%;
  bottom: 36px;
  z-index: 3;
  transform: translateX(-50%);
}

.proof-item {
  padding: 20px 22px;
  background: rgba(4, 18, 42, 0.32);
}

.proof-item strong {
  display: block;
  font-size: 26px;
  color: var(--white);
}

.proof-item span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: var(--white);
  background: rgba(6, 27, 58, 0.38);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.hero-arrow:hover {
  background: rgba(7, 89, 189, 0.78);
}

.hero-prev {
  left: 22px;
}

.hero-next {
  right: 22px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 4;
  display: flex;
  gap: 9px;
  transform: translateX(-50%);
}

.hero-dots button {
  width: 26px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  cursor: pointer;
}

.hero-dots button.is-active {
  background: var(--white);
}

.section {
  padding: 86px 0;
}

.section-soft {
  background: var(--soft);
}

.section-seo {
  padding: 58px 0;
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-dark {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-950), var(--blue-800));
}

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

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.2;
  color: var(--blue-950);
}

.section-dark .section-head h2 {
  color: var(--white);
}

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

.section-dark .section-head p {
  color: rgba(255, 255, 255, 0.76);
}

.grid {
  display: grid;
  gap: 22px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 10px 28px rgba(6, 27, 58, 0.04);
}

.card h3 {
  margin: 0 0 10px;
  color: var(--blue-950);
  font-size: 21px;
  line-height: 1.3;
}

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

.icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--blue-700);
  background: var(--blue-050);
  border-radius: 6px;
  margin-bottom: 18px;
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: center;
}

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

.assurance-list {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.assurance-row {
  display: grid;
  grid-template-columns: 124px 1fr;
  gap: 24px;
  padding: 24px;
  background: var(--white);
}

.assurance-row strong {
  color: var(--blue-800);
}

.assurance-row p {
  margin: 0;
  color: var(--muted);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.step {
  position: relative;
  padding: 24px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.step span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--blue-950);
  background: var(--white);
  font-weight: 800;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

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

.cert {
  padding: 18px 20px;
  border-left: 3px solid var(--red);
  background: var(--white);
  border-radius: 4px;
  color: var(--blue-950);
  font-weight: 700;
}

.scenario {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.scenario ul,
.content-list {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.seo-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.seo-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--blue-900);
  background: var(--blue-050);
  font-weight: 700;
}

.seo-links a:hover {
  color: var(--white);
  border-color: var(--blue-700);
  background: var(--blue-700);
}

.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--blue-950);
  color: var(--white);
  padding: 108px 0 88px;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 27, 58, 0.96) 0%, rgba(6, 27, 58, 0.86) 42%, rgba(6, 27, 58, 0.22) 78%),
    var(--page-banner) right center / cover no-repeat;
  transform: scale(1.01);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero-recovery {
  --page-banner: url("banner-recovery.png");
}

.page-hero-security {
  --page-banner: url("banner-security.png");
}

.page-hero-nas {
  --page-banner: url("banner-nas.png");
}

.page-hero-technology {
  --page-banner: url("banner-technology.png");
}

.page-hero-qualifications {
  --page-banner: url("banner-qualifications.png");
}

.page-hero-process {
  --page-banner: url("banner-process.png");
}

.page-hero-cases {
  --page-banner: url("banner-cases.png");
}

.page-hero-contact {
  --page-banner: url("banner-contact.png");
}

.page-hero p {
  max-width: 720px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 19px;
}

.breadcrumb {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.matrix {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.matrix aside {
  padding: 34px;
  color: var(--white);
  background: var(--blue-900);
}

.matrix main {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
}

.matrix .cell {
  padding: 28px;
  background: var(--white);
}

.contact-band {
  padding: 56px;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.contact-band h2 {
  margin: 0;
  font-size: 34px;
}

.contact-band p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.lead-form {
  display: grid;
  gap: 14px;
}

.map-panel {
  position: relative;
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.map-panel iframe {
  width: 100%;
  height: 430px;
  border: 0;
  display: block;
}

.map-card {
  position: absolute;
  left: 28px;
  bottom: 28px;
  width: min(360px, calc(100% - 56px));
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 44px rgba(6, 27, 58, 0.18);
}

.map-card h3 {
  margin: 0 0 10px;
  color: var(--blue-950);
}

.map-card p {
  margin: 0 0 8px;
  color: var(--muted);
}

.lead-form input,
.lead-form textarea,
.lead-form select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

.lead-form textarea {
  min-height: 120px;
  resize: vertical;
}

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

.form-note {
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  color: rgba(255, 255, 255, 0.76);
  background: #04152d;
  padding: 54px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 34px;
}

.site-footer h3,
.site-footer h4 {
  color: var(--white);
  margin: 0 0 14px;
}

.footer-logo {
  width: 169px;
  height: auto;
  margin: 0 0 18px;
  object-fit: contain;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.68);
}

.footer-links {
  display: grid;
  gap: 8px;
}

.copyright {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

.float-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 19;
  display: grid;
  gap: 8px;
}

.float-contact a,
.float-contact button {
  border: 0;
  border-radius: 4px;
  padding: 12px 16px;
  color: var(--white);
  background: var(--red);
  box-shadow: var(--shadow);
  font-weight: 700;
  cursor: pointer;
}

.success {
  display: none;
  padding: 14px;
  border-radius: 4px;
  color: #0f5132;
  background: #dff5ea;
}

.success.show {
  display: block;
}

@media (max-width: 1040px) {
  .nav-links {
    position: fixed;
    top: 112px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

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

  .nav-links a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-links a::after {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .phone {
    display: none;
  }

  .hero-proof,
  .grid-4,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .split,
  .matrix,
  .contact-band,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 72px;
  }

  .container {
    width: min(100% - 28px, 1180px);
  }

  .topbar {
    display: none;
  }

  .nav-links {
    top: 73px;
  }

  .nav-actions .btn {
    display: none;
  }

  .brand-logo {
    width: 119px;
    max-height: 36px;
  }

  .hero-slider,
  .hero-slide .container {
    min-height: 560px;
  }

  .hero-slide::before,
  .hero-slide-security::before,
  .hero-slide-tech::before,
  .hero-slide-cert::before {
    background:
      linear-gradient(90deg, rgba(6, 27, 58, 0.98), rgba(6, 27, 58, 0.78)),
      var(--slide-bg) center / cover no-repeat;
  }

  .page-hero {
    padding: 78px 0 62px;
  }

  .page-hero::before {
    background:
      linear-gradient(90deg, rgba(6, 27, 58, 0.98), rgba(6, 27, 58, 0.78)),
      var(--page-banner) center / cover no-repeat;
  }

  .hero p,
  .page-hero p {
    font-size: 17px;
  }

  .hero-proof,
  .grid-3,
  .grid-4,
  .timeline,
  .cert-list,
  .matrix main,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-proof-wrap {
    position: relative;
    left: auto;
    bottom: auto;
    padding-bottom: 22px;
    transform: none;
  }

  .hero-arrow {
    display: none;
  }

  .hero-dots {
    bottom: 14px;
  }

  .section {
    padding: 62px 0;
  }

  .assurance-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-band {
    padding: 32px 24px;
  }

  .float-contact {
    left: 14px;
    right: 14px;
    grid-template-columns: 1fr 1fr;
  }

  .map-panel,
  .map-panel iframe {
    min-height: 520px;
    height: 520px;
  }

  .map-card {
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: auto;
  }
}
