/* =========================================================
   深圳市米朗科技有限公司 - 官网样式
   MIRAN Sensors - Global Stylesheet
   ========================================================= */

:root {
  --primary: #0b5cd6;          /* 主色：工业蓝 */
  --primary-dark: #0a47a8;
  --primary-light: #eaf2ff;
  --accent: #ff7a00;           /* 强调色：橙 */
  --text: #1a1a1a;
  --text-muted: #5a6b7d;
  --bg: #ffffff;
  --bg-gray: #f5f7fa;
  --border: #e3e8ef;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(10, 40, 90, 0.08);
  --shadow-lg: 0 8px 30px rgba(10, 40, 90, 0.14);
  --maxw: 1200px;
}

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

html { scroll-behavior: smooth; }

/* 字体均为操作系统自带免费字体（PingFang SC/微软雅黑/Segoe UI/Noto Sans 等），
   无需购买商业授权，无版权风险。网站不加载任何付费 Web 字体。 */
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Microsoft YaHei UI", "Segoe UI", "Noto Sans CJK SC", "Source Han Sans SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- 顶部信息栏 ---------- */
.topbar {
  background: var(--primary-dark);
  color: #fff;
  font-size: 13px;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 6px;
  padding-bottom: 6px;
}
.topbar a { color: #d6e4ff; }
.topbar a:hover { color: #fff; }

/* ---------- 导航 ---------- */
.header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.header .container {
  display: flex;
  align-items: center;
}
.header .container.header-banner {
  justify-content: center;
  flex-direction: column;
  padding-top: 6px;
  padding-bottom: 6px;
}
.banner-welcome {
  font-size: 14px;
  color: #000;
  font-weight: 700;
  text-align: left;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 6px;
  padding-left: 28px;
  letter-spacing: 0;
  box-sizing: border-box;
}
/* HTML 版横幅：logo + 资质荣誉文字 */
.banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  width: 100%;
  max-width: 1200px;
}
.banner-logo { display: block; line-height: 0; flex-shrink: 0; }
.banner-honors {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: left;
  font-size: 16.5px;
  line-height: 1.45;
}
.banner-honors .bh-red { color: #d50000; font-weight: 600; }
.banner-honors .bh-blue { color: #0b5cd6; font-weight: 700; letter-spacing: 1px; margin-left: 10px; }
@media (max-width: 992px) {
  .banner-content { justify-content: center; }
  .banner-honors { display: none; }
}
.header .container.header-nav {
  justify-content: center;
  height: 60px;
  position: relative;
  border-top: 1px solid rgba(255,255,255,.25);
  background: linear-gradient(180deg, #1666e6 0%, #0b5cd6 60%, #0a47a8 100%);
  box-shadow: 0 3px 10px rgba(10,71,168,.18);
}
.banner-link {
  display: block;
  line-height: 0;
}
.banner-img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-dark);
  text-decoration: none;
}
.logo-cn { font-size: 36px; font-weight: 800; color: #1a1a1a; letter-spacing: 2px; line-height: 1; }
.logo-en { font-size: 14px; font-weight: 700; color: var(--primary); align-self: flex-end; margin-bottom: 3px; letter-spacing: 3px; }
.logo .logo-badge {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700;
}
.logo small { display: block; font-size: 12px; color: var(--text-muted); font-weight: 400; }

.nav { display: flex; gap: 0; height: 60px; }
.nav > li { position: relative; border-right: 1px solid rgba(255,255,255,.18); }
.nav > li:first-child { border-left: 1px solid rgba(255,255,255,.18); }
.nav > li > a {
  display: block;
  padding: 0 28px;
  line-height: 60px;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 2px;
  text-shadow: 0 1px 2px rgba(0,0,0,.10);
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.nav > li > a:hover {
  color: #fff;
  background: linear-gradient(180deg, #00469f, #003a86);
  box-shadow: inset 0 3px 8px rgba(0,0,0,.18);
}
/* 当前页：仅底部亮条提示，不整块变深（鼠标悬停才变深） */
.nav > li > a.active {
  color: #fff;
  background: transparent;
  box-shadow: inset 0 -3px 0 #ffd24d;
}
.nav > li > a.active:hover {
  background: linear-gradient(180deg, #00469f, #003a86);
  box-shadow: inset 0 3px 8px rgba(0,0,0,.18);
}
/* 联系我们 = 橙色 CTA 胶囊按钮（导航最后一项） */
.nav > li:last-child { border-right: none; }
.nav > li:last-child > a {
  margin: 10px 4px 10px 20px;
  padding: 0 32px;
  line-height: 40px;
  height: 40px;
  border-radius: 22px;
  background: linear-gradient(135deg, #ff9500, #ff6a00);
  box-shadow: 0 3px 12px rgba(255,106,0,.35);
  font-weight: 700;
  text-shadow: none;
}
.nav > li:last-child > a:hover,
.nav > li:last-child > a.active {
  background: linear-gradient(135deg, #ffa726, #ff7a00);
  box-shadow: 0 5px 16px rgba(255,106,0,.45);
  transform: translateY(-1px);
}
.nav .has-sub::after { content: "▾"; margin-left: 6px; font-size: 12px; color: #fff; opacity: .9; }

/* 下拉产品菜单 */
.dropdown {
  position: absolute;
  top: 100%; left: 0;
  min-width: 250px;
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 16px 36px rgba(10,40,90,.20);
  padding: 6px 0;
  display: none;
  z-index: 200;
}
.nav li:hover .dropdown { display: block; }
.dropdown a {
  display: block;
  padding: 10px 20px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
  transition: background .15s, color .15s;
}
.dropdown a:hover,
.dropdown a.active { background: var(--primary-light); color: var(--primary); }
.dropdown a.active { font-weight: 600; }

/* 30分类三列下拉菜单（挂在导航条下，相对整条导航居中，避免超出屏幕） */
.dropdown-wide {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  width: min(960px, calc(100vw - 60px));
  column-count: 3;
  column-gap: 6px;
  padding: 14px 12px;
  border-radius: 0 0 12px 12px;
}
.dropdown-wide.open { display: block; }
.dropdown-wide a {
  white-space: nowrap;
  padding: 10px 14px;
  border-radius: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.dropdown-wide a:hover,
.dropdown-wide a.active { background: var(--primary-light); color: var(--primary); }
.dropdown-wide a.active { font-weight: 600; }

.nav-toggle { display: none; background: none; border: none; font-size: 26px; cursor: pointer; color: #fff; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); z-index: 5; padding: 4px 8px; }

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(120deg, rgba(11, 92, 214, 0.95), rgba(10, 71, 168, 0.92)),
    url('../assets/hero-bg.jpg') center/cover no-repeat;
  color: #fff;
  padding: 80px 0 70px;
}
.hero h1 { font-size: 40px; line-height: 1.3; margin-bottom: 16px; }
.hero p { font-size: 18px; opacity: 0.95; max-width: 720px; margin-bottom: 26px; }
.hero .btn-group { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all .2s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #e56e00; color: #fff; }
.btn-outline { background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.5); }
.btn-outline:hover { background: rgba(255,255,255,.3); color: #fff; }

/* ---------- 通用 section ---------- */
.section { padding: 64px 0; }
.section-gray { background: var(--bg-gray); }
.section-title { font-size: 30px; margin-bottom: 8px; text-align: center; }
.section-sub { text-align: center; color: #44566b; margin-bottom: 40px; font-weight: 500; }

/* ---------- 产品分类卡片 ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: all .25s;
  display: block;
  color: var(--text);
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.cat-card .cat-icon {
  width: 52px; height: 52px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: 14px;
}
.cat-card .cat-img {
  width: 100%; height: 130px;
  background: #fafbfd;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; overflow: hidden;
}
.cat-card .cat-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cat-card h3 { font-size: 18px; margin-bottom: 6px; color: var(--primary-dark); }
.cat-card p { font-size: 13px; color: var(--text-muted); }
.cat-card .cat-count { font-size: 12px; color: var(--accent); }

/* ---------- 产品列表（型号卡片） ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .25s;
  display: flex;
  flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.product-card .thumb {
  height: 170px;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
  color: var(--primary);
  border-bottom: 1px solid var(--border);
  padding: 8px;
}
.product-card .thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.product-card .thumb .noimg { font-size: 30px; opacity: .4; }
.product-card .body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.product-card h3 { font-size: 17px; margin-bottom: 8px; min-height: 2.6em; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card h3 a { color: var(--text); }
.product-card h3 a:hover { color: var(--primary); }
.product-card p { font-size: 13px; color: var(--text-muted); flex: 1; }
.product-card .meta { margin-top: 12px; font-size: 12px; color: var(--accent); }

/* ---------- 优势 ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.adv-item { text-align: center; padding: 24px; }
.adv-item .adv-icon { font-size: 20px; font-weight: 800; margin-bottom: 12px; color: #fff; width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); display: flex; align-items: center; justify-content: center; letter-spacing: 0; }
.adv-item h3 { font-size: 17px; margin-bottom: 6px; }
.adv-item p { font-size: 13px; color: var(--text-muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 12px;
  padding: 16px 20px;
}
.faq summary { font-weight: 600; cursor: pointer; color: var(--primary-dark); }
.faq details p { margin-top: 10px; color: var(--text-muted); }

/* ---------- 面包屑 ---------- */
.breadcrumb {
  background: var(--bg-gray);
  font-size: 13px;
  padding: 12px 0;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary); text-decoration: underline; }
.breadcrumb span { color: var(--primary); font-weight: 600; }

/* ---------- 页面头部 ---------- */
.page-head {
  background: linear-gradient(120deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 48px 0;
}
.page-head h1 { font-size: 32px; margin-bottom: 8px; }
.page-head p { opacity: .9; }

/* ---------- 关于 / 联系 ---------- */
.content-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.content-grid > * { min-width: 0; }
.content h2 { font-size: 24px; margin: 28px 0 12px; color: var(--primary-dark); }
.content h3 { font-size: 19px; margin: 20px 0 8px; color: var(--primary-dark); }
.content p { margin-bottom: 14px; color: #333; }
.content ul { margin: 0 0 14px 20px; list-style: disc; }
.content li { margin-bottom: 6px; }

.side-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}
.side-card h3 { font-size: 17px; margin-bottom: 14px; color: var(--primary-dark); border-left: 4px solid var(--primary); padding-left: 10px; }

.contact-item { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.contact-item .ic { font-size: 20px; flex-shrink: 0; }
.contact-item .label { font-size: 12px; color: var(--text-muted); }
.contact-item .val { font-weight: 500; }

/* ---------- 在线客服悬浮 ---------- */
.float-bar {
  position: fixed;
  right: 16px;
  bottom: 120px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.float-item {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  position: relative;
  cursor: pointer;
  text-align: center;
}
.float-item .tip {
  position: absolute;
  right: 62px;
  top: 50%;
  transform: translateY(-50%);
  background: #333;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  white-space: nowrap;
  display: none;
}
.float-item:hover .tip { display: block; }
.float-qq { background: #12b7f5; }
.float-wecom { background: #07c160; }
/* 返回顶部：品牌蓝渐变 + 白色粗箭头，悬停加深上浮 */
.float-top {
  width: 52px; height: 52px; padding: 0; border-radius: 50%;
  background: linear-gradient(135deg, #1666e6, #0a47a8);
  box-shadow: 0 4px 12px rgba(10,71,168,.40);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  transition: transform .2s, box-shadow .2s, filter .2s;
}
.float-top:hover {
  filter: brightness(1.15);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(10,71,168,.5);
}

.float-wecom .qrcode {
  position: absolute;
  right: 62px;
  bottom: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  box-shadow: var(--shadow-lg);
  display: none;
  width: 180px;
}
.float-wecom:hover .qrcode { display: block; }
.float-wecom .qrcode img { width: 100%; }

/* ---------- footer ---------- */
.footer {
  background: #ffffff;
  color: #5a6b7d;
  padding: 48px 0 0;
  font-size: 14px;
  border-top: 1px solid #e3e8ef;
}
.footer .container { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 30px; }
.footer h4 { color: #1a1a1a; margin-bottom: 16px; font-size: 16px; }
.footer a { color: #5a6b7d; }
.footer a:hover { color: var(--primary); }
.footer li { margin-bottom: 8px; }
.footer .logo { color: #1a1a1a; }
.footer-bottom {
  margin-top: 36px;
  border-top: 1px solid #e3e8ef;
  padding: 18px 0;
  text-align: center;
  font-size: 12px;
  color: #8a97a5;
}

/* ---------- 产品详情 / 型号参数 ---------- */
.spec-table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 14px; }
.spec-table th, .spec-table td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; }
.spec-table th { background: var(--primary-light); color: var(--primary-dark); font-weight: 600; }
.spec-table tr:nth-child(even) { background: var(--bg-gray); }
.model-list { margin: 16px 0; }
.model-list li { padding: 8px 0; border-bottom: 1px dashed var(--border); display: flex; justify-content: space-between; }
.model-list .tag { color: var(--accent); font-size: 12px; }
.cta-box { background: var(--primary-light); border: 1px solid #cfe0ff; border-radius: var(--radius); padding: 28px; text-align: center; margin-top: 32px; }
.cta-box h3 { color: var(--primary-dark); margin-bottom: 10px; }
.cta-box p { color: var(--text-muted); margin-bottom: 18px; }

/* 产品图 / 尺寸图展示区 */
.product-gallery { display: flex; gap: 16px; margin: 20px 0; flex-wrap: wrap; }
.product-gallery figure { flex: 1; min-width: 260px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--bg-gray); margin: 0; }
.product-gallery img { max-width: 100%; max-height: 460px; width: auto; height: auto; display: block; margin: 0 auto; object-fit: contain; }
.product-gallery figcaption { padding: 8px 12px; text-align: center; font-size: 13px; color: var(--text-muted); background: #fff; }
.product-gallery:empty { display: none; }

/* 单个型号卡片 */
.model-block { border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 24px; background: #fff; }
.model-block h3 { color: var(--primary-dark); margin-bottom: 12px; font-size: 18px; }
.model-block .spec-table { margin-bottom: 12px; }

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .footer .container { grid-template-columns: 1fr 1fr; }
  .content-grid { grid-template-columns: 1fr; }
}
/* 导航断点：7 项导航总宽约 900px，低于 992px 转汉堡菜单，避免溢出 */
@media (max-width: 992px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    height: auto;
    border-top: 3px solid var(--primary);
    box-shadow: var(--shadow-lg);
    z-index: 300;
  }
  .nav.open { display: flex; }
  .nav > li, .nav > li:first-child { border: none; border-bottom: 1px solid var(--border); }
  .nav > li > a {
    padding: 0 22px;
    line-height: 50px;
    color: var(--text);
    text-shadow: none;
    font-size: 16px;
  }
  .nav > li > a:hover,
  .nav > li > a.active { background: var(--primary-light); color: var(--primary); box-shadow: none; }
  .nav > li:last-child { border-bottom: none; }
  .nav > li:last-child > a {
    margin: 10px 14px;
    padding: 0 20px;
    line-height: 40px;
    height: 40px;
    color: #fff;
  }
  .nav .has-sub::after { color: var(--primary); }
  .dropdown { position: static; box-shadow: none; border: none; padding-left: 18px; border-radius: 0; }
  .dropdown.open { display: block; }
  /* 30 项大菜单小屏不展开，点击产品中心直接进入分类页 */
  .dropdown-wide { display: none !important; }
}
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr !important; }
  .spec-table { min-width: 560px; font-size: 12.5px; }
  .spec-table th, .spec-table td { padding: 8px 6px; }
  .hero h1 { font-size: 28px; }
  .product-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .footer .container { grid-template-columns: 1fr; }
  .topbar .container { flex-direction: column; gap: 2px; }
  /* 手机端：正文容器右缩，避免被右侧悬浮按钮（企微/返回顶部）遮挡文字与图片 */
  main .container, .section > .container { padding-right: 70px; }
  /* 手机端悬浮按钮略缩小，减少遮挡面 */
  .float-bar { right: 10px; bottom: 100px; gap: 10px; }
  .float-item { width: 46px; height: 46px; font-size: 13px; }
  .float-top { width: 46px; height: 46px; font-size: 10px; }
}

/* 场景卡片：div 结构 + 独立链接 */
.cat-card .cat-main { display: block; color: var(--text); }
.cat-card .cat-main:hover { color: var(--primary); }
.cat-card .cat-link {
  display: inline-block;
  font-size: 12px;
  color: var(--accent);
  margin-top: 8px;
  padding: 2px 0;
}
.cat-card .cat-link:hover { text-decoration: underline; }

/* ---------- 行业方案：卡片产品标签 ---------- */
.cat-card .cat-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 2px 18px 6px;
}
.cat-card .cat-tags a {
  font-size: 12px;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: 4px;
  padding: 2px 8px;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.cat-card .cat-tags a:hover { background: var(--primary); color: #fff; }
.section-more {
  display: inline-block;
  margin: -8px 0 14px;
  font-size: 14px;
  color: var(--primary);
}
.section-more:hover { text-decoration: underline; }

/* ---------- 行业方案总览页 ---------- */
.ind-chips {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center;
}
.ind-chips a {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  border: 1px solid #d4e4ff;
  border-radius: 20px;
  padding: 7px 16px;
  font-size: 14px;
  transition: all .2s;
}
.ind-chips a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.ind-block {
  padding: 34px 0 26px;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 80px;
}
.ind-head { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.ind-no {
  font-size: 30px; font-weight: 800; color: #c9d8ee;
  font-family: Georgia, serif; line-height: 1;
}
.ind-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; flex-shrink: 0;
}
.ind-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.ind-head h2 { font-size: 24px; color: var(--primary-dark); }
.ind-head p { color: var(--text-muted); font-size: 14px; }
.ind-detail { color: #333; font-size: 15px; line-height: 1.9; margin-bottom: 16px; }
.ind-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.ind-scenes h3, .ind-prods h3 {
  font-size: 15px; color: var(--primary-dark);
  margin-bottom: 10px;
  border-left: 3px solid var(--accent);
  padding-left: 8px;
}
.ind-scenes ul { list-style: none; }
.ind-scenes li {
  padding: 5px 0 5px 20px; position: relative;
  font-size: 14.5px; color: #333; line-height: 1.7;
}
.ind-scenes li::before {
  content: "▸"; position: absolute; left: 2px; color: var(--primary);
}
.tag-wrap { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tag {
  display: inline-block;
  background: #fff; color: var(--primary);
  border: 1px solid #bcd6f5;
  border-radius: 6px;
  padding: 5px 12px; font-size: 13px;
  transition: all .15s;
}
.tag:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.ind-cta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.btn-sm { padding: 7px 16px; font-size: 14px; border-radius: 6px; }
@media (max-width: 768px) {
  .ind-cols { grid-template-columns: 1fr; }
  .ind-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.ind-head h2 { font-size: 20px; }
}

/* ---------- 页脚文字商标（矢量文字，绝对清晰） ---------- */
.footer-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 16px;
}
.footer-brand .fb-cn {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 2px;
  line-height: 1;
}
.footer-brand .fb-en {
  font-size: 18px;
  font-weight: 700;
  color: #5aa7ff;
  letter-spacing: 4px;
  line-height: 1;
}
.footer-brand .fb-en sup { font-size: 11px; letter-spacing: 0; }
.footer-brand:hover .fb-cn { color: #fff; }
.footer-brand:hover .fb-en { color: #8ec2ff; }

/* ---------- 应用案例 ---------- */
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.case-card {
  display: flex; gap: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  transition: box-shadow .2s, transform .2s;
  color: var(--text);
}
.case-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); color: var(--primary); }
.case-thumb { width: 132px; height: 92px; flex-shrink: 0; border-radius: 8px; overflow: hidden; background: var(--bg-gray); }
.case-thumb img { width: 100%; height: 100%; object-fit: cover; }
.case-info { min-width: 0; }
.case-info h3 { font-size: 15.5px; color: var(--primary-dark); line-height: 1.5; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.case-info p { font-size: 13px; color: var(--text-muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 6px; }
.case-date { font-size: 12px; color: var(--accent); }
.case-body img { max-width: 100%; height: auto; margin: 10px auto; display: block; border-radius: 6px; }
.case-body p { margin: 10px 0; }
.case-body, .case-body p, .case-body div, .case-body li, .content p {
  overflow-wrap: anywhere; word-break: break-word; }
.case-body .case-table { width: 100%; border-collapse: collapse; margin: 14px 0; }
.case-body .case-table td, .case-body .case-table th { border: 1px solid var(--border); padding: 8px 10px; font-size: 14px; }
@media (max-width: 768px) {
  .case-grid { grid-template-columns: 1fr; }
}
.case-thumb:empty::after { content: "🔧"; font-size: 30px; display: flex; align-items: center; justify-content: center; height: 100%; color: #b8c9dd; }

/* 顶部横幅：官网原版横幅图，整图自适应 */
.header .container.header-banner .banner-link { display: block; line-height: 0; }
.header .container.header-banner .banner-img {
  display: block;
  max-width: 100%;
  height: auto;
  width: 1100px;
  margin: 0 auto;
}

/* 同系列产品切换导航 */
.adj-nav { display: flex; gap: 14px; max-width: var(--maxw); margin: 26px auto 8px; padding: 0 20px; }
.adj-nav a { flex: 1; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 12px 16px; text-decoration: none; display: flex; flex-direction: column; gap: 3px; transition: all .2s; min-width: 0; }
.adj-nav a:hover { border-color: var(--primary); box-shadow: 0 4px 14px rgba(0,60,140,.12); transform: translateY(-2px); }
.adj-nav .adj-dir { font-size: 12px; color: var(--accent); font-weight: 700; }
.adj-nav .adj-name { font-size: 13.5px; color: var(--text); line-height: 1.45; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adj-nav .adj-up { background: linear-gradient(135deg, #eef4ff, #fff); }
@media (max-width: 640px) { .adj-nav { flex-direction: column; } }

@media (max-width: 640px) {
  .hero { padding: 46px 0 40px; }
  .hero h1 { font-size: 26px; }
  .hero p { font-size: 14.5px; max-width: none; }
  .hero .btn-group { justify-content: flex-start; }
  .hero .btn-group .btn { padding: 10px 16px; font-size: 14px; }
}

/* ---------- 图片点击放大（灯箱，效果同官网 miran-tech.cn） ---------- */
main img { cursor: zoom-in; }
main a img { cursor: pointer; }
.img-lightbox {
  position: fixed; inset: 0; background: rgba(0, 0, 0, .88);
  display: none; align-items: center; justify-content: center;
  z-index: 10000; padding: 24px; cursor: zoom-out;
  -webkit-tap-highlight-color: transparent;
}
.img-lightbox.open { display: flex; }
.img-lightbox img {
  max-width: 94vw; max-height: 92vh; width: auto; height: auto;
  border-radius: 6px; background: #fff;
  box-shadow: 0 12px 48px rgba(0, 0, 0, .5); cursor: zoom-out;
}
@media (max-width: 992px) {
  .img-lightbox { padding: 12px; }
  .img-lightbox img { max-width: 96vw; max-height: 88vh; }
}

/* 企业微信二维码：点击展开状态（移动端） */
.float-wecom.show .qrcode { display: block; }
