:root {
  --ink: #18202c;
  --muted: #667085;
  --line: #e8edf3;
  --brand: #0f7ad8;
  --brand-dark: #061827;
  --accent: #e63946;
  --paper: #ffffff;
  --soft: #f6f8fb;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.7;
  background: var(--paper);
}

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

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

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

.narrow {
  max-width: 880px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #001529;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0;
}

.brand-name {
  font-size: 18px;
}

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

.nav a {
  display: inline-flex;
  align-items: center;
  height: 64px;
  padding: 0 18px;
  color: #fff;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav a:hover {
  color: #58b8ff;
  border-bottom-color: #58b8ff;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

.hero {
  position: relative;
  min-height: calc(100vh - 64px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.36)),
    url("./assets/bjt.jpg") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  text-align: center;
  padding: 112px 0 132px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #9bd5ff;
}

.hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(46px, 7vw, 82px);
  font-weight: 800;
  line-height: 1.08;
}

.hero-copy {
  max-width: 720px;
  margin: 22px auto 34px;
  font-size: 24px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 44px;
  padding: 0 26px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 4px;
  color: #fff;
  font-size: 18px;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.hero-button:hover {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 18px rgba(88, 184, 255, 0.55);
}

.section {
  padding: 88px 0;
}

.section h2 {
  margin: 0 0 24px;
  font-size: 32px;
  line-height: 1.25;
}

.about p {
  margin: 0 0 16px;
  color: #4d5867;
  font-size: 16px;
}

.partners {
  background: var(--soft);
  text-align: center;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(140px, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.partner-item {
  display: grid;
  min-height: 112px;
  place-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #394454;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(15, 33, 56, 0.05);
}

.services-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.lead {
  margin: 0 0 42px;
  color: var(--muted);
  font-size: 17px;
}

.service-list {
  display: grid;
  gap: 28px;
}

.service-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
}

.service-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  background: #eaf5ff;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
}

.service-item h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.service-item p {
  margin: 0;
  color: #596575;
}

.service-visual {
  display: flex;
  justify-content: center;
}

.service-visual img {
  width: min(100%, 560px);
}

.contact {
  background: #fbfcfe;
}

.contact-inner {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 34px;
  align-items: center;
  max-width: 820px;
}

.qrcode {
  width: 148px;
  height: 148px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-copy p {
  margin: 0 0 10px;
  color: #687386;
}

.contact-copy h2 {
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 24px;
}

.site-footer {
  background: var(--brand-dark);
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
}

.footer-inner a {
  color: rgba(255, 255, 255, 0.82);
}

.footer-inner a:hover {
  color: #fff;
}

@media (max-width: 860px) {
  .container {
    width: min(100% - 32px, 1120px);
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    display: none;
    padding: 8px 16px 18px;
    background: #001529;
  }

  .nav.is-open {
    display: grid;
  }

  .nav a {
    height: 42px;
    padding: 0 8px;
    border-bottom: 0;
  }

  .hero-copy {
    font-size: 20px;
  }

  .section {
    padding: 64px 0;
  }

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

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

  .service-visual {
    order: -1;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .qrcode {
    margin: 0 auto;
  }

  .footer-inner {
    flex-direction: column;
    gap: 4px;
    padding: 18px 0;
  }
}

@media (max-width: 520px) {
  .brand-name {
    font-size: 16px;
  }

  .hero {
    min-height: 680px;
  }

  .hero h1 {
    font-size: 44px;
  }

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

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

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