:root {
  --blue: #0759d6;
  --blue-dark: #06245a;
  --text: #0b1736;
  --muted: #59677d;
  --line: #e6edf5;
  --card: #ffffff;
  --shadow: 0 18px 50px rgba(20, 51, 92, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  color: var(--text);
  background: #fff;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 92px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 clamp(24px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(8, 36, 81, 0.07);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 380px;
}
.brand img { width: 82px; height: auto; }
.brand strong {
  display: block;
  color: #070b12;
  font-size: clamp(18px, 1.55vw, 25px);
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
}
.brand small {
  display: block;
  margin-top: 5px;
  color: #111827;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1px;
}

.nav {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: clamp(16px, 2vw, 38px);
  height: 100%;
}
.nav a {
  position: relative;
  display: grid;
  place-items: center;
  color: #0b1736;
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 0;
  height: 4px;
  border-radius: 999px;
  background: var(--blue);
  transform: translateX(-50%);
  transition: width .2s ease;
}
.nav a.active,
.nav a:hover { color: var(--blue); }
.nav a.active::after,
.nav a:hover::after { width: 52px; }

.phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
  font-size: 20px;
  font-weight: 900;
  white-space: nowrap;
}
.phone svg,
.advantages svg,
.card-body svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: #0b1736;
  border-radius: 2px;
}

.hero {
  position: relative;
  min-height: clamp(530px, 51vw, 670px);
  overflow: visible;
  background: #eaf5ff;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(239, 247, 255, .98) 0%, rgba(239, 247, 255, .88) 22%, rgba(239, 247, 255, .35) 45%, rgba(239, 247, 255, 0) 72%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: clamp(84px, 8.3vw, 132px);
}
.hero h1 {
  margin: 0 0 24px;
  color: #08204f;
  font-size: clamp(40px, 4.2vw, 66px);
  line-height: 1.28;
  font-weight: 950;
  letter-spacing: 0;
}
.hero p {
  margin: 0 0 42px;
  color: #172844;
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 700;
}
.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 166px;
  height: 56px;
  padding: 0 26px;
  border-radius: 6px;
  background: var(--blue);
  color: white;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(7, 89, 214, .25);
}
.slider-dots {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 82px;
  display: flex;
  gap: 18px;
  transform: translateX(-50%);
}
.slider-dots span {
  width: 34px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
}
.slider-dots .on { background: var(--blue); }

.advantages {
  position: relative;
  z-index: 3;
  width: min(1500px, calc(100% - 48px));
  min-height: 150px;
  margin: -68px auto 38px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, .94);
  border-radius: 12px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.advantages article {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 34px 42px;
  color: var(--blue);
}
.advantages article + article { border-left: 1px solid var(--line); }
.advantages svg {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
}
.advantages h3 {
  margin: 0 0 12px;
  color: #111827;
  font-size: 22px;
  line-height: 1.2;
}
.advantages p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  font-weight: 600;
}

.solutions {
  width: min(1480px, calc(100% - 48px));
  margin: 0 auto 58px;
}
.section-title {
  text-align: center;
  margin-bottom: 36px;
}
.section-title h2 {
  margin: 0 0 18px;
  color: #081a43;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.2;
}
.section-title p {
  position: relative;
  margin: 0;
  padding-bottom: 20px;
  color: #61708a;
  font-size: 16px;
  font-weight: 700;
}
.section-title p::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 38px;
  height: 4px;
  border-radius: 999px;
  background: var(--blue);
  transform: translateX(-50%);
}
.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.solution-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  transition: transform .2s ease, box-shadow .2s ease;
}
.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.solution-card > img {
  width: 100%;
  aspect-ratio: 1.9 / 1;
  object-fit: cover;
}
.card-body { padding: 24px 28px 26px; }
.card-body h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  color: #12213c;
  font-size: 21px;
  line-height: 1.25;
}
.card-body h3 svg {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  color: var(--blue);
}
.card-body p {
  min-height: 76px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
  font-weight: 600;
}
.card-body a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 900;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #f7faff;
  padding: 22px 16px;
  text-align: center;
}

.site-footer a {
  color: #66758c;
  font-size: 14px;
  font-weight: 700;
}

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

@media (max-width: 1280px) {
  .site-header { height: 82px; gap: 16px; }
  .brand { min-width: 320px; }
  .brand img { width: 70px; }
  .nav { gap: 18px; }
  .nav a { font-size: 14px; }
  .phone { font-size: 17px; }
  .advantages { grid-template-columns: repeat(2, 1fr); }
  .advantages article:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .advantages article:nth-child(4) { border-top: 1px solid var(--line); }
  .solution-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .site-header {
    height: 76px;
    justify-content: space-between;
    padding-inline: 18px;
  }
  .brand { min-width: 0; }
  .brand img { width: 58px; }
  .brand strong { font-size: 17px; white-space: normal; }
  .brand small { display: none; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    height: auto;
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    padding: 10px 18px 18px;
    background: white;
    box-shadow: 0 18px 40px rgba(14, 43, 86, .12);
  }
  .nav.open { display: grid; }
  .nav a {
    min-height: 46px;
    justify-content: start;
    place-items: center start;
    border-bottom: 1px solid var(--line);
  }
  .nav a::after { display: none; }
  .phone { display: none; }
  .hero { min-height: 570px; }
  .hero-bg { object-position: 58% center; }
  .hero::before {
    background: linear-gradient(90deg, rgba(239,247,255,.98) 0%, rgba(239,247,255,.84) 56%, rgba(239,247,255,.15) 100%);
  }
  .hero-content { padding-top: 72px; }
  .advantages {
    grid-template-columns: 1fr;
    margin-top: -44px;
  }
  .advantages article,
  .advantages article:nth-child(n) {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 26px;
  }
  .advantages article:first-child { border-top: 0; }
}

@media (max-width: 620px) {
  .hero {
    min-height: 610px;
  }
  .hero-bg { object-position: 64% center; }
  .hero-content {
    width: calc(100% - 32px);
    padding-top: 58px;
  }
  .hero h1 { font-size: 36px; }
  .hero p { max-width: 320px; line-height: 1.65; }
  .primary-btn { min-width: 148px; height: 50px; }
  .slider-dots { bottom: 64px; }
  .advantages,
  .solutions { width: calc(100% - 32px); }
  .solution-grid { grid-template-columns: 1fr; }
  .card-body p { min-height: 0; }
}
