/* ============================================================
   鹰慧物联 · 企业官网模板  styles
   深蓝科技风 / 响应式 / 零外部依赖
   ============================================================ */

:root {
  --c-primary: #1a4fb4;
  --c-primary-dark: #123a8a;
  --c-primary-light: #2f6bdd;
  --c-accent: #00c2c7;
  --c-accent-2: #16d0a0;
  --c-ink: #0f172a;
  --c-text: #334155;
  --c-muted: #64748b;
  --c-line: #e2e8f0;
  --c-bg: #ffffff;
  --c-bg-soft: #f5f8ff;
  --c-bg-dark: #0b1b3f;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, .06);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, .10);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, .16);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1200px;
  --header-h: 72px;
  --font: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px; font-size: 15px; font-weight: 600;
  cursor: pointer; border: 1.5px solid transparent; transition: .25s ease;
  white-space: nowrap;
}
.btn-primary { background: linear-gradient(135deg, var(--c-primary-light), var(--c-primary)); color: #fff; box-shadow: 0 8px 20px rgba(26, 79, 180, .35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(26, 79, 180, .45); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.18); }
.btn-outline { background: #fff; color: var(--c-primary); border-color: var(--c-primary); }
.btn-outline:hover { background: var(--c-primary); color: #fff; }
.btn-light { background: var(--c-bg-soft); color: var(--c-primary); }
.btn-light:hover { background: #e9f0ff; }

/* ---------------- Header ---------------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; height: var(--header-h);
  background: rgba(255,255,255,.9); backdrop-filter: blur(12px);
  z-index: 100; border-bottom: 1px solid transparent; transition: .3s;
}
.header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--c-line); }
.header .inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--c-ink); font-size: 19px; }
.logo .mark {
  width: 40px; height: 40px; border-radius: 11px;
  background: linear-gradient(135deg, var(--c-primary-light), var(--c-accent));
  display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-sm);
}
.logo .sub { font-size: 11px; font-weight: 500; color: var(--c-muted); letter-spacing: 1px; display: block; margin-top: -2px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 16px; font-size: 15px; font-weight: 500; color: var(--c-ink);
  border-radius: 8px; transition: .2s; position: relative;
}
.nav a:hover, .nav a.active { color: var(--c-primary); background: var(--c-bg-soft); }
.nav .btn { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--c-ink); margin: 5px 0; transition: .3s; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; padding: calc(var(--header-h) + 90px) 0 90px;
  background: radial-gradient(1200px 600px at 75% -10%, rgba(0,194,199,.25), transparent 60%),
              radial-gradient(900px 500px at 10% 10%, rgba(47,107,221,.35), transparent 55%),
              linear-gradient(160deg, #0a1733 0%, #0b1b3f 55%, #0e2a5e 100%);
  color: #fff; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 46px 46px; mask: radial-gradient(circle at 50% 30%, #000, transparent 75%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: 1px;
  color: var(--c-accent); background: rgba(0,194,199,.12); padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgba(0,194,199,.3); margin-bottom: 22px;
}
.hero h1 { font-size: clamp(30px, 4vw, 50px); line-height: 1.2; font-weight: 800; letter-spacing: -.5px; }
.hero h1 .hl { background: linear-gradient(120deg, #6ad5ff, var(--c-accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 17px; color: rgba(255,255,255,.78); margin: 22px 0 32px; max-width: 520px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .stats { display: flex; gap: 36px; margin-top: 46px; }
.hero .stats .num { font-size: 30px; font-weight: 800; color: #fff; }
.hero .stats .lbl { font-size: 13px; color: rgba(255,255,255,.6); }

/* hero visual */
.hero-visual { position: relative; }
.hero-card {
  background: linear-gradient(160deg, rgba(255,255,255,.10), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.15); border-radius: 20px; padding: 22px;
  backdrop-filter: blur(8px); box-shadow: var(--shadow-lg);
}
.hero-card .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.hero-card .top .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c-accent-2); box-shadow: 0 0 12px var(--c-accent-2); }
.hero-card .top span { font-size: 12px; color: rgba(255,255,255,.7); }
.eq { display: flex; align-items: flex-end; gap: 6px; height: 70px; margin: 6px 0 18px; }
.eq i { flex: 1; background: linear-gradient(180deg, var(--c-accent), var(--c-primary-light)); border-radius: 4px; opacity: .85; animation: eq 1.4s ease-in-out infinite; }
.eq i:nth-child(2){animation-delay:.1s}.eq i:nth-child(3){animation-delay:.2s}.eq i:nth-child(4){animation-delay:.3s}.eq i:nth-child(5){animation-delay:.15s}.eq i:nth-child(6){animation-delay:.25s}.eq i:nth-child(7){animation-delay:.05s}
@keyframes eq { 0%,100%{height:20%} 50%{height:100%} }
.mini-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.mini-grid .cell { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; padding: 12px; }
.mini-grid .cell b { display: block; color: #fff; font-size: 16px; }
.mini-grid .cell small { color: rgba(255,255,255,.6); font-size: 11px; }

/* ---------------- Section general ---------------- */
.section { padding: 88px 0; }
.section.soft { background: var(--c-bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.section-head .tag { color: var(--c-primary); font-weight: 700; letter-spacing: 2px; font-size: 13px; text-transform: uppercase; }
.section-head h2 { font-size: clamp(26px, 3vw, 38px); color: var(--c-ink); font-weight: 800; margin: 12px 0 14px; letter-spacing: -.5px; }
.section-head p { color: var(--c-muted); font-size: 16px; }

/* ---------------- Cards grid ---------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 30px 26px; transition: .3s; position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card .ic {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--c-bg-soft), #e9f0ff); color: var(--c-primary); margin-bottom: 18px;
}
.card h3 { font-size: 19px; color: var(--c-ink); margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--c-muted); }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--c-primary); font-weight: 600; font-size: 14px; }
.card .more svg { transition: .25s; }
.card:hover .more svg { transform: translateX(4px); }

/* ---------------- Product showcase ---------------- */
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.product {
  display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: center;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 24px;
  transition: .3s;
}
.product:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: transparent; }
.product .thumb { width: 120px; height: 120px; border-radius: 14px; background: linear-gradient(135deg, #eef3ff, #dbe7ff); display: grid; place-items: center; color: var(--c-primary); }
.product h3 { font-size: 18px; color: var(--c-ink); }
.product .spec { font-size: 13.5px; color: var(--c-muted); margin: 8px 0; }
.product .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.product .tags span { font-size: 12px; background: var(--c-bg-soft); color: var(--c-primary); padding: 4px 10px; border-radius: 999px; }

/* ---------------- About band ---------------- */
.about-band { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-band .visual { position: relative; border-radius: 20px; min-height: 360px; background: linear-gradient(150deg, var(--c-primary), var(--c-accent)); overflow: hidden; }
.about-band .visual::before { content:""; 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:38px 38px; }
.about-band .visual .float { position: absolute; background: rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.25); border-radius: 14px; padding: 16px 18px; color:#fff; backdrop-filter: blur(4px); }
.about-band .visual .f1 { top: 26px; left: 26px; }
.about-band .visual .f2 { bottom: 30px; right: 26px; }
.about-band .visual .f3 { bottom: 30px; left: 26px; }
.about-band .visual .float b { font-size: 22px; display:block; }
.about-band .visual .float small { opacity: .85; font-size: 12px; }
.about-copy h2 { font-size: clamp(24px,3vw,34px); color: var(--c-ink); font-weight: 800; margin-bottom: 16px; }
.about-copy p { color: var(--c-muted); margin-bottom: 14px; }
.about-copy .hl-list { display: grid; gap: 12px; margin: 22px 0; }
.about-copy .hl-list li { display: flex; gap: 12px; align-items: flex-start; }
.about-copy .hl-list .ck { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--c-bg-soft); color: var(--c-primary); display: grid; place-items: center; margin-top: 2px; }

/* ---------------- News ---------------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; transition: .3s; display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.news-card .cover { height: 168px; background: linear-gradient(135deg, var(--c-primary), var(--c-accent)); position: relative; overflow: hidden; }
.news-card .cover::after { content:""; position:absolute; inset:0; background-image: linear-gradient(rgba(255,255,255,.10) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.10) 1px,transparent 1px); background-size:30px 30px; }
.news-card .cover .cat { position: absolute; left: 16px; top: 16px; background: rgba(255,255,255,.9); color: var(--c-primary); font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; z-index: 2; }
.news-card .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.news-card .date { font-size: 13px; color: var(--c-muted); margin-bottom: 8px; }
.news-card h3 { font-size: 17px; color: var(--c-ink); line-height: 1.5; margin-bottom: 10px; transition: .2s; }
.news-card:hover h3 { color: var(--c-primary); }
.news-card p { font-size: 14px; color: var(--c-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card .more { margin-top: auto; padding-top: 14px; color: var(--c-primary); font-weight: 600; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; }

/* ---------------- CTA band ---------------- */
.cta-band { background: linear-gradient(135deg, var(--c-primary-dark), var(--c-primary)); color: #fff; border-radius: 24px; padding: 54px 48px; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content:""; position:absolute; width: 380px; height: 380px; border-radius: 50%; background: rgba(255,255,255,.08); top: -120px; right: -80px; }
.cta-band::after { content:""; position:absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(0,194,199,.18); bottom: -100px; left: -60px; }
.cta-band .inner { position: relative; z-index: 2; }
.cta-band h2 { font-size: clamp(24px,3vw,34px); font-weight: 800; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.82); margin-bottom: 26px; }
.cta-band .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------------- Footer ---------------- */
.footer { background: var(--c-bg-dark); color: rgba(255,255,255,.72); padding: 64px 0 26px; }
.footer .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .logo { color: #fff; margin-bottom: 16px; }
.footer .col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer .col a, .footer .col p { display: block; font-size: 14px; color: rgba(255,255,255,.7); margin-bottom: 10px; transition: .2s; }
.footer .col a:hover { color: var(--c-accent); padding-left: 4px; }
.footer .bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 22px; font-size: 13px; color: rgba(255,255,255,.55); }
.footer .bottom .icp-link { color: rgba(255,255,255,.55); text-decoration: none; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.footer .bottom .icp-link:hover { color: #fff; border-bottom-color: rgba(255,255,255,.6); }

/* ---------------- Breadcrumb ---------------- */
.page-hero { background: linear-gradient(150deg, #0b1b3f, #122e63); color: #fff; padding: calc(var(--header-h) + 70px) 0 56px; position: relative; overflow: hidden; }
.page-hero::after { content:""; position:absolute; inset:0; background-image: linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px); background-size:42px 42px; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(28px,4vw,42px); font-weight: 800; }
.page-hero .crumb { font-size: 14px; color: rgba(255,255,255,.65); margin-bottom: 14px; }
.page-hero .crumb a:hover { color: var(--c-accent); }
.page-hero p { color: rgba(255,255,255,.78); margin-top: 12px; max-width: 640px; }

/* ---------------- Detail / list layout ---------------- */
.split { display: grid; grid-template-columns: 280px 1fr; gap: 44px; align-items: start; }
.sidebar { position: sticky; top: calc(var(--header-h) + 20px); }
.sidebar .box { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 22px; }
.sidebar .box h4 { font-size: 15px; color: var(--c-ink); margin-bottom: 14px; }
.sidebar .box a { display: block; padding: 10px 14px; border-radius: 10px; font-size: 14.5px; color: var(--c-text); transition: .2s; }
.sidebar .box a:hover, .sidebar .box a.active { background: var(--c-bg-soft); color: var(--c-primary); font-weight: 600; }

.content h2 { font-size: 26px; color: var(--c-ink); margin: 8px 0 18px; }
.content h3 { font-size: 19px; color: var(--c-ink); margin: 26px 0 12px; }
.content p { color: var(--c-text); margin-bottom: 14px; }
.content ul.feat { display: grid; gap: 10px; margin: 14px 0; }
.content ul.feat li { display: flex; gap: 10px; align-items: flex-start; color: var(--c-text); }
.content ul.feat .ck { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--c-bg-soft); color: var(--c-primary); display: grid; place-items: center; margin-top: 3px; }
.content .prod-block, .content .case-block, .content .news-block { padding: 8px 0 32px; border-bottom: 1px solid var(--c-line); margin-bottom: 32px; scroll-margin-top: calc(var(--header-h) + 24px); }
.content .prod-block:last-child, .content .case-block:last-child, .content .news-block:last-child { border-bottom: none; margin-bottom: 0; }
.content .prod-block h2, .content .case-block h2, .content .news-block h2 { margin-top: 10px; }
.content .cat-tag { display: inline-block; background: var(--c-bg-soft); color: var(--c-primary); font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 999px; margin-bottom: 4px; }
.content .summary { font-size: 15.5px; color: var(--c-text); margin: 4px 0 16px; }

/* ---------------- 案例中心 ---------------- */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 26px; transition: .25s; }
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(26,79,180,.3); }
.case-top { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.c-ind { background: var(--c-bg-soft); color: var(--c-primary); font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.c-tag { font-size: 12.5px; color: var(--c-muted); }
.case h3 { font-size: 18px; color: var(--c-ink); margin-bottom: 10px; }
.case p { font-size: 14px; color: var(--c-text); margin-bottom: 12px; }
.case .feat { display: grid; gap: 8px; margin: 0; }

.spec-table { width: 100%; border-collapse: collapse; margin: 18px 0; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-line); }
.spec-table th, .spec-table td { text-align: left; padding: 14px 18px; font-size: 14.5px; border-bottom: 1px solid var(--c-line); }
.spec-table th { background: var(--c-bg-soft); color: var(--c-ink); width: 180px; font-weight: 600; }
.spec-table tr:last-child td, .spec-table tr:last-child th { border-bottom: none; }

/* ---------------- Animations ---------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 460px; }
  .cards, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .cases { grid-template-columns: repeat(2, 1fr); }
  .about-band, .split { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .products { grid-template-columns: 1fr; }
  .footer .top { grid-template-columns: 1fr 1fr; }
  .footer .col .qr-mini { position: static; transform: none; margin: 12px auto 0; }
}
@media (max-width: 720px) {
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 16px; gap: 4px; box-shadow: var(--shadow-md); transform: translateY(-130%); transition: .3s; border-top: 1px solid var(--c-line); }
  .nav.open { transform: none; }
  .nav a { padding: 12px 14px; }
  .nav .btn { margin: 8px 0 0; text-align: center; justify-content: center; }
  .nav-toggle { display: block; }
  .cards, .news-grid { grid-template-columns: 1fr; }
  .cases { grid-template-columns: 1fr; }
  .hero .stats { gap: 22px; flex-wrap: wrap; }
  .section { padding: 60px 0; }
  .footer .top { grid-template-columns: 1fr; }
  .footer .col .qr-mini { position: static; transform: none; margin: 12px auto 0; }
  .product { grid-template-columns: 90px 1fr; }
  .product .thumb { width: 90px; height: 90px; }
  .cta-band { padding: 40px 24px; }
  .container { padding: 0 16px; }
  .hero { padding: 64px 0 44px; }
  .hero h1 { font-size: 28px; }
  /* 产品/详情页规格表：移动端取消固定列宽，避免被挤压 */
  .spec-table th { width: auto; font-size: 13px; padding: 11px 12px; white-space: nowrap; }
  .spec-table td { font-size: 13px; padding: 11px 12px; }
  .news-detail { padding: 0; }
  .detail-meta { flex-wrap: wrap; gap: 10px; }
}

/* ---------------- 留资弹窗 / 悬浮按钮 ---------------- */
.hidden { display: none !important; }
.nav-cta { margin-left: 6px; }

.lead-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 18px; }
.lead-mask { position: absolute; inset: 0; background: rgba(8, 18, 40, .55); backdrop-filter: blur(2px); }
.lead-box { position: relative; width: min(440px, 100%); background: #fff; border-radius: 20px; padding: 28px 28px 24px; box-shadow: var(--shadow-lg); animation: leadPop .25s ease; }
@keyframes leadPop { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.lead-close { position: absolute; top: 14px; right: 16px; background: none; border: none; font-size: 18px; color: var(--c-muted); cursor: pointer; line-height: 1; }
.lead-close:hover { color: var(--c-ink); }
.lead-head h3 { font-size: 21px; color: var(--c-ink); margin-bottom: 6px; }
.lead-head p { font-size: 13.5px; color: var(--c-muted); margin-bottom: 18px; }
.lead-form { display: grid; gap: 14px; }
.lead-form label { display: grid; gap: 6px; font-size: 13.5px; color: var(--c-ink); font-weight: 600; }
.lead-form input, .lead-form select { font: inherit; font-weight: 400; padding: 11px 13px; border: 1px solid var(--c-line); border-radius: 10px; color: var(--c-text); background: #fff; outline: none; transition: .2s; }
.lead-form input:focus, .lead-form select:focus { border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(26,79,180,.12); }
.lead-submit { margin-top: 4px; padding: 13px; font-size: 15px; justify-content: center; }
.lead-tip { font-size: 13px; font-weight: 500; text-align: center; min-height: 1em; }
.lead-tip.ok { color: #16a34a; }
.lead-tip.err { color: #dc2626; }

/* 左侧常驻留资面板 */
.lead-side { position: fixed; left: 14px; top: 50%; transform: translateY(-50%); z-index: 60; width: 300px; max-height: calc(100vh - 180px); overflow: auto; background: #fff; border: 1px solid var(--c-line); border-radius: 14px; box-shadow: 0 14px 40px rgba(7,30,80,.18); padding: 22px 20px 22px; transition: width .25s, padding .25s; }
.lead-side .ls-close { position: absolute; top: 10px; right: 12px; background: none; border: none; font-size: 16px; color: var(--c-muted); cursor: pointer; line-height: 1; }
.lead-side .ls-close:hover { color: var(--c-ink); }
.lead-side h3 { font-size: 17px; color: var(--c-ink); margin-bottom: 10px; padding-right: 24px; display: flex; align-items: center; gap: 8px; }
.lead-side h3 svg { color: var(--c-primary); }
.lead-side .ls-tip { font-size: 12.5px; color: var(--c-text); background: #f3f7ff; border-left: 3px solid var(--c-primary); padding: 9px 11px; border-radius: 6px; margin-bottom: 14px; line-height: 1.55; }
.lead-side form { display: grid; gap: 10px; }
.lead-side label { display: grid; gap: 4px; font-size: 13px; color: var(--c-ink); font-weight: 600; }
.lead-side input, .lead-side select, .lead-side textarea { font: inherit; font-weight: 400; padding: 8px 10px; border: 1px solid var(--c-line); border-radius: 8px; color: var(--c-text); background: #fff; outline: none; transition: .2s; }
.lead-side input:focus, .lead-side select:focus, .lead-side textarea:focus { border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(26,79,180,.12); }
.lead-side textarea { resize: vertical; min-height: 56px; }
.lead-side .ls-submit { margin-top: 4px; padding: 11px; font-size: 14px; justify-content: center; }
.lead-side .ls-result { font-size: 12.5px; font-weight: 500; text-align: center; min-height: 1em; }
.lead-side .ls-result.ok { color: #16a34a; }
.lead-side .ls-result.err { color: #dc2626; }
.lead-side .ls-handle { display: none; }
.lead-side.is-collapsed { width: 56px; padding: 16px 8px 14px; }
.lead-side.is-collapsed > *:not(.ls-close):not(.ls-handle) { display: none; }
.lead-side.is-collapsed .ls-close { display: none; }
.lead-side.is-collapsed .ls-handle { display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; color: var(--c-primary); font-size: 12px; font-weight: 700; }
.lead-side.is-collapsed .ls-handle svg { color: var(--c-primary); }
@media (max-width: 1100px) { .lead-side { display: none; } }

.lead-float { position: fixed; right: 22px; bottom: 26px; z-index: 900; display: inline-flex; align-items: center; gap: 8px; padding: 13px 18px; border: none; border-radius: 999px; background: linear-gradient(135deg, var(--c-primary), var(--c-primary-light)); color: #fff; font: 600 14.5px var(--font); cursor: pointer; box-shadow: 0 12px 30px rgba(26,79,180,.4); transition: transform .2s, box-shadow .2s; }
.lead-float:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(26,79,180,.5); }
.lead-float svg { flex: none; }

@media (max-width: 720px) {
  .nav-cta { margin: 8px 0 0; }
  .lead-float span { display: none; }
  .lead-float { padding: 14px; right: 16px; bottom: 18px; }
}

/* ---------------- 新闻详情 ---------------- */
.container.narrow { max-width: 820px; }
.news-meta { font-size: 14px; color: rgba(255,255,255,.7); margin-top: 6px; }
.news-detail .lead { font-size: 19px; line-height: 1.7; color: var(--c-ink); font-weight: 600; margin: 6px 0 24px; }
.news-body { font-size: 16px; line-height: 1.9; color: var(--c-text); }
.news-body p { margin: 0 0 18px; }
.news-detail .back { display: inline-block; margin-top: 20px; color: var(--c-primary); font-weight: 600; }
.news-detail .back:hover { color: var(--c-primary-light); }

/* ---------------- 配图 ---------------- */
.thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.prod-img { width: 100%; max-height: 420px; object-fit: cover; border-radius: 14px; margin-bottom: 18px; }
.sol-img { width: 100%; max-height: 360px; object-fit: cover; border-radius: 14px; margin-bottom: 18px; }
.case-img { height: 184px; overflow: hidden; margin: -26px -26px 18px; border-radius: 14px 14px 0 0; }
.case-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-card .cover.has-img { background-size: cover; background-position: center; }
.news-card .cover.has-img::after { content: none; }
.news-cover { width: 100%; max-height: 460px; object-fit: cover; border-radius: 16px; margin-bottom: 24px; }
/* 详情页（案例/产品）内通用块：标签、亮点列表 */
.news-detail .tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.news-detail .tags span { font-size: 12px; background: var(--c-bg-soft); color: var(--c-primary); padding: 4px 10px; border-radius: 999px; }
.news-detail ul.feat { display: grid; gap: 10px; margin: 16px 0; list-style: none; padding: 0; }
.news-detail ul.feat li { display: flex; gap: 10px; align-items: flex-start; color: var(--c-text); }
.news-detail ul.feat .ck { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--c-bg-soft); color: var(--c-primary); display: grid; place-items: center; margin-top: 3px; font-size: 12px; }
.about-band .visual { display: grid; place-items: center; }
.about-band .visual .about-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.logo-img { height: 40px; width: auto; border-radius: 10px; }
.hero.has-bg { background-size: cover; background-position: center; }
@media (max-width: 720px) {
  .case-img { height: 160px; }
}

/* ---------------- 二维码卡片（公众号 / 企业微信） ---------------- */
.qr-col .qr-list { display: flex; gap: 16px; flex-wrap: wrap; }
.footer .col { position: relative; }
.qr-mini { position: absolute; right: -6px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 2; }
.qr-mini img { width: 96px; height: 96px; object-fit: contain; background: #fff; border-radius: 8px; padding: 5px; box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.qr-mini span { font-size: 12px; color: rgba(255,255,255,.85); line-height: 1.3; text-align: center; white-space: nowrap; }
.qr-card { background: #fff; border-radius: 14px; padding: 12px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.qr-card img { width: 104px; height: 104px; object-fit: contain; border-radius: 8px; }
.qr-card .qr-label { font-size: 13px; color: var(--c-ink); font-weight: 600; }
.qr-zone { margin-top: 56px; }
.qr-zone .qr-row { display: flex; gap: 26px; flex-wrap: wrap; justify-content: center; }
.qr-zone .qr-card { padding: 18px; box-shadow: var(--shadow-md); }
.qr-zone .qr-card img { width: 140px; height: 140px; }
.qr-zone .qr-card .qr-label { font-size: 15px; }

/* 新闻正文富文本（图片 + 加粗） */
.news-body img { max-width: 100%; height: auto; border-radius: 12px; display: block; }
.news-body .news-fig { margin: 22px 0; text-align: center; }
.news-body .news-fig img { margin: 0 auto; }
.news-body .news-fig figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }
.news-body .news-inline-img { margin: 18px auto; max-width: 78%; }
.news-body strong { color: var(--ink); font-weight: 700; }
