:root {
  --blue: #1e50ae;
  --blue-dark: #0d487f;
  --text: #333333;
  --text-strong: #212121;
  --text-weak: #666666;
  --text-faint: #999999;
  --border: #e6e6e6;
  --bg-gray: #f2f2f2;
  --container: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  font-size: 14px;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}

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

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  height: 64px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 34px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.main-nav a {
  position: relative;
  padding: 8px 14px;
  font-size: 15px;
  color: var(--text-strong);
  white-space: nowrap;
}

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

.main-nav .menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav .menu li {
  list-style: none;
}

.main-nav .menu li.current-menu-item > a {
  color: var(--blue);
}

.main-nav .menu > li {
  position: relative;
}

.main-nav .menu-item-has-children > a::after {
  content: "\25BE";
  margin-left: 4px;
  font-size: 10px;
  vertical-align: 1px;
}

.main-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 176px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-top: 2px solid var(--blue);
  padding: 6px 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.16s ease, visibility 0.16s ease;
  z-index: 60;
}

.main-nav .menu > li:hover .sub-menu {
  opacity: 1;
  visibility: visible;
}

.main-nav .sub-menu li {
  display: block;
}

.main-nav .sub-menu a {
  display: block;
  padding: 9px 18px;
  font-size: 14px;
  color: var(--text);
  white-space: nowrap;
}

.main-nav .sub-menu a:hover {
  background: #f4f7fc;
  color: var(--blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 8px;
}

.icon-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-weak);
  font-size: 18px;
  cursor: pointer;
}

.icon-btn:hover {
  color: var(--blue);
}

.btn-register {
  background: var(--blue);
  color: #fff;
  padding: 7px 22px;
  font-size: 14px;
  border-radius: 2px;
}

.btn-register:hover {
  background: var(--blue-dark);
}

.btn-login {
  color: var(--text-strong);
  font-size: 14px;
  padding: 7px 6px;
}

.btn-login:hover {
  color: var(--blue);
}

/* ============ Hero ============ */
.hero {
  position: relative;
  height: 430px;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 30px;
  font-weight: 300;
  opacity: 0.85;
  cursor: pointer;
  user-select: none;
}

.hero-arrow:hover {
  opacity: 1;
}

.hero-arrow.prev {
  left: 22px;
}

.hero-arrow.next {
  right: 22px;
}

.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.hero-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.hero-dots span.active {
  background: #fff;
}

/* ============ Stats ============ */
.stats {
  padding: 56px 0 48px;
}

.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
}

.stat-item img {
  height: 92px;
  width: auto;
  margin-bottom: 8px;
}

.stat-item .stat-title {
  font-size: 16px;
  color: var(--text-strong);
  margin-bottom: 10px;
}

.stat-item .stat-desc {
  font-size: 13px;
  color: var(--text-weak);
  line-height: 1.7;
}

/* ============ Industries band ============ */
.industries {
  background: var(--blue);
  color: #fff;
  padding: 30px 0 24px;
}

.industries .band-title {
  font-size: 17px;
  font-weight: 400;
  margin-bottom: 18px;
}

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

.industry-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 14px 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  transition: background 0.2s;
}

.industry-item:nth-child(6n) {
  border-right: 0;
}

.industry-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.industry-item img {
  height: 54px;
  width: auto;
  margin-bottom: 12px;
}

.industry-item span {
  font-size: 14px;
}

/* ============ Solutions ============ */
.solutions {
  padding: 40px 0 56px;
}

.solutions .section-title {
  text-align: right;
  font-size: 17px;
  color: var(--text-strong);
  margin-bottom: 8px;
}

.solutions .section-intro {
  text-align: right;
  font-size: 13px;
  color: var(--text-weak);
  max-width: 900px;
  margin: 0 0 24px auto;
  line-height: 1.9;
}

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

.solution-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid var(--border);
  background: #fff;
  padding: 34px 12px;
  min-height: 190px;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.solution-card:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 16px rgba(30, 80, 174, 0.12);
}

.solution-card img {
  height: 62px;
  width: auto;
  margin-bottom: 20px;
}

.solution-card span {
  font-size: 14px;
  color: var(--text);
  line-height: 1.4;
}

/* ============ Partners ============ */
.partners {
  padding: 20px 0 60px;
}

.partners .section-title {
  font-size: 17px;
  color: var(--text-strong);
  margin-bottom: 20px;
}

.partner-row {
  display: flex;
  align-items: center;
  border-top: 1px solid var(--border);
  padding: 10px 0;
  min-height: 86px;
}

.partner-row:last-child {
  border-bottom: 1px solid var(--border);
}

.partner-cat {
  width: 130px;
  flex-shrink: 0;
  font-size: 14px;
  color: var(--text-strong);
}

.partner-logos {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 12px;
  flex-wrap: wrap;
}

.partner-logos img {
  max-height: 52px;
  max-width: 150px;
  width: auto;
  object-fit: contain;
}

