/* ============================================================
   纳微晶测（深圳）科技有限公司 - 官网样式（商务科技风）
   主色：深空蓝 #0B2A5B / 科技蓝 #1B5FD9 / 点缀青 #18C3D8
   ============================================================ */
:root {
  --navy: #0b2a5b;
  --navy-deep: #071d40;
  --blue: #1b5fd9;
  --blue-light: #3f7ff0;
  --cyan: #18c3d8;
  --text: #1f2b3d;
  --text-light: #5a6b84;
  --bg: #ffffff;
  --bg-soft: #f4f7fc;
  --border: #e3e9f3;
  --radius: 10px;
  --shadow: 0 8px 30px rgba(11, 42, 91, 0.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { width: min(1200px, 92%); margin: 0 auto; }

/* ---------- 顶部导航 ---------- */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; color: var(--navy); }
.logo-mark {
  width: 36px; height: 36px; border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 18px; font-weight: 800;
}
.logo-mark-img { height: 46px; width: auto; display: block; }
.logo-text { font-size: 24px; font-weight: 800; letter-spacing: 2px; color: var(--navy); white-space: nowrap; }
.logo-footer-img { height: 44px; width: auto; display: block; margin-bottom: 6px; }
.logo-footer-text { font-size: 26px; font-weight: 800; letter-spacing: 2px; color: #fff; white-space: nowrap; }
.nav-links { display: flex; gap: 18px; }
.nav-links a { font-size: 17px; color: var(--text-light); transition: color .2s; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); font-weight: 600; }
.nav-cta {
  padding: 10px 24px; border-radius: 999px;
  background: var(--blue); color: #fff; font-size: 16px; font-weight: 600;
  transition: background .2s;
}
.nav-cta:hover { background: var(--navy); }

/* ---------- Hero 横幅 ---------- */
.hero {
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(24, 195, 216, .18), transparent 60%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, #123c7e 100%);
  color: #fff;
  padding: 110px 0 130px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 130px;
  background: linear-gradient(to top, rgba(7, 29, 64, 0.55), transparent);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; position: relative; z-index: 2; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  font-size: 13px; letter-spacing: 1px; margin-bottom: 22px;
}
.hero h1 { font-size: 46px; line-height: 1.3; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--cyan); }
.hero p { font-size: 17px; color: rgba(255,255,255,.78); margin-bottom: 36px; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; }
.btn {
  display: inline-block; padding: 13px 34px; border-radius: 999px;
  font-size: 15px; font-weight: 600; transition: all .2s; border: none; cursor: pointer;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-light); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

/* Hero 数据卡片 */
.hero-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 18px; padding: 36px;
  backdrop-filter: blur(8px);
}
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.stat-num { font-size: 34px; font-weight: 800; color: var(--cyan); }
.stat-label { font-size: 13px; color: rgba(255,255,255,.65); }

