:root {
  --navy: #07192f;
  --navy-2: #0d2f55;
  --blue: #174b7a;
  --blue-soft: #e9f0f7;
  --ink: #182235;
  --muted: #687487;
  --line: #dfe6ef;
  --paper: #f6f8fb;
  --white: #ffffff;
  --accent: #b9c7d8;
  --gold: #c8a15a;
  --shadow: 0 22px 60px rgba(7, 25, 47, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei",
    "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 76px;
  padding: 14px max(20px, calc((100vw - 1160px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 25, 47, 0.86);
  color: var(--white);
  backdrop-filter: blur(14px);
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(7, 25, 47, 0.08);
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(200, 161, 90, 0.55);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-weight: 800;
}

.site-header.scrolled .brand-mark {
  background: var(--navy);
}

.brand strong {
  display: block;
  font-size: 18px;
  letter-spacing: 0;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.site-header.scrolled .brand small {
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
}

.site-nav a {
  border-radius: 6px;
  padding: 10px 12px;
  color: inherit;
  font-size: 14px;
  opacity: 0.88;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(255, 255, 255, 0.12);
  opacity: 1;
}

.site-header.scrolled .site-nav a:hover,
.site-header.scrolled .site-nav a.active {
  background: var(--blue-soft);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 1px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background: url("../images/hero-business-tech.png") center right / cover no-repeat;
  opacity: 0.72;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 25, 47, 0.96) 0%, rgba(7, 25, 47, 0.78) 48%, rgba(7, 25, 47, 0.42) 100%),
    linear-gradient(180deg, rgba(7, 25, 47, 0.35), rgba(7, 25, 47, 0.78));
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 64px;
  align-items: center;
  padding-top: 86px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
}

.eyebrow.dark {
  color: var(--blue);
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-subtitle {
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 22px;
  line-height: 1.7;
}

.hero-intro {
  max-width: 680px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
  line-height: 1.9;
}

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

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

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

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.36);
  color: var(--white);
}

.hero-panel {
  display: grid;
  gap: 14px;
}

.panel-item {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.panel-item span {
  color: var(--gold);
  font-weight: 800;
}

.panel-item strong {
  display: block;
  margin-top: 10px;
  font-size: 18px;
}

.panel-item p {
  margin: 9px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
}

.section {
  padding: 92px 0;
}

.split-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
}

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

h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.42;
}

.text-block {
  border-left: 3px solid var(--gold);
  padding-left: 28px;
}

.text-block p,
.section-head p,
.service-card p,
.system-item p,
.process-list p,
.contact-box p,
.site-footer p {
  color: var(--muted);
  line-height: 1.85;
}

.text-block p:first-child {
  margin-top: 0;
}

.text-block p:last-child {
  margin-bottom: 0;
}

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

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

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

.service-card {
  min-height: 254px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: var(--white);
  box-shadow: 0 10px 34px rgba(7, 25, 47, 0.05);
}

.service-card span {
  display: inline-flex;
  margin-bottom: 20px;
  border-radius: 999px;
  background: var(--blue-soft);
  padding: 7px 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.system {
  background: var(--navy);
}

.system h2,
.system .system-item b {
  color: var(--white);
}

.system .section-head p,
.system-item p {
  color: rgba(255, 255, 255, 0.68);
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.system-item {
  min-height: 170px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.05);
}

.system-item b {
  display: block;
  margin-bottom: 12px;
  font-size: 19px;
}

.process {
  background: var(--white);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: linear-gradient(180deg, #ffffff, #f7f9fc);
}

.process-list span {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 24px;
  font-weight: 800;
}

.contact {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
}

.contact-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 54px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 44px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.contact-box h2 {
  color: var(--white);
}

.contact-box p {
  color: rgba(255, 255, 255, 0.72);
}

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

.contact-list p {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0 0 12px;
}

.contact-list span {
  flex: 0 0 auto;
  color: var(--gold);
  font-weight: 800;
}

.contact-list strong {
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  text-align: right;
}

.site-footer {
  background: #061426;
  color: var(--white);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0;
}

.site-footer strong {
  font-size: 18px;
}

.site-footer p,
.site-footer a,
.site-footer span {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.footer-records {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.footer-records a:hover {
  color: var(--white);
}

@media (max-width: 980px) {
  .site-header {
    min-height: 72px;
    padding: 14px 20px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 72px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 22px;
    background: rgba(7, 25, 47, 0.98);
    color: var(--white);
  }

  .site-header.scrolled .site-nav {
    background: var(--white);
    color: var(--ink);
  }

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

  .site-nav a {
    padding: 14px 12px;
  }

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

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

  .hero-inner {
    gap: 36px;
    padding-top: 0;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .site-header {
    gap: 12px;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding: 100px 0 56px;
  }

  .hero-media {
    background-position: center;
    opacity: 0.5;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-actions,
  .footer-inner {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .panel-item,
  .service-card,
  .system-item,
  .process-list li,
  .contact-box {
    padding: 22px;
  }

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

  .text-block {
    padding-left: 18px;
  }

  .contact-list p {
    display: block;
  }

  .contact-list span,
  .contact-list strong {
    display: block;
    text-align: left;
  }

  .contact-list strong {
    margin-top: 4px;
    overflow-wrap: anywhere;
  }

  .footer-records {
    align-items: flex-start;
  }
}
