/* =========================================================
   INNOLINKS / INNVC 官网 - 前台样式
   简洁现代：白底 + 蓝色主色调
   ========================================================= */
:root {
  --blue: #1a6cf0;
  --blue-dark: #0f4fc0;
  --ink: #1c2333;
  --muted: #5b6472;
  --line: #e6e9ef;
  --bg-alt: #f5f7fb;
  --foot: #111827;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 40, 90, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Jost", "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 820px; }

/* ---------- 导航栏 ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 74px;
}
.brand img { height: 46px; }
.nav-menu {
  display: flex;
  gap: 26px;
  margin-left: auto;
  align-items: center;
}
.nav-menu a {
  color: var(--ink);
  font-weight: 500;
  font-size: 17px;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav-menu a:hover { color: var(--blue); border-color: var(--blue); }
.nav-social { display: flex; align-items: center; }
.soc {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue); color: #fff; font-weight: 700; font-size: 16px;
  transition: background .2s;
}
.soc:hover { background: var(--blue-dark); color: #fff; }
.soc-light { background: rgba(255,255,255,.12); color: #fff; }
.nav-toggle {
  display: none;
  background: none; border: 0;
  width: 44px; height: 44px;
  cursor: pointer;
  margin-left: auto;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- 轮播 ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg-alt); }
.hero-track { position: relative; }
.hero-slide { position: relative; display: none; }
.hero-slide.active { display: block; }
.hero-slide img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  display: block;
}
.hero-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 40px 46px;
  background: linear-gradient(180deg, rgba(10,20,40,0) 0%, rgba(10,20,40,.78) 100%);
  color: #fff;
  text-align: center;
}
.hero-caption h2 { margin: 0 0 6px; font-size: 30px; font-weight: 700; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.hero-caption p { margin: 0; font-size: 18px; opacity: .95; }
.hero-dots {
  position: absolute; bottom: 16px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 10px; z-index: 3;
}
.dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: rgba(255,255,255,.5); border: 0; cursor: pointer; padding: 0;
}
.dot.active { background: #fff; }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.85); color: var(--ink);
  font-size: 20px; cursor: pointer; z-index: 3;
  box-shadow: var(--shadow);
}
.hero-arrow:hover { background: #fff; color: var(--blue); }
.hero-arrow.prev { left: 18px; }
.hero-arrow.next { right: 18px; }

/* ---------- 通用区块 / 标题 ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-title {
  text-align: center;
  font-size: 34px;
  font-weight: 700;
  margin: 0 0 40px;
  letter-spacing: .5px;
}
.page-title { text-align: center; font-size: 38px; margin: 0 0 8px; }
.page-intro { text-align: center; color: var(--muted); font-size: 18px; margin: 0; }
.empty-block { text-align: center; color: var(--muted); padding: 20px 0; }

/* ---------- 产品卡片 ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(20,40,90,.14); }
.card-img { background: #fbfcfe; padding: 20px; }
.card-img img { width: 100%; aspect-ratio: 642/405; object-fit: contain; }
.card-body { padding: 6px 22px 24px; text-align: center; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin: 6px 0 8px; font-size: 19px; }
.card-body p { color: var(--muted); font-size: 15px; margin: 0 0 16px; flex: 1; }
.btn {
  display: inline-block;
  background: var(--blue); color: #fff;
  padding: 11px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 0; cursor: pointer;
  transition: background .2s;
}
.btn:hover { background: var(--blue-dark); color: #fff; }
.btn-lg { padding: 14px 40px; font-size: 16px; }

/* ---------- 联系页 ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.info-card {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 18px;
  background: #fff;
  box-shadow: var(--shadow);
}
.info-icon {
  width: 54px; height: 54px; margin: 0 auto 12px;
  border-radius: 50%;
  background: #eaf1ff; color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700;
}
.info-card h3 { margin: 0 0 6px; font-size: 17px; }
.info-card p { margin: 0; color: var(--muted); word-break: break-word; }
.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.topic-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 20px;
  text-align: center;
}
.topic-icon {
  width: 46px; height: 46px; margin: 0 auto 10px;
  border-radius: 12px; background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; text-transform: uppercase; font-size: 12px;
}
.topic-card h3 { margin: 0 0 6px; font-size: 17px; }
.topic-card p { margin: 0; color: var(--muted); font-size: 14px; }

/* FAQ */
.faq-list { border-top: 1px solid var(--line); }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
  padding: 14px 4px;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--blue); }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { color: var(--muted); padding: 0 4px 16px; }

/* 联系表单 */
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fld { margin-bottom: 16px; }
.fld label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; }
.fld input, .fld textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: #fbfcfe;
}
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.hp { position: absolute !important; left: -9999px !important; height: 0 !important; width: 0 !important; opacity: 0; }
.form-note { padding: 14px 18px; border-radius: 10px; margin-bottom: 18px; font-weight: 500; }
.form-note.ok { background: #e6f7ec; color: #147a3d; }
.form-note.err { background: #fdecec; color: #b3261e; }
.facebook-line { text-align: center; margin-top: 22px; color: var(--muted); }

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--foot);
  color: #cdd3dd;
  padding: 46px 0 34px;
  text-align: center;
}
.foot-links { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; margin-bottom: 18px; }
.foot-links a { color: #fff; }
.foot-links a:hover { color: #9db9ff; }
.foot-social { margin-bottom: 16px; }
.copyright { margin: 0; font-size: 14px; opacity: .8; }

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .info-grid, .topic-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none;
    position: absolute; top: 74px; left: 0; right: 0;
    background: #fff; flex-direction: column; gap: 0;
    padding: 8px 20px 16px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 12px 0; border-bottom: 1px solid var(--line); width: 100%; }
  .nav-menu a:last-child { border-bottom: 0; }
  .cards, .info-grid, .topic-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-caption h2 { font-size: 22px; }
  .hero-caption p { font-size: 15px; }
  .section { padding: 52px 0; }
  .section-title { font-size: 26px; }
}