/* ---------- 通用区块 ---------- */
.section { padding: 90px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-tag {
  display: inline-block; padding: 5px 16px; border-radius: 999px;
  background: rgba(27, 95, 217, .09); color: var(--blue);
  font-size: 13px; font-weight: 600; margin-bottom: 16px;
}
.section-tag-lg { font-size: 20px; padding: 8px 26px; }
.section-head h2 { font-size: 32px; color: var(--navy); margin-bottom: 14px; }
.section-head p { color: var(--text-light); font-size: 16px; }

/* ---------- 卡片网格 ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 28px; transition: all .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card-icon {
  width: 52px; height: 52px; border-radius: 12px; margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(27,95,217,.12), rgba(24,195,216,.15));
  display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.card-icon-img { overflow: hidden; }
.card-icon-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 能力卡：图片居左、文字居右 */
.cap-card { display: flex; align-items: center; gap: 18px; padding: 22px; }
.cap-card .cap-img { flex: 0 0 116px; width: 116px; height: 116px; border-radius: 12px; overflow: hidden; background: linear-gradient(135deg, #dfe9fb, #c6d8f5); }
.cap-card .cap-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cap-card .cap-txt { flex: 1; min-width: 0; }
.cap-card h3 { font-size: 18px; margin-bottom: 6px; }
.cap-card p { font-size: 13.5px; }
@media (max-width: 600px) {
  .cap-card { flex-direction: column; align-items: flex-start; }
  .cap-card .cap-img { width: 100%; height: 150px; flex: none; }
}
.card h3 { font-size: 19px; color: var(--navy); margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--text-light); }
.card .more { display: inline-block; margin-top: 16px; color: var(--blue); font-size: 14px; font-weight: 600; }

/* ---------- 关于页横幅（内页通用） ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: #fff; text-align: center; padding: 80px 0 70px;
}
.page-hero h1 { font-size: 28px; margin-bottom: 12px; white-space: nowrap; }
/* 腾讯地图嵌入 */
.map-frame { width: 100%; height: 400px; border: 0; border-radius: var(--radius); display: block; background: #eaf3ff; }
@media (max-width: 600px) { .map-frame { height: 300px; } }
.page-hero p { color: rgba(255,255,255,.7); font-size: 15px; }

/* ---------- 图片占位（SVG） ---------- */
.ph {
  border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, #dfe9fb, #c6d8f5);
}
.ph svg { display: block; width: 100%; height: 100%; }
.ph img { display: block; width: 100%; height: auto; aspect-ratio: 360 / 190; object-fit: cover; }

/* ---------- 数字条 ---------- */
.counter-band {
  background: var(--navy-deep); color: #fff;
  padding: 56px 0;
}
.counter-band .grid-4 .stat-num { color: var(--cyan); }
.counter-band .grid-4 .stat-label { color: rgba(255,255,255,.6); }

/* ---------- 产品/服务列表 ---------- */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  padding: 40px 0;
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-text h3 { font-size: 26px; color: var(--navy); margin-bottom: 14px; }
.feature-text p { color: var(--text-light); margin-bottom: 18px; }
.feature-text li {
  display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px;
  color: var(--text); font-size: 15px;
}
.tick { color: var(--cyan); font-weight: 800; }

/* ---------- 新闻卡片 ---------- */
.news-meta { font-size: 13px; color: var(--text-light); margin-bottom: 12px; display: flex; gap: 14px; }
.news-date { color: var(--blue); font-weight: 600; }

/* ---------- CTA ---------- */
.cta-band {
  background:
    radial-gradient(700px 300px at 90% 120%, rgba(24,195,216,.25), transparent 60%),
    linear-gradient(120deg, var(--blue), var(--navy));
  border-radius: 18px; color: #fff;
  padding: 64px 56px; text-align: center;
}
.cta-band h2 { font-size: 30px; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.8); margin-bottom: 28px; }
.cta-band .btn-primary { background: #fff; color: var(--navy); }
.cta-band .btn-primary:hover { background: #e8f1ff; }

/* ---------- 表单 ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-item { display: flex; flex-direction: column; gap: 8px; }
.form-item.full { grid-column: 1 / -1; }
.form-item label { font-size: 14px; font-weight: 600; color: var(--navy); }
.form-item input, .form-item textarea, .form-item select {
  padding: 12px 16px; border: 1px solid var(--border); border-radius: 8px;
  font-size: 15px; font-family: inherit; background: #fff; transition: border .2s;
}
.form-item input:focus, .form-item textarea:focus, .form-item select:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(27, 95, 217, .12);
}

/* ---------- 联系信息 ---------- */
.contact-info li {
  display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px;
}
.ci-icon {
  flex: none; width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(27,95,217,.12), rgba(24,195,216,.15));
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.ci-label { font-size: 13px; color: var(--text-light); }
.ci-value { font-size: 16px; font-weight: 600; color: var(--navy); }

/* ---------- 页脚 ---------- */
.footer { background: var(--navy-deep); color: rgba(255,255,255,.72); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer li { margin-bottom: 10px; font-size: 14px; }
.footer li a:hover { color: var(--cyan); }
.footer-about p { font-size: 14px; margin: 16px 0 20px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0; font-size: 13px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.footer-bottom a { color: var(--cyan); }

/* ---------- 导航搜索框 ---------- */
.nav-search {
  display: flex; align-items: center; gap: 4px;
  border: 1px solid var(--border); border-radius: 999px;
  padding: 4px 6px 4px 14px; background: #fff;
}
.nav-search input {
  border: none; outline: none; font-size: 15px; width: 110px;
  font-family: inherit; color: var(--text); background: transparent;
}
.nav-search button {
  border: none; background: var(--blue); color: #fff; cursor: pointer;
  width: 30px; height: 30px; border-radius: 999px; font-size: 13px;
  display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.nav-search button:hover { background: var(--navy); }

/* ---------- 返回顶部 ---------- */
.back-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 200;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--blue); color: #fff; border: none; cursor: pointer;
  font-size: 20px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all .25s;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--navy); }

/* ---------- 浮动咨询 dock ---------- */
.float-dock {
  position: fixed; right: 26px; bottom: 84px; z-index: 200;
  display: flex; flex-direction: column; gap: 12px;
}
.float-dock a {
  width: 50px; height: 50px; border-radius: 14px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff; font-size: 11px; font-weight: 600; box-shadow: var(--shadow);
  transition: transform .2s; line-height: 1.2; text-align: center;
}
.float-dock a:hover { transform: translateY(-3px); }
.float-dock .f-phone { background: linear-gradient(135deg, var(--blue), var(--cyan)); }
.float-dock .f-chat { background: linear-gradient(135deg, var(--navy), var(--blue)); }
.float-dock .f-wx { background: #fff; padding: 0; overflow: hidden; cursor: pointer; }
.float-dock .f-icon { font-size: 18px; margin-bottom: 1px; }
.float-dock .f-wx-img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; display: block; }

/* 企业微信二维码弹层 */
.wx-pop {
  position: absolute; right: 64px; top: 0;
  display: none; flex-direction: column; align-items: center;
  background: #fff; border-radius: 12px; padding: 10px;
  box-shadow: 0 8px 30px rgba(15, 40, 90, .18);
}
.float-dock { position: fixed; }
.wx-pop.open { display: flex; }
.wx-pop img { width: 88px; height: 88px; border-radius: 6px; display: block; }
.wx-pop p { margin: 6px 0 0; font-size: 12px; font-weight: 600; color: var(--navy); white-space: nowrap; }
.wx-pop::after {
  content: ''; position: absolute; right: -6px; top: 24px;
  width: 12px; height: 12px; background: #fff;
  transform: rotate(45deg); border-radius: 2px;
}
@media (max-width: 600px) {
  .wx-pop { right: 60px; }
  .wx-pop img { width: 76px; height: 76px; }
}

/* 联系我们页面 - 企业微信二维码卡片 */
.wx-qr-card {
  display: flex; align-items: center; gap: 16px;
  margin-top: 26px; padding: 16px 18px;
  background: #f4f9ff; border: 1px solid #e3eefc; border-radius: 12px;
}
.wx-qr-card img { width: 88px; height: 88px; border-radius: 8px; display: block; }
.wx-qr-card .ci-label { font-size: 13px; }
.wx-qr-card .ci-value { font-size: 15px; }

/* ---------- 时间轴（服务流程） ---------- */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.timeline-item { position: relative; padding-top: 64px; text-align: center; }
.timeline-item::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; box-shadow: var(--shadow);
}
.timeline-item::after {
  content: ""; position: absolute; top: 23px; left: 50%; width: 100%; height: 2px;
  background: var(--border); z-index: -1;
}
.timeline-item:last-child::after { display: none; }
.timeline-item h4 { font-size: 16px; color: var(--navy); margin-bottom: 6px; }
.timeline-item p { font-size: 13.5px; color: var(--text-light); }

/* ---------- 应用领域图标墙 ---------- */
.icon-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.icon-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 22px; text-align: center; transition: all .25s;
}
.icon-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.icon-card .ic { font-size: 38px; margin-bottom: 14px; }
.icon-card h4 { font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.icon-card p { font-size: 13.5px; color: var(--text-light); }

/* ---------- 合作伙伴 / 客户 logo 墙 ---------- */
.logo-wall { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; align-items: center; }
.logo-wall-item {
  height: 90px; border: 1px solid var(--border); border-radius: var(--radius);
  background: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; color: var(--text-light);
  transition: all .2s;
}
.logo-wall-item:hover { color: var(--blue); border-color: var(--blue); }

/* ---------- FAQ 折叠 ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 14px; background: #fff; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 20px 24px; font-size: 16px; font-weight: 600; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-family: inherit;
}
.faq-q .plus { color: var(--blue); font-size: 22px; transition: transform .2s; flex: none; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 24px 22px; color: var(--text-light); font-size: 15px; }

/* ---------- 设备清单表格 ---------- */
.eq-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.eq-table th, .eq-table td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.eq-table thead th { background: var(--navy); color: #fff; font-weight: 600; }
.eq-table tbody tr:nth-child(even) { background: var(--bg-soft); }
.eq-table tbody tr:hover { background: rgba(27,95,217,.06); }
.eq-tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: rgba(27,95,217,.1); color: var(--blue); font-size: 12.5px; font-weight: 600; }

/* ---------- 案例卡片 ---------- */
.case-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; transition: all .25s; }
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.case-thumb { height: 180px; background: linear-gradient(135deg, #dfe9fb, #c6d8f5); position: relative; }
.case-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.case-thumb .case-cat { position: absolute; left: 14px; top: 14px; padding: 4px 12px; border-radius: 999px; background: rgba(11,42,91,.85); color: #fff; font-size: 12px; }
.case-body { padding: 22px; }
.case-body h4 { font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.case-body p { font-size: 14px; color: var(--text-light); margin-bottom: 14px; }
.case-meta { font-size: 12.5px; color: var(--text-light); display: flex; gap: 16px; }

/* 行业板块大卡 */
.industry-card { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; margin-bottom: 28px; }
.industry-card .ind-img { min-height: 240px; background: linear-gradient(135deg, var(--navy), var(--blue)); display: flex; align-items: center; justify-content: center; font-size: 56px; color: rgba(255,255,255,.85); }
.industry-card .ind-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.industry-card .process-list { list-style: none; padding: 0; margin: 0 0 16px; }
.industry-card .process-list li { position: relative; padding-left: 22px; margin-bottom: 8px; color: var(--text); }
.industry-card .process-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.industry-card .ind-text { padding: 38px 34px; }
.industry-card .ind-text h3 { font-size: 24px; color: var(--navy); margin-bottom: 12px; }
.industry-card .ind-text p { color: var(--text-light); margin-bottom: 16px; }
.industry-card .ind-text .tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- 响应式（新组件） ---------- */
@media (max-width: 992px) {
  .nav-search { display: none; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline-item::after { display: none; }
  .icon-wall { grid-template-columns: repeat(2, 1fr); }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .industry-card { grid-template-columns: 1fr; }
  .industry-card .ind-img { min-height: 160px; }
}
@media (max-width: 600px) {
  .timeline { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .float-dock { right: 16px; bottom: 70px; }
  .back-top { right: 16px; bottom: 16px; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 70px 0 90px; }
  .hero h1 { font-size: 34px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .logo-mark-img { height: 36px; }
  .logo-text { font-size: 19px; letter-spacing: 1px; }
  .page-hero h1 { font-size: 17px; }
}
