/* =====================================================
   荣扬管道官网 全站样式
   工业商务风：工业深蓝 #163C66 + 深灰 + 白
   ===================================================== */
:root {
  --primary: #163C66;
  --primary-dark: #0E2A4A;
  --primary-deep: #0A1F38;
  --blue-mid: #2F6FB2;
  --blue-light: #E8F0F9;
  --accent: #E8792B;
  --accent-dark: #D2691E;
  --text: #2B3440;
  --text-light: #5C6B7A;
  --gray-bg: #F7FAFD;
  --line: #E3E8EF;
  --white: #FFFFFF;
  --shadow: 0 6px 24px rgba(14, 42, 74, .08);
  --shadow-hover: 0 12px 32px rgba(14, 42, 74, .16);
  --radius: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
/* 防止标题/段落末尾出现“一个字符占一行”的孤字换行（要求12） */
.btn, .nav-links a, .tab-chips button { text-wrap: balance; }
p, li, .desc, .lead, .card p, .news-card p, .news-featured p, .case-card p, .solution p,
.about-text p, .contact-info p, .faq-a p { text-wrap: pretty; overflow-wrap: break-word; }
/* 移动端锁定末行最后 2 个汉字，避免“字+标点”独占一行 */
.keep-last { white-space: nowrap; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.75;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- 顶部信息条 ---------- */
.topbar { background: var(--primary-deep); color: #C9D6E4; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar a { color: #fff; }
.topbar .tb-phone { display: flex; align-items: center; gap: 6px; }
.topbar .tb-phone strong { color: #fff; font-size: 15px; letter-spacing: .5px; }

/* ---------- 主导航 ---------- */
.header { background: var(--white); position: sticky; top: 0; z-index: 900; box-shadow: 0 2px 12px rgba(14,42,74,.10); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.logo img { height: 36px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  display: block; padding: 8px 14px; font-size: 15.5px; font-weight: 600;
  color: var(--text); border-radius: 6px; position: relative; white-space: nowrap;
}
.nav a:hover { color: var(--primary); background: var(--blue-light); }
.nav a.active { color: var(--primary); }
.nav a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 3px; background: var(--accent); border-radius: 2px;
}
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 3px; background: var(--primary); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ---------- 面包屑 ---------- */
.crumb { background: var(--gray-bg); border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--text-light); }
.crumb .container { padding-top: 10px; padding-bottom: 10px; }
.crumb a { color: var(--text-light); }
.crumb a:hover { color: var(--primary); }
.crumb .sep { margin: 0 8px; color: #B7C2CE; }

/* ---------- 内页横幅 ---------- */
.page-hero { position: relative; color: #fff; overflow: hidden; }
.page-hero .bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero .mask { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(22,74,140,.82) 0%, rgba(31,92,160,.62) 55%, rgba(47,111,178,.4) 100%); }
.page-hero .container { position: relative; padding-top: 64px; padding-bottom: 58px; }
.page-hero h1 { font-size: 34px; letter-spacing: 1px; margin-bottom: 12px; }
.page-hero p { font-size: 16px; color: #D5E1EE; max-width: 780px; }

/* ---------- 通用区块 ---------- */
.section { padding: 72px 0; }
.section.gray { background: var(--gray-bg); }
.section-head { text-align: center; margin-bottom: 46px; }
.section-head .kicker {
  display: inline-block; font-size: 13px; letter-spacing: 3px; color: var(--accent);
  font-weight: 700; margin-bottom: 8px; text-transform: uppercase;
}
.section-head h2 { font-size: 30px; color: var(--primary); letter-spacing: 1px; }
.section-head .bar { width: 46px; height: 4px; background: var(--accent); border-radius: 2px; margin: 14px auto 0; }
.section-head p.sub { color: var(--text-light); margin-top: 14px; max-width: 760px; margin-left: auto; margin-right: auto; }

/* 关于页：板块纵向堆叠 */
.about-block { margin-bottom: 58px; }
.about-block:last-child { margin-bottom: 0; }
.block-head { margin-bottom: 26px; }
.block-head h2 { font-size: 26px; color: var(--primary); letter-spacing: 1px; }
.block-head .bar { width: 46px; height: 4px; background: var(--accent); border-radius: 2px; margin-top: 12px; }

.btn {
  display: inline-block; padding: 12px 34px; border-radius: 6px; font-size: 16px;
  font-weight: 600; cursor: pointer; border: none; transition: .25s; text-align: center;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(232,121,43,.35); }
.btn-ghost { border: 2px solid rgba(255,255,255,.85); color: #fff; background: transparent; padding: 10px 32px; }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.btn-blue { background: var(--primary); color: #fff; }
.btn-blue:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ---------- 首页 Hero ---------- */
.hero { position: relative; color: #fff; }
.hero .bg { position: absolute; inset: 0; background: url("../images/banner-hero-v3.png") center/cover no-repeat; }
.hero .mask { position: absolute; inset: 0; background: linear-gradient(95deg, rgba(15,66,128,.78) 0%, rgba(20,80,155,.42) 45%, rgba(255,255,255,0) 72%); }
.hero .container { position: relative; padding-top: 104px; padding-bottom: 92px; }
.hero .slogan-en { font-size: 13px; letter-spacing: 5px; color: #A9CBEF; margin-bottom: 14px; font-weight: 600; }
.hero h1 { font-size: 46px; line-height: 1.3; letter-spacing: 2px; margin-bottom: 4px; }
.hero h1 em { font-style: normal; color: #5FB6FF; }
.hero h1 em sup { font-size: .45em; }
.hero .hero-sub { font-size: 18px; color: #E4EEF8; margin: 16px 0 26px; letter-spacing: 1px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 24px; }
.hero-stats .hs { background: rgba(255,255,255,.96); border-radius: 10px; padding: 12px 22px 10px; box-shadow: 0 6px 18px rgba(10,40,80,.18); min-width: 128px; }
.hero-stats .hs b { display: block; font-size: 22px; font-weight: 800; color: var(--primary); line-height: 1.2; }
.hero-stats .hs b small { font-size: 13px; font-weight: 600; margin-left: 1px; }
.hero-stats .hs span { display: block; font-size: 12.5px; color: var(--text-light); margin-top: 2px; }
.hero-strip { display: inline-block; background: linear-gradient(90deg, #1E63B8, #2F80D9); color: #fff; font-weight: 700; font-size: 16px; letter-spacing: 2px; padding: 10px 26px; border-radius: 6px; margin-bottom: 26px; box-shadow: 0 6px 18px rgba(20,80,155,.28); }
.hero .hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- 数据卡片 ---------- */
.stats { background: linear-gradient(90deg, var(--primary) 0%, var(--blue-mid) 100%); color: #fff; padding: 40px 0; }
.stats .grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.stat { text-align: center; border-right: 1px solid rgba(255,255,255,.14); padding: 6px 4px; }
.stat:last-child { border-right: none; }
.stat .num { font-size: 30px; font-weight: 800; color: #F5A623; font-family: Georgia, "Times New Roman", serif; }
.stat .num small { font-size: 15px; font-weight: 600; margin-left: 2px; }
.stat .label { font-size: 13.5px; color: #B9C9DA; margin-top: 4px; }

/* ---------- 产品/方案/案例卡片 ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: .3s; display: flex; flex-direction: column;
  border: 1px solid var(--line);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.card .thumb { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: #DEE6EF; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .thumb img { transform: scale(1.06); }
.card .body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.card h3 { font-size: 17.5px; color: var(--primary); margin-bottom: 8px; line-height: 1.45; }
.card p { font-size: 14px; color: var(--text-light); flex: 1; }
.card .more { margin-top: 14px; font-size: 14px; color: var(--accent); font-weight: 600; }
.card .more:hover { text-decoration: underline; }
.product-card .body .product-cta { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.product-card .body .product-consult { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 12px 18px; background: var(--accent); color: #fff; border-radius: 10px; font-size: 15px; font-weight: 700; letter-spacing: .5px; box-shadow: 0 6px 16px rgba(232,121,43,.28); transition: .25s; }
.product-card .body .product-consult svg { width: 18px; height: 18px; fill: #fff; flex: 0 0 auto; }
.product-card .body .product-consult:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(232,121,43,.40); }
#productGrid { grid-auto-rows: 1fr; }
.product-card .body .product-consult { min-height: 46px; box-sizing: border-box; }

.chip {
  position: absolute; left: 12px; top: 12px; background: rgba(22,60,102,.92); color: #fff;
  font-size: 12.5px; padding: 3px 12px; border-radius: 4px; letter-spacing: 1px;
}

/* 产品卡片参数行 */
.spec-row { display: flex; gap: 8px; font-size: 13px; margin-top: 6px; }
.spec-row .k { color: #8A98A8; white-space: nowrap; }
.spec-row .v { color: var(--text); }
.spec-list { margin-top: 10px; border-top: 1px dashed var(--line); padding-top: 10px; font-size: 13.5px; }
.spec-list li { display: flex; padding: 3px 0; }
.spec-list .k { width: 76px; color: #8A98A8; flex-shrink: 0; }
.spec-list .v { color: var(--text); }

/* ---------- 优势模块 ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.adv {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; display: flex; gap: 18px; transition: .3s;
}
.adv:hover { border-color: var(--blue-mid); box-shadow: var(--shadow); transform: translateY(-4px); }
.adv .ico {
  width: 52px; height: 52px; flex-shrink: 0; border-radius: 12px; background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
}
.adv .ico svg { width: 28px; height: 28px; stroke: var(--primary); fill: none; stroke-width: 1.8; }
.adv h3 { font-size: 16.5px; color: var(--primary); margin-bottom: 6px; }
.adv p { font-size: 13.8px; color: var(--text-light); }

/* ---------- 资质证书 ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cert-grid.two { grid-template-columns: 1fr 1fr; max-width: 760px; margin: 0 auto; }
.cert {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; cursor: zoom-in; transition: .3s; display: flex; flex-direction: column;
}
.cert:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.cert img {
  display: block; width: auto; height: auto; max-width: 100%; max-height: 380px;
  margin: 0 auto; object-fit: contain; background: #F5F8FB; padding: 12px;
}
.cert .cap { padding: 10px 14px 14px; }
.cert .cap b { display: block; font-size: 14px; color: var(--primary); }
.cert .cap span { font-size: 12px; color: #8A98A8; }
.cert-sub { text-align: center; color: var(--text-light); margin: 30px 0 16px; font-size: 14px; letter-spacing: 2px; }
.more-qual { text-align: center; margin-top: 30px; }
.more-qual a { display: inline-block; color: var(--primary); font-size: 15px; font-weight: 600; padding: 10px 26px; border: 1px solid var(--primary); border-radius: 24px; transition: .25s; }
.more-qual a:hover { background: var(--primary); color: #fff; }

/* ---------- FAQ 直接展示卡片 ---------- */
.faq-list { margin-bottom: 6px; }
.faq-card { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 22px 26px; margin-bottom: 16px; box-shadow: 0 3px 14px rgba(14,42,74,.05); transition: .25s; }
.faq-card:hover { border-color: var(--blue-mid); box-shadow: var(--shadow); }
.faq-q { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.faq-no { flex-shrink: 0; width: 34px; height: 34px; border-radius: 8px; background: var(--primary); color: #fff; font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.faq-cat { font-size: 12.5px; color: var(--accent); border: 1px solid var(--accent); border-radius: 4px; padding: 2px 10px; white-space: nowrap; }
.faq-q h3 { flex: 1; min-width: 200px; margin: 0; font-size: 17px; color: var(--primary); line-height: 1.5; }
.faq-a { color: var(--text-light); font-size: 14.8px; }
.faq-a p { line-height: 1.85; }

/* ---------- 时间轴 ---------- */
.timeline { position: relative; margin-left: 10px; padding-left: 34px; border-left: 3px solid var(--blue-light); }
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -44px; top: 6px; width: 15px; height: 15px;
  background: var(--accent); border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 2px var(--accent);
}
.tl-item .year { font-size: 21px; font-weight: 800; color: var(--primary); font-family: Georgia, serif; }
.tl-item p { color: var(--text-light); font-size: 14.5px; margin-top: 6px; }

/* ---------- 图文左右布局 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split .pic { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split .pic img { width: 100%; object-fit: cover; }
.split h2 { font-size: 26px; color: var(--primary); margin-bottom: 16px; }
.split p { color: var(--text-light); font-size: 15px; margin-bottom: 12px; }

/* ---------- 方案区块 ---------- */
.sol-block { display: grid; grid-template-columns: 380px 1fr; gap: 34px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 34px; }
.sol-block .pic { position: relative; min-height: 100%; }
.sol-block .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sol-block .body { padding: 30px 34px 26px; }
.sol-block h2 { font-size: 23px; color: var(--primary); margin-bottom: 12px; }
.sol-block h3 { font-size: 15.5px; color: var(--accent); margin: 18px 0 8px; padding-left: 10px; border-left: 3px solid var(--accent); }
.sol-block p { font-size: 14.5px; color: var(--text-light); }
/* 推荐管材：两列产品卡片 */
.sol-products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 10px; }
.sol-product { display: flex; flex-direction: column; background: var(--gray-bg); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; transition: .25s; }
.sol-product:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.sol-product .sp-name { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 7px; line-height: 1.4; }
.sol-product .sp-spec { font-size: 13px; color: var(--text-light); line-height: 1.65; flex: 1; }
.sol-product .sp-link { align-self: flex-start; margin-top: 12px; font-size: 13.5px; font-weight: 600; color: var(--accent); }
.sol-product .sp-link:hover { color: var(--accent-dark); }
.sol-points { background: var(--gray-bg); border-radius: 8px; padding: 14px 18px; font-size: 14px; margin-top: 14px; }
.sol-points b { color: var(--primary); }

/* 选型逻辑 / 保障卡片 */
.logic-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); height: 100%; }
.logic-card .lc-no { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; font-size: 16px; margin-bottom: 14px; }
.logic-card h3 { font-size: 17px; color: var(--primary); margin-bottom: 9px; }
.logic-card p { font-size: 13.8px; color: var(--text-light); line-height: 1.75; }

/* 服务流程 */
.sol-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.flow-step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; box-shadow: var(--shadow); }
.flow-step .flow-no { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 14px; }
.flow-step h3 { font-size: 17px; color: var(--primary); margin-bottom: 9px; }
.flow-step p { font-size: 13.8px; color: var(--text-light); line-height: 1.75; }

/* ---------- 筛选标签 ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 36px; }
.filter-bar button {
  padding: 8px 22px; border-radius: 24px; border: 1px solid var(--line); background: var(--white);
  font-size: 14.5px; cursor: pointer; color: var(--text-light); transition: .25s;
}
.filter-bar button:hover { border-color: var(--primary); color: var(--primary); }
.filter-bar button.on { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------- 案例卡 ---------- */
.case-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 26px; box-shadow: var(--shadow); }
.case-card .top { display: grid; grid-template-columns: 300px 1fr; }
.case-card .top .pic { position: relative; min-height: 210px; }
.case-card .top .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case-card .top .body { padding: 24px 28px 18px; }
.case-card h3 { font-size: 19px; color: var(--primary); margin-bottom: 8px; }
.case-card .meta { font-size: 13.5px; color: #8A98A8; margin-bottom: 10px; }
.case-card .meta em { font-style: normal; color: var(--accent); font-weight: 600; margin-right: 14px; }
.case-card .detail-block { margin-top: 16px; }
.case-card .detail-title { font-size: 15px; color: var(--primary); font-weight: 700; margin-bottom: 10px; display: flex; align-items: center; gap: 7px; }
.case-card .detail-title::before { content: ""; width: 4px; height: 15px; background: var(--accent); border-radius: 2px; display: inline-block; }
.case-card .detail { border-top: 1px dashed var(--line); margin-top: 12px; padding-top: 12px; font-size: 14.2px; color: var(--text-light); }
.case-card .detail p { margin-bottom: 8px; }
.case-card .detail b { color: var(--primary); }

/* ---------- 新闻列表 ---------- */
.news-list { margin-bottom: 10px; }

/* 头条：大图横向卡片 */
.news-featured {
  display: grid; grid-template-columns: 380px 1fr; gap: 0; background: var(--white);
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow); margin-bottom: 14px; transition: .3s;
}
.news-featured:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.news-featured .pic { position: relative; min-height: 340px; background: #DEE6EF; }
.news-featured .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.news-featured .body { padding: 46px 48px; display: flex; flex-direction: column; justify-content: center; }
.news-featured .cat { align-self: flex-start; display: inline-block; font-size: 12.5px; color: var(--accent); border: 1px solid var(--accent); border-radius: 4px; padding: 2px 12px; margin-bottom: 16px; }
.news-featured h3 { font-size: 25px; color: var(--primary); line-height: 1.55; margin-bottom: 14px; letter-spacing: .3px; }
.news-featured h3 a:hover { color: var(--blue-mid); }
.news-featured p { font-size: 15.5px; color: var(--text-light); line-height: 1.9; margin-bottom: 18px; }
.news-featured .date { font-size: 13.5px; color: #9AA7B5; margin-bottom: 20px; }
.news-featured .readmore { align-self: flex-start; color: #fff; background: var(--primary); padding: 11px 28px; border-radius: 24px; font-size: 14.5px; font-weight: 600; transition: .25s; }
.news-featured .readmore:hover { background: var(--accent); }

/* 列表：左图右文 · 细分割线 · 舒适信息流 */
.news-grid { display: flex; flex-direction: column; }
.news-card {
  display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center;
  padding: 28px 6px; border-bottom: 1px solid var(--line);
  background: transparent; border-radius: 0; box-shadow: none; transition: .25s;
}
.news-card:first-child { padding-top: 30px; }
.news-card:hover { background: var(--gray-bg); }
.news-card .pic { position: relative; width: 100%; aspect-ratio: 4 / 3; min-height: 0; background: #DEE6EF; border-radius: 10px; overflow: hidden; }
.news-card .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.news-card .body { padding: 0; display: flex; flex-direction: column; flex: 1; }
.news-card .cat { align-self: flex-start; display: inline-block; font-size: 12px; color: var(--accent); border: 1px solid var(--accent); border-radius: 4px; padding: 1px 10px; margin-bottom: 11px; }
.news-card h3 { font-size: 19px; color: var(--primary); line-height: 1.55; margin-bottom: 10px; }
.news-card h3 a:hover { color: var(--blue-mid); }
.news-card p { font-size: 14.5px; color: var(--text-light); line-height: 1.85; flex: 1; margin-bottom: 12px; }
.news-card .date { font-size: 13px; color: #9AA7B5; }

/* 分类筛选标签 */
.news-filter { display: flex; flex-wrap: wrap; gap: 12px; margin: 2px 0 28px; }
.news-filter button {
  border: 1px solid var(--line); background: var(--white); color: var(--text);
  font-size: 14.5px; padding: 9px 24px; border-radius: 22px; cursor: pointer; transition: .2s;
}
.news-filter button:hover { border-color: var(--blue-mid); color: var(--primary); }
.news-filter button.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* 分类色标 */
.news-featured .cat.cat-kepu, .news-card .cat.cat-kepu { color: #2F6FB2; border-color: #B9D4EE; }
.news-featured .cat.cat-biaozhun, .news-card .cat.cat-biaozhun { color: #C2771A; border-color: #F0D3A6; }
.news-featured .cat.cat-dongtai, .news-card .cat.cat-dongtai { color: #2E9E6B; border-color: #B6E2CE; }

/* 卡片底部：日期 + 阅读全文 */
.news-card .meta-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 2px; }
.news-card .readmore { color: var(--primary); font-size: 14px; font-weight: 600; white-space: nowrap; transition: .2s; }
.news-card .readmore:hover { color: var(--accent); }

.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 40px; }
.pagination button {
  min-width: 42px; height: 42px; padding: 0 14px; border: 1px solid var(--line); background: var(--white);
  border-radius: 6px; font-size: 15px; cursor: pointer; color: var(--text); transition: .2s;
}
.pagination button:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); }
.pagination button.on { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination button:disabled { opacity: .45; cursor: not-allowed; }
.pagination:empty { display: none; }

/* ---------- 新闻两栏布局 + 侧栏 ---------- */
.news-layout { display: grid; grid-template-columns: 1fr 320px; gap: 42px; align-items: start; }
.news-main { min-width: 0; }

.news-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: 2px 0 26px; }
.news-search { position: relative; flex: 0 1 290px; }
.news-search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: #9AA7B5; pointer-events: none; }
.news-search input { width: 100%; height: 44px; border: 1px solid var(--line); border-radius: 22px; padding: 0 18px 0 42px; font-size: 14.5px; color: var(--text); background: var(--white); transition: .2s; }
.news-search input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(10,51,89,.08); }

/* 头条角标 + 图片悬停放大 */
.news-badge { position: absolute; top: 16px; left: 16px; z-index: 2; background: linear-gradient(135deg, var(--accent), #E0562F); color: #fff; font-size: 12.5px; font-weight: 600; padding: 5px 14px; border-radius: 14px; letter-spacing: 1px; box-shadow: 0 4px 12px rgba(224,86,47,.35); }
.news-featured .pic img { transition: transform .5s ease; }
.news-featured:hover .pic img { transform: scale(1.05); }
.news-card .pic img { transition: transform .45s ease; }
.news-card:hover .pic img { transform: scale(1.07); }

/* 空结果提示 */
.news-empty { display: none; text-align: center; color: var(--text-light); font-size: 15px; padding: 42px 0; }

/* 侧栏 */
.news-side { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 22px; }
.side-widget { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 22px; box-shadow: var(--shadow); }
.side-title { font-size: 16.5px; color: var(--primary); margin: 0 0 16px; padding-left: 12px; border-left: 4px solid var(--accent); line-height: 1.3; }

.hot-list { list-style: none; margin: 0; padding: 0; }
.hot-list li { margin-bottom: 14px; }
.hot-list li:last-child { margin-bottom: 0; }
.hot-list a { display: grid; grid-template-columns: 22px 66px 1fr; gap: 12px; align-items: center; }
.hot-rank { width: 22px; height: 22px; border-radius: 6px; background: var(--gray-bg); color: var(--text-light); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.hot-list li:nth-child(1) .hot-rank { background: #E0562F; color: #fff; }
.hot-list li:nth-child(2) .hot-rank { background: #E8924B; color: #fff; }
.hot-list li:nth-child(3) .hot-rank { background: #E8B24B; color: #fff; }
.hot-thumb { width: 66px; height: 54px; border-radius: 8px; overflow: hidden; background: #DEE6EF; }
.hot-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hot-text { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.hot-t { font-size: 14px; color: var(--primary); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hot-t:hover { color: var(--blue-mid); }
.hot-meta { font-size: 12.5px; color: #9AA7B5; }
.hot-cat { font-weight: 600; }

.cat-list { list-style: none; margin: 0; padding: 0; }
.cat-list li { border-bottom: 1px solid var(--line); }
.cat-list li:last-child { border-bottom: none; }
.cat-list a { display: flex; align-items: center; justify-content: space-between; padding: 13px 4px; font-size: 15px; color: var(--text); transition: .2s; }
.cat-list a:hover { color: var(--primary); padding-left: 10px; }
.cat-num { min-width: 28px; height: 24px; padding: 0 9px; border-radius: 12px; background: var(--gray-bg); color: var(--text-light); font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }

.side-qr { text-align: center; }
.side-qr img { width: 150px; height: 150px; border-radius: 10px; border: 1px solid var(--line); margin: 4px auto 14px; display: block; }
.side-qr p { font-size: 13.5px; color: var(--text-light); line-height: 1.7; margin: 0 0 16px; }
.side-qr .btn { width: 100%; text-align: center; }

/* ---------- 文章详情 ---------- */
.article { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 44px 52px; box-shadow: var(--shadow); }
.article .a-cat { color: var(--accent); font-size: 13.5px; font-weight: 600; letter-spacing: 1px; }
.article h1 { font-size: 27px; color: var(--primary); line-height: 1.5; margin: 10px 0 8px; }
.article .a-date { font-size: 13.5px; color: #9AA7B5; padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.article img.banner { width: 100%; border-radius: 8px; margin-bottom: 26px; }
.article h3 { font-size: 19px; color: var(--primary); margin: 26px 0 12px; padding-left: 12px; border-left: 4px solid var(--accent); }
.article p { font-size: 15.3px; color: var(--text-light); margin-bottom: 14px; }
.article ul { margin: 0 0 16px 4px; }
.article ul li { font-size: 15px; color: var(--text-light); padding: 4px 0 4px 20px; position: relative; }
.article ul li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }
.article .article-note { background: #FFF6EE; border: 1px solid #F5D9C2; color: #9A6A3F; font-size: 13.5px; border-radius: 8px; padding: 12px 18px; }
.article-foot { display: flex; justify-content: space-between; gap: 16px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14.5px; }
.article-foot a { color: var(--blue-mid); font-weight: 600; }
.article-foot a:hover { color: var(--primary); }

/* ---------- 表单 ---------- */
.form-wrap { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: stretch; }
.form-aside { display: flex; flex-direction: column; gap: 18px; height: 100%; justify-content: space-between; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 40px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14.5px; font-weight: 600; color: var(--primary); margin-bottom: 7px; }
.form-group label i { color: var(--accent); font-style: normal; margin-left: 3px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 14px; border: 1px solid #CBD5E1; border-radius: 6px; font-size: 14.5px;
  font-family: inherit; color: var(--text); background: #FBFCFE; transition: .2s; outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--blue-mid); background: #fff; box-shadow: 0 0 0 3px rgba(47,111,178,.12); }
.form-group textarea { min-height: 110px; resize: vertical; }
.form-tip { font-size: 13px; color: #9AA7B5; margin-top: 5px; }
.form-ok { display: none; background: #EFF8F1; border: 1px solid #BFE3C8; color: #2F7D45; border-radius: 8px; padding: 14px 18px; margin-top: 16px; font-size: 14.5px; }

/* ---------- 询价页 右侧aside与流程 ---------- */
.proc-card .proc-title { font-size: 15px; color: var(--primary); margin-bottom: 12px; display: block; }
.proc-list { list-style: none; margin: 0; padding: 0; }
.proc-list li { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.proc-list li:last-child { border-bottom: none; }
.proc-list .num { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.proc-list b { font-size: 14.5px; color: var(--primary); }
.proc-list p { font-size: 13px; color: var(--text-light); margin-top: 2px; }
.promise-list { list-style: none; margin: 10px 0 0; padding: 0; }
.promise-list li { position: relative; padding-left: 19px; font-size: 13.5px; color: var(--text-light); margin-bottom: 7px; line-height: 1.5; }
.promise-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ---------- 询价页 为什么选择荣扬 ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 46px; }
.why-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px; text-align: center; box-shadow: var(--shadow); }
.why-card b { display: block; font-size: 27px; color: var(--primary); line-height: 1.1; }
.why-card b sup { font-size: 14px; }
.why-card span { font-size: 13.5px; color: var(--text-light); margin-top: 9px; display: block; line-height: 1.5; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 44px; }
.contact-cell { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.contact-cell .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--blue-light); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.contact-cell .ico svg { width: 26px; height: 26px; stroke: var(--primary); fill: none; stroke-width: 1.8; }
.contact-cell b { display: block; font-size: 15px; color: var(--primary); margin-bottom: 5px; }
.contact-grid .contact-cell b { color: var(--accent); }
.contact-cell p { font-size: 14px; color: var(--text-light); }
.map-box { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); position: relative; }
.map-box img { width: 100%; height: 420px; object-fit: cover; }
.map-box .map-tag { position: absolute; left: 20px; bottom: 20px; background: rgba(255,255,255,.96); border-radius: 8px; padding: 14px 20px; box-shadow: var(--shadow); font-size: 14px; color: var(--text); max-width: 420px; }
.map-box .map-tag b { color: var(--primary); display: block; margin-bottom: 4px; font-size: 15px; }
.map-box .map-tag .map-nav { font-size: 13px; color: var(--text-light); }

/* ---------- 地图与到访地址带 ---------- */
.addr-band { display: flex; flex-direction: column; gap: 18px; background: var(--blue-light); border: 1px solid var(--blue-mid); border-radius: var(--radius); padding: 22px 24px; margin-top: 28px; }
.addr-band .addr-map { display: block; width: 100%; height: 420px; border: 1px solid var(--blue-mid); border-radius: 10px; background: url("../images/map-baidu-style.png") center/cover no-repeat #eef2f7; }
.addr-band .addr-main b { font-size: 16px; color: var(--primary); }
.addr-band .addr-line { font-size: 15px; color: var(--text); margin-top: 4px; font-weight: 600; }
.addr-band .addr-sub { font-size: 13.5px; color: var(--text-light); margin-top: 4px; }

/* ---------- 询价 CTA 横幅 ---------- */
.cta-band { background: linear-gradient(100deg, var(--primary-deep), var(--primary)); color: #fff; padding: 58px 0; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { font-size: 27px; margin-bottom: 8px; }
.cta-band p { color: #B9C9DA; font-size: 15px; }

/* ---------- 页脚 ---------- */
.footer { background: var(--primary-deep); color: #9FB3C8; font-size: 14px; }
.footer .main { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; max-width: 1080px; margin: 0 auto; padding: 56px 0 44px; text-align: left; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; letter-spacing: 1px; position: relative; padding-bottom: 10px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 3px; background: var(--accent); border-radius: 2px; }
.footer .f-logo img { height: 40px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer .f-about p { line-height: 1.9; }
.footer ul { list-style: none; padding-left: 0; margin: 0; }
.footer ul li { padding: 5px 0; }
.footer ul a { color: #9FB3C8; transition: .2s; }
.footer ul a:hover { color: #fff; }
.footer .f-contact li { display: flex; gap: 8px; line-height: 1.8; }
.footer .f-contact b { color: #D5E1EE; font-weight: 600; white-space: nowrap; }
.footer .f-phone { color: #F5A623; font-size: 20px; font-weight: 800; letter-spacing: 1px; }
.footer .legal { border-top: 1px solid rgba(255,255,255,.10); padding: 18px 0; }
.footer .legal .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 13px; }
.footer .legal a { color: #9FB3C8; }
.footer .legal a:hover { color: #fff; }
.footer .legal .links { display: flex; gap: 20px; }

/* ---------- 悬浮工具条 ---------- */
.float-bar { position: fixed; right: 18px; bottom: 90px; z-index: 800; display: flex; flex-direction: column; gap: 10px; }
.float-bar a, .float-bar button {
  width: 52px; height: 52px; border-radius: 10px; background: var(--primary); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 11px; border: none; cursor: pointer; box-shadow: 0 6px 18px rgba(14,42,74,.30); transition: .25s; gap: 2px;
}
.float-bar a:hover, .float-bar button:hover { background: var(--accent); transform: translateY(-3px); }
.float-bar svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 1.8; }
#backTop { opacity: 0; pointer-events: none; }
#backTop.show { opacity: 1; pointer-events: auto; }

/* ---------- 灯箱 ---------- */
.lightbox { position: absolute; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(10,20,32,.86); z-index: 1000; display: none; align-items: center; justify-content: center; padding: 40px; cursor: zoom-out; }
.lightbox.show { display: flex; }
.lightbox img { max-width: min(900px, 92vw); max-height: 88vh; border-radius: 8px; background: #fff; padding: 8px; }

/* ---------- 子导航 tabs ---------- */
.tab-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.tab-chips button {
  padding: 10px 26px; border-radius: 6px; border: 1px solid var(--line); background: var(--white);
  font-size: 15px; font-weight: 600; color: var(--text-light); cursor: pointer; transition: .25s;
}
.tab-chips button.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.tab-pane { display: none; }
.tab-pane.on { display: block; animation: fadeIn .4s; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- 关于页图片墙 ---------- */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.photo-grid .ph { border-radius: var(--radius); overflow: hidden; position: relative; cursor: zoom-in; }
.photo-grid .ph img { width: 100%; height: 240px; object-fit: cover; transition: transform .5s; }
.photo-grid .ph:hover img { transform: scale(1.05); }
.photo-grid .ph span { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, rgba(10,31,56,.85)); color: #fff; font-size: 13.5px; padding: 26px 16px 12px; }

/* ---------- 企业理念 ---------- */
.value-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; }
.value-card { background: var(--gray-bg); border-radius: var(--radius); padding: 26px 24px; border-top: 3px solid var(--accent); }
.value-card b { display: block; font-size: 16.5px; color: var(--primary); margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--text-light); }

/* ---------- 法律条款页 ---------- */
.legal-body { max-width: 900px; }
.legal-body h2 { font-size: 21px; color: var(--primary); margin: 30px 0 12px; padding-left: 12px; border-left: 4px solid var(--accent); }
.legal-body p, .legal-body li { font-size: 14.8px; color: var(--text-light); margin-bottom: 10px; }
.legal-body ul { margin-left: 20px; list-style: disc; }
.legal-body .update { font-size: 13.5px; color: #9AA7B5; margin-bottom: 26px; }

/* ---------- 提示条 ---------- */
.disclaimer-strip { background: #FDF3E7; border: 1px solid #F0D9BC; color: #8A6A44; font-size: 13.5px; border-radius: 8px; padding: 14px 20px; margin-top: 40px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .stats .grid { grid-template-columns: repeat(3, 1fr); gap: 26px 10px; }
  .stat:nth-child(3) { border-right: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .footer .main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav { position: fixed; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 20px 20px; box-shadow: 0 14px 24px rgba(14,42,74,.16); transform: translateY(-140%); transition: .35s; z-index: 890; max-height: calc(100vh - 64px); overflow-y: auto; }
  .nav.open { transform: none; }
  .nav a { padding: 13px 10px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 16px; }
  .nav a.active::after { display: none; }
  .nav a.active { color: var(--accent); }
  .nav-toggle { display: block; }
  .header .container { height: 64px; }
  .topbar { display: none; }
  .logo img { height: 30px; }
  .hero .container { padding-top: 70px; padding-bottom: 64px; }
  .hero h1 { font-size: 27px; }
  .hero .hero-sub { font-size: 15px; }
  .page-hero h1 { font-size: 25px; }
  .section { padding: 52px 0; }
  .section-head h2 { font-size: 24px; }
  .grid-4, .grid-3, .grid-2, .adv-grid, .value-cards, .photo-grid { grid-template-columns: 1fr 1fr; }
  .split, .form-wrap { grid-template-columns: 1fr; gap: 28px; }
  .sol-block { grid-template-columns: 1fr; }
  .sol-block .pic { min-height: 200px; position: relative; }
  .sol-block .pic img { position: static; height: 200px; }
  .sol-flow { grid-template-columns: 1fr 1fr; }
  .case-card .top { grid-template-columns: 1fr; }
  .case-card .top .pic { min-height: 190px; }
  .news-featured { grid-template-columns: 1fr; }
  .news-featured .pic { min-height: 220px; position: relative; }
  .news-featured .body { padding: 28px 26px; }
  .news-grid { }
  .news-layout { grid-template-columns: 1fr; gap: 32px; }
  .news-side { position: static; flex-direction: row; flex-wrap: wrap; gap: 18px; }
  .side-widget { flex: 1 1 260px; }
  .news-card { grid-template-columns: 1fr; gap: 16px; padding: 26px 4px; }
  .news-card:hover { background: transparent; }
  .news-card .pic { aspect-ratio: 16 / 9; }
  .article { padding: 30px 24px; }
  .article h1 { font-size: 22px; }
  .stats .grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 26px 22px; }
  .form-aside { height: auto; justify-content: flex-start; }
  .why-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .footer .main { grid-template-columns: 1fr; gap: 30px; padding: 44px 0 34px; }
  .footer .legal .container { flex-direction: column; text-align: center; }
  .cta-band .container { flex-direction: column; text-align: center; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .map-box img { height: 300px; }
  .addr-band .addr-map { height: 300px; }
  .float-bar { right: 10px; bottom: 76px; }
  .fb-item, .float-bar .qr-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; width: 52px; height: 52px; border: none; background: var(--primary); color: #fff; border-radius: 50%; font-size: 12px; cursor: pointer; text-decoration: none; box-shadow: 0 6px 18px rgba(14,42,74,.28); transition: .25s; }
  .fb-item:hover, .float-bar .qr-item:hover { transform: translateY(-3px); background: var(--blue-mid); }
  .fb-item svg, .float-bar .qr-item svg { width: 21px; height: 21px; fill: #fff; }

}
@media (max-width: 520px) {
  .grid-4, .grid-3, .grid-2, .adv-grid, .value-cards, .photo-grid, .contact-grid, .cert-grid, .cert-grid.two { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .sol-products { grid-template-columns: 1fr; }
  .sol-flow { grid-template-columns: 1fr; }
  .section { padding: 44px 0; }
  .hero h1 { font-size: 23px; }
  .hero-stats { gap: 8px; }
  .hero-stats .hs { flex: 1 1 44%; min-width: 0; padding: 9px 10px 8px; }
  .hero-stats .hs b { font-size: 17px; }
  .hero-stats .hs span { font-size: 11.5px; }
  .hero-strip { font-size: 13.5px; letter-spacing: 1px; padding: 8px 14px; }
  .hero .hero-btns .btn { width: 100%; }
  .stats .grid { grid-template-columns: 1fr 1fr; }
  .stat .num { font-size: 24px; }
  .tl-item .year { font-size: 18px; }
  .topbar .container { justify-content: center; }
  .pagination button { min-width: 38px; height: 38px; }
  .news-side { flex-direction: column; }
  .side-widget { flex: 1 1 auto; }
  .news-toolbar { flex-direction: column; align-items: stretch; }
  .news-search { flex: 1 1 auto; }
  .news-filter { width: 100%; }
  .map-box .map-tag { max-width: calc(100% - 40px); }
  .footer .main { gap: 26px; }
}

/* ---------- 客服二维码弹窗 ---------- */
.qr-modal { position: absolute; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(10,31,56,.62); display: none; align-items: center; justify-content: center; z-index: 9999; }
.qr-modal:target, .qr-modal.show { display: flex; }
.qr-modal-box { position: relative; background: #fff; border-radius: 16px; padding: 30px 30px 26px; width: 300px; max-width: 86vw; text-align: center; box-shadow: 0 20px 60px rgba(10,40,80,.32); }
.qr-modal-box img { display: block; margin: 0 auto; width: 200px; height: 200px; border-radius: 10px; border: 1px solid var(--line); }
.qr-modal-box h3 { color: var(--primary); font-size: 19px; margin: 16px 0 6px; }
.qr-modal-box p { color: var(--text-light); font-size: 13.5px; }
.qr-modal-close { position: absolute; top: 8px; right: 12px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: transparent; color: var(--text-light); font-size: 26px; line-height: 1; text-decoration: none; cursor: pointer; border-radius: 50%; transition: .2s; }
.qr-modal-close:hover { color: var(--primary); background: var(--gray-bg); }

/* ---------- 移动端底部联系条（默认隐藏，仅移动端显示） ---------- */
.mobile-contact-bar { display: none; }
@media (max-width: 768px) {
  .footer { display: none; }
  .float-bar { display: none; }
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  .mobile-contact-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9000; height: calc(56px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: #fff; box-shadow: 0 -2px 14px rgba(10,40,80,.14); }
  .mobile-contact-bar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 15px; font-weight: 600; color: #fff; text-decoration: none; }
  .mobile-contact-bar .mcb-phone { background: var(--primary); }
  .mobile-contact-bar .mcb-wechat { background: var(--accent); }
  .mobile-contact-bar svg { width: 20px; height: 20px; fill: #fff; }
  .mobile-contact-bar span { line-height: 1; }
}
