@charset "utf-8";
/* ===== 深圳市圣吉圣网络科技有限公司 官网公共样式 ===== */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  background: #f5f8fc;
  color: #101418;
}
img { border: 0; vertical-align: middle; }
a { text-decoration: none; color: inherit; }

/* ===== 顶部导航 ===== */
.header {
  height: 84px;
  background: #0a1b33;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  padding: 0 6.5%;
  position: relative;
  z-index: 10;
}
.logo {
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 1px;
}
.nav { display: flex; align-items: stretch; gap: 52px; }
.nav a {
  display: flex;
  align-items: center;
  position: relative;
  color: #fff;
  font-size: 18px;
  letter-spacing: 1px;
  transition: color .2s;
}
.nav a:hover { color: #9cc2ff; }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 44px;
  height: 4px;
  border-radius: 2px;
  background: #2e6cf0;
}
.nav .search { margin-left: 4px; }
.nav .search svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; }

/* ===== 主视觉区 ===== */
.hero {
  position: relative;
  min-height: calc(100vh - 84px);
  display: flex;
  flex-direction: column;
  padding: 40px 6.5% 64px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  right: -1%;
  top: 44%;
  transform: translateY(-50%);
  width: 64%;
  z-index: 1;
  pointer-events: none;
}
.hero-text { position: relative; z-index: 2; max-width: 46%; margin-top: 7vh; }
.hero-text h1 {
  margin: 0 0 34px;
  font-size: 56px;
  font-weight: 800;
  letter-spacing: 3px;
  color: #0d1116;
}
.hero-text .sub { margin: 0; font-size: 22px; line-height: 1.9; color: #1c2430; max-width: 660px; }
.hero-text .sub.strong { font-weight: 700; font-size: 23px; }
.hero-text h2 { margin: 0 0 28px; font-size: 29px; line-height: 1.65; font-weight: 700; color: #0d1116; }
.hero-text .body { margin: 0 0 24px; font-size: 18px; line-height: 2.05; color: #20293a; max-width: 640px; }
.bar-title {
  display: flex;
  align-items: center;
  margin: 32px 0 16px;
  font-size: 24px;
  font-weight: 700;
  color: #0d1116;
}
.bar-title::before {
  content: "";
  width: 6px;
  height: 24px;
  border-radius: 2px;
  background: #2e6cf0;
  margin-right: 12px;
}

/* ===== 底部能力卡片 ===== */
.cards {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: auto;
}
.cards.grid8 { gap: 28px; }
.card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 196px;
  padding: 34px 30px;
  border-radius: 10px;
  background: #fbfcfe;
  box-shadow: 0 12px 32px rgba(28, 58, 120, .08);
}
.cards.grid8 .card { min-height: 172px; padding: 28px 26px; }
.card h3 { margin: 0 0 14px; font-size: 27px; letter-spacing: 2px; color: #0d1116; }
.cards.grid8 .card h3 { font-size: 24px; margin-bottom: 12px; }
.card p { margin: 0; font-size: 13px; letter-spacing: 1px; color: #a9b1c0; line-height: 1.9; }
.cards.grid8 .card p { font-size: 14px; letter-spacing: 0; color: #98a2b3; }
.card.primary {
  background: linear-gradient(135deg, #3d7bf5 0%, #2a5ce8 100%);
  box-shadow: 0 14px 34px rgba(42, 92, 232, .28);
}
.card.primary h3 { color: #fff; }
.card.primary p { color: rgba(255, 255, 255, .85); }

/* ===== 卡片图标 + 等距底座 ===== */
.icon-art { position: relative; flex: none; width: 118px; height: 98px; }
.icon-art .pedestal { position: absolute; left: 0; bottom: 0; width: 118px; height: 68px; }
.pedestal .pl { fill: none; stroke: #cddcf3; stroke-width: 2; }
.pedestal .pf { fill: #dde9fb; }
.card.primary .pedestal .pl { stroke: rgba(255, 255, 255, .45); }
.card.primary .pedestal .pf { fill: rgba(255, 255, 255, .30); }
.icon-art .glyph { position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 64px; height: 64px; }
.icon-art .glyph.hex { width: 78px; height: 78px; top: -8px; }

/* ===== 联系我们 ===== */
.contact {
  position: relative;
  min-height: calc(100vh - 84px);
  padding: 64px 0 90px;
  overflow: hidden;
  background: #f4f6f9;
}
.contact .ghost {
  position: absolute;
  background: #fff;
  opacity: .55;
  filter: blur(8px);
  border-radius: 10px;
  pointer-events: none;
}
.contact .ghost.g1 { left: 25%; top: 55%; width: 340px; height: 58px; }
.contact .ghost.g2 { left: -60px; top: 62%; width: 300px; height: 260px; opacity: .35; }
.contact h1 { margin: 0 0 26px; text-align: center; font-size: 46px; font-weight: 800; letter-spacing: 2px; color: #0d1116; }
.contact .sub { margin: 0; text-align: center; font-size: 20px; color: #2a3242; }
.contact-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  width: min(1560px, 86%);
  margin: 64px auto 0;
}
.info-card, .form-card {
  background: #fbfcfd;
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(30, 60, 120, .08);
  padding: 62px 56px;
}
.info-card .line { display: flex; margin: 0 0 38px; font-size: 20px; line-height: 1.7; color: #14181f; }
.info-card .line:last-child { margin-bottom: 0; }
.info-card .line .lab { flex: 0 0 116px; }
.info-card .line.strong { font-weight: 700; font-size: 22px; }
.form-card form { margin: 0; }
.f-row { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.f-row label { flex: none; font-size: 18px; color: #2a3242; }
.f-row input {
  flex: 1;
  min-width: 0;
  height: 46px;
  border: 1px solid #d9dee6;
  border-radius: 4px;
  background: #fff;
  padding: 0 12px;
  font-size: 15px;
  outline: none;
  font-family: inherit;
}
.f-row input:focus { border-color: #2e6cf0; }
.f-row.two { gap: 28px; }
.f-cell { display: flex; align-items: center; gap: 16px; flex: 1; min-width: 0; }
.f-cell label { flex: none; font-size: 18px; color: #2a3242; }
.f-cell input {
  flex: 1;
  min-width: 0;
  height: 46px;
  border: 1px solid #d9dee6;
  border-radius: 4px;
  background: #fff;
  padding: 0 12px;
  font-size: 15px;
  outline: none;
  font-family: inherit;
}
.f-cell input:focus { border-color: #2e6cf0; }
.form-card button {
  width: 100%;
  height: 52px;
  margin-top: 6px;
  border: none;
  border-radius: 4px;
  background: #2e6cf0;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s;
}
.form-card button:hover { background: #2559d6; }

/* ===== 响应式 ===== */
@media (max-width: 1280px) {
  .nav { gap: 30px; }
  .hero-text { max-width: 60%; }
  .cards { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .hero-bg { opacity: .55; width: 78%; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .header { padding: 0 5%; }
  .logo { font-size: 18px; }
  .nav { gap: 16px; }
  .nav a { font-size: 14px; }
  .hero { padding: 30px 5% 40px; }
  .hero-text { max-width: 100%; margin-top: 4vh; }
  .hero-text h1 { font-size: 34px; }
  .hero-text .sub, .hero-text .sub.strong { font-size: 17px; }
  .hero-text h2 { font-size: 21px; }
  .hero-text .body { font-size: 15px; }
  .cards, .cards.grid8 { grid-template-columns: 1fr; }
  .card, .cards.grid8 .card { min-height: 0; }
  .info-card, .form-card { padding: 34px 26px; }
  .f-row.two { flex-direction: column; align-items: stretch; gap: 28px; }
}
