/* =========================================================================
 * 浪为科技 · 官网样式
 * 主色：海蓝 #447ff7  |  风格：专业 + 科技感  |  响应式
 * ========================================================================= */

:root {
  --brand: #447ff7;
  --brand-dark: #2b5fd0;
  --brand-light: #7da6fb;
  --brand-soft: #eaf1ff;
  --ink: #0f1f3d;
  --ink-2: #41507a;
  --ink-3: #6b7796;
  --line: #e6ebf5;
  --bg: #ffffff;
  --bg-alt: #f5f8ff;
  --bg-dark: #0a1838;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(20, 50, 120, 0.10);
  --shadow-lg: 0 20px 60px rgba(20, 50, 120, 0.16);
  --maxw: 1200px;
  --header-h: 68px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 40px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-head .eyebrow { color: var(--brand); font-weight: 700; letter-spacing: .14em; font-size: 13px; text-transform: uppercase; }
.section-head h2 { font-size: 32px; margin: 10px 0 12px; letter-spacing: -.5px; }
.section-head p { color: var(--ink-3); margin: 0; font-size: 16px; }

/* ----------------------------- 按钮 ----------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 999px; font-size: 15px; font-weight: 600;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(68,127,247,.35); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(68,127,247,.45); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-outline { background: #fff; color: var(--brand); border: 1.5px solid var(--brand); }
.btn-outline:hover { background: var(--brand-soft); }
.btn-block { width: 100%; padding: 13px; }
.btn-lg { padding: 14px 32px; font-size: 16px; }

/* ----------------------------- 顶部导航 ----------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s, background .25s;
}
.site-header.scrolled { box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-logo { width: 38px; height: 38px; object-fit: contain; }
.brand-name { font-size: 19px; letter-spacing: .5px; color: var(--ink); }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > .nav-item { position: relative; }
.main-nav > .nav-item > .nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: 15px; color: var(--ink-2);
  transition: color .2s, background .2s;
}
.main-nav > .nav-item > .nav-link:hover { color: var(--brand); background: var(--brand-soft); }
.main-nav .caret { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; opacity: .6; transition: transform .2s; }
.nav-item.open > .nav-link .caret { transform: rotate(180deg); }

/* 下拉面板 */
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 10px; opacity: 0; visibility: hidden;
  transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 50;
}
.nav-item.open > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown .dd-group { padding: 6px 8px; }
.dropdown .dd-group-title { font-size: 12px; font-weight: 700; color: var(--ink-3); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.dropdown a.dd-link, .dropdown .dd-sub > .dd-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 12px; border-radius: 9px; color: var(--ink); font-size: 14.5px; transition: background .15s, color .15s;
}
.dropdown a.dd-link:hover, .dropdown .dd-sub > .dd-link:hover { background: var(--brand-soft); color: var(--brand); }
.dropdown .dd-sub > .dd-link.dd-header { cursor: default; }
.dropdown .dd-sub > .dd-link.dd-header:hover { background: var(--brand-soft); color: var(--brand); }
.dd-sub { position: relative; }
.dd-sub > .dd-link .caret { margin-left: auto; }
.dd-sub .dropdown { top: -6px; left: calc(100% + 8px); }
.dd-sub:hover > .dropdown, .dd-sub.open > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

/* 标签切换型下拉 */
.dropdown.tabs { min-width: 420px; padding: 0; overflow: hidden; }
.dd-tabs-head { display: flex; flex-wrap: wrap; gap: 4px; padding: 12px 12px 0; border-bottom: 1px solid var(--line); }
.dd-tab { padding: 8px 12px; font-size: 14px; font-weight: 600; color: var(--ink-2); border-radius: 8px 8px 0 0; position: relative; }
.dd-tab.active { color: var(--brand); }
.dd-tab.active::after { content:""; position:absolute; left:12px; right:12px; bottom:-1px; height:2px; background: var(--brand); border-radius: 2px; }
.dd-tabs-body { padding: 14px; display: grid; gap: 12px; }
.dd-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px; transition: border-color .2s, box-shadow .2s; }
.dd-card:hover { border-color: var(--brand-light); box-shadow: var(--shadow); }
.dd-card img { width: 100%; height: 96px; object-fit: cover; border-radius: 8px; margin-bottom: 8px; }
.dd-card h4 { margin: 0 0 4px; font-size: 15px; }
.dd-card p { margin: 0; font-size: 13px; color: var(--ink-3); }
.dd-news .dd-card { display: flex; flex-direction: column; gap: 4px; }
.dd-news .dd-date { font-size: 12px; color: var(--brand); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: none; }

