/* ==========================================================================
   TQW 多站点 CMS · 前台基础样式
   所有站点共用；版式差异在 /templates/_layouts/lXX/layout.css，
   配色差异在 /templates/_themes/tXX/theme.css（CSS 变量）。
   ========================================================================== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif);
  font-size: 15px; line-height: 1.7; color: var(--ink, #1f2937);
  background: var(--bg, #ffffff);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; vertical-align: middle; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.35; font-weight: var(--head-weight, 700); }
:root { --container: 1180px; --radius: var(--rd, 12px); }

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

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 26px; border-radius: var(--btn-radius, var(--radius));
  font-size: 15px; font-weight: 600; border: 1.5px solid transparent;
  transition: all .18s ease; white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px -6px var(--brand); }
.btn-primary:hover { background: var(--brand-deep); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-ghost:hover { background: var(--brand); color: #fff; }
.btn-light { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.55); }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-white { background: #fff; color: var(--brand); }
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,.15); color: var(--brand); }
.btn-outline { border-color: var(--line, #e2e8f0); color: var(--ink); background: var(--surface, #f8fafc); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-block { display: flex; width: 100%; }
.btn-lg { padding: 15px 34px; font-size: 16px; }

/* ---------- 区块标题 ---------- */
.sec { padding: 72px 0; }
.page-home .sec:nth-of-type(even) { background: var(--surface, #f7f9fc); }
.sec-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.sec-kicker {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 2px;
  color: var(--brand); background: var(--brand-soft, rgba(37,99,235,.08));
  padding: 4px 14px; border-radius: 999px; margin-bottom: 14px;
}
.sec-head h2 { font-size: 30px; margin-bottom: 12px; }
.sec-head p { color: var(--muted, #64748b); font-size: 15px; }
.sec-split { display: flex; align-items: flex-end; justify-content: space-between; max-width: var(--container); margin-left: auto; margin-right: auto; text-align: left; }
.sec-split .more { color: var(--brand); font-size: 14px; flex-shrink: 0; margin-left: 20px; }
.sec-split h2 { margin-bottom: 6px; }

/* ---------- 痛点 ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pain-item {
  background: var(--card, #fff); border: 1px solid var(--line, #e8edf4); border-radius: var(--radius);
  padding: 24px 20px; display: flex; gap: 14px; align-items: flex-start;
  transition: all .2s ease;
}
.pain-item:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -14px rgba(15,23,42,.18); border-color: var(--brand); }
.pain-idx {
  width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: var(--brand-soft); color: var(--brand); font-weight: 800; font-size: 15px;
}
.pain-item p { font-size: 14.5px; color: var(--ink); font-weight: 500; }

/* ---------- 功能卡片 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: var(--card, #fff); border: 1px solid var(--line, #e8edf4); border-radius: var(--radius);
  padding: 28px 24px; display: flex; flex-direction: column; gap: 10px;
  transition: all .2s ease; position: relative; overflow: hidden;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(15,23,42,.22); border-color: var(--brand); color: inherit; }
.f-ico {
  width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 6px;
}
.f-ico svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 17px; }
.feature-card p { color: var(--muted, #64748b); font-size: 14px; flex: 1; }
.f-more { color: var(--brand); font-size: 13px; font-weight: 600; }

/* ---------- 数据带 ---------- */
.stats-band { background: var(--brand); color: #fff; padding: 44px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-item b { font-size: 34px; font-weight: 800; display: block; letter-spacing: 1px; }
.stat-item span { opacity: .85; font-size: 14px; }

/* ---------- 步骤 ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--card, #fff); border: 1px solid var(--line, #e8edf4); border-radius: var(--radius); padding: 26px 22px; position: relative; }
.step i {
  font-style: normal; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px; margin-bottom: 14px;
}
.step p { font-size: 14.5px; font-weight: 500; }

/* ---------- 行业方案 ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ind-card {
  background: var(--card, #fff); border: 1px solid var(--line, #e8edf4); border-radius: var(--radius);
  padding: 26px 24px; transition: all .2s ease; display: flex; flex-direction: column; gap: 8px;
}
.ind-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(15,23,42,.22); border-color: var(--brand); color: inherit; }
.ind-card h3 { font-size: 17px; display: flex; align-items: center; gap: 8px; }
.ind-card h3::before { content: ""; width: 6px; height: 18px; border-radius: 3px; background: var(--accent, var(--brand)); }
.ind-card p { color: var(--muted, #64748b); font-size: 14px; flex: 1; }
.ind-more { color: var(--brand); font-size: 13px; font-weight: 600; }

/* ---------- 价格 ---------- */
.plans-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan {
  background: var(--card, #fff); border: 1.5px solid var(--line, #e8edf4); border-radius: var(--radius);
  padding: 28px 22px; position: relative; display: flex; flex-direction: column; transition: all .2s ease;
}
.plan:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(15,23,42,.22); }
.plan-hot { border-color: var(--brand); box-shadow: 0 16px 40px -16px var(--brand); }
.plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent, var(--brand)); color: #fff; font-size: 12px; font-weight: 700;
  padding: 3px 14px; border-radius: 999px; white-space: nowrap;
}
.plan h3 { font-size: 17px; text-align: center; }
.plan-price { text-align: center; margin: 14px 0 6px; }
.plan-price b { font-size: 36px; font-weight: 800; color: var(--brand); }
.plan-price span { color: var(--muted, #64748b); font-size: 13px; }
.plan-desc { text-align: center; color: var(--muted, #64748b); font-size: 13px; margin-bottom: 14px; }
.plan ul { flex: 1; margin-bottom: 18px; }
.plan ul li { font-size: 13.5px; padding: 6px 0 6px 22px; position: relative; color: var(--ink); }
.plan ul li::before {
  content: "✓"; position: absolute; left: 0; top: 6px; width: 15px; height: 15px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand); font-size: 10px; display: flex; align-items: center; justify-content: center;
}
.plans-note { text-align: center; color: var(--muted, #64748b); font-size: 13.5px; margin-top: 26px; }
.plans-note a { color: var(--brand); font-weight: 700; }

/* ---------- 案例 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.case-card {
  background: var(--card, #fff); border: 1px solid var(--line, #e8edf4); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column; gap: 12px; transition: all .2s ease;
}
.case-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(15,23,42,.22); border-color: var(--brand); color: inherit; }
.case-ind {
  align-self: flex-start; font-size: 12px; font-weight: 600; color: var(--brand);
  background: var(--brand-soft); padding: 3px 12px; border-radius: 999px;
}
.case-card h3 { font-size: 17px; }
.case-co { color: var(--muted, #64748b); font-size: 13px; }
.case-sum { color: var(--ink); font-size: 14px; flex: 1; }
.case-metrics { display: flex; flex-wrap: wrap; gap: 8px; }
.case-metrics span {
  font-size: 12.5px; font-weight: 700; color: var(--brand); border: 1px dashed var(--brand);
  border-radius: 8px; padding: 4px 10px; background: var(--brand-soft);
}

/* ---------- 资讯 ---------- */
.news-list { display: flex; flex-direction: column; gap: 14px; }
.news-item {
  display: flex; gap: 22px; background: var(--card, #fff); border: 1px solid var(--line, #e8edf4);
  border-radius: var(--radius); padding: 22px 24px; transition: all .2s ease; align-items: flex-start;
}
.news-item:hover { border-color: var(--brand); box-shadow: 0 14px 30px -16px rgba(15,23,42,.2); color: inherit; }
.news-date { flex-shrink: 0; width: 92px; text-align: center; border-right: 1px solid var(--line, #e8edf4); padding-right: 20px; }
.news-date b { display: block; font-size: 15px; color: var(--brand); font-weight: 700; }
.news-date span { font-size: 12px; color: var(--muted, #64748b); }
.news-info h3 { font-size: 16.5px; margin-bottom: 6px; }
.news-info p { color: var(--muted, #64748b); font-size: 13.5px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--card, #fff); border: 1px solid var(--line, #e8edf4); border-radius: var(--radius); overflow: hidden; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 52px 18px 22px; font-weight: 600; font-size: 15.5px;
  position: relative; user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i {
  position: absolute; right: 20px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: 14px;
}
.faq-item summary i::before { content: "+"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -52%); }
.faq-item[open] summary i::before { content: "–"; }
.faq-item[open] summary i { transform: rotate(180deg); }
.faq-a { padding: 0 22px 20px; color: var(--muted, #64748b); font-size: 14px; white-space: pre-line; }

/* ---------- CTA / 表单 ---------- */
.cta-band { background: linear-gradient(120deg, var(--brand), var(--brand-deep)); color: #fff; padding: 60px 0; }
.cta-grid { display: grid; grid-template-columns: 1fr 400px; gap: 48px; align-items: center; }
.cta-info h2 { font-size: 28px; margin-bottom: 12px; }
.cta-info > p { opacity: .88; margin-bottom: 20px; }
.cta-contact { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; font-size: 14px; }
.cta-phone { font-size: 30px; font-weight: 800; color: #fff; letter-spacing: 1px; }
.cta-phone:hover { color: #fff; }
.cta-form-box { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius); padding: 8px; backdrop-filter: blur(4px); }

.lead-form { background: #fff; border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-item { display: flex; flex-direction: column; gap: 5px; }
.form-item label { font-size: 12.5px; color: var(--ink); font-weight: 600; }
.form-item label i { color: #ef4444; font-style: normal; margin-left: 2px; }
.form-item input, .form-item textarea {
  border: 1px solid #dbe3ec; border-radius: 8px; padding: 10px 12px; font-size: 14px; font-family: inherit;
  background: var(--surface, #f8fafc); transition: border-color .15s ease; resize: vertical;
}
.form-item input:focus, .form-item textarea:focus { outline: none; border-color: var(--brand); background: #fff; }
.form-tip { font-size: 12px; color: var(--muted, #64748b); text-align: center; }
.form-tip a { color: var(--brand); font-weight: 700; }
.form-ok { background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d; border-radius: 8px; padding: 10px 14px; font-size: 13.5px; text-align: center; }
.form-err { background: #fef2f2; border: 1px solid #fecaca; color: #dc2626; border-radius: 8px; padding: 10px 14px; font-size: 13.5px; text-align: center; }

/* ---------- 内页页头 ---------- */
.page-head { background: var(--brand-deep, var(--brand)); color: #fff; padding: 44px 0 38px; position: relative; overflow: hidden; }
.page-head::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px;
  border-radius: 50%; background: rgba(255,255,255,.08);
}
.page-head h1 { font-size: 28px; position: relative; z-index: 1; }
.crumb { margin-top: 10px; font-size: 13px; opacity: .82; position: relative; z-index: 1; }
.crumb a { color: #fff; opacity: .9; }
.crumb a:hover { color: #fff; }
.crumb span { margin: 0 8px; opacity: .6; }

/* ---------- 功能页 ---------- */
.prod-list { display: flex; flex-direction: column; gap: 26px; }
.prod-row {
  display: grid; grid-template-columns: 72px 1fr; gap: 24px;
  background: var(--card, #fff); border: 1px solid var(--line, #e8edf4); border-radius: var(--radius); padding: 30px;
}
.prod-ico { width: 64px; height: 64px; border-radius: 16px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; }
.prod-ico svg { width: 34px; height: 34px; }
.prod-row h2 { font-size: 20px; margin-bottom: 6px; }
.prod-sum { color: var(--brand); font-weight: 600; font-size: 14.5px; margin-bottom: 10px; }
.prod-content { color: var(--muted, #475569); font-size: 14.5px; }
.prod-content p { margin-bottom: 10px; }

/* ---------- 方案详情 / 案例详情 / 文章 ---------- */
.detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: 34px; padding: 46px 20px 70px; align-items: start; }
.article { background: var(--card, #fff); border: 1px solid var(--line, #e8edf4); border-radius: var(--radius); padding: 36px 38px; }
.article-meta { font-size: 13px; color: var(--muted, #64748b); margin-bottom: 14px; display: flex; gap: 14px; flex-wrap: wrap; }
.article-meta b { color: var(--brand); font-weight: 600; }
.article h1 { font-size: 26px; margin-bottom: 18px; }
.article-body { color: var(--ink); font-size: 15.5px; }
.article-body p { margin-bottom: 14px; }
.article-body h2 { font-size: 20px; margin: 26px 0 12px; padding-left: 12px; border-left: 4px solid var(--brand); }
.article-body h3 { font-size: 17px; margin: 20px 0 10px; }
.article-body ul { margin: 0 0 14px 4px; }
.article-body ul li { padding: 5px 0 5px 20px; position: relative; }
.article-body ul li::before { content: ""; position: absolute; left: 0; top: 14px; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.article-body strong { color: var(--brand); }
.article-body table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 13.5px; }
.article-body table th, .article-body table td { border: 1px solid var(--line, #e2e8f0); padding: 8px 12px; text-align: left; }
.article-body table th { background: var(--surface, #f8fafc); }

.detail-side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 24px; }
.side-card { background: var(--card, #fff); border: 1px solid var(--line, #e8edf4); border-radius: var(--radius); padding: 22px; }
.side-card h3 { font-size: 16px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--brand); display: inline-block; }
.side-list li { padding: 9px 0; border-bottom: 1px dashed var(--line, #e8edf4); }
.side-list li:last-child { border-bottom: none; }
.side-list a { font-size: 14px; font-weight: 500; display: block; }
.side-list a:hover { color: var(--brand); }
.side-list span { font-size: 12px; color: var(--muted, #94a3b8); }
.side-form .lead-form { padding: 16px; box-shadow: none; border: 1px solid var(--line, #e8edf4); }
.side-form .form-tip { display: none; }
.side-form .lead-form button { padding: 10px; font-size: 14px; }

/* ---------- 单页 / 关于 / 联系 ---------- */
.page-wrap { padding: 46px 0 70px; }
.page-card { background: var(--card, #fff); border: 1px solid var(--line, #e8edf4); border-radius: var(--radius); padding: 40px 44px; max-width: 960px; margin: 0 auto; }
.page-card h1 { font-size: 26px; margin-bottom: 20px; }
.page-content { font-size: 15px; color: var(--ink); }
.page-content p { margin-bottom: 14px; }
.page-content h2 { font-size: 19px; margin: 22px 0 10px; }
.page-content ul { margin: 0 0 14px 4px; }
.page-content ul li { padding: 4px 0 4px 20px; position: relative; }
.page-content ul li::before { content: ""; position: absolute; left: 0; top: 13px; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }

.about-grid { display: grid; grid-template-columns: 1fr 340px; gap: 34px; align-items: start; }
.contact-grid { display: grid; grid-template-columns: 1fr 420px; gap: 34px; align-items: start; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.contact-card { background: var(--card, #fff); border: 1px solid var(--line, #e8edf4); border-radius: var(--radius); padding: 22px; }
.contact-card b { display: block; font-size: 13px; color: var(--muted, #64748b); margin-bottom: 8px; font-weight: 600; }
.contact-card p { font-size: 16px; font-weight: 700; }
.contact-card a { color: var(--brand); }
.contact-card.wide { grid-column: 1 / -1; }

/* ---------- 分页 ---------- */
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 34px; flex-wrap: wrap; }
.pager a, .pager b, .pager span { min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid var(--line, #e2e8f0); padding: 0 12px; font-size: 14px; background: var(--card, #fff); }
.pager a:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.pager b { background: var(--brand); color: #fff; border-color: var(--brand); }
.pager span { border: none; background: none; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--footer-bg, #0f172a); color: #94a3b8; margin-top: 0; }
.ft-in { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 36px; padding: 56px 20px 40px; }
.ft-logo { color: #fff; font-size: 22px; font-weight: 800; margin-bottom: 14px; }
.ft-brand p { font-size: 13px; line-height: 1.8; }
.ft-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; font-weight: 600; }
.ft-col ul li { padding: 4px 0; font-size: 13.5px; }
.ft-col a { color: #94a3b8; }
.ft-col a:hover { color: #fff; }
.ft-phone a { color: #fff; font-size: 22px; font-weight: 800; }
.ft-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; font-size: 12.5px; }
.ft-bottom p { margin: 2px 0; }
.ft-bottom a { color: #94a3b8; }

/* ---------- 工具 ---------- */
.tag { display: inline-block; font-size: 12px; background: var(--surface, #f1f5f9); color: var(--muted, #64748b); padding: 2px 10px; border-radius: 999px; margin-right: 6px; }
.hr { border: none; border-top: 1px solid var(--line, #e8edf4); margin: 30px 0; }
.center { text-align: center; }
.mt20 { margin-top: 20px; }
.mt40 { margin-top: 40px; }

/* 404 */
.e404 { text-align: center; padding: 90px 20px 110px; }
.e404 b { font-size: 90px; font-weight: 800; color: var(--brand); display: block; line-height: 1; }
.e404 h1 { font-size: 22px; margin: 18px 0 10px; }
.e404 p { color: var(--muted, #64748b); margin-bottom: 26px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .pain-grid, .feature-grid, .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .detail-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .detail-side { position: static; }
}
@media (max-width: 700px) {
  .sec { padding: 48px 0; }
  .sec-head h2 { font-size: 23px; }
  .pain-grid, .feature-grid, .ind-grid, .plans-grid, .steps-grid, .case-grid { grid-template-columns: 1fr; }
  .cta-grid { grid-template-columns: 1fr; gap: 26px; }
  .form-row { grid-template-columns: 1fr; }
  .news-item { flex-direction: column; gap: 10px; }
  .news-date { border-right: none; padding-right: 0; width: auto; display: flex; gap: 10px; align-items: baseline; text-align: left; }
  .ft-in { grid-template-columns: 1fr 1fr; gap: 26px; padding: 40px 20px 30px; }
  .page-head h1 { font-size: 23px; }
  .article { padding: 24px 20px; }
  .prod-row { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .sec-split { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ===== 右侧悬浮服务栏 ===== */
.side-float { position: fixed; right: 8px; top: 34%; z-index: 900; display: flex; flex-direction: column; gap: 8px; width: 64px; }
.sf-btn { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 64px; min-height: 64px; padding: 6px 2px; background: var(--brand, #e60012); color: #fff; text-decoration: none; font-size: 12px; line-height: 1.2; text-align: center; cursor: pointer; border-radius: 10px; box-shadow: 0 4px 14px rgba(0,0,0,.18); transition: transform .15s, background .2s, box-shadow .2s; }
.sf-btn:hover { background: var(--brand-deep, #c00); color: #fff; transform: translateX(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.24); }
.sf-btn svg { width: 24px; height: 24px; flex: none; }
.sf-qr { outline: none; }
.sf-pop { position: absolute; right: 72px; top: 50%; transform: translateY(-50%); display: none; background: #fff; border-radius: 10px; box-shadow: 0 10px 34px rgba(0,0,0,.22); padding: 10px 10px 8px; text-align: center; white-space: nowrap; }
.sf-pop::after { content: ""; position: absolute; right: -6px; top: 50%; margin-top: -6px; width: 12px; height: 12px; background: #fff; transform: rotate(45deg); }
.sf-pop img { display: block; width: 150px; height: 150px; border-radius: 6px; }
.sf-pop p { margin: 7px 0 0; font-size: 12px; color: #333; line-height: 1.4; }
.sf-qr.open .sf-pop { display: block; }
@media (hover: hover) and (pointer: fine) {
  .sf-qr:hover .sf-pop { display: block; }
}

/* 页脚二维码（电话下方） */
.ft-qr { margin-top: 16px; display: inline-flex; align-items: center; gap: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 10px; padding: 10px 14px; }
.ft-qr img { display: block; width: 92px; height: 92px; border-radius: 6px; background: #fff; padding: 4px; }
.ft-qr p { margin: 0; color: #cbd5e1; font-size: 13px; line-height: 1.7; }

@media (max-width: 768px) {
  .side-float { width: 52px; right: 5px; top: auto; bottom: 14vh; gap: 6px; }
  .sf-btn { width: 52px; min-height: 52px; font-size: 11px; gap: 2px; }
  .sf-btn svg { width: 19px; height: 19px; }
  .sf-pop { right: 58px; }
  .sf-pop img { width: 128px; height: 128px; }
  .ft-qr img { width: 78px; height: 78px; }
}

/* ===== 品牌图片 logo（按产品线） ===== */
.logo .logo-img { height: 34px; width: auto; display: inline-block; vertical-align: middle; background: #fff; padding: 4px 8px; border-radius: 8px; box-sizing: content-box; }
.logo:has(.logo-img) { align-items: center; }
.logo-dot:has(.logo-img)::before { display: none; }
.logo i:has(+ .logo-img) { display: none; }
.ft-logo .logo-img { height: 32px; }
@media (max-width: 768px) {
  .logo .logo-img { height: 27px; padding: 3px 6px; }
}
