/* ==========================================================================
   深圳市京中康科技有限公司 · 官网样式
   纯静态、无外部依赖（不引用 CDN 字体/图标/图片）
   ========================================================================== */

:root {
  --brand: #0b5cab;
  --brand-dark: #073a6f;
  --brand-light: #e8f1fb;
  --accent: #12b8a6;
  --ink: #14243a;
  --body: #4a5a70;
  --muted: #7d8a9c;
  --bg: #f5f8fc;
  --surface: #ffffff;
  --line: #e3eaf3;
  --radius: 14px;
  --shadow-sm: 0 2px 8px rgba(15, 40, 74, 0.06);
  --shadow-md: 0 12px 32px rgba(15, 40, 74, 0.1);
  --header-h: 74px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.3; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 22px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, #1a7bd4 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(11, 92, 171, .28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(11, 92, 171, .34); }
.btn-ghost {
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
  background: rgba(255, 255, 255, .08);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .18); transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 14px 30px; font-size: 16px; }

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-stuck {
  background: rgba(255, 255, 255, .96);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 20px rgba(15, 40, 74, .07);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .5px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand) 60%, var(--accent));
  box-shadow: 0 6px 16px rgba(11, 92, 171, .28);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 18px; color: var(--ink); letter-spacing: .5px; }
.brand-text small { font-size: 10.5px; color: var(--muted); letter-spacing: 1.1px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
  position: relative;
  padding: 8px 14px;
  font-size: 15px;
  color: #33455c;
  border-radius: 8px;
  transition: color .2s ease, background .2s ease;
}
.nav-link:hover { color: var(--brand); background: var(--brand-light); }
.nav-link.is-active { color: var(--brand); font-weight: 600; }
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}
.nav-cta { margin-left: 10px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------------- 首屏 ---------------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 90px) 0 96px;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(1200px 600px at 15% 10%, #12508e 0%, transparent 60%),
              radial-gradient(900px 500px at 88% 85%, #0e6f7d 0%, transparent 55%),
              linear-gradient(135deg, #062b52 0%, #0a4785 48%, #0a5f7a 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 70% at 50% 30%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 30%, #000 30%, transparent 100%);
}
.hero-inner { position: relative; max-width: 880px; }
.hero-tag {
  display: inline-block;
  padding: 7px 16px;
  margin-bottom: 24px;
  font-size: 13.5px;
  letter-spacing: 1px;
  color: #d7ecff;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
}
.hero-title {
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  line-height: 1.28;
}
.hero-title .hl {
  background: linear-gradient(90deg, #7fe3ff, #79ffd8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-desc {
  margin-top: 24px;
  max-width: 720px;
  font-size: 17px;
  line-height: 1.9;
  color: rgba(255, 255, 255, .86);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: 14.5px;
  color: rgba(255, 255, 255, .82);
}
.hero-points li { position: relative; padding-left: 18px; }
.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(18, 184, 166, .18);
}

/* ---------------- 数据条 ---------------- */
.stats {
  margin-top: -46px;
  position: relative;
  z-index: 5;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.stat {
  background: #fff;
  padding: 28px 20px;
  text-align: center;
}
.stat-num {
  display: block;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--brand);
  letter-spacing: .5px;
}
.stat-num .unit { font-size: 16px; font-weight: 600; margin-left: 2px; }
.stat-label { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); }

/* ---------------- 通用区块 ---------------- */
.section { padding: 90px 0; scroll-margin-top: var(--header-h); }
.section-alt { background: var(--bg); }
.section-head { max-width: 780px; margin-bottom: 52px; }
.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 2.4px;
  color: var(--accent);
}
.section-title {
  margin-top: 10px;
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: .5px;
}
.section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 16px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}
.section-sub { margin-top: 16px; font-size: 16.5px; color: var(--muted); }