/* ============ Footer ============ */
.site-footer {
  background: var(--bg-gray);
  padding: 26px 0 30px;
  font-size: 13px;
  color: var(--text-weak);
}

.site-footer .footer-top {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 14px;
}

.site-footer .footer-top .contact {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-footer .divider {
  height: 1px;
  background: var(--border);
  margin: 14px 0;
}

.site-footer .footer-legal {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.site-footer a:hover {
  color: var(--blue);
}

/* ============ Floating contact ============ */
.float-contact {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.float-contact a {
  width: 62px;
  height: 58px;
  background: var(--blue);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  text-align: center;
  line-height: 1.3;
  opacity: 0.92;
}

.float-contact a:hover {
  opacity: 1;
  background: var(--blue-dark);
}

/* ============ Inner pages ============ */
.page-banner {
  position: relative;
  height: 300px;
  display: flex;
  align-items: center;
  background: #123a6b center center / cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 38, 78, 0.78), rgba(11, 38, 78, 0.35));
}

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

.page-banner h1 {
  font-size: 34px;
  font-weight: 400;
  letter-spacing: 1px;
}

.page-banner .sub {
  margin-top: 10px;
  font-size: 15px;
  opacity: 0.92;
}

.page-main {
  padding: 46px 0 66px;
}

.prose {
  max-width: 1000px;
}

.prose h2 {
  font-size: 22px;
  color: var(--text-strong);
  margin: 40px 0 16px;
  padding-left: 12px;
  border-left: 4px solid var(--blue);
  line-height: 1.4;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose .page-title {
  font-size: 26px;
  font-weight: 400;
  color: var(--text-strong);
  margin: 0 0 22px;
}

.prose h3 {
  font-size: 16px;
  color: var(--blue);
  margin: 24px 0 10px;
}

.prose p {
  font-size: 14px;
  color: #555;
  line-height: 2;
  margin: 0 0 16px;
}

.prose .figure {
  margin: 22px 0;
  text-align: center;
}

.prose .figure img {
  max-width: 100%;
  height: auto;
}

.prose .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 18px 0 30px;
}

.prose .card {
  border: 1px solid var(--border);
  padding: 20px 20px 16px;
  background: #fff;
}

.prose .card h3 {
  font-size: 15px;
  color: var(--blue);
  margin: 0 0 10px;
}

.prose .card p {
  font-size: 13px;
  color: #666;
  line-height: 1.9;
  margin: 0;
}

.prose .lead {
  font-size: 17px;
  color: #333;
  line-height: 2;
  margin: 0 0 18px;
}

.prose .cards > figure {
  margin: 0;
}

.prose .cards > figure img {
  width: 100%;
  height: auto;
}

.prose .card-icon {
  height: 82px;
  width: auto;
  margin-bottom: 10px;
}

.prose .card.card-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 160px;
}

.prose .card.card-center .card-icon {
  margin: 0 0 14px;
}

.prose .card.card-center h3 {
  margin: 0;
}

.prose .zigzag {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin: 42px 0;
}

.prose .zigzag > figure {
  margin: 0;
}

.prose .zigzag > figure img {
  width: 100%;
  height: auto;
}

.prose .zigzag.rev > figure {
  order: 2;
}

.prose .zigzag .ztext > :first-child {
  margin-top: 0;
}

.prose .zigzag .ztext > :last-child {
  margin-bottom: 0;
}

.prose .offices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 44px;
  margin: 22px 0 10px;
}

.prose .office h3 {
  font-size: 16px;
  color: var(--blue);
  margin: 0 0 6px;
  padding-left: 10px;
  border-left: 3px solid var(--blue);
}

.prose .office p {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  color: #555;
}

@media (max-width: 760px) {
  .prose .offices {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .prose .zigzag {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .prose .zigzag.rev > figure {
    order: 0;
  }
}

.landing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 10px 0 30px;
}

.landing-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  padding: 28px 14px;
  min-height: 176px;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.landing-card:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 16px rgba(30, 80, 174, 0.12);
}

.landing-card img {
  height: 56px;
  width: auto;
  margin-bottom: 16px;
}

.landing-card span {
  font-size: 14px;
  color: var(--text);
}

.landing-card.dark {
  background: var(--blue);
  border-color: var(--blue);
}

.landing-card.dark span {
  color: #fff;
}

.landing-card.dark:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

@media (max-width: 900px) {
  .landing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .page-banner {
    height: 200px;
  }

  .page-banner h1 {
    font-size: 26px;
  }
}

/* ============ Responsive ============ */
@media (max-width: 1100px) {
  .main-nav {
    display: none;
  }

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

  .industry-item:nth-child(6n) {
    border-right: 1px solid rgba(255, 255, 255, 0.18);
  }

  .industry-item:nth-child(3n) {
    border-right: 0;
  }
}

@media (max-width: 640px) {
  .stats .container {
    grid-template-columns: repeat(2, 1fr);
  }

  .industry-grid,
  .solution-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partner-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .hero {
    height: 220px;
  }

  .float-contact {
    display: none;
  }
}