/* ----------------------------- Hero 轮播 ----------------------------- */
.hero {
  position: relative; min-height: 600px; display: flex; align-items: center;
  color: #fff; overflow: hidden;
  background: linear-gradient(135deg, #0a1838, #102a5e);
}
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s var(--ease); display: flex; align-items: center; }
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.hero-slide::after { content:""; position:absolute; inset:0; background: linear-gradient(90deg, rgba(10,24,56,.92), rgba(10,24,56,.45)); }
.hero-content { position: relative; z-index: 2; padding: 90px 20px; }
.hero h1 { font-size: clamp(30px, 5vw, 52px); line-height: 1.22; margin: 0 0 18px; letter-spacing: -.5px; font-weight: 800; }
.hero p { font-size: clamp(15px, 2vw, 19px); max-width: 620px; color: rgba(255,255,255,.85); margin: 0 0 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-dots { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 10px; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.35); cursor: pointer; transition: background .2s; }
.hero-dot.active { background: #fff; }

/* ----------------------------- 首页统计 ----------------------------- */
.stats-bar { background: #fff; border-bottom: 1px solid var(--line); padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-card { text-align: center; padding: 20px; border-radius: var(--radius); background: var(--bg-alt); }
.stat-num { font-size: 42px; font-weight: 800; color: var(--brand); line-height: 1; }
.stat-num span { font-size: 20px; font-weight: 700; margin-left: 2px; }
.stat-label { margin-top: 10px; color: var(--ink-2); font-size: 15px; }

/* ----------------------------- 通用网格 ----------------------------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ----------------------------- 产品 ----------------------------- */
.prod-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s;
  display: flex; flex-direction: column;
}
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.prod-media { background: var(--bg-dark); aspect-ratio: 1216 / 742; overflow: hidden; position: relative; }
.prod-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prod-body { padding: 22px 24px 26px; }
.prod-group { font-size: 12.5px; font-weight: 700; color: var(--brand); letter-spacing: .06em; }
.prod-card h3 { margin: 6px 0 10px; font-size: 22px; }
.prod-card p { margin: 0 0 16px; color: var(--ink-3); font-size: 15px; }
.link-arrow { color: var(--brand); font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow:hover { gap: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 13px; padding: 5px 12px; background: var(--brand-soft); color: var(--brand-dark); border-radius: 999px; font-weight: 600; }

/* ----------------------------- 解决方案 ----------------------------- */
.sol-card {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; align-items: stretch;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
  height: 500px;
}
.sol-card:nth-child(even) { grid-template-columns: 1fr 1.1fr; }
.sol-card:nth-child(even) .sol-media { order: 2; }
.sol-body { padding: 40px; display: flex; flex-direction: column; justify-content: center; min-height: 0; overflow: hidden; }
.sol-body h3 { font-size: 26px; margin: 0 0 12px; }
.sol-body p { color: var(--ink-3); margin: 0 0 18px; }
.sol-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.sol-points li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.sol-points li::before { content: "✓"; color: #fff; background: var(--brand); width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; flex: none; }
.sol-media { background: var(--bg-dark); }
.sol-media img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }

/* ----------------------------- 精选案例首页 ----------------------------- */
.case-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 30px; flex-wrap: wrap; }
.case-tab { padding: 10px 20px; border-radius: 999px; font-weight: 600; color: var(--ink-2); background: #fff; border: 1px solid var(--line); }
.case-tab.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.case-card img { width: 100%; height: 160px; object-fit: cover; }
.case-body { padding: 18px 20px 22px; }
.case-body h4 { margin: 0 0 8px; font-size: 17px; }
.case-body p { margin: 0; color: var(--ink-3); font-size: 14px; }
.case-more { text-align: center; margin-top: 36px; }

/* ----------------------------- 新闻资讯 ----------------------------- */
.news-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 30px; flex-wrap: wrap; }
.news-tab { padding: 10px 20px; border-radius: 999px; font-weight: 600; color: var(--ink-2); background: #fff; border: 1px solid var(--line); }
.news-tab.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-date { color: var(--brand); font-weight: 700; font-size: 13px; }
.news-card h4 { margin: 8px 0 8px; font-size: 17px; line-height: 1.45; }
.news-card p { margin: 0; color: var(--ink-3); font-size: 14px; }

/* ----------------------------- 关于我们首页 ----------------------------- */
.about-home { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; }
.about-home-text h2 { font-size: 30px; margin: 0 0 16px; }
.about-home-text p { color: var(--ink-2); font-size: 16px; margin: 0 0 26px; }
.about-home-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.about-home-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }

/* ----------------------------- 签约流程 ----------------------------- */
.process-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.process-step { text-align: center; padding: 24px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.process-num { width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; margin: 0 auto 14px; }
.process-step h4 { font-size: 17px; margin: 0 0 6px; }
.process-step p { margin: 0; color: var(--ink-3); font-size: 13px; }

/* ----------------------------- CTA ----------------------------- */
.cta-section { position: relative; background: var(--brand-dark); color: #fff; text-align: center; padding: 70px 20px; overflow: hidden; }
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { font-size: 28px; margin: 0 0 10px; }
.cta-section p { margin: 0 0 24px; opacity: .9; }

/* ----------------------------- 友情链接 ----------------------------- */
.friend-section { padding: 50px 0 70px; }
.friend-links { display: flex; flex-wrap: wrap; gap: 12px 22px; justify-content: center; }
.friend-links a { color: var(--ink-2); font-size: 14px; }
.friend-links a:hover { color: var(--brand); text-decoration: underline; }

/* ----------------------------- 常见问题 FAQ ----------------------------- */
.gw-faq { max-width: 880px; margin: 0 auto; }
.gw-faq-item {
  border-bottom: 1px solid var(--line, #e6ebf3);
  border-radius: 10px;
  margin-bottom: 10px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 42, 94, 0.04);
  overflow: hidden;
}
.gw-faq-item > summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 48px 18px 20px;
  position: relative;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink, #1b2740);
  transition: color .2s;
}
.gw-faq-item > summary::-webkit-details-marker { display: none; }
.gw-faq-item > summary::after {
  content: '+';
  position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  font-size: 24px; font-weight: 400; line-height: 1; color: var(--brand, #447ff7);
}
.gw-faq-item[open] > summary::after { content: '\2212'; }
.gw-faq-item > summary:hover { color: var(--brand, #447ff7); }
.gw-faq-a { padding: 0 20px 20px; color: var(--ink-3, #5b6478); line-height: 1.85; font-size: 15px; }
.gw-faq-a p { margin: 0; }
.gw-faq-foot { max-width: 880px; margin: 28px auto 0; text-align: center; color: var(--ink-3, #5b6478); }
.gw-faq-foot a { color: var(--brand, #447ff7); font-weight: 600; }
/* FAQ 搜索框 + 热门关键词 + 结果计数 + 空状态 */
.faq-search { max-width: 880px; margin: 0 auto 22px; }
.faq-search-box {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line, #e6ebf3); border-radius: 12px;
  padding: 0 16px; box-shadow: 0 2px 10px rgba(16, 42, 94, 0.05);
}
.faq-search-box:focus-within { border-color: var(--brand, #447ff7); box-shadow: 0 0 0 3px rgba(68, 127, 247, 0.14); }
.faq-search-ico { color: var(--ink-3, #5b6478); flex: none; }
.faq-search-box input[type="search"] {
  flex: 1; border: 0; outline: 0; background: transparent;
  padding: 15px 0; font-size: 16px; color: var(--ink, #1b2740);
}
.faq-search-box input[type="search"]::-webkit-search-cancel-button { cursor: pointer; }
.faq-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.faq-chips-label { color: var(--ink-3, #5b6478); font-size: 14px; }
.faq-chip {
  border: 1px solid var(--line, #e6ebf3); background: #fff; color: var(--brand, #447ff7);
  border-radius: 999px; padding: 6px 14px; font-size: 13px; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.faq-chip:hover { background: var(--brand, #447ff7); color: #fff; border-color: var(--brand, #447ff7); }
.faq-search-count { margin-top: 10px; font-size: 13px; color: var(--ink-3, #5b6478); min-height: 18px; }
.gw-faq-empty { text-align: center; color: var(--ink-3, #5b6478); padding: 24px 0; }
.unified-sec-title { font-size: 18px; font-weight: 600; margin: 24px 0 12px; color: var(--ink, #1b2740); }
.unified-sec-title:first-child { margin-top: 0; }
@media (max-width: 600px) {
  .gw-faq-item > summary { font-size: 15px; padding: 15px 42px 15px 16px; }
  .gw-faq-a { font-size: 14px; }
}

/* ----------------------------- 联系我们首页 ----------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); }
.contact-info { display: grid; gap: 18px; }
.contact-info .ci { display: flex; gap: 14px; align-items: flex-start; }
.contact-info .ci .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 20px; flex: none; }
.contact-info .ci .t { font-weight: 700; }
.contact-info .ci .v { color: var(--ink-3); }

/* ----------------------------- 内页通用 ----------------------------- */
.page-hero {
  position: relative; min-height: 420px; display: flex; align-items: center;
  color: #fff; background: linear-gradient(135deg, #0a1838, #102a5e);
}
.page-hero-small { min-height: 280px; }
.page-hero .container { position: relative; z-index: 1; padding: 90px 20px 70px; }
.page-hero h1 { font-size: clamp(32px, 5vw, 48px); margin: 0 0 14px; font-weight: 800; }
.page-hero p { font-size: 18px; max-width: 720px; margin: 0 0 26px; opacity: .9; }
.page-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.page-content { min-height: 400px; }
.page-section {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center;
  padding: 50px 0; border-bottom: 1px solid var(--line);
}
.page-section:nth-child(even) { grid-template-columns: 1.2fr 1fr; }
.page-section:nth-child(even) .page-section-media { order: 2; }
.page-section-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.page-section-body h3 { font-size: 26px; margin: 0 0 18px; }
.page-section-body ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.page-section-body li { position: relative; padding-left: 24px; color: var(--ink-2); font-size: 15.5px; }
.page-section-body li::before { content: "●"; position: absolute; left: 0; color: var(--brand); font-size: 10px; top: 3px; }

/* ----------------------------- 解决方案内页 ----------------------------- */
.solution-intro { text-align: center; font-size: 20px; color: var(--ink-2); max-width: 800px; margin: 54px auto 50px; }
.solution-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.solution-item { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); }
.solution-item h3 { margin: 0 0 6px; font-size: 22px; }
.solution-item-sub { color: var(--brand); font-weight: 700; font-size: 14px; margin: 0 0 12px; }
.solution-item p { color: var(--ink-3); margin: 0 0 18px; }
.solution-item .btn { margin-top: auto; align-self: flex-start; }
.solution-sections { display: grid; gap: 40px; }
.solution-section { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }
.solution-section h3 { margin: 0 0 16px; font-size: 24px; }
.solution-section ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.solution-section li { padding-left: 22px; position: relative; color: var(--ink-2); }
.solution-section li::before { content: "●"; position: absolute; left: 0; color: var(--brand); font-size: 10px; top: 3px; }
/* 解决方案内页：配图左右两列（可选显示） */
.solution-section.with-media { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.solution-section.with-media:nth-child(even) { grid-template-columns: 1fr 1fr; }
.solution-section.with-media:nth-child(even) .ss-media { order: 2; }
.solution-section.with-media .ss-media img { width: 100%; display: block; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.solution-section.with-media .ss-body h3 { margin: 0 0 16px; font-size: 24px; }
.solution-section.with-media .ss-body ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.solution-section.with-media .ss-body li { padding-left: 22px; position: relative; color: var(--ink-2); }
.solution-section.with-media .ss-body li::before { content: "●"; position: absolute; left: 0; color: var(--brand); font-size: 10px; top: 3px; }

/* ===== 解决方案 PPT 内容 ===== */
.solution-value { display: grid; gap: 54px; }
.solution-value-bottom { margin-top: 54px; }
.solution-value-top { margin-bottom: 54px; }
.value-compare-head, .value-cards-head { text-align: center; margin-bottom: 30px; }
.value-compare-head h3, .value-cards-head h3 { font-size: 28px; margin: 0 0 10px; letter-spacing: -.5px; }
.value-compare-head p { color: var(--ink-3); margin: 0; font-size: 16px; }
.value-compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.value-col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 30px; box-shadow: var(--shadow); display: grid; grid-template-columns: 132px 1fr; gap: 22px; align-items: start; }
.value-col-media { align-self: start; }
.value-col-media img { width: 100%; display: block; border-radius: var(--radius); }
.value-col-body { min-width: 0; }
.value-col h4 { margin: 0 0 16px; font-size: 18px; }
.value-col-left h4 { color: #e5484d; }
.value-col-right h4 { color: var(--brand); }
.value-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.value-col li { padding-left: 22px; position: relative; color: var(--ink-2); line-height: 1.65; }
.value-col li::before { content: "●"; position: absolute; left: 0; color: var(--brand); font-size: 10px; top: 6px; }
.value-col-left li::before { color: #c2cad6; }
.value-cards-sub { color: var(--ink-3); margin: 0 0 14px; font-size: 16px; }
.value-cards-desc { color: var(--ink-2); max-width: 820px; margin: 0 auto; font-size: 15px; line-height: 1.85; }
.value-cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 22px; text-align: center; box-shadow: var(--shadow); }
.value-card-title { font-size: 20px; font-weight: 800; color: var(--brand); margin-bottom: 10px; }
.value-card-desc { color: var(--ink-3); font-size: 14px; line-height: 1.65; }
@media (max-width: 860px) {
  .value-compare-grid { grid-template-columns: 1fr; }
  .value-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .value-cards-grid { grid-template-columns: 1fr; }
  .value-col { grid-template-columns: 1fr; }
  .value-col-media { max-width: 150px; margin: 0 auto; }
}

/* ----------------------------- 案例内页 ----------------------------- */
.case-detail-grid { display: grid; gap: 28px; }
.case-detail-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }
.case-detail-card h3 { font-size: 24px; margin: 0 0 20px; color: var(--brand); }
.case-detail-block { margin-bottom: 18px; }
.case-detail-block:last-child { margin-bottom: 0; }
.case-detail-block h4 { font-size: 15px; color: var(--ink-3); font-weight: 700; margin: 0 0 6px; }
.case-detail-block p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* ----------------------------- 关于我们内页 ----------------------------- */
.about-page { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.about-page-nav { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 8px; }
.about-page-nav a { padding: 12px 16px; border-radius: 10px; font-weight: 600; color: var(--ink-2); background: #fff; border: 1px solid var(--line); transition: all .2s; position: relative; }
.about-page-nav a:hover { color: #fff; background: var(--brand); border-color: var(--brand); }
.about-page-nav a.active { color: var(--brand); border-color: var(--brand); background: #eef3fe; }
.about-page-nav a.active::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 4px; height: 18px; border-radius: 3px; background: var(--brand); }
.about-page-body .about-row { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: stretch; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; margin-bottom: 24px; box-shadow: var(--shadow); }
.about-page-body .about-row-reverse .about-row-media { order: 2; }
.about-page-body .about-row-single { grid-template-columns: 1fr; }
.about-row-media { display: flex; align-items: center; }
.about-row-media img { width: 100%; height: 336px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-page-body .about-row-body h3 { font-size: 24px; margin: 0 0 14px; }
.about-page-body .about-row-body p { color: var(--ink-2); margin: 0 0 14px; }
.about-page-body .about-row-body p:last-child { margin-bottom: 0; }

/* ----------------------------- 联系我们内页 ----------------------------- */
.contact-page { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: stretch; }
.contact-card-main { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); }
.contact-card-main h3 { font-size: 24px; margin: 0 0 26px; }
.contact-info-list { display: grid; gap: 18px; }
.contact-row { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-row:last-child { border-bottom: none; }
.contact-label { font-weight: 700; color: var(--ink-2); min-width: 80px; }
.contact-value { color: var(--ink-3); }
.contact-qr-card { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: center; }
.contact-qr-card h4 { margin: 0 0 18px; }
.contact-qr-card img { width: 180px; height: 180px; margin: 0 auto 12px; border-radius: 12px; }

/* ----------------------------- 页脚 ----------------------------- */
.site-footer { background: var(--bg-dark); color: #cdd8f3; padding: 56px 0 26px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 30px; }
.footer-logo { width: 48px; height: 48px; object-fit: contain; background: #fff; border-radius: 10px; padding: 4px; margin-bottom: 12px; }
.footer-company { color: #fff; font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.footer-contact { display: grid; gap: 6px; font-size: 14px; color: #93a4cf; }
.footer-tel { color: #cdd9f5; font-weight: 700; text-decoration: none; }
.footer-tel:hover { color: #fff; text-decoration: underline; }
.footer-col h4 { color: #fff; font-size: 15px; margin: 0 0 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col a { display: block; color: #aab8e0; font-size: 14px; padding: 6px 0; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-qr h4 { color: #fff; font-size: 15px; margin: 0 0 14px; }
.qr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.qr-item { text-align: center; position: relative; transition: transform .25s var(--ease); }
.qr-item img { width: 64px; height: 64px; border-radius: 10px; background: #fff; padding: 4px; margin: 0 auto 6px; cursor: pointer; transition: transform .25s var(--ease); }
.qr-item span { font-size: 12px; color: #aab8e0; }
/* 页脚平台二维码：鼠标触碰放大，便于扫码 */
.qr-item:hover { z-index: 30; }
.qr-item:hover img { transform: scale(2.4); position: relative; z-index: 30; box-shadow: 0 10px 28px rgba(0,0,0,.3); background: #fff; }
.qr-item:hover span { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding-top: 20px; }
.footer-bottom .container { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; font-size: 13px; color: #8ea0cf; }
.footer-bottom a { color: #8ea0cf; text-decoration: underline; }

/* ----------------------------- 弹窗 ----------------------------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(8,16,38,.55); backdrop-filter: blur(3px); }
.modal-panel { position: relative; background: #fff; border-radius: var(--radius-lg); width: 100%; max-width: 460px; padding: 30px; box-shadow: var(--shadow-lg); animation: pop .25s var(--ease); max-height: 90vh; overflow: auto; }
@keyframes pop { from { transform: scale(.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-close { position: absolute; top: 14px; right: 16px; font-size: 26px; line-height: 1; color: var(--ink-3); }
.modal-title { margin: 0 0 4px; font-size: 24px; }
.modal-sub { margin: 0 0 20px; color: var(--ink-3); font-size: 14px; }
.demo-form .field { display: block; margin-bottom: 16px; }
.field-label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 7px; }
.field-label .req { color: #e5484d; font-style: normal; }
.field-label .opt { color: var(--ink-3); font-weight: 400; font-size: 12px; }
.field input { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.field input.invalid { border-color: #e5484d; }
.err { display: block; color: #e5484d; font-size: 12.5px; min-height: 16px; margin-top: 5px; font-style: normal; }
.multi-select { display: flex; flex-wrap: wrap; gap: 8px; }
.check-chip { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: all .2s; }
.check-chip:has(input:checked) { background: var(--brand); color: #fff; border-color: var(--brand); }
.check-chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.form-tip { margin: 12px 0 0; font-size: 14px; text-align: center; min-height: 20px; }
.modal-qr { max-width: 320px; text-align: center; }
.qr-image { width: 200px; height: 200px; margin: 12px auto 4px; border-radius: 12px; background: #fff; }

/* ----------------------------- 聊天浮窗 ----------------------------- */
.chat-widget { position: fixed; right: 22px; bottom: 22px; z-index: 150; }
.chat-fab { display: inline-flex; align-items: center; gap: 8px; background: var(--brand); color: #fff; padding: 13px 18px; border-radius: 999px; box-shadow: var(--shadow-lg); font-weight: 700; transition: transform .2s; }
.chat-fab:hover { transform: translateY(-2px); }
.chat-panel { position: absolute; right: 0; bottom: calc(100% + 14px); width: 320px; max-width: calc(100vw - 32px); background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; display: none; flex-direction: column; }
.chat-panel.open { display: flex; animation: pop .25s var(--ease); }
.chat-head { background: var(--brand); color: #fff; padding: 14px 16px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.chat-close { color: #fff; font-size: 22px; line-height: 1; }
.chat-body { padding: 16px; height: 280px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; background: var(--bg-alt); }
.chat-msg { padding: 10px 13px; border-radius: 14px; font-size: 14px; max-width: 85%; line-height: 1.5; }
.chat-msg.bot { background: #fff; border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-msg.user { background: var(--brand); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-input input { flex: 1; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 14px; }
.chat-input input:focus { outline: none; border-color: var(--brand); }

/* =========================================================================
 * 响应式
 * ========================================================================= */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .news-grid, .case-grid, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .solution-items { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .section { padding: 60px 0; }
  .section-head h2 { font-size: 26px; }
  .main-nav, .header-actions .btn-demo { display: none; }
  .hamburger { display: flex; }

  .mobile-nav { display: block; border-top: 1px solid var(--line); background: #fff; max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
  .mobile-nav.open { max-height: 80vh; overflow-y: auto; }
  /* 顶级菜单项统一分隔线 */
  .mobile-nav > .m-link,
  .mobile-nav > .m-label,
  .mobile-nav > .m-group { border-bottom: 1px solid var(--line); }
  .mobile-nav .m-link,
  .mobile-nav .m-label { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 14px 20px; font-weight: 600; font-size: 16px; color: var(--ink); text-align: left; box-sizing: border-box; }
  .mobile-nav .m-label { cursor: default; }
  /* 层级视觉区分：子菜单左侧引导线 + 缩进底色，越深越浅 */
  .mobile-nav .m-sub { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); background: #eef2fb; border-left: 3px solid #d7e0f6; }
  .mobile-nav .m-sub.open { max-height: 90vh; }
  .mobile-nav .m-sub .m-link,
  .mobile-nav .m-sub .m-label { font-weight: 500; font-size: 15px; color: var(--ink-2); border-bottom: 1px solid var(--line); }
  .mobile-nav .m-sub .m-sub .m-link,
  .mobile-nav .m-sub .m-sub .m-label { font-size: 14px; color: var(--ink-3); }
  .mobile-nav .m-link:hover { color: var(--brand); }
  .mobile-nav .m-nolink { color: var(--ink-3); }
  .mobile-nav .m-parent { color: var(--brand); }
  .mobile-nav .m-toggle .caret { margin-left: auto; transition: transform .2s; }
  .mobile-nav .m-toggle.open .caret { transform: rotate(180deg); }
  .mobile-nav .m-news-item { padding: 8px 0; }
  .mobile-nav .m-news-date { color: var(--brand); font-weight: 700; font-size: 12px; }
  .mobile-nav .m-news-title { font-weight: 600; color: var(--ink); }
  .mobile-nav .m-news-desc { font-size: 13px; color: var(--ink-2); }
  .mobile-nav .m-demo { display: flex; justify-content: center; align-items: center; width: calc(100% - 40px); margin: 16px auto; }

  .grid-2, .grid-3, .news-grid, .case-grid { grid-template-columns: 1fr; }
  .sol-card, .sol-card:nth-child(even) { grid-template-columns: 1fr; height: auto; }
  .sol-card:nth-child(even) .sol-media { order: 0; }
  .sol-card .sol-media { height: 280px; }
  .sol-media img { min-height: 200px; }
  .sol-body { padding: 26px 22px; overflow: visible; }
  .about-wrap, .about-home, .contact-grid, .about-page, .contact-page { grid-template-columns: 1fr; }
  .about-page-body .about-row { display: block; clear: both; }
  .about-row-reverse .about-row-media { order: 0; }
  .about-row-media { display: block; float: left; width: 42%; max-width: 200px; margin: 6px 16px 12px 0; }
  .about-row-media img { height: auto; min-height: 0; object-fit: initial; }
  .about-page-nav { position: static; grid-auto-flow: column; overflow-x: auto; }
  .page-section, .page-section:nth-child(even) { grid-template-columns: 1fr; }
  .page-section:nth-child(even) .page-section-media { order: 0; }
  .solution-items { grid-template-columns: 1fr; }
  /* 营销获客等解决方案：移动端改为「文字环绕图片」杂志式排版；PC 端（>860px）保持左右两栏不变 */
  .solution-section.with-media { display: flow-root; }
  .solution-section.with-media .ss-media { float: left; width: 42%; max-width: 200px; margin: 6px 16px 12px 0; }
  .solution-section.with-media:nth-child(even) .ss-media { float: right; margin: 6px 0 12px 16px; }
  .solution-section.with-media .ss-media img { height: auto; min-height: 0; object-fit: initial; }
  /* 关键：列表默认 display:grid 会生成独立格式化上下文(BFC)，导致不绕图。移动端改回 block 才能环绕 */
  .solution-section.with-media .ss-body ul { display: block; }
  .solution-section.with-media .ss-body li { display: block; padding-left: 0; }
  /* 移动端浮动环绕时，绝对定位的圆点会被图片盖住；改为行内首字，跟着第一行文字走，露出在图右侧 */
  .solution-section.with-media .ss-body li::before { position: static; display: inline; left: auto; top: auto; margin-right: 8px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .dropdown.tabs { min-width: 0; }
}

@media (max-width: 520px) {
  .hero-content { padding: 70px 20px 90px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .stats-grid, .process-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .qr-grid { grid-template-columns: repeat(4, 1fr); }
  .modal-panel { padding: 22px; }
  .chat-widget { right: 14px; bottom: 14px; }
  .chat-fab-text { display: none; }
  .chat-fab { padding: 14px; }
  .page-hero { min-height: 320px; }
}

/* =========================================================================
 * 新增样式：解决方案对齐 / 新闻系统 / 页脚重构 / 案例封面 / 聊天提示
 * ========================================================================= */

/* 解决方案：标题/内容/特点/按钮对齐，左右卡片特征列表水平对齐 */
.sol-body { display: flex; flex-direction: column; justify-content: flex-start; }
.sol-body p {
  color: var(--ink-3);
  margin: 0 0 18px;
  min-height: 6.5em;                 /* 预留固定描述高度，保证两卡特点行水平对齐 */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;            /* 超长描述截断，避免破坏对齐 */
  overflow: hidden;
}
.sol-points { margin-bottom: 24px; }
.sol-body .btn { margin-top: auto; align-self: flex-start; }

/* 新闻首页卡片（图文搭配） */
.news-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.news-thumb { width: 100%; height: 168px; overflow: hidden; background: var(--bg-alt); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.news-card h4 { margin: 8px 0 8px; font-size: 17px; line-height: 1.45; }
.news-card p { margin: 0; color: var(--ink-3); font-size: 14px; flex: 1; }
.news-more { text-align: center; margin-top: 36px; }

/* 新闻列表页 */
.news-tabs-center { justify-content: center; }
.news-list { display: grid; gap: 18px; }
.news-list-card { display: grid; grid-template-columns: 220px 1fr; gap: 22px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px;
  box-shadow: var(--shadow); transition: transform .2s var(--ease), box-shadow .2s; }
.news-list-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.news-list-card .news-thumb { height: 140px; }
.news-list-card .news-body { padding: 0; gap: 8px; }
.news-list-card h3 { margin: 0; font-size: 20px; }
.news-list-card p { color: var(--ink-3); font-size: 14.5px; }
.empty { color: var(--ink-3); text-align: center; padding: 40px 0; }

/* 新闻详情页 */
.news-detail { max-width: 880px; }
.news-back { display: inline-block; color: #fff; opacity: .85; margin-bottom: 12px; font-weight: 600; }
.news-back:hover { opacity: 1; }
.news-detail-cover { margin-bottom: 28px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--bg-alt); }
.news-detail-cover img { width: 100%; max-height: 420px; object-fit: cover; }
.news-detail-body p { font-size: 16.5px; color: var(--ink-2); line-height: 1.9; margin: 0 0 18px; }
.news-fig { margin: 0 0 24px; display: flex; flex-direction: column; align-items: center; }
.news-fig img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); background: var(--bg-alt); }
.news-fig figcaption { margin-top: 10px; font-size: 13.5px; color: var(--ink-3); text-align: center; line-height: 1.6; }
.news-video { margin: 18px 0; }
.news-video video, .news-video iframe { width: 100%; max-width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow); background: #000; display: block; }
/* 视频链接卡片（抖音/视频号等外链，点击跳转新标签页） */
.news-video-link-wrap { margin: 18px 0; text-align: center; }
.news-video-link { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; background: linear-gradient(135deg, #447ff7, #2f6bf0); color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; box-shadow: 0 8px 22px rgba(68,127,247,.28); transition: transform .15s ease, box-shadow .15s ease; }
.news-video-link:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(68,127,247,.36); color: #fff; }
.news-video-link .nvl-play { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent #fff; display: inline-block; }
@media (max-width: 640px){ .news-video-link { padding: 12px 20px; font-size: 14px; } }
.news-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.news-nav a { color: var(--brand); font-weight: 600; font-size: 14.5px; max-width: 48%; }
.news-nav-prev { text-align: left; }
.news-nav-next { text-align: right; }

/* 页脚重构：菜单在左，联系+二维码在右（二维码置于地址下方） */
.footer-top { grid-template-columns: 2.4fr 1fr; gap: 44px; align-items: start; }
.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-contact-block { display: flex; flex-direction: column; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 0; }
.footer-brand .footer-logo { margin-bottom: 0; }
.footer-brand .footer-company { margin-bottom: 0; }
.footer-contact { display: grid; gap: 6px; font-size: 14px; color: #93a4cf; }
.footer-qr { margin-top: 4px; }
.footer-qr h4 { color: #fff; font-size: 15px; margin: 0 0 12px; }
/* 二维码：一行 4 个、尺寸缩小 */
.qr-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 100%; }
.qr-item img { width: 58px; height: 58px; border-radius: 8px; padding: 3px; margin: 0 auto 5px; }
.qr-item span { font-size: 11px; line-height: 1.3; display: block; }

/* 联系页电话/邮箱可点击 */
.contact-link, .tel-link { color: var(--brand); font-weight: 700; }
.contact-link:hover, .tel-link:hover { text-decoration: underline; }

/* 案例内页：每个案例一图，左右交错结构 */
.case-row-list { display: grid; gap: 40px; }
.case-row { display: grid; grid-template-columns: 460px 1fr; gap: 36px; align-items: start; scroll-margin-top: 88px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
.case-row-reverse { grid-template-columns: 1fr 460px; }
.case-row-reverse .case-row-media { order: 2; }
.case-row-reverse .case-row-body { order: 1; }
.case-row-media { border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); position: sticky; top: 96px; }
.case-row-media img { width: 100%; height: 100%; min-height: 260px; max-height: 380px; object-fit: cover; display: block; }
.case-row-index { font-size: 12px; letter-spacing: .16em; font-weight: 700; color: var(--brand); opacity: .85; margin-bottom: 6px; }
.case-row-body h3 { font-size: 23px; margin: 0 0 18px; color: var(--ink-1); }
.case-row-body .case-detail-block { margin-bottom: 14px; }
.case-row-body .case-detail-block:last-child { margin-bottom: 0; }
@media (max-width: 1024px) {
  .case-row, .case-row-reverse { grid-template-columns: 1fr; gap: 22px; }
  .case-row-reverse .case-row-media { order: 0; }
  .case-row-reverse .case-row-body { order: 0; }
  .case-row-media { position: static; }
  .case-row-media img { max-height: 300px; }
}

/* 表单：空错误提示不占高度，字段间距统一 */
.err:empty { display: none; }
.demo-form .field { margin-bottom: 18px; }

/* 提交成功弹窗 */
.modal-success { max-width: 400px; text-align: center; padding: 36px 30px 30px; }
.modal-success .success-icon { margin: 0 auto 14px; width: 64px; height: 64px; }
.modal-success .modal-title { font-size: 22px; margin-bottom: 8px; }
.modal-success .modal-sub { margin-bottom: 24px; line-height: 1.7; }

/* 聊天提示 */
.chat-note { padding: 8px 12px; font-size: 12px; color: var(--ink-3); background: var(--bg-alt); border-top: 1px solid var(--line); text-align: center; }

/* 内页 banner：整幅背景铺满（background cover），深蓝渐变压暗保证文字可读 */
.page-hero { background-size: cover; background-position: center; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,24,56,.88) 0%, rgba(10,24,56,.55) 55%, rgba(10,24,56,.35) 100%); z-index: 0; }

/* 响应式：页脚在移动端堆叠 */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1.6fr 1fr; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .footer-col { display: none; }
  .news-list-card { grid-template-columns: 1fr; }
  .news-list-card .news-thumb { height: 180px; }
}
@media (max-width: 520px) {
  .footer-links { grid-template-columns: 1fr; }
  .qr-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 100%; }
  .qr-item img { width: 52px; height: 52px; }
  .news-nav { flex-direction: column; }
  .news-nav a { max-width: 100%; }
}

/* ===================== 回到顶部 ===================== */
.back-to-top{
  position:fixed; right:22px; bottom:126px; z-index:60;
  width:50px; height:50px; border-radius:50%; border:none;
  background:var(--brand); color:#fff; cursor:pointer;
  box-shadow:0 8px 24px rgba(68,127,247,.4);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:1px; line-height:1;
  opacity:0; visibility:hidden; transform:translateY(14px);
  transition:opacity .25s ease, transform .25s ease, visibility .25s, background .2s;
}
.back-to-top .bt-arrow{ font-size:20px; font-weight:700; }
.back-to-top .bt-text{ font-size:10px; font-weight:600; letter-spacing:.04em; }
.back-to-top.show{ opacity:1; visibility:visible; transform:translateY(0); }
.back-to-top:hover{ background:var(--brand-dark); transform:translateY(-2px); }
@media (max-width:600px){
  .back-to-top{ right:14px; bottom:116px; width:44px; height:44px; }
  .back-to-top .bt-arrow{ font-size:18px; }
}