/* ---------------- 关于我们 ---------------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}
.about-text p + p { margin-top: 18px; }
.about-text strong { color: var(--brand); font-weight: 600; }
.about-list { margin-top: 28px; display: grid; gap: 12px; }
.about-list li {
  position: relative;
  padding-left: 26px;
  font-size: 15.5px;
}
.about-list .dot {
  position: absolute;
  left: 0;
  top: 11px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand-light);
  border: 2px solid var(--brand);
}

.about-card {
  background: linear-gradient(180deg, #fbfdff, #f4f8fd);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.about-card h3 {
  font-size: 18px;
  padding-bottom: 16px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.about-card dl { margin: 0; }
.about-card dl > div {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14.5px;
}
.about-card dl > div:last-child { border-bottom: 0; }
.about-card dt { color: var(--muted); }
.about-card dd { margin: 0; color: var(--ink); font-weight: 500; }
.link-arrow {
  display: inline-block;
  margin-top: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--brand);
}
.link-arrow span { transition: transform .2s ease; display: inline-block; }
.link-arrow:hover span { transform: translateX(5px); }

/* ---------------- 产品中心 ---------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}
.product-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.product-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  opacity: 0;
  transition: opacity .22s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cfe1f3;
}
.product-card:hover::before { opacity: 1; }
.product-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--brand);
  background: var(--brand-light);
  margin-bottom: 20px;
}
.product-icon svg { width: 28px; height: 28px; }
.product-card h3 { font-size: 19px; margin-bottom: 14px; }
.product-card p { font-size: 15.5px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tag-list li {
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 999px;
  color: var(--brand);
  background: var(--brand-light);
}
.note {
  margin-top: 34px;
  padding: 18px 22px;
  font-size: 14.5px;
  color: var(--muted);
  background: #fff;
  border-left: 3px solid var(--accent);
  border-radius: 8px;
}

/* ---------------- 技术优势 ---------------- */
.zero-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.zero-card {
  position: relative;
  padding: 30px 26px;
  background: linear-gradient(180deg, #fdfefe, #f7fbfd);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}
.zero-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.zero-num {
  display: inline-block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
  color: var(--brand-light);
  -webkit-text-stroke: 1.5px var(--brand);
  margin-bottom: 6px;
}
.zero-card h3 { font-size: 17.5px; margin-bottom: 10px; }
.zero-card p { font-size: 15px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 46px;
  padding-top: 40px;
  border-top: 1px dashed var(--line);
}
.feature h4 {
  font-size: 16px;
  padding-left: 12px;
  border-left: 3px solid var(--accent);
  margin-bottom: 10px;
}
.feature p { font-size: 14.5px; color: var(--muted); }

/* ---------------- 荣誉资质 ---------------- */
.honor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.honor-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.honor-item strong {
  display: block;
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 8px;
}
.honor-item strong::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  vertical-align: 2px;
}
.honor-item span { font-size: 14.5px; color: var(--muted); }

/* ---------------- 联系我们 ---------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.contact-info {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}
.info-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 15.5px;
}
.info-row:first-child { padding-top: 0; }
.info-label { color: var(--muted); }
.info-value { color: var(--ink); }
.info-value a { color: var(--brand); font-weight: 600; }
.info-value a:hover { text-decoration: underline; }
.contact-info .btn { margin-top: 26px; width: 100%; }

.map-card {
  position: relative;
  height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, #0a4785, #0f7b8a);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
}
.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: .5;
}
.map-pin {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #fff;
  text-align: center;
}
.map-pin .pin {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, .28), 0 0 0 18px rgba(255, 255, 255, .14);
  animation: pinPulse 2.4s ease-in-out infinite;
}
.map-pin strong { margin-top: 16px; font-size: 17px; }
.map-pin small { font-size: 13.5px; color: rgba(255, 255, 255, .8); }
@keyframes pinPulse {
  0%, 100% { box-shadow: 0 0 0 8px rgba(255, 255, 255, .28), 0 0 0 18px rgba(255, 255, 255, .12); }
  50% { box-shadow: 0 0 0 12px rgba(255, 255, 255, .2), 0 0 0 26px rgba(255, 255, 255, .06); }
}
.map-tip { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* ---------------- 页脚 ---------------- */
.site-footer {
  padding: 56px 0 24px;
  color: rgba(255, 255, 255, .72);
  background: #0c1b2e;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand strong { display: block; color: #fff; font-size: 16.5px; }
.footer-brand small { display: block; font-size: 13px; color: rgba(255, 255, 255, .55); margin-top: 4px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14.5px; }
.footer-nav a:hover { color: #fff; }
.footer-contact { display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.footer-contact a:hover { color: #fff; }
.copyright {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, .45);
}

/* ---------------- 返回顶部 ---------------- */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 28px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  font-size: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), #1a7bd4);
  box-shadow: 0 10px 24px rgba(11, 92, 171, .32);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 90;
}
.to-top.is-show { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* ---------------- 滚动入场动画 ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .map-pin .pin { animation: none; }
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zero-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .honor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px 20px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 26px rgba(15, 40, 74, .1);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav-link { padding: 12px 14px; font-size: 16px; }
  .nav-link.is-active::after { display: none; }
  .nav-cta { margin: 8px 0 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .hero { padding: calc(var(--header-h) + 64px) 0 80px; }
}

@media (max-width: 620px) {
  .container { padding: 0 18px; }
  .feature-grid, .zero-grid, .honor-grid { grid-template-columns: 1fr; }
  .stat { padding: 22px 14px; }
  .stat-num { font-size: 28px; }
  .about-card, .contact-info, .product-card { padding: 24px; }
  .info-row { grid-template-columns: 1fr; gap: 4px; }
  .footer-inner { flex-direction: column; }
}
